mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
python3Packages.pyemvue: init at 0.18.0
This commit is contained in:
parent
16c2c8985d
commit
0740d47320
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 ];
|
||||
};
|
||||
}
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user