1{
2 lib,
3 requests,
4 buildPythonPackage,
5 fetchFromGitHub,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "bizkaibus";
11 version = "0.1.4";
12 format = "setuptools";
13 disabled = pythonOlder "3.6";
14
15 src = fetchFromGitHub {
16 owner = "UgaitzEtxebarria";
17 repo = "BizkaibusRTPI";
18 rev = version;
19 sha256 = "1v7k9fclndb4x9npzhzj68kbrc3lb3wr6cwal2x46ib207593ckr";
20 };
21
22 propagatedBuildInputs = [ requests ];
23
24 # Project has no tests
25 doCheck = false;
26
27 pythonImportsCheck = [ "bizkaibus" ];
28
29 meta = with lib; {
30 description = "Python module to get information about Bizkaibus buses";
31 homepage = "https://github.com/UgaitzEtxebarria/BizkaibusRTPI";
32 license = with licenses; [ mit ];
33 maintainers = with maintainers; [ fab ];
34 };
35}