depot/third_party/nixpkgs/pkgs/development/compilers/fennel/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

31 lines
696 B
Nix

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