Merge pull request #148700 from fabaff/pyskyqremote

python3Packages.pyskyqremote: init at 0.2.49
This commit is contained in:
Fabian Affolter 2021-12-09 09:11:44 +01:00 committed by GitHub
commit e3f56e1f7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pycountry
, pythonOlder
, requests
, websocket-client
, xmltodict
}:
buildPythonPackage rec {
pname = "pyskyqremote";
version = "0.2.49";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "RogerSelwyn";
repo = "skyq_remote";
rev = version;
sha256 = "sha256-Xhr+p/kIp3Sm7swqCsjXHaECntwJnBLyGlcSg2lsxZc=";
};
propagatedBuildInputs = [
pycountry
requests
websocket-client
xmltodict
];
# Project has no tests, only a test script which looks like anusage example
doCheck = false;
pythonImportsCheck = [
"pyskyqremote"
];
meta = with lib; {
description = "Python module for accessing SkyQ boxes";
homepage = "https://github.com/RogerSelwyn/skyq_remote";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -5879,6 +5879,8 @@ in {
pyskyqhub = callPackage ../development/python-modules/pyskyqhub { };
pyskyqremote = callPackage ../development/python-modules/pyskyqremote { };
pysolcast = callPackage ../development/python-modules/pysolcast { };
pysyncthru = callPackage ../development/python-modules/pysyncthru { };