Skip to content

Commit

Permalink
Merge master into staging-next
Browse files Browse the repository at this point in the history
  • Loading branch information
nixpkgs-ci[bot] authored Jan 16, 2025
2 parents 65385c1 + 0bda27c commit 31193d7
Show file tree
Hide file tree
Showing 78 changed files with 1,056 additions and 1,758 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17529,6 +17529,12 @@
githubId = 25278658;
name = "Patrick Widmer";
};
paukaifler = {
email = "[email protected]";
github = "PauKaifler";
githubId = 81905706;
name = "Pau Kaifler";
};
paulsmith = {
email = "[email protected]";
github = "paulsmith";
Expand Down
4 changes: 2 additions & 2 deletions nixos/modules/services/home-automation/home-assistant.nix
Original file line number Diff line number Diff line change
Expand Up @@ -317,11 +317,11 @@ in {
};

unit_system = mkOption {
type = types.nullOr (types.enum [ "metric" "imperial" ]);
type = types.nullOr (types.enum [ "metric" "us_customary" ]);
default = null;
example = "metric";
description = ''
The unit system to use. This also sets temperature_unit, Celsius for Metric and Fahrenheit for Imperial.
The unit system to use. This also sets temperature_unit, Celsius for Metric and Fahrenheit for US Customary.
'';
};

Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/system/boot/systemd/tmpfiles.nix
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ in
description = "Create Volatile Files and Directories in the Real Root";
after = [ "initrd-fs.target" ];
before = [
"initrd-nixos-activation.service"
"initrd.target"
"shutdown.target" "initrd-switch-root.target"
];
conflicts = [ "shutdown.target" "initrd-switch-root.target" ];
Expand Down
30 changes: 1 addition & 29 deletions pkgs/applications/networking/browsers/chromium/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -458,32 +458,6 @@ let
# flag (declare_args) so we simply hardcode it to false.
./patches/widevine-disable-auto-download-allow-bundle.patch
]
++ lib.optionals (versionRange "127" "128") [
# Fix missing chrome/browser/ui/webui_name_variants.h dependency
# and ninja 1.12 compat in M127.
# https://issues.chromium.org/issues/345645751
# https://issues.chromium.org/issues/40253918
# https://chromium-review.googlesource.com/c/chromium/src/+/5641516
(githubPatch {
commit = "2c101186b60ed50f2ba4feaa2e963bd841bcca47";
hash = "sha256-luu3ggo6XoeeECld1cKZ6Eh8x/qQYmmKI/ThEhuutuY=";
})
# https://chromium-review.googlesource.com/c/chromium/src/+/5644627
(githubPatch {
commit = "f2b43c18b8ecfc3ddc49c42c062d796c8b563984";
hash = "sha256-uxXxSsiS8R0827Oi3xsG2gtT0X+jJXziwZ1y8+7K+Qg=";
})
# https://chromium-review.googlesource.com/c/chromium/src/+/5646245
(githubPatch {
commit = "4ca70656fde83d2db6ed5a8ac9ec9e7443846924";
hash = "sha256-iQuRRZjDDtJfr+B7MV+TvUDDX3bvpCnv8OpSLJ1WqCE=";
})
# https://chromium-review.googlesource.com/c/chromium/src/+/5647662
(githubPatch {
commit = "50d63ffee3f7f1b1b9303363742ad8ebbfec31fa";
hash = "sha256-H+dv+lgXSdry3NkygpbCdTAWWdTVdKdVD3Aa62w091E=";
})
]
++ [
# Required to fix the build with a more recent wayland-protocols version
# (we currently package 1.26 in Nixpkgs while Chromium bundles 1.21):
Expand Down Expand Up @@ -646,7 +620,7 @@ let
+ ''
# Link to our own Node.js and Java (required during the build):
mkdir -p third_party/node/linux/node-linux-x64/bin
ln -s${lib.optionalString (chromiumVersionAtLeast "127") "f"} "${pkgsBuildHost.nodejs}/bin/node" third_party/node/linux/node-linux-x64/bin/node
ln -sf "${pkgsBuildHost.nodejs}/bin/node" third_party/node/linux/node-linux-x64/bin/node
ln -s "${pkgsBuildHost.jdk17_headless}/bin/java" third_party/jdk/current/bin/
# Allow building against system libraries in official builds
Expand Down Expand Up @@ -751,8 +725,6 @@ let
use_system_libffi = true;
# Use nixpkgs Rust compiler instead of the one shipped by Chromium.
rust_sysroot_absolute = "${buildPackages.rustc}";
}
// lib.optionalAttrs (chromiumVersionAtLeast "127") {
rust_bindgen_root = "${buildPackages.rust-bindgen}";
}
// {
Expand Down
3 changes: 1 addition & 2 deletions pkgs/applications/networking/browsers/chromium/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ let
url = "https://gn.googlesource.com/gn";
inherit (upstream-info.deps.gn) rev hash;
};
}
// lib.optionalAttrs (chromiumVersionAtLeast "127") {

# Relax hardening as otherwise gn unstable 2024-06-06 and later fail with:
# cc1plus: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security]
hardeningDisable = [ "format" ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1237,11 +1237,11 @@
"vendorHash": "sha256-YdWs2orKhbwAZSQYC73t4e/vvVxk8LrBPG9ZC38VcZE="
},
"sysdig": {
"hash": "sha256-TvZ7x4dWOERkqTWtjmbILdcWy12kqsV+OzLJ4siQ7mA=",
"hash": "sha256-AedvLVOnAGQ33TJ2o5AI+LixvrLpK/C90vS8jsXadbk=",
"homepage": "https://registry.terraform.io/providers/sysdiglabs/sysdig",
"owner": "sysdiglabs",
"repo": "terraform-provider-sysdig",
"rev": "v1.42.0",
"rev": "v1.44.0",
"spdx": "MPL-2.0",
"vendorHash": "sha256-nfVS4EXpPoriXyPpBK8k5OU9MTWxxrvTIwsF2uyQE/0="
},
Expand Down
20 changes: 16 additions & 4 deletions pkgs/applications/science/logic/coq/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -231,17 +231,29 @@ self = stdenv.mkDerivation {
mainProgram = "coqide";
};
}; in
if coqAtLeast "8.17" then self.overrideAttrs(_: let
core-stdlib-package = if coqAtLeast "8.21" then "rocq-core" else "coq-stdlib"; in {
if coqAtLeast "8.21" then self.overrideAttrs(_: {
# coq-core is now a shim for rocq
buildPhase = ''
runHook preBuild
make dunestrap
dune build -p coq-core${lib.optionalString (coqAtLeast "8.21") ",rocq-runtime"},${core-stdlib-package},coqide-server${lib.optionalString buildIde ",coqide"} -j $NIX_BUILD_CORES
dune build -p rocq-runtime,rocq-core,coq-core,coqide-server${lib.optionalString buildIde ",rocqide"} -j $NIX_BUILD_CORES
runHook postBuild
'';
installPhase = ''
runHook preInstall
dune install --prefix $out coq-core ${lib.optionalString (coqAtLeast "8.21") "rocq-runtime"} ${core-stdlib-package} coqide-server${lib.optionalString buildIde " coqide"}
dune install --prefix $out rocq-runtime rocq-core coq-core coqide-server${lib.optionalString buildIde " rocqide"}
runHook postInstall
'';
}) else if coqAtLeast "8.17" then self.overrideAttrs(_: {
buildPhase = ''
runHook preBuild
make dunestrap
dune build -p coq-core,coq-stdlib,coqide-server${lib.optionalString buildIde ",coqide"} -j $NIX_BUILD_CORES
runHook postBuild
'';
installPhase = ''
runHook preInstall
dune install --prefix $out coq-core coq-stdlib coqide-server${lib.optionalString buildIde " coqide"}
runHook postInstall
'';
}) else self
4 changes: 2 additions & 2 deletions pkgs/by-name/ap/apktool/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@

stdenv.mkDerivation rec {
pname = "apktool";
version = "2.10.0";
version = "2.11.0";

src = fetchurl {
urls = [
"https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_${version}.jar"
"https://github.com/iBotPeaches/Apktool/releases/download/v${version}/apktool_${version}.jar"
];
hash = "sha256-wDUKu6tTFCSN/i7gyQfe9O3RT2+u8fXTctPUq9KPBDE=";
hash = "sha256-j9wXxv4ubYDXG4cY6ypdA3nxzHE5rnd/akmc45eyb1Q=";
};

dontUnpack = true;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/ar/arkenfox-userjs/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "arkenfox-userjs";
version = "128.0";
version = "133.0";

src = fetchurl {
url = "https://raw.githubusercontent.com/arkenfox/user.js/${finalAttrs.version}/user.js";
hash = "sha256-CJk9sni0+cYC9rBHSL2mDQRtpsQJobQ1u3tq991Oi1c=";
hash = "sha256-rPcH24YqEBOzoPB9yxMlke/3tqpi9L7GVMsZ3MUP8WY=";
};

dontUnpack = true;
Expand Down
8 changes: 4 additions & 4 deletions pkgs/by-name/bl/bloop/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

stdenv.mkDerivation rec {
pname = "bloop";
version = "2.0.6";
version = "2.0.7";

platform =
if stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64 then
Expand Down Expand Up @@ -42,11 +42,11 @@ stdenv.mkDerivation rec {
url = "https://github.com/scalacenter/bloop/releases/download/v${version}/bloop-${platform}";
sha256 =
if stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64 then
"sha256-9AhQpaahhUvWVZBx2O6KsCON60EXC1bJlMxxgJj9oMA="
"sha256-ztQEzW8bGhTURPpZmYcax8Ms2HJ78XkgEfdFBUQ6rLQ="
else if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64 then
"sha256-qu8Q7GqEkWCRHyslTCRPe5EdBH7GTXyonaXnJ6DYSlw="
"sha256-t/+TnMSkJCLYM0nqJVBzdpARqPHB3ojRQZ8iPp0EPlM="
else if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then
"sha256-j4lM32BLF6aPH/7Y7H18HHmvprjKUqdmbqvdWXpD9uE="
"sha256-qnyZxE/Bt+tXz08N60BQaLn7zzGE5eV/5mJ/BHHE8nU="
else
throw "unsupported platform";
};
Expand Down
24 changes: 17 additions & 7 deletions pkgs/by-name/bl/bluez/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,23 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-QWSlMDqfcccPSMA/9gvjQjG1aNk6mtXnmSjTTmqg6oo=";
};

patches = [
(fetchpatch {
name = "musl.patch";
url = "https://git.kernel.org/pub/scm/bluetooth/bluez.git/patch/?id=9d69dba21f1e46b34cdd8ae27fec11d0803907ee";
hash = "sha256-yMXPRPK8aT+luVoXNxx9zIa4c6E0BKYKS55DCfr8EQ0=";
})
];
patches =
[
(fetchpatch {
name = "musl.patch";
url = "https://git.kernel.org/pub/scm/bluetooth/bluez.git/patch/?id=9d69dba21f1e46b34cdd8ae27fec11d0803907ee";
hash = "sha256-yMXPRPK8aT+luVoXNxx9zIa4c6E0BKYKS55DCfr8EQ0=";
})
]
++ lib.optional (stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isx86_64)
# Disable one failing test with musl libc, also seen by alpine
# https://github.com/bluez/bluez/issues/726
(
fetchurl {
url = "https://git.alpinelinux.org/aports/plain/main/bluez/disable_aics_unit_testcases.patch?id=8e96f7faf01a45f0ad8449c1cd825db63a8dfd48";
hash = "sha256-1PJkipqBO3qxxOqRFQKfpWlne1kzTCgtnTFYI1cFQt4=";
}
);

buildInputs = [
alsa-lib
Expand Down
3 changes: 3 additions & 0 deletions pkgs/by-name/cc/ccze/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ stdenv.mkDerivation (finalAttrs: {
autoconf
'';

# provide correct pcre2-config for cross
env.PCRE_CONFIG = lib.getExe' (lib.getDev pcre2) "pcre2-config";

meta = with lib; {
mainProgram = "ccze";
description = "Fast, modular log colorizer";
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/co/cosmic-notifications/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@

rustPlatform.buildRustPackage rec {
pname = "cosmic-notifications";
version = "1.0.0-alpha.2";
version = "1.0.0-alpha.5.1";

src = fetchFromGitHub {
owner = "pop-os";
repo = "cosmic-notifications";
rev = "epoch-${version}";
hash = "sha256-tCizZePze94tbJbR91N9rfUhrLFTAMW2oL9ByKOeDAU=";
hash = "sha256-xUyBXHhpYgwr3A34oLF5l1xB8f++wtx0mTr2p8WX89o=";
};

useFetchCargoVendor = true;
cargoHash = "sha256-36M7hDt8kd2Q94AR3IJhC2lKDLW2wRWWeqh3rEaRPTo=";
cargoHash = "sha256-froRGGsK5qoia5wHtxLhljKueMCYafhika9Drsp906E=";

postPatch = ''
substituteInPlace justfile --replace-fail '#!/usr/bin/env' "#!$(command -v env)"
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/co/cosmic-settings-daemon/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@

rustPlatform.buildRustPackage rec {
pname = "cosmic-settings-daemon";
version = "1.0.0-alpha.4";
version = "1.0.0-alpha.5.1";

src = fetchFromGitHub {
owner = "pop-os";
repo = "cosmic-settings-daemon";
rev = "epoch-${version}";
hash = "sha256-wwrbZJ/FA6qjeo9M/gIlzVyygiLT3R5OTLhTwr/QSSw=";
hash = "sha256-MlBnwbszwJCa/FQNihSKsy7Bllw807C8qQL9ziYS3fE=";
};

useFetchCargoVendor = true;
cargoHash = "sha256-zAVBkH6ADs8uXqHD1gHQJl1e5l+g6NdnhEJa5fSvHDE=";
cargoHash = "sha256-ianyD+ws/t2Qg+UG3eGE1WP2dHS2iWdCTolk/ZH/Ddg=";

nativeBuildInputs = [ pkg-config ];
buildInputs = [
Expand Down
28 changes: 18 additions & 10 deletions pkgs/by-name/cr/cruft/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,38 @@
}:
python3Packages.buildPythonApplication rec {
pname = "cruft";
version = "2.15.0";
version = "2.16.0";
pyproject = true;

src = fetchFromGitHub {
owner = "cruft";
repo = "cruft";
rev = version;
hash = "sha256-qIVyNMoI3LsoOV/6XPa60Y1vTRvkezesF7wF9WVSLGk=";
tag = version;
hash = "sha256-hUucSfgDBlT5jVk/oF8JjbcYhjHgkprfGRwsSNfgjfg=";
};

postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
'';

build-system = with python3Packages; [
poetry-core
hatchling
];

nativeCheckInputs = with python3Packages; [
pytest7CheckHook
];

dependencies = with python3Packages; [
click
cookiecutter
gitpython
typer
];
dependencies =
with python3Packages;
[
click
cookiecutter
gitpython
typer
]
++ lib.optional (pythonOlder "3.11") python3Packages.toml;

pythonImportsCheck = "cruft";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/de/delly/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

stdenv.mkDerivation (finalAttrs: {
pname = "delly";
version = "1.3.2";
version = "1.3.3";

src = fetchFromGitHub {
owner = "dellytools";
repo = "delly";
rev = "v${finalAttrs.version}";
hash = "sha256-nMMEQwsaRidv5MMbGF2s1wuRQX2COvWsJA67N8HiCZA=";
hash = "sha256-e1dGiJeOLMFJ9oO7iMvKZHpg4XtrLJBpy8lECx5/iDE=";
};

postPatch = lib.optionalString stdenv.cc.isClang ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/ge/geonkick/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@

stdenv.mkDerivation rec {
pname = "geonkick";
version = "3.5.0";
version = "3.5.1";

src = fetchFromGitLab {
owner = "Geonkick-Synthesizer";
repo = pname;
rev = "v${version}";
hash = "sha256-bqdqAr4NX5WZ6zp0Kq7GFHiy/JkBvDvzuZz7jxtru0Q=";
hash = "sha256-4nJ4yn64C44ExduPX2Iypf9Rw9MlAXFkmX5KZxySPSs=";
};

nativeBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/gi/gitleaks/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

buildGoModule rec {
pname = "gitleaks";
version = "8.23.0";
version = "8.23.1";

src = fetchFromGitHub {
owner = "zricethezav";
repo = "gitleaks";
tag = "v${version}";
hash = "sha256-+9aZXjinvDYbPw+yjkQ/BH3LB0xbY1eual/zKoWMlJc=";
hash = "sha256-gz/2DwkvSY6vOKW1ttJcLjjtii0jWIdQC1/xzU5vCRA=";
};

vendorHash = "sha256-hq3v//fhCUOvKPBZ/+YrLIc4nDLxR9Yc+MeIXY7TArA=";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/gn/gnome-online-accounts/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

stdenv.mkDerivation (finalAttrs: {
pname = "gnome-online-accounts";
version = "3.52.2";
version = "3.52.3.1";

outputs =
[
Expand All @@ -46,7 +46,7 @@ stdenv.mkDerivation (finalAttrs: {

src = fetchurl {
url = "mirror://gnome/sources/gnome-online-accounts/${lib.versions.majorMinor finalAttrs.version}/gnome-online-accounts-${finalAttrs.version}.tar.xz";
hash = "sha256-+0E/SN7vu5/DACqRV53ulHzu7UH0nC9RMXr3SJtnb2c=";
hash = "sha256-Se1yfW/ElHSZb6ft8JGbIeT8hW6jfm4w8XtQsQOvlwE=";
};

mesonFlags = [
Expand Down
Loading

0 comments on commit 31193d7

Please sign in to comment.