pkgs/femtolisp: init at 52b98fac634a4bdd7cbc0154dcfad639013ed198

This commit is contained in:
Aaron Bieber 2023-03-27 07:21:19 -06:00
parent 19d5ef64f1
commit 04876b7941
No known key found for this signature in database
2 changed files with 34 additions and 0 deletions

View File

@ -234,6 +234,7 @@
inherit pkgs;
isUnstable = true;
};
femtolisp = pkgs.callPackage ./pkgs/femtolisp.nix { };
kurinto = pkgs.callPackage ./pkgs/kurinto.nix { };
mcchunkie = pkgs.callPackage ./pkgs/mcchunkie.nix { inherit pkgs; };
yaegi = pkgs.callPackage ./pkgs/yaegi.nix { inherit pkgs; };

33
pkgs/femtolisp.nix Normal file
View File

@ -0,0 +1,33 @@
{
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=";
};
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;
maintainer = with lib.maintainers; [ qbit ];
};
}