ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / screenlogicpy / default.nix
blobca137888ce7cf50e8639ada7a205bb4db34d2250
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , pytest-asyncio
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "screenlogicpy";
11   version = "0.5.5";
12   format = "setuptools";
14   disabled = pythonOlder "3.6";
16   src = fetchFromGitHub {
17     owner = "dieselrabbit";
18     repo = pname;
19     rev = "refs/tags/v${version}";
20     sha256 = "sha256-1tBr7k7RutCHvea/56J7drl9P+WZ5bQpDeQwhgktc1s=";
21   };
23   checkInputs = [
24     pytest-asyncio
25     pytestCheckHook
26   ];
28   disabledTests = [
29     # Tests require network access
30     "test_gateway_discovery"
31     "test_async_discovery"
32     "test_gateway"
33     "test_async"
34     "test_asyncio_gateway_discovery"
35   ];
37   pythonImportsCheck = [
38     "screenlogicpy"
39   ];
41   meta = with lib; {
42     description = "Python interface for Pentair Screenlogic devices";
43     homepage = "https://github.com/dieselrabbit/screenlogicpy";
44     license = with licenses; [ gpl3Only ];
45     maintainers = with maintainers; [ fab ];
46   };