git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #118922 from AndersonTorres/new-yapesdl

yapesdl: init at 0.70.2

commit6cb6021f83396c482e9265657f6e89600d75ce71 authorAnderson Torres <torres.anderson.85@protonmail.com> dateSun 11 Apr 2021, 12:00 (6 years ago) parent39a4f17cc3060f
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
@@ -30579,6 +30579,8 @@ in
3057930579 inherit (darwin.apple_sdk.frameworks) Carbon Cocoa OpenGL OpenAL;
3058030580 };
3058130581
30582+ yapesdl = callPackage ../misc/emulators/yapesdl { };
30583+
3058230584 x16-emulator = callPackage ../misc/emulators/commander-x16/emulator.nix { };
3058330585 x16-rom = callPackage ../misc/emulators/commander-x16/rom.nix { };
3058430586