1{
2 lib,
3 fetchFromGitHub,
4 buildPythonPackage,
5 setuptools,
6 requests,
7}:
8
9buildPythonPackage rec {
10 pname = "inwx-domrobot";
11 version = "3.2.0";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "inwx";
16 repo = "python-client";
17 tag = "v${version}";
18 hash = "sha256-Nbs3xroJD61NbpaiTdjA3VFxzXIlnqmB1d7SJDj8VN8=";
19 };
20
21 build-system = [ setuptools ];
22
23 dependencies = [ requests ];
24
25 # No tests
26 doCheck = false;
27
28 pythonImportsCheck = [ "INWX" ];
29
30 meta = {
31 description = "INWX Domrobot Python Client";
32 homepage = "https://github.com/inwx/python-client";
33 changelog = "https://github.com/inwx/python-client/releases/tag/${src.tag}";
34 license = lib.licenses.mit;
35 maintainers = [ lib.maintainers.amadejkastelic ];
36 };
37}