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-fmm/default.nix

32 lines
683 B

{ lib
, buildPythonPackage
, fetchPypi
, numpy
, python
}:
buildPythonPackage rec {
pname = "scikit-fmm";
version = "2022.3.26";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-wxVfltcz3qh5FRS3CXYsYdL3z94x7Y0rjCbKFnNW3o4=";
};
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 ];
};
}