blob: 4373a7c6b890f9140bd43d36eee72bf68f459c38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
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";
};
})
|