mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
python312Packages.pysrim: modernize
This commit is contained in:
parent
e61286763b
commit
0645f76d9b
@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
numpy,
|
||||
pythonOlder,
|
||||
pyyaml,
|
||||
@ -10,7 +11,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "pysrim";
|
||||
version = "0.5.10";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@ -21,10 +22,12 @@ buildPythonPackage rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "'pytest-runner', " ""
|
||||
--replace-fail "'pytest-runner', " ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
numpy
|
||||
pyyaml
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user