python3Packages.pyemvue: init at 0.18.0

This commit is contained in:
Preston Hunt 2024-01-04 13:20:50 -08:00
parent 16c2c8985d
commit 0740d47320
2 changed files with 50 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -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;
};