nixpkgs-suyu/pkgs/development/tools/jd-diff-patch/default.nix
2022-08-10 18:31:32 +00:00

26 lines
669 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "jd-diff-patch";
version = "1.6.1";
src = fetchFromGitHub {
owner = "josephburnett";
repo = "jd";
rev = "v${version}";
sha256 = "sha256-Ti7eElLplnYGP7v1VuGpyeZ3ZIau6Ffx4ACMBDIBROw=";
};
# not including web ui
excludedPackages = [ "gae" "pack" ];
vendorSha256 = null;
meta = with lib; {
description = "Commandline utility and Go library for diffing and patching JSON values";
homepage = "https://github.com/josephburnett/jd";
license = licenses.mit;
maintainers = with maintainers; [ bryanasdev000 blaggacao ];
mainProgram = "jd";
};
}