mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
fix: traadfri
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user