eaf6957cd3
GitOrigin-RevId: 4bb072f0a8b267613c127684e099a70e1f6ff106
39 lines
760 B
Nix
39 lines
760 B
Nix
{ lib
|
|
, aiohttp
|
|
, attrs
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "eternalegypt";
|
|
version = "0.0.15";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "amelchio";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "sha256-CKiv5gVHaEyO9P5x2FKgpSIm2pUiFptaEQVPZHALASk=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
attrs
|
|
];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "eternalegypt" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python API for Netgear LTE modems";
|
|
homepage = "https://github.com/amelchio/eternalegypt";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|