2022-01-13 20:06:32 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, doxygen, cmake, readline }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
pname = "lolcode";
|
|
|
|
version = "0.11.2";
|
|
|
|
|
2022-01-13 20:06:32 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "justinmeza";
|
|
|
|
repo = "lci";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-VMBW3/sw+1kI6iuOckSPU1TIeY6QORcSfFLFkRYw3Gs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config cmake doxygen ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ readline ];
|
|
|
|
|
|
|
|
# Maybe it clashes with lci scientific logic software package...
|
|
|
|
postInstall = "mv $out/bin/lci $out/bin/lolcode-lci";
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
2022-04-27 09:35:20 +00:00
|
|
|
mainProgram = "lolcode-lci";
|
2021-02-05 17:12:51 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|