nixpkgs/pkgs/development/libraries/wiredtiger/default.nix
2015-04-17 15:32:25 +02:00

39 lines
863 B
Nix

{ 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 = intersectLists platforms.unix platforms.x86_64;
maintainers = with maintainers; [ wkennington ];
};
}