1 { lib, stdenv, fetchFromGitHub, cmake }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-Ub0gHxnc4ljVqbAWuFJYBuhA4FjX4ypg1gaPXUrcWkE=";
14 nativeBuildInputs = [ cmake ];
17 "-DSIMDJSON_DEVELOPER_MODE=OFF"
18 ] ++ lib.optional stdenv.hostPlatform.isStatic "-DBUILD_SHARED_LIBS=OFF";
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 ];