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:
parent
1ff227a979
commit
babeb7361e
32
pkgs/development/python-modules/scikit-fmm/default.nix
Normal file
32
pkgs/development/python-modules/scikit-fmm/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue