Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyemvue / default.nix
blobb6f42daac6208acfad63ec3d038fe44e70489058
1 { lib
2 , buildPythonPackage
3 , fetchPypi
5 # build-system
6 , hatchling
8 # propagated modules
9 , requests
10 , python-dateutil
11 , pycognito
12 , typing-extensions
15 buildPythonPackage rec {
16   pname = "pyemvue";
17   version = "0.18.5";
18   pyproject = true;
20   src = fetchPypi {
21     inherit pname version;
22     hash = "sha256-cgQARaGM6Jb2kEcG7HqPStRPkhHldJ7UbxQpxN6JbZE=";
23   };
25   nativeBuildInputs = [
26     hatchling
27   ];
29   propagatedBuildInputs = [
30     requests
31     python-dateutil
32     pycognito
33     typing-extensions
34   ];
36   pythonImportsCheck = [ "pyemvue" ];
38   # has no tests
39   doCheck = false;
41   meta = with lib; {
42     changelog = "https://github.com/magico13/PyEmVue/releases/tag/v${version}";
43     description = "A Python library for reading data from the Emporia Vue energy monitoring system";
44     homepage = "https://github.com/magico13/PyEmVue";
45     license = licenses.mit;
46     maintainers = with maintainers; [ presto8 ];
47   };