mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
pythonPackages.django_compressor: 1.5 -> 2.1.1
This commit is contained in:
parent
73076f3252
commit
e200a97d6a
@ -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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user