pythonPackages.cerberus: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 18:13:52 +02:00 committed by Frederik Rietdijk
parent 743b229c86
commit 6565c7cf7a
2 changed files with 18 additions and 15 deletions

View 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;
};
}

View File

@ -1522,21 +1522,7 @@ in {
celery = callPackage ../development/python-modules/celery { pytest = self.pytest_32; };
cerberus = buildPythonPackage rec {
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;
};
};
cerberus = callPackage ../development/python-modules/cerberus { };
certifi = callPackage ../development/python-modules/certifi { };