Unverified Commit 30a32092 authored by Artturi's avatar Artturi Committed by GitHub
Browse files

Merge pull request #214226 from ehmry/eris-go

parents 58843af7 c17b502c
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
{ lib, buildGoModule, fetchFromGitea }:
{ lib, stdenv, buildGoModule, fetchFromGitea }:

buildGoModule rec {
  pname = "eris-go";
  version = "20230123";
  version = "20230202";

  src = fetchFromGitea {
    domain = "codeberg.org";
    owner = "eris";
    repo = pname;
    rev = version;
    hash = "sha256-jdeh5lhbu2hxVNdnU0GiMsdXRi8004Xgu2/tgFhqPao=";
    hash = "sha256-o9FRlUtMk1h8sR+am2gNEQOMgAceRTdRusI4a6ikHUM=";
  };

  vendorHash = "sha256-mLyPaX5rDw0rR4PXtzpLMOrsYwTH3Y+COcrvwH7/qdo=";
  vendorHash = "sha256-ZDJm7ZlDBVWLnuC90pOwa608GnuEgy0N/I96vvesZPY=";

  postInstall = "ln -s $out/bin/eris-get $out/bin/eris-put";
  # eris-get is a multicall binary
@@ -22,5 +22,6 @@ buildGoModule rec {
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ ehmry ];
    mainProgram = "eris-get";
    broken = stdenv.isDarwin;
  };
}