ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / growattserver / default.nix
blob7a7855d291b4fca2c056c762e1a6fd34756270eb
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , requests
6 }:
8 buildPythonPackage rec {
9   pname = "growattserver";
10   version = "1.2.3";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchFromGitHub {
16     owner = "indykoning";
17     repo = "PyPi_GrowattServer";
18     rev = "refs/tags/${version}";
19     hash = "sha256-79/siHqwY3TNFIxodR24TJwsrKapG1GP4u4fIKxdFI4=";
20   };
22   propagatedBuildInputs = [
23     requests
24   ];
26   # Project has no tests
27   doCheck = false;
29   pythonImportsCheck = [
30     "growattServer"
31   ];
33   meta = with lib; {
34     description = "Python package to retrieve information from Growatt units";
35     homepage = "https://github.com/indykoning/PyPi_GrowattServer";
36     license = licenses.mit;
37     maintainers = with maintainers; [ fab ];
38   };