diff options
author | Marek Mahut <marek.mahut@gmail.com> | 2019-08-12 19:52:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-12 19:52:32 +0200 |
commit | 2ae308a41436b86e340647f861a9ac2602454cc6 (patch) | |
tree | 84560634be1a3568960f625ec375e16e57f9a2be | |
parent | 8c1d78aa4a567ff1ad9444810809fb55743c34a7 (diff) | |
parent | 7943e28fec71a09863da6e4522a9ea571721a51f (diff) | |
download | nixlib-2ae308a41436b86e340647f861a9ac2602454cc6.tar nixlib-2ae308a41436b86e340647f861a9ac2602454cc6.tar.gz nixlib-2ae308a41436b86e340647f861a9ac2602454cc6.tar.bz2 nixlib-2ae308a41436b86e340647f861a9ac2602454cc6.tar.lz nixlib-2ae308a41436b86e340647f861a9ac2602454cc6.tar.xz nixlib-2ae308a41436b86e340647f861a9ac2602454cc6.tar.zst nixlib-2ae308a41436b86e340647f861a9ac2602454cc6.zip |
Merge pull request #66498 from jonringer/bump-librelp
librelp: 1.3.0 -> 1.4.0
-rw-r--r-- | pkgs/development/libraries/librelp/default.nix | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/pkgs/development/libraries/librelp/default.nix b/pkgs/development/libraries/librelp/default.nix index 82a71be52105..bcc3e16dae89 100644 --- a/pkgs/development/libraries/librelp/default.nix +++ b/pkgs/development/libraries/librelp/default.nix @@ -1,19 +1,28 @@ -{ stdenv, fetchurl, pkgconfig, gnutls, zlib }: +{ stdenv, fetchFromGitHub +, autoreconfHook +, gnutls +, openssl +, pkgconfig +, zlib +}: stdenv.mkDerivation rec { - name = "librelp-1.3.0"; + pname = "librelp"; + version = "1.4.0"; - src = fetchurl { - url = "http://download.rsyslog.com/librelp/${name}.tar.gz"; - sha256 = "1xg99ndn65984mrh30qvys5npc73ag4348whshghrcj9azya494z"; + src = fetchFromGitHub { + owner = "rsyslog"; + repo = "librelp"; + rev = "v${version}"; + sha256 = "1q0k8zm7p6wpkri419kkpz734lp1hnxfqx1aa3xys4pj7zgx9jck"; }; - nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ gnutls zlib ]; + nativeBuildInputs = [ pkgconfig autoreconfHook ]; + buildInputs = [ gnutls zlib openssl ]; meta = with stdenv.lib; { - homepage = https://www.librelp.com/; description = "A reliable logging library"; + homepage = "https://www.librelp.com/"; license = licenses.gpl2; platforms = platforms.linux; }; |