mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 15:47:28 +00:00
25 lines
743 B
Nix
25 lines
743 B
Nix
{ stdenv, buildPythonPackage, fetchPypi,
|
|
rcssmin, rjsmin, django_appconf }:
|
|
buildPythonPackage rec {
|
|
pname = "django_compressor";
|
|
version = "2.2";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "9616570e5b08e92fa9eadc7a1b1b49639cce07ef392fc27c74230ab08075b30f";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|