nixpkgs/pkgs/development/compilers/fennel/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
696 B
Nix
Raw Normal View History

2021-07-10 21:37:57 +02:00
{ lib, stdenv, fetchFromSourcehut, installShellFiles, lua }:
stdenv.mkDerivation rec {
pname = "fennel";
2022-04-11 10:23:49 +02:00
version = "1.1.0";
2021-07-10 21:37:57 +02:00
src = fetchFromSourcehut {
owner = "~technomancy";
repo = pname;
rev = version;
2022-04-11 10:23:49 +02:00
sha256 = "sha256-3Pfl/KNwuGCkZjG/FlF6K2IQHwJQbWsCBmJpLizr1ng=";
2021-07-10 21:37:57 +02:00
};
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 ];
};
}