liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

default.nix (444B)


      1 {
      2   stdenv,
      3   lua,
      4   fetchFromSourcehut,
      5 }:
      6 let
      7   pname = "fennel";
      8 in
      9 stdenv.mkDerivation {
     10   inherit pname;
     11   version = "1.3";
     12   nativeBuildInputs = [ lua ]; # used in build
     13   buildInputs = [ lua ]; # needed for patchShebangs
     14   src = fetchFromSourcehut {
     15     owner = "~technomancy";
     16     repo = pname;
     17     rev = "1.3.0";
     18     hash = "sha256-DXJOdYzfjTncqL7BsDbdvZcauDMkZV2X0U0FfhfwQrw=";
     19   };
     20   makeFlags = [ "PREFIX=${placeholder "out"}" ];
     21 }