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