mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00

They are not doing anything right now. This is in preparation for their complete removal from the tree. Note: several changes that affect the derivation inputs (e.g. removal of references to stub paths in build instructions) were left out. They will be cleaned up the next iteration and will require special care. Note: this PR is a result of a mix of ugly regex (not AST) based automation and some manual labor. For reference, the regex automation part was hacked in: https://github.com/booxter/nix-clean-apple_sdk Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
45 lines
996 B
Nix
45 lines
996 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
nixosTests,
|
|
alsa-lib,
|
|
SDL2,
|
|
libiconv,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ft2-clone";
|
|
version = "1.95";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "8bitbubsy";
|
|
repo = "ft2-clone";
|
|
rev = "v${version}";
|
|
hash = "sha256-Xb4LHoon56P6OmHvd7RkODrOc4MDa0+U8npypGhcyw4=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs =
|
|
[ SDL2 ]
|
|
++ lib.optional stdenv.hostPlatform.isLinux alsa-lib
|
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
|
libiconv
|
|
];
|
|
|
|
passthru.tests = {
|
|
ft2-clone-starts = nixosTests.ft2-clone;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Highly accurate clone of the classic Fasttracker II software for MS-DOS";
|
|
homepage = "https://16-bits.org/ft2.php";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ fgaz ];
|
|
# From HOW-TO-COMPILE.txt:
|
|
# > This code is NOT big-endian compatible
|
|
platforms = platforms.littleEndian;
|
|
mainProgram = "ft2-clone";
|
|
};
|
|
}
|