mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-13 07:57:32 +03:00
Merge pull request #301781 from samhh/turbo1.13.2
turbo: 1.11.3 -> 1.13.2
This commit is contained in:
commit
c48015a607
13638
pkgs/tools/misc/turbo/Cargo.lock
generated
Normal file
13638
pkgs/tools/misc/turbo/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -17,13 +17,13 @@
|
|||||||
, capnproto
|
, capnproto
|
||||||
}:
|
}:
|
||||||
rustPlatform.buildRustPackage rec{
|
rustPlatform.buildRustPackage rec{
|
||||||
pname = "turbo";
|
pname = "turbo-unwrapped";
|
||||||
version = "1.11.3";
|
version = "1.13.2";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "vercel";
|
owner = "vercel";
|
||||||
repo = "turbo";
|
repo = "turbo";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-hjJXbGct9ZmriKdVjB7gwfmFsV1Tv57V7DfUMFZ8Xv0=";
|
hash = "sha256-q1BxBAjfHyGDaH/IywPw9qnZJjzeU4tu2CyUWbnd6y8=";
|
||||||
};
|
};
|
||||||
cargoBuildFlags = [
|
cargoBuildFlags = [
|
||||||
"--package"
|
"--package"
|
||||||
@ -31,7 +31,10 @@ rustPlatform.buildRustPackage rec{
|
|||||||
];
|
];
|
||||||
RELEASE_TURBO_CLI = "true";
|
RELEASE_TURBO_CLI = "true";
|
||||||
|
|
||||||
cargoHash = "sha256-bAXO4Lqv4ibo+fz3679MjNgP2MMY8TbxhG0+DRy0xcA=";
|
cargoLock = {
|
||||||
|
lockFile = ./Cargo.lock;
|
||||||
|
outputHashes."tui-term-0.1.8" = "sha256-MNeVnF141uNWbjqXEbHwXnMTkCnvIteb5v40HpEK6D4=";
|
||||||
|
};
|
||||||
|
|
||||||
RUSTC_BOOTSTRAP = 1;
|
RUSTC_BOOTSTRAP = 1;
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
16
pkgs/tools/misc/turbo/wrapper.nix
Normal file
16
pkgs/tools/misc/turbo/wrapper.nix
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{ lib, symlinkJoin, makeWrapper, turbo-unwrapped
|
||||||
|
, disableTelemetry ? true, disableUpdateNotifier ? true }:
|
||||||
|
|
||||||
|
symlinkJoin {
|
||||||
|
pname = "turbo";
|
||||||
|
name = "turbo-${turbo-unwrapped.version}";
|
||||||
|
inherit (turbo-unwrapped) version meta;
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
paths = [ turbo-unwrapped ];
|
||||||
|
postBuild = ''
|
||||||
|
rm $out/bin/turbo
|
||||||
|
makeWrapper ${turbo-unwrapped}/bin/turbo $out/bin/turbo \
|
||||||
|
${lib.optionalString disableTelemetry "--set TURBO_TELEMETRY_DISABLED 1"} \
|
||||||
|
${lib.optionalString disableUpdateNotifier "--add-flags --no-update-notifier"}
|
||||||
|
'';
|
||||||
|
}
|
@ -13950,7 +13950,9 @@ with pkgs;
|
|||||||
|
|
||||||
tuptime = callPackage ../tools/system/tuptime { };
|
tuptime = callPackage ../tools/system/tuptime { };
|
||||||
|
|
||||||
turbo = callPackage ../tools/misc/turbo {
|
turbo = callPackage ../tools/misc/turbo/wrapper.nix { };
|
||||||
|
|
||||||
|
turbo-unwrapped = callPackage ../tools/misc/turbo {
|
||||||
inherit (darwin.apple_sdk_11_0.frameworks) IOKit CoreServices CoreFoundation;
|
inherit (darwin.apple_sdk_11_0.frameworks) IOKit CoreServices CoreFoundation;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user