diff options
| author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2025-08-09 15:04:03 +0200 |
|---|---|---|
| committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2025-08-09 19:05:27 +0200 |
| commit | 18c8cae95f5e86efee342a71eef83f0756b64f19 (patch) | |
| tree | 602a9f3717682da167ebf1ba809d920157d0d0cc | |
| parent | python3Packages.htmldate: relax lxml constraint (diff) | |
| download | nixpkgs-18c8cae95f5e86efee342a71eef83f0756b64f19.tar.gz | |
python3Packages.preggy: pin to pytest 8.3, modernize
| -rw-r--r-- | pkgs/development/python-modules/preggy/default.nix | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/preggy/default.nix b/pkgs/development/python-modules/preggy/default.nix index 4281e6de0edf..db95ae127885 100644 --- a/pkgs/development/python-modules/preggy/default.nix +++ b/pkgs/development/python-modules/preggy/default.nix @@ -2,27 +2,30 @@ lib, buildPythonPackage, fetchPypi, + setuptools, six, unidecode, - pytestCheckHook, + pytest8_3CheckHook, }: buildPythonPackage rec { pname = "preggy"; version = "1.4.4"; - format = "setuptools"; - - propagatedBuildInputs = [ - six - unidecode - ]; - nativeCheckInputs = [ pytestCheckHook ]; + pyproject = true; src = fetchPypi { inherit pname version; sha256 = "25ba803afde4f35ef543a60915ced2e634926235064df717c3cb3e4e3eb4670c"; }; + build-system = [ setuptools ]; + + dependencies = [ + six + unidecode + ]; + nativeCheckInputs = [ pytest8_3CheckHook ]; + meta = with lib; { description = "Assertion library for Python"; homepage = "http://heynemann.github.io/preggy/"; |
