From 7ab6fe7900714ff0d2ca96ec8bbfc4f880558e86 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Sun, 11 May 2008 11:46:48 +0000 Subject: [PATCH] add libmicrohttpd svn path=/nixpkgs/trunk/; revision=11813 --- pkgs/development/libraries/libmicrohttpd/default.nix | 12 ++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/development/libraries/libmicrohttpd/default.nix diff --git a/pkgs/development/libraries/libmicrohttpd/default.nix b/pkgs/development/libraries/libmicrohttpd/default.nix new file mode 100644 index 000000000000..17fdd6bc1d58 --- /dev/null +++ b/pkgs/development/libraries/libmicrohttpd/default.nix @@ -0,0 +1,12 @@ +{stdenv, fetchurl, curl}: + +stdenv.mkDerivation { + name = "libmicrohttpd-0.3.0"; + + src = fetchurl { + url = ftp://ftp.nluug.nl/pub/gnu/libmicrohttpd/libmicrohttpd-0.3.0.tar.gz; + sha256 = "1m3c9akpdx2lg7klqxv5vbwjr9vwfx5k0aqn8zmf6rpdgk5c3bii"; + }; + + buildInputs = [curl]; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 38c2ea567abd..c3fa3c3c88a7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2850,6 +2850,10 @@ let pkgs = rec { inherit fetchurl stdenv pkgconfig libmowgli; }; + libmicrohttpd = import ../development/libraries/libmicrohttpd { + inherit fetchurl stdenv curl; + }; + libmowgli = import ../development/libraries/libmowgli { inherit fetchurl stdenv; };