nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 3cfdfd9b90c82321adbbe0f92f3d69b8629dcdee
parent 2a911695acdf44fbeefbc4e1f2eabe272e9bde1e
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Sat, 21 Aug 2021 16:53:12 +0300

Add json2tsv

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/suckless/json2tsv/default.nix | 22++++++++++++++++++++++
2 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -300,6 +300,7 @@ lib.makeScope newScope ( farbfeld-utils = callPackage ./suckless/farbfeld-utils { }; hurl = callPackage ./suckless/hurl { }; imscript = callPackage ./suckless/imscript { }; + json2tsv = callPackage ./suckless/json2tsv { }; lacc = callPackage ./suckless/lacc { }; lel = callPackage ./suckless/lel { }; quark = callPackage ./suckless/quark { }; diff --git a/pkgs/suckless/json2tsv/default.nix b/pkgs/suckless/json2tsv/default.nix @@ -0,0 +1,22 @@ +{ lib, stdenv, fetchgit }: + +stdenv.mkDerivation rec { + pname = "json2tsv"; + version = "0.7"; + + src = fetchgit { + url = "git://git.codemadness.org/${pname}"; + rev = version; + sha256 = "sha256-e2seXwJse3L/Lb4nHbGLaDCj4obxMWbTKHbYlnIGqpU="; + }; + + 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; + }; +}