1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 numpy, 6 pytestCheckHook, 7 python, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "bottleneck"; 13 version = "1.3.8"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 pname = "Bottleneck"; 20 inherit version; 21 hash = "sha256-Z4DYlpabp/U8iZW6kMh8VIvrPbQ13JDGC5oQ7Rq02Gg="; 22 }; 23 24 propagatedBuildInputs = [ numpy ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pytestFlagsArray = [ "$out/${python.sitePackages}" ]; 29 30 disabledTests = [ "test_make_c_files" ]; 31 32 pythonImportsCheck = [ "bottleneck" ]; 33 34 meta = with lib; { 35 description = "Fast NumPy array functions"; 36 homepage = "https://github.com/pydata/bottleneck"; 37 license = licenses.bsd2; 38 maintainers = with maintainers; [ ]; 39 }; 40}