xin/pkgs/femtolisp.nix

32 lines
659 B
Nix
Raw Permalink Normal View History

2023-07-11 09:12:50 -06:00
{
stdenv,
lib,
fetchgit,
gnumake,
}:
stdenv.mkDerivation {
pname = "femtolisp";
version = "2023-03-27";
src = fetchgit {
url = "https://git.sr.ht/~ft/femtolisp";
rev = "52b98fac634a4bdd7cbc0154dcfad639013ed198";
hash = "sha256-mh7upbCmWXLhudtaaebBf1XTIv4nYPSh0OAJDOqaQnk=";
};
2023-07-11 09:12:50 -06:00
buildInputs = [gnumake];
installPhase = ''
mkdir -p $out/bin
cp flisp $out/bin
'';
meta = {
description = "A compact interpreter for a minimal lisp/scheme dialect.";
homepage = "https://git.sr.ht/~ft/femtolisp";
license = lib.licenses.bsd3;
2023-07-11 09:12:50 -06:00
maintainer = with lib.maintainers; [qbit];
mainProgram = "flisp";
};
}