Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
33 lines
821 B
Nix
33 lines
821 B
Nix
{
|
|
fetchFromGitHub,
|
|
lib,
|
|
rustPlatform,
|
|
versionCheckHook,
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "uesave";
|
|
version = "0.6.2";
|
|
src = fetchFromGitHub {
|
|
owner = "trumank";
|
|
repo = "uesave-rs";
|
|
rev = "v${version}";
|
|
hash = "sha256-cwkeuHmtIS8zTxTSa1qLtWfN2OZinqKngMEYvrCCAk0=";
|
|
};
|
|
|
|
cargoHash = "sha256-QGhaaBvxKYnljrkCCcFZLALppvM15c8Xtn36SecaNJ8=";
|
|
|
|
nativeInstallCheckInputs = [
|
|
versionCheckHook
|
|
];
|
|
doInstallCheck = true;
|
|
versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}";
|
|
|
|
meta = {
|
|
maintainers = with lib.maintainers; [ xddxdd ];
|
|
description = "Reading and writing Unreal Engine save files (commonly referred to as GVAS)";
|
|
homepage = "https://github.com/trumank/uesave-rs";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "uesave";
|
|
};
|
|
}
|