timer: unstable-2023-02-01 -> v1.3.0
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
parent
6c5e8bcc15
commit
7f5eaf18d4
|
@ -2,22 +2,20 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "timer";
|
pname = "timer";
|
||||||
version = "unstable-2023-02-01";
|
version = "1.3.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "caarlos0";
|
owner = "caarlos0";
|
||||||
repo = "timer";
|
repo = "timer";
|
||||||
rev = "1f437baceb1ca76b341fdc229fe45938b282f2aa";
|
rev = "v${version}";
|
||||||
hash = "sha256-u+naemEiKufKYROuJB55u8QgiIgg4nLsB+FerUImtXs=";
|
hash = "sha256-9p/L3Hj3VqlNiyY3lfUAhCjwTl1iSTegWxaVEGB4qHM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-n4AjaojcDAYbgOIuaAJ4faVJqV+/0uby5OHRMsyL9Dg=";
|
vendorHash = "sha256-j7Xik0te6GdjfhXHT7DRf+MwM+aKjfgTGvroxnlD3MM=";
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
|
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion {
|
passthru.tests.version = testers.testVersion { package = timer; };
|
||||||
package = timer;
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A `sleep` with progress";
|
description = "A `sleep` with progress";
|
||||||
|
|
Loading…
Reference in a new issue