Merge pull request #113685 from fabaff/pychannels

This commit is contained in:
Sandro 2021-02-20 04:20:53 +01:00 committed by GitHub
commit b0dcc5bb97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "pychannels";
version = "1.2.2";
src = fetchFromGitHub {
owner = "fancybits";
repo = pname;
rev = version;
sha256 = "0dqc0vhf6c5r3g7nfbpa668x6z2zxrznk6h907s6sxkq4sbqnhqf";
};
propagatedBuildInputs = [ requests ];
# Project has not published tests yet
doCheck = false;
pythonImportsCheck = [ "pychannels" ];
meta = with lib; {
description = "Python library for interacting with the Channels app";
homepage = "https://github.com/fancybits/pychannels";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -110,7 +110,7 @@
"canary" = ps: with ps; [ ha-ffmpeg ]; # missing inputs: py-canary
"cast" = ps: with ps; [ aiohttp-cors hass-nabucasa mutagen plexapi plexauth plexwebsocket PyChromecast zeroconf ];
"cert_expiry" = ps: with ps; [ ];
"channels" = ps: with ps; [ ]; # missing inputs: pychannels
"channels" = ps: with ps; [ pychannels ];
"circuit" = ps: with ps; [ ]; # missing inputs: circuit-webhook
"cisco_ios" = ps: with ps; [ pexpect ];
"cisco_mobility_express" = ps: with ps; [ ciscomobilityexpress ];

View File

@ -5313,6 +5313,8 @@ in {
pycfdns = callPackage ../development/python-modules/pycfdns { };
pychannels = callPackage ../development/python-modules/pychannels { };
pychart = callPackage ../development/python-modules/pychart { };
pychef = callPackage ../development/python-modules/pychef { };