Merge pull request #118922 from AndersonTorres/new-yapesdl

yapesdl: init at 0.70.2
This commit is contained in:
Anderson Torres 2021-04-11 12:00:27 -03:00 committed by GitHub
commit 6cb6021f83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, SDL2
}:
stdenv.mkDerivation rec {
pname = "yapesdl";
version = "0.70.2";
src = fetchFromGitHub {
owner = "calmopyrin";
repo = pname;
rev = "v${version}";
hash = "sha256-51P6wNaSfVA3twu+yRUKXguEmVBvuuEnHxH1Zl1vsCc=";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
SDL2
];
installPhase = ''
runHook preInstall
install --directory $out/bin $out/share/doc/$pname
install yapesdl $out/bin/
install README.SDL $out/share/doc/$pname/
runHook postInstall
'';
meta = with lib; {
homepage = "http://yape.plus4.net/";
description = "Multiplatform Commodore 64 and 264 family emulator";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.unix;
};
}

View File

@ -30579,6 +30579,8 @@ in
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa OpenGL OpenAL;
};
yapesdl = callPackage ../misc/emulators/yapesdl { };
x16-emulator = callPackage ../misc/emulators/commander-x16/emulator.nix { };
x16-rom = callPackage ../misc/emulators/commander-x16/rom.nix { };