depot/third_party/nixpkgs/pkgs/by-name/gi/gitlab-timelogs/package.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

49 lines
1.2 KiB
Nix

{
darwin,
fetchCrate,
iconv,
lib,
openssl,
pkg-config,
rustPlatform,
stdenv,
}:
rustPlatform.buildRustPackage rec {
pname = "gitlab-timelogs";
version = "0.5.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-KTOI1NDsozALXqXHuF6kj/ADW7TzH8CkVvCOgrEwdxc=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs =
[ openssl ]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.SystemConfiguration
iconv
];
useFetchCargoVendor = true;
cargoHash = "sha256-qSIRcf0HpRg1Eu12L6UcJajHBgjJgfhsHmF1oV1h8HM=";
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
];
};
}