nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "jd-diff-patch";
5 version = "1.5.1";
6
7 src = fetchFromGitHub {
8 owner = "josephburnett";
9 repo = "jd";
10 rev = "v${version}";
11 sha256 = "sha256-nYV72EgYgXWyGp2s09BlaRmOy6aSMtmrTvWCxk9znp0=";
12 };
13
14 # not including web ui
15 excludedPackages = [ "gae" "pack" ];
16
17 vendorSha256 = "sha256-uoMOkCmJY417zxkTsXHGy+BZ/BH29nH4MhFaIKofh4k=";
18
19 doCheck = true;
20
21 meta = with lib; {
22 description = "Commandline utility and Go library for diffing and patching JSON values";
23 homepage = "https://github.com/josephburnett/jd";
24 license = licenses.mit;
25 maintainers = with maintainers; [ bryanasdev000 blaggacao ];
26 mainProgram = "jd";
27 };
28}