blob: 2a7fab12fa216fd10b40cd5dfcb6751c51cca857 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{ lib
, buildPythonPackage
, isPy27
, fetchFromGitHub
, pytest
, pytestcov
, matplotlib
, networkx
, numpy
, scikitlearn
, scipy
, seaborn
}:
buildPythonPackage rec {
pname = "graspy";
version = "0.2";
disabled = isPy27;
src = fetchFromGitHub {
owner = "neurodata";
repo = pname;
rev = "v${version}";
sha256 = "1ss7d71lwblimg7ri88ir9w59j0ri13wl75091hjf7q0mchqr6yd";
};
propagatedBuildInputs = [
matplotlib
networkx
numpy
scikitlearn
scipy
seaborn
];
checkInputs = [ pytest pytestcov ];
checkPhase = ''
runHook preCheck
# `test_autogmm` takes too long; fixed in next release (graspy/pull/328)
pytest tests -k 'not test_autogmm'
runHook postCheck
'';
meta = with lib; {
homepage = "https://graspy.neurodata.io";
description = "A package for graph statistical algorithms";
license = licenses.asl20;
maintainers = with maintainers; [ bcdarwin ];
};
}
|