1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "jd-diff-patch";
5 version = "1.4.0";
6
7 src = fetchFromGitHub {
8 owner = "josephburnett";
9 repo = "jd";
10 rev = "v${version}";
11 sha256 = "sha256-OAy4IS2JZYYPeJITNHZKiYEapzGqqYPDBCLflLYetzg=";
12 };
13
14 # not including web ui
15 excludedPackages = [ "gae" "pack" ];
16
17 vendorSha256 = "sha256-w3mFra7Je+8qIDQMSyUYucoLZ6GtrZmr56O6xmihIYc=";
18
19 doCheck = true;
20
21 meta = with lib; {
22 description = "Commandline utility and Go library for diffing and patching JSON values";
23 homepage = "https://github.com/josephburnett/jd";
24 license = licenses.mit;
25 maintainers = with maintainers; [ bryanasdev000 blaggacao ];
26 };
27}