pythonPackages.kmapper: init at 1.2.0

This commit is contained in:
Chris Ostrouchov 2019-07-12 20:34:46 -04:00 committed by Frederik Rietdijk
parent 0be5740700
commit aaf1da8e68
2 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,51 @@
{ lib
, buildPythonPackage
, fetchPypi
, scikitlearn
, numpy
, scipy
, jinja2
, pytest
, networkx
, matplotlib
, python-igraph
, plotly
, ipywidgets
}:
buildPythonPackage rec {
pname = "kmapper";
version = "1.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "0879294680c5d01a928847b818a3c4e07eded3f602f96e510858e68e74fa3783";
};
propagatedBuildInputs = [
scikitlearn
numpy
scipy
jinja2
];
checkInputs = [
pytest
networkx
matplotlib
python-igraph
plotly
ipywidgets
];
checkPhase = ''
pytest test --ignore test/test_drawing.py
'';
meta = with lib; {
description = "Python implementation of Mapper algorithm for Topological Data Analysis";
homepage = http://kepler-mapper.scikit-tda.org;
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -3827,6 +3827,8 @@ in {
pika-pool = callPackage ../development/python-modules/pika-pool { };
kmapper = callPackage ../development/python-modules/kmapper { };
kmsxx = (callPackage ../development/libraries/kmsxx {
inherit (pkgs.kmsxx) stdenv;
inherit (pkgs) pkgconfig;