Merge pull request #118935 from fabaff/pyruckus

This commit is contained in:
Sandro 2021-04-12 01:15:12 +02:00 committed by GitHub
commit 92433bd94c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 1 deletions

View file

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pexpect
, python-slugify
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyruckus";
version = "0.14";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "gabe565";
repo = pname;
rev = version;
sha256 = "069asvx7g2gywpmid0cbf84mlzhgha4yqd47y09syz09zgv34a36";
};
propagatedBuildInputs = [
pexpect
python-slugify
];
# Tests requires network features
doCheck = false;
pythonImportsCheck = [ "pyruckus" ];
meta = with lib; {
description = "Python client for Ruckus Unleashed";
homepage = "https://github.com/gabe565/pyruckus";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -705,7 +705,7 @@
"rpi_rf" = ps: with ps; [ ]; # missing inputs: rpi-rf
"rss_feed_template" = ps: with ps; [ aiohttp-cors ];
"rtorrent" = ps: with ps; [ ];
"ruckus_unleashed" = ps: with ps; [ ]; # missing inputs: pyruckus
"ruckus_unleashed" = ps: with ps; [ pyruckus ];
"russound_rio" = ps: with ps; [ ]; # missing inputs: russound_rio
"russound_rnet" = ps: with ps; [ ]; # missing inputs: russound
"sabnzbd" = ps: with ps; [ aiohttp-cors netdisco zeroconf ]; # missing inputs: pysabnzbd

View file

@ -6313,6 +6313,8 @@ in {
pyrtlsdr = callPackage ../development/python-modules/pyrtlsdr { };
pyruckus = callPackage ../development/python-modules/pyruckus { };
pysam = callPackage ../development/python-modules/pysam { };
pysaml2 = callPackage ../development/python-modules/pysaml2 {