Skip to content

Commit

Permalink
python312Packages.pycatch22: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Bot-wxt1221 committed Dec 15, 2024
1 parent 02abbe5 commit 56275b9
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions pkgs/development/python-modules/pycatch22/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
setuptools,
pandas,
pythonOlder,
numpy,
pytestCheckHook,
}:

buildPythonPackage rec {
Expand All @@ -23,25 +25,19 @@ buildPythonPackage rec {

nativeBuildInputs = [ setuptools ];

nativeCheckInputs = [ pandas ];

# This packages does not have real tests
# But we can run this file as smoketest
checkPhase = ''
runHook preCheck
python tests/testing.py
runHook postCheck
'';
nativeCheckInputs = [
pandas
numpy
pytestCheckHook
];

pythonImportsCheck = [ "pycatch22" ];

meta = with lib; {
meta = {
description = "Python implementation of catch22";
homepage = "https://github.com/DynamicsAndNeuralSystems/pycatch22";
changelog = "https://github.com/DynamicsAndNeuralSystems/pycatch22/releases/tag/v${version}";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ mbalatsko ];
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ mbalatsko ];
};
}

0 comments on commit 56275b9

Please sign in to comment.