pythonPackages.django_evolution: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 13:39:25 -04:00 committed by Frederik Rietdijk
parent 3ec02fd004
commit 0d7a983a27
2 changed files with 27 additions and 16 deletions

View file

@ -0,0 +1,26 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, django
}:
buildPythonPackage rec {
pname = "django_evolution";
version = "0.7.5";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1qbcx54hq8iy3n2n6cki3bka1m9rp39np4hqddrm9knc954fb7nv";
};
propagatedBuildInputs = [ django ];
meta = with stdenv.lib; {
description = "A database schema evolution tool for the Django web framework";
homepage = http://code.google.com/p/django-evolution/;
license = licenses.bsd0;
};
}

View file

@ -2249,22 +2249,7 @@ in {
django_environ = callPackage ../development/python-modules/django_environ { };
django_evolution = buildPythonPackage rec {
name = "django_evolution-0.7.5";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "mirror://pypi/d/django_evolution/${name}.tar.gz";
sha256 = "1qbcx54hq8iy3n2n6cki3bka1m9rp39np4hqddrm9knc954fb7nv";
};
propagatedBuildInputs = with self; [ django ];
meta = {
description = "A database schema evolution tool for the Django web framework";
homepage = http://code.google.com/p/django-evolution/;
};
};
django_evolution = callPackage ../development/python-modules/django_evolution { };
django_extensions = callPackage ../development/python-modules/django-extensions { };