Unverified Commit 871e9327 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

echoip: fix version attribute, add updateScript (#409921)

parents 54430822 bd56cec8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -4,11 +4,12 @@
  fetchFromGitHub,
  makeWrapper,
  nixosTests,
  nix-update-script,
}:

buildGoModule {
  pname = "echoip";
  version = "unstable-2023-05-21";
  version = "0-unstable-2023-05-21";

  src = fetchFromGitHub {
    owner = "mpolden";
@@ -29,6 +30,7 @@ buildGoModule {

  passthru = {
    tests = { inherit (nixosTests) echoip; };
    updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
  };

  meta = {