repak: init at 0.2.2

This commit is contained in:
Florens Pauwels 2024-08-29 20:01:00 +02:00
parent ccd8cd8bd8
commit b3ee3dcf43

View File

@ -0,0 +1,34 @@
{
lib,
fetchFromGitHub,
rustPlatform,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "repak";
version = "0.2.2";
src = fetchFromGitHub {
owner = "trumank";
repo = "repak";
rev = "refs/tags/v${version}";
hash = "sha256-nl05EsR52YFSR9Id3zFynhrBIvaqVwUOdjPlSp19Gcc=";
};
cargoHash = "sha256-4RA3Nv4Wes3etrnZSnHRjJ3ukA6stJXDj3ftaCxGwuY=";
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";
};
}