git.iko.soy/typeable/nixpkgs
on master help sign in
yapesdl: init at 0.70.2
commitcc3060f5e86abae2a0f88745d3da07c35a53cfb1 authorAndersonTorres <torres.anderson.85@protonmail.com> dateFri 9 Apr 2021, 15:30 (6 years ago) parent1ce6b05
2 files changed+43
pkgs/misc/emulators/yapesdl/default.nix+41 pkgs/top-level/all-packages.nix+2
pkgs/misc/emulators/yapesdl/default.nixnew file+41
@@ -0,0 +1,41 @@
1+{ lib
2+, stdenv
3+, fetchFromGitHub
4+, pkg-config
5+, SDL2
6+}:
7+
8+stdenv.mkDerivation rec {
9+ pname = "yapesdl";
10+ version = "0.70.2";
11+
12+ src = fetchFromGitHub {
13+ owner = "calmopyrin";
14+ repo = pname;
15+ rev = "v${version}";
16+ hash = "sha256-51P6wNaSfVA3twu+yRUKXguEmVBvuuEnHxH1Zl1vsCc=";
17+ };
18+
19+ nativeBuildInputs = [
20+ pkg-config
21+ ];
22+ buildInputs = [
23+ SDL2
24+ ];
25+
26+ installPhase = ''
27+ runHook preInstall
28+ install --directory $out/bin $out/share/doc/$pname
29+ install yapesdl $out/bin/
30+ install README.SDL $out/share/doc/$pname/
31+ runHook postInstall
32+ '';
33+
34+ meta = with lib; {
35+ homepage = "http://yape.plus4.net/";
36+ description = "Multiplatform Commodore 64 and 264 family emulator";
37+ license = licenses.gpl2Plus;
38+ maintainers = with maintainers; [ AndersonTorres ];
39+ platforms = platforms.unix;
40+ };
41+}
pkgs/top-level/all-packages.nix+2
@@ -30550,6 +30550,8 @@ in
3055030550 inherit (darwin.apple_sdk.frameworks) Carbon Cocoa OpenGL OpenAL;
3055130551 };
3055230552
30553+ yapesdl = callPackage ../misc/emulators/yapesdl { };
30554+
3055330555 x16-emulator = callPackage ../misc/emulators/commander-x16/emulator.nix { };
3055430556 x16-rom = callPackage ../misc/emulators/commander-x16/rom.nix { };
3055530557