2023-09-12 08:44:05 -06:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchgit
|
|
|
|
, gnumake
|
|
|
|
,
|
2023-07-11 09:12:50 -06:00
|
|
|
}:
|
2023-03-27 07:21:19 -06:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "femtolisp";
|
|
|
|
version = "2023-03-27";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.sr.ht/~ft/femtolisp";
|
|
|
|
rev = "52b98fac634a4bdd7cbc0154dcfad639013ed198";
|
|
|
|
hash = "sha256-mh7upbCmWXLhudtaaebBf1XTIv4nYPSh0OAJDOqaQnk=";
|
|
|
|
};
|
|
|
|
|
2023-09-12 08:44:05 -06:00
|
|
|
buildInputs = [ gnumake ];
|
2023-03-27 07:21:19 -06:00
|
|
|
|
|
|
|
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-09-12 08:44:05 -06:00
|
|
|
maintainer = with lib.maintainers; [ qbit ];
|
2023-03-27 07:34:46 -06:00
|
|
|
mainProgram = "flisp";
|
2023-03-27 07:21:19 -06:00
|
|
|
};
|
|
|
|
}
|