pythonPackages.django_compressor: 1.5 -> 2.1.1

This commit is contained in:
Lancelot SIX 2017-07-11 09:44:39 +02:00
parent 73076f3252
commit e200a97d6a
No known key found for this signature in database
GPG Key ID: 02E1542BA66FB047
2 changed files with 25 additions and 21 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, buildPythonPackage, fetchPypi,
rcssmin, rjsmin, django_appconf }:
buildPythonPackage rec {
pname = "django_compressor";
version = "2.1.1";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "1s42dkq3qp1niaf69markd7m3ljgf2bspyz2nk0sa07f8q04004j";
};
# Need to setup django testing
doCheck = false;
propagatedBuildInputs = [ rcssmin rjsmin django_appconf ];
meta = with stdenv.lib; {
description = "Compresses linked and inline JavaScript or CSS into single cached files";
homepage = http://django-compressor.readthedocs.org/en/latest/;
license = licenses.mit;
maintainers = with maintainers; [ desiderius ];
};
}

View File

@ -9889,27 +9889,7 @@ in {
};
};
django_compressor = buildPythonPackage rec {
name = "django-compressor-${version}";
version = "1.5";
src = pkgs.fetchurl {
url = "mirror://pypi/d/django_compressor/django_compressor-${version}.tar.gz";
sha256 = "0bp2acagc6b1mmcajlmjf5vvp6zj429bq7p2wks05n47pwfzv281";
};
# Need to setup django testing
doCheck = false;
propagatedBuildInputs = with self; [ django_appconf ];
meta = {
description = "Compresses linked and inline JavaScript or CSS into single cached files";
homepage = http://django-compressor.readthedocs.org/en/latest/;
license = licenses.mit;
maintainers = with maintainers; [ desiderius ];
};
};
django_compressor = callPackage ../development/python-modules/django_compressor { };
django_compat = callPackage ../development/python-modules/django-compat { };