jd-diff-patch: modernize and update (#396797)

This commit is contained in:
Peder Bergebakken Sundt
2025-04-20 02:06:08 +02:00
committed by GitHub
+12 -9
View File
@@ -4,32 +4,35 @@
fetchFromGitHub,
}:
buildGoModule rec {
buildGoModule (finalAttrs: {
pname = "jd-diff-patch";
version = "2.1.2";
version = "2.2.2";
src = fetchFromGitHub {
owner = "josephburnett";
repo = "jd";
rev = "v${version}";
sha256 = "sha256-chCxbbRZEE29KVnTQWID889kJ2H4qJGVL+vsxzr6VtA=";
rev = "v${finalAttrs.version}";
hash = "sha256-sA3NzCl9dR6cZnZNFa7Sqb1KUPSWA1h8ReZqR+SRjgk";
};
sourceRoot = "${finalAttrs.src.name}/v2";
# not including web ui
excludedPackages = [
"gae"
"pack"
];
vendorHash = null;
vendorHash = "sha256-Ol+9YwtJ5P6au1aW2ss9mrU9l5G3iBviX5q1qC0K+vc=";
meta = with lib; {
meta = {
description = "Commandline utility and Go library for diffing and patching JSON values";
homepage = "https://github.com/josephburnett/jd";
license = licenses.mit;
maintainers = with maintainers; [
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
bryanasdev000
juliusfreudenberger
];
mainProgram = "jd";
};
}
})