repak: init at 0.2.2 (#338242)

This commit is contained in:
Aleksana 2024-10-29 16:04:33 +08:00 committed by GitHub
commit 90e4a83ae5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 39 additions and 0 deletions

View File

@ -7205,6 +7205,11 @@
githubId = 183879;
name = "Florian Klink";
};
florensie = {
github = "florensie";
githubId = 13403842;
name = "Florens Pauwels";
};
florentc = {
github = "florentc";
githubId = 1149048;

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";
};
}