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