pythonPackages.django_nose: refactor move to python-modules
This commit is contained in:
parent
9c573f5379
commit
194dd4b2f2
28
pkgs/development/python-modules/django_nose/default.nix
Normal file
28
pkgs/development/python-modules/django_nose/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user