From 4552cd2cfaf9114ce1bedde44426e852d02f6d68 Mon Sep 17 00:00:00 2001 From: Felix Scheinost Date: Sun, 8 Sep 2024 19:34:16 +0000 Subject: [PATCH] xlsxgrep: drop Remove xlsxgrep The last update from 0.0.23 to 0.0.29 broke it as it switched from xlrd to pyexcel. I tried switching to pyexcel but pyexcel-xlsx (for .xlsx support - important) isn't packaged yet. I tried packaging it but pyexcel-xlsx doesn't seem to be actively maintained anymore and isn't compatible with the most recent openpyxl version. I also considered downgrading to 0.0.23 but xlrd is unmaintained and recommends openpyxl. --- pkgs/applications/search/xlsxgrep/default.nix | 21 ------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 -- 3 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 pkgs/applications/search/xlsxgrep/default.nix diff --git a/pkgs/applications/search/xlsxgrep/default.nix b/pkgs/applications/search/xlsxgrep/default.nix deleted file mode 100644 index 5c6ea6c54d60..000000000000 --- a/pkgs/applications/search/xlsxgrep/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ lib, python3Packages, fetchPypi }: - -python3Packages.buildPythonApplication rec { - pname = "xlsxgrep"; - version = "0.0.29"; - - src = fetchPypi { - inherit pname version; - sha256 = "sha256-vgHNu7MVDjULoBiTkk74W8ZLJ02eds60XshTX3iLJGI="; - }; - - pythonPath = with python3Packages; [ xlrd ]; - - meta = with lib; { - maintainers = with maintainers; [ felixscheinost ]; - description = "CLI tool to search text in XLSX and XLS files. It works similarly to Unix/GNU Linux grep"; - mainProgram = "xlsxgrep"; - homepage = "https://github.com/zazuum/xlsxgrep"; - license = licenses.mit; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 394335eaee14..0ef43da71631 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1298,6 +1298,7 @@ mapAliases { xenPackages = throw "The attributes in the xenPackages set have been promoted to the top-level. (xenPackages.xen_4_19 -> xen)"; xineLib = throw "'xineLib' has been renamed to/replaced by 'xine-lib'"; # Converted to throw 2024-10-17 xineUI = throw "'xineUI' has been renamed to/replaced by 'xine-ui'"; # Converted to throw 2024-10-17 + xlsxgrep = throw "'xlsxgrep' has been dropped due to lack of maintenance."; # Added 2024-11-01 xmlada = gnatPackages.xmlada; # Added 2024-02-25 xmr-stak = throw "xmr-stak has been removed from nixpkgs because it was broken"; # Added 2024-07-15 xmake-core-sv = throw "'xmake-core-sv' has been removed, use 'libsv' instead"; # Added 2024-10-10 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1d83cf7071a0..98d5c459ee62 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -33507,8 +33507,6 @@ with pkgs; xfractint = callPackage ../applications/graphics/xfractint { }; - xlsxgrep = callPackage ../applications/search/xlsxgrep { }; - xmind = callPackage ../applications/misc/xmind { }; xneur = callPackage ../applications/misc/xneur { };