git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.hyppo: init at 0.1.3
commit5315ce0e40c6c57c90c9487ec16f343663c73894 authorBen Darwin <bcdarwin@gmail.com> dateThu 10 Sep 2020, 15:13 (6 years ago) parent9d58eb4
2 files changed+42
pkgs/development/python-modules/hyppo/default.nix+40 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/hyppo/default.nixnew file+40
@@ -0,0 +1,40 @@
1+{ lib
2+, buildPythonPackage
3+, isPy27
4+, fetchFromGitHub
5+, pytestCheckHook , pytestcov , numba
6+, numpy
7+, scikitlearn
8+, scipy
9+}:
10+
11+buildPythonPackage 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+}
pkgs/top-level/python-packages.nix+2
@@ -2764,6 +2764,8 @@ in {
27642764
27652765 hypothesis = if isPy3k then callPackage ../development/python-modules/hypothesis { } else self.hypothesis_4;
27662766
2767+ hyppo = callPackage ../development/python-modules/hyppo { };
2768+
27672769 i3ipc = callPackage ../development/python-modules/i3ipc { };
27682770
27692771 i3-py = callPackage ../development/python-modules/i3-py { };