commit 4c40a3f3f0c3a10c99d5becb29ee5e1adae233a2 parent 7dc44895c7e7c9665d138669835938ef949dae99 Author: Nikolay Korotkiy <sikmir@disroot.org> Date: Wed, 14 Sep 2022 10:07:13 +0300 Move json2tsv to nixpkgs Diffstat:
M | pkgs/default.nix | | | 1 | - |
D | pkgs/suckless/json2tsv/default.nix | | | 28 | ---------------------------- |
2 files changed, 0 insertions(+), 29 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -427,7 +427,6 @@ lib.makeScope newScope ( ffshot = callPackage ./suckless/ffshot { }; hurl = callPackage ./suckless/hurl { }; imscript = callPackage ./suckless/imscript { }; - json2tsv = callPackage ./suckless/json2tsv { }; kilo = callPackage ./suckless/kilo { }; lacc = callPackage ./suckless/lacc { }; lbm = callPackage ./suckless/lbm { }; diff --git a/pkgs/suckless/json2tsv/default.nix b/pkgs/suckless/json2tsv/default.nix @@ -1,28 +0,0 @@ -{ lib, stdenv, fetchgit }: - -stdenv.mkDerivation rec { - pname = "json2tsv"; - version = "1.0"; - - src = fetchgit { - url = "git://git.codemadness.org/json2tsv"; - rev = version; - hash = "sha256-xYF+qYyjz0kzOnez1pMwJKnlx0UCYlXZJEpjwdSqhhk="; - }; - - postPatch = '' - substituteInPlace jaq --replace "json2tsv" "$out/bin/json2tsv" - ''; - - makeFlags = [ "RANLIB:=$(RANLIB)" ]; - - installFlags = [ "PREFIX=$(out)" ]; - - meta = with lib; { - description = "JSON to TSV converter"; - homepage = "https://git.codemadness.org/json2tsv/file/README.html"; - license = licenses.isc; - maintainers = [ maintainers.sikmir ]; - platforms = platforms.unix; - }; -}