wiredtiger: Add derivation

This commit is contained in:
William A. Kennington III 2015-04-08 13:02:56 -07:00
parent 13360ba5dc
commit 64abb36f66
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ stdenv, fetchFromGitHub, automake, autoconf, libtool
, bzip2, snappy, zlib, db
}:
stdenv.mkDerivation rec {
name = "wiredtiger-${version}";
version = "2.5.2";
src = fetchFromGitHub {
repo = "wiredtiger";
owner = "wiredtiger";
rev = version;
sha256 = "1rk26gfs4zpz88mkbdkhz65q4admpgf46x5zsnghl0ndirmnvq3p";
};
nativeBuildInputs = [ automake autoconf libtool ];
buildInputs = [ bzip2 snappy zlib db ];
configureFlags = [
"--with-berkeleydb=${db}"
"--enable-bzip2"
"--enable-leveldb"
"--enable-snappy"
"--enable-zlib"
];
preConfigure = ''
./autogen.sh
'';
meta = with stdenv.lib; {
homepage = http://wiredtiger.com/;
description = "";
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ wkennington ];
};
}

View File

@ -7746,6 +7746,8 @@ let
wildmidi = callPackage ../development/libraries/wildmidi { };
wiredtiger = callPackage ../development/libraries/wiredtiger { };
wvstreams = callPackage ../development/libraries/wvstreams { };
wxGTK = wxGTK28;