mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-07 12:44:20 +00:00
uesave: init at 0.5.0 (#312965)
This commit is contained in:
commit
4fc48e75eb
32
pkgs/by-name/ue/uesave/package.nix
Normal file
32
pkgs/by-name/ue/uesave/package.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
rustPlatform,
|
||||
versionCheckHook,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "uesave";
|
||||
version = "0.5.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "trumank";
|
||||
repo = "uesave-rs";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-9gOOSLejVfR1KJMhcNuKDkuTOvPC6sNG8xQOZlt8NxI=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-U6RzSS2j6FK70OHlmWmHZZYT3UB0+Hi+uLofLy+XtGQ=";
|
||||
|
||||
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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user