mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 01:24:09 +01:00
python3Packages.kmapper: cleanup, fix
This commit is contained in:
parent
c2f1b88ee8
commit
8ad1990cac
1 changed files with 11 additions and 4 deletions
|
|
@ -22,7 +22,7 @@
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage (finalAttrs: {
|
||||||
pname = "kmapper";
|
pname = "kmapper";
|
||||||
version = "2.1.0";
|
version = "2.1.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "scikit-tda";
|
owner = "scikit-tda";
|
||||||
repo = "kepler-mapper";
|
repo = "kepler-mapper";
|
||||||
tag = "v${version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-i909J0yI8v8BqGbCkcjBAdA02Io+qpILdDkojZj0wv4=";
|
hash = "sha256-i909J0yI8v8BqGbCkcjBAdA02Io+qpILdDkojZj0wv4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -55,11 +55,18 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# UnboundLocalError: cannot access local variable 'X_blend' where it is not associated with a value
|
||||||
|
"test_tuple_projection"
|
||||||
|
"test_tuple_projection_fit"
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Python implementation of Mapper algorithm for Topological Data Analysis";
|
description = "Python implementation of Mapper algorithm for Topological Data Analysis";
|
||||||
homepage = "https://kepler-mapper.scikit-tda.org/";
|
homepage = "https://kepler-mapper.scikit-tda.org/";
|
||||||
changelog = "https://github.com/scikit-tda/kepler-mapper/releases/tag/v${version}";
|
downloadPage = "https://github.com/scikit-tda/kepler-mapper";
|
||||||
|
changelog = "https://github.com/scikit-tda/kepler-mapper/releases/tag/${finalAttrs.src.tag}";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue