anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / pyemvue / default.nix
blobc2b6ac4d22ce017a1f0eb108aa1b7101c8bbfcef
2   lib,
3   buildPythonPackage,
4   fetchPypi,
6   # build-system
7   hatchling,
9   # propagated modules
10   requests,
11   python-dateutil,
12   pycognito,
13   typing-extensions,
16 buildPythonPackage rec {
17   pname = "pyemvue";
18   version = "0.18.6";
19   pyproject = true;
21   src = fetchPypi {
22     inherit pname version;
23     hash = "sha256-FQ34pKRK1HDLoupMDfVaNxAhn1HbZHYi6se4ewlUWGA=";
24   };
26   nativeBuildInputs = [ hatchling ];
28   propagatedBuildInputs = [
29     requests
30     python-dateutil
31     pycognito
32     typing-extensions
33   ];
35   pythonImportsCheck = [ "pyemvue" ];
37   # has no tests
38   doCheck = false;
40   meta = with lib; {
41     changelog = "https://github.com/magico13/PyEmVue/releases/tag/v${version}";
42     description = "Python library for reading data from the Emporia Vue energy monitoring system";
43     homepage = "https://github.com/magico13/PyEmVue";
44     license = licenses.mit;
45     maintainers = with maintainers; [ presto8 ];
46   };