Merge pull request #87442 from marsam/update-ripgrep

ripgrep: 12.0.1 -> 12.1.0
This commit is contained in:
Maximilian Bosch 2020-05-10 01:49:20 +02:00 committed by GitHub
commit 15cebd3153
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,9 +1,7 @@
{ stdenv
, fetchFromGitHub
, rustPlatform
, asciidoc
, docbook_xsl
, libxslt
, asciidoctor
, installShellFiles
, Security
, withPCRE2 ? true
@ -12,20 +10,20 @@
rustPlatform.buildRustPackage rec {
pname = "ripgrep";
version = "12.0.1";
version = "12.1.0";
src = fetchFromGitHub {
owner = "BurntSushi";
repo = pname;
rev = version;
sha256 = "1c0v51s05kbg9825n6mvpizhkkgz38wl7hp8f3vzbjfg4i8l8wb0";
sha256 = "1vgkk78c25ia9y4q5psrh7xrlbfdn7dz7bc20kci40n8zr0vjwww";
};
cargoSha256 = "0i8x2xgri8f8mzrlkc8l2yzcgczl35nw4bmwg09d343mjkmk6d8y";
cargoSha256 = "143lnf4yah9ik7v8rphv7gbvr2ckhjpmy8zfgqml1n3fqxiqvxnb";
cargoBuildFlags = stdenv.lib.optional withPCRE2 "--features pcre2";
nativeBuildInputs = [ asciidoc docbook_xsl libxslt installShellFiles ];
nativeBuildInputs = [ asciidoctor installShellFiles ];
buildInputs = (stdenv.lib.optional withPCRE2 pcre2)
++ (stdenv.lib.optional stdenv.isDarwin Security);