python311Packages.pycatch22: use new parameter
This commit is contained in:
parent
c14a11b76f
commit
5587474b09
|
@ -3,21 +3,26 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, setuptools
|
, setuptools
|
||||||
, pandas
|
, pandas
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pycatch22";
|
pname = "pycatch22";
|
||||||
version = "0.4.3";
|
version = "0.4.3";
|
||||||
format = "pyproject";
|
pyproject = true;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "DynamicsAndNeuralSystems";
|
owner = "DynamicsAndNeuralSystems";
|
||||||
repo = "pycatch22";
|
repo = "pycatch22";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-wjMklOzU9I3Y2HdZ+rOTiffoKda+6X9zwDsmB+HXrSY=";
|
hash = "sha256-wjMklOzU9I3Y2HdZ+rOTiffoKda+6X9zwDsmB+HXrSY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools ];
|
nativeBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pandas
|
pandas
|
||||||
|
@ -32,7 +37,10 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
'';
|
'';
|
||||||
pythonImportsCheck = [ "pycatch22" ];
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"pycatch22"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python implementation of catch22";
|
description = "Python implementation of catch22";
|
||||||
|
|
Loading…
Reference in a new issue