16 rustPlatform.buildRustPackage {
17 pname = "forgejo-cli";
20 src = fetchFromGitea {
21 domain = "codeberg.org";
25 hash = "sha256-367O4SpGA0gWM/IIJjIbCoi4+N/Vl58T5Jw/NVsE+7o=";
28 cargoHash = "sha256-F7UBLqMXYS8heJs1mdmiFTHUfgoMKEb+KV4tiDsIRDY=";
30 nativeBuildInputs = [ pkg-config ];
39 ++ lib.optionals stdenv.hostPlatform.isDarwin (
40 with darwin.apple_sdk.frameworks;
48 RUSTONIG_SYSTEM_LIBONIG = true;
52 description = "CLI application for interacting with Forgejo";
53 homepage = "https://codeberg.org/Cyborus/forgejo-cli";
54 changelog = "https://codeberg.org/Cyborus/forgejo-cli/releases/tag/v${version}";
55 license = with lib.licenses; [
59 maintainers = with lib.maintainers; [ isabelroses ];