diff options
| author | Philipp Schuster <phip1611@gmail.com> | 2024-08-26 14:12:07 +0200 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-08-30 14:55:10 +0000 |
| commit | 3e1774a4c91d29701853131b2e7ee89e279e9f8d (patch) | |
| tree | f16567dfae0c94a2c609445b6d30fec6a21de81a | |
| parent | [Backport release-24.05] rustdesk-flutter: 1.2.7 -> 1.3.0 and make reproducib... (diff) | |
| download | nixpkgs-origin/backport-337461-to-release-24.05.tar.gz | |
gitlab-timelogs: init at 0.3.0origin/backport-337461-to-release-24.05
Inits the `gitlab-timelogs` CLI utility written in Rust.
(cherry picked from commit dbc32e11185b4041f99c6d66f43d517b11aed3e9)
| -rw-r--r-- | pkgs/by-name/gi/gitlab-timelogs/package.nix | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/by-name/gi/gitlab-timelogs/package.nix b/pkgs/by-name/gi/gitlab-timelogs/package.nix new file mode 100644 index 000000000000..4a7778ab95bc --- /dev/null +++ b/pkgs/by-name/gi/gitlab-timelogs/package.nix @@ -0,0 +1,48 @@ +{ + darwin, + fetchCrate, + iconv, + lib, + openssl, + pkg-config, + rustPlatform, + stdenv, +}: + +rustPlatform.buildRustPackage rec { + pname = "gitlab-timelogs"; + version = "0.3.0"; + + src = fetchCrate { + inherit pname version; + hash = "sha256-n+Jvm4RqHkXIeQcY55iOEBgwvbr77vLMhqxXgdau5MQ="; + }; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = + [ openssl ] + ++ lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.SystemConfiguration + iconv + ]; + + cargoHash = "sha256-REE7DWY0l4TTDTwWFWVr3Zk/oLQlOjrbFEWSFUlBEig="; + + 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 + ]; + }; +} |
