Unverified Commit ab48d62f authored by Nikolay Korotkiy's avatar Nikolay Korotkiy
Browse files

libhv: format

parent 842cc081
Loading
Loading
Loading
Loading
+13 −2
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, cmake, curl, openssl, Security }:
{
  lib,
  stdenv,
  fetchFromGitHub,
  cmake,
  curl,
  openssl,
  Security,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "libhv";
@@ -13,7 +21,10 @@ stdenv.mkDerivation (finalAttrs: {

  nativeBuildInputs = [ cmake ];

  buildInputs = [ curl openssl ] ++ lib.optional stdenv.hostPlatform.isDarwin Security;
  buildInputs = [
    curl
    openssl
  ] ++ lib.optional stdenv.hostPlatform.isDarwin Security;

  cmakeFlags = [
    "-DENABLE_UDS=ON"