pythonPackages.django_nose: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 13:45:51 -04:00 committed by Frederik Rietdijk
parent 9c573f5379
commit 194dd4b2f2
2 changed files with 29 additions and 20 deletions

View File

@ -0,0 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, nose
, django
}:
buildPythonPackage rec {
pname = "django-nose";
version = "1.4.4";
src = fetchPypi {
inherit pname version;
sha256 = "1fm47fkza2lk0xgc6qpi9vs78zg7q8cgl6mdan69sbycgy909ff0";
};
# vast dependency list
doCheck = false;
propagatedBuildInputs = [ django nose ];
meta = with stdenv.lib; {
description = "Provides all the goodness of nose in your Django tests";
homepage = https://github.com/django-nose/django-nose;
license = licenses.bsd3;
};
}

View File

@ -2298,26 +2298,7 @@ in {
django_hijack_admin = callPackage ../development/python-modules/django-hijack-admin { };
django_nose = buildPythonPackage rec {
name = "django-nose-${version}";
version = "1.4.4";
src = pkgs.fetchurl {
url = "mirror://pypi/d/django-nose/${name}.tar.gz";
sha256 = "1fm47fkza2lk0xgc6qpi9vs78zg7q8cgl6mdan69sbycgy909ff0";
};
# vast dependency list
doCheck = false;
propagatedBuildInputs = with self; [ django nose ];
meta = {
description = "Provides all the goodness of nose in your Django tests";
homepage = https://github.com/django-nose/django-nose;
license = licenses.bsd3;
};
};
django_nose = callPackage ../development/python-modules/django_nose { };
django_modelcluster = buildPythonPackage rec {
name = "django-modelcluster-${version}";