1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 requests,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "ziggo-mediabox-xl";
11 version = "1.1.0";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "b10m";
16 repo = "ziggo_mediabox_xl";
17 tag = version;
18 hash = "sha256-ElULsHfZXYTZ1cFEdAjhURWGOmJw2uJWMy49whGAV7g=";
19 };
20
21 build-system = [ setuptools ];
22
23 dependencies = [ requests ];
24
25 # Tests require network access
26 doCheck = false;
27
28 pythonImportsCheck = [ "ziggo_mediabox_xl" ];
29
30 meta = {
31 description = "Python interface to Ziggo's Mediabox XL";
32 homepage = "https://github.com/b10m/ziggo_mediabox_xl";
33 changelog = "https://github.com/b10m/ziggo_mediabox_xl/releases/tag/${version}";
34 license = lib.licenses.mit;
35 maintainers = [ lib.maintainers.jamiemagee ];
36 };
37}