mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
ripgrep: 12.0.1 -> 12.1.0
Changelog: https://github.com/BurntSushi/ripgrep/releases/tag/12.1.0
This commit is contained in:
parent
d373d80b12
commit
8772cee9f9
@ -1,9 +1,7 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, asciidoc
|
, asciidoctor
|
||||||
, docbook_xsl
|
|
||||||
, libxslt
|
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
, Security
|
, Security
|
||||||
, withPCRE2 ? true
|
, withPCRE2 ? true
|
||||||
@ -12,20 +10,20 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "ripgrep";
|
pname = "ripgrep";
|
||||||
version = "12.0.1";
|
version = "12.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "BurntSushi";
|
owner = "BurntSushi";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1c0v51s05kbg9825n6mvpizhkkgz38wl7hp8f3vzbjfg4i8l8wb0";
|
sha256 = "1vgkk78c25ia9y4q5psrh7xrlbfdn7dz7bc20kci40n8zr0vjwww";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "0i8x2xgri8f8mzrlkc8l2yzcgczl35nw4bmwg09d343mjkmk6d8y";
|
cargoSha256 = "143lnf4yah9ik7v8rphv7gbvr2ckhjpmy8zfgqml1n3fqxiqvxnb";
|
||||||
|
|
||||||
cargoBuildFlags = stdenv.lib.optional withPCRE2 "--features pcre2";
|
cargoBuildFlags = stdenv.lib.optional withPCRE2 "--features pcre2";
|
||||||
|
|
||||||
nativeBuildInputs = [ asciidoc docbook_xsl libxslt installShellFiles ];
|
nativeBuildInputs = [ asciidoctor installShellFiles ];
|
||||||
buildInputs = (stdenv.lib.optional withPCRE2 pcre2)
|
buildInputs = (stdenv.lib.optional withPCRE2 pcre2)
|
||||||
++ (stdenv.lib.optional stdenv.isDarwin Security);
|
++ (stdenv.lib.optional stdenv.isDarwin Security);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user