Skip to content

Commit

Permalink
rocksdb: 6.10.2 -> 6.12.7
Browse files Browse the repository at this point in the history
  • Loading branch information
basvandijk committed Oct 24, 2020
1 parent 18a170f commit f1c4d5d
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions pkgs/development/libraries/rocksdb/default.nix
Expand Up @@ -15,29 +15,19 @@

stdenv.mkDerivation rec {
pname = "rocksdb";
version = "6.10.2";
version = "6.12.7";

src = fetchFromGitHub {
owner = "facebook";
repo = pname;
rev = "v${version}";
sha256 = "1f2wqb6px812ijcivq3rsknqgkv01wblc6sd8wavhrw8qljgr3s1";
sha256 = "0cpi0v691xsh20hj5x2y2z7dmjvhd3brr0swszv0xqjg2q0f7zdb";
};

nativeBuildInputs = [ cmake ninja ];

buildInputs = [ bzip2 lz4 snappy zlib zstd ] ++ stdenv.lib.optional enableJemalloc jemalloc;

patches = [
# Without this change private dependencies are exported.
# Can be removed after the next release.
# https://github.com/facebook/rocksdb/pull/6790
(fetchpatch {
url = "https://github.com/facebook/rocksdb/commit/07204837ce8d66e1e6e4893178f3fd040f9c1044.patch";
sha256 = "17097ybkhy0i089zzkpvcj65c7g5skvjvdzi1k09x4i1d719wm39";
})
];

NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-Wno-error=deprecated-copy -Wno-error=pessimizing-move";

cmakeFlags = [
Expand Down

0 comments on commit f1c4d5d

Please sign in to comment.