python311Packages.pycatch22: use new parameter

This commit is contained in:
Fabian Affolter 2023-10-01 11:07:46 +02:00 committed by GitHub
parent c14a11b76f
commit 5587474b09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,21 +3,26 @@
, fetchFromGitHub
, setuptools
, pandas
, pythonOlder
}:
buildPythonPackage rec {
pname = "pycatch22";
version = "0.4.3";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "DynamicsAndNeuralSystems";
repo = "pycatch22";
rev = "v${version}";
rev = "refs/tags/v${version}";
hash = "sha256-wjMklOzU9I3Y2HdZ+rOTiffoKda+6X9zwDsmB+HXrSY=";
};
nativeBuildInputs = [ setuptools ];
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pandas
@ -32,7 +37,10 @@ buildPythonPackage rec {
runHook postCheck
'';
pythonImportsCheck = [ "pycatch22" ];
pythonImportsCheck = [
"pycatch22"
];
meta = with lib; {
description = "Python implementation of catch22";