Files
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

48 lines
1.1 KiB
Nix

{
fetchCrate,
iconv,
lib,
openssl,
pkg-config,
rustPlatform,
stdenv,
}:
rustPlatform.buildRustPackage rec {
pname = "gitlab-timelogs";
version = "0.6.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-oudVXG26w7LTye7M4Kr6N8rDFEuNljiNSzSAyKcHvf0=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
openssl
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
iconv
];
cargoHash = "sha256-lr9q9J4zHF50u23UQ3RZzd9CKcPtJSy+OT2XN2tpVEo=";
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
];
};
}