mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
python311Packages.kneed: modernize
This commit is contained in:
parent
70e5f69810
commit
06f30a2e18
@ -7,12 +7,13 @@
|
||||
scipy,
|
||||
matplotlib,
|
||||
pytestCheckHook,
|
||||
pytest-cov-stub,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "kneed";
|
||||
version = "0.8.5";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "arvkevi";
|
||||
@ -21,20 +22,16 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-oakP6NkdvTzMZcoXS6cKNsRo//K+CoPLlhvbQLGij00=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pytest.ini \
|
||||
--replace "--cov=kneed" ""
|
||||
'';
|
||||
build-system = [ hatchling ];
|
||||
|
||||
nativeBuildInputs = [ hatchling ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
numpy
|
||||
scipy
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytest-cov-stub
|
||||
matplotlib
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user