3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #182083 from robertodr/update-simdjson

simdjson: 1.0.2 -> 2.2.0
This commit is contained in:
Robert Scott 2022-07-20 21:46:42 +01:00 committed by GitHub
commit d6b2b61108
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,20 +2,20 @@
stdenv.mkDerivation rec {
pname = "simdjson";
version = "1.0.2";
version = "2.2.0";
src = fetchFromGitHub {
owner = "simdjson";
repo = "simdjson";
rev = "v${version}";
sha256 = "sha256-WuqBR1/Iqly+Y8kJxTuZLTVkR3ltXdyr+/6J3zhBNkQ=";
sha256 = "sha256-n+W5xvWC3sPSX0SF5x1ArUtWZayoyQRThgWWhRG4Fac=";
};
nativeBuildInputs = [ cmake ];
cmakeFlags = [
"-DSIMDJSON_JUST_LIBRARY=ON"
] ++ lib.optional stdenv.hostPlatform.isStatic "-DSIMDJSON_BUILD_STATIC=ON";
"-DSIMDJSON_DEVELOPER_MODE=OFF"
] ++ lib.optional stdenv.hostPlatform.isStatic "-DBUILD_SHARED_LIBS=OFF";
meta = with lib; {
homepage = "https://simdjson.org/";