Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1f9882cb2940
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 67223bc752bb
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Oct 10, 2019

  1. jtc: init at 1.74

    marsam committed Oct 10, 2019
    Copy the full SHA
    0fdd8bc View commit details

Commits on Oct 11, 2019

  1. Merge pull request #70889 from marsam/init-jtc

    jtc: init at 1.74
    marsam authored Oct 11, 2019
    Copy the full SHA
    67223bc View commit details
Showing with 39 additions and 0 deletions.
  1. +37 −0 pkgs/development/tools/jtc/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
37 changes: 37 additions & 0 deletions pkgs/development/tools/jtc/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -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 { };