at master 46 lines 931 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 pkg-config, 6 doxygen, 7 cmake, 8 readline, 9}: 10 11stdenv.mkDerivation rec { 12 13 pname = "lolcode"; 14 version = "0.11.2"; 15 16 src = fetchFromGitHub { 17 owner = "justinmeza"; 18 repo = "lci"; 19 rev = "v${version}"; 20 sha256 = "sha256-VMBW3/sw+1kI6iuOckSPU1TIeY6QORcSfFLFkRYw3Gs="; 21 }; 22 23 nativeBuildInputs = [ 24 pkg-config 25 cmake 26 doxygen 27 ]; 28 buildInputs = [ readline ]; 29 30 # Maybe it clashes with lci scientific logic software package... 31 postInstall = "mv $out/bin/lci $out/bin/lolcode-lci"; 32 33 meta = with lib; { 34 homepage = "http://lolcode.org"; 35 description = "Esoteric programming language"; 36 longDescription = '' 37 LOLCODE is a funny esoteric programming language, a bit Pascal-like, 38 whose keywords are LOLspeak. 39 ''; 40 license = licenses.gpl3; 41 maintainers = [ ]; 42 mainProgram = "lolcode-lci"; 43 platforms = lib.platforms.unix; 44 }; 45 46}