Merge staging-next into staging
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, CoreServices }:
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, CoreServices, darwin }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
name = "mdbook-${version}";
|
||||
@@ -13,7 +13,11 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "0kcc0b2644qbalz7dnqwxsjdmw1h57k0rjrvwqh8apj2sgl64gyv";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [
|
||||
CoreServices
|
||||
# This is needed to avoid an undefined symbol error for "_CFURLResourceIsReachable"
|
||||
darwin.cf-private
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Create books from MarkDown";
|
||||
@@ -21,9 +25,5 @@ rustPlatform.buildRustPackage rec {
|
||||
license = [ licenses.asl20 licenses.mit ];
|
||||
maintainers = [ maintainers.havvy ];
|
||||
platforms = platforms.all;
|
||||
|
||||
# Because CoreServices needs to be updated,
|
||||
# but Apple won't release the source.
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,17 +4,17 @@
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
name = "ripgrep-${version}";
|
||||
version = "11.0.0";
|
||||
pname = "ripgrep";
|
||||
version = "11.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BurntSushi";
|
||||
repo = "ripgrep";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "13yavwi2b4w1p5fmpfn1vnwarsanlib1vj4pn1z2hg3a3v0c10iv";
|
||||
sha256 = "0vak82d4vyw0w8agswbyxa6g3zs2h9mxm2xjw0xs9qccvmi7whbb";
|
||||
};
|
||||
|
||||
cargoSha256 = "0zrn4qshk24wzhhx7s36m27q5430gq22vnksd8kw11s3058s6pwg";
|
||||
cargoSha256 = "0i31d0m145dsjfix589p5pfp83qp3a5wvz1v9sp4bxn3rggmw734";
|
||||
|
||||
cargoBuildFlags = stdenv.lib.optional withPCRE2 "--features pcre2";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user