From a161ff01c7de59e6ee0949d1ac386a026ad653ea Mon Sep 17 00:00:00 2001 From: Chuang Zhu Date: Mon, 10 Feb 2025 04:58:24 +0800 Subject: [PATCH] python3Packages.wn: fix build --- pkgs/development/python-modules/wn/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/wn/default.nix b/pkgs/development/python-modules/wn/default.nix index 586f0cafd721..b742ee5902b4 100644 --- a/pkgs/development/python-modules/wn/default.nix +++ b/pkgs/development/python-modules/wn/default.nix @@ -4,8 +4,8 @@ fetchPypi, pytestCheckHook, pythonOlder, - flit-core, - requests, + hatchling, + httpx, tomli, }: @@ -14,17 +14,17 @@ buildPythonPackage rec { version = "0.11.0"; pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; hash = "sha256-TDvTNh+5cxgBoy9nuXItHOdtfbsP+3F16egZjUBSpak="; }; - nativeBuildInputs = [ flit-core ]; + build-system = [ hatchling ]; - propagatedBuildInputs = [ - requests + dependencies = [ + httpx tomli ];