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