diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-05-22 16:01:06 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-05-22 17:32:03 +0200 |
commit | 59b1aef59071cae6e87859dc65de973d2cc595c0 (patch) | |
tree | 18c3aaf31188cb7430359a1bb130d637a363351e /pkgs/development/python-modules/gfal2-python/default.nix | |
parent | 691216eca3d0ce5ad6ac10562e75910fa02415b0 (diff) |
python3Packages: format with nixfmt
Diffstat (limited to 'pkgs/development/python-modules/gfal2-python/default.nix')
-rw-r--r-- | pkgs/development/python-modules/gfal2-python/default.nix | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/pkgs/development/python-modules/gfal2-python/default.nix b/pkgs/development/python-modules/gfal2-python/default.nix index d9ffbe8a23e7c..52cb5ad1b2274 100644 --- a/pkgs/development/python-modules/gfal2-python/default.nix +++ b/pkgs/development/python-modules/gfal2-python/default.nix @@ -1,14 +1,15 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, cmake -, pkg-config -, boost -, gfal2 -, glib -, pythonAtLeast +{ + lib, + buildPythonPackage, + fetchFromGitHub, + cmake, + pkg-config, + boost, + gfal2, + glib, + pythonAtLeast, # For tests -, gfal2-util ? null + gfal2-util ? null, }: buildPythonPackage rec { pname = "gfal2-python"; @@ -31,15 +32,12 @@ buildPythonPackage rec { # We don't want setup.py to (re-)execute cmake in buildPhase # Besides, this package is totally handled by CMake, which means no additional configuration is needed. dontConfigure = true; - pythonImportsCheck = [ - "gfal2" - ]; + pythonImportsCheck = [ "gfal2" ]; passthru = { inherit gfal2; tests = { inherit gfal2-util; - } - // lib.optionalAttrs (gfal2-util != null) gfal2-util.tests or { }; + } // lib.optionalAttrs (gfal2-util != null) gfal2-util.tests or { }; }; meta = with lib; { description = "Python binding for gfal2"; |