blob: c0dc2a2a61536c3b56e1b40705dafe4d779685a6 (
plain) (
blame)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{
darwin,
fetchCrate,
iconv,
lib,
openssl,
pkg-config,
rustPlatform,
stdenv,
}:
rustPlatform.buildRustPackage rec {
pname = "gitlab-timelogs";
version = "0.4.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-EWFzMNuNquHR0grmmi14vuraIwvrmkw88QAYkvbO2QM=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs =
[ openssl ]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.SystemConfiguration
iconv
];
cargoHash = "sha256-IXiIrX+nR7uB7UYqdVgKR+IHJlRl0i0cklwITGF5jAg=";
meta = {
description = " CLI utility to support you with your time logs in GitLab";
mainProgram = "gitlab-timelogs";
longDescription = ''
CLI utility to support you with your time logs in GitLab.
gitlab-timelogs is not associated with the official GitLab project!
'';
homepage = "https://github.com/phip1611/gitlab-timelogs";
changelog = "https://github.com/phip1611/gitlab-timelogs/blob/v${version}/CHANGELOG.md";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [
blitz
phip1611
];
};
}
|