uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
30
pkgs/development/python-modules/flask-caching/default.nix
Normal file
30
pkgs/development/python-modules/flask-caching/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPy27, flask, pytestCheckHook, pytest-cov, pytest-xprocess, pytestcache }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Flask-Caching";
|
||||
version = "1.10.1";
|
||||
disabled = isPy27; # invalid python2 syntax
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "cf19b722fcebc2ba03e4ae7c55b532ed53f0cbf683ce36fafe5e881789a01c00";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ flask ];
|
||||
|
||||
checkInputs = [ pytestCheckHook pytest-cov pytest-xprocess pytestcache ];
|
||||
|
||||
disabledTests = [
|
||||
# backend_cache relies on pytest-cache, which is a stale package from 2013
|
||||
"backend_cache"
|
||||
# optional backends
|
||||
"Redis"
|
||||
"Memcache"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Adds caching support to your Flask application";
|
||||
homepage = "https://github.com/sh4nks/flask-caching";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue