depot/third_party/nixpkgs/pkgs/development/python-modules/pyfma/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

40 lines
660 B
Nix

{ lib
, buildPythonPackage
, isPy27
, fetchPypi
, pybind11
, exdown
, numpy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pyfma";
version = "0.1.4";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "5bc6bf57d960a5232b7a56bd38e9fe3dce0911016746029931044b66bdec46e9";
};
buildInputs = [
pybind11
];
checkInputs = [
exdown
numpy
pytestCheckHook
];
pythonImportsCheck = [ "pyfma" ];
meta = with lib; {
description = "Fused multiply-add for Python";
homepage = "https://github.com/nschloe/pyfma";
license = licenses.mit;
maintainers = [ maintainers.costrouc];
};
}