aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/misc/emulators/lambda-delta/default.nix
blob: 0668d2db90864ef7115dc403f945c8c1dc1d4d74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, SDL2 }:

stdenv.mkDerivation rec {
  pname = "lambda-delta";
  version = "0.98.3";

  src = fetchFromGitHub {
    owner = "dseagrav";
    repo = "ld";
    rev = version;
    sha256 = "02m43fj9dzc1i1jl01qwnhjiq1rh03jw1xq59sx2h3bhn7dk941x";
  };

  nativeBuildInputs = [ autoreconfHook pkg-config ];
  buildInputs = [ SDL2 ];

  configureFlags = [ "--without-SDL1" ];

  meta = with stdenv.lib; {
    description = "LMI (Lambda Lisp Machine) emulator";
    homepage = "https://github.com/dseagrav/ld";
    license = licenses.gpl2;
    maintainers = with maintainers; [ siraben ];
    platforms = platforms.unix;
  };
}