diff options
author | Maas Lalani <maaslalani0@gmail.com> | 2021-07-10 15:37:57 -0400 |
---|---|---|
committer | Maas Lalani <maaslalani0@gmail.com> | 2021-07-11 11:47:19 -0400 |
commit | 93d219c8b640f987f5c4d4218ab75811e7bb5497 (patch) | |
tree | 27e701bf312e441477b5293448edba66154b2753 /pkgs/development/compilers/fennel | |
parent | 336494e19f4110a9024f994a5628743f77fbade2 (diff) |
fennel: init at 0.9.2
Diffstat (limited to 'pkgs/development/compilers/fennel')
-rw-r--r-- | pkgs/development/compilers/fennel/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/compilers/fennel/default.nix b/pkgs/development/compilers/fennel/default.nix new file mode 100644 index 0000000000000..6165a522c3aa0 --- /dev/null +++ b/pkgs/development/compilers/fennel/default.nix @@ -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 ]; + }; +} |