mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
fda26c8476
* master: (271 commits) pysmbc: clarify license pysmbc: fix license bazel: 0.5.4 -> 0.6.0 (#29990) googler: init at 3.3 go: declare support for aarch64 firefox-beta-bin: 56.0b5 -> 57.0b4 spotify: 1.0.64.401.g9d720389-21 -> 1.0.64.407.g9bd02c2d-26 gogs: 0.11.19 -> 0.11.29 grafana: 4.5.1 -> 4.5.2 mopidy-iris: 3.4.1 -> 3.4.9 nextcloud: 12.0.2 -> 12.0.3 haskell-json-autotype: jailbreak to fix build within LTS 9.x kore: fix up kore: init at 2.0.0 glusterfs service: fix issues with useRpcbind tig: 2.2.2 -> 2.3.0 haskell-hspec-core: enable test suite again hackage-packages.nix: automatic Haskell package set update librsvg: fix thumbnailer path awscli: 1.11.108 -> 1.11.162 ...
41 lines
1.1 KiB
Nix
41 lines
1.1 KiB
Nix
{ stdenv, fetchurl, libgcrypt, curl, gnutls, pkgconfig, libiconv, libintlOrEmpty }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libmicrohttpd-0.9.55";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/libmicrohttpd/${name}.tar.gz";
|
|
sha256 = "1y6h1slav5l6k8zyb01dpw65dscdgxxgfa3a0z9qnn7jr66sn70c";
|
|
};
|
|
|
|
outputs = [ "out" "dev" "devdoc" "info" ];
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ libgcrypt curl gnutls ]
|
|
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv libintlOrEmpty ];
|
|
|
|
preCheck = ''
|
|
# Since `localhost' can't be resolved in a chroot, work around it.
|
|
sed -ie 's/localhost/127.0.0.1/g' src/test*/*.[ch]
|
|
'';
|
|
|
|
# Disabled because the tests can time-out.
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "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 = licenses.lgpl2Plus;
|
|
|
|
homepage = http://www.gnu.org/software/libmicrohttpd/;
|
|
|
|
maintainers = with maintainers; [ eelco vrthra fpletz ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|
|
|