···1{ lib
2, python3
3-, fetchPypi
4, nixosTests
5}:
6···89buildPythonPackage rec {
10 pname = "HyperKitty";
11- version = "1.3.8";
0012 disabled = pythonOlder "3.10";
1314- src = fetchPypi {
15- inherit pname version;
16- hash = "sha256-j//Mrbos/g1BGenHRmOe5GvAza5nu/mchAgdLQu9h7g=";
17 };
1819- postPatch = ''
20- # isort is a development dependency
21- sed -i '/isort/d' setup.py
22- '';
2324 propagatedBuildInputs = [
25 django
···39 ];
4041 # 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.
045 nativeCheckInputs = [
46 beautifulsoup4
47 elastic-transport
···1{ lib
2, python3
3+, fetchurl
4, nixosTests
5}:
6···89buildPythonPackage rec {
10 pname = "HyperKitty";
11+ version = "1.3.9";
12+ pyproject = true;
13+14 disabled = pythonOlder "3.10";
1516+ src = fetchurl {
17+ url = "https://gitlab.com/mailman/hyperkitty/-/releases/${version}/downloads/hyperkitty-${version}.tar.gz";
18+ hash = "sha256-BfhCh4zZcfwoIfubW/+MUWXwh1yFOH/jpRdQdsj6lME=";
19 };
2021+ nativeBuildInputs = [
22+ pdm-backend
23+ ];
02425 propagatedBuildInputs = [
26 django
···40 ];
4142 # 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