2008-05-11 13:46:48 +02:00
|
|
|
{stdenv, fetchurl, curl}:
|
|
|
|
|
2008-08-29 23:54:26 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libmicrohttpd-0.3.1";
|
2008-05-11 13:46:48 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-08-29 23:54:26 +02:00
|
|
|
url = "mirror://gnu/libmicrohttpd/${name}.tar.gz";
|
|
|
|
sha256 = "1zv8a7lwypwbwzam5jvr35wvxb13chyh0ir18k82nzm9q5s3v3n3";
|
2008-05-11 13:46:48 +02:00
|
|
|
};
|
|
|
|
|
2008-08-29 23:54:26 +02:00
|
|
|
buildInputs = [ curl ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "GNU libmicrohttpd, an embeddable HTTP server library";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
GNU libmicrohttpd is a small C library that is supposed to make
|
|
|
|
it easy to run an HTTP server as part of another application.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = "LGPLv2+";
|
|
|
|
|
|
|
|
homepage = http://www.gnu.org/software/libmicrohttpd/;
|
|
|
|
};
|
2008-05-11 13:46:48 +02:00
|
|
|
}
|