certificate-transparency: init at 2015-11-27

libevhtp: 1.2.10 -> 1.2.11

Package for certificate-transparency

This adds openssl support to libevent.  Libevent can be compiled without
openssl, in which case it just doesn't build the libevent_openssl
library.  However it seems simpler just to default to including openssl
support.

This bumps evhtp's version because 1.2.11 provides pkg-config
information which makes building certificate-transparency easier.

This has been tested with `doCheck = true;`.

Signed-off-by: Edward Tjörnhammar <ed@cflags.cc>
This commit is contained in:
Philip Potter
2015-11-10 07:20:20 +00:00
committed by Edward Tjörnhammar
parent 8795eeb6e1
commit 01eb385346
5 changed files with 77 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, autoreconfHook, python, findutils }:
{ stdenv, fetchurl, autoreconfHook, openssl, python, findutils }:
let version = "2.0.22"; in
stdenv.mkDerivation {
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ python ] ++ stdenv.lib.optional stdenv.isCygwin findutils;
buildInputs = [ openssl python ] ++ stdenv.lib.optional stdenv.isCygwin findutils;
patchPhase = ''
patchShebangs event_rpcgen.py

View File

@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "libevhtp-${version}";
version = "1.2.10";
version = "1.2.11";
src = fetchFromGitHub {
owner = "ellzey";
repo = "libevhtp";
rev = version;
sha256 = "0z5cxa65zp89vkaj286gp6fpmc5fylr8bmd17g3j1rgc42nysm6a";
sha256 = "1rlxdp8w4alcy5ryr7pmw5wi6hv7d64885wwbk1zxhvi64s4x4rg";
};
buildInputs = [ cmake openssl libevent ];