Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pcem: init at 17 #108907

Merged
merged 2 commits into from
Jan 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8879,6 +8879,12 @@
githubId = 649832;
name = "Teo Klestrup Röijezon";
};
terin = {
terinjokes marked this conversation as resolved.
Show resolved Hide resolved
email = "terinjokes@gmail.com";
github = "terinjokes";
githubId = 273509;
name = "Terin Stock";
};
terlar = {
email = "terlar@gmail.com";
github = "terlar";
Expand Down
29 changes: 29 additions & 0 deletions pkgs/misc/emulators/pcem/default.nix
Original file line number Diff line number Diff line change
@@ -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";

terinjokes marked this conversation as resolved.
Show resolved Hide resolved
src = fetchzip {
url = "https://pcem-emulator.co.uk/files/PCemV${version}Linux.tar.gz";
stripRoot = false;
sha256 = "067pbnc15h6a4pnnym82klr1w8qwfm6p0pkx93gx06wvwqsxvbdv";
};
terinjokes marked this conversation as resolved.
Show resolved Hide resolved

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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down