pythonPackages.django_reversion: refactor move to python-modules
This commit is contained in:
parent
90859b17c6
commit
99a5f22de6
24
pkgs/development/python-modules/django_reversion/default.nix
Normal file
24
pkgs/development/python-modules/django_reversion/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, django
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "django-reversion";
|
||||||
|
version = "1.10.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "01iv8w6lmmq98qjhxmnp8ddjxifmhxcmp612ijd91wc8nv8lk12w";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ django ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "An extension to the Django web framework that provides comprehensive version control facilities";
|
||||||
|
homepage = https://github.com/etianen/django-reversion;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2308,23 +2308,7 @@ in {
|
|||||||
|
|
||||||
django_redis = callPackage ../development/python-modules/django_redis { };
|
django_redis = callPackage ../development/python-modules/django_redis { };
|
||||||
|
|
||||||
django_reversion = buildPythonPackage rec {
|
django_reversion = callPackage ../development/python-modules/django_reversion { };
|
||||||
name = "django-reversion-${version}";
|
|
||||||
version = "1.10.1";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/d/django-reversion/${name}.tar.gz";
|
|
||||||
sha256 = "01iv8w6lmmq98qjhxmnp8ddjxifmhxcmp612ijd91wc8nv8lk12w";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ django ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "An extension to the Django web framework that provides comprehensive version control facilities";
|
|
||||||
homepage = https://github.com/etianen/django-reversion;
|
|
||||||
license = licenses.bsd3;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
django_silk = buildPythonPackage rec {
|
django_silk = buildPythonPackage rec {
|
||||||
name = "django-silk-${version}";
|
name = "django-silk-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user