librashader: add updateScript
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
nix-update-script,
|
||||
rustPlatform,
|
||||
stdenv,
|
||||
}:
|
||||
@@ -58,6 +59,13 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--version-regex"
|
||||
"librashader-v(.*)"
|
||||
];
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "RetroArch Shaders for All";
|
||||
homepage = "https://github.com/SnowflakePowered/librashader";
|
||||
|
||||
Reference in New Issue
Block a user