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