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