Commit bec99c5a authored by Jacob Moody's avatar Jacob Moody Committed by Anderson Torres
Browse files

femtolisp: init at 2023-07-12

parent f0d806cb
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromSourcehut
, unstableGitUpdater
}:

stdenv.mkDerivation {
  pname = "femtolisp";
  version = "unstable-2023-07-12";

  src = fetchFromSourcehut {
    owner = "~ft";
    repo = "femtolisp";
    rev = "b3a21a0ff408e559639f6c31e1a2ab970787567f";
    hash = "sha256-PE/xYhfhn0xv/kJWsS07fOF2n5sXP666vy7OVaNxc7Y=";
  };

  strictDeps = true;

  enableParallelBuilding = true;

  installPhase = ''
    runHook preInstall

    install -Dm755 -t $out/bin/ flisp

    runHook postInstall
  '';

  passthru.updateScript = unstableGitUpdater { };

  meta = {
    description = "A compact interpreter for a minimal lisp/scheme dialect";
    homepage = "https://git.sr.ht/~ft/femtolisp";
    license = with lib.licenses; [ mit bsd3 ];
    maintainers = with lib.maintainers; [ moody ];
    broken = stdenv.isDarwin;
    platforms = lib.platforms.unix;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -591,6 +591,8 @@ with pkgs;
  faq = callPackage ../development/tools/faq { };
  femtolisp = callPackage ../development/interpreters/femtolisp { };
  figma-agent = callPackage ../applications/graphics/figma-agent { };
  figma-linux = callPackage ../applications/graphics/figma-linux { };