Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "jd-diff-patch"; 5 version = "1.7.1"; 6 7 src = fetchFromGitHub { 8 owner = "josephburnett"; 9 repo = "jd"; 10 rev = "v${version}"; 11 sha256 = "sha256-fi+vj1vHhgw2OPQqQ0827P6Axy/cio0UVFLeD/nhFvw="; 12 }; 13 14 # not including web ui 15 excludedPackages = [ "gae" "pack" ]; 16 17 vendorHash = null; 18 19 meta = with lib; { 20 description = "Commandline utility and Go library for diffing and patching JSON values"; 21 homepage = "https://github.com/josephburnett/jd"; 22 license = licenses.mit; 23 maintainers = with maintainers; [ bryanasdev000 blaggacao ]; 24 mainProgram = "jd"; 25 }; 26}