1{
2 lib,
3 aiohttp,
4 attrs,
5 buildPythonPackage,
6 fetchFromGitHub,
7 pythonOlder,
8}:
9
10buildPythonPackage rec {
11 pname = "eternalegypt";
12 version = "0.0.16";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.8";
16
17 src = fetchFromGitHub {
18 owner = "amelchio";
19 repo = "eternalegypt";
20 tag = "v${version}";
21 hash = "sha256-ubKepd3yBaoYrIUe5WCt1zd4CjvU7SeftOR+2cBaEf0=";
22 };
23
24 propagatedBuildInputs = [
25 aiohttp
26 attrs
27 ];
28
29 # Project has no tests
30 doCheck = false;
31
32 pythonImportsCheck = [ "eternalegypt" ];
33
34 meta = with lib; {
35 description = "Python API for Netgear LTE modems";
36 homepage = "https://github.com/amelchio/eternalegypt";
37 changelog = "https://github.com/amelchio/eternalegypt/releases/tag/v${version}";
38 license = with licenses; [ mit ];
39 maintainers = with maintainers; [ fab ];
40 };
41}