1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 netaddr,
6 requests,
7 pythonOlder,
8}:
9
10buildPythonPackage rec {
11 pname = "pybbox";
12 version = "0.0.5-alpha";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.6";
16
17 src = fetchFromGitHub {
18 owner = "HydrelioxGitHub";
19 repo = "pybbox";
20 rev = version;
21 hash = "sha256-xealTlH/rMlqEnENZXq0/EVDlF8lc/B8qeUmQPM6fUc=";
22 };
23
24 propagatedBuildInputs = [
25 netaddr
26 requests
27 ];
28
29 # Tests are incomplete and contain failing tests
30 doCheck = false;
31
32 pythonImportsCheck = [ "pybbox" ];
33
34 meta = {
35 description = "Python library for the Bouygues BBox Routeur API";
36 homepage = "https://github.com/HydrelioxGitHub/pybbox";
37 license = lib.licenses.mit;
38 maintainers = [ lib.maintainers.jamiemagee ];
39 };
40}