Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 39 lines 641 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 gnutls, 7 openssl, 8 pkg-config, 9 zlib, 10}: 11 12stdenv.mkDerivation rec { 13 pname = "librelp"; 14 version = "1.11.0"; 15 16 src = fetchFromGitHub { 17 owner = "rsyslog"; 18 repo = "librelp"; 19 rev = "v${version}"; 20 sha256 = "sha256-VJlvFiOsIyiu0kBU8NkObtt9j2ElrSzJtvE8wtSlOus="; 21 }; 22 23 nativeBuildInputs = [ 24 pkg-config 25 autoreconfHook 26 ]; 27 buildInputs = [ 28 gnutls 29 zlib 30 openssl 31 ]; 32 33 meta = with lib; { 34 description = "Reliable logging library"; 35 homepage = "https://www.librelp.com/"; 36 license = licenses.gpl2; 37 platforms = platforms.linux; 38 }; 39}