tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
json2tsv: init at 1.0
Nikolay Korotkiy
3 years ago
0b92da79
937266ba
+29
2 changed files
expand all
collapse all
unified
split
pkgs
development
tools
json2tsv
default.nix
top-level
all-packages.nix
+27
pkgs/development/tools/json2tsv/default.nix
···
1
1
+
{ lib, stdenv, fetchurl }:
2
2
+
3
3
+
stdenv.mkDerivation rec {
4
4
+
pname = "json2tsv";
5
5
+
version = "1.0";
6
6
+
7
7
+
src = fetchurl {
8
8
+
url = "https://codemadness.org/releases/json2tsv/json2tsv-${version}.tar.gz";
9
9
+
hash = "sha256-BOamDWszYDqKGdKOlAOLY7F9ScZaBJXNdhz38iYW3ps=";
10
10
+
};
11
11
+
12
12
+
postPatch = ''
13
13
+
substituteInPlace jaq --replace "json2tsv" "$out/bin/json2tsv"
14
14
+
'';
15
15
+
16
16
+
makeFlags = [ "RANLIB:=$(RANLIB)" ];
17
17
+
18
18
+
installFlags = [ "PREFIX=$(out)" ];
19
19
+
20
20
+
meta = with lib; {
21
21
+
description = "JSON to TSV converter";
22
22
+
homepage = "https://codemadness.org/json2tsv.html";
23
23
+
license = licenses.isc;
24
24
+
maintainers = with maintainers; [ sikmir ];
25
25
+
platforms = platforms.unix;
26
26
+
};
27
27
+
}
+2
pkgs/top-level/all-packages.nix
···
18833
18833
18834
18834
json2hcl = callPackage ../development/tools/json2hcl { };
18835
18835
18836
18836
+
json2tsv = callPackage ../development/tools/json2tsv { };
18837
18837
+
18836
18838
json2yaml = haskell.lib.compose.justStaticExecutables haskellPackages.json2yaml;
18837
18839
18838
18840
json-glib = callPackage ../development/libraries/json-glib { };