From 0b2dd47ed218f89137b3bc174cdcf2b30cf68ea8 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 7 Mar 2025 23:37:13 +0100 Subject: [PATCH] simplenes: unstable-2019-03-13 -> 0-unstable-2025-01-05 --- pkgs/by-name/si/simplenes/package.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/si/simplenes/package.nix b/pkgs/by-name/si/simplenes/package.nix index 3ed2efe18c233..1df43bc181108 100644 --- a/pkgs/by-name/si/simplenes/package.nix +++ b/pkgs/by-name/si/simplenes/package.nix @@ -8,29 +8,33 @@ stdenv.mkDerivation { pname = "simplenes"; - version = "unstable-2019-03-13"; + version = "0-unstable-2025-01-05"; src = fetchFromGitHub { owner = "amhndu"; repo = "SimpleNES"; - rev = "4edb7117970c21a33b3bfe11a6606764fffc5173"; - sha256 = "1nmwj431iwqzzcykxd4xinqmg0rm14mx7zsjyhcc5skz7pihz86g"; + rev = "154a2fd4f2f2611a27197aa8d802bbcdfd1a0ea3"; + hash = "sha256-4Nb42tb/pJaVOOhj7hH9cQLDKCz8GUXWz8KAHPOd9nE="; }; nativeBuildInputs = [ cmake ]; buildInputs = [ sfml ]; installPhase = '' + runHook preInstall + mkdir -p $out/bin cp ./SimpleNES $out/bin + + runHook postInstall ''; - meta = with lib; { + meta = { homepage = "https://github.com/amhndu/SimpleNES"; description = "NES emulator written in C++"; - license = licenses.gpl3; + license = lib.licenses.gpl3; maintainers = [ ]; - platforms = platforms.linux; + platforms = lib.platforms.linux; mainProgram = "SimpleNES"; }; }