about summary refs log tree commit diff
path: root/pkgs/tools/misc/timer
diff options
context:
space:
mode:
authorCarlos A Becker <caarlos0@users.noreply.github.com>2023-04-11 18:03:13 +0000
committerCarlos A Becker <caarlos0@users.noreply.github.com>2023-04-11 18:03:59 +0000
commit7f5eaf18d48a0189ae549073d623fb525d583eac (patch)
treeb60ad5be72d4405a4f916af98cd9b949bdcd9485 /pkgs/tools/misc/timer
parent6c5e8bcc15fd27055b3a74d8e179d737fa9607e3 (diff)
timer: unstable-2023-02-01 -> v1.3.0
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Diffstat (limited to 'pkgs/tools/misc/timer')
-rw-r--r--pkgs/tools/misc/timer/default.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/tools/misc/timer/default.nix b/pkgs/tools/misc/timer/default.nix
index 6332f6de64ec5..29e087c86581f 100644
--- a/pkgs/tools/misc/timer/default.nix
+++ b/pkgs/tools/misc/timer/default.nix
@@ -2,22 +2,20 @@
 
 buildGoModule rec {
   pname = "timer";
-  version = "unstable-2023-02-01";
+  version = "1.3.0";
 
   src = fetchFromGitHub {
     owner = "caarlos0";
     repo = "timer";
-    rev = "1f437baceb1ca76b341fdc229fe45938b282f2aa";
-    hash = "sha256-u+naemEiKufKYROuJB55u8QgiIgg4nLsB+FerUImtXs=";
+    rev = "v${version}";
+    hash = "sha256-9p/L3Hj3VqlNiyY3lfUAhCjwTl1iSTegWxaVEGB4qHM=";
   };
 
-  vendorHash = "sha256-n4AjaojcDAYbgOIuaAJ4faVJqV+/0uby5OHRMsyL9Dg=";
+  vendorHash = "sha256-j7Xik0te6GdjfhXHT7DRf+MwM+aKjfgTGvroxnlD3MM=";
 
   ldflags = [ "-s" "-w" "-X main.version=${version}" ];
 
-  passthru.tests.version = testers.testVersion {
-    package = timer;
-  };
+  passthru.tests.version = testers.testVersion { package = timer; };
 
   meta = with lib; {
     description = "A `sleep` with progress";