Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
781 B
Nix
40 lines
781 B
Nix
{
|
|
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 ];
|
|
env = lib.optionalAttrs stdenv.cc.isClang {
|
|
NIX_CFLAGS_COMPILE = "-std=c89";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|