2021-10-07 14:46:35 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "jd-diff-patch";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "1.9.1";
|
2021-10-07 14:46:35 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "josephburnett";
|
|
|
|
repo = "jd";
|
|
|
|
rev = "v${version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
sha256 = "sha256-qq/Y2/NGK3xsgljT0D9+dD1D1UfjB9Niay81nQJ4gX0=";
|
2021-10-07 14:46:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# not including web ui
|
|
|
|
excludedPackages = [ "gae" "pack" ];
|
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
vendorHash = 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
|
|
|
};
|
|
|
|
}
|