mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
37 lines
732 B
Nix
37 lines
732 B
Nix
{ 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 ];
|
|
};
|
|
}
|