summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/overpy/default.nix
blob: 023e7c1996d4ccff4f6d02c2524f6be8fbb690e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "overpy";
  version = "0.7";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "DinoTools";
    repo = "python-overpy";
    tag = version;
    hash = "sha256-+bMpA4xDvnQl6Q0M2iGrsUHGLuR/gLimJgmZCMzsLvA=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "overpy" ];

  meta = {
    description = "Python Wrapper to access the Overpass API";
    homepage = "https://github.com/DinoTools/python-overpy";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ firefly-cpp ];
  };
}