Unverified Commit 4c32f4a6 authored by Austin Horstman's avatar Austin Horstman
Browse files

luaformatter: format

parent fa6220fc
Loading
Loading
Loading
Loading
+15 −4
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, substituteAll, antlr4_9, libargs, catch2, cmake, yaml-cpp }:

{
  lib,
  stdenv,
  fetchFromGitHub,
  substituteAll,
  antlr4_9,
  libargs,
  catch2,
  cmake,
  yaml-cpp,
}:
let
  antlr4 = antlr4_9;
in

stdenv.mkDerivation rec {
  pname = "luaformatter";
  version = "1.3.6";
@@ -25,7 +33,10 @@ stdenv.mkDerivation rec {

  nativeBuildInputs = [ cmake ];

  buildInputs = [ antlr4.runtime.cpp yaml-cpp ];
  buildInputs = [
    antlr4.runtime.cpp
    yaml-cpp
  ];

  env.NIX_CFLAGS_COMPILE = lib.optionalString (
    stdenv.isDarwin && stdenv.isx86_64