lol

Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
e4fc9a91 99dd0da8

+466 -274
+1 -1
.github/ISSUE_TEMPLATE/unreproducible_package.md
··· 2 2 name: Unreproducible package 3 3 about: A package that does not produce a bit-by-bit reproducible result each time it is built 4 4 title: '' 5 - labels: '0.kind: enhancement', '6.topic: reproducible builds' 5 + labels: [ '0.kind: enhancement', '6.topic: reproducible builds' ] 6 6 assignees: '' 7 7 8 8 ---
+1 -1
doc/Makefile
··· 11 11 pandoc_flags = --extract-media=$(pandoc_media_dir) \ 12 12 --lua-filter=$(PANDOC_LUA_FILTERS_DIR)/diagram-generator.lua \ 13 13 --lua-filter=build-aux/pandoc-filters/myst-reader/roles.lua \ 14 - --lua-filter=build-aux/pandoc-filters/link-unix-man-references.lua \ 14 + --lua-filter=$(PANDOC_LINK_MANPAGES_FILTER) \ 15 15 --lua-filter=build-aux/pandoc-filters/docbook-writer/rst-roles.lua \ 16 16 --lua-filter=build-aux/pandoc-filters/docbook-writer/labelless-link-is-xref.lua \ 17 17 -f commonmark$(pandoc_commonmark_enabled_extensions)+smart
+1 -1
doc/contributing/contributing-to-documentation.chapter.md
··· 53 53 This syntax is taken from [MyST](https://myst-parser.readthedocs.io/en/latest/using/syntax.html#targets-and-cross-referencing). 54 54 55 55 - []{#ssec-contributing-markup-inline-roles} 56 - If you want to link to a man page, you can use `` {manpage}`nix.conf(5)` ``, which will turn into {manpage}`nix.conf(5)`. The references will turn into links when a mapping exists in {file}`doc/build-aux/pandoc-filters/link-unix-man-references.lua`. 56 + If you want to link to a man page, you can use `` {manpage}`nix.conf(5)` ``, which will turn into {manpage}`nix.conf(5)`. The references will turn into links when a mapping exists in {file}`doc/manpage-urls.json`. 57 57 58 58 A few markups for other kinds of literals are also available: 59 59
+1
doc/default.nix
··· 36 36 37 37 # Environment variables 38 38 PANDOC_LUA_FILTERS_DIR = "${pkgs.pandoc-lua-filters}/share/pandoc/filters"; 39 + PANDOC_LINK_MANPAGES_FILTER = import build-aux/pandoc-filters/link-manpages.nix { inherit pkgs; }; 39 40 }
+29
doc/manpage-urls.json
··· 1 + { 2 + "nix.conf(5)": "https://nixos.org/manual/nix/stable/#sec-conf-file", 3 + 4 + "journald.conf(5)": "https://www.freedesktop.org/software/systemd/man/journald.conf.html", 5 + "logind.conf(5)": "https://www.freedesktop.org/software/systemd/man/logind.conf.html", 6 + "networkd.conf(5)": "https://www.freedesktop.org/software/systemd/man/networkd.conf.html", 7 + "systemd.automount(5)": "https://www.freedesktop.org/software/systemd/man/systemd.automount.html", 8 + "systemd.exec(5)": "https://www.freedesktop.org/software/systemd/man/systemd.exec.html", 9 + "systemd.link(5)": "https://www.freedesktop.org/software/systemd/man/systemd.link.html", 10 + "systemd.mount(5)": "https://www.freedesktop.org/software/systemd/man/systemd.mount.html", 11 + "systemd.netdev(5)": "https://www.freedesktop.org/software/systemd/man/systemd.netdev.html", 12 + "systemd.network(5)": "https://www.freedesktop.org/software/systemd/man/systemd.network.html", 13 + "systemd.nspawn(5)": "https://www.freedesktop.org/software/systemd/man/systemd.nspawn.html", 14 + "systemd.path(5)": "https://www.freedesktop.org/software/systemd/man/systemd.path.html", 15 + "systemd.resource-control(5)": "https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html", 16 + "systemd.scope(5)": "https://www.freedesktop.org/software/systemd/man/systemd.scope.html", 17 + "systemd.service(5)": "https://www.freedesktop.org/software/systemd/man/systemd.service.html", 18 + "systemd.slice(5)": "https://www.freedesktop.org/software/systemd/man/systemd.slice.html", 19 + "systemd.socket(5)": "https://www.freedesktop.org/software/systemd/man/systemd.socket.html", 20 + "systemd.timer(5)": "https://www.freedesktop.org/software/systemd/man/systemd.timer.html", 21 + "systemd.unit(5)": "https://www.freedesktop.org/software/systemd/man/systemd.unit.html", 22 + "systemd-system.conf(5)": "https://www.freedesktop.org/software/systemd/man/systemd-system.conf.html", 23 + "systemd-user.conf(5)": "https://www.freedesktop.org/software/systemd/man/systemd-user.conf.html", 24 + "timesyncd.conf(5)": "https://www.freedesktop.org/software/systemd/man/timesyncd.conf.html", 25 + "tmpfiles.d(5)": "https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html", 26 + "systemd.time(7)": "https://www.freedesktop.org/software/systemd/man/systemd.time.html", 27 + "systemd-fstab-generator(8)": "https://www.freedesktop.org/software/systemd/man/systemd-fstab-generator.html", 28 + "systemd-networkd-wait-online.service(8)": "https://www.freedesktop.org/software/systemd/man/systemd-networkd-wait-online.service.html" 29 + }
+5 -3
lib/modules.nix
··· 1113 1113 visible = true; 1114 1114 warn = false; 1115 1115 use = id; 1116 - wrapDescription = lib.id; 1117 1116 }; 1118 1117 1119 1118 /* Transitional version of mkAliasOptionModule that uses MD docs. */ ··· 1122 1121 visible = true; 1123 1122 warn = false; 1124 1123 use = id; 1124 + markdown = true; 1125 1125 }; 1126 1126 1127 1127 /* mkDerivedConfig : Option a -> (a -> Definition b) -> Definition b ··· 1144 1144 (opt.highestPrio or defaultOverridePriority) 1145 1145 (f opt.value); 1146 1146 1147 - doRename = { from, to, visible, warn, use, withPriority ? true, wrapDescription ? lib.mdDoc }: 1147 + doRename = { from, to, visible, warn, use, withPriority ? true, markdown ? false }: 1148 1148 { config, options, ... }: 1149 1149 let 1150 1150 fromOpt = getAttrFromPath from options; ··· 1155 1155 { 1156 1156 options = setAttrByPath from (mkOption { 1157 1157 inherit visible; 1158 - description = wrapDescription "Alias of {option}`${showOption to}`."; 1158 + description = if markdown 1159 + then lib.mdDoc "Alias of {option}`${showOption to}`." 1160 + else "Alias of <option>${showOption to}</option>."; 1159 1161 apply = x: use (toOf config); 1160 1162 } // optionalAttrs (toType != null) { 1161 1163 type = toType;
+1 -1
maintainers/scripts/db-to-md.sh
··· 41 41 # - diagram-generator.lua (we do not support that in NixOS manual to limit dependencies) 42 42 # - media extraction (was only required for diagram generator) 43 43 # - myst-reader/roles.lua (only relevant for MyST → DocBook) 44 - # - link-unix-man-references.lua (links should only be added to display output) 44 + # - link-manpages.lua (links should only be added to display output) 45 45 # - docbook-writer/rst-roles.lua (only relevant for → DocBook) 46 46 # - docbook-writer/labelless-link-is-xref.lua (only relevant for → DocBook) 47 47 "--lua-filter=$DIR/../../doc/build-aux/pandoc-filters/docbook-reader/citerefentry-to-rst-role.lua"
+3 -1
nixos/doc/manual/md-to-db.sh
··· 8 8 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" 9 9 pushd "$DIR" 10 10 11 + link_manpages_filter=$(nix-build --no-out-link "$DIR/../../../doc/build-aux/pandoc-filters/link-manpages.nix") 12 + 11 13 # NOTE: Keep in sync with Nixpkgs manual (/doc/Makefile). 12 14 # TODO: Remove raw-attribute when we can get rid of DocBook altogether. 13 15 pandoc_commonmark_enabled_extensions=+attributes+fenced_divs+footnotes+bracketed_spans+definition_lists+pipe_tables+raw_attribute ··· 17 19 # - media extraction (was only required for diagram generator) 18 20 # - docbook-reader/citerefentry-to-rst-role.lua (only relevant for DocBook → MarkDown/rST/MyST) 19 21 "--lua-filter=$DIR/../../../doc/build-aux/pandoc-filters/myst-reader/roles.lua" 20 - "--lua-filter=$DIR/../../../doc/build-aux/pandoc-filters/link-unix-man-references.lua" 22 + "--lua-filter=$link_manpages_filter" 21 23 "--lua-filter=$DIR/../../../doc/build-aux/pandoc-filters/docbook-writer/rst-roles.lua" 22 24 "--lua-filter=$DIR/../../../doc/build-aux/pandoc-filters/docbook-writer/html-elements.lua" 23 25 "--lua-filter=$DIR/../../../doc/build-aux/pandoc-filters/docbook-writer/labelless-link-is-xref.lua"
+3
nixos/lib/make-options-doc/default.nix
··· 41 41 # characteristics but (hopefully) indistinguishable output. 42 42 , allowDocBook ? true 43 43 # whether lib.mdDoc is required for descriptions to be read as markdown. 44 + # !!! when this is eventually flipped to true, `lib.doRename` should also default to emitting Markdown 44 45 , markdownByDefault ? false 45 46 }: 46 47 ··· 130 131 if baseOptionsJSON == null 131 132 then builtins.toFile "base.json" "{}" 132 133 else baseOptionsJSON; 134 + 135 + MANPAGE_URLS = pkgs.path + "/doc/manpage-urls.json"; 133 136 } 134 137 '' 135 138 # Export list of options in different format.
+9 -1
nixos/lib/make-options-doc/mergeJSON.py
··· 1 1 import collections 2 2 import json 3 + import os 3 4 import sys 4 5 from typing import Any, Dict, List 5 6 ··· 45 46 ) 46 47 result[opt.name] = opt.value 47 48 return result 49 + 50 + manpage_urls = json.load(open(os.getenv('MANPAGE_URLS'))) 48 51 49 52 admonitions = { 50 53 '.warning': 'warning', ··· 119 122 def env(self, text): 120 123 return f"<envar>{escape(text)}</envar>" 121 124 def manpage(self, page, section): 125 + man = f"{page}({section})" 122 126 title = f"<refentrytitle>{escape(page)}</refentrytitle>" 123 127 vol = f"<manvolnum>{escape(section)}</manvolnum>" 124 - return f"<citerefentry>{title}{vol}</citerefentry>" 128 + ref = f"<citerefentry>{title}{vol}</citerefentry>" 129 + if man in manpage_urls: 130 + return self.link(manpage_urls[man], text=ref) 131 + else: 132 + return ref 125 133 126 134 def finalize(self, data): 127 135 return "".join(data)
+2 -2
nixos/lib/systemd-unit-options.nix
··· 60 60 `asDropin` creates a drop-in file named `overrides.conf`. 61 61 Mainly needed to define instances for systemd template units (e.g. `systemd-nspawn@mycontainer.service`). 62 62 63 - See also systemd.unit(1). 63 + See also {manpage}`systemd.unit(5)`. 64 64 ''; 65 65 }; 66 66 ··· 86 86 87 87 This option creates a `.wants` symlink in the given target that exists 88 88 statelessly without the need for running `systemctl enable`. 89 - The in systemd.unit(5) manpage described `[Install]` section however is 89 + The `[Install]` section described in {manpage}`systemd.unit(5)` however is 90 90 not supported because it is a stateful process that does not fit well 91 91 into the NixOS design. 92 92 '';
+1 -1
nixos/modules/services/backup/restic.nix
··· 132 132 OnCalendar = "daily"; 133 133 }; 134 134 description = lib.mdDoc '' 135 - When to run the backup. See man systemd.timer for details. 135 + When to run the backup. See {manpage}`systemd.timer(5)` for details. 136 136 ''; 137 137 example = { 138 138 OnCalendar = "00:05";
+3 -3
nixos/modules/services/networking/kresd.nix
··· 79 79 example = [ "53" ]; 80 80 description = lib.mdDoc '' 81 81 What addresses and ports the server should listen on. 82 - For detailed syntax see ListenStream in man systemd.socket. 82 + For detailed syntax see ListenStream in {manpage}`systemd.socket(5)`. 83 83 ''; 84 84 }; 85 85 listenTLS = mkOption { ··· 88 88 example = [ "198.51.100.1:853" "[2001:db8::1]:853" "853" ]; 89 89 description = lib.mdDoc '' 90 90 Addresses and ports on which kresd should provide DNS over TLS (see RFC 7858). 91 - For detailed syntax see ListenStream in man systemd.socket. 91 + For detailed syntax see ListenStream in {manpage}`systemd.socket(5)`. 92 92 ''; 93 93 }; 94 94 listenDoH = mkOption { ··· 97 97 example = [ "198.51.100.1:443" "[2001:db8::1]:443" "443" ]; 98 98 description = lib.mdDoc '' 99 99 Addresses and ports on which kresd should provide DNS over HTTPS/2 (see RFC 8484). 100 - For detailed syntax see ListenStream in man systemd.socket. 100 + For detailed syntax see ListenStream in {manpage}`systemd.socket(5)`. 101 101 ''; 102 102 }; 103 103 instances = mkOption {
+9 -10
nixos/modules/services/security/fail2ban.nix
··· 62 62 }; 63 63 64 64 packageFirewall = mkOption { 65 - default = pkgs.iptables; 66 - defaultText = literalExpression "pkgs.iptables"; 65 + default = config.networking.firewall.package; 66 + defaultText = literalExpression "config.networking.firewall.package"; 67 67 type = types.package; 68 - example = literalExpression "pkgs.nftables"; 69 - description = lib.mdDoc "The firewall package used by fail2ban service."; 68 + description = lib.mdDoc "The firewall package used by fail2ban service. Defaults to the package for your firewall (iptables or nftables)."; 70 69 }; 71 70 72 71 extraPackages = mkOption { ··· 86 85 }; 87 86 88 87 banaction = mkOption { 89 - default = "iptables-multiport"; 88 + default = if config.networking.nftables.enable then "nftables-multiport" else "iptables-multiport"; 89 + defaultText = literalExpression '' if config.networking.nftables.enable then "nftables-multiport" else "iptables-multiport" ''; 90 90 type = types.str; 91 - example = "nftables-multiport"; 92 91 description = lib.mdDoc '' 93 92 Default banning action (e.g. iptables, iptables-new, iptables-multiport, 94 - iptables-ipset-proto6-allports, shorewall, etc) It is used to 93 + iptables-ipset-proto6-allports, shorewall, etc). It is used to 95 94 define action_* variables. Can be overridden globally or per 96 95 section within jail.local file 97 96 ''; 98 97 }; 99 98 100 99 banaction-allports = mkOption { 101 - default = "iptables-allport"; 100 + default = if config.networking.nftables.enable then "nftables-allport" else "iptables-allport"; 101 + defaultText = literalExpression '' if config.networking.nftables.enable then "nftables-allport" else "iptables-allport" ''; 102 102 type = types.str; 103 - example = "nftables-allport"; 104 103 description = lib.mdDoc '' 105 104 Default banning action (e.g. iptables, iptables-new, iptables-multiport, 106 - shorewall, etc) It is used to define action_* variables. Can be overridden 105 + shorewall, etc) for "allports" jails. It is used to define action_* variables. Can be overridden 107 106 globally or per section within jail.local file 108 107 ''; 109 108 };
+1 -1
nixos/modules/system/boot/systemd/user.nix
··· 46 46 type = types.lines; 47 47 example = "DefaultCPUAccounting=yes"; 48 48 description = lib.mdDoc '' 49 - Extra config options for systemd user instances. See man systemd-user.conf for 49 + Extra config options for systemd user instances. See {manpage}`systemd-user.conf(5)` for 50 50 available options. 51 51 ''; 52 52 };
+18 -5
nixos/modules/system/etc/setup-etc.pl
··· 13 13 my $tmp = "$target.tmp"; 14 14 unlink $tmp; 15 15 symlink $source, $tmp or return 0; 16 - rename $tmp, $target or return 0; 17 - return 1; 16 + if (rename $tmp, $target) { 17 + return 1; 18 + } else { 19 + unlink $tmp; 20 + return 0; 21 + } 18 22 } 19 23 20 24 ··· 87 91 88 92 sub link { 89 93 my $fn = substr $File::Find::name, length($etc) + 1 or next; 94 + 95 + # nixos-enter sets up /etc/resolv.conf as a bind mount, so skip it. 96 + if ($fn eq "resolv.conf" and $ENV{'IN_NIXOS_ENTER'}) { 97 + return; 98 + } 99 + 90 100 my $target = "/etc/$fn"; 91 101 File::Path::make_path(dirname $target); 92 102 $created{$fn} = 1; ··· 103 113 if (-e "$_.mode") { 104 114 my $mode = read_file("$_.mode"); chomp $mode; 105 115 if ($mode eq "direct-symlink") { 106 - atomicSymlink readlink("$static/$fn"), $target or warn; 116 + atomicSymlink readlink("$static/$fn"), $target or warn "could not create symlink $target"; 107 117 } else { 108 118 my $uid = read_file("$_.uid"); chomp $uid; 109 119 my $gid = read_file("$_.gid"); chomp $gid; ··· 112 122 $gid = getgrnam $gid unless $gid =~ /^\+/; 113 123 chown int($uid), int($gid), "$target.tmp" or warn; 114 124 chmod oct($mode), "$target.tmp" or warn; 115 - rename "$target.tmp", $target or warn; 125 + unless (rename "$target.tmp", $target) { 126 + warn "could not create target $target"; 127 + unlink "$target.tmp"; 128 + } 116 129 } 117 130 push @copied, $fn; 118 131 print CLEAN "$fn\n"; 119 132 } elsif (-l "$_") { 120 - atomicSymlink "$static/$fn", $target or warn; 133 + atomicSymlink "$static/$fn", $target or warn "could not create symlink $target"; 121 134 } 122 135 } 123 136
+2 -8
pkgs/applications/graphics/hugin/default.nix
··· 36 36 37 37 stdenv.mkDerivation rec { 38 38 pname = "hugin"; 39 - version = "2021.0.0"; 39 + version = "2022.0.0"; 40 40 41 41 src = fetchurl { 42 42 url = "mirror://sourceforge/hugin/hugin-${version}.tar.bz2"; 43 - sha256 = "sha256-BHrqin+keESzTvJ8GdO2l+hJOdyx/bvrLCBGIbZu6tk="; 43 + sha256 = "sha256-l8hWKgupp0PguVWkPf3gSLHGDNnl8u4rad4agWRuBac="; 44 44 }; 45 - 46 - patches = [ 47 - # committed upstream but unreleased: 48 - # https://sourceforge.net/p/hugin/hugin/ci/edfddc6070ca6d4223d359fb4b38273a5aed2f2d 49 - ./dont-crash-if-XDG_DATA_DIRS-not-set-edfddc6070ca6d4223d359fb4b38273a5aed2f2d.patch 50 - ]; 51 45 52 46 buildInputs = [ 53 47 boost
-14
pkgs/applications/graphics/hugin/dont-crash-if-XDG_DATA_DIRS-not-set-edfddc6070ca6d4223d359fb4b38273a5aed2f2d.patch
··· 1 - --- a/src/hugin_base/hugin_utils/utils.cpp 2022-12-05 22:19:26.873574924 -0800 2 - +++ b/src/hugin_base/hugin_utils/utils.cpp 2022-12-05 22:19:09.069575641 -0800 3 - @@ -472,9 +472,9 @@ 4 - #else 5 - #ifdef USE_XDG_DIRS 6 - char *xdgDataDir = getenv("XDG_DATA_HOME"); 7 - - if (strlen(xdgDataDir) == 0) 8 - + if (xdgDataDir == NULL || strlen(xdgDataDir) == 0) 9 - { 10 - - // no XDG_DATA_HOME enviroment variable set 11 - + // no XDG_DATA_HOME enviroment variable set or empty variable 12 - // use $HOME/.local/share instead 13 - const std::string homeDir = GetHomeDir(); 14 - if (homeDir.empty())
-18
pkgs/applications/misc/procmail/CVE-2014-3618.patch
··· 1 - From http://seclists.org/oss-sec/2014/q3/495 (with whitespace corrected). 2 - 3 - --- a/src/formisc.c 2013-08-04 00:13:33.000000000 -0700 4 - +++ b/src/formisc.c 2014-09-03 11:42:25.986002396 -0700 5 - @@ -84,12 +84,11 @@ 6 - case '"':*target++=delim='"';start++; 7 - } 8 - ;{ int i; 9 - - do 10 - + while(*start) 11 - if((i= *target++= *start++)==delim) /* corresponding delimiter? */ 12 - break; 13 - else if(i=='\\'&&*start) /* skip quoted character */ 14 - *target++= *start++; 15 - - while(*start); /* anything? */ 16 - } 17 - hitspc=2; 18 - }
+4 -13
pkgs/applications/misc/procmail/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "procmail"; 5 - version = "3.22"; 5 + version = "3.24"; 6 6 7 7 src = fetchurl { 8 - url = "ftp://ftp.fu-berlin.de/pub/unix/mail/procmail/procmail-${version}.tar.gz"; 9 - sha256 = "05z1c803n5cppkcq99vkyd5myff904lf9sdgynfqngfk9nrpaz08"; 8 + url = "https://github.com/BuGlessRB/procmail/archive/refs/tags/v${version}.tar.gz"; 9 + sha256 = "UU6kMzOXg+ld+TIeeUdx5Ih7mCOsVf2yRpcCz2m9OYk="; 10 10 }; 11 - 12 - patches = [ 13 - ./CVE-2014-3618.patch 14 - (fetchurl { 15 - url = "https://sources.debian.org/data/main/p/procmail/3.22-26/debian/patches/30"; 16 - sha256 = "11zmz1bj0v9pay3ldmyyg7473b80h89gycrhndsgg9q50yhcqaaq"; 17 - name = "CVE-2017-16844"; 18 - }) 19 - ]; 20 11 21 12 # getline is defined differently in glibc now. So rename it. 22 13 # Without the .PHONY target "make install" won't install anything on Darwin. ··· 33 24 34 25 meta = with lib; { 35 26 description = "Mail processing and filtering utility"; 36 - homepage = "http://www.procmail.org/"; 27 + homepage = "https://github.com/BuGlessRB/procmail/"; 37 28 license = licenses.gpl2; 38 29 platforms = platforms.unix; 39 30 maintainers = with maintainers; [ gebner ];
+24 -4
pkgs/applications/misc/stylish/default.nix
··· 1 - { lib 2 - , stdenvNoCC 3 - , fetchFromGitHub 1 + { 2 + lib, 3 + stdenvNoCC, 4 + fetchFromGitHub, 5 + makeWrapper, 6 + curl, 7 + feh, 8 + file, 9 + jq, 10 + util-linux, 11 + wget, 4 12 }: 5 - 6 13 stdenvNoCC.mkDerivation rec { 7 14 pname = "stylish"; 8 15 version = "unstable-2022-12-05"; 16 + 17 + nativeBuildInputs = [ makeWrapper ]; 9 18 10 19 src = fetchFromGitHub { 11 20 owner = "thevinter"; ··· 20 29 cp "${src}/styli.sh" $out/bin 21 30 chmod +x $out/bin/styli.sh 22 31 runHook postInstall 32 + ''; 33 + 34 + postInstall = '' 35 + wrapProgram $out/bin/styli.sh --prefix PATH : ${lib.makeBinPath [ 36 + curl 37 + feh 38 + file 39 + jq 40 + util-linux 41 + wget 42 + ]} 23 43 ''; 24 44 25 45 meta = with lib; {
+3 -3
pkgs/applications/networking/feedreaders/newsboat/default.nix
··· 31 31 ++ lib.optionals stdenv.isDarwin [ Security Foundation libiconv gettext ]; 32 32 33 33 postBuild = '' 34 - make prefix="$out" 34 + make -j $NIX_BUILD_CORES prefix="$out" 35 35 ''; 36 36 37 37 # https://github.com/NixOS/nixpkgs/pull/98471#issuecomment-703100014 . We set ··· 44 44 doCheck = true; 45 45 46 46 preCheck = '' 47 - make test 47 + make -j $NIX_BUILD_CORES test 48 48 ''; 49 49 50 50 postInstall = '' 51 - make prefix="$out" install 51 + make -j $NIX_BUILD_CORES prefix="$out" install 52 52 '' + lib.optionalString stdenv.isDarwin '' 53 53 for prog in $out/bin/*; do 54 54 wrapProgram "$prog" --prefix DYLD_LIBRARY_PATH : "${stfl}/lib"
+2 -2
pkgs/applications/networking/irc/weechat/default.nix
··· 36 36 in 37 37 assert lib.all (p: p.enabled -> ! (builtins.elem null p.buildInputs)) plugins; 38 38 stdenv.mkDerivation rec { 39 - version = "3.7.1"; 39 + version = "3.8"; 40 40 pname = "weechat"; 41 41 42 42 hardeningEnable = [ "pie" ]; 43 43 44 44 src = fetchurl { 45 45 url = "https://weechat.org/files/src/weechat-${version}.tar.bz2"; 46 - hash = "sha256-ZtJi1NhE1agZWnAv6FCUeO1GDtuQnLTraA5nkwWiCqs="; 46 + hash = "sha256-objxAUGvBhTkbQl4GshDP3RsCkAW4z917L9WyaVoYj4="; 47 47 }; 48 48 49 49 outputs = [ "out" "man" ] ++ map (p: p.name) enabledPlugins;
+23
pkgs/applications/office/gnucash/0004-exec-fq-helpers.patch
··· 1 + diff --git a/gnucash/price-quotes.scm b/gnucash/price-quotes.scm 2 + index 8e3ff255f..a6b805fa5 100644 3 + --- a/gnucash/price-quotes.scm 4 + +++ b/gnucash/price-quotes.scm 5 + @@ -44,7 +44,7 @@ 6 + (define (start-program) 7 + (set! program 8 + (gnc-spawn-process-async 9 + - (list "perl" "-w" gnc:*finance-quote-check*) #t))) 10 + + (list gnc:*finance-quote-check*) #t))) 11 + 12 + (define (get-sources) 13 + (when program 14 + @@ -119,7 +119,7 @@ 15 + 16 + (define (start-quoter) 17 + (set! quoter 18 + - (gnc-spawn-process-async (list "perl" "-w" gnc:*finance-quote-helper*) #t))) 19 + + (gnc-spawn-process-async (list gnc:*finance-quote-helper*) #t))) 20 + 21 + (define (get-quotes) 22 + (when quoter 23 +
+2
pkgs/applications/office/gnucash/default.nix
··· 72 72 ./0002-disable-gnc-fq-update.patch 73 73 # this patch prevents the building of gnucash-valgrind 74 74 ./0003-remove-valgrind.patch 75 + # this patch makes gnucash exec the Finance::Quote helpers directly 76 + ./0004-exec-fq-helpers.patch 75 77 ]; 76 78 77 79 # this needs to be an environment variable and not a cmake flag to suppress
+8 -3
pkgs/applications/science/math/qalculate-qt/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, intltool, pkg-config, qmake, wrapQtAppsHook, libqalculate, qtbase, qttools }: 1 + { lib, stdenv, fetchFromGitHub, intltool, pkg-config, qmake, wrapQtAppsHook, libqalculate, qtbase, qttools, qtsvg, qtwayland }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "qalculate-qt"; ··· 8 8 owner = "qalculate"; 9 9 repo = "qalculate-qt"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-1MU/Wici+NQWbjoNpE9q6jKx8aKt85OAfb+ZsN/oK5w="; 11 + hash = "sha256-1MU/Wici+NQWbjoNpE9q6jKx8aKt85OAfb+ZsN/oK5w="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ qmake intltool pkg-config wrapQtAppsHook ]; 15 - buildInputs = [ libqalculate qtbase qttools ]; 15 + buildInputs = [ libqalculate qtbase qttools qtsvg qtwayland ]; 16 + 17 + postPatch = '' 18 + substituteInPlace qalculate-qt.pro\ 19 + --replace "LRELEASE" "${qttools.dev}/bin/lrelease" 20 + ''; 16 21 17 22 meta = with lib; { 18 23 description = "The ultimate desktop calculator";
+81
pkgs/applications/video/glaxnimate/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitLab 4 + , cmake 5 + , zlib 6 + , potrace 7 + , ffmpeg 8 + , libarchive 9 + , python3 10 + , qtbase 11 + , qttools 12 + , wrapQtAppsHook 13 + , testers 14 + , qtsvg 15 + , qtimageformats 16 + # For the tests 17 + , glaxnimate # Call itself, for the tests 18 + , xvfb-run 19 + }: 20 + let 21 + # TODO: try to add a python library, see toPythonModule in doc/languages-frameworks/python.section.md 22 + python3WithLibs = python3.withPackages (ps: with ps; [ 23 + # In data/lib/python-lottie/requirements.txt 24 + numpy 25 + pillow 26 + cairosvg 27 + fonttools 28 + grapheme 29 + opencv4 30 + pyqt5 31 + qscintilla 32 + # Not sure if needed, but appears in some files 33 + pyyaml 34 + requests 35 + pybind11 36 + ]); 37 + in 38 + stdenv.mkDerivation rec { 39 + pname = "glaxnimate"; 40 + version = "0.5.1"; 41 + 42 + src = fetchFromGitLab { 43 + owner = "mattbas"; 44 + repo = "${pname}"; 45 + rev = "${version}"; 46 + sha256 = "G4ykcOvXXnVIQZUYpRIrALtDSsGqxMvDtcmobjjtlKw="; 47 + fetchSubmodules = true; 48 + }; 49 + 50 + nativeBuildInputs = [ 51 + cmake 52 + wrapQtAppsHook 53 + ]; 54 + 55 + buildInputs = [ 56 + zlib 57 + potrace 58 + # Upstream asks for libav dependency, which is fulfilled by ffmpeg 59 + ffmpeg 60 + libarchive 61 + qtbase 62 + qttools 63 + qtsvg 64 + qtimageformats 65 + python3WithLibs 66 + ]; 67 + 68 + qtWrapperArgs = [ ''--prefix PATH : ${python3WithLibs}/bin'' ]; 69 + 70 + passthru.tests.version = testers.testVersion { 71 + package = glaxnimate; 72 + command = "${xvfb-run}/bin/xvfb-run glaxnimate --version"; 73 + }; 74 + 75 + meta = with lib; { 76 + homepage = "https://gitlab.com/mattbas/glaxnimate"; 77 + description = "Simple vector animation program."; 78 + license = licenses.gpl3; 79 + maintainers = with maintainers; [ tobiasBora ]; 80 + }; 81 + }
+28 -20
pkgs/data/fonts/dina/default.nix
··· 1 - { lib, stdenv, fetchurl, unzip 1 + { lib, stdenv, fetchzip, fontforge 2 2 , bdftopcf, xorg 3 3 }: 4 4 ··· 8 8 9 9 outputs = [ "out" "bdf" ]; 10 10 11 - src = fetchurl { 12 - url = "http://www.donationcoder.com/Software/Jibz/Dina/downloads/Dina.zip"; 13 - sha256 = "1kq86lbxxgik82aywwhawmj80vsbz3hfhdyhicnlv9km7yjvnl8z"; 11 + src = fetchzip { 12 + url = "https://www.dcmembers.com/jibsen/download/61/?wpdmdl=61"; 13 + hash = "sha256-JK+vnOyhAbwT825S+WKbQuWgRrfZZHfyhaMQ/6ljO8s="; 14 + extension = "zip"; 15 + stripRoot = false; 14 16 }; 15 17 16 18 nativeBuildInputs = 17 - [ unzip bdftopcf xorg.mkfontscale xorg.fonttosfnt ]; 18 - 19 - postPatch = '' 20 - sed -i 's/microsoft-cp1252/ISO8859-1/' *.bdf 21 - ''; 19 + [ fontforge bdftopcf xorg.mkfontscale xorg.fonttosfnt ]; 22 20 23 21 buildPhase = '' 24 22 runHook preBuild 25 23 26 24 newName() { 27 - test "''${1:5:1}" = i && _it=Italic || _it= 28 - case ''${1:6:3} in 29 - 400) test -z $it && _weight=Medium ;; 30 - 700) _weight=Bold ;; 31 - esac 32 - _pt=''${1%.bdf} 33 - _pt=''${_pt#*-} 34 - echo "Dina$_weight$_it$_pt" 25 + local name=''${1##*/} 26 + test "''${name:5:1}" = i && _it=Italic || _it= 27 + case ''${name:6:3} in 28 + 400) _weight=Medium ;; 29 + 700) _weight=Bold ;; 30 + esac 31 + _pt=''${1%.bdf} 32 + _pt=''${_pt#*-} 33 + echo "Dina$_weight$_it$_pt" 35 34 } 35 + 36 + # Re-encode the provided BDF files from CP1252 to Unicode as fonttosfnt does 37 + # not support the former. 38 + # We could generate the PCF and OTB files with fontforge directly, but that 39 + # results in incorrect spacing in various places. 40 + for f in BDF/*.bdf; do 41 + basename=''${f##*/} basename=''${basename%.*} 42 + fontforge -lang=ff -c "Open(\"$f\"); Reencode(\"win\", 1); Reencode(\"unicode\"); Generate(\"$basename.bdf\")" 43 + mv "$basename"-*.bdf "$basename".bdf # remove the superfluous added size suffix 44 + done 36 45 37 46 for f in *.bdf; do 38 47 name=$(newName "$f") ··· 62 71 relatively compact to allow a lot of code on screen, while (hopefully) 63 72 clear enough to remain readable even at high resolutions. 64 73 ''; 65 - homepage = "https://www.donationcoder.com/Software/Jibz/Dina/"; 66 - downloadPage = "https://www.donationcoder.com/Software/Jibz/Dina/"; 74 + homepage = "https://www.dcmembers.com/jibsen/download/61/"; 67 75 license = licenses.free; 68 - maintainers = [ maintainers.prikhi ]; 76 + maintainers = with maintainers; [ prikhi ncfavier ]; 69 77 }; 70 78 }
+2 -2
pkgs/development/interpreters/php/8.0.nix
··· 2 2 3 3 let 4 4 base = callPackage ./generic.nix (_args // { 5 - version = "8.0.26"; 6 - hash = "sha256-bfh6+W8nWnWIns5uP+ShOr2Tp2epmShjvcDpDx6Ifuc="; 5 + version = "8.0.27"; 6 + hash = "sha256-X9iCsUN3wVjBtVzGrOkfuMGbd8WW1YMa0ST7u8kC28g="; 7 7 }); 8 8 9 9 in
+2 -2
pkgs/development/interpreters/php/8.1.nix
··· 2 2 3 3 let 4 4 base = callPackage ./generic.nix (_args // { 5 - version = "8.1.13"; 6 - hash = "sha256-k/z9+qo9CUoP2xjOCNIPINUm7j8HoUaoqOyCzgCyN8o="; 5 + version = "8.1.14"; 6 + hash = "sha256-FMqZMz3WBKUEojaJRkhaw103nE2pbSjcUV1+tQLf+jI="; 7 7 }); 8 8 9 9 in
+2 -2
pkgs/development/interpreters/php/8.2.nix
··· 2 2 3 3 let 4 4 base = callPackage ./generic.nix (_args // { 5 - version = "8.2.0"; 6 - hash = "sha256-G/T8pmP5PZ4LSQm9bq4Fg6HOOD5/Bd8Sbyjycvof1Ro="; 5 + version = "8.2.1"; 6 + hash = "sha256-ddb482WZPsDR2cYoHUVX5v7sWiYZSkaLiwFFnRd++yk="; 7 7 }); 8 8 9 9 in
-3
pkgs/development/libraries/qca-qt5/default.nix
··· 26 26 maintainers = with maintainers; [ ttuegel ]; 27 27 license = licenses.lgpl21Plus; 28 28 platforms = with platforms; unix; 29 - # until macOS SDK supports Qt 5.15, 2.3.2 is the highest version of qca-qt5 30 - # that works on darwin 31 - broken = stdenv.isDarwin; 32 29 }; 33 30 }
+10 -3
pkgs/development/libraries/vtk/generic.nix
··· 2 2 { stdenv, lib, fetchurl, cmake, libGLU, libGL, libX11, xorgproto, libXt, libpng, libtiff 3 3 , fetchpatch 4 4 , enableQt ? false, qtbase, qtx11extras, qttools, qtdeclarative, qtEnv 5 - , enablePython ? false, pythonInterpreter ? throw "vtk: Python support requested, but no python interpreter was given." 5 + , enablePython ? false, python ? throw "vtk: Python support requested, but no python interpreter was given." 6 6 # Darwin support 7 7 , Cocoa, CoreServices, DiskArbitration, IOKit, CFNetwork, Security, GLUT, OpenGL 8 8 , ApplicationServices, CoreText, IOSurface, ImageIO, xpc, libobjc ··· 11 11 let 12 12 inherit (lib) optionalString optionals optional; 13 13 14 - pythonMajor = lib.substring 0 1 pythonInterpreter.pythonVersion; 14 + pythonMajor = lib.substring 0 1 python.pythonVersion; 15 15 16 16 in stdenv.mkDerivation rec { 17 17 pname = "vtk${optionalString enableQt "-qvtk"}"; ··· 47 47 OpenGL 48 48 GLUT 49 49 ] ++ optionals enablePython [ 50 - pythonInterpreter 50 + python 51 51 ]; 52 52 propagatedBuildInputs = optionals stdenv.isDarwin [ libobjc ] 53 53 ++ optionals stdenv.isLinux [ libX11 libGL ]; ··· 87 87 sed -i 's|COMMAND vtkHashSource|COMMAND "DYLD_LIBRARY_PATH=''${VTK_BINARY_DIR}/lib" ''${VTK_BINARY_DIR}/bin/vtkHashSource-${majorVersion}|' ./Parallel/Core/CMakeLists.txt 88 88 sed -i 's/fprintf(output, shift)/fprintf(output, "%s", shift)/' ./ThirdParty/libxml2/vtklibxml2/xmlschemas.c 89 89 sed -i 's/fprintf(output, shift)/fprintf(output, "%s", shift)/g' ./ThirdParty/libxml2/vtklibxml2/xpath.c 90 + ''; 91 + 92 + postInstall = optionalString enablePython '' 93 + substitute \ 94 + ${./vtk.egg-info} \ 95 + $out/lib/python${python.pythonVersion}/site-packages/vtk-${version}.egg-info \ 96 + --subst-var-by VTK_VER "${version}" 90 97 ''; 91 98 92 99 meta = with lib; {
+4
pkgs/development/libraries/vtk/vtk.egg-info
··· 1 + Metadata-Version: 2.1 2 + Version: @VTK_VER@ 3 + Summary: VTK is an open-source toolkit for 3D computer graphics, image processing, and visualization 4 + Platform: UNKNOWN
+4 -4
pkgs/development/lua-modules/generated-packages.nix
··· 2708 2708 2709 2709 src = fetchgit ( removeAttrs (builtins.fromJSON ''{ 2710 2710 "url": "https://github.com/nvim-lua/plenary.nvim", 2711 - "rev": "4b7e52044bbb84242158d977a50c4cbcd85070c7", 2712 - "date": "2022-10-01T09:05:53+02:00", 2713 - "path": "/nix/store/hkj69cqq4qg3d98irg8wszgl7i1bg6lv-plenary.nvim", 2714 - "sha256": "11815h0h2mf5ym282ghk7xav90635r88qbgaflpgbyk2banl31wl", 2711 + "rev": "9d81624fbcedd3dd43b38d7e13a1e7b3f873d8cd", 2712 + "date": "2023-01-06T19:47:51+01:00", 2713 + "path": "/nix/store/r6a56xvn5dkrsnswpg7297ihdfc1qsgy-plenary.nvim", 2714 + "sha256": "0y3qn0rwlwp720517lwg35f09b30b591hprbvb6hgvn1waw2ljzc", 2715 2715 "fetchLFS": false, 2716 2716 "fetchSubmodules": true, 2717 2717 "deepClone": false,
+5 -9
pkgs/development/ocaml-modules/toml/default.nix
··· 1 - { lib, fetchFromGitHub, fetchpatch, buildDunePackage 1 + { lib, fetchFromGitHub, buildDunePackage 2 2 , iso8601, menhir 3 3 }: 4 4 5 5 buildDunePackage rec { 6 6 pname = "toml"; 7 - version = "7.0.0"; 7 + version = "7.1.0"; 8 + minimalOCamlVersion = "4.08"; 9 + duneVersion = "3"; 8 10 9 11 src = fetchFromGitHub { 10 12 owner = "ocaml-toml"; 11 13 repo = "to.ml"; 12 14 rev = version; 13 - sha256 = "sha256-VEZQTFPwAGShCBGbKUiNOIY1zA/JdTpXU0ZIGNWopnQ="; 14 - }; 15 - 16 - # Ensure compatibility with menhir ≥ 20211215 17 - patches = fetchpatch { 18 - url = "https://github.com/ocaml-toml/To.ml/commit/41172b739dff43424a12f7c1f0f64939e3660648.patch"; 19 - sha256 = "sha256:1333xkmm9qp5m3pp4y5w17k6rvmb30v62qyra6rfk1km2v28hqqq"; 15 + hash = "sha256-uk14Py7lEEDJhFsRRtStXqKlJLtx0o8eS9DEIes4SHw="; 20 16 }; 21 17 22 18 nativeBuildInputs = [ menhir ];
+2 -3
pkgs/development/php-packages/datadog_trace/default.nix
··· 2 2 3 3 buildPecl rec { 4 4 pname = "ddtrace"; 5 - version = "0.70.0"; 5 + version = "0.82.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "DataDog"; 9 9 repo = "dd-trace-php"; 10 10 rev = version; 11 - sha256 = "sha256-AYRBzE0Detg/IHXYutZUfPRMtfthxdkSjqD0M+VcTpY="; 11 + sha256 = "sha256-QTqZRHh57mRkg0HT9qQS13emGobB0IRqM+mdImAPgtE="; 12 12 }; 13 13 14 14 buildInputs = [ curl pcre2 ]; 15 15 16 16 meta = with lib; { 17 - broken = lib.versionOlder php.version "8.1"; # Broken on PHP older than 8.1. 18 17 description = "Datadog Tracing PHP Client"; 19 18 homepage = "https://github.com/DataDog/dd-trace-php"; 20 19 license = licenses.apsl20;
+9 -3
pkgs/development/python-modules/doorbirdpy/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , requests 5 + , pythonOlder 5 6 }: 6 7 7 8 buildPythonPackage rec { 8 9 pname = "doorbirdpy"; 9 - version = "2.1.0"; 10 + version = "2.2.0"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 10 14 11 15 src = fetchPypi { 12 16 pname = "DoorBirdPy"; 13 17 inherit version; 14 - sha256 = "ed0e94953cdf96111c7f73c5fcf358f65dc0ff5e47f63fc057bf18ca7512e606"; 18 + hash = "sha256-ZGIIko5Ac0Q4Jhz+z7FREJ4MhPF9ADDWgQFRtcZ+dWY="; 15 19 }; 16 20 17 21 propagatedBuildInputs = [ ··· 21 25 # no tests on PyPI, no tags on GitLab 22 26 doCheck = false; 23 27 24 - pythonImportsCheck = [ "doorbirdpy" ]; 28 + pythonImportsCheck = [ 29 + "doorbirdpy" 30 + ]; 25 31 26 32 meta = with lib; { 27 33 description = "Python wrapper for the DoorBird LAN API";
+2 -2
pkgs/development/python-modules/duckdb-engine/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "duckdb-engine"; 16 - version = "0.6.6"; 16 + version = "0.6.7"; 17 17 format = "pyproject"; 18 18 19 19 disabled = pythonOlder "3.7"; ··· 22 22 repo = "duckdb_engine"; 23 23 owner = "Mause"; 24 24 rev = "refs/tags/v${version}"; 25 - hash = "sha256-OpVkMkZt5h4Rp615wx42cR/NFbv6dwsklqM8/xRswtw="; 25 + hash = "sha256-ZbdrqR1apeZMnJb2hzvPyCKWl+0A9ROMZJXIshPVGW0="; 26 26 }; 27 27 28 28 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/gcal-sync/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "gcal-sync"; 16 - version = "4.1.0"; 16 + version = "4.1.1"; 17 17 format = "setuptools"; 18 18 19 19 disabled = pythonOlder "3.9"; ··· 22 22 owner = "allenporter"; 23 23 repo = "gcal_sync"; 24 24 rev = "refs/tags/${version}"; 25 - hash = "sha256-dmxqN0SE/qAu07ilBnVdV8k3hvpfUPLMtIfqlhSg20U="; 25 + hash = "sha256-gRIioR0TrvxTEd572AEuWlamlEaNOoOcXNten5AAAkA="; 26 26 }; 27 27 28 28 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/ical/default.nix
··· 17 17 18 18 buildPythonPackage rec { 19 19 pname = "ical"; 20 - version = "4.2.8"; 20 + version = "4.2.9"; 21 21 format = "setuptools"; 22 22 23 23 disabled = pythonOlder "3.9"; ··· 26 26 owner = "allenporter"; 27 27 repo = pname; 28 28 rev = "refs/tags/${version}"; 29 - hash = "sha256-vOjsHGB1VJuBEfLAXUkvTbQSFi4mkpf9qROVZo3ZABY="; 29 + hash = "sha256-p1cvs+xLin2WK2zyqQFd1vWKzt+LU2mpDSieOgA7Qf8="; 30 30 }; 31 31 32 32 propagatedBuildInputs = [
-4
pkgs/development/python-modules/mayavi/default.nix
··· 27 27 }; 28 28 29 29 postPatch = '' 30 - # Discovery of 'vtk' in setuptools is not working properly, due to a missing 31 - # .egg-info in the vtk package. It does however import and run just fine. 32 - substituteInPlace mayavi/__init__.py --replace "'vtk'" "" 33 - 34 30 # building the docs fails with the usual Qt xcb error, so skip: 35 31 substituteInPlace setup.py \ 36 32 --replace "build.build.run(self)" "build.build.run(self); return"
+3 -2
pkgs/development/python-modules/minio/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "minio"; 19 - version = "7.1.12"; 19 + version = "7.1.13"; 20 20 format = "setuptools"; 21 21 22 22 disabled = pythonOlder "3.7"; ··· 25 25 owner = "minio"; 26 26 repo = "minio-py"; 27 27 rev = "refs/tags/${version}"; 28 - hash = "sha256-9BjKoBQdkqkNK6StsiP0L3S5Dn8y53K5VghUIpIt46k="; 28 + hash = "sha256-Kn/I5q079b4vqi+jL/pcVKMqGgs+PYgMoByX8ZzgZ5M="; 29 29 }; 30 30 31 31 propagatedBuildInputs = [ ··· 56 56 meta = with lib; { 57 57 description = "Simple APIs to access any Amazon S3 compatible object storage server"; 58 58 homepage = "https://github.com/minio/minio-py"; 59 + changelog = "https://github.com/minio/minio-py/releases/tag/${version}"; 59 60 maintainers = with maintainers; [ peterromfeldhk ]; 60 61 license = licenses.asl20; 61 62 };
+5 -5
pkgs/development/python-modules/notify-py/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "notify-py"; 21 - version = "0.3.38"; 21 + version = "0.3.39"; 22 + format = "pyproject"; 22 23 23 24 disabled = pythonOlder "3.6"; 24 - 25 - format = "pyproject"; 26 25 27 26 src = fetchFromGitHub { 28 27 owner = "ms7m"; 29 28 repo = pname; 30 - rev = "v${version}"; 31 - hash = "sha256-wlA7a10f4PYP3dYYwZqMULQ5FMCXpOUOTxXzEEVZCsI="; 29 + rev = "refs/tags/v${version}"; 30 + hash = "sha256-QIK5MCCOsD8SStoh7TRw+l9k28SjChwV2J/T7gMKnAs="; 32 31 }; 33 32 34 33 patches = lib.optionals stdenv.isLinux [ ··· 89 88 meta = with lib; { 90 89 description = "Cross-platform desktop notification library for Python"; 91 90 homepage = "https://github.com/ms7m/notify-py"; 91 + changelog = "https://github.com/ms7m/notify-py/releases/tag/v${version}"; 92 92 license = licenses.mit; 93 93 maintainers = with maintainers; [ austinbutler dotlambda ]; 94 94 };
+14 -4
pkgs/development/python-modules/pastescript/default.nix
··· 7 7 , six 8 8 , paste 9 9 , pastedeploy 10 + , pythonOlder 10 11 }: 11 12 12 13 buildPythonPackage rec { 13 14 pname = "pastescript"; 14 - version = "3.2.1"; 15 + version = "3.3.0"; 16 + format = "setuptools"; 17 + 18 + disabled = pythonOlder "3.7"; 15 19 16 20 src = fetchPypi { 17 21 pname = "PasteScript"; 18 22 inherit version; 19 - sha256 = "f3ef819785e1b284e6fc108a131bce7e740b18255d96cd2e99ee3f00fd452468"; 23 + hash = "sha256-3eyAGhOsZn4JTt3ij5AhLN6nvcmhjUNxsI9abvfS66I="; 20 24 }; 21 25 22 26 propagatedBuildInputs = [ ··· 27 31 28 32 # test suite seems to unset PYTHONPATH 29 33 doCheck = false; 30 - checkInputs = [ nose pytestCheckHook ]; 31 34 32 - pythonNamespaces = [ "paste" ]; 35 + checkInputs = [ 36 + nose 37 + pytestCheckHook 38 + ]; 39 + 40 + pythonNamespaces = [ 41 + "paste" 42 + ]; 33 43 34 44 disabledTestPaths = [ 35 45 "appsetup/testfiles"
+2 -2
pkgs/development/python-modules/pyswitchbot/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "pyswitchbot"; 15 - version = "0.36.2"; 15 + version = "0.36.3"; 16 16 format = "setuptools"; 17 17 18 18 disabled = pythonOlder "3.7"; ··· 21 21 owner = "Danielhiversen"; 22 22 repo = "pySwitchbot"; 23 23 rev = "refs/tags/${version}"; 24 - hash = "sha256-I+OnxSQ/984aoloe/1673JDaVzG6yKOSrDvGuupAnkc="; 24 + hash = "sha256-X4Ym+UmAY/O6UB26CVrqLPD03WP/3uzOJdKW/aUCwrc="; 25 25 }; 26 26 27 27 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pyunifiprotect/default.nix
··· 31 31 32 32 buildPythonPackage rec { 33 33 pname = "pyunifiprotect"; 34 - version = "4.5.3"; 34 + version = "4.6.0"; 35 35 format = "pyproject"; 36 36 37 37 disabled = pythonOlder "3.9"; ··· 40 40 owner = "briis"; 41 41 repo = pname; 42 42 rev = "refs/tags/v${version}"; 43 - hash = "sha256-FZXnJorY7WNgDVajULZyFwJ13RBbClXK38CCyF7ASmI="; 43 + hash = "sha256-D7XIq9uwb3SaVa6NW4jDFeK73zsf51EG+5EkqgGlxCo="; 44 44 }; 45 45 46 46 postPatch = ''
+3 -3
pkgs/development/python-modules/ropper/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "ropper"; 13 - version = "1.13.7"; 13 + version = "1.13.8"; 14 14 format = "setuptools"; 15 15 16 16 disabled = pythonOlder "3.7"; ··· 19 19 owner = "sashs"; 20 20 repo = "Ropper"; 21 21 rev = "v${version}"; 22 - hash = "sha256-3tWWIYqh/G/b7Z6BMua5bRvtSh4SibT6pv/NArhmqPE="; 22 + hash = "sha256-agbqP5O9QEP5UKkaWI5HxAlMsCBPKNSLnAAo2WFDXS8="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [ ··· 36 36 ]; 37 37 38 38 meta = with lib; { 39 - broken = stdenv.isDarwin; 40 39 description = "Show information about files in different file formats"; 41 40 homepage = "https://scoding.de/ropper/"; 42 41 license = licenses.bsd3; 43 42 maintainers = with maintainers; [ bennofs ]; 43 + broken = stdenv.isDarwin; 44 44 }; 45 45 }
+4 -3
pkgs/development/python-modules/soco/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "soco"; 19 - version = "0.28.1"; 19 + version = "0.29.0"; 20 20 format = "setuptools"; 21 21 22 22 disabled = pythonOlder "3.6"; ··· 24 24 src = fetchFromGitHub { 25 25 owner = "SoCo"; 26 26 repo = "SoCo"; 27 - rev = "v${version}"; 28 - hash = "sha256-Po9ns+XQ8WuILKrinllm/lqZFWEBnylesCoqs+cnKs4="; 27 + rev = "refs/tags/v${version}"; 28 + hash = "sha256-6xyJY+qgwMsOgnh+PTVCf4F442hnBwlFnW+bt/cWxGc="; 29 29 }; 30 30 31 31 propagatedBuildInputs = [ ··· 52 52 meta = with lib; { 53 53 description = "CLI and library to control Sonos speakers"; 54 54 homepage = "http://python-soco.com/"; 55 + changelog = "https://github.com/SoCo/SoCo/releases/tag/v${version}"; 55 56 license = licenses.mit; 56 57 maintainers = with maintainers; [ lovesegfault ]; 57 58 };
+3 -2
pkgs/development/python-modules/uritools/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "uritools"; 9 - version = "4.0.0"; 9 + version = "4.0.1"; 10 10 format = "setuptools"; 11 11 12 12 disabled = pythonOlder "3.7"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "420d94c1ff4bf90c678fca9c17b8314243bbcaa992c400a95e327f7f622e1edf"; 16 + hash = "sha256-78XDpt4FQEhQaFqNPzTahHa1aqNRb7+O/1yHBMeigm8="; 17 17 }; 18 18 19 19 pythonImportsCheck = [ ··· 23 23 meta = with lib; { 24 24 description = "RFC 3986 compliant, Unicode-aware, scheme-agnostic replacement for urlparse"; 25 25 homepage = "https://github.com/tkem/uritools/"; 26 + changelog = "https://github.com/tkem/uritools/blob/v${version}/CHANGELOG.rst"; 26 27 license = licenses.mit; 27 28 maintainers = with maintainers; [ rvolosatovs ]; 28 29 };
-2
pkgs/servers/isso/default.nix
··· 63 63 homepage = "https://posativ.org/isso/"; 64 64 license = licenses.mit; 65 65 maintainers = with maintainers; [ fgaz ]; 66 - # never built on aarch64-darwin since first introduction in nixpkgs 67 - broken = stdenv.isDarwin && stdenv.isAarch64; 68 66 }; 69 67 }
+3 -3
pkgs/servers/nats-server/default.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "nats-server"; 9 - version = "2.9.10"; 9 + version = "2.9.11"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "nats-io"; 13 13 repo = pname; 14 14 rev = "v${version}"; 15 - hash = "sha256-r/hz80XFEOQN7bzQQTIMAeZI8H09WyiUqQl3glJz+RM="; 15 + hash = "sha256-iYiQYGwvxW7GF32h+E1vg3x6sml7zGk40jbY8akmOnM="; 16 16 }; 17 17 18 - vendorHash = "sha256-ASLy0rPuCSYGyy5Pw9fj559nxO4vPPagDKAe8wM29lo="; 18 + vendorHash = "sha256-qApohNp//N/eBljpa+D2fR19rqw8Bd8wdmME9fzqDxc="; 19 19 20 20 doCheck = false; 21 21
+2 -2
pkgs/tools/misc/goaccess/default.nix
··· 10 10 }: 11 11 12 12 stdenv.mkDerivation rec { 13 - version = "1.6.5"; 13 + version = "1.7"; 14 14 pname = "goaccess"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "allinurl"; 18 18 repo = pname; 19 19 rev = "v${version}"; 20 - sha256 = "sha256-ZXWlFg0h0PvUqX5+kR/TAkH3GvL9pHRrKueBGqx5MCY="; 20 + sha256 = "sha256-5lN+57HMxPfCop2sTSldhv1TBEIaowavXvniwqnesOQ="; 21 21 }; 22 22 23 23 nativeBuildInputs = [
+36 -10
pkgs/tools/networking/atftp/default.nix
··· 1 - { lib, stdenv, fetchurl, readline, tcp_wrappers, pcre, makeWrapper, gcc, ps }: 1 + { lib 2 + , stdenv 3 + , autoreconfHook 4 + , fetchurl 5 + , gcc 6 + , makeWrapper 7 + , pcre2 8 + , perl 9 + , ps 10 + , readline 11 + , tcp_wrappers 12 + }: 2 13 3 14 stdenv.mkDerivation rec { 4 15 pname = "atftp"; 5 - version = "0.7.5"; 16 + version = "0.8.0"; 6 17 7 18 src = fetchurl { 8 19 url = "mirror://sourceforge/atftp/${pname}-${version}.tar.gz"; 9 - sha256 = "12h3sgkd25j4nfagil2jqyj1n8yxvaawj0cf01742642n57pmj4k"; 20 + hash = "sha256-3yqgicdnD56rQOVZjl0stqWC3FGCkm6lC01pDk438xY="; 10 21 }; 11 22 12 23 # fix test script ··· 14 25 patchShebangs . 15 26 ''; 16 27 17 - nativeBuildInputs = [ makeWrapper ]; 18 - buildInputs = [ readline tcp_wrappers pcre gcc ]; 28 + nativeBuildInputs = [ 29 + autoreconfHook 30 + makeWrapper 31 + ]; 32 + 33 + buildInputs = [ 34 + gcc 35 + pcre2 36 + readline 37 + tcp_wrappers 38 + ]; 39 + 40 + checkInputs = [ 41 + perl 42 + ps 43 + ]; 19 44 20 45 # Expects pre-GCC5 inline semantics 21 46 NIX_CFLAGS_COMPILE = "-std=gnu89"; 22 47 23 48 doCheck = true; 24 - checkInputs = [ ps ]; 25 49 26 - meta = { 50 + meta = with lib; { 27 51 description = "Advanced tftp tools"; 28 - maintainers = [ lib.maintainers.raskin ]; 29 - platforms = lib.platforms.linux; 30 - license = lib.licenses.gpl2Plus; 52 + changelog = "https://sourceforge.net/p/atftp/code/ci/v${version}/tree/Changelog"; 53 + homepage = "https://sourceforge.net/projects/atftp/"; 54 + license = licenses.gpl2Plus; 55 + maintainers = with maintainers; [ raskin ]; 56 + platforms = platforms.linux; 31 57 }; 32 58 }
+17 -24
pkgs/tools/networking/driftnet/default.nix
··· 1 - { stdenv 2 - , lib 3 - , fetchFromGitHub 4 - , fetchpatch 1 + { lib 2 + , stdenv 5 3 , autoreconfHook 6 4 , cairo 5 + , fetchFromGitHub 7 6 , giflib 8 7 , glib 9 8 , gtk2-x11 10 9 , libjpeg 11 10 , libpcap 12 11 , libpng 12 + , libuv 13 13 , libwebsockets 14 + , libwebp 15 + , openssl 14 16 , pkg-config 15 - , libuv 16 - , openssl 17 17 }: 18 18 19 19 stdenv.mkDerivation rec { 20 20 pname = "driftnet"; 21 - version = "1.3.0"; 21 + version = "1.4.0"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "deiv"; 25 25 repo = "driftnet"; 26 - rev = "v${version}"; 27 - sha256 = "0kd22aqb25kf54jjv3ml8wy8xm7lmbf0xz1wfp31m08cbzsbizib"; 26 + rev = "refs/tags/v${version}"; 27 + hash = "sha256-szmezYnszlRanq8pMD0CIGA+zTYGSwSHcDaZ2Gx1KCA="; 28 28 }; 29 29 30 - # https://github.com/deiv/driftnet/pull/33 31 - # remove on version bump from 1.3.0 32 - patches = [ 33 - (fetchpatch { 34 - name = "fix-darwin-build"; 35 - url = "https://github.com/deiv/driftnet/pull/33/commits/bef5f3509ab5710161e9e21ea960a997eada534f.patch"; 36 - sha256 = "1b7p9fkgp7dxv965l7q7y632s80h3nnrkaqnak2h0hakwv0i4pvm"; 37 - }) 38 - # https://github.com/deiv/driftnet/issues/37 39 - ./libwebsockets-4.3.0.patch 40 - ]; 41 - 42 30 enableParallelBuilding = true; 43 31 44 - nativeBuildInputs = [ pkg-config autoreconfHook ]; 32 + nativeBuildInputs = [ 33 + pkg-config 34 + autoreconfHook 35 + ]; 45 36 46 37 buildInputs = [ 47 38 cairo ··· 51 42 libjpeg 52 43 libpcap 53 44 libpng 45 + libuv 54 46 libwebsockets 47 + libwebp 55 48 openssl 56 - libuv 57 49 ]; 58 50 59 51 meta = with lib; { 60 52 description = "Watches network traffic, and picks out and displays JPEG and GIF images for display"; 61 53 homepage = "https://github.com/deiv/driftnet"; 54 + changelog = "https://github.com/deiv/driftnet/releases/tag/v${version}"; 55 + license = licenses.gpl2Plus; 62 56 maintainers = with maintainers; [ offline ]; 63 57 platforms = platforms.linux ++ platforms.darwin; 64 - license = licenses.gpl2Plus; 65 58 }; 66 59 }
+3 -2
pkgs/tools/networking/siege/default.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "siege"; 10 - version = "4.1.5"; 10 + version = "4.1.6"; 11 11 12 12 src = fetchurl { 13 13 url = "http://download.joedog.org/siege/${pname}-${version}.tar.gz"; 14 - hash = "sha256-B235/Nt/Y8Rtb2YazCzMhAWTeunK5JCrip14qdLnuMs="; 14 + hash = "sha256-MJ1Ym/yBm28V0uXoWRs8DG9pNiT1Bg7qwGek2ad1fek="; 15 15 }; 16 16 17 17 NIX_LDFLAGS = lib.optionalString stdenv.isLinux [ ··· 35 35 meta = with lib; { 36 36 description = "HTTP load tester"; 37 37 homepage = "https://www.joedog.org/siege-home/"; 38 + changelog = "https://github.com/JoeDog/siege/blob/v${version}/ChangeLog"; 38 39 license = licenses.gpl2Plus; 39 40 maintainers = with maintainers; [ raskin ]; 40 41 platforms = platforms.unix;
+15 -7
pkgs/tools/networking/traceroute/default.nix
··· 1 - { lib, stdenv, fetchurl }: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + }: 2 5 3 6 stdenv.mkDerivation rec { 4 7 pname = "traceroute"; 5 - version = "2.1.0"; 8 + version = "2.1.1"; 6 9 7 10 src = fetchurl { 8 11 url = "mirror://sourceforge/traceroute/${pname}-${version}.tar.gz"; 9 - sha256 = "3669d22a34d3f38ed50caba18cd525ba55c5c00d5465f2d20d7472e5d81603b6"; 12 + sha256 = "sha256-j8jVBG6FXXWIYHuzGfW4LjuhPpHV1GNoYyYuY4a7r3Y="; 10 13 }; 11 14 12 - makeFlags = [ "prefix=$(out)" "LDFLAGS=-lm" "env=yes" ]; 15 + makeFlags = [ 16 + "prefix=$(out)" 17 + "LDFLAGS=-lm" 18 + "env=yes" 19 + ]; 13 20 14 21 preConfigure = '' 15 22 sed -i 's@LIBS := \(.*\) -lm \(.*\)@LIBS := \1 \2@' Make.rules 16 23 ''; 17 24 18 25 meta = with lib; { 26 + description = "Tracks the route taken by packets over an IP network"; 19 27 homepage = "http://traceroute.sourceforge.net/"; 20 - description = "Tracks the route taken by packets over an IP network"; 21 - license = lib.licenses.gpl2; 22 - maintainers = [ maintainers.koral ]; 28 + changelog = "https://sourceforge.net/projects/traceroute/files/traceroute/traceroute-${version}/"; 29 + license = licenses.gpl2Plus; 30 + maintainers = with maintainers; [ koral ]; 23 31 platforms = platforms.linux; 24 32 }; 25 33 }
+2 -2
pkgs/tools/security/trufflehog/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "trufflehog"; 8 - version = "3.21.0"; 8 + version = "3.23.1"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "trufflesecurity"; 12 12 repo = "trufflehog"; 13 13 rev = "refs/tags/v${version}"; 14 - hash = "sha256-rse5uyQ7EUBhs0IyC92B/Z7YCeNIXTlZEqrlcjFekgA="; 14 + hash = "sha256-dCjFMcLFOoAiOXRp0jhBTqYembLLsvDWMetGjRF083k="; 15 15 }; 16 16 17 17 vendorHash = "sha256-KyyJ7hUWF29L8oB9GkJ918/BQoLMsz+tStT2T9Azunk=";
+3 -1
pkgs/top-level/all-packages.nix
··· 3117 3117 3118 3118 glasstty-ttf = callPackage ../data/fonts/glasstty-ttf { }; 3119 3119 3120 + glaxnimate = libsForQt5.callPackage ../applications/video/glaxnimate { }; 3121 + 3120 3122 gmid = callPackage ../servers/gemini/gmid { }; 3121 3123 3122 3124 gmni = callPackage ../applications/networking/browsers/gmni { }; ··· 11032 11034 11033 11035 qalculate-gtk = callPackage ../applications/science/math/qalculate-gtk { }; 11034 11036 11035 - qalculate-qt = libsForQt5.callPackage ../applications/science/math/qalculate-qt { }; 11037 + qalculate-qt = qt6Packages.callPackage ../applications/science/math/qalculate-qt { }; 11036 11038 11037 11039 qastools = libsForQt5.callPackage ../tools/audio/qastools { }; 11038 11040
+9 -2
pkgs/top-level/php-packages.nix
··· 137 137 checkPhase = '' 138 138 runHook preCheck 139 139 140 - NO_INTERACTON=yes SKIP_PERF_SENSITIVE=yes make test 141 - 140 + NO_INTERACTION=yes SKIP_PERF_SENSITIVE=yes make test 142 141 runHook postCheck 143 142 ''; 144 143 ··· 414 413 valgrind.dev 415 414 ]; 416 415 zendExtension = true; 416 + patches = [ ] ++ lib.optionals (lib.versionAtLeast php.version "8.1") [ 417 + (fetchpatch { 418 + # See https://github.com/php/php-src/pull/10266 419 + name = "avoid-opcache-test-failures.patch"; 420 + url = "https://github.com/PHP/php-src/commit/9216d14b3abfc727b0668592b48699440137aa74.patch"; 421 + sha256 = "sha256-/U6LMn/QGM8BXlh+Etl1z97v3qZFiWL2G3ZopNYShGU="; 422 + }) 423 + ]; 417 424 # Tests launch the builtin webserver. 418 425 __darwinAllowLocalNetworking = true; 419 426 }
+1 -1
pkgs/top-level/python-packages.nix
··· 11947 11947 vt-py = callPackage ../development/python-modules/vt-py { }; 11948 11948 11949 11949 vtk = toPythonModule (pkgs.vtk_9.override { 11950 - pythonInterpreter = python; 11950 + inherit python; 11951 11951 enablePython = true; 11952 11952 }); 11953 11953