basiliskii: init at unstable-2022-04-05

authored by

Quag and committed by
ehmry
b56b2401 263292cb

+46
+6
maintainers/maintainer-list.nix
··· 10210 githubId = 115877; 10211 name = "Kenny Shen"; 10212 }; 10213 queezle = { 10214 email = "git@queezle.net"; 10215 github = "qzle";
··· 10210 githubId = 115877; 10211 name = "Kenny Shen"; 10212 }; 10213 + quag = { 10214 + email = "quaggy@gmail.com"; 10215 + github = "quag"; 10216 + githubId = 35086; 10217 + name = "Jonathan Wright"; 10218 + }; 10219 queezle = { 10220 email = "git@queezle.net"; 10221 github = "qzle";
+28
pkgs/applications/emulators/basiliskii/default.nix
···
··· 1 + { stdenv, lib, fetchFromGitHub, autoconf, automake, pkg-config, SDL2, gtk2 }: 2 + stdenv.mkDerivation { 3 + pname = "basiliskii"; 4 + version = "unstable-2022-04-05"; 5 + 6 + src = fetchFromGitHub { 7 + owner = "kanjitalk755"; 8 + repo = "macemu"; 9 + rev = "d4baa318e49a29d7ea5fc71a637191d6c470546f"; 10 + sha256 = "jBKTC2fIPJ6mSkMABNxcd2ujXJ+duCXw291iz5ZmiVg="; 11 + }; 12 + sourceRoot = "source/BasiliskII/src/Unix"; 13 + patches = [ ./remove-redhat-6-workaround-for-scsi-sg.h.patch ]; 14 + nativeBuildInputs = [ autoconf automake pkg-config ]; 15 + buildInputs = [ SDL2 gtk2 ]; 16 + preConfigure = '' 17 + NO_CONFIGURE=1 ./autogen.sh 18 + ''; 19 + configureFlags = [ "--enable-sdl-video" "--enable-sdl-audio" "--with-bincue" ]; 20 + 21 + meta = with lib; { 22 + description = "68k Macintosh emulator"; 23 + homepage = "https://basilisk.cebix.net/"; 24 + license = licenses.gpl2; 25 + maintainers = with maintainers; [ quag ]; 26 + platforms = platforms.linux; 27 + }; 28 + }
+10
pkgs/applications/emulators/basiliskii/remove-redhat-6-workaround-for-scsi-sg.h.patch
···
··· 1 + diff --git a/Linux/scsi_linux.cpp b/Linux/scsi_linux.cpp 2 + --- a/Linux/scsi_linux.cpp 3 + +++ b/Linux/scsi_linux.cpp 4 + @@ -22,5 +22,5 @@ 5 + #include <sys/ioctl.h> 6 + #include <linux/param.h> 7 + -#include <linux/../scsi/sg.h> // workaround for broken RedHat 6.0 /usr/include/scsi 8 + +#include <scsi/sg.h> 9 + #include <unistd.h> 10 + #include <errno.h>
+2
pkgs/top-level/all-packages.nix
··· 33209 33210 avell-unofficial-control-center = python3Packages.callPackage ../applications/misc/avell-unofficial-control-center { }; 33211 33212 beep = callPackage ../misc/beep { }; 33213 33214 bees = callPackage ../tools/filesystems/bees { };
··· 33209 33210 avell-unofficial-control-center = python3Packages.callPackage ../applications/misc/avell-unofficial-control-center { }; 33211 33212 + basiliskii = callPackage ../applications/emulators/basiliskii { }; 33213 + 33214 beep = callPackage ../misc/beep { }; 33215 33216 bees = callPackage ../tools/filesystems/bees { };