Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
4517d658 6e1c7f74

+545 -452
+1 -1
doc/stdenv/stdenv.chapter.md
··· 887 887 888 888 Use `--prefix` to explicitly set dependencies in `PATH`. 889 889 890 - :::{note} 890 + ::: {.note} 891 891 `--prefix` essentially hard-codes dependencies into the wrapper. 892 892 They cannot be overridden without rebuilding the package. 893 893 :::
+1
lib/types.nix
··· 478 478 479 479 path = mkOptionType { 480 480 name = "path"; 481 + descriptionClass = "noun"; 481 482 check = x: isCoercibleToString x && builtins.substring 0 1 (toString x) == "/"; 482 483 merge = mergeEqualOption; 483 484 };
+8
nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
··· 1349 1349 the npm install step prunes dev dependencies. 1350 1350 </para> 1351 1351 </listitem> 1352 + <listitem> 1353 + <para> 1354 + boot.kernel.sysctl is defined as a freeformType and adds a 1355 + custom merge option for <quote>net.core.rmem_max</quote> 1356 + (taking the highest value defined to avoid conflicts between 2 1357 + services trying to set that value) 1358 + </para> 1359 + </listitem> 1352 1360 </itemizedlist> 1353 1361 </section> 1354 1362 </section>
+2
nixos/doc/manual/release-notes/rl-2211.section.md
··· 403 403 404 404 - The `nodePackages` package set now defaults to the LTS release in the `nodejs` package again, instead of being pinned to `nodejs-14_x`. Several updates to node2nix have been made for compatibility with newer Node.js and npm versions and a new `postRebuild` hook has been added for packages to perform extra build steps before the npm install step prunes dev dependencies. 405 405 406 + - boot.kernel.sysctl is defined as a freeformType and adds a custom merge option for "net.core.rmem_max" (taking the highest value defined to avoid conflicts between 2 services trying to set that value) 407 + 406 408 <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
+15 -1
nixos/modules/config/sysctl.nix
··· 21 21 options = { 22 22 23 23 boot.kernel.sysctl = mkOption { 24 + type = types.submodule { 25 + freeformType = types.attrsOf sysctlOption; 26 + options."net.core.rmem_max" = mkOption { 27 + type = types.nullOr types.ints.unsigned // { 28 + merge = loc: defs: 29 + foldl 30 + (a: b: if b.value == null then null else lib.max a b.value) 31 + 0 32 + (filterOverrides defs); 33 + }; 34 + default = null; 35 + description = lib.mdDoc "The maximum socket receive buffer size. In case of conflicting values, the highest will be used."; 36 + }; 37 + }; 24 38 default = {}; 25 39 example = literalExpression '' 26 40 { "net.ipv4.tcp_syncookies" = false; "vm.swappiness" = 60; } 27 41 ''; 28 - type = types.attrsOf sysctlOption; 29 42 description = lib.mdDoc '' 30 43 Runtime parameters of the Linux kernel, as set by 31 44 {manpage}`sysctl(8)`. Note that sysctl ··· 35 48 parameter may be a string, integer, boolean, or null 36 49 (signifying the option will not appear at all). 37 50 ''; 51 + 38 52 }; 39 53 40 54 };
+1 -1
nixos/modules/services/torrent/transmission.nix
··· 431 431 # https://trac.transmissionbt.com/browser/trunk/libtransmission/tr-udp.c?rev=11956. 432 432 # at least up to the values hardcoded here: 433 433 (mkIf cfg.settings.utp-enabled { 434 - "net.core.rmem_max" = mkDefault "4194304"; # 4MB 434 + "net.core.rmem_max" = mkDefault 4194304; # 4MB 435 435 "net.core.wmem_max" = mkDefault "1048576"; # 1MB 436 436 }) 437 437 (mkIf cfg.performanceNetParameters {
+54 -3
nixos/modules/services/web-apps/invoiceplane.nix
··· 184 184 ''; 185 185 }; 186 186 187 + cron = { 188 + 189 + enable = mkOption { 190 + type = types.bool; 191 + default = false; 192 + description = lib.mdDoc '' 193 + Enable cron service which periodically runs Invoiceplane tasks. 194 + Requires key taken from the administration page. Refer to 195 + <https://wiki.invoiceplane.com/en/1.0/modules/recurring-invoices> 196 + on how to configure it. 197 + ''; 198 + }; 199 + 200 + key = mkOption { 201 + type = types.str; 202 + description = lib.mdDoc "Cron key taken from the administration page."; 203 + }; 204 + 205 + }; 206 + 187 207 }; 188 208 189 209 }; ··· 224 244 } 225 245 { assertion = cfg.database.createLocally -> cfg.database.passwordFile == null; 226 246 message = ''services.invoiceplane.sites."${hostName}".database.passwordFile cannot be specified if services.invoiceplane.sites."${hostName}".database.createLocally is set to true.''; 227 - }] 228 - ) eachSite); 247 + } 248 + { assertion = cfg.cron.enable -> cfg.cron.key != null; 249 + message = ''services.invoiceplane.sites."${hostName}".cron.key must be set in order to use cron service.''; 250 + } 251 + ]) eachSite); 229 252 230 253 services.mysql = mkIf (any (v: v.database.createLocally) (attrValues eachSite)) { 231 254 enable = true; ··· 255 278 } 256 279 257 280 { 281 + 258 282 systemd.tmpfiles.rules = flatten (mapAttrsToList (hostName: cfg: [ 259 283 "d ${cfg.stateDir} 0750 ${user} ${webserver.group} - -" 260 284 "f ${cfg.stateDir}/ipconfig.php 0750 ${user} ${webserver.group} - -" ··· 284 308 group = webserver.group; 285 309 isSystemUser = true; 286 310 }; 311 + 312 + } 313 + { 314 + 315 + # Cron service implementation 316 + 317 + systemd.timers = mapAttrs' (hostName: cfg: ( 318 + nameValuePair "invoiceplane-cron-${hostName}" (mkIf cfg.cron.enable { 319 + wantedBy = [ "timers.target" ]; 320 + timerConfig = { 321 + OnBootSec = "5m"; 322 + OnUnitActiveSec = "5m"; 323 + Unit = "invoiceplane-cron-${hostName}.service"; 324 + }; 325 + }) 326 + )) eachSite; 327 + 328 + systemd.services = 329 + (mapAttrs' (hostName: cfg: ( 330 + nameValuePair "invoiceplane-cron-${hostName}" (mkIf cfg.cron.enable { 331 + serviceConfig = { 332 + Type = "oneshot"; 333 + User = user; 334 + ExecStart = "${pkgs.curl}/bin/curl --header 'Host: ${hostName}' http://localhost/index.php/invoices/cron/recur/${cfg.cron.key}"; 335 + }; 336 + }) 337 + )) eachSite); 338 + 287 339 } 288 340 289 341 (mkIf (cfg.webserver == "caddy") { ··· 301 353 )) eachSite; 302 354 }; 303 355 }) 304 - 305 356 306 357 ]); 307 358 }
+2 -2
nixos/modules/services/web-apps/nextcloud.nix
··· 823 823 ${if c.dbhost != null then "--database-host" else null} = ''"${c.dbhost}"''; 824 824 ${if c.dbport != null then "--database-port" else null} = ''"${toString c.dbport}"''; 825 825 ${if c.dbuser != null then "--database-user" else null} = ''"${c.dbuser}"''; 826 - "--database-pass" = "\$${dbpass.arg}"; 826 + "--database-pass" = "\"\$${dbpass.arg}\""; 827 827 "--admin-user" = ''"${c.adminuser}"''; 828 - "--admin-pass" = "\$${adminpass.arg}"; 828 + "--admin-pass" = "\"\$${adminpass.arg}\""; 829 829 "--data-dir" = ''"${datadir}/data"''; 830 830 }); 831 831 in ''
+6 -3
pkgs/applications/audio/ashuffle/default.nix
··· 6 6 , meson 7 7 , ninja 8 8 , libmpdclient 9 + , libyamlcpp 9 10 }: 10 11 11 12 stdenv.mkDerivation rec { 12 13 pname = "ashuffle"; 13 - version = "3.12.5"; 14 + version = "3.13.4"; 14 15 15 16 src = fetchFromGitHub { 16 17 owner = "joshkunz"; 17 18 repo = "ashuffle"; 18 19 rev = "v${version}"; 19 - sha256 = "sha256-dPgv6EzRxRdHkGvys601Bkg9Srd8oEjoE9jbAin74Vk="; 20 + sha256 = "sha256-J6NN0Rsc9Zw9gagksDlwpwEErs+4XmrGF9YHKlAE1FA="; 20 21 fetchSubmodules = true; 21 22 }; 22 23 23 24 dontUseCmakeConfigure = true; 24 25 nativeBuildInputs = [ cmake pkg-config meson ninja ]; 25 - buildInputs = [ libmpdclient ]; 26 + buildInputs = [ libmpdclient libyamlcpp ]; 27 + 28 + mesonFlags = [ "-Dunsupported_use_system_yamlcpp=true" ]; 26 29 27 30 meta = with lib; { 28 31 homepage = "https://github.com/joshkunz/ashuffle";
+55
pkgs/applications/networking/browsers/litebrowser/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , pkg-config 6 + , gtk3 7 + , gtkmm3 8 + , curl 9 + , poco 10 + , gumbo # litehtml dependency 11 + }: 12 + 13 + stdenv.mkDerivation { 14 + pname = "litebrowser"; 15 + version = "unstable-2022-10-31"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "litehtml"; 19 + repo = "litebrowser-linux"; 20 + rev = "4654f8fb2d5e2deba7ac6223b6639341bd3b7eba"; 21 + hash = "sha256-SvW1AOxLBLKqa+/2u2Zn+/t33ZzQHmqlcLRl6z0rK9U="; 22 + fetchSubmodules = true; # litehtml submodule 23 + }; 24 + 25 + nativeBuildInputs = [ 26 + cmake 27 + pkg-config 28 + ]; 29 + 30 + buildInputs = [ 31 + gtk3 32 + gtkmm3 33 + curl 34 + poco 35 + gumbo 36 + ]; 37 + 38 + cmakeFlags = [ 39 + "-DEXTERNAL_GUMBO=ON" 40 + ]; 41 + 42 + installPhase = '' 43 + runHook preInstall 44 + install -Dm755 litebrowser $out/bin/litebrowser 45 + runHook postInstall 46 + ''; 47 + 48 + meta = with lib; { 49 + description = "A simple browser based on the litehtml engine"; 50 + homepage = "https://github.com/litehtml/litebrowser-linux"; 51 + license = licenses.bsd3; 52 + platforms = platforms.unix; 53 + maintainers = with maintainers; [ fgaz ]; 54 + }; 55 + }
+2 -2
pkgs/applications/networking/instant-messengers/discord/default.nix
··· 2 2 let 3 3 versions = if stdenv.isLinux then { 4 4 stable = "0.0.21"; 5 - ptb = "0.0.34"; 5 + ptb = "0.0.35"; 6 6 canary = "0.0.143"; 7 7 } else { 8 8 stable = "0.0.264"; ··· 18 18 }; 19 19 ptb = fetchurl { 20 20 url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz"; 21 - sha256 = "CD6dLoBnlvhpwEFfLI9OqjhviZPj3xNDyPK9qBJUqck="; 21 + sha256 = "bnp5wfcR21s7LMPxFgj5G3UsxPWlFj4t6CbeosiufHY="; 22 22 }; 23 23 canary = fetchurl { 24 24 url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz";
+55 -9
pkgs/applications/science/misc/toil/default.nix
··· 1 1 { lib 2 2 , fetchFromGitHub 3 3 , python3 4 + , rsync 4 5 }: 5 6 6 7 python3.pkgs.buildPythonApplication rec { 7 8 pname = "toil"; 8 - version = "5.6.0"; 9 + version = "5.7.1"; 9 10 format = "setuptools"; 10 11 11 - src = python3.pkgs.fetchPypi { 12 - inherit pname version; 13 - sha256 = "sha256-m6tzrRCCLULO+wB8htUlt0KESLm/vdIeTzBrihnAo/I="; 12 + src = fetchFromGitHub { 13 + owner = "DataBiosphere"; 14 + repo = pname; 15 + rev = "refs/tags/releases/${version}"; 16 + hash = "sha256-m+XvNyzd0ly2YqKhgxezgGaCXLs3CmupJMnp5RIZqNI="; 14 17 }; 18 + 19 + postPatch = '' 20 + substituteInPlace requirements.txt \ 21 + --replace "docker>=3.7.2, <6" "docker" 22 + ''; 15 23 16 24 propagatedBuildInputs = with python3.pkgs; [ 17 25 addict 26 + dill 18 27 docker 19 - pytz 20 - pyyaml 21 28 enlighten 22 29 psutil 23 30 py-tes 31 + pypubsub 24 32 python-dateutil 25 - dill 33 + pytz 34 + pyyaml 35 + requests 36 + typing-extensions 26 37 ]; 27 38 28 - checkInputs = with python3.pkgs; [ 39 + checkInputs = [ 40 + rsync 41 + ] ++ (with python3.pkgs; [ 42 + boto 43 + botocore 44 + flask 45 + mypy-boto3-s3 29 46 pytestCheckHook 30 - ]; 47 + stubserver 48 + ]); 31 49 32 50 pytestFlagsArray = [ 33 51 "src/toil/test" ··· 35 53 36 54 pythonImportsCheck = [ 37 55 "toil" 56 + ]; 57 + 58 + disabledTestPaths = [ 59 + # Tests are reaching their timeout 60 + "src/toil/test/docs/scriptsTest.py" 61 + "src/toil/test/jobStores/jobStoreTest.py" 62 + "src/toil/test/provisioners/aws/awsProvisionerTest.py" 63 + "src/toil/test/src" 64 + "src/toil/test/wdl" 65 + "src/toil/test/utils/utilsTest.py" 66 + ]; 67 + 68 + disabledTests = [ 69 + # Tests fail starting with 5.7.1 70 + "testServices" 71 + "testConcurrencyWithDisk" 72 + "testJobConcurrency" 73 + "testNestedResourcesDoNotBlock" 74 + "test_omp_threads" 75 + "testFileSingle" 76 + "testFileSingle10000" 77 + "testFileSingleCheckpoints" 78 + "testFileSingleNonCaching" 79 + "testFetchJobStoreFiles" 80 + "testFetchJobStoreFilesWSymlinks" 81 + "testJobStoreContents" 82 + "test_cwl_on_arm" 83 + "test_cwl_toil_kill" 38 84 ]; 39 85 40 86 meta = with lib; {
+2 -2
pkgs/applications/version-management/vcsh/default.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "vcsh"; 11 - version = "2.0.4"; 11 + version = "2.0.5"; 12 12 13 13 src = fetchurl { 14 14 url = "https://github.com/RichiH/vcsh/releases/download/v${version}/${pname}-${version}.tar.xz"; 15 - sha256 = "sha256-W/Ql2J9HTDQPu0el34mHVzqe85KGWLPph2sHyuEzPPI="; 15 + sha256 = "0bf3gacbyxw75ksd8y6528kgk7mqx6grz40gfiffxa2ghsz1xl01"; 16 16 }; 17 17 18 18 nativeBuildInputs = [
+97 -33
pkgs/applications/virtualization/open-vm-tools/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, makeWrapper, autoreconfHook 2 - , bash, fuse3, libmspack, openssl, pam, xercesc, icu, libdnet, procps, libtirpc, rpcsvc-proto 3 - , libX11, libXext, libXinerama, libXi, libXrender, libXrandr, libXtst, libxcrypt 4 - , pkg-config, glib, gdk-pixbuf-xlib, gtk3, gtkmm3, iproute2, dbus, systemd, which 5 - , libdrm, udev, util-linux 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , makeWrapper 5 + , autoreconfHook 6 + , bash 7 + , fuse3 8 + , libmspack 9 + , openssl 10 + , pam 11 + , xercesc 12 + , icu 13 + , libdnet 14 + , procps 15 + , libtirpc 16 + , rpcsvc-proto 17 + , libX11 18 + , libXext 19 + , libXinerama 20 + , libXi 21 + , libXrender 22 + , libXrandr 23 + , libXtst 24 + , libxcrypt 25 + , libxml2 26 + , pkg-config 27 + , glib 28 + , gdk-pixbuf-xlib 29 + , gtk3 30 + , gtkmm3 31 + , iproute2 32 + , dbus 33 + , systemd 34 + , which 35 + , libdrm 36 + , udev 37 + , util-linux 38 + , xmlsec 6 39 , withX ? true 7 40 }: 8 41 ··· 11 44 version = "12.1.0"; 12 45 13 46 src = fetchFromGitHub { 14 - owner = "vmware"; 15 - repo = "open-vm-tools"; 16 - rev = "stable-${version}"; 47 + owner = "vmware"; 48 + repo = "open-vm-tools"; 49 + rev = "stable-${version}"; 17 50 hash = "sha256-PgrLu0Bm9Vom5WNl43312QFWKojdXDAGn3Nvj4hzPrQ="; 18 51 }; 19 52 ··· 21 54 22 55 outputs = [ "out" "dev" ]; 23 56 24 - nativeBuildInputs = [ autoreconfHook makeWrapper pkg-config ]; 25 - buildInputs = [ fuse3 glib icu libdnet libdrm libmspack libtirpc libxcrypt openssl pam procps rpcsvc-proto udev xercesc ] 26 - ++ lib.optionals withX [ gdk-pixbuf-xlib gtk3 gtkmm3 libX11 libXext libXinerama libXi libXrender libXrandr libXtst ]; 57 + nativeBuildInputs = [ 58 + autoreconfHook 59 + makeWrapper 60 + pkg-config 61 + ]; 62 + 63 + buildInputs = [ 64 + fuse3 65 + glib 66 + icu 67 + libdnet 68 + libdrm 69 + libmspack 70 + libtirpc 71 + libxcrypt 72 + libxml2 73 + openssl 74 + pam 75 + procps 76 + rpcsvc-proto 77 + udev 78 + xercesc 79 + xmlsec 80 + ] ++ lib.optionals withX [ 81 + gdk-pixbuf-xlib 82 + gtk3 83 + gtkmm3 84 + libX11 85 + libXext 86 + libXinerama 87 + libXi 88 + libXrender 89 + libXrandr 90 + libXtst 91 + ]; 27 92 28 93 postPatch = '' 29 - sed -i 's,etc/vmware-tools,''${prefix}/etc/vmware-tools,' Makefile.am 30 - sed -i 's,^confdir = ,confdir = ''${prefix},' scripts/Makefile.am 31 - sed -i 's,usr/bin,''${prefix}/usr/bin,' scripts/Makefile.am 32 - sed -i 's,etc/vmware-tools,''${prefix}/etc/vmware-tools,' services/vmtoolsd/Makefile.am 33 - sed -i 's,$(PAM_PREFIX),''${prefix}/$(PAM_PREFIX),' services/vmtoolsd/Makefile.am 94 + sed -i Makefile.am \ 95 + -e 's,etc/vmware-tools,''${prefix}/etc/vmware-tools,' 96 + sed -i scripts/Makefile.am \ 97 + -e 's,^confdir = ,confdir = ''${prefix},' \ 98 + -e 's,usr/bin,''${prefix}/usr/bin,' 99 + sed -i services/vmtoolsd/Makefile.am \ 100 + -e 's,etc/vmware-tools,''${prefix}/etc/vmware-tools,' \ 101 + -e 's,$(PAM_PREFIX),''${prefix}/$(PAM_PREFIX),' 102 + sed -i vgauth/service/Makefile.am \ 103 + -e 's,/etc/vmware-tools/vgauth/schemas,''${prefix}/etc/vmware-tools/vgauth/schemas,' \ 104 + -e 's,$(DESTDIR)/etc/vmware-tools/vgauth.conf,''${prefix}/etc/vmware-tools/vgauth.conf,' 34 105 35 - # Avoid a glibc >= 2.25 deprecation warning that gets fatal via -Werror. 36 - sed 1i'#include <sys/sysmacros.h>' -i lib/wiper/wiperPosix.c 106 + # don't abort on any warning 107 + sed -i 's,CFLAGS="$CFLAGS -Werror",,' configure.ac 37 108 38 - # Make reboot work, shutdown is not in /sbin on NixOS 39 - sed -i 's,/sbin/shutdown,shutdown,' lib/system/systemLinux.c 109 + # Make reboot work, shutdown is not in /sbin on NixOS 110 + sed -i 's,/sbin/shutdown,shutdown,' lib/system/systemLinux.c 40 111 41 - # Fix paths to fuse3 (we do not use fuse2 so that is not modified) 42 - sed -i 's,/bin/fusermount3,${fuse3}/bin/fusermount3,' vmhgfs-fuse/config.c 112 + # Fix paths to fuse3 (we do not use fuse2 so that is not modified) 113 + sed -i 's,/bin/fusermount3,${fuse3}/bin/fusermount3,' vmhgfs-fuse/config.c 43 114 44 - substituteInPlace services/plugins/vix/foundryToolsDaemon.c \ 45 - --replace "/usr/bin/vmhgfs-fuse" "${placeholder "out"}/bin/vmhgfs-fuse" \ 46 - --replace "/bin/mount" "${util-linux}/bin/mount" 115 + substituteInPlace services/plugins/vix/foundryToolsDaemon.c \ 116 + --replace "/usr/bin/vmhgfs-fuse" "${placeholder "out"}/bin/vmhgfs-fuse" \ 117 + --replace "/bin/mount" "${util-linux}/bin/mount" 47 118 ''; 48 119 49 120 configureFlags = [ 50 121 "--without-kernel-modules" 51 - "--without-xmlsecurity" 52 122 "--with-udev-rules-dir=${placeholder "out"}/lib/udev/rules.d" 53 123 "--with-fuse=fuse3" 54 124 ] ++ lib.optional (!withX) "--without-x"; 55 125 56 126 enableParallelBuilding = true; 57 127 58 - NIX_CFLAGS_COMPILE = builtins.toString [ 59 - # fix build with gcc9 60 - "-Wno-error=address-of-packed-member" 61 - "-Wno-error=format-overflow" 62 - ]; 63 - 64 128 preConfigure = '' 65 129 mkdir -p ${placeholder "out"}/lib/udev/rules.d 66 130 ''; ··· 79 143 better management of, and seamless user interactions with, guests. 80 144 ''; 81 145 license = licenses.gpl2; 82 - platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" ]; 146 + platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" ]; 83 147 maintainers = with maintainers; [ joamaki ]; 84 148 }; 85 149 }
+2 -2
pkgs/development/interpreters/luau/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "luau"; 5 - version = "0.551"; 5 + version = "0.552"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "Roblox"; 9 9 repo = "luau"; 10 10 rev = version; 11 - sha256 = "sha256-1IQeTq5eLn0jYtdc6SM0TuVJ3TUWUWtjQjAviba5ibw="; 11 + sha256 = "sha256-dxxzM9VKN4yDkVpU3uQNgiFbBXBa+ALWSG/Ut6JKOEY="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ cmake ];
+38
pkgs/development/libraries/litehtml/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , gumbo 6 + }: 7 + 8 + stdenv.mkDerivation rec { 9 + pname = "litehtml"; 10 + version = "0.6"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "litehtml"; 14 + repo = "litehtml"; 15 + rev = "v${version}"; 16 + hash = "sha256-9571d3k8RkzEpMWPuIejZ7njLmYstSwFUaSqT3sk6uQ="; 17 + }; 18 + 19 + nativeBuildInputs = [ 20 + cmake 21 + ]; 22 + 23 + buildInputs = [ 24 + gumbo 25 + ]; 26 + 27 + cmakeFlags = [ 28 + "-DEXTERNAL_GUMBO=ON" 29 + ]; 30 + 31 + meta = with lib; { 32 + description = "Fast and lightweight HTML/CSS rendering engine"; 33 + homepage = "http://www.litehtml.com/"; 34 + license = licenses.bsd3; 35 + platforms = platforms.all; 36 + maintainers = with maintainers; [ fgaz ]; 37 + }; 38 + }
-115
pkgs/development/libraries/wxwidgets/wxGTK28.nix
··· 1 - { lib 2 - , stdenv 3 - , fetchurl 4 - , cairo 5 - , gtk2 6 - , libGL 7 - , libGLU 8 - , libSM 9 - , libX11 10 - , libXinerama 11 - , libXxf86vm 12 - , pkg-config 13 - , xorgproto 14 - , compat24 ? false 15 - , compat26 ? true 16 - , unicode ? true 17 - , withMesa ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 18 - }: 19 - 20 - stdenv.mkDerivation rec { 21 - pname = "wxGTK"; 22 - version = "2.8.12.1"; 23 - 24 - src = fetchurl { 25 - url = "mirror://sourceforge/wxpython/wxPython-src-${version}.tar.bz2"; 26 - hash = "sha256-Hz8VPZ8VBMbOLSxLI+lAuPWLgfTLo1zaGluzEUIkPNA="; 27 - }; 28 - 29 - nativeBuildInputs = [ 30 - pkg-config 31 - ]; 32 - 33 - buildInputs = [ 34 - cairo 35 - gtk2 36 - libSM 37 - libX11 38 - libXinerama 39 - libXxf86vm 40 - xorgproto 41 - ] 42 - ++ lib.optional withMesa libGLU; 43 - 44 - configureFlags = [ 45 - "--enable-gtk2" 46 - "--disable-precomp-headers" 47 - "--enable-mediactrl" 48 - "--enable-graphics_ctx" 49 - (if compat24 then "--enable-compat24" else "--disable-compat24") 50 - (if compat26 then "--enable-compat26" else "--disable-compat26") 51 - ] 52 - ++ lib.optional unicode "--enable-unicode" 53 - ++ lib.optional withMesa "--with-opengl"; 54 - 55 - hardeningDisable = [ "format" ]; 56 - 57 - # These variables are used by configure to find some dependencies. 58 - SEARCH_INCLUDE = 59 - "${libXinerama.dev}/include ${libSM.dev}/include ${libXxf86vm.dev}/include"; 60 - SEARCH_LIB = 61 - "${libXinerama.out}/lib ${libSM.out}/lib ${libXxf86vm.out}/lib " 62 - + lib.optionalString withMesa "${libGLU.out}/lib ${libGL.out}/lib "; 63 - 64 - # Work around a bug in configure. 65 - NIX_CFLAGS_COMPILE = "-DHAVE_X11_XLIB_H=1 -lX11 -lcairo -Wno-narrowing"; 66 - 67 - preConfigure = '' 68 - substituteInPlace configure --replace \ 69 - 'SEARCH_INCLUDE=' 'DUMMY_SEARCH_INCLUDE=' 70 - substituteInPlace configure --replace \ 71 - 'SEARCH_LIB=' 'DUMMY_SEARCH_LIB=' 72 - substituteInPlace configure --replace \ 73 - /usr /no-such-path 74 - ''; 75 - 76 - postBuild = '' 77 - pushd contrib/src 78 - make 79 - popd 80 - ''; 81 - 82 - postInstall = '' 83 - pushd contrib/src 84 - make install 85 - popd 86 - pushd $out/include 87 - ln -s wx-*/* . 88 - popd 89 - ''; 90 - 91 - enableParallelBuilding = true; 92 - 93 - meta = with lib; { 94 - homepage = "https://www.wxwidgets.org/"; 95 - description = "A Cross-Platform C++ GUI Library"; 96 - longDescription = '' 97 - wxWidgets gives you a single, easy-to-use API for writing GUI applications 98 - on multiple platforms that still utilize the native platform's controls 99 - and utilities. Link with the appropriate library for your platform and 100 - compiler, and your application will adopt the look and feel appropriate to 101 - that platform. On top of great GUI functionality, wxWidgets gives you: 102 - online help, network programming, streams, clipboard and drag and drop, 103 - multithreading, image loading and saving in a variety of popular formats, 104 - database support, HTML viewing and printing, and much more. 105 - ''; 106 - license = licenses.wxWindows; 107 - maintainers = with maintainers; [ ]; 108 - platforms = platforms.linux; 109 - }; 110 - 111 - passthru = { 112 - inherit compat24 compat26 unicode; 113 - gtk = gtk2; 114 - }; 115 - }
-127
pkgs/development/libraries/wxwidgets/wxGTK29.nix
··· 1 - { lib 2 - , stdenv 3 - , fetchFromGitHub 4 - , autoconf 5 - , gtk2 6 - , libGL 7 - , libGLU 8 - , libSM 9 - , libXinerama 10 - , libXxf86vm 11 - , pkg-config 12 - , xorgproto 13 - , compat24 ? false 14 - , compat26 ? true 15 - , unicode ? true 16 - , withMesa ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 17 - , AGL 18 - , Carbon 19 - , Cocoa 20 - , Kernel 21 - , QuickTime 22 - , setfile 23 - }: 24 - 25 - stdenv.mkDerivation rec { 26 - pname = "wxGTK"; 27 - version = "2.9.5"; 28 - 29 - src = fetchFromGitHub { 30 - owner = "wxWidgets"; 31 - repo = "wxWidgets"; 32 - rev = "v${version}"; 33 - hash = "sha256-izefAPU4lORZxQja7/InHyElJ1++2lDloR+xPudsRNE="; 34 - }; 35 - 36 - patches = [ 37 - # https://github.com/wxWidgets/wxWidgets/issues/17942 38 - ./patches/0001-fix-assertion-using-hide-in-destroy.patch 39 - ]; 40 - 41 - nativeBuildInputs = [ 42 - autoconf 43 - pkg-config 44 - ]; 45 - 46 - buildInputs = [ 47 - gtk2 48 - libSM 49 - libXinerama 50 - libXxf86vm 51 - xorgproto 52 - ] 53 - ++ lib.optional withMesa libGLU 54 - ++ lib.optionals stdenv.isDarwin [ 55 - Carbon 56 - Cocoa 57 - Kernel 58 - QuickTime 59 - setfile 60 - ]; 61 - 62 - propagatedBuildInputs = lib.optional stdenv.isDarwin AGL; 63 - 64 - configureFlags = [ 65 - "--disable-precomp-headers" 66 - "--enable-gtk2" 67 - (if compat24 then "--enable-compat24" else "--disable-compat24") 68 - (if compat26 then "--enable-compat26" else "--disable-compat26") 69 - ] 70 - ++ lib.optional unicode "--enable-unicode" 71 - ++ lib.optional withMesa "--with-opengl" 72 - ++ lib.optionals stdenv.isDarwin [ # allow building on 64-bit 73 - "--enable-universal-binaries" 74 - "--with-cocoa" 75 - "--with-macosx-version-min=10.7" 76 - ]; 77 - 78 - SEARCH_LIB = "${libGLU.out}/lib ${libGL.out}/lib "; 79 - 80 - preConfigure = '' 81 - ./autogen.sh 82 - substituteInPlace configure --replace \ 83 - 'SEARCH_INCLUDE=' 'DUMMY_SEARCH_INCLUDE=' 84 - substituteInPlace configure --replace \ 85 - 'SEARCH_LIB=' 'DUMMY_SEARCH_LIB=' 86 - substituteInPlace configure --replace \ 87 - /usr /no-such-path 88 - '' + lib.optionalString stdenv.isDarwin '' 89 - substituteInPlace configure --replace \ 90 - 'ac_cv_prog_SETFILE="/Developer/Tools/SetFile"' \ 91 - 'ac_cv_prog_SETFILE="${setfile}/bin/SetFile"' 92 - substituteInPlace configure --replace \ 93 - "-framework System" "-lSystem" 94 - ''; 95 - 96 - postInstall = '' 97 - pushd $out/include 98 - ln -s wx-*/* . 99 - popd 100 - ''; 101 - 102 - enableParallelBuilding = true; 103 - 104 - meta = with lib; { 105 - homepage = "https://www.wxwidgets.org/"; 106 - description = "A Cross-Platform C++ GUI Library"; 107 - longDescription = '' 108 - wxWidgets gives you a single, easy-to-use API for writing GUI applications 109 - on multiple platforms that still utilize the native platform's controls 110 - and utilities. Link with the appropriate library for your platform and 111 - compiler, and your application will adopt the look and feel appropriate to 112 - that platform. On top of great GUI functionality, wxWidgets gives you: 113 - online help, network programming, streams, clipboard and drag and drop, 114 - multithreading, image loading and saving in a variety of popular formats, 115 - database support, HTML viewing and printing, and much more. 116 - ''; 117 - license = licenses.wxWindows; 118 - maintainers = with maintainers; [ ]; 119 - platforms = platforms.darwin ++ platforms.linux; 120 - badPlatforms = [ "x86_64-darwin" ]; 121 - }; 122 - 123 - passthru = { 124 - inherit compat24 compat26 unicode; 125 - gtk = gtk2; 126 - }; 127 - }
+14 -8
pkgs/development/libraries/xmlsec/default.nix
··· 22 22 23 23 nativeBuildInputs = [ pkg-config ]; 24 24 25 - buildInputs = [ libxml2 gnutls libxslt libgcrypt libtool openssl nss ]; 25 + buildInputs = [ libxml2 gnutls libgcrypt libtool openssl nss ]; 26 + 27 + propagatedBuildInputs = [ 28 + # required by xmlsec/transforms.h 29 + libxslt 30 + ]; 26 31 27 32 enableParallelBuilding = true; 28 33 doCheck = true; 29 34 checkInputs = [ nss.tools ]; 30 35 preCheck = '' 31 - substituteInPlace tests/testrun.sh \ 32 - --replace 'timestamp=`date +%Y%m%d_%H%M%S`' 'timestamp=19700101_000000' \ 33 - --replace 'TMPFOLDER=/tmp' '$(mktemp -d)' 36 + substituteInPlace tests/testrun.sh \ 37 + --replace 'timestamp=`date +%Y%m%d_%H%M%S`' 'timestamp=19700101_000000' \ 38 + --replace 'TMPFOLDER=/tmp' '$(mktemp -d)' 34 39 ''; 35 40 36 41 # enable deprecated soap headers required by lasso ··· 67 72 touch $out 68 73 ''; 69 74 70 - meta = { 75 + meta = with lib; { 71 76 description = "XML Security Library in C based on libxml2"; 72 - homepage = "http://www.aleksey.com/xmlsec"; 77 + homepage = "https://www.aleksey.com/xmlsec/"; 73 78 downloadPage = "https://www.aleksey.com/xmlsec/download.html"; 74 - license = lib.licenses.mit; 79 + license = licenses.mit; 75 80 mainProgram = "xmlsec1"; 76 - platforms = with lib.platforms; linux ++ darwin; 81 + maintainers = with maintainers; [ ]; 82 + platforms = with platforms; linux ++ darwin; 77 83 }; 78 84 } 79 85 )
+11 -13
pkgs/development/python-modules/ansible-doctor/default.nix
··· 12 12 , poetry-core 13 13 , python-json-logger 14 14 , pythonOlder 15 + , pythonRelaxDepsHook 15 16 , ruamel-yaml 16 17 }: 17 18 18 19 buildPythonPackage rec { 19 20 pname = "ansible-doctor"; 20 - version = "1.4.5"; 21 + version = "1.4.6"; 21 22 format = "pyproject"; 22 23 23 24 disabled = pythonOlder "3.7"; ··· 26 27 owner = "thegeeklab"; 27 28 repo = "ansible-doctor"; 28 29 rev = "refs/tags/v${version}"; 29 - hash = "sha256-Bqe5dqD9VEgkkIGtpkLnCf3KTziCYb5HQdMJaskALWE="; 30 + hash = "sha256-76IYH9IWeHU+PAtpLFGT5f8oG2roY3raW0NC3KUnFls="; 30 31 }; 32 + 33 + pythonRelaxDeps = true; 34 + 35 + postPatch = '' 36 + substituteInPlace pyproject.toml \ 37 + --replace 'version = "0.0.0"' 'version = "${version}"' 38 + ''; 31 39 32 40 nativeBuildInputs = [ 33 41 poetry-core 42 + pythonRelaxDepsHook 34 43 ]; 35 44 36 45 propagatedBuildInputs = [ ··· 48 57 49 58 postInstall = '' 50 59 rm $out/lib/python*/site-packages/LICENSE 51 - ''; 52 - 53 - postPatch = '' 54 - substituteInPlace pyproject.toml \ 55 - --replace 'version = "0.0.0"' 'version = "${version}"' \ 56 - --replace 'Jinja2 = "3.1.2"' 'Jinja2 = "*"' \ 57 - --replace 'anyconfig = "0.13.0"' 'anyconfig = "*"' \ 58 - --replace 'environs = "9.5.0"' 'environs = "*"' \ 59 - --replace 'jsonschema = "4.15.0"' 'jsonschema = "*"' \ 60 - --replace '"ruamel.yaml" = "0.17.21"' '"ruamel.yaml" = "*"' \ 61 - --replace 'python-json-logger = "2.0.4"' 'python-json-logger = "*"' 62 60 ''; 63 61 64 62 # Module has no tests
+5 -2
pkgs/development/python-modules/apprise/default.nix
··· 14 14 , pyyaml 15 15 , requests 16 16 , requests-oauthlib 17 - , six 18 17 , slixmpp 19 18 }: 20 19 ··· 42 41 pyyaml 43 42 requests 44 43 requests-oauthlib 45 - six 46 44 ]; 47 45 48 46 checkInputs = [ ··· 56 54 disabledTests = [ 57 55 "test_apprise_cli_nux_env" 58 56 "test_plugin_mqtt_general" 57 + ]; 58 + 59 + disabledTestPaths = [ 60 + # AttributeError: module 'apprise.plugins' has no attribute 'NotifyBulkSMS' 61 + "test/test_plugin_bulksms.py" 59 62 ]; 60 63 61 64 postInstall = ''
+45
pkgs/development/python-modules/datasette-publish-fly/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , cogapp 4 + , datasette 5 + , fetchFromGitHub 6 + , pytest-mock 7 + , pytestCheckHook 8 + , pythonOlder 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "datasette-publish-fly"; 13 + version = "1.2"; 14 + format = "setuptools"; 15 + 16 + disabled = pythonOlder "3.7"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "simonw"; 20 + repo = pname; 21 + rev = version; 22 + hash = "sha256-0frP/RkpZX6LCR8cOlzcBG3pbcOh0KPuELlYUXS3dRE="; 23 + }; 24 + 25 + propagatedBuildInputs = [ 26 + datasette 27 + ]; 28 + 29 + checkInputs = [ 30 + cogapp 31 + pytest-mock 32 + pytestCheckHook 33 + ]; 34 + 35 + pythonImportsCheck = [ 36 + "datasette_publish_fly" 37 + ]; 38 + 39 + meta = with lib; { 40 + description = "Datasette plugin for publishing data using Fly"; 41 + homepage = "https://datasette.io/plugins/datasette-publish-fly"; 42 + license = licenses.asl20; 43 + maintainers = with maintainers; [ fab ]; 44 + }; 45 + }
+21 -16
pkgs/development/python-modules/dm-sonnet/default.nix
··· 1 1 { lib 2 - , fetchFromGitHub 2 + , absl-py 3 3 , buildPythonPackage 4 + , dm-tree 5 + , docutils 6 + , etils 7 + , fetchFromGitHub 4 8 , numpy 9 + , pythonOlder 5 10 , tabulate 6 - , six 7 - , dm-tree 8 - , absl-py 11 + , tensorflow 12 + , tensorflow-datasets 9 13 , wrapt 10 - , docutils 11 - , tensorflow 12 - , tensorflow-datasets }: 14 + }: 13 15 14 16 buildPythonPackage rec { 15 17 pname = "dm-sonnet"; 16 18 version = "2.0.0"; 19 + format = "setuptools"; 20 + 21 + disabled = pythonOlder "3.6"; 17 22 18 23 src = fetchFromGitHub { 19 24 owner = "deepmind"; 20 25 repo = "sonnet"; 21 26 rev = "v${version}"; 22 - sha256 = "sha256-YSMeH5ZTfP1OdLBepsxXAVczBG/ghSjCWjoz/I+TFl8="; 27 + hash = "sha256-YSMeH5ZTfP1OdLBepsxXAVczBG/ghSjCWjoz/I+TFl8="; 23 28 }; 24 29 25 - buildInputs = [ 26 - absl-py 30 + propagatedBuildInputs = [ 27 31 dm-tree 32 + etils 28 33 numpy 29 - six 30 34 tabulate 31 35 wrapt 32 - ]; 36 + ] ++ etils.optional-dependencies.epath; 33 37 34 - propagatedBuildInputs = [ 35 - tabulate 36 - tensorflow 37 - ]; 38 + passthru.optional-dependencies = { 39 + tensorflow = [ 40 + tensorflow 41 + ]; 42 + }; 38 43 39 44 checkInputs = [ 40 45 docutils
+10 -3
pkgs/development/python-modules/docker/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "docker"; 17 - version = "6.0.0"; 17 + version = "6.0.1"; 18 18 format = "pyproject"; 19 + 19 20 disabled = pythonOlder "3.7"; 20 21 21 22 src = fetchPypi { 22 23 inherit pname version; 23 - sha256 = "sha256-GeMwRwr0AWfSk7A1JXjB+iLXSzTT7fXU/5DrwgO7svE="; 24 + hash = "sha256-iWxCguXHr1xF6LaDsLDDOTKXT+blD8aQagqDYWqz2pc="; 24 25 }; 25 26 26 27 nativeBuildInputs = [ ··· 47 48 ]; 48 49 49 50 # Deselect socket tests on Darwin because it hits the path length limit for a Unix domain socket 50 - disabledTests = lib.optionals stdenv.isDarwin [ "api_test" "stream_response" "socket_file" ]; 51 + disabledTests = lib.optionals stdenv.isDarwin [ 52 + "api_test" "stream_response" "socket_file" 53 + ]; 51 54 52 55 dontUseSetuptoolsCheck = true; 56 + 57 + pythonImportsCheck = [ 58 + "docker" 59 + ]; 53 60 54 61 meta = with lib; { 55 62 description = "An API client for docker written in Python";
+32
pkgs/development/python-modules/stubserver/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pythonOlder 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "stubserver"; 9 + version = "1.1"; 10 + format = "setuptools"; 11 + 12 + disabled = pythonOlder "3.7"; 13 + 14 + src = fetchPypi { 15 + inherit pname version; 16 + hash = "sha256-j9R7wpvb07FuN5EhIpE7xTSf26AniQZN4iLpxMjNYKA="; 17 + }; 18 + 19 + # Tests are not shipped and the source not tagged 20 + doCheck = false; 21 + 22 + pythonImportsCheck = [ 23 + "stubserver" 24 + ]; 25 + 26 + meta = with lib; { 27 + description = "Web and FTP server for use in unit and7or acceptance tests"; 28 + homepage = "https://github.com/tarttelin/Python-Stub-Server"; 29 + license = licenses.bsd2; 30 + maintainers = with maintainers; [ fab ]; 31 + }; 32 + }
+3 -3
pkgs/development/tools/apksigcopier/default.nix
··· 9 9 10 10 python3.pkgs.buildPythonApplication rec { 11 11 pname = "apksigcopier"; 12 - version = "1.0.1"; 12 + version = "1.1.0"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "obfusk"; 16 16 repo = "apksigcopier"; 17 - rev = "v${version}"; 18 - sha256 = "07ldq3q1x2lpb15q5s5i1pbg89sn6ah45amskm9pndqlh16z9k2x"; 17 + rev = "refs/tags/v${version}"; 18 + sha256 = "sha256-58NoYe26GsNE0jpSRt4sIkTJ2iR4VVnvthOfi7QFfN0="; 19 19 }; 20 20 21 21 nativeBuildInputs = [
+3 -3
pkgs/development/tools/kubie/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "kubie"; 5 - version = "0.19.0"; 5 + version = "0.19.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 rev = "v${version}"; 9 9 owner = "sbstp"; 10 10 repo = "kubie"; 11 - sha256 = "sha256-K7zoohyVBnRMqwpizBs+wlN/gkgGjBHNk1cwxY7P3Hs="; 11 + sha256 = "sha256-tZ4qa48I/J62bqc9eoSSpTrJjU+LpweF/kI1TMiFrEY="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-feNmtUkpN+RdMrvF2ZY2BcZ0p8qEqw6Hr+p4be3YavA="; 14 + cargoSha256 = "sha256-WpX1wkMPtUwT6KOi0Bij1tzGlDhti828wBSfzpXuZaY="; 15 15 16 16 nativeBuildInputs = [ installShellFiles ]; 17 17
+3 -3
pkgs/development/tools/millet/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "millet"; 5 - version = "0.5.12"; 5 + version = "0.5.13"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "azdavis"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-COVWn8RTUQSCHkjUgD9I+lZ4u/M7wqAV6tnDW7HIytY="; 11 + sha256 = "sha256-2fb7jt/wTDLFxRPzJ8i/JmlQvXBG9zjmE7nYBfmMis8="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-/7I1RdDo2o2uMUVEMjSCltmU8eW39cCgpzHztePE3Kw="; 14 + cargoSha256 = "sha256-JCO+IxDQeB3CTMpGD8D+1O7Vj2pBxvvnP9M48vVUEsc="; 15 15 16 16 postPatch = '' 17 17 rm .cargo/config.toml
+2 -2
pkgs/development/tools/misc/linuxkit/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "linuxkit"; 5 - version = "1.0.0"; 5 + version = "1.0.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "linuxkit"; 9 9 repo = "linuxkit"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-y/jsMr7HmrHjVMn4fyQ3MPHION8hQO2G4udX1AMx8bk="; 11 + sha256 = "sha256-8x9oJaYb/mN2TUaVrGOYi5/6TETD78jif0SwCSc0kyo="; 12 12 }; 13 13 14 14 vendorSha256 = null;
+2 -4
pkgs/os-specific/solo5/default.nix
··· 2 2 , pkg-config, qemu, syslinux, util-linux }: 3 3 4 4 let 5 - version = "0.7.3"; 5 + version = "0.7.4"; 6 6 # list of all theoretically available targets 7 7 targets = [ 8 8 "genode" ··· 21 21 22 22 src = fetchurl { 23 23 url = "https://github.com/Solo5/solo5/releases/download/v${version}/solo5-v${version}.tar.gz"; 24 - sha256 = "sha256-8LftT22XzmmWxgYez+BAHDX4HOyl5DrwrpuO2+bqqcY="; 24 + sha256 = "sha256-ovDdaS2cDufe5gTgi+t2C8waWiRC40/2flLLJlz+NvU="; 25 25 }; 26 - 27 - patches = [ ./fix_paths.patch ./test_sleep.patch ]; 28 26 29 27 hardeningEnable = [ "pie" ]; 30 28
-29
pkgs/os-specific/solo5/fix_paths.patch
··· 1 - diff --git a/toolchain/cc.in b/toolchain/cc.in 2 - index 337562a..0ec9315 100644 3 - --- a/toolchain/cc.in 4 - +++ b/toolchain/cc.in 5 - @@ -30,9 +30,9 @@ 6 - # symbols. 7 - 8 - prog="$(basename $0)" 9 - -I="$(dirname $0)/../include" 10 - +I="$(realpath $0 | xargs dirname)/../include" 11 - [ ! -d "${I}" ] && echo "$prog: Could not determine include path" 1>&2 && exit 1 12 - -L="$(dirname $0)/../lib/@@CONFIG_TARGET_TRIPLE@@" 13 - +L="$(realpath $0 | xargs dirname)/../lib/@@CONFIG_TARGET_TRIPLE@@" 14 - [ ! -d "${L}" ] && echo "$prog: Could not determine library path" 1>&2 && exit 1 15 - # we can't really tell if 'cc' is called with no input, but work around the 16 - # most obvious cases and stop them from "succeeding" and producing an "a.out" 17 - diff --git a/toolchain/ld.in b/toolchain/ld.in 18 - index 01dffa8..13dca2c 100644 19 - --- a/toolchain/ld.in 20 - +++ b/toolchain/ld.in 21 - @@ -28,7 +28,7 @@ 22 - # linking a unikernel. No default for ABI is provided, as it is expected that a 23 - # caller directly using 'ld' knows what they are doing. 24 - 25 - -L="$(dirname $0)/../lib/@@CONFIG_TARGET_TRIPLE@@" 26 - +L="$(realpath $0 | xargs dirname)/../lib/@@CONFIG_TARGET_TRIPLE@@" 27 - [ ! -d "${L}" ] && echo "$0: Could not determine library path" 1>&2 && exit 1 28 - # ld accepts -z solo5-abi=ABI, but does not provide a default ABI 29 - # this is intentional
-22
pkgs/os-specific/solo5/test_sleep.patch
··· 1 - diff --git a/tests/test_time/test_time.c b/tests/test_time/test_time.c 2 - index 931500b..cde64ad 100644 3 - --- a/tests/test_time/test_time.c 4 - +++ b/tests/test_time/test_time.c 5 - @@ -110,7 +110,8 @@ int solo5_app_main(const struct solo5_start_info *si __attribute__((unused))) 6 - /* 7 - * Verify that we did not sleep less than requested (see above). 8 - */ 9 - - if (delta < NSEC_PER_SEC) { 10 - + const solo5_time_t slack = 100000000ULL; 11 - + if (delta < NSEC_PER_SEC - slack) { 12 - printf("[%d] ERROR: slept too little (expected at least %llu ns)\n", 13 - iters, (unsigned long long)NSEC_PER_SEC); 14 - failed = true; 15 - @@ -120,7 +121,6 @@ int solo5_app_main(const struct solo5_start_info *si __attribute__((unused))) 16 - * Verify that we did not sleep more than requested, within reason 17 - * (scheduling delays, general inaccuracy of the current timing code). 18 - */ 19 - - const solo5_time_t slack = 100000000ULL; 20 - if (delta > (NSEC_PER_SEC + slack)) { 21 - printf("[%d] ERROR: slept too much (expected at most %llu ns)\n", 22 - iters, (unsigned long long)slack);
+5 -2
pkgs/tools/compression/bzip3/default.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "bzip3"; 10 - version = "1.1.8"; 10 + version = "1.2.0"; 11 11 12 12 outputs = [ "bin" "dev" "out" ]; 13 13 ··· 15 15 owner = "kspalaiologos"; 16 16 repo = "bzip3"; 17 17 rev = version; 18 - hash = "sha256-ok5LwarXVe2gwwfIWVSfHHY0lt1IfGtkLPlVo757G6g="; 18 + hash = "sha256-Ul4nybQ+Gj3i41AFxk2WzVD+b2dJVyCUBuX4ZGjXwUs="; 19 19 }; 20 20 21 21 postPatch = '' 22 22 echo -n "${version}" > .tarball-version 23 23 patchShebangs build-aux 24 + 25 + # build-aux/ax_subst_man_date.m4 calls git if the file exists 26 + rm .gitignore 24 27 ''; 25 28 26 29 nativeBuildInputs = [
+4 -5
pkgs/tools/misc/eva/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "eva"; 5 - version = "0.3.0-2"; 5 + version = "0.3.1"; 6 6 7 7 src = fetchCrate { 8 - inherit pname; 9 - version = "0.3.0"; 10 - sha256 = "sha256-oeNv4rKZAl/gQ8b8Yr7fgQeeszJjzMcf9q1KzYpVS1Y="; 8 + inherit pname version; 9 + sha256 = "sha256-eX2d9h6zNbheS68j3lyhJW05JZmQN2I2MdcmiZB8Mec="; 11 10 }; 12 11 13 - cargoSha256 = "sha256-WBniKff9arVgNFBY2pwB0QgEBvzCL0Dls+6N49V86to="; 12 + cargoSha256 = "sha256-gnym2sedyzQzubOtj64Yoh+sKT+sa60w/Z72hby7Pms="; 14 13 15 14 meta = with lib; { 16 15 description = "A calculator REPL, similar to bc";
+3 -3
pkgs/tools/misc/fluent-bit/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, flex, bison, systemd, openssl, libyaml }: 1 + { lib, stdenv, fetchFromGitHub, cmake, flex, bison, systemd, postgresql, openssl, libyaml }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "fluent-bit"; ··· 13 13 14 14 nativeBuildInputs = [ cmake flex bison ]; 15 15 16 - buildInputs = [ openssl libyaml ] 16 + buildInputs = [ openssl libyaml postgresql ] 17 17 ++ lib.optionals stdenv.isLinux [ systemd ]; 18 18 19 - cmakeFlags = [ "-DFLB_METRICS=ON" "-DFLB_HTTP_SERVER=ON" ]; 19 + cmakeFlags = [ "-DFLB_METRICS=ON" "-DFLB_HTTP_SERVER=ON" "-DFLB_OUT_PGSQL=ON" ]; 20 20 21 21 # _FORTIFY_SOURCE requires compiling with optimization (-O) 22 22 NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isGNU [ "-O" ]
+3 -2
pkgs/tools/misc/nncp/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "nncp"; 6 - version = "8.8.0"; 6 + version = "8.8.1"; 7 7 outputs = [ "out" "doc" "info" ]; 8 8 9 9 src = fetchurl { 10 10 url = "http://www.nncpgo.org/download/${pname}-${version}.tar.xz"; 11 - sha256 = "829E2FB2F1EED8AF7ACE4554405E56F0341BE2A01C234A34D01122382AA0794C"; 11 + sha256 = "426463C97211AD88DF74DDDF61BDBB830BAE275668B2F23158D43146517469A6"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ go redo-apenwarr ]; ··· 54 54 ''; 55 55 homepage = "http://www.nncpgo.org/"; 56 56 downloadPage = "http://www.nncpgo.org/Tarballs.html"; 57 + changelog = "http://www.nncpgo.org/News.html"; 57 58 license = licenses.gpl3Only; 58 59 platforms = platforms.all; 59 60 maintainers = with maintainers; [ ehmry woffs ];
+2 -2
pkgs/tools/networking/ghz/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "ghz"; 5 - version = "0.110.0"; 5 + version = "0.111.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "bojand"; 9 9 repo = "ghz"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-lAQGog45COrS2a5ZmFZEDERdZt24DnVSkPz49txqFmo="; 11 + sha256 = "sha256-FXehWUdFHsWYF/WXrJtmoDIb0Smh3D4aSJS8aOpvoxg="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-VjrSUP0SwE5iOTevqIGlnSjH+TV4Ajx/PKuco9etkSc=";
+7 -5
pkgs/tools/security/fwbuilder/default.nix
··· 20 20 hash = "sha256-j5HjGcIqq93Ca9OBqEgSotoSXyw+q6Fqxa3hKk1ctwQ="; 21 21 }; 22 22 23 + postPatch = '' 24 + # Avoid blanket -Werror as it triggers on any minor compiler 25 + # warnings like deprecated functions or invalid indentat8ion. 26 + # Leave fixing these problems to upstream. 27 + substituteInPlace CMakeLists.txt --replace ';-Werror;' ';' 28 + ''; 29 + 23 30 nativeBuildInputs = [ 24 31 cmake 25 32 ninja ··· 30 37 wayland 31 38 wayland-protocols 32 39 qtwayland 33 - ]; 34 - 35 - NIX_CFLAGS_COMPILE = [ 36 - "-Wno-error=misleading-indentation" 37 - "-Wno-error=deprecated-declarations" 38 40 ]; 39 41 40 42 meta = with lib; {
+8 -8
pkgs/tools/security/ghidra/build.nix
··· 6 6 , gradle 7 7 , perl 8 8 , makeWrapper 9 - , openjdk11 9 + , openjdk17 10 10 , unzip 11 11 , makeDesktopItem 12 12 , autoPatchelfHook ··· 19 19 let 20 20 pkg_path = "$out/lib/ghidra"; 21 21 pname = "ghidra"; 22 - version = "10.1.2"; 22 + version = "10.2"; 23 23 24 24 src = fetchFromGitHub { 25 25 owner = "NationalSecurityAgency"; 26 26 repo = "Ghidra"; 27 27 rev = "Ghidra_${version}_build"; 28 - sha256 = "sha256-gnSIXje0hUpAculNXAyiS7Twc5XWitMgYp7svyZQxzE="; 28 + sha256 = "sha256-b6xUSAZgyvpJFiG3/kl2s1vpq9n1etnoa7AJLF3NdZY="; 29 29 }; 30 30 31 31 desktopItem = makeDesktopItem { ··· 90 90 export GRADLE_USER_HOME="$HOME/.gradle" 91 91 92 92 # First, fetch the static dependencies. 93 - gradle --no-daemon --info -Dorg.gradle.java.home=${openjdk11} -I gradle/support/fetchDependencies.gradle init 93 + gradle --no-daemon --info -Dorg.gradle.java.home=${openjdk17} -I gradle/support/fetchDependencies.gradle init 94 94 95 95 # Then, fetch the maven dependencies. 96 - gradle --no-daemon --info -Dorg.gradle.java.home=${openjdk11} resolveDependencies 96 + gradle --no-daemon --info -Dorg.gradle.java.home=${openjdk17} resolveDependencies 97 97 ''; 98 98 # perl code mavenizes pathes (com.squareup.okio/okio/1.13.0/a9283170b7305c8d92d25aff02a6ab7e45d06cbe/okio-1.13.0.jar -> com/squareup/okio/okio/1.13.0/okio-1.13.0.jar) 99 99 installPhase = '' ··· 104 104 ''; 105 105 outputHashAlgo = "sha256"; 106 106 outputHashMode = "recursive"; 107 - outputHash = "sha256-UHV7Z2HaVTOCY5U0zjUtkchJicrXMBfYBHvL8AA7NTg="; 107 + outputHash = "sha256-Z4RS3IzDP8V3SrrwOuX/hTlX7fs3woIhR8GPK/tFAzs="; 108 108 }; 109 109 110 110 in stdenv.mkDerivation rec { ··· 128 128 129 129 sed -i "s#mavenLocal()#mavenLocal(); maven { url '${deps}/maven' }#g" build.gradle 130 130 131 - gradle --offline --no-daemon --info -Dorg.gradle.java.home=${openjdk11} buildGhidra 131 + gradle --offline --no-daemon --info -Dorg.gradle.java.home=${openjdk17} buildGhidra 132 132 ''; 133 133 134 134 installPhase = '' ··· 156 156 mkdir -p "$out/bin" 157 157 ln -s "${pkg_path}/ghidraRun" "$out/bin/ghidra" 158 158 wrapProgram "${pkg_path}/support/launch.sh" \ 159 - --prefix PATH : ${lib.makeBinPath [ openjdk11 ]} 159 + --prefix PATH : ${lib.makeBinPath [ openjdk17 ]} 160 160 ''; 161 161 162 162 meta = with lib; {
+2 -1
pkgs/tools/security/trueseeing/default.nix
··· 31 31 32 32 postPatch = '' 33 33 substituteInPlace pyproject.toml \ 34 - --replace "attrs~=21.4" "attrs>=21.4" 34 + --replace "attrs~=21.4" "attrs>=21.4" \ 35 + --replace "docker~=5.0.3" "docker" 35 36 ''; 36 37 37 38 # Project has no tests
+2 -3
pkgs/tools/system/btop/default.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "btop"; 11 - version = "1.2.12"; 12 - hash = "sha256-ieNwFCDJF0U1wTfAeWM22CS3RE1SEp12ODHsRVYFoKU="; 11 + version = "1.2.13"; 13 12 14 13 src = fetchFromGitHub { 15 14 owner = "aristocratos"; 16 15 repo = pname; 17 16 rev = "v${version}"; 18 - sha256 = hash; 17 + hash = "sha256-F/muCjhcnM+VqAn6FlD4lv23OLITrmtnHkFc5zv97yk="; 19 18 }; 20 19 21 20 ADDFLAGS = with darwin.apple_sdk.frameworks;
+2 -2
pkgs/tools/system/fio/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "fio"; 7 - version = "3.32"; 7 + version = "3.33"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "axboe"; 11 11 repo = "fio"; 12 12 rev = "fio-${version}"; 13 - sha256 = "sha256-z9p9WDVjKQAQIP1v5RxnDXjwVl4SVZOvdxlSt5NZN1k="; 13 + sha256 = "sha256-d4Fx2QdO+frt+gcBzegJ9CW5NJQRLNkML/iD3te/1d0="; 14 14 }; 15 15 16 16 buildInputs = [ python3 zlib ]
+3
pkgs/top-level/aliases.nix
··· 1563 1563 wormhole-rs = magic-wormhole-rs; # Added 2022-05-30. preserve, reason: Arch package name, main binary name 1564 1564 wmii_hg = wmii; 1565 1565 ws = throw "ws has been dropped due to the lack of maintenance from upstream since 2018"; # Added 2022-06-03 1566 + wxGTK = throw "wxGTK28 has been removed from nixpkgs as it has reached end of life"; # Added 2022-11-04 1567 + wxGTK28 = throw "wxGTK28 has been removed from nixpkgs as it has reached end of life"; # Added 2022-11-04 1568 + wxGTK29 = throw "wxGTK29 has been removed from nixpkgs as it has reached end of life"; # Added 2022-11-04 1566 1569 wxGTK31-gtk2 = throw "'wxGTK31-gtk2' has been removed from nixpkgs as it depends on deprecated GTK2"; # Added 2022-10-27 1567 1570 wxGTK31-gtk3 = throw "'wxGTK31-gtk3' has been renamed to/replaced by 'wxGTK31'"; # Added 2022-10-27 1568 1571 wxmupen64plus = throw "wxmupen64plus was removed because the upstream disappeared"; # Added 2022-01-31
+8 -10
pkgs/top-level/all-packages.nix
··· 21154 21154 21155 21155 liquidfun = callPackage ../development/libraries/liquidfun { }; 21156 21156 21157 + litehtml = callPackage ../development/libraries/litehtml { }; 21158 + 21157 21159 live555 = callPackage ../development/libraries/live555 { }; 21158 21160 21159 21161 log4cpp = callPackage ../development/libraries/log4cpp { }; ··· 22914 22916 22915 22917 wxformbuilder = callPackage ../development/tools/wxformbuilder { 22916 22918 inherit (darwin.apple_sdk.frameworks) Cocoa; 22917 - }; 22918 - 22919 - wxGTK = wxGTK28; 22920 - 22921 - wxGTK28 = callPackage ../development/libraries/wxwidgets/wxGTK28.nix { }; 22922 - 22923 - wxGTK29 = callPackage ../development/libraries/wxwidgets/wxGTK29.nix { 22924 - inherit (darwin.stubs) setfile; 22925 - inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel QuickTime; 22926 22919 }; 22927 22920 22928 22921 wxGTK30 = callPackage ../development/libraries/wxwidgets/wxGTK30.nix { ··· 30026 30019 30027 30020 lingot = callPackage ../applications/audio/lingot { }; 30028 30021 30022 + litebrowser = callPackage ../applications/networking/browsers/litebrowser { }; 30023 + 30029 30024 littlegptracker = callPackage ../applications/audio/littlegptracker { 30030 30025 inherit (darwin.apple_sdk.frameworks) Foundation; 30031 30026 }; ··· 30616 30611 30617 30612 ninjas2 = callPackage ../applications/audio/ninjas2 {}; 30618 30613 30619 - nncp = callPackage ../tools/misc/nncp { }; 30614 + nncp = ( 30615 + if stdenv.isDarwin 30616 + then darwin.apple_sdk_11_0.callPackage 30617 + else callPackage) ../tools/misc/nncp { }; 30620 30618 30621 30619 notion = callPackage ../applications/window-managers/notion { }; 30622 30620
+4
pkgs/top-level/python-packages.nix
··· 2175 2175 2176 2176 datasette = callPackage ../development/python-modules/datasette { }; 2177 2177 2178 + datasette-publish-fly = callPackage ../development/python-modules/datasette-publish-fly { }; 2179 + 2178 2180 datasette-template-sql = callPackage ../development/python-modules/datasette-template-sql { }; 2179 2181 2180 2182 datashader = callPackage ../development/python-modules/datashader { }; ··· 10723 10725 striprtf = callPackage ../development/python-modules/striprtf { }; 10724 10726 10725 10727 structlog = callPackage ../development/python-modules/structlog { }; 10728 + 10729 + stubserver = callPackage ../development/python-modules/stubserver { }; 10726 10730 10727 10731 stumpy = callPackage ../development/python-modules/stumpy { }; 10728 10732