nixpkgs/pkgs/development/interpreters/lolcode/default.nix
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00

33 lines
900 B
Nix

{ stdenv, fetchurl, pkg-config, doxygen, cmake, readline }:
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "lolcode";
version = "0.11.2";
src = fetchurl {
url = "https://github.com/justinmeza/lci/archive/v${version}.tar.gz";
sha256 = "1li7ikcrs7wqah7gqkirg0k61n6pm12w7pydin966x1sdn9na46b";
};
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 = {
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;
};
}