mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
pcem: init at 17
This commit is contained in:
parent
6ae087f4b2
commit
f34f9aa38f
29
pkgs/misc/emulators/pcem/default.nix
Normal file
29
pkgs/misc/emulators/pcem/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, lib, fetchzip, wxGTK31, coreutils, SDL2, openal, alsaLib, pkg-config
|
||||
, autoreconfHook, withNetworking ? true, withALSA ? true }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pcem";
|
||||
version = "17";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://pcem-emulator.co.uk/files/PCemV${version}Linux.tar.gz";
|
||||
stripRoot = false;
|
||||
sha256 = "067pbnc15h6a4pnnym82klr1w8qwfm6p0pkx93gx06wvwqsxvbdv";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [ wxGTK31 coreutils SDL2 openal ]
|
||||
++ lib.optional withALSA alsaLib;
|
||||
|
||||
configureFlags = [ "--enable-release-build" ]
|
||||
++ lib.optional withNetworking "--enable-networking"
|
||||
++ lib.optional withALSA "--enable-alsa";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Emulator for IBM PC computers and clones";
|
||||
homepage = "https://pcem-emulator.co.uk/";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = [ maintainers.terin ];
|
||||
platforms = platforms.linux ++ platforms.windows;
|
||||
};
|
||||
}
|
|
@ -28560,6 +28560,8 @@ in
|
|||
|
||||
OSCAR = qt5.callPackage ../applications/misc/OSCAR { };
|
||||
|
||||
pcem = callPackage ../misc/emulators/pcem { };
|
||||
|
||||
pgmanage = callPackage ../applications/misc/pgmanage { };
|
||||
|
||||
pgadmin = callPackage ../applications/misc/pgadmin {
|
||||
|
|
Loading…
Reference in a new issue