Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub da11317d 45a2d659

+106 -71
-6
maintainers/maintainer-list.nix
··· 6834 6834 githubId = 99639; 6835 6835 name = "Pawel Kruszewski"; 6836 6836 }; 6837 - ktosiek = { 6838 - email = "tomasz.kontusz@gmail.com"; 6839 - github = "ktosiek"; 6840 - githubId = 278013; 6841 - name = "Tomasz Kontusz"; 6842 - }; 6843 6837 kubukoz = { 6844 6838 email = "kubukoz@gmail.com"; 6845 6839 github = "kubukoz";
+9
nixos/modules/installer/sd-card/sd-image-aarch64.nix
··· 39 39 # Supported in newer board revisions 40 40 arm_boost=1 41 41 42 + [cm4] 43 + # Enable host mode on the 2711 built-in XHCI USB controller. 44 + # This line should be removed if the legacy DWC2 controller is required 45 + # (e.g. for USB device mode) or if USB support is not required. 46 + otg_mode=1 47 + 42 48 [all] 43 49 # Boot in 64-bit mode. 44 50 arm_64bit=1 ··· 65 71 cp ${pkgs.ubootRaspberryPi4_64bit}/u-boot.bin firmware/u-boot-rpi4.bin 66 72 cp ${pkgs.raspberrypi-armstubs}/armstub8-gic.bin firmware/armstub8-gic.bin 67 73 cp ${pkgs.raspberrypifw}/share/raspberrypi/boot/bcm2711-rpi-4-b.dtb firmware/ 74 + cp ${pkgs.raspberrypifw}/share/raspberrypi/boot/bcm2711-rpi-400.dtb firmware/ 75 + cp ${pkgs.raspberrypifw}/share/raspberrypi/boot/bcm2711-rpi-cm4.dtb firmware/ 76 + cp ${pkgs.raspberrypifw}/share/raspberrypi/boot/bcm2711-rpi-cm4s.dtb firmware/ 68 77 ''; 69 78 populateRootCommands = '' 70 79 mkdir -p ./files/boot
+3
nixos/modules/profiles/all-hardware.nix
··· 40 40 # SD cards. 41 41 "sdhci_pci" 42 42 43 + # NVMe drives 44 + "nvme" 45 + 43 46 # Firewire support. Not tested. 44 47 "ohci1394" "sbp2" 45 48
+3 -3
pkgs/applications/version-management/git-and-tools/git-cliff/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "git-cliff"; 5 - version = "0.6.1"; 5 + version = "0.7.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "orhun"; 9 9 repo = "git-cliff"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-CJ/2Cv/XoLq9U7u5mexH8iCCHbGtV6xohP3FapqO3+g="; 11 + sha256 = "sha256-wVHL2+didmiN7UlEeIuSr+8LhkFKCOD3of4rKVg1i1o="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-pYStKDgvvV/Z96TAonpDW7DIs1YSO6gAoiUCieVa9QY="; 14 + cargoSha256 = "sha256-5jhloUnaGXXDu2LCO86SMJo8ETIxLAivv3hx9gEqtJ4="; 15 15 16 16 # attempts to run the program on .git in src which is not deterministic 17 17 doCheck = false;
+2 -2
pkgs/desktops/gnome/apps/ghex/default.nix
··· 20 20 21 21 stdenv.mkDerivation rec { 22 22 pname = "ghex"; 23 - version = "42.1"; 23 + version = "42.2"; 24 24 25 25 outputs = [ "out" "dev" "devdoc" ]; 26 26 27 27 src = fetchurl { 28 28 url = "mirror://gnome/sources/ghex/${lib.versions.major version}/${pname}-${version}.tar.xz"; 29 - sha256 = "8QMj08MvvRqDFU+/0qJ+yj7pDZwbJSNfGxX+3l+xE6M="; 29 + sha256 = "Rd6Oa4ofMd5amRC+GMB/CaMo2HU434BAOuxa+IF8ljE="; 30 30 }; 31 31 32 32 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome/apps/gnome-calendar/default.nix
··· 22 22 23 23 stdenv.mkDerivation rec { 24 24 pname = "gnome-calendar"; 25 - version = "42.0"; 25 + version = "42.1"; 26 26 27 27 src = fetchurl { 28 28 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 29 - sha256 = "tj9z9VAy/BOQRC+UzfazyrnJHHdN3S5cYez+ydLF6ao="; 29 + sha256 = "0SKBy78a+GxyN1/mrZNG7Q4sLziKHq6FjOzmQGCm66g="; 30 30 }; 31 31 32 32 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome/core/gnome-remote-desktop/default.nix
··· 28 28 29 29 stdenv.mkDerivation rec { 30 30 pname = "gnome-remote-desktop"; 31 - version = "42.1"; 31 + version = "42.1.1"; 32 32 33 33 src = fetchurl { 34 34 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 35 - hash = "sha256-ATHuOY32n2tOZ9YU1pElatZJgihCRXQU64iaI7/rmfo="; 35 + hash = "sha256-pEZqYsL+7GLn9XLwkpxY24iyXWCVuv5LFZHpnPqaDuY="; 36 36 }; 37 37 38 38 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome/core/gnome-software/default.nix
··· 42 42 43 43 stdenv.mkDerivation rec { 44 44 pname = "gnome-software"; 45 - version = "42.0"; 45 + version = "42.1"; 46 46 47 47 src = fetchurl { 48 48 url = "mirror://gnome/sources/gnome-software/${lib.versions.major version}/${pname}-${version}.tar.xz"; 49 - sha256 = "QsaF4u95li6zCo6VjHA8mh899zFQQiOgYos7Yk733B4="; 49 + sha256 = "MtAFaYoAuK5er5Hk5/hlnvQwCnmPyuaiK3TC1/z2pIY="; 50 50 }; 51 51 52 52 patches = [
+2 -2
pkgs/desktops/gnome/core/zenity/default.nix
··· 15 15 16 16 stdenv.mkDerivation rec { 17 17 pname = "zenity"; 18 - version = "3.42.0"; 18 + version = "3.42.1"; 19 19 20 20 src = fetchurl { 21 21 url = "mirror://gnome/sources/zenity/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 22 - sha256 = "wkx/5rtDFjztit8jLVg7LgE9O6bCjetfz4B5hePete8="; 22 + sha256 = "oI4MjmJmFe4sI/90Yo66b4tIaHXdVDccp+LXYFtyqHw="; 23 23 }; 24 24 25 25 nativeBuildInputs = [
+5 -5
pkgs/development/python-modules/pylast/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , certifi 4 3 , fetchPypi 5 4 , flaky 5 + , httpx 6 6 , importlib-metadata 7 7 , pytestCheckHook 8 8 , pythonOlder ··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "pylast"; 14 - version = "4.5.0"; 14 + version = "5.0.0"; 15 15 format = "setuptools"; 16 16 17 - disabled = pythonOlder "3.6"; 17 + disabled = pythonOlder "3.7"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "sha256-YoALculx2trEDD1vU4xhiCGdb1OFPdxI1p2fwlZZAY8="; 21 + hash = "sha256-UBi2bCtGMtcavYEDtz5m5N0UxmCaj3un5aomxzbfLfg="; 22 22 }; 23 23 24 24 nativeBuildInputs = [ ··· 26 26 ]; 27 27 28 28 propagatedBuildInputs = [ 29 - certifi 29 + httpx 30 30 ] ++ lib.optionals (pythonOlder "3.8") [ 31 31 importlib-metadata 32 32 ];
+1 -1
pkgs/development/tools/misc/d-feet/default.nix
··· 89 89 homepage = "https://wiki.gnome.org/Apps/DFeet"; 90 90 platforms = platforms.linux; 91 91 license = licenses.gpl2; 92 - maintainers = with maintainers; [ ktosiek ]; 92 + maintainers = teams.gnome.members; 93 93 }; 94 94 }
+39
pkgs/development/tools/protolint/default.nix
··· 1 + { lib, buildGoModule, fetchFromGitHub }: 2 + buildGoModule rec { 3 + pname = "protolint"; 4 + version = "0.37.1"; 5 + 6 + src = fetchFromGitHub { 7 + owner = "yoheimuta"; 8 + repo = pname; 9 + rev = "6aa30515838cc0adf7c76a9461f52bdc713f2e9f"; 10 + sha256 = "sha256-oKGA5FZpT3E5G7oREGAojdu4Xn8JPd7IYwfueK9QA34="; 11 + }; 12 + 13 + vendorSha256 = "sha256-iLQwx3B5n21ZXefWiGBBL9roa9LIFByzB8KXLywhvKs="; 14 + 15 + # Something about the way we run tests causes issues. It doesn't happen 16 + # when using "go test" directly: 17 + # === RUN TestEnumFieldNamesPrefixRule_Apply_fix/no_fix_for_a_correct_proto 18 + # util_test.go:35: open : no such file or directory 19 + # === RUN TestEnumFieldNamesPrefixRule_Apply_fix/fix_for_an_incorrect_proto 20 + # util_test.go:35: open : no such file or directory 21 + excludedPackages = [ "internal" ]; 22 + 23 + ldflags = let 24 + rev = builtins.substring 0 7 src.rev; 25 + in [ 26 + "-X github.com/yoheimuta/protolint/internal/cmd.version=${version}" 27 + "-X github.com/yoheimuta/protolint/internal/cmd.revision=${rev}" 28 + "-X github.com/yoheimuta/protolint/internal/cmd/protocgenprotolint.version=${version}" 29 + "-X github.com/yoheimuta/protolint/internal/cmd/protocgenprotolint.revision=${rev}" 30 + ]; 31 + 32 + meta = with lib; { 33 + description = "A pluggable linter and fixer to enforce Protocol Buffer style and conventions"; 34 + homepage = "https://github.com/yoheimuta/protolint"; 35 + license = licenses.mit; 36 + platforms = platforms.all; 37 + maintainers = [ maintainers.zane ]; 38 + }; 39 + }
+3 -3
pkgs/development/tools/rust/cargo-make/default.nix
··· 13 13 14 14 rustPlatform.buildRustPackage rec { 15 15 pname = "cargo-make"; 16 - version = "0.35.10"; 16 + version = "0.35.11"; 17 17 18 18 src = fetchCrate { 19 19 inherit pname version; 20 - sha256 = "sha256-l34sThvzhAW8VfxVuv+UGVil7yOvsOiWSqr/N91V8C8="; 20 + sha256 = "sha256-NzhEXt0z+0/6F3pgGmQwjnexBA2icWV3dCifZ8BxnOQ="; 21 21 }; 22 22 23 23 nativeBuildInputs = [ pkg-config ]; ··· 25 25 buildInputs = [ openssl ] 26 26 ++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration libiconv ]; 27 27 28 - cargoSha256 = "sha256-974Gqtv+g32iHrIqIzqwBsE8frzmjF0Ma/hSMGzMaGs="; 28 + cargoSha256 = "sha256-+FGl0JhaRu+KLQJGAcMXv9vP6pmRzdTDtNA3h6A1jcY="; 29 29 30 30 # Some tests fail because they need network access. 31 31 # However, Travis ensures a proper build.
+6 -29
pkgs/misc/uboot/default.nix
··· 10 10 , openssl 11 11 , swig 12 12 , meson-tools 13 + , which 13 14 , armTrustedFirmwareAllwinner 14 15 , armTrustedFirmwareAllwinnerH616 15 16 , armTrustedFirmwareRK3328 ··· 19 20 }: 20 21 21 22 let 22 - defaultVersion = "2021.10"; 23 + defaultVersion = "2022.01"; 23 24 defaultSrc = fetchurl { 24 25 url = "ftp://ftp.denx.de/pub/u-boot/u-boot-${defaultVersion}.tar.bz2"; 25 - sha256 = "1m0bvwv8r62s4wk4w3cmvs888dhv9gnfa98dczr4drk2jbhj7ryd"; 26 + hash = "sha256-gbRUMifbIowD+KG/XdvIE7C7j2VVzkYGTvchpvxoBBM="; 26 27 }; 27 28 buildUBoot = { 28 29 version ? null ··· 66 67 p.setuptools # for pkg_resources 67 68 ])) 68 69 swig 70 + which # for scripts/dtc-version.sh 69 71 ]; 70 72 depsBuildBuild = [ buildPackages.stdenv.cc ]; 71 73 72 74 hardeningDisable = [ "all" ]; 73 75 76 + enableParallelBuilding = true; 77 + 74 78 makeFlags = [ 75 79 "DTC=dtc" 76 80 "CROSS_COMPILE=${stdenv.cc.targetPrefix}" ··· 101 105 102 106 runHook postInstall 103 107 ''; 104 - 105 - # make[2]: *** No rule to make target 'lib/efi_loader/helloworld.efi', needed by '__build'. Stop. 106 - enableParallelBuilding = false; 107 108 108 109 dontStrip = true; 109 110 ··· 373 374 CONFIG_USB_EHCI_GENERIC=y 374 375 CONFIG_USB_XHCI_HCD=y 375 376 ''; 376 - extraPatches = [ 377 - # https://patchwork.ozlabs.org/project/uboot/list/?series=268007&state=%2A&archive=both 378 - # Remove when upgrading to 2022.01 379 - (fetchpatch { 380 - url = "https://patchwork.ozlabs.org/series/268007/mbox/"; 381 - sha256 = "sha256-xn4Q959dgoB63zlmJepI41AXAf1kCycIGcmu4IIVjmE="; 382 - }) 383 - ]; 384 377 extraMeta.platforms = [ "i686-linux" "x86_64-linux" ]; 385 378 filesToInstall = [ "u-boot.rom" ]; 386 379 }; ··· 401 394 defconfig = "rpi_3_32b_defconfig"; 402 395 extraMeta.platforms = ["armv7l-linux"]; 403 396 filesToInstall = ["u-boot.bin"]; 404 - extraPatches = [ 405 - # Remove when updating to 2022.01 406 - # https://patchwork.ozlabs.org/project/uboot/list/?series=273129&archive=both&state=* 407 - (fetchpatch { 408 - url = "https://patchwork.ozlabs.org/series/273129/mbox/"; 409 - sha256 = "sha256-/Gu7RNvBNYCGqdFRzQ11qPDDxgGVpwKYYw1CpumIGfU="; 410 - }) 411 - ]; 412 397 }; 413 398 414 399 ubootRaspberryPi3_64bit = buildUBoot { 415 400 defconfig = "rpi_3_defconfig"; 416 401 extraMeta.platforms = ["aarch64-linux"]; 417 402 filesToInstall = ["u-boot.bin"]; 418 - extraPatches = [ 419 - # Remove when updating to 2022.01 420 - # https://patchwork.ozlabs.org/project/uboot/list/?series=273129&archive=both&state=* 421 - (fetchpatch { 422 - url = "https://patchwork.ozlabs.org/series/273129/mbox/"; 423 - sha256 = "sha256-/Gu7RNvBNYCGqdFRzQ11qPDDxgGVpwKYYw1CpumIGfU="; 424 - }) 425 - ]; 426 403 }; 427 404 428 405 ubootRaspberryPi4_32bit = buildUBoot {
+8 -9
pkgs/os-specific/linux/firmware/raspberrypi-wireless/default.nix
··· 32 32 mkdir -p "$out/lib/firmware/brcm" 33 33 34 34 # Wifi firmware 35 - shopt -s extglob 36 - for filename in firmware-nonfree/brcm/brcmfmac434??{,s}-sdio.*; do 37 - cp "$filename" "$out/lib/firmware/brcm" 38 - done 35 + cp -rv "$NIX_BUILD_TOP/firmware-nonfree/debian/config/brcm80211/." "$out/lib/firmware/" 39 36 40 37 # Bluetooth firmware 41 - cp bluez-firmware/broadcom/*.hcd "$out/lib/firmware/brcm" 38 + cp -rv "$NIX_BUILD_TOP/bluez-firmware/broadcom/." "$out/lib/firmware/brcm" 39 + 40 + # CM4 symlink must be added since it's missing from upstream 41 + pushd $out/lib/firmware/brcm &>/dev/null 42 + ln -s "./brcmfmac43455-sdio.txt" "$out/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.txt" 43 + popd &>/dev/null 44 + 42 45 runHook postInstall 43 46 ''; 44 - 45 - outputHashMode = "recursive"; 46 - outputHashAlgo = "sha256"; 47 - outputHash = "sha256-Fw8EC1jzszWg9rNH01oaOIHnSYDuF6ov6ulmIAPuNz4="; 48 47 49 48 meta = with lib; { 50 49 description = "Firmware for builtin Wifi/Bluetooth devices in the Raspberry Pi 3+ and Zero W";
+4 -4
pkgs/os-specific/linux/nvidia-x11/default.nix
··· 19 19 # Policy: use the highest stable version as the default (on our master). 20 20 stable = if stdenv.hostPlatform.system == "x86_64-linux" 21 21 then generic { 22 - version = "510.60.02"; 23 - sha256_64bit = "sha256-qADfwFSQeP2Mbo5ngO+47uh4cuYFXH9fOGpHaM4H4AM="; 24 - settingsSha256 = "sha256-Voa1JZ2qqJ1t+bfwKh/mssEi/hjzLTPwef2XG/gAC+0="; 25 - persistencedSha256 = "sha256-THgK2GpRcttqSN2WxcuJu5My++Q+Y34jG8hm7daxhAQ="; 22 + version = "510.68.02"; 23 + sha256_64bit = "sha256-vSw0SskrL8ErBgQ1kKT+jU6wzLdNDEk1LwBM8tKZ9MU="; 24 + settingsSha256 = "sha256-4TBA/ITpaaBiVDkpj7/Iydei1knRPpruPL4fRrqFAmU="; 25 + persistencedSha256 = "sha256-Q1Rk6dAK4pnm6yDK4kmj5Vg4GRbi034C96ypywHYB2I="; 26 26 } 27 27 else legacy_390; 28 28
+12
pkgs/os-specific/linux/systemd/default.nix
··· 666 666 rm -rf $out/share/doc 667 667 ''; 668 668 669 + # Avoid *.EFI binary stripping. At least on aarch64-linux strip 670 + # removes too much from PE32+ files: 671 + # https://github.com/NixOS/nixpkgs/issues/169693 672 + # The hack is to move EFI file out of lib/ before doStrip 673 + # run and return it after doStrip run. 674 + preFixup = lib.optionalString withEfi '' 675 + mv $out/lib/systemd/boot/efi $out/dont-strip-me 676 + ''; 677 + postFixup = lib.optionalString withEfi '' 678 + mv $out/dont-strip-me $out/lib/systemd/boot/efi 679 + ''; 680 + 669 681 passthru = { 670 682 # The interface version prevents NixOS from switching to an 671 683 # incompatible systemd at runtime. (Switching across reboots is
+1 -1
pkgs/tools/networking/sstp/default.nix
··· 28 28 description = "SSTP client for Linux"; 29 29 homepage = "http://sstp-client.sourceforge.net/"; 30 30 platforms = platforms.linux; 31 - maintainers = with maintainers; [ ktosiek ]; 31 + maintainers = with maintainers; [ ]; 32 32 license = licenses.gpl2Plus; 33 33 }; 34 34 }
+2
pkgs/top-level/all-packages.nix
··· 409 409 410 410 protoc-gen-validate = callPackage ../development/tools/protoc-gen-validate { }; 411 411 412 + protolint = callPackage ../development/tools/protolint { }; 413 + 412 414 ptags = callPackage ../development/tools/misc/ptags { }; 413 415 414 416 ptouch-print = callPackage ../misc/ptouch-print { };