Merge pull request #325350 from atorres1985-contrib/yapesdl
yapesdl: 0.71.2 -> 0.80.1
This commit is contained in:
commit
d631abf6ba
@ -1,22 +1,24 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, SDL2
|
||||
{
|
||||
lib,
|
||||
SDL2,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "yapesdl";
|
||||
version = "0.71.2";
|
||||
version = "0.80.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "calmopyrin";
|
||||
repo = "yapesdl";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-QGF3aS/YSzdGxHONKyA/iTewEVYsjBAsKARVMXkFV2k=";
|
||||
hash = "sha256-VCjxdVatu1h6VNMkLYL8Nknwn7ax0J2OhO1bc7dnQRA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
SDL2
|
||||
pkg-config
|
||||
];
|
||||
|
||||
@ -26,20 +28,25 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
makeFlags = [ "CC=${stdenv.cc.targetPrefix}c++" ];
|
||||
|
||||
outputs = [ "out" "doc" ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm755 yapesdl -t $out/bin/
|
||||
install -Dm755 README.SDL -t $out/share/doc/yapesdl/
|
||||
install -Dm755 yapesdl -t ''${!outputBin}/bin/
|
||||
install -Dm755 README.SDL -t ''${!outputDoc}/share/doc/yapesdl/
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://yape.plus4.net/";
|
||||
description = "Multiplatform Commodore 64 and 264 family emulator";
|
||||
changelog = "https://github.com/calmopyrin/yapesdl/releases/tag/${finalAttrs.src.rev}";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
mainProgram = "yapesdl";
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
platforms = lib.platforms.unix;
|
||||
broken = stdenv.isDarwin;
|
||||
mainProgram = "yapesdl";
|
||||
};
|
||||
})
|
@ -2772,8 +2772,6 @@ with pkgs;
|
||||
|
||||
xcpc = callPackage ../applications/emulators/xcpc { };
|
||||
|
||||
yapesdl = callPackage ../applications/emulators/yapesdl { };
|
||||
|
||||
zsnes = pkgsi686Linux.callPackage ../applications/emulators/zsnes { };
|
||||
zsnes2 = pkgsi686Linux.callPackage ../applications/emulators/zsnes/2.x.nix { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user