Unverified Commit 657f0344 authored by Jonas Heinrich's avatar Jonas Heinrich Committed by GitHub
Browse files

Merge pull request #240917 from onny/django-compressor-update2

python3Packages.django-compressor: 4.3.1 -> 4.4
parents e8daa262 464e1a42
Loading
Loading
Loading
Loading
+4 −9
Original line number Diff line number Diff line
@@ -11,21 +11,15 @@

buildPythonPackage rec {
  pname = "django-compressor";
  version = "4.3.1";
  version = "4.4";
  format = "setuptools";

  src = fetchPypi {
    pname = "django_compressor";
    inherit version;
    hash = "sha256-aIWMDabMCZzCmgIthsO6iu0RTanXCe7OsNe4GBtfiUI=";
    hash = "sha256-GwrMnPup9pvDjnxB2psNcKILyVWHtkP/75YJz0YGT2c=";
  };

  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
@@ -48,7 +42,8 @@ buildPythonPackage rec {

  meta = with lib; {
    description = "Compresses linked and inline JavaScript or CSS into single cached files";
    homepage = "https://django-compressor.readthedocs.org/en/latest/";
    homepage = "https://django-compressor.readthedocs.org/";
    changelog = "https://github.com/django-compressor/django-compressor/blob/${version}/docs/changelog.txt";
    license = licenses.mit;
    maintainers = with maintainers; [ desiderius ];
  };