ripgrep: 12.0.1 -> 12.1.0

Changelog: https://github.com/BurntSushi/ripgrep/releases/tag/12.1.0
This commit is contained in:
Mario Rodas 2020-05-09 16:20:00 -05:00
parent d373d80b12
commit 8772cee9f9
No known key found for this signature in database
GPG Key ID: 325649BCA6D53027

View File

@ -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);