1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

add leveldb

This commit is contained in:
Tim Dysinger 2013-05-10 20:52:32 -10:00
parent 8d7e1a79cc
commit 3fc7f4e68f
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "leveldb-1.9.0";
src = fetchurl {
url = "https://leveldb.googlecode.com/files/${name}.tar.gz";
sha256 = "b2699b04e5aba8e98382c4955b94725d1f76bd0b5decd60c5628205b717a1d4f";
};
buildPhase = "make all db_bench";
installPhase = "
mkdir -p $out/lib/
cp libleveldb* $out/lib/
mkdir -p $out/include/
cp -r include $out/
mkdir -p $out/bin/
cp db_bench $out/lib/
";
meta = {
homepage = "https://code.google.com/p/leveldb/";
description = "A fast and lightweight key/value database library by Google.";
license = "BSD";
};
}

View file

@ -4137,6 +4137,8 @@ let
lesstif93 = callPackage ../development/libraries/lesstif-0.93 { };
leveldb = callPackage ../development/libraries/leveldb { };
levmar = callPackage ../development/libraries/levmar { };
leptonica = callPackage ../development/libraries/leptonica { };