Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / ovoenergy / default.nix
blobc2d2bea3522261e77489014da4e618c21a2291ea
2   lib,
3   aiohttp,
4   buildPythonPackage,
5   click,
6   fetchFromGitHub,
7   incremental,
8   pythonOlder,
9   setuptools,
10   typer,
13 buildPythonPackage rec {
14   pname = "ovoenergy";
15   version = "2.0.0";
16   pyproject = true;
18   disabled = pythonOlder "3.11";
20   src = fetchFromGitHub {
21     owner = "timmo001";
22     repo = "ovoenergy";
23     rev = "refs/tags/${version}";
24     hash = "sha256-ZcTSf7UejEUqQo0qEXP3fWjZYRx0a3ZBNVkwS2dL3Yk=";
25   };
27   build-system = [ setuptools ];
29   nativeBuildInputs = [ incremental ];
31   dependencies = [
32     aiohttp
33     click
34     typer
35   ];
37   # Project has no tests
38   doCheck = false;
40   pythonImportsCheck = [ "ovoenergy" ];
42   meta = with lib; {
43     description = "Python client for getting data from OVO's API";
44     homepage = "https://github.com/timmo001/ovoenergy";
45     changelog = "https://github.com/timmo001/ovoenergy/releases/tag/${version}";
46     license = licenses.mit;
47     maintainers = with maintainers; [ fab ];
48   };