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