Files
nixpkgs/pkgs/by-name/ro/rojo/package.nix
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

54 lines
1.5 KiB
Nix

{
lib,
stdenv,
rustPlatform,
fetchFromGitHub,
pkg-config,
openssl,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "rojo";
version = "7.5.1";
src = fetchFromGitHub {
owner = "rojo-rbx";
repo = "rojo";
tag = "v${finalAttrs.version}";
hash = "sha256-awMio62guyP5qZH4i5hwXV5re6o45HDwqIJb3Dd71Is=";
fetchSubmodules = true;
};
cargoHash = "sha256-iWRjXC+JaBA/z2eOHiiqFFtS2gug5/hkIpYrPdHyux0=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
# reqwest's native-tls-vendored feature flag uses vendored openssl. this disables that
env.OPENSSL_NO_VENDOR = true;
# tests flaky on darwin on hydra
doCheck = !stdenv.hostPlatform.isDarwin;
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgram = "${placeholder "out"}/bin/rojo";
versionCheckProgramArg = "--version";
passthru.updateScript = nix-update-script { };
meta = {
changelog = "https://github.com/rojo-rbx/rojo/blob/v${finalAttrs.version}/CHANGELOG.md";
description = "Project management tool for Roblox";
downloadPage = "https://github.com/rojo-rbx/rojo/releases/tag/v${finalAttrs.version}";
homepage = "https://rojo.space";
license = lib.licenses.mpl20;
longDescription = ''
Tool designed to enable Roblox developers to use professional-grade software engineering tools.
'';
mainProgram = "rojo";
maintainers = with lib.maintainers; [ HeitorAugustoLN ];
};
})