nixpkgs/pkgs/development/libraries/wiredtiger/default.nix
William A. Kennington III 64abb36f66 wiredtiger: Add derivation
2015-04-08 13:17:42 -07:00

38 lines
831 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 = platforms.unix;
maintainers = with maintainers; [ wkennington ];
};
}