jsawk: remove

Upstream is dead and unmaintained since it was introduced in nixpkgs.
This commit is contained in:
Franz Pletz 2024-08-07 01:28:00 +02:00
parent 186194d87c
commit 686fce8780
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4
3 changed files with 1 additions and 31 deletions

View File

@ -1,29 +0,0 @@
{ lib, stdenv, fetchFromGitHub, makeWrapper, spidermonkey_102 }:
stdenv.mkDerivation {
pname = "jsawk";
version = "1.5-pre";
src = fetchFromGitHub {
owner = "micha";
repo = "jsawk";
rev = "5a14c4af3c7b59807701b70a954ecefc6f77e978";
sha256 = "0z3vdr3c8nvdrrxkjv9b4xg47mdb2hsknxpimw6shgwbigihapyr";
};
dontBuild = true;
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin
cp $src/jsawk $out/bin/
wrapProgram $out/bin/jsawk \
--prefix PATH : "${spidermonkey_102}/bin"
'';
meta = {
description = "Like awk, but for JSON";
mainProgram = "jsawk";
homepage = "https://github.com/micha/jsawk";
license = lib.licenses.publicDomain;
maintainers = with lib.maintainers; [ puffnfresh ];
platforms = lib.platforms.unix;
};
}

View File

@ -689,6 +689,7 @@ mapAliases ({
jfbview = throw "'jfbview' has been removed, because it depends on an outdated and insecure version of mupdf"; # Added 2023-06-27
jira-cli = throw "jira-cli was removed because it is no longer maintained"; # Added 2023-02-28
join-desktop = throw "'join-desktop' has been removed because it is unmaintained upstream"; # Added 2023-10-04
jsawk = throw "'jsawk' has been removed because it is unmaintained upstream"; # Added 2028-08-07
# Julia
julia_18 = throw "'julia_18' has been removed from nixpkgs as it has reached end of life"; # Added 2024-01-11

View File

@ -9221,8 +9221,6 @@ with pkgs;
jrnl = callPackage ../applications/misc/jrnl { };
jsawk = callPackage ../tools/text/jsawk { };
jsbeautifier = with python3Packages; toPythonApplication jsbeautifier;
jscoverage = callPackage ../development/tools/misc/jscoverage { };