Merge pull request #146876 from fabaff/pyskyqhub
python3Packages.pyskyqhub: init at 0.1.4
This commit is contained in:
commit
ef40e38366
3 changed files with 42 additions and 1 deletions
39
pkgs/development/python-modules/pyskyqhub/default.nix
Normal file
39
pkgs/development/python-modules/pyskyqhub/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 ];
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue