sgrep: drop (#407993)

authored by

K900 and committed by
GitHub
6de61eeb 0d3cc1fe

+1 -48
-48
pkgs/by-name/sg/sgrep/package.nix
··· 1 - { 2 - stdenv, 3 - sgrep, 4 - fetchurl, 5 - runCommand, 6 - lib, 7 - m4, 8 - makeWrapper, 9 - }: 10 - 11 - stdenv.mkDerivation rec { 12 - pname = "sgrep"; 13 - version = "1.94a"; 14 - 15 - src = fetchurl { 16 - url = "https://www.cs.helsinki.fi/pub/Software/Local/Sgrep/sgrep-${version}.tar.gz"; 17 - sha256 = "sha256-1bFkeOOrRHNeJCg9LYldLJyAE5yVIo3zvbKsRGOV+vk="; 18 - }; 19 - 20 - nativeBuildInputs = [ makeWrapper ]; 21 - 22 - postInstall = '' 23 - wrapProgram $out/bin/sgrep \ 24 - --prefix PATH : ${lib.makeBinPath [ m4 ]} 25 - ''; 26 - 27 - passthru.tests.smokeTest = runCommand "test-sgrep" { } '' 28 - expr='"<foo>" __ "</foo>"' 29 - data="<foo>1</foo><bar>2</bar>" 30 - ${sgrep}/bin/sgrep "$expr" <<<$data >$out 31 - read result <$out 32 - [[ $result = 1 ]] 33 - ''; 34 - 35 - meta = with lib; { 36 - homepage = "https://www.cs.helsinki.fi/u/jjaakkol/sgrep.html"; 37 - description = "Grep for structured text formats such as XML"; 38 - mainProgram = "sgrep"; 39 - longDescription = '' 40 - sgrep (structured grep) is a tool for searching and indexing text, 41 - SGML, XML and HTML files and filtering text streams using 42 - structural criteria. 43 - ''; 44 - platforms = platforms.unix; 45 - license = licenses.gpl2Plus; 46 - maintainers = with maintainers; [ eigengrau ]; 47 - }; 48 - }
+1
pkgs/top-level/aliases.nix
··· 1687 1687 session-desktop-appimage = session-desktop; 1688 1688 sequoia = sequoia-sq; # Added 2023-06-26 1689 1689 sexp = sexpp; # Added 2023-07-03 1690 + sgrep = throw "'sgrep' has been removed as it was unmaintained upstream since 1998 and broken with gcc 14"; # Added 2025-05-17 1690 1691 shallot = throw "'shallot' has been removed as it is broken and the upstream repository was removed. Consider using 'mkp224o'"; # Added 2025-03-16 1691 1692 inherit (libsForQt5.mauiPackages) shelf; # added 2022-05-17 1692 1693 shell-hist = throw "'shell-hist' has been removed due to lack of upstream maintenance"; # Added 2025-01-25