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

python3Package.pyowm: foramt with nixfmt

+17 -28
+17 -28
pkgs/development/python-modules/pyowm/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchFromGitHub 4 - , geojson 5 - , pysocks 6 - , pythonOlder 7 - , requests 8 - , setuptools 9 - , pytestCheckHook 10 - , pythonRelaxDepsHook 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + geojson, 6 + pysocks, 7 + pythonOlder, 8 + requests, 9 + setuptools, 10 + pytestCheckHook, 11 + pythonRelaxDepsHook, 11 12 }: 12 13 13 14 buildPythonPackage rec { ··· 24 25 hash = "sha256-cSOhm3aDksLBChZzgw1gjUjLQkElR2/xGFMOb9K9RME="; 25 26 }; 26 27 27 - pythonRelaxDeps = [ 28 - "geojson" 29 - ]; 28 + pythonRelaxDeps = [ "geojson" ]; 30 29 31 - build-system = [ 32 - setuptools 33 - ]; 30 + build-system = [ setuptools ]; 34 31 35 - nativeBuildInputs = [ 36 - pythonRelaxDepsHook 37 - ]; 32 + nativeBuildInputs = [ pythonRelaxDepsHook ]; 38 33 39 34 dependencies = [ 40 35 geojson ··· 43 38 setuptools 44 39 ]; 45 40 46 - nativeCheckInputs = [ 47 - pytestCheckHook 48 - ]; 41 + nativeCheckInputs = [ pytestCheckHook ]; 49 42 50 43 # Run only tests which don't require network access 51 - pytestFlagsArray = [ 52 - "tests/unit" 53 - ]; 44 + pytestFlagsArray = [ "tests/unit" ]; 54 45 55 - pythonImportsCheck = [ 56 - "pyowm" 57 - ]; 46 + pythonImportsCheck = [ "pyowm" ]; 58 47 59 48 meta = with lib; { 60 49 description = "Python wrapper around the OpenWeatherMap web API";