ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / niko-home-control / default.nix
bloba7a696384dfbd64f0a9705a39481b21dbf88a2e3
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , nclib
5 , netaddr
6 , netifaces
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "niko-home-control";
12   version = "0.2.2";
13   format = "setuptools";
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "NoUseFreak";
19     repo = pname;
20     rev = version;
21     sha256 = "0ah02dfnnbk98grvd180fp9rak5gpi58xiql1yyzig5pcbjidvk3";
22   };
24   propagatedBuildInputs = [
25     nclib
26     netaddr
27     netifaces
28   ];
30   # Project has no tests
31   doCheck = false;
33   pythonImportsCheck = [
34     "nikohomecontrol"
35   ];
37   meta = with lib; {
38     description = "Python SDK for Niko Home Control";
39     homepage = "https://github.com/NoUseFreak/niko-home-control";
40     license = with licenses; [ mit ];
41     maintainers = with maintainers; [ fab ];
42   };