lol
at 22.05-pre 42 lines 1.3 kB view raw
1{ lib, stdenv, fetchurl 2, pkg-config 3, bison, flex 4, makeWrapper }: 5 6with lib; 7stdenv.mkDerivation rec { 8 9 pname = "intercal"; 10 version = "0.31"; 11 12 src = fetchurl { 13 url = "http://catb.org/esr/intercal/${pname}-${version}.tar.gz"; 14 sha256 = "1z2gpa5rbqb7jscqlf258k0b0jc7d2zkyipb5csjpj6d3sw45n4k"; 15 }; 16 17 buildInputs = 18 [ pkg-config bison flex makeWrapper ]; 19 20 # Intercal invokes gcc, so we need an explicit PATH 21 postInstall = '' 22 wrapProgram $out/bin/ick --suffix PATH ':' ${stdenv.cc}/bin 23 ''; 24 25 meta = { 26 description = "The original esoteric programming language"; 27 longDescription = '' 28 INTERCAL, an abbreviation for "Compiler Language With No 29 Pronounceable Acronym", is a famously esoterical programming 30 language. It was created in 1972, by Donald R. Woods and James 31 M. Lyon, with the unusual goal of creating a language with no 32 similarities whatsoever to any existing programming 33 languages. The language largely succeeds in this goal, apart 34 from its use of an assignment statement. 35 ''; 36 homepage = "http://www.catb.org/~esr/intercal/"; 37 license = licenses.gpl2Plus; 38 maintainers = [ maintainers.AndersonTorres ]; 39 platforms = platforms.linux; 40 }; 41} 42# TODO: investigate if LD_LIBRARY_PATH needs to be set