My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/scikit-tda/default.nix

64 lines
994 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, scipy
, scikit-learn
, matplotlib
, numba
, umap-learn
, cython
, ripser
, persim
, pillow
, kmapper
, tadasets
, pytest
, isPy27
}:
buildPythonPackage rec {
pname = "scikit-tda";
version = "1.0.0";
disabled = isPy27;
src = fetchFromGitHub {
owner = "scikit-tda";
repo = "scikit-tda";
rev = "v${version}";
sha256 = "0yhmf5jmxywyj6l9q0rfv9r8wpdk063fvvfnb4azwwccblgz37rj";
};
propagatedBuildInputs = [
numpy
scipy
scikit-learn
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 ];
};
}