2021-10-07 14:46:35 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "jd-diff-patch";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "1.6.1";
|
2021-10-07 14:46:35 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "josephburnett";
|
|
|
|
repo = "jd";
|
|
|
|
rev = "v${version}";
|
2022-08-12 12:06:08 +00:00
|
|
|
sha256 = "sha256-Ti7eElLplnYGP7v1VuGpyeZ3ZIau6Ffx4ACMBDIBROw=";
|
2021-10-07 14:46:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# not including web ui
|
|
|
|
excludedPackages = [ "gae" "pack" ];
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
vendorSha256 = null;
|
2021-10-07 14:46:35 +00:00
|
|
|
|
|
|
|
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 ];
|
2022-05-18 14:49:53 +00:00
|
|
|
mainProgram = "jd";
|
2021-10-07 14:46:35 +00:00
|
|
|
};
|
|
|
|
}
|