1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

fix: traadfri

This commit is contained in:
Kierán Meinhardt
2020-01-22 16:39:49 +01:00
parent 7fc9a76633
commit 09370e800a
3 changed files with 11 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
{ fetchFromGitHub, automake, autoconf, which, libtool, stdenv }:
{ lib, fetchFromGitHub, automake, autoconf, which, libtool, stdenv, gnutls, tls ? false }:
stdenv.mkDerivation {
name = "libcoap";
src = fetchFromGitHub {
@@ -13,12 +13,12 @@ stdenv.mkDerivation {
autoconf
which
libtool
];
] ++ lib.optional tls gnutls;
preConfigure = "./autogen.sh";
configureFlags = [
"--disable-documentation"
"--disable-shared"
];
] ++ lib.optional tls "--enable-dtls";
meta = with stdenv.lib; {
homepage = "https://github.com/obgm/libcoap";
description = "A CoAP (RFC 7252) implementation in C";