mirror of
https://github.com/kmein/niveum
synced 2026-03-19 03:21:10 +01:00
catullus: add libcoap
This commit is contained in:
29
packages/libcoap.nix
Normal file
29
packages/libcoap.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ fetchFromGitHub, automake, autoconf, which, libtool, stdenv }:
|
||||
stdenv.mkDerivation {
|
||||
name = "libcoap";
|
||||
src = fetchFromGitHub {
|
||||
repo = "libcoap";
|
||||
owner = "obgm";
|
||||
rev = "25863042ae1e95138776f65c772f9fa6ce60495c";
|
||||
fetchSubmodules = true;
|
||||
sha256 = "1nic584jwkndg0w831h0fnxk0zx0apf2lw5md079m3di7zcxs6bw";
|
||||
};
|
||||
buildInputs = [
|
||||
automake
|
||||
autoconf
|
||||
which
|
||||
libtool
|
||||
];
|
||||
preConfigure = ''./autogen.sh'';
|
||||
configureFlags = [
|
||||
"--disable-documentation"
|
||||
"--disable-shared"
|
||||
];
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/obgm/libcoap;
|
||||
description = "A CoAP (RFC 7252) implementation in C";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.bsd2;
|
||||
maintainers = [ maintainers.kmein ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user