diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-03-17 20:04:09 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-03-17 20:04:09 +0100 |
commit | ad9c358a6623c81000ec6818bf59922074516255 (patch) | |
tree | 200846ebcbf90c227c34db1aafa0a5d2f8c05c07 | |
parent | 69aa302c35c66a6f77e95a26ed1706bdebcd4d2a (diff) |
python311Packages.inscriptis: fix build
-rw-r--r-- | pkgs/development/python-modules/inscriptis/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/inscriptis/default.nix b/pkgs/development/python-modules/inscriptis/default.nix index 07c13a634f110..a195ca21deefa 100644 --- a/pkgs/development/python-modules/inscriptis/default.nix +++ b/pkgs/development/python-modules/inscriptis/default.nix @@ -1,7 +1,10 @@ { lib , buildPythonPackage , fetchFromGitHub +, poetry-core , lxml +, fastapi +, httpx , pytestCheckHook , pythonOlder , requests @@ -10,7 +13,7 @@ buildPythonPackage rec { pname = "inscriptis"; version = "2.5.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -21,12 +24,18 @@ buildPythonPackage rec { hash = "sha256-9KEkXcdZ7USXfyIXGDrp4p4kJTzF2q30fvOccxF1hBU="; }; + build-system = [ + poetry-core + ]; + propagatedBuildInputs = [ lxml requests ]; nativeCheckInputs = [ + fastapi + httpx pytestCheckHook ]; |