mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #218926 from atorres1985-contrib/yapesdl
yapesdl: 0.70.2 -> 0.71.2
This commit is contained in:
commit
9cfcd0c884
@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user