Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
774 B
Nix
35 lines
774 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
stdenv,
|
|
}:
|
|
|
|
buildGoModule (finalAttrs: {
|
|
pname = "hours";
|
|
version = "0.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dhth";
|
|
repo = "hours";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-z1VHvzUQJoZeSuc1LpTw+z3XCFRJqNU+GIWwlAEXl1o=";
|
|
};
|
|
|
|
vendorHash = "sha256-Sim17RybSM92H6OP0Od9gH/wqa+5cd4Lmli6Na8RDJk=";
|
|
|
|
doCheck = !stdenv.hostPlatform.isDarwin;
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "No-frills time tracking toolkit for command line nerds";
|
|
homepage = "https://github.com/dhth/hours";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.ilarvne ];
|
|
platforms = lib.platforms.unix;
|
|
mainProgram = "hours";
|
|
};
|
|
})
|