1 { lib, buildGoModule, fetchFromGitHub, testers, timer }:
7 src = fetchFromGitHub {
11 hash = "sha256-nHQPTinrSXMeZeiZC16drliFf0ib9+gjxJr9oViZqOc=";
14 vendorHash = "sha256-mE/C4S2gqcFGfnmCeMS/VpQwXHrI8SXos0M1+rV3hPo=";
16 ldflags = [ "-s" "-w" "-X main.version=${version}" ];
18 passthru.tests.version = testers.testVersion { package = timer; };
21 description = "`sleep` with progress";
22 homepage = "https://github.com/caarlos0/timer";
23 license = licenses.mit;
24 maintainers = with maintainers; [ zowoq caarlos0 ];
25 mainProgram = "timer";