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
41 lines
810 B
Nix
41 lines
810 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
sfml_2,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "simplenes";
|
|
version = "0-unstable-2025-01-05";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "amhndu";
|
|
repo = "SimpleNES";
|
|
rev = "154a2fd4f2f2611a27197aa8d802bbcdfd1a0ea3";
|
|
hash = "sha256-4Nb42tb/pJaVOOhj7hH9cQLDKCz8GUXWz8KAHPOd9nE=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ sfml_2 ];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/bin
|
|
cp ./SimpleNES $out/bin
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://github.com/amhndu/SimpleNES";
|
|
description = "NES emulator written in C++";
|
|
license = lib.licenses.gpl3;
|
|
maintainers = with lib.maintainers; [ guylamar2006 ];
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "SimpleNES";
|
|
};
|
|
}
|