Commit 0c36a76c authored by Emery Hemingway's avatar Emery Hemingway
Browse files

eris-go: 20240920 -> 20241028

Update for a bugfix, fresh dependencies, and Fish completions.
parent 739d60dd
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
{ lib, stdenv, buildGoModule, fetchFromGitea, nixosTests }:
{ lib, stdenv, buildGoModule, fetchFromGitea, nixosTests, installShellFiles }:

buildGoModule rec {
  pname = "eris-go";
  version = "20240920";
  version = "20241028";
  outputs = [ "out" "man" ];

  src = fetchFromGitea {
@@ -10,13 +10,17 @@ buildGoModule rec {
    owner = "eris";
    repo = "eris-go";
    rev = version;
    hash = "sha256-ZC4MBt1ucbZOn3sgs2xEiLLSDq7mz5Nj/in/TzydAbk=";
    hash = "sha256-v4pN+fVwYoir3GLneWhg/azsg7ifvcKAksoqDkkQGwk=";
  };

  vendorHash = "sha256-TnB4BSO2Yb9AtcHgdEgNrFHAQJ7u4IzmhLdcSjbZ7SA=";
  vendorHash = "sha256-0BI4U9p4R7umyXtHAQBLa5t5+ni4dDndLNXgTIAMsqw=";

  nativeBuildInputs = [ installShellFiles ];

  postInstall = ''
    install -D *.1.gz -t $man/share/man/man1
    installShellCompletion --cmd eris-go \
      --fish completions/eris-go.fish
  '';

  env.skipNetworkTests = true;