about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2023-09-07 13:38:35 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2023-09-08 10:58:04 +0200
commit4deda2a9c8768ee52ac6ffc262d94bbb46596cab (patch)
treea0f1ceea7f05ca8a0374e87fa276c14bc6866bec
parentb24287dde88c21108880d08bdd5dbc03240bd900 (diff)
downloadnixlib-4deda2a9c8768ee52ac6ffc262d94bbb46596cab.tar
nixlib-4deda2a9c8768ee52ac6ffc262d94bbb46596cab.tar.gz
nixlib-4deda2a9c8768ee52ac6ffc262d94bbb46596cab.tar.bz2
nixlib-4deda2a9c8768ee52ac6ffc262d94bbb46596cab.tar.lz
nixlib-4deda2a9c8768ee52ac6ffc262d94bbb46596cab.tar.xz
nixlib-4deda2a9c8768ee52ac6ffc262d94bbb46596cab.tar.zst
nixlib-4deda2a9c8768ee52ac6ffc262d94bbb46596cab.zip
python310Packages.pyruckus: remove
Depreated in favor of aioruckus, and home-assistant, its only consumer
in nixpkgs, has already moved on.
-rw-r--r--pkgs/development/python-modules/pyruckus/default.nix36
-rw-r--r--pkgs/top-level/python-aliases.nix1
-rw-r--r--pkgs/top-level/python-packages.nix2
3 files changed, 1 insertions, 38 deletions
diff --git a/pkgs/development/python-modules/pyruckus/default.nix b/pkgs/development/python-modules/pyruckus/default.nix
deleted file mode 100644
index d2b896605f7f..000000000000
--- a/pkgs/development/python-modules/pyruckus/default.nix
+++ /dev/null
@@ -1,36 +0,0 @@
-{ 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}";
-    hash = "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 ];
-  };
-}
diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix
index 74a20905a574..d79138fdf3ea 100644
--- a/pkgs/top-level/python-aliases.nix
+++ b/pkgs/top-level/python-aliases.nix
@@ -290,6 +290,7 @@ mapAliases ({
   Pyro4 = pyro4; # added 2023-02-19
   Pyro5 = pyro5; # added 2023-02-19
   PyRSS2Gen = pyrss2gen; # added 2023-02-19
+  pyruckus = throw "pyruckus has been removed, it was deprecrated in favor of aioruckus."; # added 2023-09-07
   pysha3 = throw "pysha3 has been removed, use safe-pysha3 instead"; # added 2023-05-20
   pysmart-smartx = pysmart; # added 2021-10-22
   pysparse = throw "pysparse has been abandoned upstream."; # added 2023-02-28
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index d014c1d19e5c..0de4fb63bb20 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -9845,8 +9845,6 @@ self: super: with self; {
 
   pyrtlsdr = callPackage ../development/python-modules/pyrtlsdr { };
 
-  pyruckus = callPackage ../development/python-modules/pyruckus { };
-
   pysaj = callPackage ../development/python-modules/pysaj { };
 
   pysam = callPackage ../development/python-modules/pysam { };