taradino: add update script, 20251031 -> 20251222 (#472133)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchzip,
|
||||
nix-update-script,
|
||||
ninja,
|
||||
cmake,
|
||||
SDL2,
|
||||
@@ -23,13 +24,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "taradino" + lib.optionalString buildShareware "-shareware";
|
||||
version = "20251031";
|
||||
version = "20251222";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fabiangreffrath";
|
||||
repo = "taradino";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-Z3yAT4CxZIQ63F6G7ZUAdz2VK+8dcv6WHyQJ8Pmz4Zk=";
|
||||
hash = "sha256-nB6FNET9OCgK7xqku5gaXfuaIIhYPj8Lo03gINCZSFI=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
@@ -58,6 +59,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
unzip -d "$out/${datadir}" ${sharewareData}/ROTTSW13.SHR
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "SDL2 port of Rise of the Triad";
|
||||
mainProgram = "taradino" + lib.optionalString buildShareware "-shareware";
|
||||
|
||||
Reference in New Issue
Block a user