liminix

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

default.nix (448B)


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