Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / aiohwenergy / default.nix
blobfb4d89adab51d60624acc25966e8288f94a6625f
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "aiohwenergy";
11   version = "0.8.0";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "DCSBL";
18     repo = pname;
19     rev = version;
20     hash = "sha256-WfkwIxyDzLNzhWNWST/V3iN9Bhu2oXDwGiA5UXCq5ho=";
21   };
23   propagatedBuildInputs = [
24     aiohttp
25   ];
27   # Project has no tests
28   doCheck = false;
30   pythonImportsCheck = [
31     "aiohwenergy"
32   ];
34   meta = with lib; {
35     description = "Python library to interact with the HomeWizard Energy devices API";
36     homepage = "https://github.com/DCSBL/aiohwenergy";
37     license = licenses.asl20;
38     maintainers = with maintainers; [ fab ];
39   };