Merge pull request #158052 from fabaff/pyqvrpro
This commit is contained in:
commit
15e73b068e
3 changed files with 50 additions and 1 deletions
47
pkgs/development/python-modules/pyqvrpro/default.nix
Normal file
47
pkgs/development/python-modules/pyqvrpro/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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; [ ];
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue