2023-07-04 21:56:17 +00:00
|
|
|
{
|
2024-06-30 15:58:29 +00:00
|
|
|
stdenv,
|
|
|
|
lua,
|
|
|
|
fetchFromSourcehut,
|
2023-07-04 21:56:17 +00:00
|
|
|
}:
|
2025-02-10 21:55:08 +00:00
|
|
|
let
|
|
|
|
pname = "fennel";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
2023-07-04 21:56:17 +00:00
|
|
|
inherit pname;
|
|
|
|
version = "1.3";
|
2025-02-10 21:55:08 +00:00
|
|
|
nativeBuildInputs = [ lua ]; # used in build
|
|
|
|
buildInputs = [ lua ]; # needed for patchShebangs
|
2023-07-04 21:56:17 +00:00
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~technomancy";
|
|
|
|
repo = pname;
|
|
|
|
rev = "1.3.0";
|
|
|
|
hash = "sha256-DXJOdYzfjTncqL7BsDbdvZcauDMkZV2X0U0FfhfwQrw=";
|
|
|
|
};
|
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
}
|