nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 836 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pandas, 7 numpy, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "pycatch22"; 13 version = "0.4.5"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "DynamicsAndNeuralSystems"; 18 repo = "pycatch22"; 19 tag = "v${version}"; 20 hash = "sha256-NvZrjOdC6rV4hwCuGcc2Br/VDhLwZcYpfnNvQpqU134="; 21 }; 22 23 nativeBuildInputs = [ setuptools ]; 24 25 nativeCheckInputs = [ 26 pandas 27 numpy 28 pytestCheckHook 29 ]; 30 31 pythonImportsCheck = [ "pycatch22" ]; 32 33 meta = { 34 description = "Python implementation of catch22"; 35 homepage = "https://github.com/DynamicsAndNeuralSystems/pycatch22"; 36 changelog = "https://github.com/DynamicsAndNeuralSystems/pycatch22/releases/tag/v${version}"; 37 license = lib.licenses.gpl3Plus; 38 maintainers = [ ]; 39 }; 40}