nixpkgs/pkgs/by-name/lo/lolcode/package.nix
Anderson Torres f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00

34 lines
929 B
Nix

{ lib, stdenv, fetchFromGitHub, pkg-config, doxygen, cmake, readline }:
stdenv.mkDerivation rec {
pname = "lolcode";
version = "0.11.2";
src = fetchFromGitHub {
owner = "justinmeza";
repo = "lci";
rev = "v${version}";
sha256 = "sha256-VMBW3/sw+1kI6iuOckSPU1TIeY6QORcSfFLFkRYw3Gs=";
};
nativeBuildInputs = [ pkg-config cmake doxygen ];
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 = "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;
};
}