Skip to content

Commit

Permalink
Merge pull request NixOS#66253 from magenbluten/rocksdb
Browse files Browse the repository at this point in the history
rocksdb: 6.1.2 -> 6.2.2
  • Loading branch information
disassembler authored Aug 31, 2019
2 parents 6baeab2 + 7ea1d15 commit 41a3746
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
13 changes: 0 additions & 13 deletions pkgs/development/libraries/rocksdb/0001-findzlib.patch

This file was deleted.

8 changes: 5 additions & 3 deletions pkgs/development/libraries/rocksdb/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@

stdenv.mkDerivation rec {
pname = "rocksdb";
version = "6.1.2";
version = "6.2.2";

src = fetchFromGitHub {
owner = "facebook";
repo = pname;
rev = "v${version}";
sha256 = "0gy2zjga3r8k9pbn2b0b5fzv4m0h2ip3zmyja1i7fli9n56civ3y";
sha256 = "0wz9rfj8gk6gyabh9anl67fqm5dw2z866y1a0k0j2lmcaag537r2";
};

nativeBuildInputs = [ cmake ];
buildInputs = [ bzip2 lz4 snappy zlib zstd ];

patches = [ ./0001-findzlib.patch ];
postPatch = ''
substituteInPlace CMakeLists.txt --replace "find_package(zlib " "find_package(ZLIB "
'';

cmakeFlags = [
"-DPORTABLE=1"
Expand Down

0 comments on commit 41a3746

Please sign in to comment.