at 24.11-pre 30 lines 759 B view raw
1{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, SDL2 }: 2 3stdenv.mkDerivation rec { 4 pname = "lambda-delta"; 5 version = "0.98.3"; 6 7 src = fetchFromGitHub { 8 owner = "dseagrav"; 9 repo = "ld"; 10 rev = version; 11 sha256 = "02m43fj9dzc1i1jl01qwnhjiq1rh03jw1xq59sx2h3bhn7dk941x"; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook pkg-config ]; 15 buildInputs = [ SDL2 ]; 16 env = lib.optionalAttrs stdenv.cc.isClang { 17 NIX_CFLAGS_COMPILE = "-std=c89"; 18 }; 19 20 21 configureFlags = [ "--without-SDL1" ]; 22 23 meta = with lib; { 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; 29 }; 30}