1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

pythonPackages.scikit-fmm: init at 2019.1.30

This commit is contained in:
Chris Ostrouchov 2019-07-11 17:43:34 -04:00 committed by Frederik Rietdijk
parent 1ff227a979
commit babeb7361e
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, python
}:
buildPythonPackage rec {
pname = "scikit-fmm";
version = "2019.1.30";
src = fetchPypi {
inherit pname version;
sha256 = "eb64b6d8e30b8df8f8636d5fc4fd7ca6a9b05938ccd62518c80c1d9e823069dd";
};
propagatedBuildInputs = [
numpy
];
checkPhase = ''
mkdir testdir; cd testdir
${python.interpreter} -c "import skfmm, sys; sys.exit(skfmm.test())"
'';
meta = with lib; {
description = "A Python extension module which implements the fast marching method";
homepage = https://github.com/scikit-fmm/scikit-fmm;
license = licenses.bsd3;
maintainers = with maintainers; [ costrouc ];
};
}

View file

@ -4680,6 +4680,8 @@ in {
scikit-tda = callPackage ../development/python-modules/scikit-tda { };
scikit-fmm = callPackage ../development/python-modules/scikit-fmm { };
scp = callPackage ../development/python-modules/scp {};
seaborn = callPackage ../development/python-modules/seaborn { };