nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
d29863fb d1cc42ef

+116 -40
+13 -2
nixos/modules/tasks/auto-upgrade.nix
··· 21 21 ''; 22 22 }; 23 23 24 + operation = mkOption { 25 + type = types.enum ["switch" "boot"]; 26 + default = "switch"; 27 + example = "boot"; 28 + description = '' 29 + Whether to run 30 + <literal>nixos-rebuild switch --upgrade</literal> or run 31 + <literal>nixos-rebuild boot --upgrade</literal> 32 + ''; 33 + }; 34 + 24 35 flake = mkOption { 25 36 type = types.nullOr types.str; 26 37 default = null; ··· 234 223 ''} 235 224 236 225 if [ "''${booted}" = "''${built}" ]; then 237 - ${nixos-rebuild} switch ${toString cfg.flags} 226 + ${nixos-rebuild} ${cfg.operation} ${toString cfg.flags} 238 227 ${optionalString (cfg.rebootWindow != null) '' 239 228 elif [ "''${do_reboot}" != true ]; then 240 229 echo "Outside of configured reboot window, skipping." ··· 243 232 ${shutdown} -r +1 244 233 fi 245 234 '' else '' 246 - ${nixos-rebuild} switch ${toString (cfg.flags ++ upgradeFlag)} 235 + ${nixos-rebuild} ${cfg.operation} ${toString (cfg.flags ++ upgradeFlag)} 247 236 ''; 248 237 249 238 startAt = cfg.dates;
+2 -2
nixos/tests/systemd-machinectl.nix
··· 32 32 # use networkd to obtain systemd network setup 33 33 networking.useNetworkd = true; 34 34 networking.useDHCP = false; 35 - services.resolved.enable = false; 36 35 37 36 # open DHCP server on interface to container 38 37 networking.firewall.trustedInterfaces = [ "ve-+" ]; ··· 63 64 machine.succeed("ping -n -c 1 ${containerName}"); 64 65 65 66 # Test systemd-nspawn uses a user namespace 66 - machine.succeed("test `stat ${containerRoot}/var/empty -c %u%g` != 00"); 67 + machine.succeed("test $(machinectl status ${containerName} | grep 'UID Shift: ' | wc -l) = 1") 67 68 68 69 # Test systemd-nspawn reboot 69 70 machine.succeed("machinectl shell ${containerName} /run/current-system/sw/bin/reboot"); ··· 75 76 76 77 # Test machinectl stop 77 78 machine.succeed("machinectl stop ${containerName}"); 79 + machine.wait_until_succeeds("test $(systemctl is-active systemd-nspawn@${containerName}) = inactive"); 78 80 79 81 # Show to to delete the container 80 82 machine.succeed("chattr -i ${containerRoot}/var/empty");
+29 -11
pkgs/applications/blockchains/dogecoin/default.nix
··· 1 1 { lib, stdenv , fetchFromGitHub 2 2 , pkg-config, autoreconfHook 3 3 , db5, openssl, boost, zlib, miniupnpc, libevent 4 - , protobuf, util-linux, qt4, qrencode 5 - , withGui }: 4 + , protobuf, qtbase ? null 5 + , wrapQtAppsHook ? null, qttools, qmake ? null, qrencode 6 + , withGui, withUpnp ? true, withUtils ? true, withWallet ? true 7 + , withZmq ? true, zeromq, util-linux ? null, Cocoa ? null }: 6 8 7 9 with lib; 8 10 stdenv.mkDerivation rec { ··· 18 16 sha256 = "sha256-Ewefy6sptSQDJVbvQqFoawhA/ujKEn9W2JWyoPYD7d0="; 19 17 }; 20 18 21 - nativeBuildInputs = [ pkg-config autoreconfHook ]; 22 - buildInputs = [ openssl db5 openssl util-linux 23 - protobuf boost zlib miniupnpc libevent ] 24 - ++ optionals withGui [ qt4 qrencode ]; 19 + preConfigure = optionalString withGui '' 20 + export LRELEASE=${getDev qttools}/bin/lrelease 21 + ''; 25 22 26 - configureFlags = [ "--with-incompatible-bdb" 27 - "--with-boost-libdir=${boost.out}/lib" ] 28 - ++ optionals withGui [ "--with-gui" ]; 23 + nativeBuildInputs = [ pkg-config autoreconfHook util-linux ] 24 + ++ optionals withGui [ wrapQtAppsHook qttools ]; 25 + 26 + buildInputs = [ openssl protobuf boost zlib libevent ] 27 + ++ optionals withGui [ qtbase qrencode ] 28 + ++ optionals withUpnp [ miniupnpc ] 29 + ++ optionals withWallet [ db5 ] 30 + ++ optionals withZmq [ zeromq ] 31 + ++ optionals stdenv.isDarwin [ Cocoa ]; 32 + 33 + configureFlags = [ 34 + "--with-incompatible-bdb" 35 + "--with-boost-libdir=${boost.out}/lib" 36 + ] ++ optionals (!withGui) [ "--with-gui=no" ] 37 + ++ optionals (!withUpnp) [ "--without-miniupnpc" ] 38 + ++ optionals (!withUtils) [ "--without-utils" ] 39 + ++ optionals (!withWallet) [ "--disable-wallet" ] 40 + ++ optionals (!withZmq) [ "--disable-zmq" ]; 41 + 42 + enableParallelBuilding = true; 29 43 30 44 meta = { 31 45 description = "Wow, such coin, much shiba, very rich"; ··· 51 33 internet currency." 52 34 It is named after a famous Internet meme, the "Doge" - a Shiba Inu dog. 53 35 ''; 54 - homepage = "http://www.dogecoin.com/"; 36 + homepage = "https://www.dogecoin.com/"; 55 37 license = licenses.mit; 56 38 maintainers = with maintainers; [ edwtjo offline ]; 57 - platforms = platforms.linux; 39 + platforms = platforms.unix; 58 40 }; 59 41 }
+2 -2
pkgs/applications/misc/system76-keyboard-configurator/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, rustPlatform, gtk3, glib, wrapGAppsHook, libusb1, hidapi, udev, pkgconfig }: 1 + { lib, stdenv, fetchFromGitHub, rustPlatform, gtk3, glib, wrapGAppsHook, libusb1, hidapi, udev, pkg-config }: 2 2 3 3 # system76-keyboard-configurator tries to spawn a daemon as root via pkexec, so 4 4 # your system needs a PolicyKit authentication agent running for the ··· 16 16 }; 17 17 18 18 nativeBuildInputs = [ 19 - pkgconfig 19 + pkg-config 20 20 glib # for glib-compile-resources 21 21 wrapGAppsHook 22 22 ];
+2 -2
pkgs/applications/networking/browsers/links2/default.nix
··· 8 8 }: 9 9 10 10 stdenv.mkDerivation rec { 11 - version = "2.25"; 11 + version = "2.27"; 12 12 pname = "links2"; 13 13 14 14 src = fetchurl { 15 15 url = "${meta.homepage}/download/links-${version}.tar.bz2"; 16 - sha256 = "sha256-LdeFCGmOgnnvTwmjoqIelZUEARNALabFU5dEFPtJ3Sw="; 16 + sha256 = "sha256-2N3L/O3nzd6Aq+sKI2NY9X+mvrK8+S4QliTpuJb567Q="; 17 17 }; 18 18 19 19 buildInputs = with lib;
+2 -2
pkgs/applications/networking/instant-messengers/webex/default.nix
··· 2 2 , writeScript 3 3 , stdenv 4 4 , fetchurl 5 - , alsaLib 5 + , alsa-lib 6 6 , at-spi2-atk 7 7 , at-spi2-core 8 8 , atk ··· 62 62 }; 63 63 64 64 buildInputs = [ 65 - alsaLib 65 + alsa-lib 66 66 at-spi2-atk 67 67 at-spi2-core 68 68 atk
+2 -2
pkgs/applications/office/homebank/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "homebank"; 6 - version = "5.5.5"; 6 + version = "5.5.6"; 7 7 src = fetchurl { 8 8 url = "http://homebank.free.fr/public/homebank-${version}.tar.gz"; 9 - sha256 = "sha256-vs4F7LUjkhR0JKoeWheTiXd7gr9Gir69c+twsq+cnmc="; 9 + sha256 = "sha256-Rg6OjHLkwVIDnXqzqPXA8DxqSdrh2T6V/gLBND8vx9o="; 10 10 }; 11 11 12 12 nativeBuildInputs = [ pkg-config wrapGAppsHook ];
+2 -2
pkgs/applications/science/chemistry/jmol/default.nix
··· 25 25 }; 26 26 in 27 27 stdenv.mkDerivation rec { 28 - version = "14.32.45"; 28 + version = "14.32.66"; 29 29 pname = "jmol"; 30 30 31 31 src = let 32 32 baseVersion = "${lib.versions.major version}.${lib.versions.minor version}"; 33 33 in fetchurl { 34 34 url = "mirror://sourceforge/jmol/Jmol/Version%20${baseVersion}/Jmol%20${version}/Jmol-${version}-binary.tar.gz"; 35 - sha256 = "sha256-9bcOwORHLZfn95RFur4JdP3Djpq8K8utnWIsniqKAI4="; 35 + sha256 = "sha256-6L5hsJKiLnFKBtLJZnNxmnVcZTdu8Pmj5Md5QIoRxdU="; 36 36 }; 37 37 38 38 patchPhase = ''
+2 -2
pkgs/applications/science/geometry/gama/default.nix
··· 1 1 { stdenv, fetchurl, lib, expat, octave, libxml2, texinfo, zip }: 2 2 stdenv.mkDerivation rec { 3 3 pname = "gama"; 4 - version = "2.19"; 4 + version = "2.21"; 5 5 6 6 src = fetchurl { 7 7 url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz"; 8 - sha256 = "sha256-OCyUcKkQzp1nz9lgGSR4MRrP7XBR1kpIfPEA7PdSA1I="; 8 + sha256 = "sha256-h+Mo+j/Kr7jmMY9fy4hHwn0FM1C9hMI7f7XY/xjBzHY="; 9 9 }; 10 10 11 11 buildInputs = [ expat ];
+2 -2
pkgs/development/libraries/hwloc/default.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "hwloc"; 11 - version = "2.7.1"; 11 + version = "2.8.0"; 12 12 13 13 src = fetchurl { 14 14 url = "https://www.open-mpi.org/software/hwloc/v${versions.majorMinor version}/downloads/hwloc-${version}.tar.bz2"; 15 - sha256 = "sha256-DU4dNsOnLF1hkBv9R3M39aTH4Kl12lcWUjfQDjXvUo0="; 15 + sha256 = "sha256-NIpy/NSMMqgj7h2hSa6ZIgPnrQM1SeZK7W6m7rAfQsE="; 16 16 }; 17 17 18 18 configureFlags = [
+1 -3
pkgs/development/ocaml-modules/biocaml/default.nix
··· 6 6 pname = "biocaml"; 7 7 version = "0.11.2"; 8 8 9 - useDune2 = true; 10 - 11 - minimumOCamlVersion = "4.08"; 9 + minimalOCamlVersion = "4.11"; 12 10 13 11 src = fetchFromGitHub { 14 12 owner = "biocaml";
+44
pkgs/development/tools/remodel/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , rustPlatform 5 + , pkg-config 6 + , openssl 7 + , Security 8 + }: 9 + 10 + rustPlatform.buildRustPackage rec { 11 + pname = "remodel"; 12 + version = "0.10.0"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "rojo-rbx"; 16 + repo = "remodel"; 17 + rev = "v${version}"; 18 + sha256 = "sha256-bUwTryGc4Y614nXKToPXp5KZqO12MmtdT3FUST4OvQY="; 19 + }; 20 + 21 + cargoSha256 = "sha256-b9+eV2co4hcKLZxJRqDIX2U0O25Ba5UHQiNpfjE4fN4="; 22 + 23 + nativeBuildInputs = [ 24 + pkg-config 25 + ]; 26 + 27 + buildInputs = [ 28 + openssl 29 + ] ++ lib.optionals stdenv.isDarwin [ 30 + Security 31 + ]; 32 + 33 + meta = with lib; { 34 + description = "Roblox file manipulation tool"; 35 + longDescription = '' 36 + Remodel is a command line tool for manipulating Roblox files and the instances contained within them. 37 + ''; 38 + homepage = "https://github.com/rojo-rbx/remodel"; 39 + downloadPage = "https://github.com/rojo-rbx/remodel/releases/tag/v${version}"; 40 + changelog = "https://github.com/rojo-rbx/remodel/raw/v${version}/CHANGELOG.md"; 41 + license = licenses.mit; 42 + maintainers = with maintainers; [ wackbyte ]; 43 + }; 44 + }
+2 -2
pkgs/tools/filesystems/nilfs-utils/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "nilfs-utils"; 6 - version = "2.2.8"; 6 + version = "2.2.9"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "nilfs-dev"; 10 10 repo = pname; 11 11 rev = "v${version}"; 12 - sha256 = "094mw7dsyppyiyzfdnf3f5hlkrh4bidk1kvvpn1kcvw5vn2xpfk7"; 12 + sha256 = "sha256-XqViUvPj2BHO3bGs9xBO3VpRq9XqnwBptHvMwBOntqo="; 13 13 }; 14 14 15 15 nativeBuildInputs = [ autoreconfHook ];
+4 -3
pkgs/tools/package-management/rpm/default.nix
··· 1 1 { stdenv, lib 2 2 , pkg-config, autoreconfHook 3 3 , fetchurl, cpio, zlib, bzip2, file, elfutils, libbfd, libgcrypt, libarchive, nspr, nss, popt, db, xz, python, lua, llvmPackages 4 - , sqlite, zstd, fetchpatch 4 + , sqlite, zstd, fetchpatch, libcap 5 5 }: 6 6 7 7 stdenv.mkDerivation rec { ··· 18 18 19 19 nativeBuildInputs = [ autoreconfHook pkg-config ]; 20 20 buildInputs = [ cpio zlib zstd bzip2 file libarchive libgcrypt nspr nss db xz python lua sqlite ] 21 - ++ lib.optionals stdenv.cc.isClang [ llvmPackages.openmp ]; 21 + ++ lib.optional stdenv.cc.isClang llvmPackages.openmp 22 + ++ lib.optional stdenv.isLinux libcap; 22 23 23 24 # rpm/rpmlib.h includes popt.h, and then the pkg-config file mentions these as linkage requirements 24 25 propagatedBuildInputs = [ popt nss db bzip2 libarchive libbfd ] ··· 36 35 "--enable-zstd" 37 36 "--localstatedir=/var" 38 37 "--sharedstatedir=/com" 39 - ]; 38 + ] ++ lib.optional stdenv.isLinux "--with-cap"; 40 39 41 40 patches = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ # Fix build for macOS aarch64 42 41 (fetchpatch {
+2 -2
pkgs/tools/typesetting/hevea/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "hevea"; 5 - version = "2.35"; 5 + version = "2.36"; 6 6 7 7 src = fetchurl { 8 8 url = "https://pauillac.inria.fr/~maranget/hevea/distri/hevea-${version}.tar.gz"; 9 - sha256 = "sha256-8Ym62l0+WzWFXf39tbJwyZT8eiNmsBJQ12E1mtZsnss="; 9 + sha256 = "sha256-XWdZ13AqKVx2oSwbKhoWdUqw7B/+1z/J0LE4tB5yBkg="; 10 10 }; 11 11 12 12 buildInputs = with ocamlPackages; [ ocaml ocamlbuild ];
+5 -1
pkgs/top-level/all-packages.nix
··· 20862 20862 20863 20863 randomx = callPackage ../development/libraries/randomx { }; 20864 20864 20865 + remodel = callPackage ../development/tools/remodel { 20866 + inherit (darwin.apple_sdk.frameworks) Security; 20867 + }; 20868 + 20865 20869 retro-gtk = callPackage ../development/libraries/retro-gtk { }; 20866 20870 20867 20871 resolv_wrapper = callPackage ../development/libraries/resolv_wrapper { }; ··· 31875 31871 boost = boost170; 31876 31872 }; 31877 31873 31878 - dogecoin = callPackage ../applications/blockchains/dogecoin { 31874 + dogecoin = libsForQt5.callPackage ../applications/blockchains/dogecoin { 31879 31875 boost = boost165; 31880 31876 withGui = true; 31881 31877 };