blob: 43cd5870166382a501f73332b65d1957e1664caa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pdm-backend,
pydantic,
requests,
}:
buildPythonPackage rec {
pname = "pyaussiebb";
version = "0.1.6";
pyproject = true;
src = fetchFromGitHub {
owner = "yaleman";
repo = "aussiebb";
tag = "v${version}";
hash = "sha256-GD04Bq+uJs2JuTjtnGh6QKD4uFXwmGcOMB1Hu9yBlkI=";
};
build-system = [ pdm-backend ];
dependencies = [
aiohttp
requests
pydantic
];
# Tests require credentials and requests-testing
doCheck = false;
pythonImportsCheck = [ "aussiebb" ];
meta = {
description = "Module for interacting with the Aussie Broadband APIs";
homepage = "https://github.com/yaleman/aussiebb";
changelog = "https://github.com/yaleman/pyaussiebb/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|