2017-07-11 08:44:39 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi,
|
|
|
|
rcssmin, rjsmin, django_appconf }:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django_compressor";
|
2017-08-24 18:34:20 +01:00
|
|
|
version = "2.2";
|
2017-07-11 08:44:39 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-08-24 18:34:20 +01:00
|
|
|
sha256 = "9616570e5b08e92fa9eadc7a1b1b49639cce07ef392fc27c74230ab08075b30f";
|
2017-07-11 08:44:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# 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";
|
2019-04-22 09:24:21 +01:00
|
|
|
homepage = https://django-compressor.readthedocs.org/en/latest/;
|
2017-07-11 08:44:39 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ desiderius ];
|
|
|
|
};
|
|
|
|
}
|