3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #278804 from presto8/python-pyemvue

python3Packages.pyemvue: init at 0.18.0
This commit is contained in:
Martin Weinelt 2024-02-02 12:18:32 +01:00 committed by GitHub
commit 6b29a1034f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 60 additions and 0 deletions

View file

@ -15191,6 +15191,16 @@
githubId = 11898437;
name = "Florian Ströger";
};
presto8 = {
name = "Preston Hunt";
email = "me@prestonhunt.com";
matrix = "@presto8:matrix.org";
github = "presto8";
githubId = 246631;
keys = [{
fingerprint = "3E46 7EF1 54AA A1D0 C7DF A694 E45C B17F 1940 CA52";
}];
};
priegger = {
email = "philipp@riegger.name";
github = "priegger";

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

@ -10424,6 +10424,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;
};