nixpkgs/pkgs/by-name/re/repak/package.nix
2025-07-26 11:39:35 +02:00

35 lines
793 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "repak";
version = "0.2.2";
src = fetchFromGitHub {
owner = "trumank";
repo = "repak";
tag = "v${version}";
hash = "sha256-nl05EsR52YFSR9Id3zFynhrBIvaqVwUOdjPlSp19Gcc=";
};
cargoHash = "sha256-i0pBd0ZiMIEFGZgvBgVNCfqPHE6E3Rt5pAHHVj1epLs=";
passthru.updateScript = nix-update-script { };
meta = {
description = "Unreal Engine .pak file library and CLI in rust";
homepage = "https://github.com/trumank/repak";
changelog = "https://github.com/trumank/repak/releases/tag/v${version}";
license = with lib.licenses; [
mit
asl20
];
maintainers = with lib.maintainers; [ florensie ];
mainProgram = "repak";
};
}