nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 35 lines 932 B view raw
1{ lib, stdenv, fetchFromGitHub, pkg-config, doxygen, cmake, readline }: 2 3with lib; 4stdenv.mkDerivation rec { 5 6 pname = "lolcode"; 7 version = "0.11.2"; 8 9 src = fetchFromGitHub { 10 owner = "justinmeza"; 11 repo = "lci"; 12 rev = "v${version}"; 13 sha256 = "sha256-VMBW3/sw+1kI6iuOckSPU1TIeY6QORcSfFLFkRYw3Gs="; 14 }; 15 16 nativeBuildInputs = [ pkg-config cmake doxygen ]; 17 buildInputs = [ readline ]; 18 19 # Maybe it clashes with lci scientific logic software package... 20 postInstall = "mv $out/bin/lci $out/bin/lolcode-lci"; 21 22 meta = { 23 homepage = "http://lolcode.org"; 24 description = "An esoteric programming language"; 25 longDescription = '' 26 LOLCODE is a funny esoteric programming language, a bit Pascal-like, 27 whose keywords are LOLspeak. 28 ''; 29 license = licenses.gpl3; 30 maintainers = [ maintainers.AndersonTorres ]; 31 mainProgram = "lolcode-lci"; 32 platforms = lib.platforms.unix; 33 }; 34 35}