blob: 336be72a9239aea7f77fd866c27d62ada951ba7a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pexpect
, python-slugify
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyruckus";
version = "0.16";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "gabe565";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "sha256-SVE5BrCCQgCrhOC0CSGgbZ9TEY3iZ9Rp/xMUShPAxxM=";
};
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 ];
};
}
|