1 { lib, stdenv, fetchFromGitHub, cmake }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-L/a/vTthh7XkiwuvlGk9q+uLEBf8vaPoV1x1fG44zeg=";
14 nativeBuildInputs = [ cmake ];
17 "-DSIMDJSON_JUST_LIBRARY=ON"
18 ] ++ lib.optional stdenv.hostPlatform.isStatic "-DSIMDJSON_BUILD_STATIC=ON";
21 homepage = "https://simdjson.org/";
22 description = "Parsing gigabytes of JSON per second";
23 license = licenses.asl20;
24 platforms = platforms.all;
25 maintainers = with maintainers; [ chessai ];