summary refs log tree commit diff
path: root/pkgs/applications/emulators/lambda-delta/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/emulators/lambda-delta/default.nix')
-rw-r--r--pkgs/applications/emulators/lambda-delta/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/lambda-delta/default.nix b/pkgs/applications/emulators/lambda-delta/default.nix
new file mode 100644
index 00000000000..a17a0eadfd5
--- /dev/null
+++ b/pkgs/applications/emulators/lambda-delta/default.nix
@@ -0,0 +1,26 @@
+{ lib, 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 lib; {
+    description = "LMI (Lambda Lisp Machine) emulator";
+    homepage = "https://github.com/dseagrav/ld";
+    license = licenses.gpl2;
+    maintainers = with maintainers; [ siraben ];
+    platforms = platforms.unix;
+  };
+}