Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python312Packages.pystatgrab: format with niixfmt

+20 -23
+20 -23
pkgs/development/python-modules/pystatgrab/default.nix
··· 1 - { lib 2 - , stdenv 3 - , buildPythonPackage 4 - , cython 5 - , fetchFromGitHub 6 - , libstatgrab 7 - , pkg-config 8 - , pythonOlder 9 - , setuptools 10 - , unittestCheckHook 11 - , wheel 12 - , darwin 1 + { 2 + lib, 3 + stdenv, 4 + buildPythonPackage, 5 + cython, 6 + fetchFromGitHub, 7 + libstatgrab, 8 + pkg-config, 9 + pythonOlder, 10 + setuptools, 11 + unittestCheckHook, 12 + wheel, 13 + darwin, 13 14 }: 14 15 15 16 buildPythonPackage rec { ··· 22 23 src = fetchFromGitHub { 23 24 owner = "libstatgrab"; 24 25 repo = "pystatgrab"; 25 - rev = "PYSTATGRAB_${lib.replaceStrings ["."] ["_"] version}"; 26 + rev = "PYSTATGRAB_${lib.replaceStrings [ "." ] [ "_" ] version}"; 26 27 hash = "sha256-0FDhkIK8jy3/SFmCzrl9l4RTeIKDjO0o5UoODx6Wnfs="; 27 28 }; 28 29 ··· 38 39 39 40 buildInputs = [ 40 41 libstatgrab 41 - ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ 42 - IOKit 43 - ]); 42 + ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ IOKit ]); 44 43 45 - nativeCheckInputs = [ 46 - unittestCheckHook 47 - ]; 44 + nativeCheckInputs = [ unittestCheckHook ]; 48 45 49 - pythonImportsCheck = [ 50 - "statgrab" 51 - ]; 46 + pythonImportsCheck = [ "statgrab" ]; 52 47 53 48 meta = with lib; { 54 49 description = "Python bindings for libstatgrab"; 55 50 homepage = "https://github.com/libstatgrab/pystatgrab"; 56 - changelog = "https://github.com/libstatgrab/pystatgrab/blob/PYSTATGRAB_${lib.replaceStrings ["."] ["_"] version}/NEWS"; 51 + changelog = "https://github.com/libstatgrab/pystatgrab/blob/PYSTATGRAB_${ 52 + lib.replaceStrings [ "." ] [ "_" ] version 53 + }/NEWS"; 57 54 license = licenses.lgpl21Only; 58 55 maintainers = with maintainers; [ fab ]; 59 56 };