jtc: init at 1.74
This commit is contained in:
parent
257e7dac03
commit
0fdd8bc09d
2 changed files with 39 additions and 0 deletions
37
pkgs/development/tools/jtc/default.nix
Normal file
37
pkgs/development/tools/jtc/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jtc";
|
||||
version = "1.74";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ldn-softdev";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "04hzamgs4k0x58cf4dw0a46kyw79yvcd5vazbklbjl6ap3rmnrx3";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
$CXX -o jtc -Wall -std=gnu++14 -Ofast jtc.cpp
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 -t $out/bin jtc
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "JSON manipulation and transformation tool";
|
||||
homepage = "https://github.com/ldn-softdev/jtc";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -4140,6 +4140,8 @@ in
|
|||
|
||||
jsduck = callPackage ../development/tools/jsduck { };
|
||||
|
||||
jtc = callPackage ../development/tools/jtc { };
|
||||
|
||||
jumpapp = callPackage ../tools/X11/jumpapp {};
|
||||
|
||||
jucipp = callPackage ../applications/editors/jucipp { };
|
||||
|
|
Loading…
Reference in a new issue