Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub 39ddfff2 15f3cc41

+311 -144
+1 -1
doc/contributing/submitting-changes.chapter.md
··· 236 236 237 237 ### Staging branch {#submitting-changes-staging-branch} 238 238 239 - The `staging` branch is a development branch where mass-rebuilds go. It should only see non-breaking mass-rebuild commits. That means it is not to be used for testing, and changes must have been well tested already. If the branch is already in a broken state, please refrain from adding extra new breakages. 239 + The `staging` branch is a development branch where mass-rebuilds go. Mass rebuilds are commits that cause rebuilds for many packages, like more than 500 (or perhaps, if it's 'light' packages, 1000). It should only see non-breaking mass-rebuild commits. That means it is not to be used for testing, and changes must have been well tested already. If the branch is already in a broken state, please refrain from adding extra new breakages. 240 240 241 241 ### Staging-next branch {#submitting-changes-staging-next-branch} 242 242
+12
nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
··· 679 679 </listitem> 680 680 <listitem> 681 681 <para> 682 + <literal>openldap</literal> (and therefore the slapd LDAP 683 + server) were updated to version 2.6.2. The project introduced 684 + backwards-incompatible changes, namely the removal of the bdb, 685 + hdb, ndb, and shell backends in slapd. Therefore before 686 + updating, dump your database <literal>slapcat -n 1</literal> 687 + in LDIF format, and reimport it after updating your 688 + <literal>services.openldap.settings</literal>, which 689 + represents your <literal>cn=config</literal>. 690 + </para> 691 + </listitem> 692 + <listitem> 693 + <para> 682 694 <literal>openssh</literal> has been update to 8.9p1, changing 683 695 the FIDO security key middleware interface. 684 696 </para>
+2
nixos/doc/manual/release-notes/rl-2205.section.md
··· 240 240 241 241 - In the ncdns module, the default value of `services.ncdns.address` has been changed to the IPv6 loopback address (`::1`). 242 242 243 + - `openldap` (and therefore the slapd LDAP server) were updated to version 2.6.2. The project introduced backwards-incompatible changes, namely the removal of the bdb, hdb, ndb, and shell backends in slapd. Therefore before updating, dump your database `slapcat -n 1` in LDIF format, and reimport it after updating your `services.openldap.settings`, which represents your `cn=config`. 244 + 243 245 - `openssh` has been update to 8.9p1, changing the FIDO security key middleware interface. 244 246 245 247 - `git` no longer hardcodes the path to openssh' ssh binary to reduce the amount of rebuilds. If you are using git with ssh remotes and do not have a ssh binary in your enviroment consider adding `openssh` to it or switching to `gitFull`.
+25 -5
nixos/maintainers/scripts/ec2/create-amis.sh
··· 26 26 var ${bucket:=nixos-amis} 27 27 var ${service_role_name:=vmimport} 28 28 29 - var ${regions:=eu-west-1 eu-west-2 eu-west-3 eu-central-1 eu-north-1 30 - us-east-1 us-east-2 us-west-1 us-west-2 29 + # Output of the command: 30 + # > aws ec2 describe-regions --all-regions --query "Regions[].{Name:RegionName}" --output text | sort 31 + var ${regions:= 32 + af-south-1 33 + ap-east-1 34 + ap-northeast-1 35 + ap-northeast-2 36 + ap-northeast-3 37 + ap-south-1 38 + ap-southeast-1 39 + ap-southeast-2 40 + ap-southeast-3 31 41 ca-central-1 32 - ap-southeast-1 ap-southeast-2 ap-northeast-1 ap-northeast-2 33 - ap-south-1 ap-east-1 34 - sa-east-1} 42 + eu-central-1 43 + eu-north-1 44 + eu-south-1 45 + eu-west-1 46 + eu-west-2 47 + eu-west-3 48 + me-south-1 49 + sa-east-1 50 + us-east-1 51 + us-east-2 52 + us-west-1 53 + us-west-2 54 + } 35 55 36 56 regions=($regions) 37 57
+5 -5
nixos/modules/installer/tools/nix-fallback-paths.nix
··· 1 1 { 2 - x86_64-linux = "/nix/store/yx36yzxpw1hn4fz8iyf1rfyd56jg3yf4-nix-2.8.0"; 3 - i686-linux = "/nix/store/c0hg806zvwg800qbszzj8ff4a224kjgf-nix-2.8.0"; 4 - aarch64-linux = "/nix/store/wic2832ll53q392r2wks4xr2nrk7p8p5-nix-2.8.0"; 5 - x86_64-darwin = "/nix/store/5yqdvnkmkrhl36xh0qy31pymdphjimdd-nix-2.8.0"; 6 - aarch64-darwin = "/nix/store/izc9592szrnpv8n86hr88bhpyc9g6b4s-nix-2.8.0"; 2 + x86_64-linux = "/nix/store/6mjgljq8sm9bsz6k22as5ar3jw78644m-nix-2.8.1"; 3 + i686-linux = "/nix/store/c4yjv4l8wncdla6ycicvsjrdf40xjkpp-nix-2.8.1"; 4 + aarch64-linux = "/nix/store/qkgvks80mdibq7m86hqasgr5lpixbnmh-nix-2.8.1"; 5 + x86_64-darwin = "/nix/store/riz4mzb1xhp36088ffnp40lz52bpxz01-nix-2.8.1"; 6 + aarch64-darwin = "/nix/store/dirm8hsnmvvzjs21hrx8i84w8k453jzp-nix-2.8.1"; 7 7 }
+2 -2
pkgs/applications/blockchains/ledger-live-desktop/default.nix
··· 2 2 3 3 let 4 4 pname = "ledger-live-desktop"; 5 - version = "2.40.4"; 5 + version = "2.41.3"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchurl { 9 9 url = "https://github.com/LedgerHQ/${pname}/releases/download/v${version}/${pname}-${version}-linux-x86_64.AppImage"; 10 - hash = "sha256-ktmGXEWoCrhx9hGau2VkQi0GMa53EqHV1wGtUk6kicc="; 10 + hash = "sha256-Bh3wB5AAgY6l1W3UtWUHW+lJgJ0w6gw23WvEe3/Xs1g="; 11 11 }; 12 12 13 13 appimageContents = appimageTools.extractType2 {
+2 -2
pkgs/applications/graphics/drawio/default.nix
··· 11 11 12 12 stdenv.mkDerivation rec { 13 13 pname = "drawio"; 14 - version = "18.0.4"; 14 + version = "18.0.6"; 15 15 16 16 src = fetchurl { 17 17 url = "https://github.com/jgraph/drawio-desktop/releases/download/v${version}/drawio-x86_64-${version}.rpm"; 18 - sha256 = "0ln9vs2zyqq0pz3af6i8ynjbg59j0y6y7f5qkrgk2yv2mpnncl3m"; 18 + sha256 = "939d23f45f82bc4978ff3cb5d15d096f8af9658fb9f9211d3849998f6a0bd3a9"; 19 19 }; 20 20 21 21 nativeBuildInputs = [
+4 -4
pkgs/applications/networking/cluster/nomad-pack/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "nomad-pack"; 8 - version = "2022-04-12"; 9 - rev = "50ad747d2a5a2b90af1b3564483510cb04fefbea"; 8 + version = "2022-05-12"; 9 + rev = "bee6e8e078ff31fee916b864fbf3648294dbcdf5"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "hashicorp"; 13 13 repo = pname; 14 14 inherit rev; 15 - sha256 = "sha256-VG6Dmx5WD2AzKReMbmrpzXCNhrJqaZY3aQV9P+4ET68="; 15 + sha256 = "sha256-28Dx9z7T+4WXl4voAzlSR2h3HcZMSzOuX7FHLJ4q9Sc="; 16 16 }; 17 17 18 - vendorSha256 = "sha256-7ovR2F9N94iFK/B5OXRcqfykOYHST3354+Ge2L8yzq0="; 18 + vendorSha256 = "sha256-hPsO842gmk77qc27slV2TiYNI7Ofw1RqGgcLP1gdgJ0="; 19 19 20 20 # skip running go tests as they require network access 21 21 doCheck = false;
+2 -8
pkgs/applications/networking/nextcloud-client/default.nix
··· 1 1 { lib 2 2 , mkDerivation 3 3 , fetchFromGitHub 4 - , fetchpatch 5 4 , cmake 6 5 , extra-cmake-modules 7 6 , inotify-tools ··· 27 26 28 27 mkDerivation rec { 29 28 pname = "nextcloud-client"; 30 - version = "3.5.0"; 29 + version = "3.5.1"; 31 30 32 31 outputs = [ "out" "dev" ]; 33 32 ··· 35 34 owner = "nextcloud"; 36 35 repo = "desktop"; 37 36 rev = "v${version}"; 38 - sha256 = "sha256-eFtBdnwHaLirzZaHDw6SRfmsqO3dmBB8Y9csJuiTf1A="; 37 + sha256 = "sha256-/Bz3vkV4+ZFlGBNtkLIGsBk51a3wxy32U1KYcA3awcw="; 39 38 }; 40 39 41 40 patches = [ 42 41 # Explicitly move dbus configuration files to the store path rather than `/etc/dbus-1/services`. 43 42 ./0001-Explicitly-copy-dbus-files-into-the-store-dir.patch 44 43 ./0001-When-creating-the-autostart-entry-do-not-use-an-abso.patch 45 - # don't write cacheDir into home directory 46 - (fetchpatch { 47 - url = "https://github.com/nextcloud/desktop/commit/3a8aa8a2a88bc9b68098b7866e2a07aa23d3a33c.patch"; 48 - sha256 = "sha256-OviPANvXap3mg4haxRir/CK1aq8maWZDM/IVsN+OHgk="; 49 - }) 50 44 ]; 51 45 52 46 postPatch = ''
+3 -3
pkgs/applications/science/logic/lean/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "lean"; 5 - version = "3.42.0"; 5 + version = "3.43.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "leanprover-community"; ··· 11 11 # from. this is then used to check whether an olean file should be 12 12 # rebuilt. don't use a tag as rev because this will get replaced into 13 13 # src/githash.h.in in preConfigure. 14 - rev = "b35d4695da88139a9168f2ad7acf0782e66dc4f0"; 15 - sha256 = "02rpigw6lnyjw8ccrlp2mcvswawkhl5y6kqa3zq76qp1fdjqjrbp"; 14 + rev = "bfce34363b0efe86e93e3fe75de76ab3740c772d"; 15 + sha256 = "100mb003zkgrv1wd2agbk41aipk3j78k8zcjbj7pv9ixh02c7ss8"; 16 16 }; 17 17 18 18 nativeBuildInputs = [ cmake ];
+3
pkgs/applications/science/math/mxnet/default.nix
··· 40 40 buildInputs = [ opencv3 gtest blas.provider ] 41 41 ++ lib.optional stdenv.cc.isGNU gomp 42 42 ++ lib.optional stdenv.cc.isClang llvmPackages.openmp 43 + # FIXME: when cuda build is fixed, remove nvidia_x11, and use /run/opengl-driver/lib 43 44 ++ lib.optionals cudaSupport [ cudatoolkit nvidia_x11 ] 44 45 ++ lib.optional cudnnSupport cudnn; 45 46 ··· 78 79 maintainers = with maintainers; [ abbradar ]; 79 80 license = licenses.asl20; 80 81 platforms = platforms.unix; 82 + # Build failures when linking mxnet_unit_tests: https://gist.github.com/6d17447ee3557967ec52c50d93b17a1d 83 + broken = cudaSupport; 81 84 }; 82 85 }
+12 -3
pkgs/build-support/testers/default.nix
··· 9 9 version ? package.version, 10 10 }: runCommand "${package.name}-test-version" { nativeBuildInputs = [ package ]; meta.timeout = 60; } '' 11 11 if output=$(${command} 2>&1); then 12 - grep -Fw "${version}" - <<< "$output" 13 - touch $out 12 + if grep -Fw "${version}" - <<< "$output"; then 13 + touch $out 14 + else 15 + echo "Version string '${version}' not found!" >&2 16 + echo "The output was:" >&2 17 + echo "$output" >&2 18 + exit 1 19 + fi 14 20 else 15 - echo "$output" >&2 && exit 1 21 + echo -n ${lib.escapeShellArg command} >&2 22 + echo " returned a non-zero exit code." >&2 23 + echo "$output" >&2 24 + exit 1 16 25 fi 17 26 ''; 18 27
+13 -3
pkgs/development/compilers/go/1.17.nix
··· 18 18 , buildPackages 19 19 , pkgsBuildTarget 20 20 , callPackage 21 + , threadsCross ? null # for MinGW 21 22 }: 23 + 24 + # threadsCross is just for MinGW 25 + assert threadsCross != null -> stdenv.targetPlatform.isWindows; 22 26 23 27 let 24 28 go_bootstrap = buildPackages.callPackage ./bootstrap.nix { }; ··· 50 54 # We need a target compiler which is still runnable at build time, 51 55 # to handle the cross-building case where build != host == target 52 56 targetCC = pkgsBuildTarget.targetPackages.stdenv.cc; 57 + 58 + isCross = stdenv.buildPlatform != stdenv.targetPlatform; 53 59 in 54 60 55 61 stdenv.mkDerivation rec { ··· 70 76 propagatedBuildInputs = lib.optionals stdenv.isDarwin [ xcbuild ]; 71 77 72 78 depsTargetTargetPropagated = lib.optionals stdenv.isDarwin [ Security Foundation ]; 79 + 80 + depsBuildTarget = lib.optional isCross targetCC; 81 + 82 + depsTargetTarget = lib.optional (threadsCross != null) threadsCross; 73 83 74 84 hardeningDisable = [ "all" ]; 75 85 ··· 194 204 # {CC,CXX}_FOR_TARGET must be only set for cross compilation case as go expect those 195 205 # to be different from CC/CXX 196 206 CC_FOR_TARGET = 197 - if (stdenv.buildPlatform != stdenv.targetPlatform) then 207 + if isCross then 198 208 "${targetCC}/bin/${targetCC.targetPrefix}cc" 199 209 else 200 210 null; 201 211 CXX_FOR_TARGET = 202 - if (stdenv.buildPlatform != stdenv.targetPlatform) then 212 + if isCross then 203 213 "${targetCC}/bin/${targetCC.targetPrefix}c++" 204 214 else 205 215 null; ··· 223 233 224 234 export PATH=$(pwd)/bin:$PATH 225 235 226 - ${lib.optionalString (stdenv.buildPlatform != stdenv.targetPlatform) '' 236 + ${lib.optionalString isCross '' 227 237 # Independent from host/target, CC should produce code for the building system. 228 238 # We only set it when cross-compiling. 229 239 export CC=${buildPackages.stdenv.cc}/bin/cc
+13 -3
pkgs/development/compilers/go/1.18.nix
··· 18 18 , buildPackages 19 19 , pkgsBuildTarget 20 20 , callPackage 21 + , threadsCross ? null # for MinGW 21 22 }: 23 + 24 + # threadsCross is just for MinGW 25 + assert threadsCross != null -> stdenv.targetPlatform.isWindows; 22 26 23 27 let 24 28 go_bootstrap = buildPackages.callPackage ./bootstrap.nix { }; ··· 50 54 # We need a target compiler which is still runnable at build time, 51 55 # to handle the cross-building case where build != host == target 52 56 targetCC = pkgsBuildTarget.targetPackages.stdenv.cc; 57 + 58 + isCross = stdenv.buildPlatform != stdenv.targetPlatform; 53 59 in 54 60 55 61 stdenv.mkDerivation rec { ··· 70 76 propagatedBuildInputs = lib.optionals stdenv.isDarwin [ xcbuild ]; 71 77 72 78 depsTargetTargetPropagated = lib.optionals stdenv.isDarwin [ Security Foundation ]; 79 + 80 + depsBuildTarget = lib.optional isCross targetCC; 81 + 82 + depsTargetTarget = lib.optional (threadsCross != null) threadsCross; 73 83 74 84 hardeningDisable = [ "all" ]; 75 85 ··· 188 198 # {CC,CXX}_FOR_TARGET must be only set for cross compilation case as go expect those 189 199 # to be different from CC/CXX 190 200 CC_FOR_TARGET = 191 - if (stdenv.buildPlatform != stdenv.targetPlatform) then 201 + if isCross then 192 202 "${targetCC}/bin/${targetCC.targetPrefix}cc" 193 203 else 194 204 null; 195 205 CXX_FOR_TARGET = 196 - if (stdenv.buildPlatform != stdenv.targetPlatform) then 206 + if isCross then 197 207 "${targetCC}/bin/${targetCC.targetPrefix}c++" 198 208 else 199 209 null; ··· 217 227 218 228 export PATH=$(pwd)/bin:$PATH 219 229 220 - ${lib.optionalString (stdenv.buildPlatform != stdenv.targetPlatform) '' 230 + ${lib.optionalString isCross '' 221 231 # Independent from host/target, CC should produce code for the building system. 222 232 # We only set it when cross-compiling. 223 233 export CC=${buildPackages.stdenv.cc}/bin/cc
+71 -51
pkgs/development/libraries/openldap/default.nix
··· 1 - { lib, stdenv, fetchurl, openssl, db, groff, libtool, libsodium 2 - , withCyrusSasl ? true 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + 5 + # dependencies 3 6 , cyrus_sasl 7 + , db 8 + , groff 9 + , libsodium 10 + , libtool 11 + , openssl 12 + , systemdMinimal 4 13 }: 5 14 6 15 stdenv.mkDerivation rec { 7 16 pname = "openldap"; 8 - version = "2.4.58"; 17 + version = "2.6.2"; 9 18 10 19 src = fetchurl { 11 20 url = "https://www.openldap.org/software/download/OpenLDAP/openldap-release/${pname}-${version}.tgz"; 12 - sha256 = "sha256-V7WSVL4V0L9qmrPVFMHAV3ewISMpFTMTSofJRGj49Hs="; 21 + hash = "sha256-gdCTRSMutiSG7PWsrNLFbAxFtKbIwGZhLn9CGiOhz4c"; 13 22 }; 14 23 15 24 # TODO: separate "out" and "bin" 16 - outputs = [ "out" "dev" "man" "devdoc" ]; 25 + outputs = [ 26 + "out" 27 + "dev" 28 + "man" 29 + "devdoc" 30 + ]; 17 31 18 32 enableParallelBuilding = true; 19 33 20 - nativeBuildInputs = [ groff ]; 34 + nativeBuildInputs = [ 35 + groff 36 + ]; 21 37 22 - buildInputs = [ openssl cyrus_sasl db libsodium libtool ]; 23 - 24 - # Disable install stripping as it breaks cross-compiling. 25 - # We strip binaries anyway in fixupPhase. 26 - makeFlags= [ 27 - "STRIP=" 28 - "prefix=$(out)" 29 - "moduledir=$(out)/lib/modules" 30 - "CC=${stdenv.cc.targetPrefix}cc" 38 + buildInputs = [ 39 + cyrus_sasl 40 + db 41 + libsodium 42 + libtool 43 + openssl 44 + ] ++ lib.optionals (stdenv.isLinux) [ 45 + systemdMinimal 31 46 ]; 32 47 33 48 preConfigure = lib.optionalString (lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11") '' ··· 35 50 ''; 36 51 37 52 configureFlags = [ 38 - "--enable-overlays" 39 - "--disable-dependency-tracking" # speeds up one-time build 40 - "--enable-modules" 41 - "--sysconfdir=/etc" 42 - "--localstatedir=/var" 53 + "--enable-argon2" 43 54 "--enable-crypt" 55 + "--enable-modules" 56 + "--enable-overlays" 44 57 ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 45 58 "--with-yielding_select=yes" 46 59 "ac_cv_func_memcmp_working=yes" 47 - ] ++ lib.optional (!withCyrusSasl) "--without-cyrus-sasl" 48 - ++ lib.optional stdenv.isFreeBSD "--with-pic"; 60 + ] ++ lib.optional stdenv.isFreeBSD "--with-pic"; 61 + 62 + makeFlags= [ 63 + "CC=${stdenv.cc.targetPrefix}cc" 64 + "STRIP=" # Disable install stripping as it breaks cross-compiling. We strip binaries anyway in fixupPhase. 65 + "prefix=${placeholder "out"}" 66 + "sysconfdir=${placeholder "out"}/etc" 67 + "systemdsystemunitdir=${placeholder "out"}/lib/systemd/system" 68 + # contrib modules require these 69 + "moduledir=${placeholder "out"}/lib/modules" 70 + "mandir=${placeholder "out"}/share/man" 71 + ]; 72 + 73 + extraContribModules = [ 74 + # https://git.openldap.org/openldap/openldap/-/tree/master/contrib/slapd-modules 75 + "passwd/sha2" 76 + "passwd/pbkdf2" 77 + "passwd/totp" 78 + ]; 49 79 50 80 postBuild = '' 51 - make $makeFlags CC=$CC -C contrib/slapd-modules/passwd/sha2 52 - make $makeFlags CC=$CC -C contrib/slapd-modules/passwd/pbkdf2 53 - make $makeFlags CC=$CC -C contrib/slapd-modules/passwd/argon2 81 + for module in ${lib.concatStringsSep " " extraContribModules}; do 82 + make $makeFlags CC=$CC -C contrib/slapd-modules/$module 83 + done 54 84 ''; 55 85 56 - doCheck = false; # needs a running LDAP server 86 + preCheck = '' 87 + substituteInPlace tests/scripts/all \ 88 + --replace "/bin/rm" "rm" 89 + ''; 57 90 58 - installFlags = [ 59 - "sysconfdir=$(out)/etc" 60 - "localstatedir=$(out)/var" 61 - "moduledir=$(out)/lib/modules" 62 - # The argon2 module hardcodes /usr/bin/install as the path for the 63 - # `install` binary, which is overridden here. 64 - "INSTALL=install" 65 - ]; 91 + doCheck = true; 66 92 67 - # 1. Libraries left in the build location confuse `patchelf --shrink-rpath` 68 - # Delete these to let patchelf discover the right path instead. 69 - # FIXME: that one can be removed when https://github.com/NixOS/patchelf/pull/98 70 - # is in Nixpkgs patchelf. 71 - # 2. Fixup broken libtool for openssl and cyrus_sasl (if it is not disabled) 93 + # The directory is empty and serve no purpose. 72 94 preFixup = '' 73 95 rm -r $out/var 74 - rm -r libraries/*/.libs 75 - rm -r contrib/slapd-modules/passwd/*/.libs 76 - for f in $out/lib/libldap.la $out/lib/libldap_r.la; do 77 - substituteInPlace "$f" --replace '-lssl' '-L${lib.getLib openssl}/lib -lssl' 78 - '' + lib.optionalString withCyrusSasl '' 79 - substituteInPlace "$f" --replace '-lsasl2' '-L${cyrus_sasl.out}/lib -lsasl2' 80 - '' + '' 81 - done 82 96 ''; 83 97 98 + installFlags = [ 99 + "prefix=${placeholder "out"}" 100 + "moduledir=${placeholder "out"}/lib/modules" 101 + "INSTALL=install" 102 + ]; 103 + 84 104 postInstall = '' 85 - make $installFlags install -C contrib/slapd-modules/passwd/sha2 86 - make $installFlags install -C contrib/slapd-modules/passwd/pbkdf2 87 - make $installFlags install-lib -C contrib/slapd-modules/passwd/argon2 105 + for module in ${lib.concatStringsSep " " extraContribModules}; do 106 + make $installFlags install -C contrib/slapd-modules/$module 107 + done 88 108 chmod +x "$out"/lib/*.{so,dylib} 89 109 ''; 90 110 ··· 92 112 homepage = "https://www.openldap.org/"; 93 113 description = "An open source implementation of the Lightweight Directory Access Protocol"; 94 114 license = licenses.openldap; 95 - maintainers = with maintainers; [ lovek323 ]; 115 + maintainers = with maintainers; [ ajs124 das_j hexa ]; 96 116 platforms = platforms.unix; 97 117 }; 98 118 }
+2
pkgs/development/libraries/opensaml-cpp/default.nix
··· 19 19 20 20 configureFlags = [ "--with-xmltooling=${xml-tooling-c}" ]; 21 21 22 + NIX_CFLAGS_COMPILE = [ "-std=c++14" ]; 23 + 22 24 enableParallelBuilding = true; 23 25 24 26 meta = with lib; {
+2
pkgs/development/libraries/shibboleth-sp/default.nix
··· 20 20 "--with-fastcgi" 21 21 ]; 22 22 23 + NIX_CFLAGS_COMPILE = [ "-std=c++14" ]; 24 + 23 25 enableParallelBuilding = true; 24 26 25 27 meta = with lib; {
+2
pkgs/development/libraries/xml-tooling-c/default.nix
··· 15 15 buildInputs = [ boost curl openssl log4shib xercesc xml-security-c ]; 16 16 nativeBuildInputs = [ autoreconfHook pkg-config ]; 17 17 18 + NIX_CFLAGS_COMPILE = [ "-std=c++14" ]; 19 + 18 20 enableParallelBuilding = true; 19 21 20 22 meta = with lib; {
+2 -2
pkgs/development/python-modules/ailment/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "ailment"; 10 - version = "9.2.3"; 10 + version = "9.2.4"; 11 11 format = "pyproject"; 12 12 13 13 disabled = pythonOlder "3.6"; ··· 16 16 owner = "angr"; 17 17 repo = pname; 18 18 rev = "v${version}"; 19 - hash = "sha256-R8AaQj/Rdz8SSN2L8v8ZzIxnPQqdg/SKUB6FV9uYFLs="; 19 + hash = "sha256-YsH9QAKoM4WILabgLvEZMJXPfpkfn/h4tofNIcGJY+k="; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/angr/default.nix
··· 46 46 47 47 buildPythonPackage rec { 48 48 pname = "angr"; 49 - version = "9.2.3"; 49 + version = "9.2.4"; 50 50 format = "pyproject"; 51 51 52 52 disabled = pythonOlder "3.6"; ··· 55 55 owner = pname; 56 56 repo = pname; 57 57 rev = "v${version}"; 58 - hash = "sha256-RcAiPzz2JUlNIGU7+6WCd5JskRYmlMee8wOcOclfb0Q="; 58 + hash = "sha256-3iw1tk2r6Ee302AMjgsRi6EL5py+4Blf47EWrWyiqNk="; 59 59 }; 60 60 61 61 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/angrop/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "angrop"; 12 - version = "9.2.3"; 12 + version = "9.2.4"; 13 13 format = "pyproject"; 14 14 15 15 disabled = pythonOlder "3.6"; ··· 18 18 owner = "angr"; 19 19 repo = pname; 20 20 rev = "v${version}"; 21 - hash = "sha256-bhdn3uomvegpvynR0ts4KdwFapX2xGfuwp4e57Xtcoo="; 21 + hash = "sha256-EMW2RxImYoPSnkBG027g5o5K3WT40F/Dj+GzqS8/K6g="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/archinfo/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "archinfo"; 11 - version = "9.2.3"; 11 + version = "9.2.4"; 12 12 format = "pyproject"; 13 13 14 14 disabled = pythonOlder "3.6"; ··· 17 17 owner = "angr"; 18 18 repo = pname; 19 19 rev = "v${version}"; 20 - hash = "sha256-r0cZXyj47HmgFVyQ3POGexeQxBiQ1xx/ptsPMwCRjHY="; 20 + hash = "sha256-d5SP9pnDWXEzjBXKeqnuKK6+lrFRWYwmiV4MjfqORwk="; 21 21 }; 22 22 23 23 checkInputs = [
+2 -2
pkgs/development/python-modules/claripy/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "claripy"; 17 - version = "9.2.3"; 17 + version = "9.2.4"; 18 18 format = "pyproject"; 19 19 20 20 disabled = pythonOlder "3.6"; ··· 23 23 owner = "angr"; 24 24 repo = pname; 25 25 rev = "v${version}"; 26 - hash = "sha256-O2nkGIQfjGmhrqBPoMI97DsCvOUZix0VcUHwmDyF40Q="; 26 + hash = "sha256-nP2mqBmgpn7zFtMd9suH3kfEqKtzIjaZl6ALsvihVgE="; 27 27 }; 28 28 29 29 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/cle/default.nix
··· 15 15 16 16 let 17 17 # The binaries are following the argr projects release cycle 18 - version = "9.2.3"; 18 + version = "9.2.4"; 19 19 20 20 # Binary files from https://github.com/angr/binaries (only used for testing and only here) 21 21 binaries = fetchFromGitHub { ··· 37 37 owner = "angr"; 38 38 repo = pname; 39 39 rev = "v${version}"; 40 - hash = "sha256-gyWeE4sF9Bmk2CNmXh90xMtXlaz/Agm7wX6sWr0Fyco="; 40 + hash = "sha256-SlYayKfosSicMxMZszZpxJ3ewKScyLpv6s5ayoVE9Ko="; 41 41 }; 42 42 43 43 propagatedBuildInputs = [
+11 -5
pkgs/development/python-modules/deepdiff/default.nix
··· 8 8 , numpy 9 9 , pytestCheckHook 10 10 , pyyaml 11 + , pythonOlder 11 12 }: 12 13 13 14 buildPythonPackage rec { 14 15 pname = "deepdiff"; 15 - version = "5.7.0"; 16 + version = "5.8.2"; 16 17 format = "setuptools"; 17 18 18 - # pypi source does not contain all fixtures required for tests 19 + disabled = pythonOlder "3.6"; 20 + 19 21 src = fetchFromGitHub { 20 22 owner = "seperman"; 21 23 repo = "deepdiff"; 22 - # 5.7.0 release not tagged https://github.com/seperman/deepdiff/issues/300 23 - rev = "f2ffdb83b2993f4f0bb7e854620f0acd0bf6339e"; 24 + rev = "v${version}"; 24 25 hash = "sha256-0UBx7sH2iMrLVl5FtHNTwoecLHi8GbInn75G3FSg4gk="; 25 26 }; 26 27 ··· 48 49 pyyaml 49 50 ]; 50 51 52 + disabledTests = [ 53 + # Assertion issue with the decimal places 54 + "test_get_numeric_types_distance" 55 + ]; 56 + 51 57 meta = with lib; { 52 58 description = "Deep Difference and Search of any Python object/data"; 53 59 homepage = "https://github.com/seperman/deepdiff"; 54 60 license = licenses.mit; 55 - maintainers = [ maintainers.mic92 ]; 61 + maintainers = with maintainers; [ mic92 ]; 56 62 }; 57 63 }
+2 -2
pkgs/development/python-modules/mailchecker/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "mailchecker"; 9 - version = "4.1.16"; 9 + version = "4.1.17"; 10 10 format = "setuptools"; 11 11 12 12 disabled = pythonOlder "3.7"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - hash = "sha256-A+lh+BggMSJ/PIcYMfX3u/YlKVqhG5IxbrHPb1U6Ll4="; 16 + hash = "sha256-NfgLI490/9YoHIXTVD890RTe+qP9rrwAFv8Xkc1IY5s="; 17 17 }; 18 18 19 19 # Module has no tests
+29 -8
pkgs/development/python-modules/marshmallow-oneofschema/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, marshmallow, setuptools }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , marshmallow 5 + , pytestCheckHook 6 + , pythonOlder 7 + , setuptools 8 + }: 2 9 3 10 buildPythonPackage rec { 4 11 pname = "marshmallow-oneofschema"; 5 12 version = "3.0.1"; 13 + format = "setuptools"; 6 14 7 - src = fetchPypi { 8 - inherit pname version; 9 - sha256 = "62cd2099b29188c92493c2940ee79d1bf2f2619a71721664e5a98ec2faa58237"; 15 + disabled = pythonOlder "3.6"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "marshmallow-code"; 19 + repo = pname; 20 + rev = version; 21 + hash = "sha256-x0v8WkfjGkP2668QIQiewQViYFDIS2zBWMULcDThWas="; 10 22 }; 11 23 12 - propagatedBuildInputs = [ marshmallow setuptools ]; 24 + propagatedBuildInputs = [ 25 + marshmallow 26 + setuptools 27 + ]; 13 28 14 - pythonImportsCheck = [ "marshmallow_oneofschema" ]; 29 + checkInputs = [ 30 + pytestCheckHook 31 + ]; 32 + 33 + pythonImportsCheck = [ 34 + "marshmallow_oneofschema" 35 + ]; 15 36 16 37 meta = with lib; { 17 - homepage = "https://github.com/marshmallow-code/marshmallow-oneofschema"; 18 38 description = "Marshmallow library extension that allows schema (de)multiplexing"; 39 + homepage = "https://github.com/marshmallow-code/marshmallow-oneofschema"; 19 40 license = licenses.mit; 20 - maintainers = [ maintainers.ivan-tkatchev ]; 41 + maintainers = with maintainers; [ ivan-tkatchev ]; 21 42 }; 22 43 }
+10 -7
pkgs/development/python-modules/marshmallow/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , pythonOlder 4 3 , fetchFromGitHub 5 4 , pytestCheckHook 5 + , pythonOlder 6 6 , pytz 7 7 , simplejson 8 + , packaging 8 9 }: 9 10 10 11 buildPythonPackage rec { 11 12 pname = "marshmallow"; 12 - version = "3.13.0"; 13 + version = "3.15.0"; 14 + format = "setuptools"; 13 15 14 16 disabled = pythonOlder "3.6"; 15 17 ··· 17 19 owner = "marshmallow-code"; 18 20 repo = pname; 19 21 rev = version; 20 - sha256 = "sha256-tP/RKo2Hzxz2bT7ybRs9wGzq7TpsmzmOPi3BGuSLDA0="; 22 + hash = "sha256-ZqMrMNfP/RKW2jQDNPgfhyeqmSc40pZbnrcXHbw2emc="; 21 23 }; 22 24 25 + propagatedBuildInputs = [ 26 + packaging 27 + ]; 28 + 23 29 checkInputs = [ 24 30 pytestCheckHook 25 31 pytz ··· 31 37 ]; 32 38 33 39 meta = with lib; { 34 - description = '' 35 - A lightweight library for converting complex objects to and from 36 - simple Python datatypes. 37 - ''; 40 + description = "Library for converting complex objects to and from simple Python datatypes"; 38 41 homepage = "https://github.com/marshmallow-code/marshmallow"; 39 42 license = licenses.mit; 40 43 maintainers = with maintainers; [ cript0nauta ];
+24 -5
pkgs/development/python-modules/napalm/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, callPackage, setuptools, cffi 1 + { lib, buildPythonPackage, fetchFromGitHub, fetchpatch, setuptools, cffi 2 2 , paramiko, requests, future, textfsm, jinja2, netaddr, pyyaml, pyeapi, netmiko 3 3 , junos-eznc, ciscoconfparse, scp, lxml, ncclient, pytestCheckHook, ddt, mock 4 - , pythonOlder, pythonAtLeast }: 4 + , pythonOlder }: 5 5 6 6 buildPythonPackage rec { 7 7 pname = "napalm"; 8 - version = "3.3.1"; 8 + version = "3.4.1"; 9 9 format = "setuptools"; 10 10 11 - disabled = pythonOlder "3.6" || pythonAtLeast "3.9"; 11 + disabled = pythonOlder "3.7"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "napalm-automation"; 15 15 repo = "napalm"; 16 16 rev = version; 17 - sha256 = "15h1h1a3avv48i14x96b8v7zkhmwg7dnzxycxr18f9530j237rq6"; 17 + sha256 = "sha256-TNWRJtc6+VS6wgJGGvCPDoFQmOKQAyXdjFQo9bPJ2F8="; 18 18 }; 19 19 20 + patches = [ 21 + # netmiko 4.0.0 support 22 + (fetchpatch{ 23 + url = "https://github.com/napalm-automation/napalm/commit/4b8cc85db3236099a04f742cf71773e74d9dd70e.patch"; 24 + excludes = [ "requirements.txt" ]; 25 + sha256 = "sha256-DBKp+wiKd+/j2xAqaQL3UCcGQd6wnWcNTsNXBBt9c98="; 26 + }) 27 + (fetchpatch{ 28 + url = "https://github.com/napalm-automation/napalm/commit/4a8b5b1823335dd79aa5269c038a1f08ecd35cdd.patch"; 29 + sha256 = "sha256-uiou/rzmnFf4wAvXwmUsGJx99GeHWKJB2JrMM1kLakM="; 30 + }) 31 + ]; 32 + 33 + postPatch = '' 34 + substituteInPlace requirements.txt \ 35 + --replace "netmiko>=3.3.0,<4.0.0" "netmiko" 36 + ''; 37 + 20 38 buildInputs = [ setuptools ]; 39 + 21 40 propagatedBuildInputs = [ 22 41 cffi 23 42 paramiko
+4 -2
pkgs/development/python-modules/napalm/hp-procurve.nix
··· 30 30 "test_method_signatures" 31 31 # AttributeError: 'PatchedProcurveDriver' object has no attribute 'platform' 32 32 "test_get_config_filtered" 33 + # AssertionError 34 + "test_get_interfaces" 33 35 ]; 34 36 35 37 meta = with lib; { 36 38 description = "HP ProCurve Driver for NAPALM automation frontend"; 37 - homepage = 38 - "https://github.com/napalm-automation-community/napalm-hp-procurve"; 39 + homepage = "https://github.com/napalm-automation-community/napalm-hp-procurve"; 39 40 license = licenses.asl20; 41 + maintainers = with maintainers; [ ]; 40 42 }; 41 43 }
+3 -4
pkgs/development/python-modules/netmiko/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "netmiko"; 6 - version = "4.0.0"; 6 + version = "4.1.0"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "sha256-fVhBkiO1JpqMIFl32xlwSjeCd7aObocXPAr069fKdmc="; 10 + sha256 = "sha256-VwUZdHr82WsEprB7rk5d62AwaCxzngftDgjeBZW4OWQ="; 11 11 }; 12 12 13 13 buildInputs = [ setuptools ]; 14 - propagatedBuildInputs = 15 - [ paramiko scp tenacity textfsm ntc-templates pyserial ]; 14 + propagatedBuildInputs = [ paramiko scp tenacity pyyaml textfsm ntc-templates pyserial ]; 16 15 17 16 # tests require closed-source pyats and genie packages 18 17 doCheck = false;
+2 -2
pkgs/development/python-modules/pyvex/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "pyvex"; 15 - version = "9.2.3"; 15 + version = "9.2.4"; 16 16 format = "pyproject"; 17 17 18 18 disabled = pythonOlder "3.6"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - hash = "sha256-uGZlWDTDczBiNCd4D4y6Umz44G8Zn3Zr8/R7Kn+4aS8="; 22 + hash = "sha256-r+dmf5qIjiN5vmdzBmPORnPWPrjLKGks+OAdZXdAbOc="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+2 -2
pkgs/development/tools/konstraint/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "konstraint"; 5 - version = "0.19.1"; 5 + version = "0.20.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "plexsystems"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-MQ9Rb8U1CGbEgNtkOdK879dr8uOro6CAl4wGMbuT+wo="; 11 + sha256 = "sha256-xSJxBJzLfZhBcXqKs8EZRHTpgb1YeKDTzrOiBtGBwTI="; 12 12 }; 13 13 vendorSha256 = "sha256-gUuceNwOI+ss2YDiIF+zxyOj53iV6kGtVhNCd5KQomo="; 14 14
+5 -5
pkgs/games/anki/bin.nix
··· 3 3 let 4 4 pname = "anki-bin"; 5 5 # Update hashes for both Linux and Darwin! 6 - version = "2.1.51"; 6 + version = "2.1.52"; 7 7 8 8 sources = { 9 9 linux = fetchurl { 10 10 url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-linux-qt6.tar.zst"; 11 - sha256 = "sha256-ZKVc+TvkNu5mGgibhRIuoLuIfvyoVDy+c4h+Apz9P+0="; 11 + sha256 = "sha256-+eRflNMxutoSY9yQfnhIjfLg9b9CNv+7UuYyg4jgfK4="; 12 12 }; 13 13 14 14 # For some reason anki distributes completely separate dmg-files for the aarch64 version and the x86_64 version 15 15 darwin-x86_64 = fetchurl { 16 16 url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-mac-intel-qt6.dmg"; 17 - sha256 = "sha256-wZMJEbcpezVAuBSKlwNTHlqjp0FfmyDB7XD6BBuJhyA="; 17 + sha256 = "sha256-keQxaf0KOQjCb22dQD/1VytW2fk35OPUJyJ42kaoAr8="; 18 18 }; 19 19 darwin-aarch64 = fetchurl { 20 20 url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-mac-apple-qt6.dmg"; 21 - sha256 = "sha256-6RDTYKoisX5DJ9VPWrP9VH9DCABabb9MB3nG4S8jtR0="; 21 + sha256 = "sha256-mYPSOjXh18nWpZjXLAjEodoxopr6rxadESMAf/t9SlI="; 22 22 }; 23 23 }; 24 24 ··· 44 44 45 45 meta = with lib; { 46 46 inherit (anki.meta) license homepage description longDescription; 47 - platforms = [ "x86_64-linux" "x86_64-darwin" ]; 47 + platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ]; 48 48 maintainers = with maintainers; [ atemu ]; 49 49 }; 50 50
+2
pkgs/os-specific/windows/default.nix
··· 37 37 stdenv = crossThreadsStdenv; 38 38 }; 39 39 40 + npiperelay = callPackage ./npiperelay { }; 41 + 40 42 pthreads = callPackage ./pthread-w32 { }; 41 43 42 44 wxMSW = callPackage ./wxMSW-2.8 { };
+23
pkgs/os-specific/windows/npiperelay/default.nix
··· 1 + { lib, buildGoModule, fetchFromGitHub }: 2 + 3 + buildGoModule rec { 4 + pname = "npiperelay"; 5 + version = "0.1.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "jstarks"; 9 + repo = "npiperelay"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-cg4aZmpTysc8m1euxIO2XPv8OMnBk1DwhFcuIFHF/1o="; 12 + }; 13 + 14 + vendorSha256 = null; 15 + 16 + meta = { 17 + description = "Access Windows named pipes from WSL"; 18 + homepage = "https://github.com/jstarks/npiperelay"; 19 + license = lib.licenses.mit; 20 + maintainers = [ lib.maintainers.shlevy ]; 21 + platforms = lib.platforms.windows; 22 + }; 23 + }
+6
pkgs/tools/filesystems/9pfs/default.nix
··· 24 24 25 25 buildInputs = [ fuse ]; 26 26 27 + # Workaround build failure on -fno-common toolchains like upstream 28 + # gcc-10. Otherwise build fails as: 29 + # ld: lib/auth_rpc.o:/build/source/lib/../9pfs.h:35: multiple definition of 30 + # `logfile'; 9pfs.o:/build/source/9pfs.h:35: first defined here 31 + NIX_CFLAGS_COMPILE = "-fcommon"; 32 + 27 33 enableParallelBuilding = true; 28 34 29 35 meta = {