Loading pkgs/tools/misc/timer/default.nix 0 → 100644 +28 −0 Original line number Diff line number Diff line { lib, buildGoModule, fetchFromGitHub, testers, timer }: buildGoModule rec { pname = "timer"; version = "unstable-2023-02-01"; src = fetchFromGitHub { owner = "caarlos0"; repo = "timer"; rev = "1f437baceb1ca76b341fdc229fe45938b282f2aa"; hash = "sha256-u+naemEiKufKYROuJB55u8QgiIgg4nLsB+FerUImtXs="; }; vendorHash = "sha256-n4AjaojcDAYbgOIuaAJ4faVJqV+/0uby5OHRMsyL9Dg="; ldflags = [ "-s" "-w" "-X main.version=${version}" ]; passthru.tests.version = testers.testVersion { package = timer; }; meta = with lib; { description = "A `sleep` with progress"; homepage = "https://github.com/caarlos0/timer"; license = licenses.mit; maintainers = with maintainers; [ zowoq ]; }; } pkgs/top-level/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12520,6 +12520,8 @@ with pkgs; time-decode = callPackage ../tools/misc/time-decode { }; timer = callPackage ../tools/misc/timer { }; tio = callPackage ../tools/misc/tio { }; tiv = callPackage ../applications/misc/tiv { }; Loading
pkgs/tools/misc/timer/default.nix 0 → 100644 +28 −0 Original line number Diff line number Diff line { lib, buildGoModule, fetchFromGitHub, testers, timer }: buildGoModule rec { pname = "timer"; version = "unstable-2023-02-01"; src = fetchFromGitHub { owner = "caarlos0"; repo = "timer"; rev = "1f437baceb1ca76b341fdc229fe45938b282f2aa"; hash = "sha256-u+naemEiKufKYROuJB55u8QgiIgg4nLsB+FerUImtXs="; }; vendorHash = "sha256-n4AjaojcDAYbgOIuaAJ4faVJqV+/0uby5OHRMsyL9Dg="; ldflags = [ "-s" "-w" "-X main.version=${version}" ]; passthru.tests.version = testers.testVersion { package = timer; }; meta = with lib; { description = "A `sleep` with progress"; homepage = "https://github.com/caarlos0/timer"; license = licenses.mit; maintainers = with maintainers; [ zowoq ]; }; }
pkgs/top-level/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12520,6 +12520,8 @@ with pkgs; time-decode = callPackage ../tools/misc/time-decode { }; timer = callPackage ../tools/misc/timer { }; tio = callPackage ../tools/misc/tio { }; tiv = callPackage ../applications/misc/tiv { };