evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / energyflip-client / default.nix
blobae25755ec26de540642004db24ec70da5fc78dcc
2   lib,
3   aiohttp,
4   async-timeout,
5   buildPythonPackage,
6   fetchFromGitHub,
7   pytest-aiohttp,
8   pytestCheckHook,
9   pythonOlder,
10   yarl,
13 buildPythonPackage rec {
14   pname = "energyflip-client";
15   version = "0.2.2";
16   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "dennisschroer";
22     repo = pname;
23     rev = "refs/tags/v${version}";
24     hash = "sha256-neuZ6pZWW/Rgexu/iCEymjnxi5l/IuLKPFn6S9U4DgU=";
25   };
27   propagatedBuildInputs = [
28     aiohttp
29     async-timeout
30     yarl
31   ];
33   nativeCheckInputs = [
34     pytest-aiohttp
35     pytestCheckHook
36   ];
38   pythonImportsCheck = [ "energyflip" ];
40   meta = with lib; {
41     description = "Library to communicate with the API behind EnergyFlip";
42     homepage = "https://github.com/dennisschroer/energyflip-client";
43     license = licenses.asl20;
44     maintainers = with maintainers; [ fab ];
45   };