Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 55 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ lib, buildPythonPackage, fetchPypi, rcssmin, rjsmin, django-appconf, beautifulsoup4, brotli, pytestCheckHook}:
buildPythonPackage rec { pname = "django-compressor"; version = "4.3.1"; format = "setuptools";
src = fetchPypi { pname = "django_compressor"; inherit version; hash = "sha256-aIWMDabMCZzCmgIthsO6iu0RTanXCe7OsNe4GBtfiUI="; };
postPatch = '' substituteInPlace setup.py \ --replace "rcssmin == 1.1.0" "rcssmin>=1.1.0" \ --replace "rjsmin == 1.2.0" "rjsmin>=1.2.0" '';
propagatedBuildInputs = [ rcssmin rjsmin django-appconf ];
pythonImportsCheck = [ "compressor" ];
doCheck = false; # missing package django-sekizai
nativeCheckInputs = [ beautifulsoup4 brotli pytestCheckHook ];
DJANGO_SETTINGS_MODULE = "compressor.test_settings";
meta = with lib; { description = "Compresses linked and inline JavaScript or CSS into single cached files"; homepage = "https://django-compressor.readthedocs.org/en/latest/"; license = licenses.mit; maintainers = with maintainers; [ desiderius ]; };}