mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
pythonPackages.scikit-tda: init at 0.0.4
This commit is contained in:
parent
e72d2b6716
commit
e773b424e2
64
pkgs/development/python-modules/scikit-tda/default.nix
Normal file
64
pkgs/development/python-modules/scikit-tda/default.nix
Normal file
@ -0,0 +1,64 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, numpy
|
||||
, scipy
|
||||
, scikitlearn
|
||||
, matplotlib
|
||||
, numba
|
||||
, umap-learn
|
||||
, cython
|
||||
, ripser
|
||||
, persim
|
||||
, pillow
|
||||
, kmapper
|
||||
, tadasets
|
||||
, pytest
|
||||
, isPy27
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "scikit-tda";
|
||||
version = "0.0.4";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "scikit-tda";
|
||||
repo = "scikit-tda";
|
||||
rev = version;
|
||||
sha256 = "0a90k6i9fkmc9gf250b4fidx2fzd2qrn025l74mjk51fvf23q13a";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
scipy
|
||||
scikitlearn
|
||||
matplotlib
|
||||
numba
|
||||
umap-learn
|
||||
cython
|
||||
ripser
|
||||
persim
|
||||
pillow
|
||||
kmapper
|
||||
tadasets
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest test
|
||||
'';
|
||||
|
||||
# tests will be included in next release
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Topological Data Analysis for humans";
|
||||
homepage = https://github.com/scikit-tda/scikit-tda;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -4435,6 +4435,8 @@ in {
|
||||
|
||||
scikit-optimize = callPackage ../development/python-modules/scikit-optimize { };
|
||||
|
||||
scikit-tda = callPackage ../development/python-modules/scikit-tda { };
|
||||
|
||||
scp = callPackage ../development/python-modules/scp {};
|
||||
|
||||
seaborn = callPackage ../development/python-modules/seaborn { };
|
||||
|
Loading…
Reference in New Issue
Block a user