summaryrefslogtreecommitdiff
path: root/pkgs/by-name/jd/jd-diff-patch/package.nix
blob: 873e8510e6993847ca27706eddd442038ac309c3 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:

buildGoModule rec {
  pname = "jd-diff-patch";
  version = "2.1.2";

  src = fetchFromGitHub {
    owner = "josephburnett";
    repo = "jd";
    rev = "v${version}";
    sha256 = "sha256-chCxbbRZEE29KVnTQWID889kJ2H4qJGVL+vsxzr6VtA=";
  };

  # not including web ui
  excludedPackages = [
    "gae"
    "pack"
  ];

  vendorHash = null;

  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
    ];
    mainProgram = "jd";
  };
}