mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
python.pkgs.flask-caching: init at 1.4.0
This commit is contained in:
parent
0c083fc1f6
commit
da7d4c3676
pkgs
28
pkgs/development/python-modules/flask-caching/default.nix
Normal file
28
pkgs/development/python-modules/flask-caching/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{ lib, buildPythonPackage, fetchPypi, flask, pytest, pytestcov }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "Flask-Caching";
|
||||||
|
version = "1.4.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "e34f24631ba240e09fe6241e1bf652863e0cff06a1a94598e23be526bc2e4985";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ flask ];
|
||||||
|
|
||||||
|
checkInputs = [ pytest pytestcov ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test
|
||||||
|
'';
|
||||||
|
|
||||||
|
# https://github.com/sh4nks/flask-caching/pull/74
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Adds caching support to your Flask application";
|
||||||
|
homepage = https://github.com/sh4nks/flask-caching;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
};
|
||||||
|
}
|
|
@ -5527,6 +5527,8 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
flask-caching = callPackage ../development/python-modules/flask-caching { };
|
||||||
|
|
||||||
flask-common = callPackage ../development/python-modules/flask-common { };
|
flask-common = callPackage ../development/python-modules/flask-common { };
|
||||||
|
|
||||||
flask-compress = callPackage ../development/python-modules/flask-compress { };
|
flask-compress = callPackage ../development/python-modules/flask-compress { };
|
||||||
|
|
Loading…
Reference in a new issue