1
0
mirror of https://github.com/kmein/niveum synced 2026-03-21 20:31:07 +01:00

chore: nixfmt

This commit is contained in:
Kierán Meinhardt
2020-06-10 17:37:25 +02:00
parent 2c3957735b
commit d8a4d4eedf
90 changed files with 1461 additions and 985 deletions

View File

@@ -1,4 +1,5 @@
{ lib, fetchFromGitHub, automake, autoconf, which, libtool, stdenv, gnutls, tls ? false }:
{ lib, fetchFromGitHub, automake, autoconf, which, libtool, stdenv, gnutls
, tls ? false }:
stdenv.mkDerivation {
name = "libcoap";
src = fetchFromGitHub {
@@ -8,17 +9,10 @@ stdenv.mkDerivation {
sha256 = "1nic584jwkndg0w831h0fnxk0zx0apf2lw5md079m3di7zcxs6bw";
fetchSubmodules = true;
};
buildInputs = [
automake
autoconf
which
libtool
] ++ lib.optional tls gnutls;
buildInputs = [ automake autoconf which libtool ] ++ lib.optional tls gnutls;
preConfigure = "./autogen.sh";
configureFlags = [
"--disable-documentation"
"--disable-shared"
] ++ lib.optional tls "--enable-dtls";
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";