pythonPackages.case: Move to own file
This commit is contained in:
parent
788cdea3c9
commit
743b229c86
20
pkgs/development/python-modules/case/default.nix
Normal file
20
pkgs/development/python-modules/case/default.nix
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, six, nose, unittest2, mock }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "case";
|
||||||
|
version = "1.5.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1zbhbw87izcxj9rvqg432a7r69ps2ks20mqq3g3hgd42sckcy3ca";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ six nose unittest2 mock ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/celery/case;
|
||||||
|
description = "unittests utilities";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
};
|
||||||
|
}
|
@ -1440,24 +1440,7 @@ in {
|
|||||||
|
|
||||||
carrot = callPackage ../development/python-modules/carrot {};
|
carrot = callPackage ../development/python-modules/carrot {};
|
||||||
|
|
||||||
case = buildPythonPackage rec {
|
case = callPackage ../development/python-modules/case {};
|
||||||
name = "case-${version}";
|
|
||||||
version = "1.5.2";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/c/case/${name}.tar.gz";
|
|
||||||
sha256 = "1zbhbw87izcxj9rvqg432a7r69ps2ks20mqq3g3hgd42sckcy3ca";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ six nose unittest2 mock ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://github.com/celery/case;
|
|
||||||
description = "unittests utilities";
|
|
||||||
license = licenses.bsd3;
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
cassandra-driver = buildPythonPackage rec {
|
cassandra-driver = buildPythonPackage rec {
|
||||||
name = "cassandra-driver-3.6.0";
|
name = "cassandra-driver-3.6.0";
|
||||||
|
Loading…
Reference in New Issue
Block a user