ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pyruckus / default.nix
blob336be72a9239aea7f77fd866c27d62ada951ba7a
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pexpect
5 , python-slugify
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "pyruckus";
11   version = "0.16";
12   disabled = pythonOlder "3.6";
14   src = fetchFromGitHub {
15     owner = "gabe565";
16     repo = pname;
17     rev = "refs/tags/${version}";
18     sha256 = "sha256-SVE5BrCCQgCrhOC0CSGgbZ9TEY3iZ9Rp/xMUShPAxxM=";
19   };
21   propagatedBuildInputs = [
22     pexpect
23     python-slugify
24   ];
26   # Tests requires network features
27   doCheck = false;
28   pythonImportsCheck = [ "pyruckus" ];
30   meta = with lib; {
31     description = "Python client for Ruckus Unleashed";
32     homepage = "https://github.com/gabe565/pyruckus";
33     license = with licenses; [ mit ];
34     maintainers = with maintainers; [ fab ];
35   };