Merge pull request #223333 from figsoda/rsonpath

authored by

figsoda and committed by
GitHub
80bbc6ea 16f67c4a

+39
+37
pkgs/development/tools/misc/rsonpath/default.nix
··· 1 + { lib 2 + , rustPlatform 3 + , fetchFromGitHub 4 + , withSimd ? true 5 + , stdenv 6 + }: 7 + 8 + rustPlatform.buildRustPackage rec { 9 + pname = "rsonpath"; 10 + version = "0.3.2"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "v0ldek"; 14 + repo = "rsonpath"; 15 + rev = "v${version}"; 16 + hash = "sha256-ip8+Wy9rmTzFccmjYWb3Nk+gkq3g4e1ty/5+ldIOO10="; 17 + }; 18 + 19 + cargoHash = "sha256-5V0H2FeHI1SByzLsviOR+qHwYhZGiNmMawCTYjk2P24="; 20 + 21 + buildNoDefaultFeatures = true; 22 + buildFeatures = [ 23 + "default-optimizations" 24 + ] ++ lib.optionals withSimd [ 25 + "simd" 26 + ]; 27 + 28 + meta = with lib; { 29 + description = "Blazing fast Rust JSONPath query engine"; 30 + homepage = "https://github.com/v0ldek/rsonpath"; 31 + changelog = "https://github.com/v0ldek/rsonpath/blob/${src.rev}/CHANGELOG.md"; 32 + license = licenses.mit; 33 + maintainers = with maintainers; [ figsoda ]; 34 + # build fails on platforms without simd support, even when withSimd = false 35 + broken = !stdenv.isx86_64; 36 + }; 37 + }
+2
pkgs/top-level/all-packages.nix
··· 18733 18733 18734 18734 rsass = callPackage ../development/tools/misc/rsass { }; 18735 18735 18736 + rsonpath = callPackage ../development/tools/misc/rsonpath { }; 18737 + 18736 18738 rufo = callPackage ../development/tools/rufo { }; 18737 18739 18738 18740 samurai = callPackage ../development/tools/build-managers/samurai { };