diff options
-rw-r--r-- | nixos/doc/manual/release-notes/rl-2405.section.md | 3 | ||||
-rw-r--r-- | pkgs/development/libraries/optparse-bash/default.nix | 63 | ||||
-rw-r--r-- | pkgs/top-level/aliases.nix | 1 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
4 files changed, 4 insertions, 65 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2405.section.md b/nixos/doc/manual/release-notes/rl-2405.section.md index 89419068742f..e98fb13c3a49 100644 --- a/nixos/doc/manual/release-notes/rl-2405.section.md +++ b/nixos/doc/manual/release-notes/rl-2405.section.md @@ -80,6 +80,9 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m ''; ``` + +- The package `optparse-bash` is now dropped due to upstream inactivity. Alternatives available in Nixpkgs include [`argc`](https://github.com/sigoden/argc), [`argbash`](https://github.com/matejak/argbash), [`bashly`](https://github.com/DannyBen/bashly) and [`gum`](https://github.com/charmbracelet/gum), to name a few. + - The `kanata` package has been updated to v1.5.0, which includes [breaking changes](https://github.com/jtroo/kanata/releases/tag/v1.5.0). - The latest available version of Nextcloud is v28 (available as `pkgs.nextcloud28`). The installation logic is as follows: diff --git a/pkgs/development/libraries/optparse-bash/default.nix b/pkgs/development/libraries/optparse-bash/default.nix deleted file mode 100644 index f14512c5272a..000000000000 --- a/pkgs/development/libraries/optparse-bash/default.nix +++ /dev/null @@ -1,63 +0,0 @@ -{ stdenvNoCC -, lib -, fetchFromGitHub -, bash -, gnused -, gawk -, coreutils -}: - -stdenvNoCC.mkDerivation { - pname = "optparse-bash-unstable"; - version = "2021-06-13"; - - src = fetchFromGitHub { - owner = "nk412"; - repo = "optparse"; - rev = "d86ec17d15368e5b54eb2d47b001b0b61d68bbd0"; - sha256 = "sha256-vs7Jo1+sV0tPse4Wu2xtzSX1IkahwLgO3e4Riz3uMmI="; - }; - - postPatch = '' - substituteInPlace optparse.bash \ - --replace sed "${gnused}/bin/sed" \ - --replace awk "${gawk}/bin/awk" \ - --replace printf "${coreutils}/bin/printf" -''; - - dontBuild = true; - - doCheck = true; - - nativeCheckInputs = [ bash ]; - - # `#!/usr/bin/env` isn't okay for OfBorg - # Need external bash to run - checkPhase = '' - runHook preCheck - bash ./sample_head.sh -v --file README.md - runHook postCheck - ''; - - installPhase = '' - runHook preInstall - mkdir -p $out/bin - mv optparse.bash $out/bin/ - mkdir -p $out/share/doc/optparse-bash - mv README.md sample_head.sh $out/share/doc/optparse-bash/ - runHook postInstall - ''; - - # As example code, - # sample_head.sh shows how users can use opt-parse in their script, - # and its shebang (`/usr/bin/env bash`) should not be patched. - dontPatchShebangs = true; - - meta = with lib; { - description = "A BASH wrapper for getopts, for simple command-line argument parsing"; - homepage = "https://github.com/nk412/optparse"; - license = licenses.mit; - platforms = platforms.all; - maintainers = with maintainers; [ ShamrockLee ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index ce168d038e60..0aead4445f54 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -757,6 +757,7 @@ mapAliases ({ openmpt123 = libopenmpt; # Added 2021-09-05 openssl_3_0 = openssl_3; # Added 2022-06-27 openvpn_24 = throw "openvpn_24 has been removed, because it went EOL. 2.5.x or newer is still available"; # Added 2023-01-23 + optparse-bash = throw "'optparse-bash' (GitHub: nk412/optparse) has been removed. Use 'argparse' instead"; # Added 2024-01-12 orchis = orchis-theme; # Added 2021-06-09 oroborus = throw "oroborus was removed, because it was abandoned years ago."; #Added 2023-09-10 osxfuse = macfuse-stubs; # Added 2021-03-20 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bdfb60fec1fa..5779298eb81a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24413,8 +24413,6 @@ with pkgs; buildPythonPackage buildPythonApplication setuptools pycsdr pydigiham; }; - optparse-bash = callPackage ../development/libraries/optparse-bash { }; - oras = callPackage ../development/tools/oras { }; orcania = callPackage ../development/libraries/orcania { }; |