depot/third_party/nixpkgs/pkgs/development/tools/tarmac/default.nix
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

45 lines
1.1 KiB
Nix

{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, pkg-config
, openssl_1_1
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "tarmac";
version = "0.7.0";
src = fetchFromGitHub {
owner = "Roblox";
repo = "tarmac";
rev = "v${version}";
sha256 = "sha256-O6qrAzGiAxiE56kpuvH/jDKHRXxHZ2SlDL5nwOOd4EU=";
};
cargoSha256 = "sha256-QnpowYv/TBXjPHK8z6KAzN3gSsfNOf9POybqsyugeWc=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
openssl_1_1
] ++ lib.optionals stdenv.isDarwin [
Security
];
meta = with lib; {
description = "Resource compiler and asset manager for Roblox";
longDescription = ''
Tarmac is a resource compiler and asset manager for Roblox projects.
It helps enable hermetic place builds when used with tools like Rojo.
'';
homepage = "https://github.com/Roblox/tarmac";
downloadPage = "https://github.com/Roblox/tarmac/releases/tag/v${version}";
changelog = "https://github.com/Roblox/tarmac/raw/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ wackbyte ];
};
}