Merge pull request #158052 from fabaff/pyqvrpro

This commit is contained in:
Martin Weinelt 2022-02-03 23:47:50 +01:00 committed by GitHub
commit 15e73b068e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 50 additions and 1 deletions

View file

@ -0,0 +1,47 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest-vcr
, pytestCheckHook
, pythonOlder
, pyyaml
, requests
, untangle
}:
buildPythonPackage rec {
pname = "pyqvrpro";
version = "0.52";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "oblogic7";
repo = pname;
rev = "v${version}";
hash = "sha256-lOd2AqnrkexNqT/usmJts5NW7vJtV8CRsliYgkhgRaU=";
};
propagatedBuildInputs = [
pyyaml
requests
untangle
];
checkInputs = [
pytest-vcr
pytestCheckHook
];
pythonImportsCheck = [
"pyqvrpro"
];
meta = with lib; {
description = "Module for interfacing with QVR Pro API";
homepage = "https://github.com/oblogic7/pyqvrpro";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -693,7 +693,7 @@
"qnap" = ps: with ps; [ ]; # missing inputs: qnapstats
"qrcode" = ps: with ps; [ pillow ]; # missing inputs: pyzbar
"quantum_gateway" = ps: with ps; [ quantum-gateway ];
"qvr_pro" = ps: with ps; [ ]; # missing inputs: pyqvrpro
"qvr_pro" = ps: with ps; [ pyqvrpro ];
"qwikswitch" = ps: with ps; [ ]; # missing inputs: pyqwikswitch
"rachio" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa rachiopy ];
"radarr" = ps: with ps; [ ];

View file

@ -7355,6 +7355,8 @@ in {
pyquil = callPackage ../development/python-modules/pyquil { };
pyqvrpro = callPackage ../development/python-modules/pyqvrpro { };
pyrabbit2 = callPackage ../development/python-modules/pyrabbit2 { };
pyrad = callPackage ../development/python-modules/pyrad { };