Merge pull request #108907 from terinjokes/patches/pcem

This commit is contained in:
Sandro 2021-01-12 16:16:26 +01:00 committed by GitHub
commit 88e9af25b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 0 deletions

View file

@ -8921,6 +8921,12 @@
githubId = 649832;
name = "Teo Klestrup Röijezon";
};
terin = {
email = "terinjokes@gmail.com";
github = "terinjokes";
githubId = 273509;
name = "Terin Stock";
};
terlar = {
email = "terlar@gmail.com";
github = "terlar";

View 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;
};
}

View file

@ -28689,6 +28689,8 @@ in
OSCAR = qt5.callPackage ../applications/misc/OSCAR { };
pcem = callPackage ../misc/emulators/pcem { };
pgmanage = callPackage ../applications/misc/pgmanage { };
pgadmin = callPackage ../applications/misc/pgadmin {