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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
932 B
Nix
Raw Normal View History

2022-01-07 16:12:14 +00:00
{ lib, stdenv, fetchFromGitHub, pkg-config, doxygen, cmake, readline }:
stdenv.mkDerivation rec {
pname = "lolcode";
2016-04-12 20:20:57 +00:00
version = "0.11.2";
2022-01-07 16:12:14 +00:00
src = fetchFromGitHub {
owner = "justinmeza";
repo = "lci";
rev = "v${version}";
sha256 = "sha256-VMBW3/sw+1kI6iuOckSPU1TIeY6QORcSfFLFkRYw3Gs=";
};
nativeBuildInputs = [ pkg-config cmake doxygen ];
2016-08-10 00:41:30 +00:00
buildInputs = [ readline ];
# Maybe it clashes with lci scientific logic software package...
postInstall = "mv $out/bin/lci $out/bin/lolcode-lci";
meta = with lib; {
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 ];
mainProgram = "lolcode-lci";
platforms = lib.platforms.unix;
};
}