pythonPackages.django_reversion: refactor move to python-modules

wip/yesman
Chris Ostrouchov 6 years ago committed by Frederik Rietdijk
parent 90859b17c6
commit 99a5f22de6
  1. 24
      pkgs/development/python-modules/django_reversion/default.nix
  2. 18
      pkgs/top-level/python-packages.nix

@ -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_reversion = buildPythonPackage rec {
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_reversion = callPackage ../development/python-modules/django_reversion { };
django_silk = buildPythonPackage rec {
name = "django-silk-${version}";

Loading…
Cancel
Save