mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00:00
python3Packages.kmapper: fix tests
This commit is contained in:
parent
bf12c8774d
commit
29ca0ab721
|
@ -1,11 +1,11 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, scikitlearn
|
||||
, numpy
|
||||
, scipy
|
||||
, jinja2
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, networkx
|
||||
, matplotlib
|
||||
, python-igraph
|
||||
|
@ -17,9 +17,11 @@ buildPythonPackage rec {
|
|||
pname = "kmapper";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "3708d889f96f6bbe89c52000dd9378ca4c35638180ff894b64ebbdfcfe62aab2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "scikit-tda";
|
||||
repo = "kepler-mapper";
|
||||
rev = "v${version}";
|
||||
sha256 = "0djm27si2bn18khrbb7rwhflc5ma6g9smhikhk5i1apwn5avm6l4";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -30,7 +32,7 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestCheckHook
|
||||
networkx
|
||||
matplotlib
|
||||
python-igraph
|
||||
|
@ -38,10 +40,6 @@ buildPythonPackage rec {
|
|||
ipywidgets
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest test --ignore test/test_drawing.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python implementation of Mapper algorithm for Topological Data Analysis";
|
||||
homepage = "https://kepler-mapper.scikit-tda.org/";
|
||||
|
|
Loading…
Reference in a new issue