diff options
-rw-r--r-- | pkgs/development/libraries/fstrm/default.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/development/libraries/fstrm/default.nix b/pkgs/development/libraries/fstrm/default.nix index 3700b6f63551..9c4bf00347c4 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; |