Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pyfma / default.nix
blob405098113acb9d272c1ab8d36a962a9b4036677b
1 { lib
2 , buildPythonPackage
3 , isPy27
4 , fetchPypi
5 , pybind11
6 , exdown
7 , numpy
8 , pytestCheckHook
9 }:
11 buildPythonPackage rec {
12   pname = "pyfma";
13   version = "0.1.2";
15   disabled = isPy27;
17   src = fetchPypi {
18     inherit pname version;
19     sha256 = "3a9e2503fd01baa4978af5f491b79b7646d7872df9ecc7ab63ba10c250c50d8a";
20   };
22   buildInputs = [
23     pybind11
24   ];
26   checkInputs = [
27     exdown
28     numpy
29     pytestCheckHook
30   ];
32   pythonImportsCheck = [ "pyfma" ];
34   meta = with lib; {
35     description = "Fused multiply-add for Python";
36     homepage = "https://github.com/nschloe/pyfma";
37     license = licenses.mit;
38     maintainers = [ maintainers.costrouc];
39   };