pythonPackages.pyfma: init at 0.1.0
This commit is contained in:
parent
bec3cfaec3
commit
d0c125ab6a
41
pkgs/development/python-modules/pyfma/default.nix
Normal file
41
pkgs/development/python-modules/pyfma/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pybind11
|
||||
, numpy
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyfma";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "79514717f8e632a0fb165e3d61222ed61202bea7b0e082f7b41c91e738f1fbc9";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
pybind11
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
numpy
|
||||
pytest
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
pytest test
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fused multiply-add for Python";
|
||||
homepage = https://github.com/nschloe/pyfma;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc];
|
||||
};
|
||||
}
|
@ -3876,6 +3876,8 @@ in {
|
||||
|
||||
pyfantom = callPackage ../development/python-modules/pyfantom { };
|
||||
|
||||
pyfma = callPackage ../development/python-modules/pyfma { };
|
||||
|
||||
pyfftw = callPackage ../development/python-modules/pyfftw { };
|
||||
|
||||
pyfiglet = callPackage ../development/python-modules/pyfiglet { };
|
||||
|
Loading…
Reference in New Issue
Block a user