python3Packages.pyskyqhub: init at 0.1.4

This commit is contained in:
Fabian Affolter 2021-11-21 16:30:59 +01:00
parent 293e6f0ce5
commit 9981890cbc
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyskyqhub";
version = "0.1.4";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "RogerSelwyn";
repo = "skyq_hub";
rev = version;
sha256 = "EVkTvynMPmCr7DPuDqfpMvVPCvpPpJHfqsNjD3tn8zg=";
};
propagatedBuildInputs = [
aiohttp
];
# Tests require phyiscal hardware
doCheck = false;
pythonImportsCheck = [
"pyskyqhub"
];
meta = with lib; {
description = "Python module for accessing SkyQ Hub";
homepage = "https://github.com/RogerSelwyn/skyq_hub";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -5789,6 +5789,8 @@ in {
pysiaalarm = callPackage ../development/python-modules/pysiaalarm { };
pyskyqhub = callPackage ../development/python-modules/pyskyqhub { };
pysyncthru = callPackage ../development/python-modules/pysyncthru { };
python-codon-tables = callPackage ../development/python-modules/python-codon-tables { };