1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 01:51:24 +00:00
nixpkgs/pkgs/development/libraries/leveldb/default.nix
Bjørn Forsman 083d0890f5 More description fixes
* Remove package name
* Start with upper case letter
* Remove trailing period

Also reword some descriptions and move some long descriptions to
longDescription.

I'm not touching generated packages.
2013-10-06 12:01:38 +02:00

28 lines
630 B
Nix

{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 = "Fast and lightweight key/value database library by Google";
license = "BSD";
};
}