2021-10-06 00:07:55 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "jd-diff-patch";
|
2023-04-23 10:05:26 +00:00
|
|
|
version = "1.7.1";
|
2021-10-06 00:07:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "josephburnett";
|
|
|
|
repo = "jd";
|
|
|
|
rev = "v${version}";
|
2023-04-23 10:05:26 +00:00
|
|
|
sha256 = "sha256-fi+vj1vHhgw2OPQqQ0827P6Axy/cio0UVFLeD/nhFvw=";
|
2021-10-06 00:07:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# not including web ui
|
|
|
|
excludedPackages = [ "gae" "pack" ];
|
|
|
|
|
2023-04-23 10:05:26 +00:00
|
|
|
vendorHash = 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
|
|
|
};
|
|
|
|
}
|