1 { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, SDL2 }:
3 stdenv.mkDerivation rec {
4 pname = "lambda-delta";
7 src = fetchFromGitHub {
11 sha256 = "02m43fj9dzc1i1jl01qwnhjiq1rh03jw1xq59sx2h3bhn7dk941x";
14 nativeBuildInputs = [ autoreconfHook pkg-config ];
15 buildInputs = [ SDL2 ];
16 env = lib.optionalAttrs stdenv.cc.isClang {
17 NIX_CFLAGS_COMPILE = "-std=c89";
21 configureFlags = [ "--without-SDL1" ];
24 description = "LMI (Lambda Lisp Machine) emulator";
25 homepage = "https://github.com/dseagrav/ld";
26 license = licenses.gpl2;
27 maintainers = with maintainers; [ siraben ];
28 platforms = platforms.unix;