mailmanPackages.hyperkitty: 1.3.8 -> 1.3.9

Doesn't seem to be out on PyPI yet, but they have a release tarball.

Hyperkitty has migrated to pyproject.toml, and no longer requires an
outdated version of mistune. Yay!

+14 -21
+14 -12
pkgs/servers/mail/mailman/hyperkitty.nix
··· 1 { lib 2 , python3 3 - , fetchPypi 4 , nixosTests 5 }: 6 ··· 8 9 buildPythonPackage rec { 10 pname = "HyperKitty"; 11 - version = "1.3.8"; 12 disabled = pythonOlder "3.10"; 13 14 - src = fetchPypi { 15 - inherit pname version; 16 - hash = "sha256-j//Mrbos/g1BGenHRmOe5GvAza5nu/mchAgdLQu9h7g="; 17 }; 18 19 - postPatch = '' 20 - # isort is a development dependency 21 - sed -i '/isort/d' setup.py 22 - ''; 23 24 propagatedBuildInputs = [ 25 django ··· 39 ]; 40 41 # Some of these are optional runtime dependencies that are not 42 - # listed as dependencies in setup.py. To use these, they should be 43 - # dependencies of the Django Python environment, but not of 44 - # HyperKitty so they're not included for people who don't need them. 45 nativeCheckInputs = [ 46 beautifulsoup4 47 elastic-transport
··· 1 { lib 2 , python3 3 + , fetchurl 4 , nixosTests 5 }: 6 ··· 8 9 buildPythonPackage rec { 10 pname = "HyperKitty"; 11 + version = "1.3.9"; 12 + pyproject = true; 13 + 14 disabled = pythonOlder "3.10"; 15 16 + src = fetchurl { 17 + url = "https://gitlab.com/mailman/hyperkitty/-/releases/${version}/downloads/hyperkitty-${version}.tar.gz"; 18 + hash = "sha256-BfhCh4zZcfwoIfubW/+MUWXwh1yFOH/jpRdQdsj6lME="; 19 }; 20 21 + nativeBuildInputs = [ 22 + pdm-backend 23 + ]; 24 25 propagatedBuildInputs = [ 26 django ··· 40 ]; 41 42 # Some of these are optional runtime dependencies that are not 43 + # listed as dependencies in pyproject.toml. To use these, they 44 + # should be dependencies of the Django Python environment, but not 45 + # of HyperKitty so they're not included for people who don't need 46 + # them. 47 nativeCheckInputs = [ 48 beautifulsoup4 49 elastic-transport
-9
pkgs/servers/mail/mailman/python.nix
··· 18 [1] 72a14ea563a3f5bf85db659349a533fe75a8b0ce 19 [2] f931bc81d63f5cfda55ac73d754c87b3fd63b291 20 */ 21 - # https://gitlab.com/mailman/hyperkitty/-/merge_requests/541 22 - mistune = super.mistune.overridePythonAttrs (old: rec { 23 - version = "2.0.5"; 24 - src = fetchPypi { 25 - inherit (old) pname; 26 - inherit version; 27 - hash = "sha256-AkYRPLJJLbh1xr5Wl0p8iTMzvybNkokchfYxUc7gnTQ="; 28 - }; 29 - }); 30 31 # django-q tests fail with redis 5.0.0. 32 # https://gitlab.com/mailman/hyperkitty/-/issues/493
··· 18 [1] 72a14ea563a3f5bf85db659349a533fe75a8b0ce 19 [2] f931bc81d63f5cfda55ac73d754c87b3fd63b291 20 */ 21 22 # django-q tests fail with redis 5.0.0. 23 # https://gitlab.com/mailman/hyperkitty/-/issues/493