Merge pull request #146876 from fabaff/pyskyqhub

python3Packages.pyskyqhub: init at 0.1.4
This commit is contained in:
Fabian Affolter 2021-11-22 09:44:40 +01:00 committed by GitHub
commit ef40e38366
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 42 additions and 1 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

@ -773,7 +773,7 @@
"sinch" = ps: with ps; [ ]; # missing inputs: clx-sdk-xms
"siren" = ps: with ps; [ ];
"sisyphus" = ps: with ps; [ ]; # missing inputs: sisyphus-control
"sky_hub" = ps: with ps; [ ]; # missing inputs: pyskyqhub
"sky_hub" = ps: with ps; [ pyskyqhub ];
"skybeacon" = ps: with ps; [ pygatt ];
"skybell" = ps: with ps; [ skybellpy ];
"slack" = ps: with ps; [ slackclient ];

View file

@ -5815,6 +5815,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 { };