Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2022-12-13 06:01:48 +00:00 committed by GitHub
commit ea4d29903e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 133 additions and 138 deletions

View file

@ -48,11 +48,11 @@
"vendorHash": "sha256-byReViTX0KRFVgWMkte00CDB/3Mw8Ov5GyD48sENmIA=" "vendorHash": "sha256-byReViTX0KRFVgWMkte00CDB/3Mw8Ov5GyD48sENmIA="
}, },
"alicloud": { "alicloud": {
"hash": "sha256-4f29+7irL+6uNTEFnUu46LGz4aBDwortClCZ0+EDZ4Q=", "hash": "sha256-VGrMkgX7WmIz7v0+D1OPYerslVueGw5XRBtWebLrkQk=",
"homepage": "https://registry.terraform.io/providers/aliyun/alicloud", "homepage": "https://registry.terraform.io/providers/aliyun/alicloud",
"owner": "aliyun", "owner": "aliyun",
"repo": "terraform-provider-alicloud", "repo": "terraform-provider-alicloud",
"rev": "v1.193.1", "rev": "v1.194.0",
"spdx": "MPL-2.0", "spdx": "MPL-2.0",
"vendorHash": null "vendorHash": null
}, },
@ -75,13 +75,13 @@
"vendorHash": null "vendorHash": null
}, },
"argocd": { "argocd": {
"hash": "sha256-yWhq2WolfL7PQVuWr5P7EH0cM78wGyL2+yezh2WzL2c=", "hash": "sha256-8gyNJrRmrLev53dmMMjpZ3COTwPg5FYaxYBgkrdAWXo=",
"homepage": "https://registry.terraform.io/providers/oboukili/argocd", "homepage": "https://registry.terraform.io/providers/oboukili/argocd",
"owner": "oboukili", "owner": "oboukili",
"repo": "terraform-provider-argocd", "repo": "terraform-provider-argocd",
"rev": "v4.1.0", "rev": "v4.2.0",
"spdx": "MPL-2.0", "spdx": "MPL-2.0",
"vendorHash": "sha256-hPgZ/2AebjtovopbSEJqsm0J85LdlLWBtP15vaqgLF4=" "vendorHash": "sha256-U88K2CZcN7xh1rPmkZpbRWgj3+lPKN7hkB9T60jR1JQ="
}, },
"auth0": { "auth0": {
"hash": "sha256-l41GOH5J0ZF+Vp/Vabhm30ZLG6/XJrI7QeCdl2WvNso=", "hash": "sha256-l41GOH5J0ZF+Vp/Vabhm30ZLG6/XJrI7QeCdl2WvNso=",
@ -442,24 +442,24 @@
"vendorHash": "sha256-QAFx/Ew86T4LWJ6ZtJTUWwR5rGunWj0E5Vzt++BN9ks=" "vendorHash": "sha256-QAFx/Ew86T4LWJ6ZtJTUWwR5rGunWj0E5Vzt++BN9ks="
}, },
"google": { "google": {
"hash": "sha256-VqQK6NifhilmnJL5L4EHmmeFWZPBmQhoUl3mz8igSck=", "hash": "sha256-EKPXlEpZVcQ0r97Um3kX8YZneaoKJrY76414hC5+1iA=",
"homepage": "https://registry.terraform.io/providers/hashicorp/google", "homepage": "https://registry.terraform.io/providers/hashicorp/google",
"owner": "hashicorp", "owner": "hashicorp",
"proxyVendor": true, "proxyVendor": true,
"repo": "terraform-provider-google", "repo": "terraform-provider-google",
"rev": "v4.45.0", "rev": "v4.46.0",
"spdx": "MPL-2.0", "spdx": "MPL-2.0",
"vendorHash": "sha256-nwA+OD0gtnV5di43wgH1OZp/RngLvnVRAuKQxsxnlLw=" "vendorHash": "sha256-kyE1MPc1CofhngsMYLIPaownEZQmHc9UMSegwVZ8zIA="
}, },
"google-beta": { "google-beta": {
"hash": "sha256-/fdgwdIIFHLEMeqsWashkQJlIoFU86ZmsbA4pX18FhE=", "hash": "sha256-4ksd2LPAG6GeEexeThy4FnzTcDwDo753FP+02pCoyFU=",
"homepage": "https://registry.terraform.io/providers/hashicorp/google-beta", "homepage": "https://registry.terraform.io/providers/hashicorp/google-beta",
"owner": "hashicorp", "owner": "hashicorp",
"proxyVendor": true, "proxyVendor": true,
"repo": "terraform-provider-google-beta", "repo": "terraform-provider-google-beta",
"rev": "v4.45.0", "rev": "v4.46.0",
"spdx": "MPL-2.0", "spdx": "MPL-2.0",
"vendorHash": "sha256-nwA+OD0gtnV5di43wgH1OZp/RngLvnVRAuKQxsxnlLw=" "vendorHash": "sha256-kyE1MPc1CofhngsMYLIPaownEZQmHc9UMSegwVZ8zIA="
}, },
"googleworkspace": { "googleworkspace": {
"hash": "sha256-dedYnsKHizxJZibuvJOMbJoux0W6zgKaK5fxIofKqCY=", "hash": "sha256-dedYnsKHizxJZibuvJOMbJoux0W6zgKaK5fxIofKqCY=",
@ -471,13 +471,13 @@
"vendorHash": "sha256-fqVBnAivVekV+4tpkl+E6eNA3wi8mhLevJRCs3W7L2g=" "vendorHash": "sha256-fqVBnAivVekV+4tpkl+E6eNA3wi8mhLevJRCs3W7L2g="
}, },
"grafana": { "grafana": {
"hash": "sha256-DAuG1VYLYr3cz+PR5wNlPBKuUcnbYAO0d9tNxnBiGuU=", "hash": "sha256-eDrLyLlK/6zigBW7IW+w4FtHP5eW82zo2+Ow55H0SKc=",
"homepage": "https://registry.terraform.io/providers/grafana/grafana", "homepage": "https://registry.terraform.io/providers/grafana/grafana",
"owner": "grafana", "owner": "grafana",
"repo": "terraform-provider-grafana", "repo": "terraform-provider-grafana",
"rev": "v1.31.1", "rev": "v1.32.0",
"spdx": "MPL-2.0", "spdx": "MPL-2.0",
"vendorHash": "sha256-4PrQW8h8EtX7hvSh2nzvA4EHwb2AhZqSLhrXlRrq8Lo=" "vendorHash": "sha256-s6VwvxHXny5gCrbxiRI3F7w3HR3lq2NeiHZgTiU37m0="
}, },
"gridscale": { "gridscale": {
"hash": "sha256-k87g+MwzKl++VfKerzRllHsKN8Y8AyEFm1yWV5xrgwI=", "hash": "sha256-k87g+MwzKl++VfKerzRllHsKN8Y8AyEFm1yWV5xrgwI=",
@ -888,11 +888,11 @@
"vendorHash": null "vendorHash": null
}, },
"pagerduty": { "pagerduty": {
"hash": "sha256-vkfsQxjlYSOl0VJBWvFCxVz7o+XgxDMkwFMomdl+iWQ=", "hash": "sha256-2qOFrNwBFp30gLR9pFEaByx1vD8TZUayISaKZ7fytZo=",
"homepage": "https://registry.terraform.io/providers/PagerDuty/pagerduty", "homepage": "https://registry.terraform.io/providers/PagerDuty/pagerduty",
"owner": "PagerDuty", "owner": "PagerDuty",
"repo": "terraform-provider-pagerduty", "repo": "terraform-provider-pagerduty",
"rev": "v2.6.4", "rev": "v2.7.0",
"spdx": "MPL-2.0", "spdx": "MPL-2.0",
"vendorHash": null "vendorHash": null
}, },

View file

@ -1,7 +1,7 @@
{ branch ? "stable", callPackage, fetchurl, lib, stdenv }: { branch ? "stable", callPackage, fetchurl, lib, stdenv }:
let let
versions = if stdenv.isLinux then { versions = if stdenv.isLinux then {
stable = "0.0.21"; stable = "0.0.22";
ptb = "0.0.38"; ptb = "0.0.38";
canary = "0.0.145"; canary = "0.0.145";
} else { } else {
@ -14,7 +14,7 @@ let
x86_64-linux = { x86_64-linux = {
stable = fetchurl { stable = fetchurl {
url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz"; url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz";
sha256 = "KDKUssPRrs/D10s5GhJ23hctatQmyqd27xS9nU7iNaM="; sha256 = "sha256-F1xzdx4Em6Ref7HTe9EH7whx49iFc0DFpaQKdFquq6c=";
}; };
ptb = fetchurl { ptb = fetchurl {
url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz"; url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz";

View file

@ -1,7 +1,7 @@
{ pname, version, src, openasar, meta, binaryName, desktopName, autoPatchelfHook { pname, version, src, openasar, meta, binaryName, desktopName, autoPatchelfHook
, makeDesktopItem, lib, stdenv, wrapGAppsHook, makeShellWrapper, alsa-lib, at-spi2-atk , makeDesktopItem, lib, stdenv, wrapGAppsHook, makeShellWrapper, alsa-lib, at-spi2-atk
, at-spi2-core, atk, cairo, cups, dbus, expat, fontconfig, freetype, gdk-pixbuf , at-spi2-core, atk, cairo, cups, dbus, expat, fontconfig, freetype, gdk-pixbuf
, glib, gtk3, libcxx, libdrm, libnotify, libpulseaudio, libuuid, libX11 , glib, gtk3, libcxx, libdrm, libglvnd, libnotify, libpulseaudio, libuuid, libX11
, libXScrnSaver, libXcomposite, libXcursor, libXdamage, libXext, libXfixes , libXScrnSaver, libXcomposite, libXcursor, libXdamage, libXext, libXfixes
, libXi, libXrandr, libXrender, libXtst, libxcb, libxshmfence, mesa, nspr, nss , libXi, libXrandr, libXrender, libXtst, libxcb, libxshmfence, mesa, nspr, nss
, pango, systemd, libappindicator-gtk3, libdbusmenu, writeScript, python3, runCommand , pango, systemd, libappindicator-gtk3, libdbusmenu, writeScript, python3, runCommand
@ -64,6 +64,7 @@ stdenv.mkDerivation rec {
gdk-pixbuf gdk-pixbuf
glib glib
gtk3 gtk3
libglvnd
libnotify libnotify
libX11 libX11
libXcomposite libXcomposite
@ -96,7 +97,7 @@ stdenv.mkDerivation rec {
wrapProgramShell $out/opt/${binaryName}/${binaryName} \ wrapProgramShell $out/opt/${binaryName}/${binaryName} \
"''${gappsWrapperArgs[@]}" \ "''${gappsWrapperArgs[@]}" \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \ --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland --enable-features=WaylandWindowDecorations}}" \
--prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/" \ --prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/" \
--prefix LD_LIBRARY_PATH : ${libPath}:$out/opt/${binaryName} \ --prefix LD_LIBRARY_PATH : ${libPath}:$out/opt/${binaryName} \
--run "${lib.getExe disableBreakingUpdates}" --run "${lib.getExe disableBreakingUpdates}"

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "ghorg"; pname = "ghorg";
version = "1.9.0"; version = "1.9.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gabrie30"; owner = "gabrie30";
repo = "ghorg"; repo = "ghorg";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-P9LwgEUz8QgUVQYISIx3Sa8ibFxNTGNNO5Vn014UB88="; sha256 = "sha256-1wtpbwTO8MdEvcdo5ImNuiNOtyPfaKFpr2Rezac4ofU=";
}; };
doCheck = false; doCheck = false;

View file

@ -1,28 +1,31 @@
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }: { lib, rustPlatform, fetchFromGitHub, stdenv, Security, webfs }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "srvc"; pname = "srvc";
version = "0.8.0"; version = "0.9.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "insilica"; owner = "insilica";
repo = "rs-srvc"; repo = "rs-srvc";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-2eEuKAMxxTwjDInpYcOlFJha5DTe0IrxT5rI6ymN0hc="; sha256 = "sha256-XslMwA1DhztK9DPNCucUpzjCQXz6PN8ml8JBvKtJeqg=";
}; };
cargoSha256 = "sha256-nJM7/w4awbCZQysUOSTO6bfsBXO3agJRdp1RyRZhtUY="; cargoSha256 = "sha256-KxwBF5t8lcaH8ZD4SorIBiq7p6r9LGHfEOyNXtB9HJw=";
# remove timeouts in tests to make them less flaky
patches = [ ./tests-no-timeout.patch ];
buildInputs = lib.optionals stdenv.isDarwin [ buildInputs = lib.optionals stdenv.isDarwin [
Security Security
]; ];
checkInputs = [ webfs ];
# remove timeouts in tests to make them less flaky
TEST_SRVC_DISABLE_TIMEOUT = 1;
meta = with lib; { meta = with lib; {
description = "Sysrev version control"; description = "Sysrev version control";
homepage = "https://github.com/insilica/rs-srvc"; homepage = "https://github.com/insilica/rs-srvc";
changelog = "https://github.com/insilica/rs-srvc/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ john-shaffer ]; maintainers = with maintainers; [ john-shaffer ];
mainProgram = "sr"; mainProgram = "sr";

View file

@ -1,36 +0,0 @@
--- a/tests/common/mod.rs
+++ b/tests/common/mod.rs
@@ -1,15 +1,13 @@
#![allow(dead_code)]
use std::path::PathBuf;
-use std::time::Duration;
use assert_cmd::Command;
#[cfg(unix)]
use rexpect::session::PtySession;
-pub fn cmd(timeout_millis: u64) -> Command {
+pub fn cmd(_: u64) -> Command {
let mut cmd = Command::cargo_bin(env!("CARGO_PKG_NAME")).unwrap();
- cmd.timeout(Duration::from_millis(timeout_millis));
cmd.env_remove("RUST_BACKTRACE");
cmd
}
@@ -19,14 +17,14 @@ pub fn spawn(
dir: &str,
args: Vec<&str>,
timestamp_override: u64,
- timeout_millis: u64,
+ _: u64,
) -> Result<PtySession, rexpect::errors::Error> {
let mut cmd = std::process::Command::new(env!("CARGO_BIN_EXE_sr"));
cmd.args(args);
cmd.current_dir(dir);
cmd.env("SR_TIMESTAMP_OVERRIDE", timestamp_override.to_string());
cmd.env_remove("RUST_BACKTRACE");
- Ok(rexpect::session::spawn_command(cmd, Some(timeout_millis))?)
+ rexpect::session::spawn_command(cmd, None)
}
pub fn remove_sink(dir: &str) -> Result<(), std::io::Error> {

View file

@ -28,13 +28,6 @@
, wxGTK , wxGTK
, zlib , zlib
, CoreText
, CoreFoundation
, AppKit
, Carbon
, IOKit
, Cocoa
, spellcheckSupport ? true , spellcheckSupport ? true
, hunspell ? null , hunspell ? null
@ -51,6 +44,7 @@
, portaudio ? null , portaudio ? null
, useBundledLuaJIT ? false , useBundledLuaJIT ? false
, darwin
}: }:
assert spellcheckSupport -> (hunspell != null); assert spellcheckSupport -> (hunspell != null);
@ -62,6 +56,7 @@ assert portaudioSupport -> (portaudio != null);
let let
luajit52 = luajit.override { enable52Compat = true; }; luajit52 = luajit.override { enable52Compat = true; };
inherit (lib) optional; inherit (lib) optional;
inherit (darwin.apple_sdk.frameworks) CoreText CoreFoundation AppKit Carbon IOKit Cocoa;
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "aegisub"; pname = "aegisub";

View file

@ -3,11 +3,11 @@
buildKodiAddon rec { buildKodiAddon rec {
pname = "youtube"; pname = "youtube";
namespace = "plugin.video.youtube"; namespace = "plugin.video.youtube";
version = "6.8.22+matrix.1"; version = "6.8.23+matrix.1";
src = fetchzip { src = fetchzip {
url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip"; url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
sha256 = "V1ALhD0zLm6Rq2KFpZXULPiB7sAPaNDhCpxScr+apDE="; sha256 = "GIPgw1exAgw/D5vNpQQkUnTye66jfLLI5/asrthEDPQ=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -17,7 +17,6 @@
, lua , lua
, libuchardet , libuchardet
, libiconv , libiconv
, CoreFoundation, Cocoa, CoreAudio, MediaPlayer
, xcbuild , xcbuild
, waylandSupport ? stdenv.isLinux , waylandSupport ? stdenv.isLinux
@ -75,11 +74,12 @@
, xineramaSupport ? stdenv.isLinux, libXinerama , xineramaSupport ? stdenv.isLinux, libXinerama
, xvSupport ? stdenv.isLinux, libXv , xvSupport ? stdenv.isLinux, libXv
, zimgSupport ? true, zimg , zimgSupport ? true, zimg
, darwin
}: }:
let let
inherit (darwin.apple_sdk.frameworks) CoreFoundation Cocoa CoreAudio MediaPlayer;
luaEnv = lua.withPackages (ps: with ps; [ luasocket ]); luaEnv = lua.withPackages (ps: with ps; [ luasocket ]);
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "mpv"; pname = "mpv";
version = "0.35.0"; version = "0.35.0";

View file

@ -18,7 +18,7 @@ let
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "purescript"; pname = "purescript";
version = "0.15.6"; version = "0.15.7";
# These hashes can be updated automatically by running the ./update.sh script. # These hashes can be updated automatically by running the ./update.sh script.
src = src =
@ -26,12 +26,12 @@ in stdenv.mkDerivation rec {
then then
fetchurl { fetchurl {
url = "https://github.com/${pname}/${pname}/releases/download/v${version}/macos.tar.gz"; url = "https://github.com/${pname}/${pname}/releases/download/v${version}/macos.tar.gz";
sha256 = "14l4m9xgp9slg4hfaqkwvzdvmg26qj2livldni3lmivvcagjgb2x"; sha256 = "0aq5sr93z6c5l76sqbj3g48z6yrhxfqxri0x1ajmjwhcwjg79d6v";
} }
else else
fetchurl { fetchurl {
url = "https://github.com/${pname}/${pname}/releases/download/v${version}/linux64.tar.gz"; url = "https://github.com/${pname}/${pname}/releases/download/v${version}/linux64.tar.gz";
sha256 = "1vw3igxv4zr5gf1ml5ls17w9cc9shdn8fvbk6dkfnxrs93cwrq0k"; sha256 = "032jqrk46k9zbq058ms8rnrq0209rd8vkxwj73vqrlgqvpzlfl5k";
}; };

View file

@ -5,13 +5,15 @@
, doxygen , doxygen
, freeglut , freeglut
, freetype , freetype
, GLUT
, libGL , libGL
, libGLU , libGLU
, OpenGL
, pkg-config , pkg-config
, darwin
}: }:
let
inherit (darwin.apple_sdk.frameworks) OpenGL GLUT;
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ftgl"; pname = "ftgl";
version = "2.4.0"; version = "2.4.0";

View file

@ -1,4 +1,5 @@
{ stdenv { stdenv
, fetchpatch
, fetchFromGitLab , fetchFromGitLab
, cmake , cmake
, ninja , ninja
@ -25,6 +26,16 @@ stdenv.mkDerivation rec {
sha256 = "sha256-SNo5YT7o29zdxkHLuy9MT88qBg/U1Wwa3BWShF5ACTc="; sha256 = "sha256-SNo5YT7o29zdxkHLuy9MT88qBg/U1Wwa3BWShF5ACTc=";
}; };
patches = [
# Fixed upstream, remove when the new version releases:
# https://gitlab.com/inkscape/lib2geom/-/issues/49
(fetchpatch {
name = "expect-double-eq-in-choose-test.patch";
url = "https://gitlab.com/inkscape/lib2geom/-/commit/5b7c75dd3841cb415f163f0a81f556c57d3e0a83.patch";
sha256 = "RMgwJkylrGFTTrqBzqs5j2LMSLsHhcE/UT1pKBZnU50=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
ninja ninja

View file

@ -7,10 +7,12 @@
, pango , pango
, pkg-config , pkg-config
, wxGTK , wxGTK
# darwin deps , darwin
, Cocoa
}: }:
let
inherit (darwin.apple_sdk.frameworks) Cocoa;
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "wxSVG"; pname = "wxSVG";
version = "1.5.24"; version = "1.5.24";

View file

@ -0,0 +1,15 @@
diff -ru a/absl/base/config.h b/absl/base/config.h
--- a/absl/base/config.h
+++ b/absl/base/config.h
@@ -558,9 +558,9 @@
__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 50000) || \
(defined(__ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__) && \
__ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__ < 120000))))
-#define ABSL_INTERNAL_APPLE_CXX17_TYPES_UNAVAILABLE 1
+// #define ABSL_INTERNAL_APPLE_CXX17_TYPES_UNAVAILABLE 1
#else
-#define ABSL_INTERNAL_APPLE_CXX17_TYPES_UNAVAILABLE 0
+// #define ABSL_INTERNAL_APPLE_CXX17_TYPES_UNAVAILABLE 0
#endif
// ABSL_HAVE_STD_ANY

View file

@ -168,7 +168,7 @@ let
''; '';
}; };
bazel-build = if stdenv.isDarwin then _bazel-build.overrideAttrs (prev: { bazel-build = if stdenv.isDarwin then _bazel-build.overrideAttrs (prev: {
bazelBuildFlags = prev.bazelBuildFlags ++ [ bazelFlags = prev.bazelFlags ++ [
"--override_repository=rules_cc=${rules_cc_darwin_patched}" "--override_repository=rules_cc=${rules_cc_darwin_patched}"
"--override_repository=llvm-raw=${llvm-raw_darwin_patched}" "--override_repository=llvm-raw=${llvm-raw_darwin_patched}"
]; ];
@ -311,6 +311,8 @@ let
# bazel 3.3 should work just as well as bazel 3.1 # bazel 3.3 should work just as well as bazel 3.1
rm -f .bazelversion rm -f .bazelversion
patchShebangs . patchShebangs .
'' + lib.optionalString (stdenv.hostPlatform.system == "x86_64-darwin") ''
cat ${./com_google_absl_fix_macos.patch} >> third_party/absl/com_google_absl_fix_mac_and_nvcc_build.patch
'' + lib.optionalString (!withTensorboard) '' '' + lib.optionalString (!withTensorboard) ''
# Tensorboard pulls in a bunch of dependencies, some of which may # Tensorboard pulls in a bunch of dependencies, some of which may
# include security vulnerabilities. So we make it optional. # include security vulnerabilities. So we make it optional.
@ -375,7 +377,7 @@ let
then "sha256-SudzMTxfifKJJso6haCgOD2dXeAhYSXHA2nzq1ErTHg=" then "sha256-SudzMTxfifKJJso6haCgOD2dXeAhYSXHA2nzq1ErTHg="
else "sha256-bwZwK24DlUevN5gIdKmBkq1dJpn0i2H4hq+IN77BzjE="; else "sha256-bwZwK24DlUevN5gIdKmBkq1dJpn0i2H4hq+IN77BzjE=";
aarch64-linux = "sha256-ZbCNZSHF9of+KGTNEqFdKQ44MVNto/rTyo2XEsKXISg="; aarch64-linux = "sha256-ZbCNZSHF9of+KGTNEqFdKQ44MVNto/rTyo2XEsKXISg=";
x86_64-darwin = "sha256-/qPUDgfKsWCZh/pgZM4wm9+4U9U5kxxv7q3Uh7zKSO4="; x86_64-darwin = "sha256-ZfZQjLdqo8VVlfKfkdolvSHQvKe4IbQSLc/4cNzHr3E=";
aarch64-darwin = "sha256-u+ODHAZDlGe06PUWId4sNKyl60vhAPMd01jMm2EvN8E="; aarch64-darwin = "sha256-u+ODHAZDlGe06PUWId4sNKyl60vhAPMd01jMm2EvN8E=";
}.${stdenv.hostPlatform.system} or (throw "unsupported system ${stdenv.hostPlatform.system}"); }.${stdenv.hostPlatform.system} or (throw "unsupported system ${stdenv.hostPlatform.system}");
}; };
@ -424,7 +426,7 @@ let
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ jyp abbradar ]; maintainers = with maintainers; [ jyp abbradar ];
platforms = with platforms; linux ++ darwin; platforms = with platforms; linux ++ darwin;
broken = !(xlaSupport -> cudaSupport) || (stdenv.hostPlatform.system == "x86_64-darwin"); broken = !(xlaSupport -> cudaSupport);
} // lib.optionalAttrs stdenv.isDarwin { } // lib.optionalAttrs stdenv.isDarwin {
timeout = 86400; # 24 hours timeout = 86400; # 24 hours
maxSilent = 14400; # 4h, double the default of 7200s maxSilent = 14400; # 4h, double the default of 7200s

View file

@ -1,37 +1,40 @@
{ lib { lib
, stdenv , stdenv
, fetchurl
, buildPackages , buildPackages
, bzip2 , bzip2
, curlMinimal , curlMinimal
, expat , expat
, fetchurl
, libarchive , libarchive
, libuv , libuv
, ncurses , ncurses
, openssl , openssl
, pkg-config , pkg-config
, qtbase , ps
, rhash , rhash
, sphinx , sphinx
, texinfo , texinfo
, wrapQtAppsHook
, xz , xz
, zlib , zlib
, SystemConfiguration
, ps
, isBootstrap ? false , isBootstrap ? false
, useOpenSSL ? !isBootstrap , useOpenSSL ? !isBootstrap
, useSharedLibraries ? (!isBootstrap && !stdenv.isCygwin) , useSharedLibraries ? (!isBootstrap && !stdenv.isCygwin)
, uiToolkits ? [] # can contain "ncurses" and/or "qt5" , uiToolkits ? [] # can contain "ncurses" and/or "qt5"
, buildDocs ? !(isBootstrap || (uiToolkits == [])) , buildDocs ? !(isBootstrap || (uiToolkits == []))
, darwin
, libsForQt5
}: }:
let let
inherit (darwin.apple_sdk.frameworks) SystemConfiguration;
inherit (libsForQt5) qtbase wrapQtAppsHook;
cursesUI = lib.elem "ncurses" uiToolkits; cursesUI = lib.elem "ncurses" uiToolkits;
qt5UI = lib.elem "qt5" uiToolkits; qt5UI = lib.elem "qt5" uiToolkits;
in in
# Accepts only "ncurses" and "qt5" as possible uiToolkits # Accepts only "ncurses" and "qt5" as possible uiToolkits
assert lib.subtractLists [ "ncurses" "qt5" ] uiToolkits == []; assert lib.subtractLists [ "ncurses" "qt5" ] uiToolkits == [];
# Minimal, bootstrap cmake does not have toolkits
assert isBootstrap -> (uiToolkits == []);
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "cmake" pname = "cmake"
+ lib.optionalString isBootstrap "-boot" + lib.optionalString isBootstrap "-boot"

View file

@ -1,25 +1,28 @@
{ lib { lib
, stdenvNoCC , stdenvNoCC
, fetchurl , fetchFromGitHub
}: }:
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation (finalAttrs: {
pname = "cpm"; pname = "cpm-cmake";
version = "0.36.0"; version = "0.36.0";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/cpm-cmake/CPM.cmake/releases/download/v${version}/CPM.cmake"; owner = "cpm-cmake";
sha256 = "sha256-F5YA1Z8OdSihipjo7QhqIZMKBcvm9WyfJ5l4WZwW9Cc="; repo = "cpm.cmake";
rev = "v${finalAttrs.version}";
hash = "sha256-XI3yDBhmglQnIe/t6sfL9WxaclqtOgE1kDmocQL+xnA=";
}; };
dontUnpack = true;
dontConfigure = true; dontConfigure = true;
dontBuild = true; dontBuild = true;
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
install -Dm644 $src $out/share/cpm/CPM.cmake mkdir -p $out/share/{,doc/}cpm
install -Dm644 cmake/CPM.cmake $out/share/cpm/CPM.cmake
install -Dm644 README.md CONTRIBUTING.md $out/share/doc/cpm/
runHook postInstall runHook postInstall
''; '';
@ -37,4 +40,4 @@ stdenvNoCC.mkDerivation rec {
maintainers = with maintainers; [ ken-matsui ]; maintainers = with maintainers; [ ken-matsui ];
platforms = platforms.all; platforms = platforms.all;
}; };
} })

View file

@ -7,17 +7,17 @@
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
version = "0.31.0"; version = "0.32.0";
pname = "geckodriver"; pname = "geckodriver";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mozilla"; owner = "mozilla";
repo = "geckodriver"; repo = "geckodriver";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-sUu1D3HAxUTQFas4ylQ9LYC0dcKPyljoU+keENg17os="; sha256 = "sha256-gYDfCPA2zsscZ4r4FcNgCvIMMm13/HACTvNoiK/c+LA=";
}; };
cargoSha256 = "sha256-alwsxC1xDAAhqMTkgmUO4iDDUAK0lisXn3Yxgo7ZBhg="; cargoSha256 = "sha256-FlttmNHh0UVQ6xbo1eID+Ys34xp6zvKab4eoKIGujCU=";
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ]; buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "ginkgo"; pname = "ginkgo";
version = "2.5.1"; version = "2.6.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "onsi"; owner = "onsi";
repo = "ginkgo"; repo = "ginkgo";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-xoZVo+JEOXaME7gE9PuTfNmAyVTgczNuSzA4zYAfUmc="; sha256 = "sha256-uL6GPi+dcPkSAaGt1Fv2cJT3Q8nJaxqs8b5w9PFJm9g=";
}; };
vendorSha256 = "sha256-a8NZ9Uws6OKfXWUL6oTZKoAG8pTYxxSNkefZtbqwyf4="; vendorSha256 = "sha256-a8NZ9Uws6OKfXWUL6oTZKoAG8pTYxxSNkefZtbqwyf4=";

View file

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cargo-modules"; pname = "cargo-modules";
version = "0.7.0"; version = "0.7.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "regexident"; owner = "regexident";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-IBvSuyr3ERfPIivw6sEJSRta07Awmwd47cV1iKmvt8A="; sha256 = "sha256-vMmbed2UOe/N8V7LbvYm7BbOOHD69qaizkYf66VCZMs=";
}; };
cargoSha256 = "sha256-zX3lBNQVWBrVQh+02TDUqU7Xmbd7hBOzJxD7cSNTNR0="; cargoSha256 = "sha256-xo3EUDWoE1OFTaA9y3ymGA/l2fwNqnPBLpNc8xyjasY=";
buildInputs = lib.optionals stdenv.isDarwin [ buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreServices darwin.apple_sdk.frameworks.CoreServices

View file

@ -1,5 +1,15 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, SDL2, wxGTK32, Cocoa }: { lib
, stdenv
, fetchFromGitHub
, pkg-config
, SDL2
, wxGTK32
, darwin
}:
let
inherit (darwin.apple_sdk.frameworks) Cocoa;
in
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "sound-of-sorting"; pname = "sound-of-sorting";
version = "unstable-2022-10-12"; version = "unstable-2022-10-12";

View file

@ -34,14 +34,14 @@ let
in in
with py.pkgs; buildPythonApplication rec { with py.pkgs; buildPythonApplication rec {
pname = "awscli2"; pname = "awscli2";
version = "2.9.4"; # N.B: if you change this, check if overrides are still up-to-date version = "2.9.6"; # N.B: if you change this, check if overrides are still up-to-date
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "aws"; owner = "aws";
repo = "aws-cli"; repo = "aws-cli";
rev = version; rev = version;
sha256 = "sha256-zmyn9hotkePRap9qVzAZi1u4YuiT+Qt+IDh7TD0Yq9A="; hash = "sha256-3zB0Uy2pmkrOLb+/mXZGs/pnzo6zi2zVPyeNPGPVQJM=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -61,7 +61,6 @@ with py.pkgs; buildPythonApplication rec {
pyyaml pyyaml
rsa rsa
ruamel-yaml ruamel-yaml
wcwidth
python-dateutil python-dateutil
jmespath jmespath
urllib3 urllib3
@ -77,8 +76,6 @@ with py.pkgs; buildPythonApplication rec {
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace "colorama>=0.2.5,<0.4.4" "colorama" \ --replace "colorama>=0.2.5,<0.4.4" "colorama" \
--replace "distro>=1.5.0,<1.6.0" "distro" \ --replace "distro>=1.5.0,<1.6.0" "distro" \
--replace "docutils>=0.10,<0.16" "docutils" \
--replace "wcwidth<0.2.0" "wcwidth" \
--replace "cryptography>=3.3.2,<=38.0.1" "cryptography>=3.3.2,<=38.0.3" --replace "cryptography>=3.3.2,<=38.0.1" "cryptography>=3.3.2,<=38.0.3"
''; '';

View file

@ -1,10 +1,14 @@
{ lib, stdenv, fetchFromGitHub { lib, stdenv, fetchFromGitHub
, fontconfig, freetype, libX11, libXext, libXt, xorgproto , fontconfig, freetype, libX11, libXext, libXt, xorgproto
, Carbon, Cocoa, IOKit, Metal, QuartzCore, DarwinTools
, perl # For building web manuals , perl # For building web manuals
, which, ed , which, ed
, darwin
}: }:
let
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa IOKit Metal QuartzCore;
inherit (darwin) DarwinTools;
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "plan9port"; pname = "plan9port";
version = "2022-09-12"; version = "2022-09-12";

View file

@ -434,7 +434,7 @@ with pkgs;
cp437 = callPackage ../tools/misc/cp437 { }; cp437 = callPackage ../tools/misc/cp437 { };
cpm = callPackage ../development/tools/cpm { }; cpm-cmake = callPackage ../development/tools/cpm-cmake { };
cpu-x = callPackage ../applications/misc/cpu-x { }; cpu-x = callPackage ../applications/misc/cpu-x { };
@ -1201,7 +1201,6 @@ with pkgs;
aegisub = callPackage ../applications/video/aegisub ({ aegisub = callPackage ../applications/video/aegisub ({
wxGTK = wxGTK32; wxGTK = wxGTK32;
inherit (darwin.apple_sdk.frameworks) CoreText CoreFoundation AppKit Carbon IOKit Cocoa;
} // (config.aegisub or {})); } // (config.aegisub or {}));
aerc = callPackage ../applications/networking/mailreaders/aerc { }; aerc = callPackage ../applications/networking/mailreaders/aerc { };
@ -7247,9 +7246,7 @@ with pkgs;
frostwire = callPackage ../applications/networking/p2p/frostwire { }; frostwire = callPackage ../applications/networking/p2p/frostwire { };
frostwire-bin = callPackage ../applications/networking/p2p/frostwire/frostwire-bin.nix { }; frostwire-bin = callPackage ../applications/networking/p2p/frostwire/frostwire-bin.nix { };
ftgl = callPackage ../development/libraries/ftgl { ftgl = callPackage ../development/libraries/ftgl { };
inherit (darwin.apple_sdk.frameworks) OpenGL GLUT;
};
ftop = callPackage ../os-specific/linux/ftop { }; ftop = callPackage ../os-specific/linux/ftop { };
@ -10631,10 +10628,7 @@ with pkgs;
plantuml-server = callPackage ../tools/misc/plantuml-server { }; plantuml-server = callPackage ../tools/misc/plantuml-server { };
plan9port = callPackage ../tools/system/plan9port { plan9port = callPackage ../tools/system/plan9port { };
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa IOKit Metal QuartzCore;
inherit (darwin) DarwinTools;
};
platformioPackages = dontRecurseIntoAttrs (callPackage ../development/embedded/platformio { }); platformioPackages = dontRecurseIntoAttrs (callPackage ../development/embedded/platformio { });
platformio = platformioPackages.platformio-chrootenv; platformio = platformioPackages.platformio-chrootenv;
@ -16956,18 +16950,11 @@ with pkgs;
ctmg = callPackage ../tools/security/ctmg { }; ctmg = callPackage ../tools/security/ctmg { };
cmake = callPackage ../development/tools/build-managers/cmake { cmake = callPackage ../development/tools/build-managers/cmake { };
inherit (darwin.apple_sdk.frameworks) SystemConfiguration;
inherit (libsForQt5) qtbase wrapQtAppsHook;
};
# can't use override - it triggers infinite recursion
cmakeMinimal = callPackage ../development/tools/build-managers/cmake { cmakeMinimal = callPackage ../development/tools/build-managers/cmake {
isBootstrap = true; isBootstrap = true;
qtbase = null;
wrapQtAppsHook = null;
# There is no SystemConfiguration in bootstrapTools, so this version gets
# patched to remove that dependency.
SystemConfiguration = null;
}; };
cmakeCurses = cmake.override { cmakeCurses = cmake.override {
@ -23182,7 +23169,6 @@ with pkgs;
wxSVG = callPackage ../development/libraries/wxSVG { wxSVG = callPackage ../development/libraries/wxSVG {
wxGTK = wxGTK30; wxGTK = wxGTK30;
inherit (darwin.apple_sdk.frameworks) Cocoa;
}; };
wtk = callPackage ../development/libraries/wtk { }; wtk = callPackage ../development/libraries/wtk { };
@ -30722,7 +30708,6 @@ with pkgs;
mpv-unwrapped = callPackage ../applications/video/mpv { mpv-unwrapped = callPackage ../applications/video/mpv {
inherit lua; inherit lua;
inherit (darwin.apple_sdk.frameworks) CoreFoundation Cocoa CoreAudio MediaPlayer;
}; };
# Wraps without trigerring a rebuild # Wraps without trigerring a rebuild
@ -37374,9 +37359,7 @@ with pkgs;
soundmodem = callPackage ../applications/radio/soundmodem {}; soundmodem = callPackage ../applications/radio/soundmodem {};
soundOfSorting = callPackage ../misc/sound-of-sorting { soundOfSorting = callPackage ../misc/sound-of-sorting { };
inherit (darwin.apple_sdk.frameworks) Cocoa;
};
sourceAndTags = callPackage ../misc/source-and-tags { sourceAndTags = callPackage ../misc/source-and-tags {
hasktags = haskellPackages.hasktags; hasktags = haskellPackages.hasktags;