summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2025-08-09 15:04:03 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2025-08-09 19:05:27 +0200
commit18c8cae95f5e86efee342a71eef83f0756b64f19 (patch)
tree602a9f3717682da167ebf1ba809d920157d0d0cc
parentpython3Packages.htmldate: relax lxml constraint (diff)
downloadnixpkgs-18c8cae95f5e86efee342a71eef83f0756b64f19.tar.gz
python3Packages.preggy: pin to pytest 8.3, modernize
-rw-r--r--pkgs/development/python-modules/preggy/default.nix19
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/";