pythonPackages.case: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 17:49:30 +02:00 committed by Frederik Rietdijk
parent 788cdea3c9
commit 743b229c86
2 changed files with 21 additions and 18 deletions

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

View File

@ -1440,24 +1440,7 @@ in {
carrot = callPackage ../development/python-modules/carrot {};
case = buildPythonPackage rec {
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;
};
};
case = callPackage ../development/python-modules/case {};
cassandra-driver = buildPythonPackage rec {
name = "cassandra-driver-3.6.0";