lol

Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
4cab9aed 19d7d641

+1255 -724
+1 -1
doc/languages-frameworks/python.section.md
··· 288 288 ps: with ps; [ 289 289 pyflakes 290 290 pytest 291 - python-language-server 291 + black 292 292 ] 293 293 )) 294 294
+13
maintainers/maintainer-list.nix
··· 972 972 githubId = 1118815; 973 973 name = "Vikram Narayanan"; 974 974 }; 975 + armeenm = { 976 + email = "mahdianarmeen@gmail.com"; 977 + github = "armeenm"; 978 + githubId = 29145250; 979 + name = "Armeen Mahdian"; 980 + }; 975 981 armijnhemel = { 976 982 email = "armijn@tjaldur.nl"; 977 983 github = "armijnhemel"; ··· 13975 13981 github = "zakkor"; 13976 13982 githubId = 6191421; 13977 13983 name = "Edward d'Albon"; 13984 + }; 13985 + zebreus = { 13986 + matrix = "@lennart:cicen.net"; 13987 + email = "lennarteichhorn+nixpkgs@gmail.com"; 13988 + github = "Zebreus"; 13989 + githubId = 1557253; 13990 + name = "Lennart Eichhorn"; 13978 13991 }; 13979 13992 zef = { 13980 13993 email = "zef@zef.me";
+6
nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
··· 455 455 <link xlink:href="options.html#opt-services.nifi.enable">services.nifi</link>. 456 456 </para> 457 457 </listitem> 458 + <listitem> 459 + <para> 460 + <link xlink:href="https://kanidm.github.io/kanidm/stable/">kanidm</link>, 461 + an identity management server written in Rust. 462 + </para> 463 + </listitem> 458 464 </itemizedlist> 459 465 </section> 460 466 <section xml:id="sec-release-22.05-incompatibilities">
+8 -1
nixos/modules/services/home-automation/home-assistant.nix
··· 360 360 }; 361 361 362 362 config = mkIf cfg.enable { 363 - networking.firewall.allowedTCPPorts = mkIf cfg.openFirewall [ cfg.port ]; 363 + assertions = [ 364 + { 365 + assertion = cfg.openFirewall -> !isNull cfg.config; 366 + message = "openFirewall can only be used with a declarative config"; 367 + } 368 + ]; 369 + 370 + networking.firewall.allowedTCPPorts = mkIf cfg.openFirewall [ cfg.config.http.server_port ]; 364 371 365 372 systemd.services.home-assistant = { 366 373 description = "Home Assistant";
+1 -1
nixos/modules/services/misc/heisenbridge.nix
··· 204 204 NoNewPrivileges = true; 205 205 LockPersonality = true; 206 206 RestrictRealtime = true; 207 - SystemCallFilter = ["@system-service" "~@priviledged" "@chown"]; 207 + SystemCallFilter = ["@system-service" "~@privileged" "@chown"]; 208 208 SystemCallArchitectures = "native"; 209 209 RestrictAddressFamilies = "AF_INET AF_INET6"; 210 210 };
+93 -9
nixos/modules/system/boot/plymouth.nix
··· 4 4 5 5 let 6 6 7 - inherit (pkgs) plymouth nixos-icons; 7 + inherit (pkgs) nixos-icons; 8 + plymouth = pkgs.plymouth.override { 9 + systemd = config.boot.initrd.systemd.package; 10 + }; 8 11 9 12 cfg = config.boot.plymouth; 10 13 opt = options.boot.plymouth; ··· 143 146 systemd.services.systemd-ask-password-plymouth.wantedBy = [ "multi-user.target" ]; 144 147 systemd.paths.systemd-ask-password-plymouth.wantedBy = [ "multi-user.target" ]; 145 148 146 - boot.initrd.extraUtilsCommands = '' 149 + boot.initrd.systemd = { 150 + extraBin.plymouth = "${plymouth}/bin/plymouth"; # for the recovery shell 151 + storePaths = [ 152 + "${lib.getBin config.boot.initrd.systemd.package}/bin/systemd-tty-ask-password-agent" 153 + "${plymouth}/bin/plymouthd" 154 + "${plymouth}/sbin/plymouthd" 155 + ]; 156 + packages = [ plymouth ]; # systemd units 157 + contents = { 158 + # Files 159 + "/etc/plymouth/plymouthd.conf".source = configFile; 160 + "/etc/plymouth/plymouthd.defaults".source = "${plymouth}/share/plymouth/plymouthd.defaults"; 161 + "/etc/plymouth/logo.png".source = cfg.logo; 162 + # Directories 163 + "/etc/plymouth/plugins".source = pkgs.runCommand "plymouth-initrd-plugins" {} '' 164 + # Check if the actual requested theme is here 165 + if [[ ! -d ${themesEnv}/share/plymouth/themes/${cfg.theme} ]]; then 166 + echo "The requested theme: ${cfg.theme} is not provided by any of the packages in boot.plymouth.themePackages" 167 + exit 1 168 + fi 169 + 170 + moduleName="$(sed -n 's,ModuleName *= *,,p' ${themesEnv}/share/plymouth/themes/${cfg.theme}/${cfg.theme}.plymouth)" 171 + 172 + mkdir -p $out/renderers 173 + # module might come from a theme 174 + cp ${themesEnv}/lib/plymouth/{text,details,label,$moduleName}.so $out 175 + cp ${plymouth}/lib/plymouth/renderers/{drm,frame-buffer}.so $out/renderers 176 + ''; 177 + "/etc/plymouth/themes".source = pkgs.runCommand "plymouth-initrd-themes" {} '' 178 + # Check if the actual requested theme is here 179 + if [[ ! -d ${themesEnv}/share/plymouth/themes/${cfg.theme} ]]; then 180 + echo "The requested theme: ${cfg.theme} is not provided by any of the packages in boot.plymouth.themePackages" 181 + exit 1 182 + fi 183 + 184 + mkdir $out 185 + cp -r ${themesEnv}/share/plymouth/themes/${cfg.theme} $out 186 + # Copy more themes if the theme depends on others 187 + for theme in $(grep -hRo '/etc/plymouth/themes/.*$' ${themesEnv} | xargs -n1 basename); do 188 + if [[ -d "${themesEnv}/theme" ]]; then 189 + cp -r "${themesEnv}/theme" $out 190 + fi 191 + done 192 + ''; 193 + 194 + # Fonts 195 + "/etc/plymouth/fonts".source = pkgs.runCommand "plymouth-initrd-fonts" {} '' 196 + mkdir -p $out 197 + cp ${cfg.font} $out 198 + ''; 199 + "/etc/fonts/fonts.conf".text = '' 200 + <?xml version="1.0"?> 201 + <!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd"> 202 + <fontconfig> 203 + <dir>/etc/plymouth/fonts</dir> 204 + </fontconfig> 205 + ''; 206 + }; 207 + # Properly enable units. These are the units that arch copies 208 + services = { 209 + plymouth-halt.wantedBy = [ "halt.target" ]; 210 + plymouth-kexec.wantedBy = [ "kexec.target" ]; 211 + plymouth-poweroff.wantedBy = [ "poweroff.target" ]; 212 + plymouth-quit-wait.wantedBy = [ "multi-user.target" ]; 213 + plymouth-quit.wantedBy = [ "multi-user.target" ]; 214 + plymouth-read-write.wantedBy = [ "sysinit.target" ]; 215 + plymouth-reboot.wantedBy = [ "reboot.target" ]; 216 + plymouth-start.wantedBy = [ "initrd-switch-root.target" "sysinit.target" ]; 217 + plymouth-switch-root-initramfs.wantedBy = [ "halt.target" "kexec.target" "plymouth-switch-root-initramfs.service" "poweroff.target" "reboot.target" ]; 218 + plymouth-switch-root.wantedBy = [ "initrd-switch-root.target" ]; 219 + }; 220 + }; 221 + 222 + # Insert required udev rules. We take stage 2 systemd because the udev 223 + # rules are only generated when building with logind. 224 + boot.initrd.services.udev.packages = [ (pkgs.runCommand "initrd-plymouth-udev-rules" {} '' 225 + mkdir -p $out/etc/udev/rules.d 226 + cp ${config.systemd.package.out}/lib/udev/rules.d/{70-uaccess,71-seat}.rules $out/etc/udev/rules.d 227 + sed -i '/loginctl/d' $out/etc/udev/rules.d/71-seat.rules 228 + '') ]; 229 + 230 + boot.initrd.extraUtilsCommands = lib.mkIf (!config.boot.initrd.systemd.enable) '' 147 231 copy_bin_and_libs ${plymouth}/bin/plymouth 148 232 copy_bin_and_libs ${plymouth}/bin/plymouthd 149 233 ··· 198 282 EOF 199 283 ''; 200 284 201 - boot.initrd.extraUtilsCommandsTest = '' 285 + boot.initrd.extraUtilsCommandsTest = mkIf (!config.boot.initrd.enable) '' 202 286 $out/bin/plymouthd --help >/dev/null 203 287 $out/bin/plymouth --help >/dev/null 204 288 ''; 205 289 206 - boot.initrd.extraUdevRulesCommands = '' 290 + boot.initrd.extraUdevRulesCommands = mkIf (!config.boot.initrd.enable) '' 207 291 cp ${config.systemd.package}/lib/udev/rules.d/{70-uaccess,71-seat}.rules $out 208 292 sed -i '/loginctl/d' $out/71-seat.rules 209 293 ''; 210 294 211 295 # We use `mkAfter` to ensure that LUKS password prompt would be shown earlier than the splash screen. 212 - boot.initrd.preLVMCommands = mkAfter '' 296 + boot.initrd.preLVMCommands = mkIf (!config.boot.initrd.enable) (mkAfter '' 213 297 mkdir -p /etc/plymouth 214 298 mkdir -p /run/plymouth 215 299 ln -s ${configFile} /etc/plymouth/plymouthd.conf ··· 221 305 222 306 plymouthd --mode=boot --pid-file=/run/plymouth/pid --attach-to-session 223 307 plymouth show-splash 224 - ''; 308 + ''); 225 309 226 - boot.initrd.postMountCommands = '' 310 + boot.initrd.postMountCommands = mkIf (!config.boot.initrd.enable) '' 227 311 plymouth update-root-fs --new-root-dir="$targetRoot" 228 312 ''; 229 313 230 314 # `mkBefore` to ensure that any custom prompts would be visible. 231 - boot.initrd.preFailCommands = mkBefore '' 315 + boot.initrd.preFailCommands = mkIf (!config.boot.initrd.enable) (mkBefore '' 232 316 plymouth quit --wait 233 - ''; 317 + ''); 234 318 235 319 }; 236 320
+4 -2
nixos/modules/system/boot/systemd/nspawn.nix
··· 16 16 "LimitNOFILE" "LimitAS" "LimitNPROC" "LimitMEMLOCK" "LimitLOCKS" 17 17 "LimitSIGPENDING" "LimitMSGQUEUE" "LimitNICE" "LimitRTPRIO" "LimitRTTIME" 18 18 "OOMScoreAdjust" "CPUAffinity" "Hostname" "ResolvConf" "Timezone" 19 - "LinkJournal" 19 + "LinkJournal" "Ephemeral" "AmbientCapability" 20 20 ]) 21 21 (assertValueOneOf "Boot" boolValues) 22 22 (assertValueOneOf "ProcessTwo" boolValues) ··· 26 26 checkFiles = checkUnitConfig "Files" [ 27 27 (assertOnlyFields [ 28 28 "ReadOnly" "Volatile" "Bind" "BindReadOnly" "TemporaryFileSystem" 29 - "Overlay" "OverlayReadOnly" "PrivateUsersChown" 29 + "Overlay" "OverlayReadOnly" "PrivateUsersChown" "BindUser" 30 + "Inaccessible" "PrivateUserOwnership" 30 31 ]) 31 32 (assertValueOneOf "ReadOnly" boolValues) 32 33 (assertValueOneOf "Volatile" (boolValues ++ [ "state" ])) 33 34 (assertValueOneOf "PrivateUsersChown" boolValues) 35 + (assertValueOneOf "PrivateUserOwnership" [ "off" "chown" "map" "auto" ]) 34 36 ]; 35 37 36 38 checkNetwork = checkUnitConfig "Network" [
+3 -3
pkgs/applications/editors/emacs/elisp-packages/ement/default.nix
··· 13 13 14 14 trivialBuild { 15 15 pname = "ement"; 16 - version = "unstable-2022-04-22"; 16 + version = "unstable-2022-05-05"; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "alphapapa"; 20 20 repo = "ement.el"; 21 - rev = "70da19e4c9210d362b1d6d9c17ab2c034a03250d"; 22 - sha256 = "sha256-Pxul0WrtyH2XZzF0fOOitLc3x/kc+Qc11RDH0n+Hm04="; 21 + rev = "84739451afa8355360966dfa788d469d9dc4a8e3"; 22 + sha256 = "sha256-XdegBKZfoKbFaMM/l8249VD9KKC5/4gQIK6ggPcoOaE="; 23 23 }; 24 24 25 25 packageRequires = [
+7
pkgs/applications/graphics/inkscape/default.nix
··· 80 80 url = "https://gitlab.com/inkscape/inkscape/-/commit/a18c57ffff313fd08bc8a44f6b6bf0b01d7e9b75.patch"; 81 81 sha256 = "UZb8ZTtfA5667uo5ZlVQ5vPowiSgd4ItAJ9U1BOsRQg="; 82 82 }) 83 + 84 + # Fix build with poppler 22.04 85 + # https://gitlab.com/inkscape/inkscape/-/merge_requests/4266 86 + (fetchpatch { 87 + url = "https://gitlab.com/inkscape/inkscape/-/commit/d989cdf1059c78bc3bb6414330242073768d640b.patch"; 88 + sha256 = "2cJZdunbRgPIwhJgz1dQoQRw3ZYZ2Fp6c3hpVBV2PbE="; 89 + }) 83 90 ]; 84 91 85 92 postPatch = ''
+2 -2
pkgs/applications/misc/ausweisapp2/default.nix
··· 3 3 4 4 mkDerivation rec { 5 5 pname = "AusweisApp2"; 6 - version = "1.22.4"; 6 + version = "1.22.5"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "Governikus"; 10 10 repo = "AusweisApp2"; 11 11 rev = version; 12 - sha256 = "sha256-Mms7Vibq1Rlb2XbxiV4o1UsjDRJcwG5ZZdPOWHjnW2A="; 12 + sha256 = "sha256-EuHg8JrI6ZoyTXqD3v4cfk4/NovAj4fF2NY1V2ZF64c="; 13 13 }; 14 14 15 15 nativeBuildInputs = [ cmake pkg-config ];
+4 -5
pkgs/applications/misc/mediainfo-gui/default.nix
··· 1 - { lib, stdenv, fetchurl, autoreconfHook, pkg-config, libzen, libmediainfo, wxGTK30-gtk3 1 + { lib, stdenv, fetchurl, autoreconfHook, pkg-config, libmediainfo, wxGTK30-gtk3 2 2 , desktop-file-utils, libSM, imagemagick }: 3 3 4 4 stdenv.mkDerivation rec { 5 - version = "21.09"; 5 + version = "22.03"; 6 6 pname = "mediainfo-gui"; 7 7 src = fetchurl { 8 8 url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz"; 9 - sha256 = "0mqcqm8y2whnbdi2ry7jd755gfl5ccdqhwjh67hsyr7c0ajxk3vv"; 9 + sha256 = "sha256-Yjb5Kh1XqBdLPzDqbd6Kq1ONj2IPcoIk2FE3MWmAK+Q="; 10 10 }; 11 11 12 12 nativeBuildInputs = [ autoreconfHook pkg-config ]; 13 - buildInputs = [ libzen libmediainfo wxGTK30-gtk3 desktop-file-utils libSM 14 - imagemagick ]; 13 + buildInputs = [ libmediainfo wxGTK30-gtk3 desktop-file-utils libSM imagemagick ]; 15 14 16 15 sourceRoot = "./MediaInfo/Project/GNU/GUI/"; 17 16
+4 -3
pkgs/applications/misc/swaynotificationcenter/default.nix
··· 4 4 , meson 5 5 , ninja 6 6 , pkg-config 7 + , scdoc 7 8 , vala 8 9 , gtk3 9 10 , glib ··· 20 21 21 22 stdenv.mkDerivation rec { 22 23 pname = "SwayNotificationCenter"; 23 - version = "0.3"; 24 + version = "0.5"; 24 25 25 26 src = fetchFromGitHub { 26 27 owner = "ErikReider"; 27 28 repo = "SwayNotificationCenter"; 28 29 rev = "v${version}"; 29 - hash = "sha256-gXo/V2FHkHZBRmaimqJCzi0BqS4tP9IniIlubBmK5u0="; 30 + hash = "sha256-Jjbr6GJ0MHlO+T/simPNYQnB5b7Cr85j4GRjRGa5B6s="; 30 31 }; 31 32 32 - nativeBuildInputs = [ gobject-introspection meson ninja pkg-config vala wrapGAppsHook ]; 33 + nativeBuildInputs = [ gobject-introspection meson ninja pkg-config scdoc vala wrapGAppsHook ]; 33 34 34 35 buildInputs = [ dbus dbus-glib gdk-pixbuf glib gtk-layer-shell gtk3 json-glib libhandy librsvg ]; 35 36
+17 -6
pkgs/applications/misc/sweethome3d/default.nix
··· 10 10 , gtk3 11 11 , gsettings-desktop-schemas 12 12 , p7zip 13 + , autoPatchelfHook 13 14 , libXxf86vm 14 15 , unzip 15 16 }: ··· 41 42 }; 42 43 43 44 postPatch = '' 44 - patchelf --set-rpath ${libXxf86vm}/lib lib/java3d-1.6/linux/amd64/libnativewindow_awt.so 45 - patchelf --set-rpath ${libXxf86vm}/lib lib/java3d-1.6/linux/amd64/libnativewindow_x11.so 46 - patchelf --set-rpath ${libXxf86vm}/lib lib/java3d-1.6/linux/i586/libnativewindow_awt.so 47 - patchelf --set-rpath ${libXxf86vm}/lib lib/java3d-1.6/linux/i586/libnativewindow_x11.so 45 + addAutoPatchelfSearchPath ${jre8}/lib/openjdk/jre/lib/ 46 + autoPatchelf lib 47 + 48 + # Nix cannot see the runtime references to the paths we just patched in 49 + # once they've been compressed into the .jar. Scan for and remember them 50 + # as plain text so they don't get overlooked. 51 + find . -name '*.so' | xargs strings | { grep '/nix/store' || :; } >> ./.jar-paths 48 52 ''; 49 53 50 - nativeBuildInputs = [ makeWrapper unzip ]; 51 - buildInputs = [ ant jdk8 p7zip gtk3 gsettings-desktop-schemas ]; 54 + nativeBuildInputs = [ makeWrapper unzip autoPatchelfHook ]; 55 + buildInputs = [ ant jdk8 p7zip gtk3 gsettings-desktop-schemas libXxf86vm ]; 52 56 53 57 buildPhase = '' 54 58 runHook preBuild ··· 79 83 --set MESA_GL_VERSION_OVERRIDE 2.1 \ 80 84 --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:${gtk3.out}/share:${gsettings-desktop-schemas}/share:$out/share:$GSETTINGS_SCHEMAS_PATH" \ 81 85 --add-flags "-Dsun.java2d.opengl=true -jar $out/share/java/${module}-${version}.jar -cp $out/share/java/Furniture.jar:$out/share/java/Textures.jar:$out/share/java/Help.jar -d${toString stdenv.hostPlatform.parsed.cpu.bits}" 86 + 87 + 88 + # remember the store paths found inside the .jar libraries. note that 89 + # which file they are in does not matter in particular, just that some 90 + # file somewhere lists them in plain-text 91 + mkdir -p $out/nix-support 92 + cp .jar-paths $out/nix-support/depends 82 93 83 94 runHook postInstall 84 95 '';
+2 -2
pkgs/applications/networking/mailreaders/neomutt/default.nix
··· 4 4 }: 5 5 6 6 stdenv.mkDerivation rec { 7 - version = "20220415"; 7 + version = "20220429"; 8 8 pname = "neomutt"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "neomutt"; 12 12 repo = "neomutt"; 13 13 rev = version; 14 - sha256 = "sha256-iVKDgVN7YFPEMP+OISS7jRG9Whs2QG60yH1r2kw3MUQ="; 14 + sha256 = "sha256-LBY7WtmEMg/PcMS/Tc5XEYunIWjoI4IQfUJURKgy1YA="; 15 15 }; 16 16 17 17 buildInputs = [
+8 -2
pkgs/applications/networking/n8n/default.nix
··· 1 - { pkgs, nodejs-14_x, stdenv, lib }: 1 + { pkgs, nodejs-16_x, stdenv, lib }: 2 2 3 3 let 4 4 nodePackages = import ./node-composition.nix { 5 5 inherit pkgs; 6 - nodejs = nodejs-14_x; 7 6 inherit (stdenv.hostPlatform) system; 8 7 }; 9 8 in ··· 11 10 nativeBuildInputs = with pkgs.nodePackages; [ 12 11 node-pre-gyp 13 12 ]; 13 + 14 + dontNpmInstall = true; 15 + 16 + postInstall = '' 17 + mkdir -p $out/bin 18 + ln -s $out/lib/node_modules/n8n/bin/n8n $out/bin/n8n 19 + ''; 14 20 15 21 passthru.updateScript = ./generate-dependencies.sh; 16 22
+1 -1
pkgs/applications/networking/n8n/generate-dependencies.sh
··· 13 13 cd "$(dirname $(readlink -f $0))" 14 14 15 15 node2nix \ 16 - --14 \ 16 + --nodejs-16 \ 17 17 --strip-optional-dependencies \ 18 18 --node-env node-env.nix \ 19 19 --input package.json \
+2 -2
pkgs/applications/networking/n8n/node-composition.nix
··· 1 - # This file has been generated by node2nix 1.9.0. Do not edit! 1 + # This file has been generated by node2nix 1.11.1. Do not edit! 2 2 3 3 {pkgs ? import <nixpkgs> { 4 4 inherit system; 5 - }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-12_x"}: 5 + }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-16_x"}: 6 6 7 7 let 8 8 nodeEnv = import ./node-env.nix {
+21 -11
pkgs/applications/networking/n8n/node-env.nix
··· 98 98 '' 99 99 + (lib.concatMapStrings (dependency: 100 100 '' 101 - if [ ! -e "${dependency.name}" ]; then 101 + if [ ! -e "${dependency.packageName}" ]; then 102 102 ${composePackage dependency} 103 103 fi 104 104 '' ··· 257 257 var packageLock = JSON.parse(fs.readFileSync("./package-lock.json")); 258 258 259 259 if(![1, 2].includes(packageLock.lockfileVersion)) { 260 - process.stderr.write("Sorry, I only understand lock file versions 1 and 2!\n"); 261 - process.exit(1); 260 + process.stderr.write("Sorry, I only understand lock file versions 1 and 2!\n"); 261 + process.exit(1); 262 262 } 263 263 264 264 if(packageLock.dependencies !== undefined) { ··· 390 390 buildNodePackage = 391 391 { name 392 392 , packageName 393 - , version 393 + , version ? null 394 394 , dependencies ? [] 395 395 , buildInputs ? [] 396 396 , production ? true ··· 409 409 extraArgs = removeAttrs args [ "name" "dependencies" "buildInputs" "dontStrip" "dontNpmInstall" "preRebuild" "unpackPhase" "buildPhase" "meta" ]; 410 410 in 411 411 stdenv.mkDerivation ({ 412 - name = "${name}-${version}"; 412 + name = "${name}${if version == null then "" else "-${version}"}"; 413 413 buildInputs = [ tarWrapper python nodejs ] 414 414 ++ lib.optional (stdenv.isLinux) utillinux 415 415 ++ lib.optional (stdenv.isDarwin) libtool ··· 441 441 if [ -d "$out/lib/node_modules/.bin" ] 442 442 then 443 443 ln -s $out/lib/node_modules/.bin $out/bin 444 + 445 + # Patch the shebang lines of all the executables 446 + ls $out/bin/* | while read i 447 + do 448 + file="$(readlink -f "$i")" 449 + chmod u+rwx "$file" 450 + patchShebangs "$file" 451 + done 444 452 fi 445 453 446 454 # Create symlinks to the deployed manual page folders, if applicable ··· 471 479 buildNodeDependencies = 472 480 { name 473 481 , packageName 474 - , version 482 + , version ? null 475 483 , src 476 484 , dependencies ? [] 477 485 , buildInputs ? [] ··· 489 497 extraArgs = removeAttrs args [ "name" "dependencies" "buildInputs" ]; 490 498 in 491 499 stdenv.mkDerivation ({ 492 - name = "node-dependencies-${name}-${version}"; 500 + name = "node-dependencies-${name}${if version == null then "" else "-${version}"}"; 493 501 494 502 buildInputs = [ tarWrapper python nodejs ] 495 503 ++ lib.optional (stdenv.isLinux) utillinux ··· 519 527 if [ -f ${src}/package-lock.json ] 520 528 then 521 529 cp ${src}/package-lock.json . 530 + chmod 644 package-lock.json 522 531 fi 523 532 ''} 524 533 ··· 541 550 buildNodeShell = 542 551 { name 543 552 , packageName 544 - , version 553 + , version ? null 545 554 , src 546 555 , dependencies ? [] 547 556 , buildInputs ? [] ··· 557 566 558 567 let 559 568 nodeDependencies = buildNodeDependencies args; 569 + extraArgs = removeAttrs args [ "name" "dependencies" "buildInputs" "dontStrip" "dontNpmInstall" "unpackPhase" "buildPhase" ]; 560 570 in 561 - stdenv.mkDerivation { 562 - name = "node-shell-${name}-${version}"; 571 + stdenv.mkDerivation ({ 572 + name = "node-shell-${name}${if version == null then "" else "-${version}"}"; 563 573 564 574 buildInputs = [ python nodejs ] ++ lib.optional (stdenv.isLinux) utillinux ++ buildInputs; 565 575 buildCommand = '' ··· 578 588 export NODE_PATH=${nodeDependencies}/lib/node_modules 579 589 export PATH="${nodeDependencies}/bin:$PATH" 580 590 ''; 581 - }; 591 + } // extraArgs); 582 592 in 583 593 { 584 594 buildNodeSourceDist = lib.makeOverridable buildNodeSourceDist;
+59 -59
pkgs/applications/networking/n8n/node-packages.nix
··· 1 - # This file has been generated by node2nix 1.9.0. Do not edit! 1 + # This file has been generated by node2nix 1.11.1. Do not edit! 2 2 3 3 {nodeEnv, fetchurl, fetchgit, nix-gitignore, stdenv, lib, globalBuildInputs ? []}: 4 4 5 5 let 6 6 sources = { 7 - "@azure/abort-controller-1.0.5" = { 7 + "@azure/abort-controller-1.1.0" = { 8 8 name = "_at_azure_slash_abort-controller"; 9 9 packageName = "@azure/abort-controller"; 10 - version = "1.0.5"; 10 + version = "1.1.0"; 11 11 src = fetchurl { 12 - url = "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-1.0.5.tgz"; 13 - sha512 = "G5sjKExiVsbFQo+4YY5MBPOSsh3EUv6XmqjgJaF/VCjckWLGGKPUPGfbCSn6Xal6gzGoPQMOQ+wCCGNCX9NAPg=="; 12 + url = "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-1.1.0.tgz"; 13 + sha512 = "TrRLIoSQVzfAJX9H1JeFjzAoDGcoK1IYX1UImfceTZpsyYfWr09Ss1aHW1y5TrrR3iq6RZLBwJ3E24uwPhwahw=="; 14 14 }; 15 15 }; 16 16 "@azure/core-asynciterator-polyfill-1.0.2" = { ··· 31 31 sha512 = "7CU6DmCHIZp5ZPiZ9r3J17lTKMmYsm/zGvNkjArQwPkrLlZ1TZ+EUYfGgh2X31OLMVAQCTJZW4cXHJi02EbJnA=="; 32 32 }; 33 33 }; 34 - "@azure/core-http-2.2.4" = { 34 + "@azure/core-http-2.2.5" = { 35 35 name = "_at_azure_slash_core-http"; 36 36 packageName = "@azure/core-http"; 37 - version = "2.2.4"; 37 + version = "2.2.5"; 38 38 src = fetchurl { 39 - url = "https://registry.npmjs.org/@azure/core-http/-/core-http-2.2.4.tgz"; 40 - sha512 = "QmmJmexXKtPyc3/rsZR/YTLDvMatzbzAypJmLzvlfxgz/SkgnqV/D4f6F2LsK6tBj1qhyp8BoXiOebiej0zz3A=="; 39 + url = "https://registry.npmjs.org/@azure/core-http/-/core-http-2.2.5.tgz"; 40 + sha512 = "kctMqSQ6zfnlFpuYzfUKadeTyOQYbIQ+3Rj7dzVC3Dk1dOnHroTwR9hLYKX8/n85iJpkyaksaXpuh5L7GJRYuQ=="; 41 41 }; 42 42 }; 43 43 "@azure/core-lro-2.2.4" = { ··· 976 976 sha512 = "z4oo33lmnvvNRqfUe3YjDGGpqu/L2+wXBIhMtwq6oqZ+exOUAkQYM6zd2VWKF7AIlajOF8ZZuPFfryTG9iLC/w=="; 977 977 }; 978 978 }; 979 - "aws-sdk-2.1125.0" = { 979 + "aws-sdk-2.1129.0" = { 980 980 name = "aws-sdk"; 981 981 packageName = "aws-sdk"; 982 - version = "2.1125.0"; 982 + version = "2.1129.0"; 983 983 src = fetchurl { 984 - url = "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1125.0.tgz"; 985 - sha512 = "2syNkKDqDcDmB/chc61a5xx+KYzaarLs1/KshE0b1Opp2oSq2FARyUBbk59HgwKaDUB61uPF33ZG9sHiIVx2hQ=="; 984 + url = "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1129.0.tgz"; 985 + sha512 = "gQZaByfW7zKCg1n/kA+xDdLhI/SauaokRTq+lztK1cCCdFkR5CShcKeK/qUgVxjy43mwB7CkeTh1WUr2NMb0jg=="; 986 986 }; 987 987 }; 988 988 "aws-sign2-0.7.0" = { ··· 1858 1858 sha512 = "Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ=="; 1859 1859 }; 1860 1860 }; 1861 - "core-js-3.22.3" = { 1861 + "core-js-3.22.4" = { 1862 1862 name = "core-js"; 1863 1863 packageName = "core-js"; 1864 - version = "3.22.3"; 1864 + version = "3.22.4"; 1865 1865 src = fetchurl { 1866 - url = "https://registry.npmjs.org/core-js/-/core-js-3.22.3.tgz"; 1867 - sha512 = "1t+2a/d2lppW1gkLXx3pKPVGbBdxXAkqztvWb1EJ8oF8O2gIGiytzflNiFEehYwVK/t2ryUsGBoOFFvNx95mbg=="; 1866 + url = "https://registry.npmjs.org/core-js/-/core-js-3.22.4.tgz"; 1867 + sha512 = "1uLykR+iOfYja+6Jn/57743gc9n73EWiOnSJJ4ba3B4fOEYDBv25MagmEZBxTp5cWq4b/KPx/l77zgsp28ju4w=="; 1868 1868 }; 1869 1869 }; 1870 1870 "core-util-is-1.0.2" = { ··· 2641 2641 sha512 = "GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw=="; 2642 2642 }; 2643 2643 }; 2644 - "follow-redirects-1.14.9" = { 2644 + "follow-redirects-1.15.0" = { 2645 2645 name = "follow-redirects"; 2646 2646 packageName = "follow-redirects"; 2647 - version = "1.14.9"; 2647 + version = "1.15.0"; 2648 2648 src = fetchurl { 2649 - url = "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz"; 2650 - sha512 = "MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w=="; 2649 + url = "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.0.tgz"; 2650 + sha512 = "aExlJShTV4qOUOL7yF1U5tvLCB0xQuudbf6toyYA0E/acBNw71mvjFTnLaRp50aQaYocMR0a/RMMBIHeZnGyjQ=="; 2651 2651 }; 2652 2652 }; 2653 2653 "for-each-0.3.3" = { ··· 4522 4522 sha512 = "qIcmHAtVJotgiYo3vVMLwC9qaU5ih5ti4+aPu2I1onD6WEu8GMNF38AzIAceYl6U8EhvDB+DOsF/SjYHfl26iw=="; 4523 4523 }; 4524 4524 }; 4525 - "n8n-editor-ui-0.142.0" = { 4525 + "n8n-editor-ui-0.142.1" = { 4526 4526 name = "n8n-editor-ui"; 4527 4527 packageName = "n8n-editor-ui"; 4528 - version = "0.142.0"; 4528 + version = "0.142.1"; 4529 4529 src = fetchurl { 4530 - url = "https://registry.npmjs.org/n8n-editor-ui/-/n8n-editor-ui-0.142.0.tgz"; 4531 - sha512 = "aDXm64Y+tcLicd0z9pIxhSfqCb/JjsMIAOJ7DB35HKg7riOE7TGBHkWQ6F61XEjusJLl6ZGr15V+9EoCTu+02g=="; 4530 + url = "https://registry.npmjs.org/n8n-editor-ui/-/n8n-editor-ui-0.142.1.tgz"; 4531 + sha512 = "Me8fk76HeWUmTPnksH4kzG0bKOp1yLFjAC4F+EcEllIIf+x75kjN+gSH4uwgvspzGCVO88ZnppWoGQwvHQpXQw=="; 4532 4532 }; 4533 4533 }; 4534 4534 "n8n-nodes-base-0.173.0" = { ··· 4567 4567 sha512 = "wynEP02LmIbLpcYw8uBKpcfF6dmg2vcpKqxeH5UcoKEYdExslsdUA4ugFauuaeYdTB76ez6gJW8XAZ6CgkXYxA=="; 4568 4568 }; 4569 4569 }; 4570 - "nanoid-3.3.3" = { 4570 + "nanoid-3.3.4" = { 4571 4571 name = "nanoid"; 4572 4572 packageName = "nanoid"; 4573 - version = "3.3.3"; 4573 + version = "3.3.4"; 4574 4574 src = fetchurl { 4575 - url = "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz"; 4576 - sha512 = "p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w=="; 4575 + url = "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz"; 4576 + sha512 = "MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw=="; 4577 4577 }; 4578 4578 }; 4579 4579 "native-duplexpair-1.0.0" = { ··· 4693 4693 sha512 = "KUdDsspqx89sD4UUyUKzdlUOper3hRkDVkrKh/89G+d9WKsU5ox51NWS4tB1XR5dPUdR4SP0E3molyEfOvSa3g=="; 4694 4694 }; 4695 4695 }; 4696 - "nodemailer-6.7.4" = { 4696 + "nodemailer-6.7.5" = { 4697 4697 name = "nodemailer"; 4698 4698 packageName = "nodemailer"; 4699 - version = "6.7.4"; 4699 + version = "6.7.5"; 4700 4700 src = fetchurl { 4701 - url = "https://registry.npmjs.org/nodemailer/-/nodemailer-6.7.4.tgz"; 4702 - sha512 = "TBSS3qS8WG45ycUwEvEA/3UM1o3sLz9jUl4TPUKPz4ImWWM6UgRCb5pLO+HOouDKEj57yNLOrzQlO8+9IjWZoA=="; 4701 + url = "https://registry.npmjs.org/nodemailer/-/nodemailer-6.7.5.tgz"; 4702 + sha512 = "6VtMpwhsrixq1HDYSBBHvW0GwiWawE75dS3oal48VqRhUvKJNnKnJo2RI/bCVQubj1vgrgscMNW4DHaD6xtMCg=="; 4703 4703 }; 4704 4704 }; 4705 4705 "nopt-5.0.0" = { ··· 6367 6367 sha512 = "VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug=="; 6368 6368 }; 6369 6369 }; 6370 - "sqlite3-5.0.6" = { 6370 + "sqlite3-5.0.7" = { 6371 6371 name = "sqlite3"; 6372 6372 packageName = "sqlite3"; 6373 - version = "5.0.6"; 6373 + version = "5.0.7"; 6374 6374 src = fetchurl { 6375 - url = "https://registry.npmjs.org/sqlite3/-/sqlite3-5.0.6.tgz"; 6376 - sha512 = "uT1dC6N3ReF+jchY01zvl1wVFFJ5xO86wSnCpK39uA/zmAHBDm6TiAq1v876QKv8JgiijxQ7/fb5C2LPm7ZAJA=="; 6375 + url = "https://registry.npmjs.org/sqlite3/-/sqlite3-5.0.7.tgz"; 6376 + sha512 = "9PUfvpol1/5SI3WZawFINwpRz6qhUeJJtFNG6rr0CvDWMXN75PJPv+3b0aVEOOx5rAZIPcXW2zVasH8foqw7Gg=="; 6377 6377 }; 6378 6378 }; 6379 6379 "sqlstring-2.3.3" = { ··· 6493 6493 sha512 = "wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="; 6494 6494 }; 6495 6495 }; 6496 - "string.prototype.trimend-1.0.4" = { 6496 + "string.prototype.trimend-1.0.5" = { 6497 6497 name = "string.prototype.trimend"; 6498 6498 packageName = "string.prototype.trimend"; 6499 - version = "1.0.4"; 6499 + version = "1.0.5"; 6500 6500 src = fetchurl { 6501 - url = "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz"; 6502 - sha512 = "y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A=="; 6501 + url = "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.5.tgz"; 6502 + sha512 = "I7RGvmjV4pJ7O3kdf+LXFpVfdNOxtCW/2C8f6jNiW4+PQchwxkCDzlk1/7p+Wl4bqFIZeF47qAHXLuHHWKAxog=="; 6503 6503 }; 6504 6504 }; 6505 - "string.prototype.trimstart-1.0.4" = { 6505 + "string.prototype.trimstart-1.0.5" = { 6506 6506 name = "string.prototype.trimstart"; 6507 6507 packageName = "string.prototype.trimstart"; 6508 - version = "1.0.4"; 6508 + version = "1.0.5"; 6509 6509 src = fetchurl { 6510 - url = "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz"; 6511 - sha512 = "jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw=="; 6510 + url = "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.5.tgz"; 6511 + sha512 = "THx16TJCGlsN0o6dl2o6ncWUsdgnLRSA23rRE5pyGBw/mLr3Ej/R2LaqCtgP8VNMGZsvMWnf9ooZPyY2bHvUFg=="; 6512 6512 }; 6513 6513 }; 6514 6514 "string_decoder-0.10.31" = { ··· 7534 7534 n8n = nodeEnv.buildNodePackage { 7535 7535 name = "n8n"; 7536 7536 packageName = "n8n"; 7537 - version = "0.175.0"; 7537 + version = "0.175.1"; 7538 7538 src = fetchurl { 7539 - url = "https://registry.npmjs.org/n8n/-/n8n-0.175.0.tgz"; 7540 - sha512 = "FKIroWsEZNZ/HUdM6iQ8QY6WxYs4uQufodBoKpbcu6JJKF/ufYO4U8lpIM0nV2YCMaB+JAVvswim0SUDB6KF3A=="; 7539 + url = "https://registry.npmjs.org/n8n/-/n8n-0.175.1.tgz"; 7540 + sha512 = "rInwNB6wxOs79EvC2HFALyDhdDPJwLVT+z1LivxLRD9dZOrtlMD9wdDfESpHYS5ikND4T5JW32HaxGF9nnzlJA=="; 7541 7541 }; 7542 7542 dependencies = [ 7543 - (sources."@azure/abort-controller-1.0.5" // { 7543 + (sources."@azure/abort-controller-1.1.0" // { 7544 7544 dependencies = [ 7545 7545 sources."tslib-2.4.0" 7546 7546 ]; ··· 7551 7551 sources."tslib-2.4.0" 7552 7552 ]; 7553 7553 }) 7554 - (sources."@azure/core-http-2.2.4" // { 7554 + (sources."@azure/core-http-2.2.5" // { 7555 7555 dependencies = [ 7556 7556 sources."tough-cookie-4.0.0" 7557 7557 sources."tslib-2.4.0" ··· 7725 7725 ]; 7726 7726 }) 7727 7727 sources."avsc-5.7.4" 7728 - (sources."aws-sdk-2.1125.0" // { 7728 + (sources."aws-sdk-2.1129.0" // { 7729 7729 dependencies = [ 7730 7730 sources."buffer-4.9.2" 7731 7731 sources."events-1.1.1" ··· 7902 7902 sources."cookie-0.4.1" 7903 7903 sources."cookie-parser-1.4.6" 7904 7904 sources."cookie-signature-1.0.6" 7905 - sources."core-js-3.22.3" 7905 + sources."core-js-3.22.4" 7906 7906 sources."core-util-is-1.0.2" 7907 7907 sources."crc-32-1.2.2" 7908 7908 sources."cron-1.7.2" ··· 8012 8012 }) 8013 8013 sources."flatted-3.2.5" 8014 8014 sources."fn.name-1.1.0" 8015 - sources."follow-redirects-1.14.9" 8015 + sources."follow-redirects-1.15.0" 8016 8016 sources."for-each-0.3.3" 8017 8017 sources."forever-agent-0.6.1" 8018 8018 sources."form-data-4.0.0" ··· 8282 8282 sources."mz-2.7.0" 8283 8283 sources."n8n-core-0.116.0" 8284 8284 sources."n8n-design-system-0.19.0" 8285 - sources."n8n-editor-ui-0.142.0" 8285 + sources."n8n-editor-ui-0.142.1" 8286 8286 (sources."n8n-nodes-base-0.173.0" // { 8287 8287 dependencies = [ 8288 8288 sources."iconv-lite-0.6.3" ··· 8296 8296 ]; 8297 8297 }) 8298 8298 sources."nanoclone-0.2.1" 8299 - sources."nanoid-3.3.3" 8299 + sources."nanoid-3.3.4" 8300 8300 sources."native-duplexpair-1.0.0" 8301 8301 (sources."nearley-2.20.1" // { 8302 8302 dependencies = [ ··· 8317 8317 sources."node-html-parser-5.3.3" 8318 8318 sources."node-ssh-12.0.4" 8319 8319 sources."nodeify-1.0.1" 8320 - sources."nodemailer-6.7.4" 8320 + sources."nodemailer-6.7.5" 8321 8321 sources."nopt-5.0.0" 8322 8322 sources."normalize-path-3.0.0" 8323 8323 sources."normalize-wheel-1.0.1" ··· 8577 8577 ]; 8578 8578 }) 8579 8579 sources."sprintf-js-1.1.2" 8580 - sources."sqlite3-5.0.6" 8580 + sources."sqlite3-5.0.7" 8581 8581 sources."sqlstring-2.3.3" 8582 8582 sources."sse-channel-3.1.1" 8583 8583 sources."ssf-0.11.2" ··· 8591 8591 sources."stream-shift-1.0.1" 8592 8592 sources."string-similarity-4.0.4" 8593 8593 sources."string-width-4.2.3" 8594 - sources."string.prototype.trimend-1.0.4" 8595 - sources."string.prototype.trimstart-1.0.4" 8594 + sources."string.prototype.trimend-1.0.5" 8595 + sources."string.prototype.trimstart-1.0.5" 8596 8596 sources."string_decoder-0.10.31" 8597 8597 sources."strip-ansi-6.0.1" 8598 8598 sources."strtok3-6.3.0"
+3
pkgs/applications/office/libreoffice/default.nix
··· 90 90 url = "https://github.com/archlinux/svntogit-packages/raw/f82958b9538f86e41b51f1ba7134968d2f3788d1/trunk/poppler-22.03.0.patch"; 91 91 sha256 = "5h4qJmx6Q3Q3dHUlSi8JXBziN2mAswGVWk5aDTLTwls="; 92 92 }) 93 + 94 + # Fix build with poppler 22.04 95 + ./poppler-22-04-0.patch 93 96 ]; 94 97 95 98 ### QT/KDE
+100
pkgs/applications/office/libreoffice/poppler-22-04-0.patch
··· 1 + Patch from OpenSUSE 2 + https://build.opensuse.org/package/view_file/LibreOffice:Factory/libreoffice/poppler-22-04-0.patch?expand=1&rev=45e176f964509ebe3560d0dbf1ec8be9 3 + Index: libreoffice-7.3.3.1/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx 4 + =================================================================== 5 + --- libreoffice-7.3.3.1.orig/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx 6 + +++ libreoffice-7.3.3.1/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx 7 + @@ -474,12 +474,21 @@ int PDFOutDev::parseFont( long long nNew 8 + { 9 + // TODO(P3): Unfortunately, need to read stream twice, since 10 + // we must write byte count to stdout before 11 + +#if POPPLER_CHECK_VERSION(22, 04, 0) // readEmbFontFile signature changed 12 + + auto pBuf = gfxFont->readEmbFontFile( m_pDoc->getXRef()); 13 + + if ( pBuf ) 14 + + { 15 + + aNewFont.isEmbedded = true; 16 + + nSize = pBuf->size(); 17 + + } 18 + +#else 19 + char* pBuf = gfxFont->readEmbFontFile( m_pDoc->getXRef(), &nSize ); 20 + if( pBuf ) 21 + { 22 + aNewFont.isEmbedded = true; 23 + gfree(pBuf); 24 + } 25 + +#endif 26 + } 27 + 28 + m_aFontMap[ nNewId ] = aNewFont; 29 + @@ -492,21 +501,35 @@ void PDFOutDev::writeFontFile( GfxFont* 30 + return; 31 + 32 + int nSize = 0; 33 + +#if POPPLER_CHECK_VERSION(22, 04, 0) // readEmbFontFile signature changed 34 + + auto pBuf = gfxFont->readEmbFontFile( m_pDoc->getXRef()); 35 + + if ( !pBuf ) 36 + + return; 37 + + nSize = pBuf->size(); 38 + +#else 39 + char* pBuf = gfxFont->readEmbFontFile( m_pDoc->getXRef(), &nSize ); 40 + if( !pBuf ) 41 + return; 42 + +#endif 43 + 44 + // ---sync point--- see SYNC STREAMS above 45 + fflush(stdout); 46 + 47 + +#if POPPLER_CHECK_VERSION(22, 04, 0) // readEmbFontFile signature changed 48 + + if( fwrite(pBuf->data(), sizeof(unsigned char), nSize, g_binary_out) != static_cast<size_t>(nSize) ) 49 + + { 50 + +#else 51 + if( fwrite(pBuf, sizeof(char), nSize, g_binary_out) != static_cast<size_t>(nSize) ) 52 + { 53 + gfree(pBuf); 54 + +#endif 55 + exit(1); // error 56 + } 57 + // ---sync point--- see SYNC STREAMS above 58 + fflush(g_binary_out); 59 + +#if !POPPLER_CHECK_VERSION(22, 04, 0) // readEmbFontFile signature changed 60 + gfree(pBuf); 61 + +#endif 62 + } 63 + 64 + #if POPPLER_CHECK_VERSION(0, 83, 0) 65 + @@ -759,7 +782,11 @@ void PDFOutDev::updateFont(GfxState *sta 66 + { 67 + assert(state); 68 + 69 + +#if POPPLER_CHECK_VERSION(22, 04, 0) 70 + + std::shared_ptr<GfxFont> gfxFont = state->getFont(); 71 + +#else 72 + GfxFont *gfxFont = state->getFont(); 73 + +#endif 74 + if( !gfxFont ) 75 + return; 76 + 77 + @@ -776,7 +803,11 @@ void PDFOutDev::updateFont(GfxState *sta 78 + m_aFontMap.find( fontID ); 79 + if( it == m_aFontMap.end() ) 80 + { 81 + +#if POPPLER_CHECK_VERSION(22, 04, 0) 82 + + nEmbedSize = parseFont( fontID, gfxFont.get(), state ); 83 + +#else 84 + nEmbedSize = parseFont( fontID, gfxFont, state ); 85 + +#endif 86 + it = m_aFontMap.find( fontID ); 87 + } 88 + 89 + @@ -806,7 +837,11 @@ void PDFOutDev::updateFont(GfxState *sta 90 + 91 + if (nEmbedSize) 92 + { 93 + +#if POPPLER_CHECK_VERSION(22, 04, 0) 94 + + writeFontFile(gfxFont.get()); 95 + +#else 96 + writeFontFile(gfxFont); 97 + +#endif 98 + } 99 + } 100 +
+5
pkgs/applications/office/scribus/unstable.nix
··· 84 84 url = "https://github.com/scribusproject/scribus/commit/48263954a7dee0be815b00f417ae365ab26cdd85.patch"; 85 85 sha256 = "1WE9kALFw79bQH88NUafXaZ1Y/vJEKTIWxlk5c+opsQ="; 86 86 }) 87 + # For Poppler 22.04 88 + (fetchpatch { 89 + url = "https://github.com/scribusproject/scribus/commit/f2237b8f0b5cf7690e864a22ef7a63a6d769fa36.patch"; 90 + sha256 = "FXpLoX/a2Jy3GcfzrUUyVUfEAp5wAy2UfzfVA5lhwJw="; 91 + }) 87 92 ]; 88 93 89 94 nativeBuildInputs = [
+2 -2
pkgs/applications/science/electronics/verilator/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "verilator"; 7 - version = "4.220"; 7 + version = "4.222"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = pname; 11 11 repo = pname; 12 12 rev = "v${version}"; 13 - sha256 = "sha256-Y0j6j8kPCONlegFoWl46LXtfoiLhzMsHCVv+kLe7UyE="; 13 + sha256 = "sha256-AvjcStbiXDdhJnaSJJ5Mp6zscvaxhb+A2J+0gpm2rFI="; 14 14 }; 15 15 16 16 enableParallelBuilding = true;
+7
pkgs/applications/version-management/meld/default.nix
··· 36 36 url = "https://gitlab.gnome.org/GNOME/meld/-/commit/cc7746c141d976a4779cf868774fae1fe7627a6d.patch"; 37 37 sha256 = "sha256-4uJZyF00Z6svzrOebByZV1hutCZRkIQYC4rUxQr5fdQ="; 38 38 }) 39 + 40 + # Fix view not rendering with adwaita-icon-theme 42 due to removed icons. 41 + # https://gitlab.gnome.org/GNOME/meld/-/merge_requests/83 42 + (fetchpatch { 43 + url = "https://gitlab.gnome.org/GNOME/meld/-/commit/f850cdf3eaf0f08abea003d5fae118a5e92a3d61.patch"; 44 + sha256 = "PaK8Rpv79UwMUligm9pIY16JW/dm7eVXntAwTV4hnbE="; 45 + }) 39 46 ]; 40 47 41 48 nativeBuildInputs = [
+3
pkgs/build-support/rust/build-rust-crate/default.nix
··· 346 346 outputs = if buildTests then [ "out" ] else [ "out" "lib" ]; 347 347 outputDev = if buildTests then [ "out" ] else [ "lib" ]; 348 348 349 + meta = { 350 + mainProgram = crateName; 351 + }; 349 352 } // extraDerivationAttrs 350 353 ) 351 354 )
+1 -1
pkgs/desktops/plasma-5/fetch.sh
··· 1 - WGET_ARGS=( https://download.kde.org/stable/plasma/5.24.4/ -A '*.tar.xz' ) 1 + WGET_ARGS=( https://download.kde.org/stable/plasma/5.24.5/ -A '*.tar.xz' )
+212 -212
pkgs/desktops/plasma-5/srcs.nix
··· 4 4 5 5 { 6 6 bluedevil = { 7 - version = "5.24.4"; 7 + version = "5.24.5"; 8 8 src = fetchurl { 9 - url = "${mirror}/stable/plasma/5.24.4/bluedevil-5.24.4.tar.xz"; 10 - sha256 = "1mph04r6l9bxml1brwifbnk6lkjxkzxx75b3g3myzijjv6f8wxw3"; 11 - name = "bluedevil-5.24.4.tar.xz"; 9 + url = "${mirror}/stable/plasma/5.24.5/bluedevil-5.24.5.tar.xz"; 10 + sha256 = "1yhynfpgm2cwvimh63hihg5dm0hzjp20364bvjyyh108830rjsf9"; 11 + name = "bluedevil-5.24.5.tar.xz"; 12 12 }; 13 13 }; 14 14 breeze = { 15 - version = "5.24.4"; 15 + version = "5.24.5"; 16 16 src = fetchurl { 17 - url = "${mirror}/stable/plasma/5.24.4/breeze-5.24.4.tar.xz"; 18 - sha256 = "01cqji6figwb95drcq9vrqlkv7xmpn2csbi2mvixbcdawqhywsg3"; 19 - name = "breeze-5.24.4.tar.xz"; 17 + url = "${mirror}/stable/plasma/5.24.5/breeze-5.24.5.tar.xz"; 18 + sha256 = "18zhm9my0vhwiq95v3p48z8s5m4a5c7kw8n144ykqlm51nssc9c5"; 19 + name = "breeze-5.24.5.tar.xz"; 20 20 }; 21 21 }; 22 22 breeze-grub = { 23 - version = "5.24.4"; 23 + version = "5.24.5"; 24 24 src = fetchurl { 25 - url = "${mirror}/stable/plasma/5.24.4/breeze-grub-5.24.4.tar.xz"; 26 - sha256 = "1p154g2x1g00iam2gkv7pml1r0b91b21s8fgrfrqg5pj45ysp5bc"; 27 - name = "breeze-grub-5.24.4.tar.xz"; 25 + url = "${mirror}/stable/plasma/5.24.5/breeze-grub-5.24.5.tar.xz"; 26 + sha256 = "02lcv23l3zr0g6nggmrxz4pgq852fir9yramhaxmcg634pxiacni"; 27 + name = "breeze-grub-5.24.5.tar.xz"; 28 28 }; 29 29 }; 30 30 breeze-gtk = { 31 - version = "5.24.4"; 31 + version = "5.24.5"; 32 32 src = fetchurl { 33 - url = "${mirror}/stable/plasma/5.24.4/breeze-gtk-5.24.4.tar.xz"; 34 - sha256 = "0s51azc2xmh7agbqlm9rn39c5qh6rfwyc2dq4sfv6vspm1883zmj"; 35 - name = "breeze-gtk-5.24.4.tar.xz"; 33 + url = "${mirror}/stable/plasma/5.24.5/breeze-gtk-5.24.5.tar.xz"; 34 + sha256 = "0c25z69lyjczm05jraqk2f09sipkhpsz5zirwzqdq3apip06qw93"; 35 + name = "breeze-gtk-5.24.5.tar.xz"; 36 36 }; 37 37 }; 38 38 breeze-plymouth = { 39 - version = "5.24.4"; 39 + version = "5.24.5"; 40 40 src = fetchurl { 41 - url = "${mirror}/stable/plasma/5.24.4/breeze-plymouth-5.24.4.tar.xz"; 42 - sha256 = "038pglghl40nyq6lzydijy3wnr5agvfzddjxrf6lc9m6qapqd37v"; 43 - name = "breeze-plymouth-5.24.4.tar.xz"; 41 + url = "${mirror}/stable/plasma/5.24.5/breeze-plymouth-5.24.5.tar.xz"; 42 + sha256 = "044sbffr4sqvgkfbraa4rvlsih7zz9b300hipp33mwhpzyjjcpdc"; 43 + name = "breeze-plymouth-5.24.5.tar.xz"; 44 44 }; 45 45 }; 46 46 discover = { 47 - version = "5.24.4"; 47 + version = "5.24.5"; 48 48 src = fetchurl { 49 - url = "${mirror}/stable/plasma/5.24.4/discover-5.24.4.tar.xz"; 50 - sha256 = "0smhys51chvjh2ij4mk03cfnq09n8cq22iag1ld9j2125l5iwa99"; 51 - name = "discover-5.24.4.tar.xz"; 49 + url = "${mirror}/stable/plasma/5.24.5/discover-5.24.5.tar.xz"; 50 + sha256 = "18a8z9ifyyjmmc620dsh491vb1q3q9bxd8gfjf5k87mgwmg1wmwk"; 51 + name = "discover-5.24.5.tar.xz"; 52 52 }; 53 53 }; 54 54 drkonqi = { 55 - version = "5.24.4"; 55 + version = "5.24.5"; 56 56 src = fetchurl { 57 - url = "${mirror}/stable/plasma/5.24.4/drkonqi-5.24.4.tar.xz"; 58 - sha256 = "1yn7yj8nwnxm1s0si2353wl17jv7c7l5dc7833ndl56phv2999x0"; 59 - name = "drkonqi-5.24.4.tar.xz"; 57 + url = "${mirror}/stable/plasma/5.24.5/drkonqi-5.24.5.tar.xz"; 58 + sha256 = "1ps1p8pvp51rswynbv337qr3qj2z7r7kd9qpxgcrha9pql01h5gy"; 59 + name = "drkonqi-5.24.5.tar.xz"; 60 60 }; 61 61 }; 62 62 kactivitymanagerd = { 63 - version = "5.24.4"; 63 + version = "5.24.5"; 64 64 src = fetchurl { 65 - url = "${mirror}/stable/plasma/5.24.4/kactivitymanagerd-5.24.4.tar.xz"; 66 - sha256 = "0aamfgc4bdrysq7ps134pf5v4bgiwrsxffi0nb6d8zazswgkfa41"; 67 - name = "kactivitymanagerd-5.24.4.tar.xz"; 65 + url = "${mirror}/stable/plasma/5.24.5/kactivitymanagerd-5.24.5.tar.xz"; 66 + sha256 = "0j6d50cjry4j3vzxb6hd4w95y2h3l0yfhyrhl693njr64aq7d4pa"; 67 + name = "kactivitymanagerd-5.24.5.tar.xz"; 68 68 }; 69 69 }; 70 70 kde-cli-tools = { 71 - version = "5.24.4"; 71 + version = "5.24.5"; 72 72 src = fetchurl { 73 - url = "${mirror}/stable/plasma/5.24.4/kde-cli-tools-5.24.4.tar.xz"; 74 - sha256 = "1w2rhz32xaqhmq5lyvfmjrbssqf9f35k5fk02f05fz79yk9wir7z"; 75 - name = "kde-cli-tools-5.24.4.tar.xz"; 73 + url = "${mirror}/stable/plasma/5.24.5/kde-cli-tools-5.24.5.tar.xz"; 74 + sha256 = "0afksrxd6mq9rcvh3g8y05kl0la4wmn1yksif8p1bcxpd4sdvw77"; 75 + name = "kde-cli-tools-5.24.5.tar.xz"; 76 76 }; 77 77 }; 78 78 kde-gtk-config = { 79 - version = "5.24.4"; 79 + version = "5.24.5"; 80 80 src = fetchurl { 81 - url = "${mirror}/stable/plasma/5.24.4/kde-gtk-config-5.24.4.tar.xz"; 82 - sha256 = "02spbx2rniiyvzj4qb6lgzj0f83k4vq53fk4i1m45438z7aslymi"; 83 - name = "kde-gtk-config-5.24.4.tar.xz"; 81 + url = "${mirror}/stable/plasma/5.24.5/kde-gtk-config-5.24.5.tar.xz"; 82 + sha256 = "0sg8kqlkklvjhj69z5wzhvi0hddxa192j4vc4wc9hmfl1wirr8cq"; 83 + name = "kde-gtk-config-5.24.5.tar.xz"; 84 84 }; 85 85 }; 86 86 kdecoration = { 87 - version = "5.24.4"; 87 + version = "5.24.5"; 88 88 src = fetchurl { 89 - url = "${mirror}/stable/plasma/5.24.4/kdecoration-5.24.4.tar.xz"; 90 - sha256 = "05ccyb314mxf0d4ivj71l9lh13s3fqr7f4d2rmg6qshsql39569c"; 91 - name = "kdecoration-5.24.4.tar.xz"; 89 + url = "${mirror}/stable/plasma/5.24.5/kdecoration-5.24.5.tar.xz"; 90 + sha256 = "1hjjl6k09zi8n9nblbcm69c3br6d4dhzaw55xyygglaz6kb8fc17"; 91 + name = "kdecoration-5.24.5.tar.xz"; 92 92 }; 93 93 }; 94 94 kdeplasma-addons = { 95 - version = "5.24.4"; 95 + version = "5.24.5"; 96 96 src = fetchurl { 97 - url = "${mirror}/stable/plasma/5.24.4/kdeplasma-addons-5.24.4.tar.xz"; 98 - sha256 = "03b8d3kdzwpyqrqkmpswryksrhav3mwcnbyzdc3g2kpk2qnx68fp"; 99 - name = "kdeplasma-addons-5.24.4.tar.xz"; 97 + url = "${mirror}/stable/plasma/5.24.5/kdeplasma-addons-5.24.5.tar.xz"; 98 + sha256 = "03p8wmsb5nl7j6kwl6j8nwlf6v7snh933jyglgp2vnclqp1jpd9x"; 99 + name = "kdeplasma-addons-5.24.5.tar.xz"; 100 100 }; 101 101 }; 102 102 kgamma5 = { 103 - version = "5.24.4"; 103 + version = "5.24.5"; 104 104 src = fetchurl { 105 - url = "${mirror}/stable/plasma/5.24.4/kgamma5-5.24.4.tar.xz"; 106 - sha256 = "0z1zrw5id455idjbaqracs1vcwgs93an7w27ggfqs6i8nabrivbk"; 107 - name = "kgamma5-5.24.4.tar.xz"; 105 + url = "${mirror}/stable/plasma/5.24.5/kgamma5-5.24.5.tar.xz"; 106 + sha256 = "1i7i3dc5qfb3v9hz9w9hszr8jbbdbfq0b59a4bh1p6xakxx8k1l0"; 107 + name = "kgamma5-5.24.5.tar.xz"; 108 108 }; 109 109 }; 110 110 khotkeys = { 111 - version = "5.24.4"; 111 + version = "5.24.5"; 112 112 src = fetchurl { 113 - url = "${mirror}/stable/plasma/5.24.4/khotkeys-5.24.4.tar.xz"; 114 - sha256 = "033dgz8wbsw2nj133hnmygz1izmcpxdn80jbjbm66nhbbyq7bb2s"; 115 - name = "khotkeys-5.24.4.tar.xz"; 113 + url = "${mirror}/stable/plasma/5.24.5/khotkeys-5.24.5.tar.xz"; 114 + sha256 = "06m7yrs75arwdfrkpkn9b5kiz2xlrsxlpsjr18j1pjhxras0f8vs"; 115 + name = "khotkeys-5.24.5.tar.xz"; 116 116 }; 117 117 }; 118 118 kinfocenter = { 119 - version = "5.24.4"; 119 + version = "5.24.5"; 120 120 src = fetchurl { 121 - url = "${mirror}/stable/plasma/5.24.4/kinfocenter-5.24.4.tar.xz"; 122 - sha256 = "0f5q6ajyd794p1z9j3il8sajlqkdcnf06xq4612qxdp49nb88nyw"; 123 - name = "kinfocenter-5.24.4.tar.xz"; 121 + url = "${mirror}/stable/plasma/5.24.5/kinfocenter-5.24.5.tar.xz"; 122 + sha256 = "0c2bq7m8c9r17s8qalp4cdz1qimzwnvh9wrba4rqcmxwbv043ln1"; 123 + name = "kinfocenter-5.24.5.tar.xz"; 124 124 }; 125 125 }; 126 126 kmenuedit = { 127 - version = "5.24.4"; 127 + version = "5.24.5"; 128 128 src = fetchurl { 129 - url = "${mirror}/stable/plasma/5.24.4/kmenuedit-5.24.4.tar.xz"; 130 - sha256 = "0ril8jxqkaavc4bkpksnyxn3bww7b81gnp9bnb17acrr2nd7wyhl"; 131 - name = "kmenuedit-5.24.4.tar.xz"; 129 + url = "${mirror}/stable/plasma/5.24.5/kmenuedit-5.24.5.tar.xz"; 130 + sha256 = "02il6bhayjni0jsx1d1cnmxv5yc7r0d02s2v6cs87fbdrnl7d9vq"; 131 + name = "kmenuedit-5.24.5.tar.xz"; 132 132 }; 133 133 }; 134 134 kscreen = { 135 - version = "5.24.4"; 135 + version = "5.24.5"; 136 136 src = fetchurl { 137 - url = "${mirror}/stable/plasma/5.24.4/kscreen-5.24.4.tar.xz"; 138 - sha256 = "0shvhymdfxw1gz49y1s79zik9kkg5qh0mqdj6dx0s6r3w6vysj1h"; 139 - name = "kscreen-5.24.4.tar.xz"; 137 + url = "${mirror}/stable/plasma/5.24.5/kscreen-5.24.5.tar.xz"; 138 + sha256 = "1g5mlc78giq8zrpyq6d2jhqgyj6yh2nhbqv6wjm9cdbq4nnm3hyr"; 139 + name = "kscreen-5.24.5.tar.xz"; 140 140 }; 141 141 }; 142 142 kscreenlocker = { 143 - version = "5.24.4"; 143 + version = "5.24.5"; 144 144 src = fetchurl { 145 - url = "${mirror}/stable/plasma/5.24.4/kscreenlocker-5.24.4.tar.xz"; 146 - sha256 = "1xzc80awsapsg65kk21ssp7y0jb374k1w2bb7gvzj8j40rrn48pv"; 147 - name = "kscreenlocker-5.24.4.tar.xz"; 145 + url = "${mirror}/stable/plasma/5.24.5/kscreenlocker-5.24.5.tar.xz"; 146 + sha256 = "13prkdwxd200ps4cy6rf2n4g9ll6fp1f93dk1njr9ilzbj2a2w1j"; 147 + name = "kscreenlocker-5.24.5.tar.xz"; 148 148 }; 149 149 }; 150 150 ksshaskpass = { 151 - version = "5.24.4"; 151 + version = "5.24.5"; 152 152 src = fetchurl { 153 - url = "${mirror}/stable/plasma/5.24.4/ksshaskpass-5.24.4.tar.xz"; 154 - sha256 = "1pa41w793dbi3rv6mm1a4xp46n80qwdpdlwhi6z4x76hjvqx9i9l"; 155 - name = "ksshaskpass-5.24.4.tar.xz"; 153 + url = "${mirror}/stable/plasma/5.24.5/ksshaskpass-5.24.5.tar.xz"; 154 + sha256 = "1jw3hfnlplqsss1h49p5f3722qc22ln22sahs5ypsxszmqihpqiz"; 155 + name = "ksshaskpass-5.24.5.tar.xz"; 156 156 }; 157 157 }; 158 158 ksystemstats = { 159 - version = "5.24.4"; 159 + version = "5.24.5"; 160 160 src = fetchurl { 161 - url = "${mirror}/stable/plasma/5.24.4/ksystemstats-5.24.4.tar.xz"; 162 - sha256 = "1pa7xrw5ij32bm66pn72zkzz8y70fq71n4kigm9ixc1s2glkbiwd"; 163 - name = "ksystemstats-5.24.4.tar.xz"; 161 + url = "${mirror}/stable/plasma/5.24.5/ksystemstats-5.24.5.tar.xz"; 162 + sha256 = "1xsrlwm1hhagwjyjm240bfmri24z88v95m9pz95dpbcllkwdib0b"; 163 + name = "ksystemstats-5.24.5.tar.xz"; 164 164 }; 165 165 }; 166 166 kwallet-pam = { 167 - version = "5.24.4"; 167 + version = "5.24.5"; 168 168 src = fetchurl { 169 - url = "${mirror}/stable/plasma/5.24.4/kwallet-pam-5.24.4.tar.xz"; 170 - sha256 = "0s6z7ds42a7kba25jd7pzylw7d2mc27xgymmdrpkg2afqanf3m4r"; 171 - name = "kwallet-pam-5.24.4.tar.xz"; 169 + url = "${mirror}/stable/plasma/5.24.5/kwallet-pam-5.24.5.tar.xz"; 170 + sha256 = "1smclklxcfbxxxi3lgw2p6wmvj50fg40323j1b8p5z731ywdk3i3"; 171 + name = "kwallet-pam-5.24.5.tar.xz"; 172 172 }; 173 173 }; 174 174 kwayland-integration = { 175 - version = "5.24.4"; 175 + version = "5.24.5"; 176 176 src = fetchurl { 177 - url = "${mirror}/stable/plasma/5.24.4/kwayland-integration-5.24.4.tar.xz"; 178 - sha256 = "1cnfb81yv6m37m2kyk523skqbk5in1kpbpxq60ivjri91sm4pryj"; 179 - name = "kwayland-integration-5.24.4.tar.xz"; 177 + url = "${mirror}/stable/plasma/5.24.5/kwayland-integration-5.24.5.tar.xz"; 178 + sha256 = "1v12631xdjdp2wkjvyls8g0sv18amy7g4mddrh45pybhpc3rcsl0"; 179 + name = "kwayland-integration-5.24.5.tar.xz"; 180 180 }; 181 181 }; 182 182 kwayland-server = { 183 - version = "5.24.4"; 183 + version = "5.24.5"; 184 184 src = fetchurl { 185 - url = "${mirror}/stable/plasma/5.24.4/kwayland-server-5.24.4.tar.xz"; 186 - sha256 = "1279nqhy1qyz84dkn23rvzak8bg71hbrp09jlhv9mkjdb3bhnyfi"; 187 - name = "kwayland-server-5.24.4.tar.xz"; 185 + url = "${mirror}/stable/plasma/5.24.5/kwayland-server-5.24.5.tar.xz"; 186 + sha256 = "0ydj6p489psqblqd88lk04q62qn1spa1m0zdjq8d32a4g4lvxnid"; 187 + name = "kwayland-server-5.24.5.tar.xz"; 188 188 }; 189 189 }; 190 190 kwin = { 191 - version = "5.24.4"; 191 + version = "5.24.5"; 192 192 src = fetchurl { 193 - url = "${mirror}/stable/plasma/5.24.4/kwin-5.24.4.tar.xz"; 194 - sha256 = "1qwcd6iw6yvpchiwmvq5nwsr465jmrmscf286mjrc65im4hj6572"; 195 - name = "kwin-5.24.4.tar.xz"; 193 + url = "${mirror}/stable/plasma/5.24.5/kwin-5.24.5.tar.xz"; 194 + sha256 = "10mgbs1mbhjzbwx07q77wdzhj11yc156j75fbvy8mszb9hjiappk"; 195 + name = "kwin-5.24.5.tar.xz"; 196 196 }; 197 197 }; 198 198 kwrited = { 199 - version = "5.24.4"; 199 + version = "5.24.5"; 200 200 src = fetchurl { 201 - url = "${mirror}/stable/plasma/5.24.4/kwrited-5.24.4.tar.xz"; 202 - sha256 = "0j86ih4g762a94cyzilcbigh7iv04a80bqrlxm02fbqhffv01mv2"; 203 - name = "kwrited-5.24.4.tar.xz"; 201 + url = "${mirror}/stable/plasma/5.24.5/kwrited-5.24.5.tar.xz"; 202 + sha256 = "0gfjvj8wnfgb3s2daz7xpg9flc8xv6hk12z6ckbchq71w4gs6132"; 203 + name = "kwrited-5.24.5.tar.xz"; 204 204 }; 205 205 }; 206 206 layer-shell-qt = { 207 - version = "5.24.4"; 207 + version = "5.24.5"; 208 208 src = fetchurl { 209 - url = "${mirror}/stable/plasma/5.24.4/layer-shell-qt-5.24.4.tar.xz"; 210 - sha256 = "03qyf6pvk36ig6ilimq02q19frdlsmrkbng2iz3d59k15zdrz5x0"; 211 - name = "layer-shell-qt-5.24.4.tar.xz"; 209 + url = "${mirror}/stable/plasma/5.24.5/layer-shell-qt-5.24.5.tar.xz"; 210 + sha256 = "0ydjfxrkmpi052gfhkccsp9m5az3z6qiggb5wx6cjz39q06614gm"; 211 + name = "layer-shell-qt-5.24.5.tar.xz"; 212 212 }; 213 213 }; 214 214 libkscreen = { 215 - version = "5.24.4"; 215 + version = "5.24.5"; 216 216 src = fetchurl { 217 - url = "${mirror}/stable/plasma/5.24.4/libkscreen-5.24.4.tar.xz"; 218 - sha256 = "1xv7vml5lxj1lnansisfbfym35h265ggwsyjplz76aibj5nyqv81"; 219 - name = "libkscreen-5.24.4.tar.xz"; 217 + url = "${mirror}/stable/plasma/5.24.5/libkscreen-5.24.5.tar.xz"; 218 + sha256 = "1jbgq1ddl0q5y8cx4m7k5q38gl0kxv929wxr3hn3vr906fpiiwbz"; 219 + name = "libkscreen-5.24.5.tar.xz"; 220 220 }; 221 221 }; 222 222 libksysguard = { 223 - version = "5.24.4"; 223 + version = "5.24.5"; 224 224 src = fetchurl { 225 - url = "${mirror}/stable/plasma/5.24.4/libksysguard-5.24.4.tar.xz"; 226 - sha256 = "00i4l2kc02wymmiqh7wam8dp4h9hvn8nsxfv258waq7pnxzjmnkn"; 227 - name = "libksysguard-5.24.4.tar.xz"; 225 + url = "${mirror}/stable/plasma/5.24.5/libksysguard-5.24.5.tar.xz"; 226 + sha256 = "1v21xckvwx6xkiqihv3pc2ps5mmc4ahp5vadxm3lrh0pdqxb6v5h"; 227 + name = "libksysguard-5.24.5.tar.xz"; 228 228 }; 229 229 }; 230 230 milou = { 231 - version = "5.24.4"; 231 + version = "5.24.5"; 232 232 src = fetchurl { 233 - url = "${mirror}/stable/plasma/5.24.4/milou-5.24.4.tar.xz"; 234 - sha256 = "0z7kmygvjzj30llwg8gpibjja2gzc09nh9pxrpy78pa1jxnas29i"; 235 - name = "milou-5.24.4.tar.xz"; 233 + url = "${mirror}/stable/plasma/5.24.5/milou-5.24.5.tar.xz"; 234 + sha256 = "1rh5zy1x427cv07zmikmh0rmviz7vcvnz2pyravyfzaxay5lwnf1"; 235 + name = "milou-5.24.5.tar.xz"; 236 236 }; 237 237 }; 238 238 oxygen = { 239 - version = "5.24.4"; 239 + version = "5.24.5"; 240 240 src = fetchurl { 241 - url = "${mirror}/stable/plasma/5.24.4/oxygen-5.24.4.tar.xz"; 242 - sha256 = "1d3sz2qc1cz9x6g04r0scvw9fmrazfn5v3iav4cn7wdkz8x06kc0"; 243 - name = "oxygen-5.24.4.tar.xz"; 241 + url = "${mirror}/stable/plasma/5.24.5/oxygen-5.24.5.tar.xz"; 242 + sha256 = "1gh06wwm6gdjpsbjlxnrrlgsfd5w7lb0pddcml9l2w0dvlgfyn1v"; 243 + name = "oxygen-5.24.5.tar.xz"; 244 244 }; 245 245 }; 246 246 plasma-browser-integration = { 247 - version = "5.24.4"; 247 + version = "5.24.5"; 248 248 src = fetchurl { 249 - url = "${mirror}/stable/plasma/5.24.4/plasma-browser-integration-5.24.4.tar.xz"; 250 - sha256 = "1havd775d4x2y36nkba2k6vdf839dspk10mxccnk2wkhdxmzfyk7"; 251 - name = "plasma-browser-integration-5.24.4.tar.xz"; 249 + url = "${mirror}/stable/plasma/5.24.5/plasma-browser-integration-5.24.5.tar.xz"; 250 + sha256 = "1xybyn6vsahr5j0g57bsfxmz78w35ibzavcax1inrdlnb7sblrqv"; 251 + name = "plasma-browser-integration-5.24.5.tar.xz"; 252 252 }; 253 253 }; 254 254 plasma-desktop = { 255 - version = "5.24.4"; 255 + version = "5.24.5"; 256 256 src = fetchurl { 257 - url = "${mirror}/stable/plasma/5.24.4/plasma-desktop-5.24.4.tar.xz"; 258 - sha256 = "09fhqz2sp4caabr1li1shjd8l052vp4d10ci7pwsqj8f61331qmh"; 259 - name = "plasma-desktop-5.24.4.tar.xz"; 257 + url = "${mirror}/stable/plasma/5.24.5/plasma-desktop-5.24.5.tar.xz"; 258 + sha256 = "0iic01iwg4bkp8sfp4mbm5lvbj98wjcyi0k79jfr1sx78dn7jn5g"; 259 + name = "plasma-desktop-5.24.5.tar.xz"; 260 260 }; 261 261 }; 262 262 plasma-disks = { 263 - version = "5.24.4"; 263 + version = "5.24.5"; 264 264 src = fetchurl { 265 - url = "${mirror}/stable/plasma/5.24.4/plasma-disks-5.24.4.tar.xz"; 266 - sha256 = "1mi5fp3305kjw41zhbccxyg666gcmmrvckipjhnnnfwd3gl372ng"; 267 - name = "plasma-disks-5.24.4.tar.xz"; 265 + url = "${mirror}/stable/plasma/5.24.5/plasma-disks-5.24.5.tar.xz"; 266 + sha256 = "1x3lm5cnwa51i8kcmp7pq29fpa9za3ypsmmldf2jbisawjnrb50k"; 267 + name = "plasma-disks-5.24.5.tar.xz"; 268 268 }; 269 269 }; 270 270 plasma-firewall = { 271 - version = "5.24.4"; 271 + version = "5.24.5"; 272 272 src = fetchurl { 273 - url = "${mirror}/stable/plasma/5.24.4/plasma-firewall-5.24.4.tar.xz"; 274 - sha256 = "0f9g5m2ddbp2axfxqc4d92fzg6r4z1l56i6nsry6nlz6cqky3fm2"; 275 - name = "plasma-firewall-5.24.4.tar.xz"; 273 + url = "${mirror}/stable/plasma/5.24.5/plasma-firewall-5.24.5.tar.xz"; 274 + sha256 = "0mk9plb1rwng77qy55c7y7ga4fkafan89bf4vqsc4i9nfn49d944"; 275 + name = "plasma-firewall-5.24.5.tar.xz"; 276 276 }; 277 277 }; 278 278 plasma-integration = { 279 - version = "5.24.4"; 279 + version = "5.24.5"; 280 280 src = fetchurl { 281 - url = "${mirror}/stable/plasma/5.24.4/plasma-integration-5.24.4.tar.xz"; 282 - sha256 = "1d2d7cmhdhmdzs91vpc2p3fg413daqhqilp8d2qbpsks5hyrkm3k"; 283 - name = "plasma-integration-5.24.4.tar.xz"; 281 + url = "${mirror}/stable/plasma/5.24.5/plasma-integration-5.24.5.tar.xz"; 282 + sha256 = "0ynzx99jn4fqzbrv9mav0sw06rzf7mm1rv17g17vsxijwbhr0i6d"; 283 + name = "plasma-integration-5.24.5.tar.xz"; 284 284 }; 285 285 }; 286 286 plasma-mobile = { 287 - version = "5.24.4"; 287 + version = "5.24.5"; 288 288 src = fetchurl { 289 - url = "${mirror}/stable/plasma/5.24.4/plasma-mobile-5.24.4.tar.xz"; 290 - sha256 = "1hgcnb4flw224j57fxkhaiwapymq6ccjwqj8s6jgqzc3ax0py0vr"; 291 - name = "plasma-mobile-5.24.4.tar.xz"; 289 + url = "${mirror}/stable/plasma/5.24.5/plasma-mobile-5.24.5.tar.xz"; 290 + sha256 = "0400rwx4pbz4kfy06f2vxchlf9vr6dx71wsi6vir3vdmvl43yazd"; 291 + name = "plasma-mobile-5.24.5.tar.xz"; 292 292 }; 293 293 }; 294 294 plasma-nano = { 295 - version = "5.24.4"; 295 + version = "5.24.5"; 296 296 src = fetchurl { 297 - url = "${mirror}/stable/plasma/5.24.4/plasma-nano-5.24.4.tar.xz"; 298 - sha256 = "1fdq4r5zlkf3qb0a47zv3apgnqs4gqqfj8pdlcmzkyn9xykzs9vw"; 299 - name = "plasma-nano-5.24.4.tar.xz"; 297 + url = "${mirror}/stable/plasma/5.24.5/plasma-nano-5.24.5.tar.xz"; 298 + sha256 = "0zxvqzg1p6ci6581bh4nhsq2p6pq66pmvs93zlj89ml4am176213"; 299 + name = "plasma-nano-5.24.5.tar.xz"; 300 300 }; 301 301 }; 302 302 plasma-nm = { 303 - version = "5.24.4"; 303 + version = "5.24.5"; 304 304 src = fetchurl { 305 - url = "${mirror}/stable/plasma/5.24.4/plasma-nm-5.24.4.tar.xz"; 306 - sha256 = "0bzc48vdrnd6n9qcm8ms7wrjm2yl7h9dik32arwdxx56vb7jhv08"; 307 - name = "plasma-nm-5.24.4.tar.xz"; 305 + url = "${mirror}/stable/plasma/5.24.5/plasma-nm-5.24.5.tar.xz"; 306 + sha256 = "0adl5wfrz16hc7j64830cx1ga0bh9zd8bff95a30zdiggp7jc45f"; 307 + name = "plasma-nm-5.24.5.tar.xz"; 308 308 }; 309 309 }; 310 310 plasma-pa = { 311 - version = "5.24.4"; 311 + version = "5.24.5"; 312 312 src = fetchurl { 313 - url = "${mirror}/stable/plasma/5.24.4/plasma-pa-5.24.4.tar.xz"; 314 - sha256 = "09fkaq2zzicgr214zi2wf7cirffm7mwh55bivvafblp1wlavkrgz"; 315 - name = "plasma-pa-5.24.4.tar.xz"; 313 + url = "${mirror}/stable/plasma/5.24.5/plasma-pa-5.24.5.tar.xz"; 314 + sha256 = "1lgq2lydl65bh01043ji7kkignrb5lfcvbhy0g4g7lw778whv3q6"; 315 + name = "plasma-pa-5.24.5.tar.xz"; 316 316 }; 317 317 }; 318 318 plasma-sdk = { 319 - version = "5.24.4"; 319 + version = "5.24.5"; 320 320 src = fetchurl { 321 - url = "${mirror}/stable/plasma/5.24.4/plasma-sdk-5.24.4.tar.xz"; 322 - sha256 = "1zkggp9a1yz5mwwvndizwlan6wlb2fy8n940ljnhldccl91mgwzc"; 323 - name = "plasma-sdk-5.24.4.tar.xz"; 321 + url = "${mirror}/stable/plasma/5.24.5/plasma-sdk-5.24.5.tar.xz"; 322 + sha256 = "0d35sckjvi77b3475pfh1ixdsdx0m7b0hbsx5rbjgj4b05cdpm0w"; 323 + name = "plasma-sdk-5.24.5.tar.xz"; 324 324 }; 325 325 }; 326 326 plasma-systemmonitor = { 327 - version = "5.24.4"; 327 + version = "5.24.5"; 328 328 src = fetchurl { 329 - url = "${mirror}/stable/plasma/5.24.4/plasma-systemmonitor-5.24.4.tar.xz"; 330 - sha256 = "0jcsmmg0asf2npl3f1nbzazz3i8m9b34q55088k8jjakwwxqbwhz"; 331 - name = "plasma-systemmonitor-5.24.4.tar.xz"; 329 + url = "${mirror}/stable/plasma/5.24.5/plasma-systemmonitor-5.24.5.tar.xz"; 330 + sha256 = "1vx0w5kmnp3chhydas7ijy8h1xf6dggd1ryhbr3k9qz2qihxfsqm"; 331 + name = "plasma-systemmonitor-5.24.5.tar.xz"; 332 332 }; 333 333 }; 334 334 plasma-tests = { 335 - version = "5.24.4"; 335 + version = "5.24.5"; 336 336 src = fetchurl { 337 - url = "${mirror}/stable/plasma/5.24.4/plasma-tests-5.24.4.tar.xz"; 338 - sha256 = "1ms298h9wghj9gpi7laf1dsd7s3yiycy44k4s5v4id8vfarnbs27"; 339 - name = "plasma-tests-5.24.4.tar.xz"; 337 + url = "${mirror}/stable/plasma/5.24.5/plasma-tests-5.24.5.tar.xz"; 338 + sha256 = "1aqmmix0ds9vg4cjj8dagaya10ainhcciixamdylz1p7vgzpsrkx"; 339 + name = "plasma-tests-5.24.5.tar.xz"; 340 340 }; 341 341 }; 342 342 plasma-thunderbolt = { 343 - version = "5.24.4"; 343 + version = "5.24.5"; 344 344 src = fetchurl { 345 - url = "${mirror}/stable/plasma/5.24.4/plasma-thunderbolt-5.24.4.tar.xz"; 346 - sha256 = "1cqabdsg8v8b00ppbabrg2gih16lf79lr5i8mqvjnc73npacvzhy"; 347 - name = "plasma-thunderbolt-5.24.4.tar.xz"; 345 + url = "${mirror}/stable/plasma/5.24.5/plasma-thunderbolt-5.24.5.tar.xz"; 346 + sha256 = "1q0r9l2b06qkbyxa25lvqdwz0rgcjvp48gwkw0xhhaf6fyaai1cl"; 347 + name = "plasma-thunderbolt-5.24.5.tar.xz"; 348 348 }; 349 349 }; 350 350 plasma-vault = { 351 - version = "5.24.4"; 351 + version = "5.24.5"; 352 352 src = fetchurl { 353 - url = "${mirror}/stable/plasma/5.24.4/plasma-vault-5.24.4.tar.xz"; 354 - sha256 = "0rj9z2c52mya2fjm4bimqz5z3lj2qg764zri6bqwrgwgsjwc4s81"; 355 - name = "plasma-vault-5.24.4.tar.xz"; 353 + url = "${mirror}/stable/plasma/5.24.5/plasma-vault-5.24.5.tar.xz"; 354 + sha256 = "16cyzyfzwqwqsg7hhg576acvxvbd12b7mznvicrrqnyf4wvw68l1"; 355 + name = "plasma-vault-5.24.5.tar.xz"; 356 356 }; 357 357 }; 358 358 plasma-workspace = { 359 - version = "5.24.4"; 359 + version = "5.24.5"; 360 360 src = fetchurl { 361 - url = "${mirror}/stable/plasma/5.24.4/plasma-workspace-5.24.4.tar.xz"; 362 - sha256 = "0w7cnawnpcg5zk9bycjcnc8yfz21whrhd9h2z7hizgfnj2q403jv"; 363 - name = "plasma-workspace-5.24.4.tar.xz"; 361 + url = "${mirror}/stable/plasma/5.24.5/plasma-workspace-5.24.5.tar.xz"; 362 + sha256 = "1xk4424az7sgb0kyysr1s2x756vj4km50xxzkn1s1kxyw28jd4dr"; 363 + name = "plasma-workspace-5.24.5.tar.xz"; 364 364 }; 365 365 }; 366 366 plasma-workspace-wallpapers = { 367 - version = "5.24.4"; 367 + version = "5.24.5"; 368 368 src = fetchurl { 369 - url = "${mirror}/stable/plasma/5.24.4/plasma-workspace-wallpapers-5.24.4.tar.xz"; 370 - sha256 = "0hpg7nn5wsn56my48jk225x1qb70sgf3hf8q5swwqc1xc6xzcg14"; 371 - name = "plasma-workspace-wallpapers-5.24.4.tar.xz"; 369 + url = "${mirror}/stable/plasma/5.24.5/plasma-workspace-wallpapers-5.24.5.tar.xz"; 370 + sha256 = "0aabmd4zswmzdy958y1yq0yp1v9i8kzl959d6r4pwi0lmhr6g6qi"; 371 + name = "plasma-workspace-wallpapers-5.24.5.tar.xz"; 372 372 }; 373 373 }; 374 374 plymouth-kcm = { 375 - version = "5.24.4"; 375 + version = "5.24.5"; 376 376 src = fetchurl { 377 - url = "${mirror}/stable/plasma/5.24.4/plymouth-kcm-5.24.4.tar.xz"; 378 - sha256 = "0s5h25vyk5yzipwj91rb62xzgi6aafpwikh7ibpmmh2wn71x3amr"; 379 - name = "plymouth-kcm-5.24.4.tar.xz"; 377 + url = "${mirror}/stable/plasma/5.24.5/plymouth-kcm-5.24.5.tar.xz"; 378 + sha256 = "04m4129hxgq4g9v8gvi8q0hzhqzd866j3j1ffxs5vfd27r155wcr"; 379 + name = "plymouth-kcm-5.24.5.tar.xz"; 380 380 }; 381 381 }; 382 382 polkit-kde-agent = { 383 - version = "1-5.24.4"; 383 + version = "1-5.24.5"; 384 384 src = fetchurl { 385 - url = "${mirror}/stable/plasma/5.24.4/polkit-kde-agent-1-5.24.4.tar.xz"; 386 - sha256 = "1bc5ss6v4d7kwk1chhvpis5srs8lfypims46wgxjncyhjg2lcllm"; 387 - name = "polkit-kde-agent-1-5.24.4.tar.xz"; 385 + url = "${mirror}/stable/plasma/5.24.5/polkit-kde-agent-1-5.24.5.tar.xz"; 386 + sha256 = "0w78c59nm71xnd5prm035z94r5bzlqr0fyri43a8vrfyyb21r9l9"; 387 + name = "polkit-kde-agent-1-5.24.5.tar.xz"; 388 388 }; 389 389 }; 390 390 powerdevil = { 391 - version = "5.24.4"; 391 + version = "5.24.5"; 392 392 src = fetchurl { 393 - url = "${mirror}/stable/plasma/5.24.4/powerdevil-5.24.4.tar.xz"; 394 - sha256 = "0sjlx5fhfdld1i352adi2bhyd29ja9lbmzhfxgnvmpfl6q7c0w7g"; 395 - name = "powerdevil-5.24.4.tar.xz"; 393 + url = "${mirror}/stable/plasma/5.24.5/powerdevil-5.24.5.tar.xz"; 394 + sha256 = "1wr3rk318j93rnyh24icl4yxdj40zasymlddc71ram80fswa2k4n"; 395 + name = "powerdevil-5.24.5.tar.xz"; 396 396 }; 397 397 }; 398 398 qqc2-breeze-style = { 399 - version = "5.24.4"; 399 + version = "5.24.5"; 400 400 src = fetchurl { 401 - url = "${mirror}/stable/plasma/5.24.4/qqc2-breeze-style-5.24.4.tar.xz"; 402 - sha256 = "1d0cgsxvnm0zza7n5hz47n28yrr35hp0vniggifncm0ag8sn0kmd"; 403 - name = "qqc2-breeze-style-5.24.4.tar.xz"; 401 + url = "${mirror}/stable/plasma/5.24.5/qqc2-breeze-style-5.24.5.tar.xz"; 402 + sha256 = "1m0xnx46zkv1dlwkgns1ibgsl934jbcfz35jlm4p8l6n1y2jcjyg"; 403 + name = "qqc2-breeze-style-5.24.5.tar.xz"; 404 404 }; 405 405 }; 406 406 sddm-kcm = { 407 - version = "5.24.4"; 407 + version = "5.24.5"; 408 408 src = fetchurl { 409 - url = "${mirror}/stable/plasma/5.24.4/sddm-kcm-5.24.4.tar.xz"; 410 - sha256 = "0pfqp5das7pxpmh111i2dlfqm6xzzd99bcb32bbmd9v6w2wlgwxy"; 411 - name = "sddm-kcm-5.24.4.tar.xz"; 409 + url = "${mirror}/stable/plasma/5.24.5/sddm-kcm-5.24.5.tar.xz"; 410 + sha256 = "15z5hfpczi73vqjfj9z2ai2r4187fyrvfnikcfb18g2bdh1n54ng"; 411 + name = "sddm-kcm-5.24.5.tar.xz"; 412 412 }; 413 413 }; 414 414 systemsettings = { 415 - version = "5.24.4"; 415 + version = "5.24.5"; 416 416 src = fetchurl { 417 - url = "${mirror}/stable/plasma/5.24.4/systemsettings-5.24.4.tar.xz"; 418 - sha256 = "0cqm7s89jvzqz1fw32284ppnm3dc69yvc8bqqgw5jdbbjnc1z4k9"; 419 - name = "systemsettings-5.24.4.tar.xz"; 417 + url = "${mirror}/stable/plasma/5.24.5/systemsettings-5.24.5.tar.xz"; 418 + sha256 = "1rg9zx7fhrg91nlarv0cz384agbik47sccj7hhshnxnq1czvawjv"; 419 + name = "systemsettings-5.24.5.tar.xz"; 420 420 }; 421 421 }; 422 422 xdg-desktop-portal-kde = { 423 - version = "5.24.4"; 423 + version = "5.24.5"; 424 424 src = fetchurl { 425 - url = "${mirror}/stable/plasma/5.24.4/xdg-desktop-portal-kde-5.24.4.tar.xz"; 426 - sha256 = "07nwb6ff8rnlk2play9gar52d8d44b8y412hnx9a9d4b50b4js0i"; 427 - name = "xdg-desktop-portal-kde-5.24.4.tar.xz"; 425 + url = "${mirror}/stable/plasma/5.24.5/xdg-desktop-portal-kde-5.24.5.tar.xz"; 426 + sha256 = "1zn6wln8pccj1x3labms7xippn6xgv4aamwpmzk2rvwss9jwz75m"; 427 + name = "xdg-desktop-portal-kde-5.24.5.tar.xz"; 428 428 }; 429 429 }; 430 430 }
+9 -2
pkgs/development/compilers/gcc/11/default.nix
··· 52 52 with builtins; 53 53 54 54 let majorVersion = "11"; 55 - version = "${majorVersion}.3.0"; 55 + # The patch below for aarch64-darwin does not apply to 11.3.0 and an 56 + # updated version is not available. Keep aarch64-darwin on 11.2.0 so the 57 + # large body of packages which depend on gfortran are still functional 58 + # until GCC 12 is the default. 59 + version = if (stdenv.isDarwin && stdenv.isAarch64) then 60 + "${majorVersion}.2.0" else "${majorVersion}.3.0"; 56 61 57 62 inherit (stdenv) buildPlatform hostPlatform targetPlatform; 58 63 ··· 91 96 92 97 src = fetchurl { 93 98 url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz"; 94 - sha256 = "sha256-tHzygYaR9bHiHfK7OMeV+sLPvWQO3i0KXhyJ4zijrDk="; 99 + sha256 = if (stdenv.isDarwin && stdenv.isAarch64) 100 + then "sha256-0I7cU2tUw3KhAQ/2YZ3SdMDxYDqkkhK6IPeqLNo2+os=" 101 + else "sha256-tHzygYaR9bHiHfK7OMeV+sLPvWQO3i0KXhyJ4zijrDk="; 95 102 }; 96 103 97 104 inherit patches;
+4 -4
pkgs/development/compilers/hip/default.nix
··· 31 31 let 32 32 hip = stdenv.mkDerivation rec { 33 33 pname = "hip"; 34 - version = "5.0.2"; 34 + version = "5.1.1"; 35 35 36 36 src = fetchFromGitHub { 37 37 owner = "ROCm-Developer-Tools"; 38 38 repo = "HIP"; 39 39 rev = "rocm-${version}"; 40 - hash = "sha256-w023vBLJaiFbRdvz9UfZLPasRjk3VqM9zwctCIJ5hGU="; 40 + hash = "sha256-/kIZrbzq1u1pIs1jlmRYZNUGteqVQTI4TlXsHsVIUKE="; 41 41 }; 42 42 43 43 # - fix bash paths ··· 102 102 in 103 103 stdenv.mkDerivation rec { 104 104 pname = "hip"; 105 - version = "5.0.2"; 105 + version = "5.1.1"; 106 106 107 107 src = fetchFromGitHub { 108 108 owner = "ROCm-Developer-Tools"; 109 109 repo = "hipamd"; 110 110 rev = "rocm-${version}"; 111 - hash = "sha256-hhTwKG0wDpbIBI8S61AhdNldX+STO8C66xi2EzmJSBs="; 111 + hash = "sha256-TuCMRJb6G/bhD8hG6Ot7MIkgBoShjVboeXrlGh9eYpQ="; 112 112 }; 113 113 114 114 nativeBuildInputs = [ cmake python3 makeWrapper perl ];
+24 -5
pkgs/development/compilers/intel-graphics-compiler/default.nix
··· 9 9 , lld_11 10 10 , opencl-clang 11 11 , python3 12 + , spirv-tools 13 + , spirv-headers 12 14 , spirv-llvm-translator 13 15 14 16 , buildWithPatches ? true ··· 18 20 vc_intrinsics_src = fetchFromGitHub { 19 21 owner = "intel"; 20 22 repo = "vc-intrinsics"; 21 - rev = "e5ad7e02aa4aa21a3cd7b3e5d1f3ec9b95f58872"; 22 - sha256 = "Vg1mngwpIQ3Tik0GgRXPG22lE4sLEAEFch492G2aIXs="; 23 + rev = "v0.3.0"; 24 + sha256 = "sha256-1Rm4TCERTOcPGWJF+yNoKeB9x3jfqnh7Vlv+0Xpmjbk="; 23 25 }; 24 26 llvmPkgs = llvmPackages_11 // { 25 27 inherit spirv-llvm-translator; ··· 31 33 32 34 stdenv.mkDerivation rec { 33 35 pname = "intel-graphics-compiler"; 34 - version = "1.0.8744"; 36 + version = "1.0.11061"; 35 37 36 38 src = fetchFromGitHub { 37 39 owner = "intel"; 38 40 repo = "intel-graphics-compiler"; 39 41 rev = "igc-${version}"; 40 - sha256 = "G5+dYD8uZDPkRyn1sgXsRngdq4NJndiCJCYTRXyUgTA="; 42 + sha256 = "sha256-qS/+GTqHtp3T6ggPKrCDsrTb7XvVOUaNbMzGU51jTu4="; 41 43 }; 42 44 43 45 nativeBuildInputs = [ clang cmake bison flex python3 ]; 44 46 45 - buildInputs = [ clang opencl-clang spirv-llvm-translator llvm lld_11 ]; 47 + buildInputs = [ spirv-headers spirv-tools clang opencl-clang spirv-llvm-translator llvm lld_11 ]; 46 48 47 49 strictDeps = true; 48 50 ··· 52 54 # https://github.com/intel/intel-graphics-compiler/issues/98 53 55 doCheck = false; 54 56 57 + patchPhase = '' 58 + substituteInPlace ./external/SPIRV-Tools/CMakeLists.txt \ 59 + --replace '$'''{SPIRV-Tools_DIR}../../..' \ 60 + '${spirv-tools}' \ 61 + --replace 'SPIRV-Headers_INCLUDE_DIR "/usr/include"' \ 62 + 'SPIRV-Headers_INCLUDE_DIR "${spirv-headers}/include"' \ 63 + --replace 'set_target_properties(SPIRV-Tools' \ 64 + 'set_target_properties(SPIRV-Tools-shared' \ 65 + --replace 'IGC_BUILD__PROJ__SPIRV-Tools SPIRV-Tools' \ 66 + 'IGC_BUILD__PROJ__SPIRV-Tools SPIRV-Tools-shared' 67 + substituteInPlace ./IGC/AdaptorOCL/igc-opencl.pc.in \ 68 + --replace '/@CMAKE_INSTALL_INCLUDEDIR@' "/include" \ 69 + --replace '/@CMAKE_INSTALL_LIBDIR@' "/lib" 70 + ''; 71 + 55 72 # Handholding the braindead build script 56 73 # cmake requires an absolute path 57 74 prebuilds = runCommandLocal "igc-cclang-prebuilds" { } '' ··· 64 81 ''; 65 82 66 83 cmakeFlags = [ 84 + "-Wno-dev" 67 85 "-DVC_INTRINSICS_SRC=${vc_intrinsics_src}" 86 + "-DIGC_OPTION__SPIRV_TOOLS_MODE=Prebuilds" 68 87 "-DINSTALL_SPIRVDLL=0" 69 88 "-DCCLANG_BUILD_PREBUILDS=ON" 70 89 "-DCCLANG_BUILD_PREBUILDS_DIR=${prebuilds}"
+4 -6
pkgs/development/compilers/llvm/rocm/default.nix
··· 1 1 { stdenv, lib, buildPackages, fetchFromGitHub, callPackage, wrapCCWith, overrideCC }: 2 2 3 3 let 4 - version = "5.0.2"; 4 + version = "5.1.1"; 5 5 src = fetchFromGitHub { 6 6 owner = "RadeonOpenCompute"; 7 7 repo = "llvm-project"; 8 8 rev = "rocm-${version}"; 9 - hash = "sha256-wPzwbeQUFE6RAytrz5lBa6UUPoVL0UeMyY3qa4M6W6M="; 9 + hash = "sha256-5SGIWiyfHvfwIUc4bhdWrlhBfK5ssA7tm5r3zKdr3kg="; 10 10 }; 11 11 in rec { 12 12 clang = wrapCCWith rec { ··· 52 52 }; 53 53 54 54 lld = callPackage ./lld.nix { 55 - inherit llvm version; 56 - src = "${src}/lld"; 55 + inherit llvm src version; 57 56 }; 58 57 59 58 llvm = callPackage ./llvm { 60 - inherit version; 61 - src = "${src}/llvm"; 59 + inherit src version; 62 60 }; 63 61 }
+5 -2
pkgs/development/compilers/llvm/rocm/lld.nix
··· 3 3 , cmake 4 4 , libxml2 5 5 , llvm 6 + , ninja 6 7 7 8 , version 8 9 , src ··· 11 12 stdenv.mkDerivation rec { 12 13 inherit version src; 13 14 15 + sourceRoot = "${src.name}/lld"; 16 + 14 17 pname = "lld"; 15 18 16 - nativeBuildInputs = [ cmake ]; 19 + nativeBuildInputs = [ cmake ninja ]; 17 20 18 21 buildInputs = [ libxml2 llvm ]; 19 22 20 23 outputs = [ "out" "dev" ]; 21 24 22 - cmakeFlags = [ "-DLLVM_MAIN_SRC_DIR=${llvm.src}" ]; 25 + cmakeFlags = [ "-DLLVM_MAIN_SRC_DIR=${src}/llvm" ]; 23 26 24 27 postInstall = '' 25 28 moveToOutput include "$dev"
+2
pkgs/development/compilers/llvm/rocm/llvm/default.nix
··· 28 28 29 29 pname = "rocm-llvm"; 30 30 31 + sourceRoot = "${src.name}/llvm"; 32 + 31 33 outputs = [ "out" "python" ] 32 34 ++ lib.optional enableSharedLibraries "lib"; 33 35
+3 -3
pkgs/development/compilers/open-watcom/v2.nix
··· 12 12 13 13 stdenv.mkDerivation rec { 14 14 pname = "open-watcom-v2"; 15 - version = "unstable-2022-04-29"; 15 + version = "unstable-2022-05-03"; 16 16 name = "${pname}-unwrapped-${version}"; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "open-watcom"; 20 20 repo = "open-watcom-v2"; 21 - rev = "520d9d7025b46b926123257b029b3dbce9a96065"; 22 - sha256 = "aACkkTzOH8F82GPyySjtb7CGozR8OjgzqZVRiNTiS10="; 21 + rev = "a927247a40e69261e7d8891b6f002c91450e01f2"; 22 + sha256 = "/CuPNCEoSjxwYL07b07XqnaAeFZGS8NjXBuj+gFCsOA="; 23 23 }; 24 24 25 25 postPatch = ''
+17 -4
pkgs/development/compilers/spirv-llvm-translator/default.nix
··· 4 4 , pkg-config 5 5 , lit 6 6 , llvm_11 7 + , spirv-headers 8 + , spirv-tools 7 9 }: 8 10 9 11 stdenv.mkDerivation rec { 10 12 pname = "SPIRV-LLVM-Translator"; 11 - version = "unstable-2021-06-13"; 13 + version = "unstable-2022-05-04"; 12 14 13 15 src = fetchFromGitHub { 14 16 owner = "KhronosGroup"; 15 17 repo = "SPIRV-LLVM-Translator"; 16 - rev = "c67e6f26a7285aa753598ef792593ac4a545adf9"; 17 - sha256 = "sha256-1s3lVNTQDl+pUvbzSMsp3cOUSm6I4DzqJxnLMeeE3F4="; 18 + rev = "99420daab98998a7e36858befac9c5ed109d4920"; 19 + sha256 = "sha256-/vUyL6Wh8hykoGz1QmT1F7lfGDEmG4U3iqmqrJxizOg="; 18 20 }; 19 21 20 22 nativeBuildInputs = [ pkg-config cmake llvm_11.dev ]; 21 23 22 - buildInputs = [ llvm_11 ]; 24 + buildInputs = [ spirv-headers spirv-tools llvm_11 ]; 23 25 24 26 checkInputs = [ lit ]; 25 27 28 + makeFlags = [ "llvm-spirv" ]; 29 + 26 30 cmakeFlags = [ 27 31 "-DLLVM_INCLUDE_TESTS=ON" 32 + "-DLLVM_DIR=${llvm_11.dev}" 33 + "-DBUILD_SHARED_LIBS=YES" 34 + "-DLLVM_SPIRV_BUILD_EXTERNAL=YES" 28 35 ]; 36 + 37 + prePatch = '' 38 + substituteInPlace ./test/CMakeLists.txt \ 39 + --replace 'SPIRV-Tools' 'SPIRV-Tools-shared' 40 + ''; 41 + 29 42 30 43 # FIXME: CMake tries to run "/llvm-lit" which of course doesn't exist 31 44 doCheck = false;
+64
pkgs/development/libraries/libffi/3.3.nix
··· 1 + { lib, stdenv, fetchurl, fetchpatch 2 + , autoreconfHook 3 + 4 + , doCheck ? true # test suite depends on dejagnu which cannot be used during bootstrapping 5 + , dejagnu 6 + }: 7 + 8 + stdenv.mkDerivation rec { 9 + pname = "libffi"; 10 + version = "3.3"; 11 + 12 + src = fetchurl { 13 + url = "https://github.com/libffi/libffi/releases/download/v${version}/${pname}-${version}.tar.gz"; 14 + hash = "sha256-cvunkicD3fp6Ao1ROsFahcjVTI1n9V+lpIAohdxlIFY="; 15 + }; 16 + 17 + patches = []; 18 + 19 + outputs = [ "out" "dev" "man" "info" ]; 20 + 21 + configureFlags = [ 22 + "--with-gcc-arch=generic" # no detection of -march= or -mtune= 23 + "--enable-pax_emutramp" 24 + 25 + # Causes issues in downstream packages which misuse ffi_closure_alloc 26 + # Reenable once these issues are fixed and merged: 27 + # https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6155 28 + # https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/283 29 + "--disable-exec-static-tramp" 30 + ]; 31 + 32 + preCheck = '' 33 + # The tests use -O0 which is not compatible with -D_FORTIFY_SOURCE. 34 + NIX_HARDENING_ENABLE=''${NIX_HARDENING_ENABLE/fortify/} 35 + ''; 36 + 37 + dontStrip = stdenv.hostPlatform != stdenv.buildPlatform; # Don't run the native `strip' when cross-compiling. 38 + 39 + inherit doCheck; 40 + 41 + checkInputs = [ dejagnu ]; 42 + 43 + meta = with lib; { 44 + description = "A foreign function call interface library"; 45 + longDescription = '' 46 + The libffi library provides a portable, high level programming 47 + interface to various calling conventions. This allows a 48 + programmer to call any function specified by a call interface 49 + description at run-time. 50 + 51 + FFI stands for Foreign Function Interface. A foreign function 52 + interface is the popular name for the interface that allows code 53 + written in one language to call code written in another 54 + language. The libffi library really only provides the lowest, 55 + machine dependent layer of a fully featured foreign function 56 + interface. A layer must exist above libffi that handles type 57 + conversions for values passed between the two languages. 58 + ''; 59 + homepage = "http://sourceware.org/libffi/"; 60 + license = licenses.mit; 61 + maintainers = with maintainers; [ armeenm ]; 62 + platforms = platforms.all; 63 + }; 64 + }
+6 -14
pkgs/development/libraries/libgit2/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 - , fetchpatch 5 4 , cmake 6 5 , pkg-config 7 6 , python3 ··· 16 15 17 16 stdenv.mkDerivation rec { 18 17 pname = "libgit2"; 19 - version = "1.4.0"; 18 + version = "1.4.3"; 20 19 # also check the following packages for updates: python3.pkgs.pygit2 and libgit2-glib 21 20 22 21 src = fetchFromGitHub { 23 22 owner = "libgit2"; 24 23 repo = "libgit2"; 25 24 rev = "v${version}"; 26 - sha256 = "sha256-21t7fD/5O+HIHUDEv8MqloDmAIm9sSpJYqreCD3Co2k="; 25 + sha256 = "sha256-WnRzH5uMVEStA5ns4GNgMD5YoLQoats9aPLfnz9RoQs="; 27 26 }; 28 27 29 - patches = [ 30 - (fetchpatch { 31 - url = "https://github.com/libgit2/libgit2/commit/8bc9eda779b2e2602fc74944aba5d39198e0642f.patch"; 32 - sha256 = "sha256-r2i4+WsrxIpSwH0g/AikBdAajBncXb1zz0uOQB0h1Jk="; 33 - }) 34 - ]; 35 - 36 28 cmakeFlags = [ 37 29 "-DTHREADSAFE=ON" 38 30 "-DUSE_HTTP_PARSER=system" ··· 48 40 49 41 doCheck = false; # hangs. or very expensive? 50 42 51 - meta = { 43 + meta = with lib; { 52 44 description = "Linkable library implementation of Git that you can use in your application"; 53 45 homepage = "https://libgit2.org/"; 54 - license = lib.licenses.gpl2Plus; 55 - platforms = lib.platforms.all; 56 - maintainers = with lib.maintainers; [ ]; 46 + license = licenses.gpl2Plus; 47 + platforms = platforms.all; 48 + maintainers = with maintainers; [ SuperSandro2000 ]; 57 49 }; 58 50 }
+5 -12
pkgs/development/libraries/libmediainfo/default.nix
··· 1 - { lib, stdenv, fetchurl, autoreconfHook, pkg-config, libzen, zlib, fetchpatch }: 1 + { lib, stdenv, fetchurl, autoreconfHook, pkg-config, libzen, zlib }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "21.09"; 4 + version = "22.03"; 5 5 pname = "libmediainfo"; 6 6 src = fetchurl { 7 7 url = "https://mediaarea.net/download/source/libmediainfo/${version}/libmediainfo_${version}.tar.xz"; 8 - sha256 = "09pinxqw3z3hxrafn67clw1cb1z9aqfy6gkiavginfm0yr299gk9"; 8 + sha256 = "sha256-/FC6u2KOnPumVSiNrgbVw0Kw1+aUGjLWT7uxEySMgLk="; 9 9 }; 10 10 11 11 nativeBuildInputs = [ autoreconfHook pkg-config ]; 12 - buildInputs = [ libzen zlib ]; 13 - 14 - patches = [ 15 - # fixes pkgsMusl.libmediainfo build 16 - (fetchpatch { 17 - url = "https://git.alpinelinux.org/aports/plain/community/libmediainfo/fix-include-signal.patch?id=b8d666a3d33575c184308e1176f4de9e519af577"; 18 - sha256 = "sha256-b3HoIwy/hKSh8jUakwVJpnPmYw5KUwZXgLW7IPMY4/c="; 19 - }) 20 - ]; 12 + buildInputs = [ zlib ]; 13 + propagatedBuildInputs = [ libzen ]; 21 14 22 15 postPatch = "cd Project/GNU/Library"; 23 16
+1 -17
pkgs/development/libraries/libwebsockets/default.nix
··· 32 32 "-DLWS_WITH_PLUGINS=ON" 33 33 "-DLWS_WITH_IPV6=ON" 34 34 "-DLWS_WITH_SOCKS5=ON" 35 + "-DDISABLE_WERROR=ON" 35 36 # Required since v4.2.0 36 37 "-DLWS_BUILD_HASH=no_hash" 37 38 ] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "-DLWS_WITHOUT_TESTAPPS=ON" 38 39 ++ lib.optional withExternalPoll "-DLWS_WITH_EXTERNAL_POLL=ON"; 39 - 40 - NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=unused-but-set-variable"; 41 40 42 41 postInstall = '' 43 42 rm -r ${placeholder "out"}/share/libwebsockets-test-server ··· 63 62 }; 64 63 65 64 in { 66 - libwebsockets_3_1 = generic { 67 - sha256 = "1w1wz6snf3cmcpa3f4dci2nz9za2f5rrylxl109id7bcb36xhbdl"; 68 - version = "3.1.0"; 69 - }; 70 - 71 - libwebsockets_3_2 = generic { 72 - version = "3.2.2"; 73 - sha256 = "0m1kn4p167jv63zvwhsvmdn8azx3q7fkk8qc0fclwyps2scz6dna"; 74 - }; 75 - 76 - libwebsockets_4_2 = generic { 77 - version = "4.2.1"; 78 - sha256 = "sha256-C+WGfNF4tAgbp/7aRraBgjNOe4I5ihm+8CGelXzfxbU="; 79 - }; 80 - 81 65 libwebsockets_4_3 = generic { 82 66 version = "4.3.1"; 83 67 sha256 = "sha256-lB3JHh058cQc5rycLnHk3JAOgtku0nRCixN5U6lPKq8=";
+21
pkgs/development/libraries/lmdb/bin-ext.patch
··· 1 + diff --git a/libraries/liblmdb/Makefile b/libraries/liblmdb/Makefile 2 + index 612484e..2e6b562 100644 3 + --- a/libraries/liblmdb/Makefile 4 + +++ b/libraries/liblmdb/Makefile 5 + @@ -27,6 +27,7 @@ CFLAGS = $(THREADS) $(OPT) $(W) $(XCFLAGS) 6 + LDLIBS = 7 + SOLIBS = 8 + SOEXT = .so 9 + +BINEXT = 10 + prefix = /usr/local 11 + exec_prefix = $(prefix) 12 + bindir = $(exec_prefix)/bin 13 + @@ -49,7 +50,7 @@ install: $(ILIBS) $(IPROGS) $(IHDRS) 14 + mkdir -p $(DESTDIR)$(libdir) 15 + mkdir -p $(DESTDIR)$(includedir) 16 + mkdir -p $(DESTDIR)$(mandir)/man1 17 + - for f in $(IPROGS); do cp $$f $(DESTDIR)$(bindir); done 18 + + for f in $(IPROGS); do cp $$f$(BINEXT) $(DESTDIR)$(bindir); done 19 + for f in $(ILIBS); do cp $$f $(DESTDIR)$(libdir); done 20 + for f in $(IHDRS); do cp $$f $(DESTDIR)$(includedir); done 21 + for f in $(IDOCS); do cp $$f $(DESTDIR)$(mandir)/man1; done
+6 -3
pkgs/development/libraries/lmdb/default.nix
··· 1 - { lib, stdenv, fetchFromGitLab }: 1 + { lib, stdenv, fetchFromGitLab, windows }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "lmdb"; ··· 14 14 15 15 postUnpack = "sourceRoot=\${sourceRoot}/libraries/liblmdb"; 16 16 17 - patches = [ ./hardcoded-compiler.patch ]; 17 + patches = [ ./hardcoded-compiler.patch ./bin-ext.patch ]; 18 18 patchFlags = [ "-p3" ]; 19 19 20 20 outputs = [ "bin" "out" "dev" ]; 21 + 22 + buildInputs = lib.optional stdenv.hostPlatform.isWindows windows.pthreads; 21 23 22 24 makeFlags = [ 23 25 "prefix=$(out)" 24 26 "CC=${stdenv.cc.targetPrefix}cc" 25 27 "AR=${stdenv.cc.targetPrefix}ar" 26 28 ] 27 - ++ lib.optional stdenv.isDarwin "LDFLAGS=-Wl,-install_name,$(out)/lib/liblmdb.so"; 29 + ++ lib.optional stdenv.isDarwin "LDFLAGS=-Wl,-install_name,$(out)/lib/liblmdb.so" 30 + ++ lib.optionals stdenv.hostPlatform.isWindows [ "SOEXT=.dll" "BINEXT=.exe" ]; 28 31 29 32 doCheck = true; 30 33 checkTarget = "test";
+5 -4
pkgs/development/libraries/lucene++/default.nix
··· 14 14 nativeBuildInputs = [ cmake ]; 15 15 buildInputs = [ boost gtest zlib ]; 16 16 17 - doCheck = true; 18 - 19 17 postPatch = '' 20 - substituteInPlace src/test/CMakeLists.txt \ 21 - --replace "add_subdirectory(gtest)" "" 18 + substituteInPlace src/test/CMakeLists.txt \ 19 + --replace "add_subdirectory(gtest)" "" 22 20 ''; 21 + 22 + doCheck = true; 23 23 24 24 checkPhase = '' 25 25 runHook preCheck ··· 30 30 31 31 postInstall = '' 32 32 mv $out/include/pkgconfig $out/lib/ 33 + cp $src/src/contrib/include/*h $out/include/lucene++/ 33 34 ''; 34 35 35 36 meta = {
+3 -3
pkgs/development/libraries/opencl-clang/default.nix
··· 67 67 in 68 68 stdenv.mkDerivation rec { 69 69 pname = "opencl-clang"; 70 - version = "unstable-2021-06-22"; 70 + version = "unstable-2022-03-16"; 71 71 72 72 inherit passthru; 73 73 74 74 src = fetchFromGitHub { 75 75 owner = "intel"; 76 76 repo = "opencl-clang"; 77 - rev = "fd68f64b33e67d58f6c36b9e25c31c1178a1962a"; 78 - sha256 = "sha256-q1YPBb/LY67iEuQx1fMUQD/I7OsNfobW3yNfJxLXx3E="; 77 + rev = "bbdd1587f577397a105c900be114b56755d1f7dc"; 78 + sha256 = "sha256-qEZoQ6h4XAvSnJ7/gLXBb1qrzeYa6Jp6nij9VFo8MwQ="; 79 79 }; 80 80 81 81 patches = [
+2 -2
pkgs/development/libraries/poppler/default.nix
··· 35 35 in 36 36 stdenv.mkDerivation rec { 37 37 pname = "poppler-${suffix}"; 38 - version = "22.03.0"; # beware: updates often break cups-filters build, check texlive and scribusUnstable too! 38 + version = "22.04.0"; # beware: updates often break cups-filters build, check texlive and scribusUnstable too! 39 39 40 40 outputs = [ "out" "dev" ]; 41 41 42 42 src = fetchurl { 43 43 url = "https://poppler.freedesktop.org/poppler-${version}.tar.xz"; 44 - sha256 = "sha256-cox4upTXWlX2tjVdT72qb0mTTZYWvljl5nmpz9CYDh4="; 44 + sha256 = "sha256-gT+0uQ572mPfUyBcVIYCuucoiHpg9ASKrk29mxkn3v8="; 45 45 }; 46 46 47 47 nativeBuildInputs = [
+6
pkgs/development/libraries/presage/default.nix
··· 30 30 sha256 = "0243nx1ygggmsly7057vndb4pkjxg9rpay5gyqqrq9jjzjzh63dj"; 31 31 }) 32 32 ./fixed-cppunit-detection.patch 33 + # fix gcc11 build 34 + (fetchpatch { 35 + name = "presage-0.9.1-gcc11.patch"; 36 + url = "https://build.opensuse.org/public/source/openSUSE:Factory/presage/presage-0.9.1-gcc11.patch?rev=3f8b4b19c99276296d6ea595cc6c431f"; 37 + sha256 = "sha256-pLrIFXvJHRvv4x9gBIfal4Y68lByDE3XE2NZNiAXe9k="; 38 + }) 33 39 ]; 34 40 35 41 nativeBuildInputs = [
+11
pkgs/development/libraries/rocclr/default.nix
··· 1 1 { lib, stdenv 2 2 , fetchFromGitHub 3 + , fetchpatch 3 4 , writeScript 4 5 , rocm-comgr 5 6 }: ··· 14 15 rev = "rocm-${version}"; 15 16 hash = "sha256-SFWEGKffhuiTE7ICbkElVV5cldXu4Xbwvjb6LiNmijA="; 16 17 }; 18 + 19 + patches = [ 20 + # Enable support for gfx8 again 21 + # See the upstream issue: https://github.com/RadeonOpenCompute/ROCm/issues/1659 22 + # And the arch patch: https://github.com/rocm-arch/rocm-arch/pull/742 23 + (fetchpatch { 24 + url = "https://raw.githubusercontent.com/John-Gee/rocm-arch/d6812d308fee3caf2b6bb01b4d19fe03a6a0e3bd/rocm-opencl-runtime/enable-gfx800.patch"; 25 + hash = "sha256-59jFDIIsTTZcNns9RyMVWPRUggn/bSlAGrky4quu8B4="; 26 + }) 27 + ]; 17 28 18 29 prePatch = '' 19 30 substituteInPlace device/comgrctx.cpp \
+3 -2
pkgs/development/libraries/rocm-opencl-runtime/default.nix
··· 24 24 25 25 stdenv.mkDerivation rec { 26 26 pname = "rocm-opencl-runtime"; 27 - version = "5.0.2"; 27 + version = "5.1.1"; 28 28 29 29 src = fetchFromGitHub { 30 30 owner = "RadeonOpenCompute"; 31 31 repo = "ROCm-OpenCL-Runtime"; 32 32 rev = "rocm-${version}"; 33 - hash = "sha256-ovYwElZGRKySH1mWFIISxuNNxCjaqoe9oCvqYZGdfq0="; 33 + hash = "sha256-O7q3uTjspO/rZ2+8+g7pRfBXsCRaEr4DZxEqABHbOeY="; 34 34 }; 35 35 36 36 nativeBuildInputs = [ cmake rocm-cmake ]; ··· 55 55 cmakeFlags = [ 56 56 "-DAMD_OPENCL_PATH=${src}" 57 57 "-DROCCLR_PATH=${rocclr}" 58 + "-DCPACK_PACKAGING_INSTALL_PREFIX=/opt/rocm/opencl" 58 59 ]; 59 60 60 61 dontStrip = true;
+2 -2
pkgs/development/libraries/rocm-runtime/default.nix
··· 14 14 15 15 stdenv.mkDerivation rec { 16 16 pname = "rocm-runtime"; 17 - version = "5.1.0"; 17 + version = "5.1.1"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "RadeonOpenCompute"; 21 21 repo = "ROCR-Runtime"; 22 22 rev = "rocm-${version}"; 23 - hash = "sha256-MGm7YmnoFNk7VsxsbsUgSD9Y5r1OBm6Ycg3wXNme8EI="; 23 + hash = "sha256-IP5ylfUXOFkw9+Frfh+tNaZ83ozAbOK9kO2AzFVzzWk="; 24 24 }; 25 25 26 26 sourceRoot = "source/src";
+1 -1
pkgs/development/python-modules/awkward/default.nix
··· 30 30 31 31 meta = with lib; { 32 32 description = "Manipulate JSON-like data with NumPy-like idioms"; 33 - homepage = "https://github.com/scikit-hep/awkward-1.0"; 33 + homepage = "https://github.com/scikit-hep/awkward"; 34 34 license = licenses.bsd3; 35 35 maintainers = with maintainers; [ veprbl ]; 36 36 };
+2 -2
pkgs/development/python-modules/bond-api/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "bond-api"; 13 - version = "0.1.16"; 13 + version = "0.1.17"; 14 14 format = "setuptools"; 15 15 16 16 disabled = pythonOlder "3.7"; ··· 19 19 owner = "prystupa"; 20 20 repo = "bond-api"; 21 21 rev = "v${version}"; 22 - sha256 = "1nqf090b14nd7an2n776mb37yskddfnihmas2fy56pxclwvwqr9n"; 22 + hash = "sha256-fuVYyDy3fG+XobFe2GCzMWRWPk8VDPLU4RHJzcF5MLg="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+5 -2
pkgs/development/python-modules/intbitset/default.nix
··· 2 2 , fetchPypi 3 3 , buildPythonPackage 4 4 , pytestCheckHook 5 + , pythonOlder 5 6 }: 6 7 7 8 buildPythonPackage rec { ··· 9 10 version = "3.0.1"; 10 11 format = "setuptools"; 11 12 13 + disabled = pythonOlder "3.7"; 14 + 12 15 src = fetchPypi { 13 16 inherit pname version; 14 - sha256 = "sha256-8ebQPGcpkioiPFGEnfZbnpFuYlrvuRF4Tn+azUwgfVM="; 17 + hash = "sha256-8ebQPGcpkioiPFGEnfZbnpFuYlrvuRF4Tn+azUwgfVM="; 15 18 }; 16 19 17 20 checkInputs = [ ··· 25 28 meta = with lib; { 26 29 description = "C-based extension implementing fast integer bit sets"; 27 30 homepage = "https://github.com/inveniosoftware/intbitset"; 28 - license = licenses.lgpl3Only; 31 + license = licenses.lgpl3Plus; 29 32 maintainers = teams.determinatesystems.members; 30 33 }; 31 34 }
+9 -17
pkgs/development/python-modules/ipywidgets/default.nix
··· 1 - { lib 2 - , buildPythonPackage 1 + { buildPythonPackage 3 2 , fetchPypi 4 - , python 5 - , nose 6 - , pytest 7 - , mock 3 + , ipykernel 8 4 , ipython 9 - , ipykernel 10 5 , jupyterlab-widgets 6 + , lib 7 + , nbformat 8 + , pytestCheckHook 11 9 , traitlets 12 - , notebook 13 10 , widgetsnbextension 14 11 }: 15 12 16 13 buildPythonPackage rec { 17 14 pname = "ipywidgets"; 18 15 version = "7.7.0"; 16 + format = "setuptools"; 19 17 20 18 src = fetchPypi { 21 19 inherit pname version; 22 - sha256 = "sha256-q0pVloVaiLg3YZIcdocH1l5YRwaBObwXKd3+g0cDVCo="; 20 + hash = "sha256-q0pVloVaiLg3YZIcdocH1l5YRwaBObwXKd3+g0cDVCo="; 23 21 }; 24 22 25 - # Tests are not distributed 26 - # doCheck = false; 27 - 28 - buildInputs = [ nose pytest mock ]; 29 23 propagatedBuildInputs = [ 30 24 ipython 31 25 ipykernel 32 26 jupyterlab-widgets 33 27 traitlets 34 - notebook 28 + nbformat 35 29 widgetsnbextension 36 30 ]; 37 31 38 - checkPhase = '' 39 - ${python.interpreter} -m unittest discover 40 - ''; 32 + checkInputs = [ pytestCheckHook ]; 41 33 42 34 meta = { 43 35 description = "IPython HTML widgets for Jupyter";
+2 -2
pkgs/development/python-modules/nettigo-air-monitor/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "nettigo-air-monitor"; 15 - version = "1.2.2"; 15 + version = "1.2.3"; 16 16 format = "setuptools"; 17 17 18 18 disabled = pythonOlder "3.8"; ··· 21 21 owner = "bieniu"; 22 22 repo = pname; 23 23 rev = version; 24 - sha256 = "sha256-gHgFEDUji43vTBZp5FLK90H+D44sfH2AuCc7Gu2T1pg="; 24 + sha256 = "sha256-aCDw3JwX8LVrJp3jYvuYQ3ycRHjSnWU0n1LdTjV08VA="; 25 25 }; 26 26 27 27 propagatedBuildInputs = [
+12 -12
pkgs/development/python-modules/paramiko/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "paramiko"; 17 - version = "2.10.3"; 17 + version = "2.10.4"; 18 18 format = "setuptools"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - sha256 = "sha256-3bGXeFOu+CgEs11yoOWXskT6MmxATDUL0AxbAdv+5xo="; 22 + sha256 = "sha256-PS5lC2gSzm0WCr/3AdbvRDTsl5NLE+lc8a09pw/7XFg="; 23 23 }; 24 + 25 + patches = [ 26 + # Fix usage of dsa keys 27 + # https://github.com/paramiko/paramiko/pull/1606/ 28 + (fetchpatch { 29 + url = "https://github.com/paramiko/paramiko/commit/18e38b99f515056071fb27b9c1a4f472005c324a.patch"; 30 + sha256 = "sha256-bPDghPeLo3NiOg+JwD5CJRRLv2VEqmSx1rOF2Tf8ZDA="; 31 + }) 32 + ]; 24 33 25 34 propagatedBuildInputs = [ 26 35 bcrypt ··· 51 60 "paramiko" 52 61 ]; 53 62 54 - patches = [ 55 - # Fix usage of dsa keys 56 - # https://github.com/paramiko/paramiko/pull/1606/ 57 - (fetchpatch { 58 - url = "https://github.com/paramiko/paramiko/commit/18e38b99f515056071fb27b9c1a4f472005c324a.patch"; 59 - sha256 = "sha256-bPDghPeLo3NiOg+JwD5CJRRLv2VEqmSx1rOF2Tf8ZDA="; 60 - }) 61 - ]; 62 - 63 63 __darwinAllowLocalNetworking = true; 64 64 65 65 meta = with lib; { ··· 72 72 between python scripts. All major ciphers and hash methods are 73 73 supported. SFTP client and server mode are both supported too. 74 74 ''; 75 - maintainers = with maintainers; [ ]; 75 + maintainers = with maintainers; [ SuperSandro2000 ]; 76 76 }; 77 77 }
+8 -12
pkgs/development/python-modules/plugwise/default.nix
··· 13 13 , pytest-asyncio 14 14 , pytestCheckHook 15 15 , python-dateutil 16 + , pythonOlder 16 17 , pytz 17 18 , semver 18 19 }: 19 20 20 21 buildPythonPackage rec { 21 22 pname = "plugwise"; 22 - version = "0.17.8"; 23 + version = "0.18.0"; 23 24 format = "setuptools"; 25 + 26 + disabled = pythonOlder "3.7"; 24 27 25 28 src = fetchFromGitHub { 26 29 owner = pname; 27 30 repo = "python-plugwise"; 28 31 rev = "refs/tags/v${version}"; 29 - sha256 = "sha256-ZNlkdubB6E5ak+EaXsEBGa1xpm5ms4Rp3DG/M4/+WOg="; 32 + sha256 = "sha256-kpEs5LvUz61Wm2IUI6sNXx2R+vtuHq1Y6aaj+zLrr+Q="; 30 33 }; 31 34 32 - postPatch = '' 33 - substituteInPlace setup.py \ 34 - --replace "aiohttp==3.8.0" "aiohttp>=3.8.0" 35 - ''; 36 - 37 35 propagatedBuildInputs = [ 38 36 aiohttp 39 37 async-timeout ··· 54 52 pytestCheckHook 55 53 ]; 56 54 57 - pythonImportsCheck = [ "plugwise" ]; 55 + pythonImportsCheck = [ 56 + "plugwise" 57 + ]; 58 58 59 59 __darwinAllowLocalNetworking = true; 60 60 61 61 meta = with lib; { 62 62 description = "Python module for Plugwise Smiles, Stretch and USB stick"; 63 - longDescription = '' 64 - XKNX is an asynchronous Python library for reading and writing KNX/IP 65 - packets. It provides support for KNX/IP routing and tunneling devices. 66 - ''; 67 63 homepage = "https://github.com/plugwise/python-plugwise"; 68 64 license = with licenses; [ mit ]; 69 65 maintainers = with maintainers; [ fab ];
+14 -11
pkgs/development/python-modules/pyahocorasick/default.nix
··· 3 3 , fetchFromGitHub 4 4 , fetchpatch 5 5 , pytestCheckHook 6 + , pythonOlder 6 7 }: 7 8 8 9 buildPythonPackage rec { 9 10 pname = "pyahocorasick"; 10 - version = "1.4.1"; 11 + version = "1.4.4"; 12 + format = "setuptools"; 13 + 14 + disabled = pythonOlder "3.7"; 11 15 12 16 src = fetchFromGitHub { 13 17 owner = "WojciechMula"; 14 18 repo = pname; 15 19 rev = version; 16 - sha256 = "13x3718if28l50474xrz1b9709kvnvdg3nzm6y8bh7mc9a4zyss5"; 20 + hash = "sha256-X6ifwOwf7GAaNUxInKhR3NX6hKhvFMkvfbK6XpH8CBo="; 17 21 }; 18 22 19 - patches = [ 20 - # Use proper temporary directory on Hydra 21 - (fetchpatch { 22 - url = "https://github.com/WojciechMula/pyahocorasick/commit/b6549e06f3cced7ffdf4d1b587cd7de12041f495.patch"; 23 - sha256 = "sha256-v3J/0aIPOnBhLlJ18r/l7O0MckqLOCtcmqIS9ZegaSI="; 24 - }) 23 + checkInputs = [ 24 + pytestCheckHook 25 25 ]; 26 26 27 - checkInputs = [ pytestCheckHook ]; 27 + pytestFlagsArray = [ 28 + "unittests.py" 29 + ]; 28 30 29 - pytestFlagsArray = [ "unittests.py" ]; 30 - pythonImportsCheck = [ "ahocorasick" ]; 31 + pythonImportsCheck = [ 32 + "ahocorasick" 33 + ]; 31 34 32 35 meta = with lib; { 33 36 description = "Python module implementing Aho-Corasick algorithm";
+20 -10
pkgs/development/python-modules/pyinfra/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchPypi 4 - , pythonOlder 5 - , gevent 6 3 , click 7 4 , colorama 8 5 , configparser 9 6 , distro 7 + , fetchFromGitHub 8 + , gevent 10 9 , jinja2 11 10 , paramiko 11 + , pytestCheckHook 12 12 , python-dateutil 13 + , pythonOlder 13 14 , pywinrm 15 + , pyyaml 14 16 , setuptools 15 - , six 16 17 }: 17 18 18 19 buildPythonPackage rec { 19 20 pname = "pyinfra"; 20 - version = "2.0.2"; 21 + version = "2.1"; 21 22 format = "setuptools"; 22 23 23 24 disabled = pythonOlder "3.7"; 24 25 25 - src = fetchPypi { 26 - inherit pname version; 27 - sha256 = "sha256-AW2pOyLqyugTSM7PE4oR9ZwD1liNpdD636QA3ElafG0="; 26 + src = fetchFromGitHub { 27 + owner = "Fizzadar"; 28 + repo = pname; 29 + rev = "v${version}"; 30 + hash = "sha256-frjPxSATvXgeACT4kThoiPu04Ez8bs8FIPdf5PVuiSg="; 28 31 }; 29 32 30 33 propagatedBuildInputs = [ ··· 37 40 paramiko 38 41 python-dateutil 39 42 pywinrm 43 + pyyaml 40 44 setuptools 41 - six 42 45 ]; 43 46 44 - doCheck = false; 47 + checkInputs = [ 48 + pytestCheckHook 49 + ]; 45 50 46 51 pythonImportsCheck = [ 47 52 "pyinfra" 53 + ]; 54 + 55 + disabledTests = [ 56 + # Test requires SSH binary 57 + "test_load_ssh_config" 48 58 ]; 49 59 50 60 meta = with lib; {
+1
pkgs/development/python-modules/pylsp-mypy/default.nix
··· 22 22 23 23 disabledTests = [ 24 24 "test_multiple_workspaces" 25 + "test_option_overrides_dmypy" 25 26 ]; 26 27 27 28 checkInputs = [ pytestCheckHook mock ];
+2 -2
pkgs/development/python-modules/python-engineio/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "python-engineio"; 19 - version = "4.3.1"; 19 + version = "4.3.2"; 20 20 format = "setuptools"; 21 21 22 22 disabled = pythonOlder "3.6"; ··· 25 25 owner = "miguelgrinberg"; 26 26 repo = "python-engineio"; 27 27 rev = "v${version}"; 28 - sha256 = "sha256-8595zivZmff0agFiQd5Qyd/T3BDxYcsb4RjA5AWXVNM="; 28 + sha256 = "sha256-RXIFfd4eeRLaDPe6+8jhIN2TI1yz/uDfnvWT95euaIo="; 29 29 }; 30 30 31 31 checkInputs = [
+6 -5
pkgs/development/python-modules/python-lsp-black/default.nix
··· 1 1 { lib 2 - , black 2 + , pythonOlder 3 3 , buildPythonPackage 4 4 , fetchFromGitHub 5 5 , pytestCheckHook 6 + , black 6 7 , python-lsp-server 7 - , pythonOlder 8 + , toml 8 9 }: 9 10 10 11 buildPythonPackage rec { 11 12 pname = "python-lsp-black"; 12 - version = "1.1.0"; 13 + version = "1.2.1"; 13 14 disabled = pythonOlder "3.6"; 14 15 15 16 src = fetchFromGitHub { 16 17 owner = "python-lsp"; 17 18 repo = "python-lsp-black"; 18 19 rev = "v${version}"; 19 - sha256 = "sha256-WIQf1oz3b1PLIcXfQsu4hQ58nfp7l3J7zkcWNT6RbUY="; 20 + sha256 = "sha256-qNA6Bj1VI0YEtRuvcMQZGWakQNNrJ2PqhozrLmQHPAg="; 20 21 }; 21 22 22 23 checkInputs = [ pytestCheckHook ]; 23 24 24 - propagatedBuildInputs = [ black python-lsp-server ]; 25 + propagatedBuildInputs = [ black python-lsp-server toml ]; 25 26 26 27 meta = with lib; { 27 28 homepage = "https://github.com/python-lsp/python-lsp-black";
+12 -7
pkgs/development/python-modules/python-lsp-server/default.nix
··· 20 20 , pythonOlder 21 21 , rope 22 22 , setuptools 23 + , setuptools-scm 23 24 , stdenv 24 25 , ujson 25 26 , yapf ··· 36 37 37 38 buildPythonPackage rec { 38 39 pname = "python-lsp-server"; 39 - version = "1.3.3"; 40 + version = "1.4.1"; 41 + format = "pyproject"; 40 42 41 43 disabled = pythonOlder "3.7"; 42 44 ··· 44 46 owner = "python-lsp"; 45 47 repo = pname; 46 48 rev = "v${version}"; 47 - sha256 = "sha256-F8f9NAjPWkm01D/KwFH0oA6nQ3EF4ZVCCckZTL4A35Y="; 49 + sha256 = "sha256-rEfjxHw2NIVIa8RepxLPiXkRFhcGWLzm6w43n60zkFE="; 48 50 }; 49 51 50 52 postPatch = '' 51 53 substituteInPlace setup.cfg \ 52 54 --replace "--cov-report html --cov-report term --junitxml=pytest.xml" "" \ 53 - --replace "--cov pylsp --cov test" "" 55 + --replace "--cov pylsp --cov test" "" \ 56 + --replace "mccabe>=0.6.0,<0.7.0" "mccabe" 57 + ''; 58 + 59 + preBuild = '' 60 + export SETUPTOOLS_SCM_PRETEND_VERSION=${version} 54 61 ''; 55 62 56 63 propagatedBuildInputs = [ ··· 58 65 pluggy 59 66 python-lsp-jsonrpc 60 67 setuptools 68 + setuptools-scm 61 69 ujson 62 70 ] ++ lib.optional withAutopep8 autopep8 63 71 ++ lib.optional withFlake8 flake8 ··· 79 87 # pyqt5 is broken on aarch64-darwin 80 88 ++ lib.optionals (!stdenv.isDarwin || !stdenv.isAarch64) [ pyqt5 ]; 81 89 82 - disabledTests = [ 83 - # pytlint output changed 84 - "test_lint_free_pylint" 85 - ] ++ lib.optional (!withPycodestyle) "test_workspace_loads_pycodestyle_config" 90 + disabledTests = lib.optional (!withPycodestyle) "test_workspace_loads_pycodestyle_config" 86 91 # pyqt5 is broken on aarch64-darwin 87 92 ++ lib.optional (stdenv.isDarwin && stdenv.isAarch64) "test_pyqt_completion"; 88 93
+2 -2
pkgs/development/python-modules/python-socketio/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "python-socketio"; 17 - version = "5.5.2"; 17 + version = "5.6.0"; 18 18 format = "setuptools"; 19 19 20 20 disabled = pythonOlder "3.6"; ··· 23 23 owner = "miguelgrinberg"; 24 24 repo = "python-socketio"; 25 25 rev = "v${version}"; 26 - sha256 = "sha256-ZTjh9gtnJwFG2qWH6FBrvLHKsEuTjkcKL6j6Mdos6zo="; 26 + sha256 = "sha256-zsTSz2RHtr4LqqPCkvHcaAw7RvfkHTNDm83OS+SgMUU="; 27 27 }; 28 28 29 29 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pyvesync/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "pyvesync"; 10 - version = "2.0.2"; 10 + version = "2.0.3"; 11 11 format = "setuptools"; 12 12 13 13 disabled = pythonOlder "3.6"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "sha256-SsSzwuJvDbQ1AzF+q5bjOnFaR6M2UFixtlmk6sgjKOg="; 17 + sha256 = "sha256-/hPDCqTeqEzxfqv8B5wdDzmzzNuXYqOVHX32N/J6nmU="; 18 18 }; 19 19 20 20 propagatedBuildInputs = [
+48
pkgs/development/python-modules/qnapstats/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , requests 5 + , xmltodict 6 + , responses 7 + , python 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "qnapstats"; 12 + version = "0.4.0"; 13 + 14 + format = "setuptools"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "colinodell"; 18 + repo = "python-qnapstats"; 19 + rev = version; 20 + hash = "sha256-Tzi2QG1Xw12fLVfV49SPJKdz5VdJ4hQMuCHH8gxcOBE="; 21 + }; 22 + 23 + propagatedBuildInputs = [ 24 + requests 25 + xmltodict 26 + ]; 27 + 28 + checkInputs = [ 29 + responses 30 + ]; 31 + 32 + checkPhase = '' 33 + runHook preCheck 34 + 35 + ${python.interpreter} tests/test-models.py 36 + 37 + runHook postCheck 38 + ''; 39 + 40 + pythonImportsCheck = [ "qnapstats" ]; 41 + 42 + meta = { 43 + description = "Python API for obtaining QNAP NAS system stats"; 44 + homepage = "https://github.com/colinodell/python-qnapstats"; 45 + license = lib.licenses.mit; 46 + maintainers = with lib.maintainers; [ dotlambda ]; 47 + }; 48 + }
+47
pkgs/development/python-modules/qstylizer/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , pythonOlder 4 + , fetchFromGitHub 5 + , inflection 6 + , pbr 7 + , tinycss2 8 + , pytestCheckHook 9 + , pytest-mock 10 + }: 11 + 12 + buildPythonPackage rec { 13 + pname = "qstylizer"; 14 + version = "0.2.1"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "blambright"; 18 + repo = pname; 19 + rev = version; 20 + sha256 = "sha256-iEMxBpS9gOPubd9O8zpVmR5B7+UZJFkPuOtikO1a9v0="; 21 + }; 22 + 23 + nativeBuildInputs = [ 24 + pbr 25 + ]; 26 + 27 + propagatedBuildInputs = [ 28 + inflection 29 + tinycss2 30 + ]; 31 + 32 + checkInputs = [ 33 + pytestCheckHook 34 + pytest-mock 35 + ]; 36 + 37 + preBuild = '' 38 + export PBR_VERSION=${version} 39 + ''; 40 + 41 + meta = with lib; { 42 + description = "Qt stylesheet generation utility for PyQt/PySide "; 43 + homepage = "https://github.com/blambright/qstylizer"; 44 + license = licenses.mit; 45 + maintainers = with maintainers; [ drewrisinger ]; 46 + }; 47 + }
+3 -2
pkgs/development/python-modules/scancode-toolkit/default.nix
··· 64 64 65 65 src = fetchPypi { 66 66 inherit pname version; 67 - sha256 = "sha256-UYQf+cBi2FmyZxIbQJo7vLjPuoePIMC8FugvoG1Ebj0="; 67 + hash = "sha256-UYQf+cBi2FmyZxIbQJo7vLjPuoePIMC8FugvoG1Ebj0="; 68 68 }; 69 69 70 70 dontConfigure = true; ··· 134 134 --replace "pdfminer.six >= 20200101" "pdfminer.six" \ 135 135 --replace "pluggy >= 0.12.0, < 1.0" "pluggy" \ 136 136 --replace "pygmars >= 0.7.0" "pygmars" \ 137 - --replace "license_expression >= 21.6.14" "license_expression" 137 + --replace "license_expression >= 21.6.14" "license_expression" \ 138 + --replace "intbitset >= 2.3.0, < 3.0" "intbitset" 138 139 ''; 139 140 140 141 # Importing scancode needs a writeable home, and preCheck happens in between
+2 -2
pkgs/development/python-modules/setupmeta/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "setupmeta"; 15 - version = "3.3.0"; 15 + version = "3.3.1"; 16 16 format = "setuptools"; 17 17 18 18 disabled = pythonOlder "3.6"; ··· 21 21 owner = "codrsquad"; 22 22 repo = pname; 23 23 rev = "v${version}"; 24 - sha256 = "21hABRiY8CTKkpFjePgBAtjs4/G5eFS3aPNMCBC41CY="; 24 + sha256 = "sha256-3QUI3AjouuGa9sWXH97GSvpimVsws3q5Xgq6lls/wBU="; 25 25 }; 26 26 27 27 preBuild = ''
+4
pkgs/development/python-modules/spyder-kernels/default.nix
··· 18 18 pyzmq 19 19 ]; 20 20 21 + postPatch = '' 22 + substituteInPlace setup.py --replace "ipython>=7.31.1,<8" "ipython" 23 + ''; 24 + 21 25 # No tests 22 26 doCheck = false; 23 27
+84 -18
pkgs/development/python-modules/spyder/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, isPy27, makeDesktopItem, intervaltree, 2 - jedi, pycodestyle, psutil, rope, numpy, scipy, matplotlib, pylint, 3 - keyring, numpydoc, qtconsole, qtawesome, nbconvert, mccabe, pyopengl, 4 - cloudpickle, pygments, spyder-kernels, qtpy, pyzmq, chardet, qdarkstyle, 5 - watchdog, python-language-server, pyqtwebengine, atomicwrites, pyxdg, 6 - diff-match-patch, three-merge, pyls-black, pyls-spyder, flake8, textdistance 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pythonOlder 5 + , makeDesktopItem 6 + , atomicwrites 7 + , chardet 8 + , cloudpickle 9 + , cookiecutter 10 + , diff-match-patch 11 + , flake8 12 + , intervaltree 13 + , jedi 14 + , jellyfish 15 + , keyring 16 + , matplotlib 17 + , mccabe 18 + , nbconvert 19 + , numpy 20 + , numpydoc 21 + , psutil 22 + , pygments 23 + , pylint 24 + , pyls-spyder 25 + , pyopengl 26 + , pyqtwebengine 27 + , python-lsp-black 28 + , python-lsp-server 29 + , pyxdg 30 + , pyzmq 31 + , pycodestyle 32 + , qdarkstyle 33 + , qstylizer 34 + , qtawesome 35 + , qtconsole 36 + , qtpy 37 + , rope 38 + , Rtree 39 + , scipy 40 + , spyder-kernels 41 + , textdistance 42 + , three-merge 43 + , watchdog 44 + , pytestCheckHook 7 45 }: 8 46 9 47 buildPythonPackage rec { 10 48 pname = "spyder"; 11 49 version = "5.3.0"; 12 50 13 - disabled = isPy27; 51 + disabled = pythonOlder "3.7"; 14 52 15 53 src = fetchPypi { 16 54 inherit pname version; ··· 20 58 nativeBuildInputs = [ pyqtwebengine.wrapQtAppsHook ]; 21 59 22 60 propagatedBuildInputs = [ 23 - intervaltree jedi pycodestyle psutil rope numpy scipy matplotlib pylint keyring 24 - numpydoc qtconsole qtawesome nbconvert mccabe pyopengl cloudpickle spyder-kernels 25 - pygments qtpy pyzmq chardet pyqtwebengine qdarkstyle watchdog python-language-server 26 - atomicwrites pyxdg diff-match-patch three-merge pyls-black pyls-spyder 27 - flake8 textdistance 61 + atomicwrites 62 + chardet 63 + cloudpickle 64 + cookiecutter 65 + diff-match-patch 66 + flake8 67 + intervaltree 68 + jedi 69 + jellyfish 70 + keyring 71 + matplotlib 72 + mccabe 73 + nbconvert 74 + numpy 75 + numpydoc 76 + psutil 77 + pygments 78 + pylint 79 + pyls-spyder 80 + pyopengl 81 + pyqtwebengine 82 + python-lsp-black 83 + python-lsp-server 84 + pyxdg 85 + pyzmq 86 + pycodestyle 87 + qdarkstyle 88 + qstylizer 89 + qtawesome 90 + qtconsole 91 + qtpy 92 + rope 93 + Rtree 94 + scipy 95 + spyder-kernels 96 + textdistance 97 + three-merge 98 + watchdog 28 99 ]; 29 100 30 101 # There is no test for spyder ··· 44 115 # remove dependency on pyqtwebengine 45 116 # this is still part of the pyqt 5.11 version we have in nixpkgs 46 117 sed -i /pyqtwebengine/d setup.py 47 - # The major version bump in watchdog is due to changes in supported 48 - # platforms, not API break. 49 - # https://github.com/gorakhargosh/watchdog/issues/761#issuecomment-777001518 50 118 substituteInPlace setup.py \ 51 - --replace "pyqt5<5.13" "pyqt5" \ 52 - --replace "parso==0.7.0" "parso" \ 53 - --replace "watchdog>=0.10.3,<2.0.0" "watchdog>=0.10.3,<3.0.0" 119 + --replace "ipython>=7.31.1,<8.0.0" "ipython" 54 120 ''; 55 121 56 122 postInstall = ''
+2 -4
pkgs/development/python-modules/wandb/default.nix
··· 12 12 , jsonref 13 13 , jsonschema 14 14 , matplotlib 15 - , nbconvert 15 + , nbclient 16 16 , nbformat 17 17 , pandas 18 18 , pathtools ··· 88 88 jsonref 89 89 jsonschema 90 90 matplotlib 91 - # Oddly enough, nbclient does not provide the `nbclient` module. Rather it's 92 - # available in nbconvert. See https://github.com/NixOS/nixpkgs/issues/171493#issuecomment-1116960488. 93 - nbconvert 91 + nbclient 94 92 nbformat 95 93 pandas 96 94 pydantic
+12 -16
pkgs/development/tools/analysis/hopper/default.nix
··· 3 3 , lib 4 4 , autoPatchelfHook 5 5 , wrapQtAppsHook 6 - , libbsd 7 - , python27 8 6 , gmpxx 9 - , ncurses5 10 7 , gnustep 11 - , libffi 8 + , libbsd 9 + , libffi_3_3 10 + , ncurses6 12 11 }: 12 + 13 13 stdenv.mkDerivation rec { 14 14 pname = "hopper"; 15 - version = "4.5.29"; 16 - rev = "v${lib.versions.major version}"; 15 + version = "5.5.3"; 16 + rev = "v4"; 17 17 18 18 src = fetchurl { 19 - url = "https://d2ap6ypl1xbe4k.cloudfront.net/Hopper-${rev}-${version}-Linux.pkg.tar.xz"; 20 - sha256 = "1v1pff5fiv41khvrnlpdks2vddjnvziyn14qqj6v26snyhwi86zh"; 19 + url = "https://d2ap6ypl1xbe4k.cloudfront.net/Hopper-${rev}-${version}-Linux-demo.pkg.tar.xz"; 20 + hash = "sha256-xq9ZVg1leHm/tq6LYyQLa8p5dDwBd64Jt92uMoE0z58="; 21 21 }; 22 22 23 23 sourceRoot = "."; 24 24 25 25 nativeBuildInputs = [ 26 - wrapQtAppsHook 27 26 autoPatchelfHook 27 + wrapQtAppsHook 28 28 ]; 29 29 30 30 buildInputs = [ 31 + gnustep.libobjc 31 32 libbsd 32 - python27 33 - gmpxx 34 - ncurses5 35 - gnustep.libobjc 33 + libffi_3_3 34 + ncurses6 36 35 ]; 37 36 38 37 installPhase = '' ··· 53 52 $sourceRoot/opt/hopper-${rev}/lib/libobjcxx.so* \ 54 53 $sourceRoot/opt/hopper-${rev}/lib/libpthread_workqueue.so* \ 55 54 $out/lib 56 - 57 - # we already ship libffi.so.7 58 - ln -s ${lib.getLib libffi}/lib/libffi.so $out/lib/libffi.so.6 59 55 60 56 cp -r $sourceRoot/usr/share $out 61 57
+2 -2
pkgs/development/tools/continuous-integration/github-runner/default.nix
··· 46 46 in 47 47 stdenv.mkDerivation rec { 48 48 pname = "github-runner"; 49 - version = "2.290.1"; 49 + version = "2.291.1"; 50 50 51 51 src = fetchFromGitHub { 52 52 owner = "actions"; 53 53 repo = "runner"; 54 54 rev = "v${version}"; 55 - hash = "sha256-YUV66yiUdS2/ORZS7a7coqyzoXM/tnK0egEeXWLPNl0="; 55 + hash = "sha256-0Eijq2vXY+Y2g3bhEhIGnFxTCLXpw7k3iXpgj3x8nL4="; 56 56 }; 57 57 58 58 nativeBuildInputs = [
+3 -3
pkgs/games/crossfire/crossfire-arch.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "crossfire-arch"; 6 - version = "r${toString rev}"; 6 + version = rev; 7 7 8 8 src = fetchsvn { 9 9 url = "http://svn.code.sf.net/p/crossfire/code/arch/trunk/"; 10 - sha256 = sha256; 11 - rev = rev; 10 + inherit sha256; 11 + rev = "r${rev}"; 12 12 }; 13 13 14 14 installPhase = ''
+3 -3
pkgs/games/crossfire/crossfire-client.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "crossfire-client"; 10 - version = "r${toString rev}"; 10 + version = rev; 11 11 12 12 src = fetchsvn { 13 13 url = "http://svn.code.sf.net/p/crossfire/code/client/trunk/"; 14 - sha256 = sha256; 15 - rev = rev; 14 + inherit sha256; 15 + rev = "r${rev}"; 16 16 }; 17 17 18 18 nativeBuildInputs = [ cmake pkg-config perl vala ];
+3 -3
pkgs/games/crossfire/crossfire-maps.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "crossfire-maps"; 6 - version = "r${toString rev}"; 6 + version = rev; 7 7 8 8 src = fetchsvn { 9 9 url = "http://svn.code.sf.net/p/crossfire/code/maps/trunk/"; 10 - sha256 = sha256; 11 - rev = rev; 10 + inherit sha256; 11 + rev = "r${rev}"; 12 12 }; 13 13 14 14 installPhase = ''
+3 -3
pkgs/games/crossfire/crossfire-server.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "crossfire-server"; 7 - version = "r${toString rev}"; 7 + version = rev; 8 8 9 9 src = fetchsvn { 10 10 url = "http://svn.code.sf.net/p/crossfire/code/server/trunk/"; 11 - sha256 = sha256; 12 - rev = rev; 11 + inherit sha256; 12 + rev = "r${rev}"; 13 13 }; 14 14 15 15 nativeBuildInputs = [ autoconf automake libtool flex perl check pkg-config python3 ];
+4 -4
pkgs/games/crossfire/default.nix
··· 3 3 rec { 4 4 crossfire-client = callPackage ./crossfire-client.nix { 5 5 version = "1.75.0"; 6 - rev = 21760; 6 + rev = "21760"; 7 7 sha256 = "0b42sak8hj60nywfswkps777asy9p8r9wsn7pmj2nqbd29ng1p9d"; 8 8 }; 9 9 10 10 crossfire-server = callPackage ./crossfire-server.nix { 11 11 version = "latest"; 12 - rev = 22111; 12 + rev = "22111"; 13 13 sha256 = "04fjif6zv642n2zlw27cgzkak2kknwrxqzg42bvzl7q901bsr9l7"; 14 14 maps = crossfire-maps; arch = crossfire-arch; 15 15 }; 16 16 17 17 crossfire-arch = callPackage ./crossfire-arch.nix { 18 18 version = "latest"; 19 - rev = 22111; 19 + rev = "22111"; 20 20 sha256 = "0l4rp3idvbhknpxxs0w4i4nqfg01wblzm4v4j375xwxxbf00j0ms"; 21 21 }; 22 22 23 23 crossfire-maps = callPackage ./crossfire-maps.nix { 24 24 version = "latest"; 25 - rev = 22111; 25 + rev = "22111"; 26 26 sha256 = "1dwfc84acjvbjgjakkb8z8pdlksbsn90j0z8z8rq37lqx0kx1sap"; 27 27 }; 28 28 }
+2 -2
pkgs/os-specific/linux/intel-compute-runtime/default.nix
··· 11 11 12 12 stdenv.mkDerivation rec { 13 13 pname = "intel-compute-runtime"; 14 - version = "21.42.21270"; 14 + version = "22.17.23034"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "intel"; 18 18 repo = "compute-runtime"; 19 19 rev = version; 20 - sha256 = "N9MsDcsL8kBWxfZjhukcxZiSJnXxqMgWF0etOhf2/AE="; 20 + sha256 = "sha256-ae6kPiVQe3+hcqXVu2ncCaVQAoMKoDHifrkKpt6uWX8="; 21 21 }; 22 22 23 23 nativeBuildInputs = [ cmake pkg-config ];
+2 -1
pkgs/servers/home-assistant/component-packages.nix
··· 2091 2091 georss-qld-bushfire-alert-client 2092 2092 ]; 2093 2093 "qnap" = ps: with ps; [ 2094 - ]; # missing inputs: qnapstats 2094 + qnapstats 2095 + ]; 2095 2096 "qnap_qsw" = ps: with ps; [ 2096 2097 aioqsw 2097 2098 ];
+2 -2
pkgs/servers/web-apps/wiki-js/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "wiki-js"; 5 - version = "2.5.277"; 5 + version = "2.5.279"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/Requarks/wiki/releases/download/v${version}/${pname}.tar.gz"; 9 - sha256 = "sha256-YLw0DR4dbPfNY56lNybEQFXFEVPZ99sQkwDl6gtz40E="; 9 + sha256 = "sha256-4QYNKvAEeRSJS9lO30bI/SnM9rLmuvRMR/LsGT77wvY="; 10 10 }; 11 11 12 12 sourceRoot = ".";
+11 -11
pkgs/tools/admin/google-cloud-sdk/data.nix
··· 1 1 # DO NOT EDIT! This file is generated automatically by update.sh 2 2 { }: 3 3 { 4 - version = "381.0.0"; 4 + version = "384.0.1"; 5 5 googleCloudSdkPkgs = { 6 6 x86_64-linux = 7 7 { 8 - url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-381.0.0-linux-x86_64.tar.gz"; 9 - sha256 = "1m5npilxagnl8zdx2i5vgcgalbcsnd4zvi0f2y5ic3dlfgibmlxb"; 8 + url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-384.0.1-linux-x86_64.tar.gz"; 9 + sha256 = "1pa6dzizn7sjahghiwz98n906ssbq4aa9kg1f3akdsmmabh95pd7"; 10 10 }; 11 11 x86_64-darwin = 12 12 { 13 - url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-381.0.0-darwin-x86_64.tar.gz"; 14 - sha256 = "0vdbm2pl2wbyrdlf5dxs0djs6dn7kv17qvl8jxca8ylz2k296a0x"; 13 + url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-384.0.1-darwin-x86_64.tar.gz"; 14 + sha256 = "0pis92ldxxzvsamkck54d5d86ss13wipji29x082750c54gwm6w3"; 15 15 }; 16 16 aarch64-linux = 17 17 { 18 - url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-381.0.0-linux-arm.tar.gz"; 19 - sha256 = "03mkhp7kvakv8bzpj9yk9anj8y5k7iina876f7dcsbm9fiwl4g9w"; 18 + url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-384.0.1-linux-arm.tar.gz"; 19 + sha256 = "1ssxb126hjyylgjbybl7ksiqnwf2hz6y0x1s5rjicaqpw5yv0sqy"; 20 20 }; 21 21 aarch64-darwin = 22 22 { 23 - url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-381.0.0-darwin-arm.tar.gz"; 24 - sha256 = "1dsfn7rdmg1m7d9cfirl6xsdwzbzh6v62xp6nd9b17s05d4sh0kl"; 23 + url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-384.0.1-darwin-arm.tar.gz"; 24 + sha256 = "1qxhl7c1ii44drls2mpmm03n2j7274dxcsf5inrhyjgs94yl5h7b"; 25 25 }; 26 26 i686-linux = 27 27 { 28 - url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-381.0.0-linux-x86.tar.gz"; 29 - sha256 = "0y95lvky62f7pfz4g3476ci239p5c8q9p9l2xh59x38xaa69gnvb"; 28 + url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-384.0.1-linux-x86.tar.gz"; 29 + sha256 = "1gghl16bdc9vgd2p834vd2i6av81q15czi7arpnmgg9n5dl3i2c8"; 30 30 }; 31 31 }; 32 32 }
+1 -1
pkgs/tools/admin/google-cloud-sdk/update.sh
··· 5 5 6 6 # Version of Google Cloud SDK from 7 7 # https://cloud.google.com/sdk/docs/release-notes 8 - VERSION="381.0.0" 8 + VERSION="384.0.1" 9 9 10 10 function genMainSrc() { 11 11 local url="${BASE_URL}-${VERSION}-${1}-${2}.tar.gz"
+63
pkgs/tools/audio/headset-charge-indicator/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub, headsetcontrol, wrapGAppsHook, python3, gtk3 2 + , gobject-introspection, libayatana-appindicator-gtk3 }: 3 + 4 + stdenv.mkDerivation rec { 5 + # The last versioned release is 1.0.0.0 from 2020, since then there were updates but no versioned release. 6 + # This is not marked unstable because upstream encourages installation from source. 7 + pname = "headset-charge-indicator"; 8 + version = "2021-08-15"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "centic9"; 12 + repo = "headset-charge-indicator"; 13 + rev = "6e20f81a4d6118c7385b831044c468af83103193"; 14 + sha256 = "sha256-eaAbqeFY+B3CcKJywC3vaRsWZNQENTbALc7L7uW0W6U="; 15 + }; 16 + 17 + nativeBuildInputs = [ wrapGAppsHook ]; 18 + 19 + buildInputs = [ 20 + (python3.withPackages (ps: with ps; [ pygobject3 ])) 21 + headsetcontrol 22 + gtk3 23 + gobject-introspection 24 + libayatana-appindicator-gtk3 25 + ]; 26 + 27 + installPhase = '' 28 + mkdir -p $out/bin 29 + cp $src/headset-charge-indicator.py $out/bin/headset-charge-indicator.py 30 + chmod +x $out/bin/headset-charge-indicator.py 31 + 32 + substituteInPlace \ 33 + $out/bin/headset-charge-indicator.py \ 34 + --replace "default='headsetcontrol'" "default='${headsetcontrol}/bin/headsetcontrol'" 35 + 36 + cat << EOF > ${pname}.desktop 37 + [Desktop Entry] 38 + Name=Wireless headset app-indicator 39 + Categories=Application;System 40 + Exec=$out/bin/headset-charge-indicator.py 41 + Terminal=false 42 + Type=Application 43 + X-GNOME-AutoRestart=true 44 + X-GNOME-Autostart-enabled=true 45 + EOF 46 + 47 + mkdir -p $out/share/applications 48 + mkdir -p $out/etc/xdg/autostart 49 + cp ${pname}.desktop $out/share/applications/${pname}.desktop 50 + cp ${pname}.desktop $out/etc/xdg/autostart/${pname}.desktop 51 + ''; 52 + 53 + meta = with lib; { 54 + homepage = "https://github.com/centic9/headset-charge-indicator"; 55 + description = 56 + "A app-indicator for GNOME desktops for controlling some features of various wireless headsets"; 57 + longDescription = 58 + "A simple app-indicator for GNOME desktops to display the battery charge of some wireless headsets which also allows to control some functions like LEDs, sidetone and others."; 59 + platforms = platforms.linux; 60 + maintainers = with maintainers; [ zebreus ]; 61 + license = licenses.bsd2; 62 + }; 63 + }
+3 -3
pkgs/tools/graphics/grim/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, pixman, libpng, libjpeg, meson, ninja, wayland, pkg-config, scdoc, wayland-protocols }: 1 + { lib, stdenv, fetchFromSourcehut, pixman, libpng, libjpeg, meson, ninja, wayland, pkg-config, scdoc, wayland-protocols }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "grim"; 5 5 version = "1.4.0"; 6 6 7 - src = fetchFromGitHub { 8 - owner = "emersion"; 7 + src = fetchFromSourcehut { 8 + owner = "~emersion"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 11 sha256 = "sha256-lwJn1Lysv1qLauqmrduUlzdoKUrUM5uBjv+dWSsrM6w=";
+2 -5
pkgs/tools/misc/calamares/default.nix
··· 7 7 8 8 mkDerivation rec { 9 9 pname = "calamares"; 10 - version = "3.2.56"; 10 + version = "3.2.57"; 11 11 12 12 # release including submodule 13 13 src = fetchurl { 14 14 url = "https://github.com/calamares/calamares/releases/download/v${version}/${pname}-${version}.tar.gz"; 15 - sha256 = "e1402d7693659b85c5e553481a7252d91350c3f33ffea413488d7712d3281e03"; 15 + sha256 = "ef7f564ec2cd8baaf94a44982ce1db88c1192696617f21538d0b8472a63b4c2b"; 16 16 }; 17 17 18 18 patches = lib.optionals nixos-extensions [ ··· 28 28 ./nonroot.patch 29 29 # Adds unfree qml to packagechooserq 30 30 ./unfreeq.patch 31 - # Adds config to change name of packagechooserq 32 - # Upstreamed in PR: https://github.com/calamares/calamares/pull/1932 33 - ./packagechooserq.patch 34 31 # Modifies finished module to add some NixOS resources 35 32 # Modifies packagechooser module to change the UI 36 33 ./uimod.patch
-136
pkgs/tools/misc/calamares/packagechooserq.patch
··· 1 - diff --git a/src/modules/packagechooser/Config.cpp b/src/modules/packagechooser/Config.cpp 2 - index 491fe5c25..667621597 100644 3 - --- a/src/modules/packagechooser/Config.cpp 4 - +++ b/src/modules/packagechooser/Config.cpp 5 - @@ -237,6 +237,12 @@ Config::setPackageChoice( const QString& packageChoice ) 6 - emit packageChoiceChanged( m_packageChoice.value_or( QString() ) ); 7 - } 8 - 9 - +QString 10 - +Config::prettyName() const 11 - +{ 12 - + return m_stepName ? m_stepName->get() : tr( "Packages" ); 13 - +} 14 - + 15 - QString 16 - Config::prettyStatus() const 17 - { 18 - @@ -343,4 +349,14 @@ Config::setConfigurationMap( const QVariantMap& configurationMap ) 19 - cWarning() << "Single-selection QML module must use 'Legacy' method."; 20 - } 21 - } 22 - + 23 - + bool labels_ok = false; 24 - + auto labels = CalamaresUtils::getSubMap( configurationMap, "labels", labels_ok ); 25 - + if ( labels_ok ) 26 - + { 27 - + if ( labels.contains( "step" ) ) 28 - + { 29 - + m_stepName = new CalamaresUtils::Locale::TranslatedString( labels, "step" ); 30 - + } 31 - + } 32 - } 33 - diff --git a/src/modules/packagechooser/Config.h b/src/modules/packagechooser/Config.h 34 - index b04b1c30b..d1b783a8d 100644 35 - --- a/src/modules/packagechooser/Config.h 36 - +++ b/src/modules/packagechooser/Config.h 37 - @@ -98,6 +98,7 @@ public: 38 - QString packageChoice() const { return m_packageChoice.value_or( QString() ); } 39 - void setPackageChoice( const QString& packageChoice ); 40 - 41 - + QString prettyName() const; 42 - QString prettyStatus() const; 43 - 44 - signals: 45 - @@ -120,6 +121,7 @@ private: 46 - * Reading the property will return an empty QString. 47 - */ 48 - std::optional< QString > m_packageChoice; 49 - + CalamaresUtils::Locale::TranslatedString* m_stepName; // As it appears in the sidebar 50 - }; 51 - 52 - 53 - diff --git a/src/modules/packagechooser/PackageChooserViewStep.cpp b/src/modules/packagechooser/PackageChooserViewStep.cpp 54 - index 9057004de..8eacf82ec 100644 55 - --- a/src/modules/packagechooser/PackageChooserViewStep.cpp 56 - +++ b/src/modules/packagechooser/PackageChooserViewStep.cpp 57 - @@ -29,7 +29,6 @@ PackageChooserViewStep::PackageChooserViewStep( QObject* parent ) 58 - : Calamares::ViewStep( parent ) 59 - , m_config( new Config( this ) ) 60 - , m_widget( nullptr ) 61 - - , m_stepName( nullptr ) 62 - { 63 - emit nextStatusChanged( false ); 64 - } 65 - @@ -41,14 +40,12 @@ PackageChooserViewStep::~PackageChooserViewStep() 66 - { 67 - m_widget->deleteLater(); 68 - } 69 - - delete m_stepName; 70 - } 71 - 72 - - 73 - QString 74 - PackageChooserViewStep::prettyName() const 75 - { 76 - - return m_stepName ? m_stepName->get() : tr( "Packages" ); 77 - + return m_config->prettyName(); 78 - } 79 - 80 - 81 - @@ -139,16 +136,6 @@ PackageChooserViewStep::setConfigurationMap( const QVariantMap& configurationMap 82 - m_config->setDefaultId( moduleInstanceKey() ); 83 - m_config->setConfigurationMap( configurationMap ); 84 - 85 - - bool labels_ok = false; 86 - - auto labels = CalamaresUtils::getSubMap( configurationMap, "labels", labels_ok ); 87 - - if ( labels_ok ) 88 - - { 89 - - if ( labels.contains( "step" ) ) 90 - - { 91 - - m_stepName = new CalamaresUtils::Locale::TranslatedString( labels, "step" ); 92 - - } 93 - - } 94 - - 95 - if ( m_widget ) 96 - { 97 - hookupModel(); 98 - diff --git a/src/modules/packagechooser/PackageChooserViewStep.h b/src/modules/packagechooser/PackageChooserViewStep.h 99 - index 7561f2bd7..76b35aed8 100644 100 - --- a/src/modules/packagechooser/PackageChooserViewStep.h 101 - +++ b/src/modules/packagechooser/PackageChooserViewStep.h 102 - @@ -50,7 +50,6 @@ private: 103 - 104 - Config* m_config; 105 - PackageChooserPage* m_widget; 106 - - CalamaresUtils::Locale::TranslatedString* m_stepName; // As it appears in the sidebar 107 - }; 108 - 109 - CALAMARES_PLUGIN_FACTORY_DECLARATION( PackageChooserViewStepFactory ) 110 - diff --git a/src/modules/packagechooserq/PackageChooserQmlViewStep.cpp b/src/modules/packagechooserq/PackageChooserQmlViewStep.cpp 111 - index 543c9771d..7c4d5fda7 100644 112 - --- a/src/modules/packagechooserq/PackageChooserQmlViewStep.cpp 113 - +++ b/src/modules/packagechooserq/PackageChooserQmlViewStep.cpp 114 - @@ -29,7 +29,7 @@ PackageChooserQmlViewStep::PackageChooserQmlViewStep( QObject* parent ) 115 - QString 116 - PackageChooserQmlViewStep::prettyName() const 117 - { 118 - - return tr( "Packages" ); 119 - + return m_config->prettyName(); 120 - } 121 - 122 - QString 123 - @@ -83,4 +83,13 @@ PackageChooserQmlViewStep::setConfigurationMap( const QVariantMap& configuration 124 - m_config->setDefaultId( moduleInstanceKey() ); 125 - m_config->setConfigurationMap( configurationMap ); 126 - Calamares::QmlViewStep::setConfigurationMap( configurationMap ); // call parent implementation last 127 - + /*bool labels_ok = false; 128 - + auto labels = CalamaresUtils::getSubMap( configurationMap, "labels", labels_ok ); 129 - + if ( labels_ok ) 130 - + { 131 - + if ( labels.contains( "step" ) ) 132 - + { 133 - + m_stepName = new CalamaresUtils::Locale::TranslatedString( labels, "step" ); 134 - + } 135 - + }*/ 136 - }
+3 -3
pkgs/tools/misc/melody/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "melody"; 5 - version = "0.13.10"; 5 + version = "0.18.0"; 6 6 7 7 src = fetchCrate { 8 8 pname = "melody_cli"; 9 9 inherit version; 10 - sha256 = "05slrh5dqbpsvimdr0rlhj04kf1qzwij3zlardvbmvhvfccf4188"; 10 + sha256 = "1shd5m9sj9ybjzq26ipggfbc22lyzkdzq2kirgfvdk16m5r3jy2v"; 11 11 }; 12 12 13 - cargoSha256 = "0qh1byysbc6pl3cvx2vdpl8crx5id59hhrwqzk5g7091spm8wf79"; 13 + cargoSha256 = "0wz696zz7gm36dy3lxxwsiriqxk0nisdwybvknn9a38rvzd6jjbm"; 14 14 15 15 meta = with lib; { 16 16 description = "Language that compiles to regular expressions";
+47
pkgs/tools/misc/usbimager/default.nix
··· 1 + { lib, stdenv, fetchFromGitLab, pkg-config 2 + , withLibui ? true, gtk3 3 + , withUdisks ? stdenv.isLinux, udisks, glib 4 + , libX11 }: 5 + 6 + stdenv.mkDerivation rec { 7 + pname = "usbimager"; 8 + version = "1.0.8"; 9 + 10 + src = fetchFromGitLab { 11 + owner = "bztsrc"; 12 + repo = pname; 13 + rev = version; 14 + sha256 = "1j0g1anmdwc3pap3m4kfzqjfkn7q0vpmqniii2kcz7svs5h3ybga"; 15 + }; 16 + 17 + sourceRoot = "source/src/"; 18 + 19 + nativeBuildInputs = [ pkg-config ]; 20 + buildInputs = lib.optionals withUdisks [ udisks glib ] 21 + ++ lib.optional (!withLibui) libX11 22 + ++ lib.optional withLibui gtk3; 23 + # libui is bundled with the source of usbimager as a compiled static libary 24 + 25 + postPatch = '' 26 + sed -i \ 27 + -e 's|install -m 2755 -g disk|install |g' \ 28 + -e 's|-I/usr/include/gio-unix-2.0|-I${glib.dev}/include/gio-unix-2.0|g' \ 29 + -e 's|install -m 2755 -g $(GRP)|install |g' Makefile 30 + ''; 31 + 32 + dontConfigure = true; 33 + 34 + makeFlags = [ "PREFIX=$(out)" ] 35 + ++ lib.optional withLibui "USE_LIBUI=yes" 36 + ++ lib.optional withUdisks "USE_UDISKS2=yes"; 37 + 38 + meta = with lib; { 39 + description = "A very minimal GUI app that can write compressed disk images to USB drives"; 40 + homepage = "https://gitlab.com/bztsrc/usbimager"; 41 + license = licenses.mit; 42 + maintainers = with maintainers; [ vdot0x23 ]; 43 + # windows and darwin could work, but untested 44 + # feel free add them if you have a machine to test 45 + platforms = with platforms; linux; 46 + }; 47 + }
+5 -3
pkgs/top-level/all-packages.nix
··· 1153 1153 1154 1154 headsetcontrol = callPackage ../tools/audio/headsetcontrol { }; 1155 1155 1156 + headset-charge-indicator = callPackage ../tools/audio/headset-charge-indicator { }; 1157 + 1156 1158 httm = callPackage ../tools/filesystems/httm { }; 1157 1159 1158 1160 ksnip = libsForQt5.callPackage ../tools/misc/ksnip { }; ··· 4709 4711 4710 4712 usbview = callPackage ../tools/misc/usbview { }; 4711 4713 4714 + usbimager = callPackage ../tools/misc/usbimager { }; 4715 + 4712 4716 uwuify = callPackage ../tools/misc/uwuify { }; 4713 4717 4714 4718 anthy = callPackage ../tools/inputmethods/anthy { }; ··· 8053 8057 librest_1_0 = callPackage ../development/libraries/librest/1.0.nix { }; 8054 8058 8055 8059 inherit (callPackages ../development/libraries/libwebsockets { }) 8056 - libwebsockets_3_1 8057 - libwebsockets_3_2 8058 - libwebsockets_4_2 8059 8060 libwebsockets_4_3; 8060 8061 libwebsockets = libwebsockets_4_3; 8061 8062 ··· 18603 18604 libffcall = callPackage ../development/libraries/libffcall { }; 18604 18605 18605 18606 libffi = callPackage ../development/libraries/libffi { }; 18607 + libffi_3_3 = callPackage ../development/libraries/libffi/3.3.nix { }; 18606 18608 libffiBoot = libffi.override { 18607 18609 doCheck = false; 18608 18610 };
+4
pkgs/top-level/python-packages.nix
··· 8765 8765 8766 8766 qnap-qsw = callPackage ../development/python-modules/qnap-qsw{ }; 8767 8767 8768 + qnapstats = callPackage ../development/python-modules/qnapstats { }; 8769 + 8768 8770 qrcode = callPackage ../development/python-modules/qrcode { }; 8769 8771 8770 8772 qreactor = callPackage ../development/python-modules/qreactor { }; ··· 8776 8778 }; 8777 8779 8778 8780 qscintilla = self.qscintilla-qt5; 8781 + 8782 + qstylizer = callPackage ../development/python-modules/qstylizer { }; 8779 8783 8780 8784 qt5reactor = callPackage ../development/python-modules/qt5reactor { }; 8781 8785