tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
python310Packages.overpy: init at 0.6
firefly-cpp
3 years ago
11804e7a
b351e7e7
+47
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
overpy
default.nix
top-level
python-packages.nix
+45
pkgs/development/python-modules/overpy/default.nix
reviewed
···
1
1
+
{ lib
2
2
+
, buildPythonPackage
3
3
+
, fetchFromGitHub
4
4
+
, fetchpatch
5
5
+
, pytestCheckHook
6
6
+
, pythonOlder
7
7
+
}:
8
8
+
9
9
+
buildPythonPackage rec {
10
10
+
pname = "overpy";
11
11
+
version = "0.6";
12
12
+
format = "setuptools";
13
13
+
14
14
+
disabled = pythonOlder "3.7";
15
15
+
16
16
+
src = fetchFromGitHub {
17
17
+
owner = "DinoTools";
18
18
+
repo = "python-overpy";
19
19
+
rev = version;
20
20
+
hash = "sha256-Tl+tzxnPASL4J6D/BYCEWhXe/mI12OVgNT5lyby3s7A=";
21
21
+
};
22
22
+
23
23
+
patches = [
24
24
+
(fetchpatch {
25
25
+
# Remove pytest-runner
26
26
+
url = "https://patch-diff.githubusercontent.com/raw/DinoTools/python-overpy/pull/104.patch";
27
27
+
hash = "sha256-ScS0vd2P+wyQGyCQV6/4cUcqoQ+S07tGpEovuz9oBMw=";
28
28
+
})
29
29
+
];
30
30
+
31
31
+
checkInputs = [
32
32
+
pytestCheckHook
33
33
+
];
34
34
+
35
35
+
pythonImportsCheck = [
36
36
+
"overpy"
37
37
+
];
38
38
+
39
39
+
meta = with lib; {
40
40
+
description = "Python Wrapper to access the Overpass API";
41
41
+
homepage = "https://github.com/DinoTools/python-overpy";
42
42
+
license = licenses.mit;
43
43
+
maintainers = with maintainers; [ firefly-cpp ];
44
44
+
};
45
45
+
}
+2
pkgs/top-level/python-packages.nix
reviewed
···
6784
6784
6785
6785
overly = callPackage ../development/python-modules/overly { };
6786
6786
6787
6787
+
overpy = callPackage ../development/python-modules/overpy { };
6788
6788
+
6787
6789
pandas-stubs = callPackage ../development/python-modules/pandas-stubs { };
6788
6790
6789
6791
parameterizedtestcase = callPackage ../development/python-modules/parameterizedtestcase { };