nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 847 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 pkg-config, 7 SDL2, 8}: 9 10stdenv.mkDerivation (finalAttrs: { 11 pname = "lambda-delta"; 12 version = "0.98.3"; 13 14 src = fetchFromGitHub { 15 owner = "dseagrav"; 16 repo = "ld"; 17 rev = finalAttrs.version; 18 sha256 = "02m43fj9dzc1i1jl01qwnhjiq1rh03jw1xq59sx2h3bhn7dk941x"; 19 }; 20 21 patches = [ ./fix-implicit-int.patch ]; 22 23 nativeBuildInputs = [ 24 autoreconfHook 25 pkg-config 26 ]; 27 buildInputs = [ SDL2 ]; 28 env = lib.optionalAttrs stdenv.cc.isClang { 29 NIX_CFLAGS_COMPILE = "-std=c89"; 30 }; 31 32 configureFlags = [ "--without-SDL1" ]; 33 34 meta = { 35 description = "LMI (Lambda Lisp Machine) emulator"; 36 homepage = "https://github.com/dseagrav/ld"; 37 license = lib.licenses.gpl2; 38 maintainers = with lib.maintainers; [ siraben ]; 39 platforms = lib.platforms.unix; 40 }; 41})