diff options
Diffstat (limited to 'pkgs/development/python-modules/pyfma/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pyfma/default.nix | 39 |
1 files changed, 15 insertions, 24 deletions
diff --git a/pkgs/development/python-modules/pyfma/default.nix b/pkgs/development/python-modules/pyfma/default.nix index e0934dc34b89..ab6444efebaa 100644 --- a/pkgs/development/python-modules/pyfma/default.nix +++ b/pkgs/development/python-modules/pyfma/default.nix @@ -1,12 +1,13 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, importlib-metadata -, numpy -, pybind11 -, pytestCheckHook -, pythonOlder -, setuptools +{ + lib, + buildPythonPackage, + fetchFromGitHub, + importlib-metadata, + numpy, + pybind11, + pytestCheckHook, + pythonOlder, + setuptools, }: buildPythonPackage rec { @@ -22,23 +23,13 @@ buildPythonPackage rec { sha256 = "12i68jj9n1qj9phjnj6f0kmfhlsd3fqjlk9p6d4gs008azw5m8yn"; }; - nativeBuildInputs = [ - setuptools - ]; + nativeBuildInputs = [ setuptools ]; - buildInputs = [ - pybind11 - ]; + buildInputs = [ pybind11 ]; - propagatedBuildInputs = [ - numpy - ] ++ lib.optionals (pythonOlder "3.8") [ - importlib-metadata - ]; + propagatedBuildInputs = [ numpy ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "pyfma" ]; @@ -46,6 +37,6 @@ buildPythonPackage rec { description = "Fused multiply-add for Python"; homepage = "https://github.com/nschloe/pyfma"; license = licenses.mit; - maintainers = with maintainers; [ ]; + maintainers = [ ]; }; } |