pythonPackages.cerberus: Move to own file
This commit is contained in:
parent
743b229c86
commit
6565c7cf7a
17
pkgs/development/python-modules/cerberus/default.nix
Normal file
17
pkgs/development/python-modules/cerberus/default.nix
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "Cerberus";
|
||||||
|
version = "0.9.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1km7hvns1snrmcwz58bssi4wv3gwd34zm1z1hwjylmpqrfrcf8mi";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://python-cerberus.org/;
|
||||||
|
description = "Lightweight, extensible schema and data validation tool for Python dictionaries";
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
@ -1522,21 +1522,7 @@ in {
|
|||||||
|
|
||||||
celery = callPackage ../development/python-modules/celery { pytest = self.pytest_32; };
|
celery = callPackage ../development/python-modules/celery { pytest = self.pytest_32; };
|
||||||
|
|
||||||
cerberus = buildPythonPackage rec {
|
cerberus = callPackage ../development/python-modules/cerberus { };
|
||||||
name = "Cerberus-${version}";
|
|
||||||
version = "0.9.2";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/C/Cerberus/${name}.tar.gz";
|
|
||||||
sha256 = "1km7hvns1snrmcwz58bssi4wv3gwd34zm1z1hwjylmpqrfrcf8mi";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = http://python-cerberus.org/;
|
|
||||||
description = "Lightweight, extensible schema and data validation tool for Python dictionaries";
|
|
||||||
license = licenses.mit;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
certifi = callPackage ../development/python-modules/certifi { };
|
certifi = callPackage ../development/python-modules/certifi { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user