summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPyrox <pyrox@pyrox.dev>2024-07-29 00:43:10 -0400
committerPyrox <pyrox@pyrox.dev>2024-07-29 00:43:10 -0400
commitd554eb04425a296ab957bb445250e6e3ebe1bc95 (patch)
tree9933afa875e5e079b1383ec8628b3cf23d24e5ea
parentpython312Packages.isbnlib: drop nose dependency (diff)
downloadnixpkgs-d554eb04425a296ab957bb445250e6e3ebe1bc95.tar.gz
python312Packages.isbnlib: modernize
-rw-r--r--pkgs/development/python-modules/isbnlib/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/isbnlib/default.nix b/pkgs/development/python-modules/isbnlib/default.nix
index b94f9439f732..8bf7e67b9ecd 100644
--- a/pkgs/development/python-modules/isbnlib/default.nix
+++ b/pkgs/development/python-modules/isbnlib/default.nix
@@ -4,15 +4,13 @@
fetchFromGitHub,
pytestCheckHook,
pytest-cov,
- pythonOlder,
+ setuptools,
}:
buildPythonPackage rec {
pname = "isbnlib";
version = "3.10.14";
- format = "setuptools";
-
- disabled = pythonOlder "3.7";
+ pyproject = true;
src = fetchFromGitHub {
owner = "xlcnd";
@@ -21,6 +19,8 @@ buildPythonPackage rec {
hash = "sha256-d6p0wv7kj+NOZJRE2rzQgb7PXv+E3tASIibYCjzCdx8=";
};
+ build-system = [ setuptools ];
+
nativeCheckInputs = [
pytestCheckHook
pytest-cov