depot/third_party/nixpkgs/pkgs/development/compilers/fennel/default.nix
Default email 69f1308e7b Project import generated by Copybara.
GitOrigin-RevId: 4138cbd913fad85073e59007710e3f083d0eb7c6
2021-08-12 08:41:47 -06:00

31 lines
697 B
Nix

{ lib, stdenv, fetchFromSourcehut, installShellFiles, lua }:
stdenv.mkDerivation rec {
pname = "fennel";
version = "0.10.0";
src = fetchFromSourcehut {
owner = "~technomancy";
repo = pname;
rev = version;
sha256 = "sha256-/xCnaDNZJTBGxIgjPUVeEyMVeRWg8RCNuo5nPpLrJXY=";
};
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 ];
};
}