python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / liblogging / default.nix
blobdf27688e1052421a397ca5da222c50b0a23b521e
1 { lib, stdenv, fetchurl, pkg-config
2 , systemd ? null
3 }:
5 stdenv.mkDerivation rec {
6   pname = "liblogging";
7   version = "1.0.6";
9   src = fetchurl {
10     url = "http://download.rsyslog.com/liblogging/liblogging-${version}.tar.gz";
11     sha256 = "14xz00mq07qmcgprlj5b2r21ljgpa4sbwmpr6jm2wrf8wms6331k";
12   };
14   nativeBuildInputs = [ pkg-config ];
15   buildInputs = [ systemd ];
17   configureFlags = [
18     "--enable-rfc3195"
19     "--enable-stdlog"
20     (if systemd != null then "--enable-journal" else "--disable-journal")
21     "--enable-man-pages"
22   ];
24   meta = with lib; {
25     homepage = "http://www.liblogging.org/";
26     description = "Lightweight signal-safe logging library";
27     license = licenses.bsd2;
28     platforms = platforms.all;
29   };