evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / aurorapy / default.nix
blobdbfa6a226b9a245ec1c0f0a455a394460268ede0
2   lib,
3   buildPythonPackage,
4   fetchFromGitLab,
5   future,
6   pyserial,
7   pytestCheckHook,
8   pythonOlder,
9   setuptools,
10   six,
13 buildPythonPackage rec {
14   pname = "aurorapy";
15   version = "0.2.7";
16   format = "pyproject";
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitLab {
21     owner = "energievalsabbia";
22     repo = pname;
23     rev = version;
24     hash = "sha256-rGwfGq3zdoG9NCGqVN29Q4bWApk5B6CRdsW9ctWgOec=";
25   };
27   nativeBuildInputs = [ setuptools ];
29   propagatedBuildInputs = [
30     future
31     pyserial
32   ];
34   nativeCheckInputs = [
35     pytestCheckHook
36     six
37   ];
39   pythonImportsCheck = [ "aurorapy" ];
41   meta = with lib; {
42     description = "Implementation of the communication protocol for Power-One Aurora inverters";
43     homepage = "https://gitlab.com/energievalsabbia/aurorapy";
44     license = with licenses; [ mit ];
45     maintainers = with maintainers; [ fab ];
46   };