Commit 4d12c436 authored by JuliusFreudenberger's avatar JuliusFreudenberger
Browse files

jd-diff-patch: modernize

parent e57b3fb9
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -4,15 +4,15 @@
  fetchFromGitHub,
}:

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

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

  # not including web ui
@@ -23,13 +23,13 @@ buildGoModule rec {

  vendorHash = null;

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