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
17 configureFlags = [ "--without-SDL1" ];
18
19 meta = with lib; {
20 description = "LMI (Lambda Lisp Machine) emulator";
21 homepage = "https://github.com/dseagrav/ld";
22 license = licenses.gpl2;
23 maintainers = with maintainers; [ siraben ];
24 platforms = platforms.unix;
25 };
26}