Skip to content

Commit 2225135

Browse files
authored
python3Packages.wn: fix build (#380723)
2 parents 6591a62 + a161ff0 commit 2225135

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pkgs/development/python-modules/wn/default.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
fetchPypi,
55
pytestCheckHook,
66
pythonOlder,
7-
flit-core,
8-
requests,
7+
hatchling,
8+
httpx,
99
tomli,
1010
}:
1111

@@ -14,17 +14,17 @@ buildPythonPackage rec {
1414
version = "0.11.0";
1515
pyproject = true;
1616

17-
disabled = pythonOlder "3.8";
17+
disabled = pythonOlder "3.9";
1818

1919
src = fetchPypi {
2020
inherit pname version;
2121
hash = "sha256-TDvTNh+5cxgBoy9nuXItHOdtfbsP+3F16egZjUBSpak=";
2222
};
2323

24-
nativeBuildInputs = [ flit-core ];
24+
build-system = [ hatchling ];
2525

26-
propagatedBuildInputs = [
27-
requests
26+
dependencies = [
27+
httpx
2828
tomli
2929
];
3030

0 commit comments

Comments
 (0)