2022-01-07 16:12:14 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, doxygen, cmake, readline }:
|
2015-02-04 02:27:14 +00:00
|
|
|
|
2021-01-23 13:15:07 +00:00
|
|
|
with lib;
|
2015-02-04 02:27:14 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "lolcode";
|
2016-04-12 21:20:57 +01:00
|
|
|
version = "0.11.2";
|
2015-02-04 02:27:14 +00:00
|
|
|
|
2022-01-07 16:12:14 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "justinmeza";
|
|
|
|
repo = "lci";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-VMBW3/sw+1kI6iuOckSPU1TIeY6QORcSfFLFkRYw3Gs=";
|
2015-02-04 02:27:14 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config cmake doxygen ];
|
2016-08-10 01:41:30 +01:00
|
|
|
buildInputs = [ readline ];
|
2015-02-04 02:27:14 +00:00
|
|
|
|
|
|
|
# Maybe it clashes with lci scientific logic software package...
|
|
|
|
postInstall = "mv $out/bin/lci $out/bin/lolcode-lci";
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://lolcode.org";
|
2015-02-04 02:27:14 +00:00
|
|
|
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 ];
|
2021-01-23 13:15:07 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2015-02-04 02:27:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|