evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pysma / default.nix
blob17d120b65e74d5d6846afb1560aa6f0bd745a44e
2   lib,
3   aiohttp,
4   attrs,
5   buildPythonPackage,
6   fetchPypi,
7   jmespath,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "pysma";
13   version = "0.7.5";
14   format = "setuptools";
16   disabled = pythonOlder "3.8";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-zlCGEcG5tmgEXhSMDLKj0/imT1iHBqlp1O1QhmPrJcA=";
21   };
23   propagatedBuildInputs = [
24     aiohttp
25     attrs
26     jmespath
27   ];
29   # pypi does not contain tests and GitHub archive not available
30   doCheck = false;
32   pythonImportsCheck = [ "pysma" ];
34   meta = with lib; {
35     description = "Python library for interacting with SMA Solar's WebConnect";
36     homepage = "https://github.com/kellerza/pysma";
37     license = with licenses; [ mit ];
38     maintainers = with maintainers; [ fab ];
39   };