python311Packages.pyads: format with nixfmt

+12 -19
+12 -19
pkgs/development/python-modules/pyads/default.nix
··· 1 - { lib 2 - , adslib 3 - , buildPythonPackage 4 - , fetchFromGitHub 5 - , pytestCheckHook 6 - , pythonOlder 7 - , setuptools 1 + { 2 + lib, 3 + adslib, 4 + buildPythonPackage, 5 + fetchFromGitHub, 6 + pytestCheckHook, 7 + pythonOlder, 8 + setuptools, 8 9 }: 9 10 10 11 buildPythonPackage rec { ··· 21 22 hash = "sha256-HJ/dlRuwFSY5j/mAp6rLMlTV59GFwrTV27n73TWlCUo="; 22 23 }; 23 24 24 - build-system = [ 25 - setuptools 26 - ]; 25 + build-system = [ setuptools ]; 27 26 28 - buildInputs = [ 29 - adslib 30 - ]; 27 + buildInputs = [ adslib ]; 31 28 32 29 patchPhase = '' 33 30 substituteInPlace pyads/pyads_ex.py \ 34 31 --replace-fail "ctypes.CDLL(adslib)" "ctypes.CDLL(\"${adslib}/lib/adslib.so\")" 35 32 ''; 36 33 37 - nativeCheckInputs = [ 38 - pytestCheckHook 39 - ]; 34 + nativeCheckInputs = [ pytestCheckHook ]; 40 35 41 - pythonImportsCheck = [ 42 - "pyads" 43 - ]; 36 + pythonImportsCheck = [ "pyads" ]; 44 37 45 38 meta = with lib; { 46 39 description = "Python wrapper for TwinCAT ADS library";