From 263978219cf570d57d61377d14f73b5a38e295cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 29 Aug 2017 12:21:06 +0100 Subject: [PATCH] fstrm: 0.3.1 -> 0.3.2 --- pkgs/development/libraries/fstrm/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/fstrm/default.nix b/pkgs/development/libraries/fstrm/default.nix index 3700b6f6355..9c4bf00347c 100644 --- a/pkgs/development/libraries/fstrm/default.nix +++ b/pkgs/development/libraries/fstrm/default.nix @@ -1,20 +1,24 @@ -{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libevent }: +{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libevent, openssl }: stdenv.mkDerivation rec { name = "fstrm-${version}"; - version = "0.3.1"; + version = "0.3.2"; src = fetchFromGitHub { owner = "farsightsec"; repo = "fstrm"; rev = "v${version}"; - sha256 = "1n8hpywjgkzm0xh0hvryf5r6v2sbpgr3qy0grxq9yha7kqcam4f3"; + sha256 = "135m0d4z1wbiaazs3bh6z53a35mgs33gvfki8pl4xfaw9cfcfpd2"; }; outputs = [ "bin" "out" "dev" ]; nativeBuildInputs = [ autoreconfHook pkgconfig ]; - buildInputs = [ libevent ]; + buildInputs = [ libevent openssl ]; + + preBuild = '' + NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -L${openssl}/lib" + ''; doCheck = true;