Merge pull request #278804 from presto8/python-pyemvue
python3Packages.pyemvue: init at 0.18.0
This commit is contained in:
commit
6b29a1034f
3 changed files with 60 additions and 0 deletions
|
@ -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";
|
||||
|
|
48
pkgs/development/python-modules/pyemvue/default.nix
Normal file
48
pkgs/development/python-modules/pyemvue/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue