install fennel from source as a package
nixos lua packaging is giving me a headache
This commit is contained in:
1 parent
41687e916d
commit
24befe6bf7
3 files changed
+40
-24
No files matched your search
@@ -0,0 +1,19 @@
|
||||
{
|
||||
stdenv
|
||||
, lua
|
||||
, fetchFromSourcehut
|
||||
}:
|
||||
let pname = "fennel";
|
||||
in stdenv.mkDerivation {
|
||||
inherit pname;
|
||||
version = "1.3";
|
||||
nativeBuildInputs = [ lua ]; # used in build
|
||||
buildInputs = [ lua ]; # needed for patchShebangs
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~technomancy";
|
||||
repo = pname;
|
||||
rev = "1.3.0";
|
||||
hash = "sha256-DXJOdYzfjTncqL7BsDbdvZcauDMkZV2X0U0FfhfwQrw=";
|
||||
};
|
||||
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||
}
|
||||
Reference in new issue
Block a user