diff --git a/pkgs/by-name/re/repak/package.nix b/pkgs/by-name/re/repak/package.nix new file mode 100644 index 000000000000000..cbb2b66b35fe2a3 --- /dev/null +++ b/pkgs/by-name/re/repak/package.nix @@ -0,0 +1,26 @@ +{ lib, fetchFromGitHub, rustPlatform, nix-update-script }: + +rustPlatform.buildRustPackage rec { + pname = "repak"; + version = "0.2.2"; + + src = fetchFromGitHub { + owner = "trumank"; + repo = pname; + rev = "v${version}"; + hash = "sha256-nl05EsR52YFSR9Id3zFynhrBIvaqVwUOdjPlSp19Gcc="; + }; + + cargoHash = "sha256-4RA3Nv4Wes3etrnZSnHRjJ3ukA6stJXDj3ftaCxGwuY="; + + passthru.updateScript = nix-update-script { }; + + meta = with lib; { + 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 licenses; [ mit asl20 ]; + maintainers = with maintainers; [ florensie ]; + mainProgram = "repak"; + }; +}