Merge pull request #27296 from lsix/update_django_compressor
pythonPackages.django_compressor: 1.5 -> 2.1.1
This commit is contained in:
23
pkgs/development/python-modules/django_appconf/default.nix
Normal file
23
pkgs/development/python-modules/django_appconf/default.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, six }:
|
||||
buildPythonPackage rec {
|
||||
pname = "django-appconf";
|
||||
version = "1.0.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0qdjdx35g66xjsc50v0c5h3kg6njs8df33mbjx6j4k1vd3m9lkba";
|
||||
};
|
||||
|
||||
# No tests in archive
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A helper class for handling configuration defaults of packaged apps gracefully";
|
||||
homepage = http://django-appconf.readthedocs.org/;
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ desiderius ];
|
||||
};
|
||||
}
|
||||
@@ -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 ];
|
||||
};
|
||||
}
|
||||
21
pkgs/development/python-modules/rcssmin/default.nix
Normal file
21
pkgs/development/python-modules/rcssmin/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
buildPythonPackage rec {
|
||||
pname = "rcssmin";
|
||||
version = "1.0.6";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0w42l4dhxghcz7pj3q7hkxp015mvb8z2cq9sfxbl31npsfavd1ya";
|
||||
};
|
||||
|
||||
# The package does not ship tests, and the setup machinary confuses
|
||||
# tests auto-discovery
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://opensource.perlig.de/rcssmin/;
|
||||
license = licenses.asl20;
|
||||
description = "CSS minifier written in pure python";
|
||||
};
|
||||
}
|
||||
21
pkgs/development/python-modules/rjsmin/default.nix
Normal file
21
pkgs/development/python-modules/rjsmin/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
buildPythonPackage rec {
|
||||
pname = "rjsmin";
|
||||
version = "1.0.12";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1wc62d0f80kw1kjv8nlxychh0iy66a6pydi4vfvhh2shffm935fx";
|
||||
};
|
||||
|
||||
# The package does not ship tests, and the setup machinary confuses
|
||||
# tests auto-discovery
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://opensource.perlig.de/rjsmin/;
|
||||
license = licenses.asl20;
|
||||
description = "Javascript minifier written in python";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user