Merge pull request #7049 from risicle/djangoaddons

add packages django_classytags & django_reversion
This commit is contained in:
Domen Kožar 2015-03-28 20:03:11 +01:00
commit d06ced99cd

View file

@ -4078,6 +4078,50 @@ let
};
django_classytags = buildPythonPackage rec {
name = "django-classy-tags-${version}";
version = "0.6.1";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/d/django-classy-tags/${name}.tar.gz";
md5 = "eb686aa767ad8cf88c1fa0f400a42516";
sha256 = "0wxvpmjdzk0aajk33y4himn3wqjx7k0aqlka9j8ay3yfav78bdq0";
};
propagatedBuildInputs = with self; [ django_1_7 ];
# 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 = stdenv.lib.licenses.bsd3;
};
};
django_reversion = buildPythonPackage rec {
name = "django-reversion-${version}";
version = "1.8.5";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/d/django-reversion/${name}.tar.gz";
md5 = "2de5a3fe82aaf505c134570f96fcc7a8";
sha256 = "0z8fxvxgbxfnalr5br74rsw6g42nry2q656rx7rsgmicd8n42v2r";
};
propagatedBuildInputs = with self; [ django_1_7 ] ++
(optionals (pythonOlder "2.7") [ importlib ordereddict ]);
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 = stdenv.lib.licenses.bsd3;
};
};
djblets = buildPythonPackage rec {
name = "Djblets-0.6.28";