1{ stdenv, fetchurl, pkgconfig, doxygen, cmake, readline }:
2
3with stdenv.lib;
4stdenv.mkDerivation rec {
5
6 name = "lolcode-${version}";
7 version = "0.11.2";
8
9 src = fetchurl {
10 url = "https://github.com/justinmeza/lci/archive/v${version}.tar.gz";
11 sha256 = "1li7ikcrs7wqah7gqkirg0k61n6pm12w7pydin966x1sdn9na46b";
12 };
13
14 nativeBuildInputs = [ pkgconfig cmake doxygen ];
15 buildInputs = [ readline ];
16
17 # Maybe it clashes with lci scientific logic software package...
18 postInstall = "mv $out/bin/lci $out/bin/lolcode-lci";
19
20 meta = {
21 homepage = http://lolcode.org;
22 description = "An esoteric programming language";
23 longDescription = ''
24 LOLCODE is a funny esoteric programming language, a bit Pascal-like,
25 whose keywords are LOLspeak.
26 '';
27 license = licenses.gpl3;
28 maintainers = [ maintainers.AndersonTorres ];
29 platforms = stdenv.lib.platforms.unix;
30 };
31
32}