1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchFromGitHub,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "auroranoaa";
11 version = "0.0.3";
12 format = "setuptools";
13 disabled = pythonOlder "3.6";
14
15 src = fetchFromGitHub {
16 owner = "djtimca";
17 repo = "aurora-api";
18 rev = version;
19 hash = "sha256-ho0O5aEHCKaTuWh2eW2kY5a7dVGIGBLm4nKxAMq0bZ4=";
20 };
21
22 propagatedBuildInputs = [ aiohttp ];
23
24 # Project has no tests
25 doCheck = false;
26 pythonImportsCheck = [ "auroranoaa" ];
27
28 meta = with lib; {
29 description = "Python wrapper for the Aurora API";
30 homepage = "https://github.com/djtimca/aurora-api";
31 license = with licenses; [ asl20 ];
32 maintainers = with maintainers; [ fab ];
33 };
34}