Merge pull request #163209 from IvarWithoutBones/init/flycast
This commit is contained in:
commit
2749ef1fc8
52
pkgs/applications/emulators/flycast/default.nix
Normal file
52
pkgs/applications/emulators/flycast/default.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkg-config
|
||||
, alsa-lib
|
||||
, libX11
|
||||
, libevdev
|
||||
, udev
|
||||
, libpulseaudio
|
||||
, SDL2
|
||||
, libzip
|
||||
, miniupnpc
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flycast";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "flyinghead";
|
||||
repo = "flycast";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-MzHAGK++oukIs84OR/l6gBwCJssdi8Iyte5Rtro2+Q0=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
alsa-lib
|
||||
libX11
|
||||
libevdev
|
||||
udev
|
||||
libpulseaudio
|
||||
SDL2
|
||||
libzip
|
||||
miniupnpc
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/flyinghead/flycast";
|
||||
changelog = "https://github.com/flyinghead/flycast/releases/tag/v${version}";
|
||||
description = "A multi-platform Sega Dreamcast, Naomi and Atomiswave emulator";
|
||||
license = licenses.gpl2Only;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.ivar ];
|
||||
};
|
||||
}
|
@ -1,52 +0,0 @@
|
||||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkg-config
|
||||
, curl
|
||||
, alsa-lib
|
||||
, libGLU
|
||||
, libX11
|
||||
, libevdev
|
||||
, udev
|
||||
, libpulseaudio
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "reicast";
|
||||
version = "20.04";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "reicast";
|
||||
repo = "reicast-emulator";
|
||||
rev = "r${version}";
|
||||
sha256 = "0vz3b1hg1qj6nycnqq5zcpzqpcbxw1c2ffamia5z3x7rapjx5d71";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [
|
||||
curl
|
||||
alsa-lib
|
||||
libGLU
|
||||
libX11
|
||||
libevdev
|
||||
udev
|
||||
libpulseaudio
|
||||
];
|
||||
|
||||
# No rule to make target 'install'
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -D ./reicast $out/bin/reicast
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://reicast.com/";
|
||||
description = "A multi-platform Sega Dreamcast emulator";
|
||||
license = with licenses; [ bsd3 gpl2Only lgpl2Only ];
|
||||
platforms = ["x86_64-linux" ];
|
||||
maintainers = [ maintainers.ivar ];
|
||||
};
|
||||
}
|
@ -1011,6 +1011,7 @@ mapAliases ({
|
||||
readline80 = throw "readline-8.0 is no longer supported in nixpkgs, please use 'readline' for main supported version or 'readline81' for most recent version"; # Added 2021-04-22
|
||||
redkite = throw "redkite was archived by upstream"; # Added 2021-04-12
|
||||
redshift-wlr = throw "redshift-wlr has been replaced by gammastep"; # Added 2021-12-25
|
||||
reicast = throw "reicast has been removed from nixpkgs as it is unmaintained, please use flycast instead"; # Added 2022-03-07
|
||||
renpy = throw "renpy has been removed from nixpkgs, it was unmaintained and the latest packaged version required python2"; # Added 2022-01-12
|
||||
residualvm = throw "residualvm was merged to scummvm code in 2018-06-15; consider using scummvm"; # Added 2021-11-27
|
||||
retroArchCores = throw "retroArchCores has been removed. Please use overrides instead, e.g.: `retroarch.override { cores = with libretro; [ ... ]; }`"; # Added 2021-11-19
|
||||
|
@ -9478,8 +9478,6 @@ with pkgs;
|
||||
|
||||
repseek = callPackage ../applications/science/biology/repseek { };
|
||||
|
||||
reicast = callPackage ../applications/emulators/reicast { };
|
||||
|
||||
reredirect = callPackage ../tools/misc/reredirect { };
|
||||
|
||||
retext = libsForQt5.callPackage ../applications/editors/retext { };
|
||||
@ -12155,6 +12153,8 @@ with pkgs;
|
||||
|
||||
flasm = callPackage ../development/compilers/flasm { };
|
||||
|
||||
flycast = callPackage ../applications/emulators/flycast { };
|
||||
|
||||
flyctl = callPackage ../development/web/flyctl { };
|
||||
|
||||
fluidd = callPackage ../applications/misc/fluidd { };
|
||||
|
Loading…
Reference in New Issue
Block a user