summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pybbox/default.nix
blob: d8ed3794d97c93d6174db027b4098cd2ea661481 (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
34
35
36
37
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  netaddr,
  requests,
}:

buildPythonPackage rec {
  pname = "pybbox";
  version = "0.0.5-alpha";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "HydrelioxGitHub";
    repo = "pybbox";
    rev = version;
    hash = "sha256-xealTlH/rMlqEnENZXq0/EVDlF8lc/B8qeUmQPM6fUc=";
  };

  propagatedBuildInputs = [
    netaddr
    requests
  ];

  # Tests are incomplete and contain failing tests
  doCheck = false;

  pythonImportsCheck = [ "pybbox" ];

  meta = {
    description = "Python library for the Bouygues BBox Routeur API";
    homepage = "https://github.com/HydrelioxGitHub/pybbox";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}