14 stdenv.mkDerivation rec {
18 src = fetchFromGitHub {
22 hash = "sha256-3ylzroIp3d5u6meP7guu+NlYGTqy9UUjIi9box7NbXI=";
25 nativeBuildInputs = [ cmake ];
26 buildInputs = [ SDL2 ]
27 ++ lib.optional stdenv.hostPlatform.isLinux alsa-lib
28 ++ lib.optionals stdenv.hostPlatform.isDarwin [
37 ft2-clone-starts = nixosTests.ft2-clone;
41 description = "Highly accurate clone of the classic Fasttracker II software for MS-DOS";
42 homepage = "https://16-bits.org/ft2.php";
43 license = licenses.bsd3;
44 maintainers = with maintainers; [ fgaz ];
45 # From HOW-TO-COMPILE.txt:
46 # > This code is NOT big-endian compatible
47 platforms = platforms.littleEndian;
48 mainProgram = "ft2-clone";