mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
python3Packages.envoy-reader: init at 0.19.0
This commit is contained in:
parent
68c618cba3
commit
223f02380c
46
pkgs/development/python-modules/envoy-reader/default.nix
Normal file
46
pkgs/development/python-modules/envoy-reader/default.nix
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, httpx
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytest-raises
|
||||||
|
, pytest-runner
|
||||||
|
, pytestCheckHook
|
||||||
|
, respx
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "envoy-reader";
|
||||||
|
version = "0.19.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "jesserizzo";
|
||||||
|
repo = "envoy_reader";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0jyrgm7dc6k66c94gadc69a6xsv2b48wn3b3rbpwgbssi5s7iiz6";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pytest-runner
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
httpx
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest-raises
|
||||||
|
pytest-asyncio
|
||||||
|
pytestCheckHook
|
||||||
|
respx
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "envoy_reader" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python module to read from Enphase Envoy units";
|
||||||
|
homepage = "https://github.com/jesserizzo/envoy_reader";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2193,6 +2193,8 @@ in {
|
||||||
|
|
||||||
envs = callPackage ../development/python-modules/envs { };
|
envs = callPackage ../development/python-modules/envs { };
|
||||||
|
|
||||||
|
envoy-reader = callPackage ../development/python-modules/envoy-reader { };
|
||||||
|
|
||||||
enzyme = callPackage ../development/python-modules/enzyme { };
|
enzyme = callPackage ../development/python-modules/enzyme { };
|
||||||
|
|
||||||
epc = callPackage ../development/python-modules/epc { };
|
epc = callPackage ../development/python-modules/epc { };
|
||||||
|
|
Loading…
Reference in a new issue