forked from mirrors/nixpkgs
python3Packages.graspy: init at 0.2
This commit is contained in:
parent
d8a7d04a29
commit
0dd910d470
52
pkgs/development/python-modules/graspy/default.nix
Normal file
52
pkgs/development/python-modules/graspy/default.nix
Normal file
|
@ -0,0 +1,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 ];
|
||||
};
|
||||
}
|
|
@ -6490,6 +6490,8 @@ in {
|
|||
|
||||
graph_nets = callPackage ../development/python-modules/graph_nets { };
|
||||
|
||||
graspy = callPackage ../development/python-modules/graspy { };
|
||||
|
||||
influxgraph = callPackage ../development/python-modules/influxgraph { };
|
||||
|
||||
pyspotify = callPackage ../development/python-modules/pyspotify { };
|
||||
|
|
Loading…
Reference in a new issue