diff options
| author | Nick Cao <nickcao@nichi.co> | 2023-07-13 17:05:45 +0800 |
|---|---|---|
| committer | Nick Cao <nickcao@nichi.co> | 2023-07-13 17:06:47 +0800 |
| commit | 296e58b815f70413c3969b5fa33d3f4e86c75f54 (patch) | |
| tree | c070b689bbc08073e1cc45120aa4902deeafe1ca /pkgs/development/python-modules/datrie | |
| parent | Merge pull request #243199 from adisbladis/nixos-lemmy-config (diff) | |
| download | nixpkgs-296e58b815f70413c3969b5fa33d3f4e86c75f54.tar.gz | |
python3Packages.datrie: set format
Diffstat (limited to 'pkgs/development/python-modules/datrie')
| -rw-r--r-- | pkgs/development/python-modules/datrie/default.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/datrie/default.nix b/pkgs/development/python-modules/datrie/default.nix index 920e31c7f11e..414474af6ccb 100644 --- a/pkgs/development/python-modules/datrie/default.nix +++ b/pkgs/development/python-modules/datrie/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchPypi +, setuptools , cython , pytestCheckHook , hypothesis @@ -9,6 +10,7 @@ buildPythonPackage rec { pname = "datrie"; version = "0.8.2"; + format = "pyproject"; src = fetchPypi { inherit pname version; @@ -16,17 +18,17 @@ buildPythonPackage rec { }; nativeBuildInputs = [ + setuptools cython ]; - buildInputs = [ - hypothesis + nativeCheckInputs = [ pytestCheckHook ]; - postPatch = '' - substituteInPlace setup.py --replace '"pytest-runner", ' "" - ''; + checkInputs = [ + hypothesis + ]; pythonImportsCheck = [ "datrie" ]; |
