pythonPackages.django_classtags: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-16 13:43:42 -04:00
committed by Frederik Rietdijk
parent 0d7a983a27
commit 9c573f5379
2 changed files with 28 additions and 20 deletions

View File

@@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, django
}:
buildPythonPackage rec {
pname = "django-classy-tags";
version = "0.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "0wxvpmjdzk0aajk33y4himn3wqjx7k0aqlka9j8ay3yfav78bdq0";
};
propagatedBuildInputs = [ django ];
# tests appear to be broken on 0.6.1 at least
doCheck = ( version != "0.6.1" );
meta = with stdenv.lib; {
description = "Class based template tags for Django";
homepage = https://github.com/ojii/django-classy-tags;
license = licenses.bsd3;
};
}