Unverified Commit 90e4a83a authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

repak: init at 0.2.2 (#338242)

parents fbc47e24 b3ee3dcf
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -7205,6 +7205,11 @@
    githubId = 183879;
    name = "Florian Klink";
  };
  florensie = {
    github = "florensie";
    githubId = 13403842;
    name = "Florens Pauwels";
  };
  florentc = {
    github = "florentc";
    githubId = 1149048;
+34 −0
Original line number Diff line number Diff line
{
  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";
  };
}