Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pydaikin / default.nix
blobeb10298374353d88756c1112a40df1c32235f4c5
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchFromBitbucket
5 , freezegun
6 , netifaces
7 , pytest-aiohttp
8 , pytestCheckHook
9 , pythonOlder
10 , urllib3
13 buildPythonPackage rec {
14   pname = "pydaikin";
15   version = "2.11.1";
16   format = "setuptools";
18   disabled = pythonOlder "3.6";
20   src = fetchFromBitbucket {
21     owner = "mustang51";
22     repo = pname;
23     rev = "v${version}";
24     hash = "sha256-IBrd4PH8EzVVVFQtJdJ8bTMLEzfh7MYMe79yuCrhmww=";
25   };
27   propagatedBuildInputs = [
28     aiohttp
29     netifaces
30     urllib3
31   ];
33   doCheck = false; # tests fail and upstream does not seem to run them either
35   nativeCheckInputs = [
36     freezegun
37     pytest-aiohttp
38     pytestCheckHook
39   ];
41   pythonImportsCheck = [
42     "pydaikin"
43   ];
45   meta = with lib; {
46     description = "Python Daikin HVAC appliances interface";
47     homepage = "https://bitbucket.org/mustang51/pydaikin";
48     license = with licenses; [ gpl3Only ];
49     maintainers = with maintainers; [ fab ];
50   };