summary refs log tree commit diff
path: root/pkgs/applications/emulators
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-03-04 18:32:04 -0300
committerGitHub <noreply@github.com>2023-03-04 18:32:04 -0300
commit9cfcd0c884234b51c774292e284cb3b56d58a6c5 (patch)
tree1448162779e2f78179c0577a85d5b78d0a6e4744 /pkgs/applications/emulators
parentfe7f18cc7a416d656b2154fc5c32b8ee2935cd23 (diff)
parent7548197583a29a2d499182098ad02d75fcd73493 (diff)
downloadnixpkgs-9cfcd0c884234b51c774292e284cb3b56d58a6c5.tar
nixpkgs-9cfcd0c884234b51c774292e284cb3b56d58a6c5.tar.gz
nixpkgs-9cfcd0c884234b51c774292e284cb3b56d58a6c5.tar.bz2
nixpkgs-9cfcd0c884234b51c774292e284cb3b56d58a6c5.tar.lz
nixpkgs-9cfcd0c884234b51c774292e284cb3b56d58a6c5.tar.xz
nixpkgs-9cfcd0c884234b51c774292e284cb3b56d58a6c5.tar.zst
nixpkgs-9cfcd0c884234b51c774292e284cb3b56d58a6c5.zip
Merge pull request #218926 from atorres1985-contrib/yapesdl
yapesdl: 0.70.2 -> 0.71.2
Diffstat (limited to 'pkgs/applications/emulators')
-rw-r--r--pkgs/applications/emulators/yapesdl/default.nix27
1 files changed, 14 insertions, 13 deletions
diff --git a/pkgs/applications/emulators/yapesdl/default.nix b/pkgs/applications/emulators/yapesdl/default.nix
index 5f4b7771fb5..2ea3583edd7 100644
--- a/pkgs/applications/emulators/yapesdl/default.nix
+++ b/pkgs/applications/emulators/yapesdl/default.nix
@@ -5,20 +5,21 @@
 , SDL2
 }:
 
-stdenv.mkDerivation rec {
+stdenv.mkDerivation (self: {
   pname = "yapesdl";
-  version = "0.70.2";
+  version = "0.71.2";
 
   src = fetchFromGitHub {
     owner = "calmopyrin";
-    repo = pname;
-    rev = "v${version}";
-    hash = "sha256-51P6wNaSfVA3twu+yRUKXguEmVBvuuEnHxH1Zl1vsCc=";
+    repo = "yapesdl";
+    rev = "v${self.version}";
+    hash = "sha256-QGF3aS/YSzdGxHONKyA/iTewEVYsjBAsKARVMXkFV2k=";
   };
 
   nativeBuildInputs = [
     pkg-config
   ];
+
   buildInputs = [
     SDL2
   ];
@@ -27,17 +28,17 @@ stdenv.mkDerivation rec {
 
   installPhase = ''
     runHook preInstall
-    install --directory $out/bin $out/share/doc/$pname
-    install yapesdl $out/bin/
-    install README.SDL $out/share/doc/$pname/
+    install -Dm755 yapesdl -t $out/bin/
+    install -Dm755 README.SDL -t $out/share/doc/yapesdl/
     runHook postInstall
   '';
 
-  meta = with lib; {
+  meta = {
     homepage = "http://yape.plus4.net/";
     description = "Multiplatform Commodore 64 and 264 family emulator";
-    license = licenses.gpl2Plus;
-    maintainers = with maintainers; [ AndersonTorres ];
-    platforms = platforms.unix;
+    license = lib.licenses.gpl2Plus;
+    maintainers = with lib.maintainers; [ AndersonTorres ];
+    platforms = lib.platforms.unix;
+    broken = stdenv.isDarwin;
   };
-}
+})