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

28 lines
713 B
Nix
Raw Normal View History

2021-10-06 02:07:55 +02:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "jd-diff-patch";
version = "1.4.0";
src = fetchFromGitHub {
owner = "josephburnett";
repo = "jd";
rev = "v${version}";
sha256 = "sha256-OAy4IS2JZYYPeJITNHZKiYEapzGqqYPDBCLflLYetzg=";
};
# not including web ui
excludedPackages = [ "gae" "pack" ];
vendorSha256 = "sha256-w3mFra7Je+8qIDQMSyUYucoLZ6GtrZmr56O6xmihIYc=";
doCheck = true;
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 ];
};
}