nixpkgs/pkgs/development/tools/jd-diff-patch/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
667 B
Nix
Raw Normal View History

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 ];
mainProgram = "jd";
2021-10-06 00:07:55 +00:00
};
}