1{ lib 2, fetchPypi 3, buildPythonPackage 4, cython 5, gfortran 6, pytestCheckHook 7, numpy }: 8 9buildPythonPackage rec { 10 pname = "scikit-misc"; 11 version = "0.1.4"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "sha256-93RqA0eBEGPh7PkSHflINXhQA5U8OLW6hPY/xQjCKRE="; 16 }; 17 18 postPatch = '' 19 substituteInPlace pytest.ini \ 20 --replace "--cov --cov-report=xml" "" 21 ''; 22 23 nativeBuildInputs = [ 24 gfortran 25 ]; 26 27 buildInputs = [ 28 cython 29 numpy 30 ]; 31 32 # Tests fail because of infinite recursion error 33 doCheck = false; 34 35 pythonImportsCheck = [ 36 "skmisc" 37 ]; 38 39 meta = with lib; { 40 description = "Miscellaneous tools for scientific computing"; 41 homepage = "https://github.com/has2k1/scikit-misc"; 42 license = licenses.bsd3; 43 maintainers = with maintainers; [ onny ]; 44 }; 45}