3
0
Fork 0
forked from mirrors/nixpkgs

fennel: init at 0.9.2

This commit is contained in:
Maas Lalani 2021-07-10 15:37:57 -04:00
parent 336494e19f
commit 93d219c8b6
No known key found for this signature in database
GPG key ID: 9AB4F1966A584BE5
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib, stdenv, fetchFromSourcehut, installShellFiles, lua }:
stdenv.mkDerivation rec {
pname = "fennel";
version = "0.9.2";
src = fetchFromSourcehut {
owner = "~technomancy";
repo = pname;
rev = version;
sha256 = "1kpm3lzxzwkhxm4ghpbx8iw0ni7gb73y68lsc3ll2rcx0fwv9303";
};
nativeBuildInputs = [ installShellFiles ];
buildInputs = [ lua ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
postInstall = ''
installManPage fennel.1
'';
meta = with lib; {
description = "A Lua Lisp language";
homepage = "https://fennel-lang.org/";
license = licenses.mit;
platforms = lua.meta.platforms;
maintainers = [ maintainers.maaslalani ];
};
}

View file

@ -10760,6 +10760,8 @@ in
fasmg = callPackage ../development/compilers/fasmg { };
fennel = callPackage ../development/compilers/fennel { };
flasm = callPackage ../development/compilers/flasm { };
flyctl = callPackage ../development/web/flyctl { };