diff --git a/pkgs/development/libraries/fastjson/default.nix b/pkgs/development/libraries/fastjson/default.nix new file mode 100644 index 00000000000..4c325198547 --- /dev/null +++ b/pkgs/development/libraries/fastjson/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub, libtool, autoconf, automake }: + +stdenv.mkDerivation rec { + version = "v0.99.2"; + name = "fastjson-${version}"; + src = fetchFromGitHub { + repo = "libfastjson"; + owner = "rsyslog"; + rev = "eabae907c9d991143e17da278a239819f2e8ae1c"; + sha256 = "17fhaqdn0spc4p0848ahcy68swm6l5yd3bx6bdzxmmwj1jdrmvzk"; + }; + + buildInputs = [ autoconf automake libtool ]; + + preConfigure = '' + sh autogen.sh + ''; + + meta = with stdenv.lib; { + description = "A fast json library for C"; + homepage = "https://github.com/rsyslog/libfastjson"; + license = licenses.mit; + maintainers = with maintainers; [ nequissimus ]; + }; +} diff --git a/pkgs/development/libraries/libksi/default.nix b/pkgs/development/libraries/libksi/default.nix index 1f6bd05b5b3..1dd71024681 100644 --- a/pkgs/development/libraries/libksi/default.nix +++ b/pkgs/development/libraries/libksi/default.nix @@ -4,12 +4,12 @@ stdenv.mkDerivation rec { name = "libksi-2015-07-03"; src = fetchFromGitHub { - owner = "rgerhards"; + owner = "Guardtime"; repo = "libksi"; - rev = "b1ac0346395b4f52ec42a050bf33ac223f194443"; - sha256 = "0gg0fl56flwqmsph7j92lgybaa39i715w0nwgkcr58njm0c02wlw"; + rev = "b82dd65bd693722db92397cbe0920170e0d2ae1c"; + sha256 = "1sqd31l55kx6knl0sg26ail1k5rgmamq8760p6aj7bpb4jwb8r1n"; }; - + nativeBuildInputs = [ autoreconfHook ]; buildInputs = [ openssl curl ]; @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { ]; meta = with stdenv.lib; { - homepage = "https://github.com/rgerhards/libksi"; + homepage = "https://github.com/GuardTime/libksi"; description = "Keyless Signature Infrastructure API library"; license = licenses.asl20; platforms = platforms.all; diff --git a/pkgs/tools/system/rsyslog/default.nix b/pkgs/tools/system/rsyslog/default.nix index 5d3dbd861aa..2f38c9b374a 100644 --- a/pkgs/tools/system/rsyslog/default.nix +++ b/pkgs/tools/system/rsyslog/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, autoreconfHook, libestr, json_c, zlib, pythonPackages +{ stdenv, fetchurl, pkgconfig, autoreconfHook, libestr, json_c, zlib, pythonPackages, fastJson , libkrb5 ? null, systemd ? null, jemalloc ? null, libmysql ? null, postgresql ? null , libdbi ? null, net_snmp ? null, libuuid ? null, curl ? null, gnutls ? null , libgcrypt ? null, liblognorm ? null, openssl ? null, librelp ? null, libksi ? null @@ -11,18 +11,18 @@ let mkFlag = cond: name: if cond then "--enable-${name}" else "--disable-${name}"; in stdenv.mkDerivation rec { - name = "rsyslog-8.14.0"; + name = "rsyslog-8.17.0"; src = fetchurl { url = "http://www.rsyslog.com/files/download/rsyslog/${name}.tar.gz"; - sha256 = "1hp7ga543m6vhijcnjb4z8v26ddjgypk1lh6km1cvxc45cfmnfs4"; + sha256 = "1fazpbllr3wk8aw41zk7b6iirds4h8j3im080nf8my2cjssij7pc"; }; #patches = [ ./fix-gnutls-detection.patch ]; nativeBuildInputs = [ pkgconfig autoreconfHook ]; buildInputs = [ - libestr json_c zlib pythonPackages.docutils libkrb5 jemalloc libmysql + fastJson libestr json_c zlib pythonPackages.docutils libkrb5 jemalloc libmysql postgresql libdbi net_snmp libuuid curl gnutls libgcrypt liblognorm openssl librelp libgt libksi liblogging libnet hadoop rdkafka libmongo-client czmq rabbitmq-c hiredis diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5e5e9267852..082cc9cfa57 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -756,6 +756,8 @@ in fasd = callPackage ../tools/misc/fasd { }; + fastJson = callPackage ../development/libraries/fastjson { }; + fop = callPackage ../tools/typesetting/fop { }; fzf = goPackages.fzf.bin // { outputs = [ "bin" ]; };