python.pkgs.django_tagging: move to separate expression

This commit is contained in:
wisut hantanong 2017-07-14 17:20:16 +07:00 committed by Jörg Thalheim
parent 81736497a4
commit eff03340c4
2 changed files with 23 additions and 18 deletions

View File

@ -0,0 +1,22 @@
{ stdenv, buildPythonPackage, fetchPypi, django }:
buildPythonPackage rec {
pname = "django-tagging";
version = "0.4.5";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "00ki1g6pb2lnaj4lh0s865mmlf4kdwx7a6n38iy5qz9qv4xrvz4q";
};
# error: invalid command 'test'
doCheck = false;
propagatedBuildInputs = [ django ];
meta = {
description = "A generic tagging application for Django projects";
homepage = https://github.com/Fantomas42/django-tagging;
};
}

View File

@ -9933,24 +9933,7 @@ in {
django_polymorphic = callPackage ../development/python-modules/django-polymorphic { };
django_tagging = buildPythonPackage rec {
name = "django-tagging-0.4.5";
src = pkgs.fetchurl {
url = "mirror://pypi/d/django-tagging/${name}.tar.gz";
sha256 = "00ki1g6pb2lnaj4lh0s865mmlf4kdwx7a6n38iy5qz9qv4xrvz4q";
};
# error: invalid command 'test'
doCheck = false;
propagatedBuildInputs = with self; [ django ];
meta = {
description = "A generic tagging application for Django projects";
homepage = https://github.com/Fantomas42/django-tagging;
};
};
django_tagging = callPackage ../development/python-modules/django_tagging { };
django_tagging_0_3 = self.django_tagging.override (attrs: rec {
name = "django-tagging-0.3.6";