Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 765 B view raw
1{ lib 2, buildPythonPackage 3, isPy27 4, fetchFromGitHub 5, pytestCheckHook , pytestcov , numba 6, numpy 7, scikitlearn 8, scipy 9}: 10 11buildPythonPackage rec { 12 pname = "hyppo"; 13 version = "0.1.3"; 14 15 disabled = isPy27; 16 17 src = fetchFromGitHub { 18 owner = "neurodata"; 19 repo = pname; 20 rev = "v${version}"; 21 sha256 = "0qdnb1l4hz4dgwhapz1fp9sb2vxxvr8h2ngsbvyf50h3kapcn19r"; 22 }; 23 24 propagatedBuildInputs = [ 25 numba 26 numpy 27 scikitlearn 28 scipy 29 ]; 30 31 checkInputs = [ pytestCheckHook pytestcov ]; 32 pytestFlagsArray = [ "--ignore=docs" ]; 33 34 meta = with lib; { 35 homepage = "https://github.com/neurodata/hyppo"; 36 description = "Indepedence testing in Python"; 37 license = licenses.asl20; 38 maintainers = with maintainers; [ bcdarwin ]; 39 }; 40}