tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
python3Package.pyowm: foramt with nixfmt
Fabian Affolter
2 years ago
52166c45
1feeea57
+17
-28
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
pyowm
default.nix
+17
-28
pkgs/development/python-modules/pyowm/default.nix
···
1
1
-
{ lib
2
2
-
, buildPythonPackage
3
3
-
, fetchFromGitHub
4
4
-
, geojson
5
5
-
, pysocks
6
6
-
, pythonOlder
7
7
-
, requests
8
8
-
, setuptools
9
9
-
, pytestCheckHook
10
10
-
, pythonRelaxDepsHook
1
1
+
{
2
2
+
lib,
3
3
+
buildPythonPackage,
4
4
+
fetchFromGitHub,
5
5
+
geojson,
6
6
+
pysocks,
7
7
+
pythonOlder,
8
8
+
requests,
9
9
+
setuptools,
10
10
+
pytestCheckHook,
11
11
+
pythonRelaxDepsHook,
11
12
}:
12
13
13
14
buildPythonPackage rec {
···
24
25
hash = "sha256-cSOhm3aDksLBChZzgw1gjUjLQkElR2/xGFMOb9K9RME=";
25
26
};
26
27
27
27
-
pythonRelaxDeps = [
28
28
-
"geojson"
29
29
-
];
28
28
+
pythonRelaxDeps = [ "geojson" ];
30
29
31
31
-
build-system = [
32
32
-
setuptools
33
33
-
];
30
30
+
build-system = [ setuptools ];
34
31
35
35
-
nativeBuildInputs = [
36
36
-
pythonRelaxDepsHook
37
37
-
];
32
32
+
nativeBuildInputs = [ pythonRelaxDepsHook ];
38
33
39
34
dependencies = [
40
35
geojson
···
43
38
setuptools
44
39
];
45
40
46
46
-
nativeCheckInputs = [
47
47
-
pytestCheckHook
48
48
-
];
41
41
+
nativeCheckInputs = [ pytestCheckHook ];
49
42
50
43
# Run only tests which don't require network access
51
51
-
pytestFlagsArray = [
52
52
-
"tests/unit"
53
53
-
];
44
44
+
pytestFlagsArray = [ "tests/unit" ];
54
45
55
55
-
pythonImportsCheck = [
56
56
-
"pyowm"
57
57
-
];
46
46
+
pythonImportsCheck = [ "pyowm" ];
58
47
59
48
meta = with lib; {
60
49
description = "Python wrapper around the OpenWeatherMap web API";