mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
python312Packages.nose: use pep517 builder
This commit is contained in:
parent
176a56c40f
commit
749f7b3061
|
@ -7,12 +7,13 @@
|
|||
python,
|
||||
pythonAtLeast,
|
||||
coverage,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.3.7";
|
||||
format = "setuptools";
|
||||
pname = "nose";
|
||||
pyproject = true;
|
||||
|
||||
# unmaintained, relies on the imp module
|
||||
disabled = pythonAtLeast "3.12";
|
||||
|
@ -22,6 +23,8 @@ buildPythonPackage rec {
|
|||
sha256 = "f1bffef9cbc82628f6e7d7b40d7e255aefaa1adb6a1b1d26c69a8b79e6208a98";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
# 2to3 was removed in setuptools 58
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
|
|
Loading…
Reference in a new issue