Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 40 lines 736 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 nose, 6 cython, 7 numpy, 8}: 9 10buildPythonPackage rec { 11 version = "0.14.2"; 12 format = "setuptools"; 13 pname = "hdmedians"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "b47aecb16771e1ba0736557255d80ae0240b09156bff434321de559b359ac2d6"; 18 }; 19 20 # nose was specified in setup.py as a build dependency... 21 buildInputs = [ 22 cython 23 nose 24 ]; 25 propagatedBuildInputs = [ numpy ]; 26 27 # cannot resolve path for packages in tests 28 doCheck = false; 29 30 checkPhase = '' 31 nosetests 32 ''; 33 34 meta = with lib; { 35 homepage = "https://github.com/daleroberts/hdmedians"; 36 description = "High-dimensional medians"; 37 license = licenses.gpl3; 38 maintainers = [ ]; 39 }; 40}