nixpkgs/pkgs/development/interpreters/lolcode/default.nix

33 lines
906 B
Nix
Raw Normal View History

2016-08-10 02:41:30 +02:00
{ stdenv, fetchurl, pkgconfig, doxygen, cmake, readline }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "lolcode-${version}";
2016-04-12 22:20:57 +02:00
version = "0.11.2";
src = fetchurl {
url = "https://github.com/justinmeza/lci/archive/v${version}.tar.gz";
2016-04-12 22:20:57 +02:00
sha256 = "1li7ikcrs7wqah7gqkirg0k61n6pm12w7pydin966x1sdn9na46b";
};
2016-08-10 02:41:30 +02:00
nativeBuildInputs = [ pkgconfig cmake doxygen ];
buildInputs = [ readline ];
# 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;
};
}