summary refs log tree commit diff
path: root/pkgs/development/interpreters/lolcode/default.nix
blob: 0db23e0efed9c99ed7b861b9bfca587bc37cb23e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ stdenv, fetchurl, pkgconfig, doxygen, cmake }:

with stdenv.lib;
stdenv.mkDerivation rec {

  name = "lolcode-${version}";
  version = "0.10.5";

  src = fetchurl {
    url = "https://github.com/justinmeza/lci/archive/v${version}.tar.gz";
    sha256 = "0g6k1jxnvgjxyidrvgk8pdb8y8mai456j9zpzmvhm6fr22c4skrc";
  };

  buildInputs = [ pkgconfig doxygen cmake ];

  # Maybe it clashes with lci scientific logic software package...
  postInstall = "mv $out/bin/lci $out/bin/lolcode-lci";

  meta = {
    homepage = http://lolcode.org;
    description = "An esoteric programming language";
    longDescription = ''
      LOLCODE is a funny esoteric  programming language, a bit Pascal-like,
      whose keywords are LOLspeak.
    '';
    license = licenses.gpl3;
    maintainers = [ maintainers.AndersonTorres ];
    platforms = stdenv.lib.platforms.unix;
  };

}