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