Merge pull request #110583 from tobim/pkgsStatic/simdjson

This commit is contained in:
Sandro 2021-01-23 20:37:01 +01:00 committed by GitHub
commit bb6c8a4af9
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 = "0.7.0";
version = "0.8.0";
src = fetchFromGitHub {
owner = "simdjson";
repo = "simdjson";
rev = "v${version}";
sha256 = "14gi2zq430nfjy424q6r57imc2gnz30nhx4r0wbajzp9qvna819w";
sha256 = "0lpb8la74xwd78d5mgwnzx4fy632jbmh0ip19v0dydwm0kagm0a3";
};
nativeBuildInputs = [ cmake ];
cmakeFlags = [
"-DSIMDJSON_JUST_LIBRARY=ON"
];
] ++ lib.optional stdenv.hostPlatform.isStatic "-DSIMDJSON_BUILD_STATIC=ON";
meta = with lib; {
homepage = "https://simdjson.org/";