Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyskyqremote / default.nix
blob27be3381ae4fa9c62088a2652e06e33fafca9fb4
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , requests
6 , websocket-client
7 , xmltodict
8 }:
10 buildPythonPackage rec {
11   pname = "pyskyqremote";
12   version = "0.3.26";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "RogerSelwyn";
19     repo = "skyq_remote";
20     rev = "refs/tags/${version}";
21     hash = "sha256-aMgUwgKHgR+NQvRxiUV7GaXehjDIlJJJHwSmHDmzK08=";
22   };
24   propagatedBuildInputs = [
25     requests
26     websocket-client
27     xmltodict
28   ];
30   # Project has no tests, only a test script which looks like anusage example
31   doCheck = false;
33   pythonImportsCheck = [
34     "pyskyqremote"
35   ];
37   meta = with lib; {
38     description = "Python module for accessing SkyQ boxes";
39     homepage = "https://github.com/RogerSelwyn/skyq_remote";
40     changelog = "https://github.com/RogerSelwyn/skyq_remote/releases/tag/${version}";
41     license = with licenses; [ mit ];
42     maintainers = with maintainers; [ fab ];
43   };