ripgrep: 0.9.0 -> 0.10.0 (#46331)

authored by Vladyslav M and committed by xeji 3b4ab85f 37032db5

+15 -5
+11 -4
pkgs/tools/text/ripgrep/default.nix
··· 1 - { stdenv, fetchFromGitHub, rustPlatform, asciidoc, docbook_xsl, libxslt }: 2 3 rustPlatform.buildRustPackage rec { 4 name = "ripgrep-${version}"; 5 - version = "0.9.0"; 6 7 src = fetchFromGitHub { 8 owner = "BurntSushi"; 9 repo = "ripgrep"; 10 rev = version; 11 - sha256 = "089xffrqi4wm0w1lhy5iqxrcb82ca44bxl8qps4ilv0ih91vxwfj"; 12 }; 13 14 - cargoSha256 = "1wsw7s1bc1gnpq4kjzkas5zf2snhpx9f6cyrrf6g5jr8l0hcbyih"; 15 16 nativeBuildInputs = [ asciidoc docbook_xsl libxslt ]; 17 18 preFixup = '' 19 mkdir -p "$out/man/man1"
··· 1 + { stdenv, fetchFromGitHub, rustPlatform, asciidoc, docbook_xsl, libxslt 2 + , Security 3 + , withPCRE2 ? false, pcre2 ? null 4 + }: 5 6 rustPlatform.buildRustPackage rec { 7 name = "ripgrep-${version}"; 8 + version = "0.10.0"; 9 10 src = fetchFromGitHub { 11 owner = "BurntSushi"; 12 repo = "ripgrep"; 13 rev = version; 14 + sha256 = "017fz5kv1kv9jz7mb7vcxrklf5vybvfz2x61g6myzshqz4z1v1yb"; 15 }; 16 17 + cargoSha256 = "0k2b2vbklfdjk2zdc8ip480drc12gy1whlwj94p44hr3402azcgr"; 18 + 19 + cargoBuildFlags = stdenv.lib.optional withPCRE2 "--features pcre2"; 20 21 nativeBuildInputs = [ asciidoc docbook_xsl libxslt ]; 22 + buildInputs = (stdenv.lib.optional withPCRE2 pcre2) 23 + ++ (stdenv.lib.optional stdenv.isDarwin Security); 24 25 preFixup = '' 26 mkdir -p "$out/man/man1"
+4 -1
pkgs/top-level/all-packages.nix
··· 2911 }) (x: { configureFlags = x.configureFlags ++ ["--with-cgraph=no"];}); 2912 2913 grin = callPackage ../tools/text/grin { }; 2914 - ripgrep = callPackage ../tools/text/ripgrep { }; 2915 2916 grive2 = callPackage ../tools/filesystems/grive2 { }; 2917
··· 2911 }) (x: { configureFlags = x.configureFlags ++ ["--with-cgraph=no"];}); 2912 2913 grin = callPackage ../tools/text/grin { }; 2914 + 2915 + ripgrep = callPackage ../tools/text/ripgrep { 2916 + inherit (darwin.apple_sdk.frameworks) Security; 2917 + }; 2918 2919 grive2 = callPackage ../tools/filesystems/grive2 { }; 2920