diff options
author | Preston Hunt <me@prestonhunt.com> | 2024-01-04 13:20:50 -0800 |
---|---|---|
committer | Preston Hunt <me@prestonhunt.com> | 2024-02-01 20:06:51 -0800 |
commit | 0740d47320a775c677cd01a8dc02d9f7fc09a796 (patch) | |
tree | f3916b5e86afda31466789c55b92a4933ad7604b | |
parent | 16c2c8985d26e208dd244695d5e974653ae2e6de (diff) | |
download | nixlib-0740d47320a775c677cd01a8dc02d9f7fc09a796.tar nixlib-0740d47320a775c677cd01a8dc02d9f7fc09a796.tar.gz nixlib-0740d47320a775c677cd01a8dc02d9f7fc09a796.tar.bz2 nixlib-0740d47320a775c677cd01a8dc02d9f7fc09a796.tar.lz nixlib-0740d47320a775c677cd01a8dc02d9f7fc09a796.tar.xz nixlib-0740d47320a775c677cd01a8dc02d9f7fc09a796.tar.zst nixlib-0740d47320a775c677cd01a8dc02d9f7fc09a796.zip |
python3Packages.pyemvue: init at 0.18.0
-rw-r--r-- | pkgs/development/python-modules/pyemvue/default.nix | 48 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyemvue/default.nix b/pkgs/development/python-modules/pyemvue/default.nix new file mode 100644 index 000000000000..d8502aaf4333 --- /dev/null +++ b/pkgs/development/python-modules/pyemvue/default.nix @@ -0,0 +1,48 @@ +{ lib +, buildPythonPackage +, fetchPypi + +# build-system +, hatchling + +# propagated modules +, requests +, python-dateutil +, pycognito +, typing-extensions +}: + +buildPythonPackage rec { + pname = "pyemvue"; + version = "0.18.0"; + pyproject = true; + + src = fetchPypi { + inherit pname version; + hash = "sha256-s1Uuoiog3OkqOb6PSTqh79vgyLDGFIuZMCyQKH+qG3g="; + }; + + nativeBuildInputs = [ + hatchling + ]; + + propagatedBuildInputs = [ + requests + python-dateutil + pycognito + typing-extensions + ]; + + pythonImportsCheck = [ "pyemvue" ]; + + # has no tests + doCheck = false; + + meta = with lib; { + changelog = "https://github.com/magico13/PyEmVue/releases/tag/v${version}"; + description = "A Python library for reading data from the Emporia Vue energy monitoring system"; + homepage = "https://github.com/magico13/PyEmVue"; + license = licenses.mit; + maintainers = with maintainers; [ presto8 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8e9d3caef1c7..4374c34a17e0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10326,6 +10326,8 @@ self: super: with self; { pyemd = callPackage ../development/python-modules/pyemd { }; + pyemvue = callPackage ../development/python-modules/pyemvue { }; + pyenchant = callPackage ../development/python-modules/pyenchant { inherit (pkgs) enchant2; }; |