pythonPackages.django_taggit: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 13:55:31 -04:00 committed by Frederik Rietdijk
parent e0d349a5f1
commit 13b5bfbad4
2 changed files with 27 additions and 19 deletions

View File

@ -0,0 +1,26 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "django-taggit";
version = "0.17.0";
disabled = pythonOlder "2.7";
src = fetchPypi {
inherit pname version;
sha256 = "1xy4mm1y6z6bpakw907859wz7fiw7jfm586dj89w0ggdqlb0767b";
};
doCheck = false;
meta = with stdenv.lib; {
description = "django-taggit is a reusable Django application for simple tagging";
homepage = https://github.com/alex/django-taggit/tree/master/;
license = licenses.bsd2;
maintainers = with maintainers; [ desiderius ];
};
}

View File

@ -2312,25 +2312,7 @@ in {
django_silk = callPackage ../development/python-modules/django_silk { };
django_taggit = buildPythonPackage rec {
name = "django-taggit-${version}";
version = "0.17.0";
disabled = pythonOlder "2.7";
src = pkgs.fetchurl {
url = "mirror://pypi/d/django-taggit/django-taggit-${version}.tar.gz";
sha256 = "1xy4mm1y6z6bpakw907859wz7fiw7jfm586dj89w0ggdqlb0767b";
};
doCheck = false;
meta = {
description = "django-taggit is a reusable Django application for simple tagging";
homepage = https://github.com/alex/django-taggit/tree/master/;
license = licenses.bsd2;
maintainers = with maintainers; [ desiderius ];
};
};
django_taggit = callPackage ../development/python-modules/django_taggit { };
django_treebeard = buildPythonPackage rec {
name = "django-treebeard-${version}";