mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
f1c1835311
https://git.sr.ht/~technomancy/fennel/tree/1.0.0/changelog.md#100--2021-11-14 Resolves #146076
32 lines
696 B
Nix
32 lines
696 B
Nix
{ lib, stdenv, fetchFromSourcehut, installShellFiles, lua }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fennel";
|
|
version = "1.0.0";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~technomancy";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-HhxFTWC1gBY76pQzhn6EdgYHpYQr9zkUox0r4YC7mTQ=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|