Merge branch 'master' into staging-next

+3832 -4232
+2 -2
doc/contributing/coding-conventions.chapter.md
··· 204 204 205 205 In Nixpkgs, there are generally three different names associated with a package: 206 206 207 - - The `name` attribute of the derivation (excluding the version part). This is what most users see, in particular when using `nix-env`. 207 + - The `pname` attribute of the derivation. This is what most users see, in particular when using `nix-env`. 208 208 209 209 - The variable name used for the instantiated package in `all-packages.nix`, and when passing it as a dependency to other functions. Typically this is called the _package attribute name_. This is what Nix expression authors see. It can also be used when installing using `nix-env -iA`. 210 210 211 211 - The filename for (the directory containing) the Nix expression. 212 212 213 - Most of the time, these are the same. For instance, the package `e2fsprogs` has a `name` attribute `"e2fsprogs-version"`, is bound to the variable name `e2fsprogs` in `all-packages.nix`, and the Nix expression is in `pkgs/os-specific/linux/e2fsprogs/default.nix`. 213 + Most of the time, these are the same. For instance, the package `e2fsprogs` has a `pname` attribute `"e2fsprogs"`, is bound to the variable name `e2fsprogs` in `all-packages.nix`, and the Nix expression is in `pkgs/os-specific/linux/e2fsprogs/default.nix`. 214 214 215 215 There are a few naming guidelines: 216 216
+25 -10
nixos/doc/manual/default.nix
··· 21 21 withManOptDedupPatch = true; 22 22 }; 23 23 24 + manpageUrls = pkgs.path + "/doc/manpage-urls.json"; 25 + 24 26 # We need to strip references to /nix/store/* from options, 25 27 # including any `extraSources` if some modules came from elsewhere, 26 28 # or else the build will fail. ··· 72 74 nativeBuildInputs = [ pkgs.nixos-render-docs ]; 73 75 } '' 74 76 nixos-render-docs manual docbook \ 75 - --manpage-urls ${pkgs.path + "/doc/manpage-urls.json"} \ 77 + --manpage-urls ${manpageUrls} \ 76 78 "$out" \ 77 79 --section \ 78 80 --section-id modules \ ··· 255 257 manpages = runCommand "nixos-manpages" 256 258 { inherit sources; 257 259 nativeBuildInputs = [ 260 + buildPackages.installShellFiles 261 + ] ++ lib.optionals allowDocBook [ 258 262 buildPackages.libxml2.bin 259 263 buildPackages.libxslt.bin 260 - buildPackages.installShellFiles 264 + ] ++ lib.optionals (! allowDocBook) [ 265 + buildPackages.nixos-render-docs 261 266 ]; 262 267 allowedReferences = ["out"]; 263 268 } ··· 265 270 # Generate manpages. 266 271 mkdir -p $out/share/man/man8 267 272 installManPage ${./manpages}/* 268 - xsltproc --nonet \ 269 - --maxdepth 6000 \ 270 - --param man.output.in.separate.dir 1 \ 271 - --param man.output.base.dir "'$out/share/man/'" \ 272 - --param man.endnotes.are.numbered 0 \ 273 - --param man.break.after.slash 1 \ 274 - ${docbook_xsl_ns}/xml/xsl/docbook/manpages/docbook.xsl \ 275 - ${manual-combined}/man-pages-combined.xml 273 + ${if allowDocBook 274 + then '' 275 + xsltproc --nonet \ 276 + --maxdepth 6000 \ 277 + --param man.output.in.separate.dir 1 \ 278 + --param man.output.base.dir "'$out/share/man/'" \ 279 + --param man.endnotes.are.numbered 0 \ 280 + --param man.break.after.slash 1 \ 281 + ${docbook_xsl_ns}/xml/xsl/docbook/manpages/docbook.xsl \ 282 + ${manual-combined}/man-pages-combined.xml 283 + '' 284 + else '' 285 + mkdir -p $out/share/man/man5 286 + nixos-render-docs options manpage \ 287 + --revision ${lib.escapeShellArg revision} \ 288 + ${optionsJSON}/share/doc/nixos/options.json \ 289 + $out/share/man/man5/configuration.nix.5 290 + ''} 276 291 ''; 277 292 278 293 }
+2 -2
nixos/doc/manual/from_md/release-notes/rl-2305.section.xml
··· 577 577 </listitem> 578 578 <listitem> 579 579 <para> 580 - <literal>services.openssh.cyphers</literal> to 581 - <literal>services.openssh.settings.Cyphers</literal> 580 + <literal>services.openssh.ciphers</literal> to 581 + <literal>services.openssh.settings.Ciphers</literal> 582 582 </para> 583 583 </listitem> 584 584 <listitem>
+1 -1
nixos/doc/manual/release-notes/rl-2305.section.md
··· 137 137 - `services.openssh.logLevel` to `services.openssh.settings.LogLevel` 138 138 - `services.openssh.kexAlgorithms` to `services.openssh.settings.KexAlgorithms` 139 139 - `services.openssh.macs` to `services.openssh.settings.Macs` 140 - - `services.openssh.cyphers` to `services.openssh.settings.Cyphers` 140 + - `services.openssh.ciphers` to `services.openssh.settings.Ciphers` 141 141 - `services.openssh.gatewayPorts` to `services.openssh.settings.GatewayPorts` 142 142 143 143 - `services.mastodon` gained a tootctl wrapped named `mastodon-tootctl` similar to `nextcloud-occ` which can be executed from any user and switches to the configured mastodon user with sudo and sources the environment variables.
+1 -1
nixos/lib/make-options-doc/default.nix
··· 78 78 title = args.title or null; 79 79 name = args.name or (lib.concatStringsSep "." args.path); 80 80 in '' 81 - - [`${lib.optionalString (title != null) "${title} aka "}pkgs.${name}`]( 81 + - [${lib.optionalString (title != null) "${title} aka "}`pkgs.${name}`]( 82 82 https://search.nixos.org/packages?show=${name}&sort=relevance&query=${name} 83 83 )${ 84 84 lib.optionalString (args ? comment) "\n\n ${args.comment}"
+1 -1
nixos/modules/config/stevenblack.nix
··· 15 15 in 16 16 { 17 17 options.networking.stevenblack = { 18 - enable = mkEnableOption (mdDoc "Enable the stevenblack hosts file blocklist."); 18 + enable = mkEnableOption (mdDoc "Enable the stevenblack hosts file blocklist"); 19 19 20 20 block = mkOption { 21 21 type = types.listOf (types.enum [ "fakenews" "gambling" "porn" "social" ]);
+2 -2
nixos/modules/programs/k3b.nix
··· 28 28 k3b 29 29 dvdplusrwtools 30 30 cdrdao 31 - cdrkit 31 + cdrtools 32 32 ]; 33 33 34 34 security.wrappers = { ··· 44 44 owner = "root"; 45 45 group = "cdrom"; 46 46 permissions = "u+wrx,g+x"; 47 - source = "${pkgs.cdrkit}/bin/cdrecord"; 47 + source = "${pkgs.cdrtools}/bin/cdrecord"; 48 48 }; 49 49 }; 50 50
+1 -1
nixos/modules/programs/proxychains.nix
··· 86 86 description = lib.mdDoc "Proxy DNS requests - no leak for DNS data."; 87 87 }; 88 88 89 - quietMode = mkEnableOption (lib.mdDoc "Quiet mode (no output from the library)."); 89 + quietMode = mkEnableOption (lib.mdDoc "Quiet mode (no output from the library)"); 90 90 91 91 remoteDNSSubnet = mkOption { 92 92 type = types.enum [ 10 127 224 ];
+1 -1
nixos/modules/security/polkit.nix
··· 14 14 15 15 security.polkit.enable = mkEnableOption (lib.mdDoc "polkit"); 16 16 17 - security.polkit.debug = mkEnableOption (lib.mdDoc "debug logs from polkit. This is required in order to see log messages from rule definitions."); 17 + security.polkit.debug = mkEnableOption (lib.mdDoc "debug logs from polkit. This is required in order to see log messages from rule definitions"); 18 18 19 19 security.polkit.extraConfig = mkOption { 20 20 type = types.lines;
+1 -1
nixos/modules/services/backup/zfs-replication.nix
··· 9 9 in { 10 10 options = { 11 11 services.zfs.autoReplication = { 12 - enable = mkEnableOption (lib.mdDoc "ZFS snapshot replication."); 12 + enable = mkEnableOption (lib.mdDoc "ZFS snapshot replication"); 13 13 14 14 followDelete = mkOption { 15 15 description = lib.mdDoc "Remove remote snapshots that don't have a local correspondent.";
+1 -1
nixos/modules/services/cluster/kubernetes/addon-manager.nix
··· 62 62 ''; 63 63 }; 64 64 65 - enable = mkEnableOption (lib.mdDoc "Kubernetes addon manager."); 65 + enable = mkEnableOption (lib.mdDoc "Kubernetes addon manager"); 66 66 }; 67 67 68 68 ###### implementation
+1 -1
nixos/modules/services/cluster/kubernetes/kubelet.nix
··· 146 146 default = "unix:///run/containerd/containerd.sock"; 147 147 }; 148 148 149 - enable = mkEnableOption (lib.mdDoc "Kubernetes kubelet."); 149 + enable = mkEnableOption (lib.mdDoc "Kubernetes kubelet"); 150 150 151 151 extraOpts = mkOption { 152 152 description = lib.mdDoc "Kubernetes kubelet extra command line options.";
+2 -2
nixos/modules/services/desktops/gnome/evolution-data-server.nix
··· 27 27 options = { 28 28 29 29 services.gnome.evolution-data-server = { 30 - enable = mkEnableOption (lib.mdDoc "Evolution Data Server, a collection of services for storing addressbooks and calendars."); 30 + enable = mkEnableOption (lib.mdDoc "Evolution Data Server, a collection of services for storing addressbooks and calendars"); 31 31 plugins = mkOption { 32 32 type = types.listOf types.package; 33 33 default = [ ]; ··· 35 35 }; 36 36 }; 37 37 programs.evolution = { 38 - enable = mkEnableOption (lib.mdDoc "Evolution, a Personal information management application that provides integrated mail, calendaring and address book functionality."); 38 + enable = mkEnableOption (lib.mdDoc "Evolution, a Personal information management application that provides integrated mail, calendaring and address book functionality"); 39 39 plugins = mkOption { 40 40 type = types.listOf types.package; 41 41 default = [ ];
+1 -1
nixos/modules/services/development/zammad.nix
··· 28 28 29 29 options = { 30 30 services.zammad = { 31 - enable = mkEnableOption (lib.mdDoc "Zammad, a web-based, open source user support/ticketing solution."); 31 + enable = mkEnableOption (lib.mdDoc "Zammad, a web-based, open source user support/ticketing solution"); 32 32 33 33 package = mkOption { 34 34 type = types.package;
+1 -1
nixos/modules/services/games/freeciv.nix
··· 54 54 default = 0; 55 55 description = lib.mdDoc "Set debug log level."; 56 56 }; 57 - options.exit-on-end = mkEnableOption (lib.mdDoc "exit instead of restarting when a game ends."); 57 + options.exit-on-end = mkEnableOption (lib.mdDoc "exit instead of restarting when a game ends"); 58 58 options.Guests = mkEnableOption (lib.mdDoc "guests to login if auth is enabled"); 59 59 options.Newusers = mkEnableOption (lib.mdDoc "new users to login if auth is enabled"); 60 60 options.port = mkOption {
+1 -1
nixos/modules/services/hardware/udisks2.nix
··· 19 19 20 20 services.udisks2 = { 21 21 22 - enable = mkEnableOption (lib.mdDoc "udisks2, a DBus service that allows applications to query and manipulate storage devices."); 22 + enable = mkEnableOption (lib.mdDoc "udisks2, a DBus service that allows applications to query and manipulate storage devices"); 23 23 24 24 settings = mkOption rec { 25 25 type = types.attrsOf settingsFormat.type;
+7 -7
nixos/modules/services/mail/dovecot.nix
··· 171 171 options.services.dovecot2 = { 172 172 enable = mkEnableOption (lib.mdDoc "the dovecot 2.x POP3/IMAP server"); 173 173 174 - enablePop3 = mkEnableOption (lib.mdDoc "starting the POP3 listener (when Dovecot is enabled)."); 174 + enablePop3 = mkEnableOption (lib.mdDoc "starting the POP3 listener (when Dovecot is enabled)"); 175 175 176 - enableImap = mkEnableOption (lib.mdDoc "starting the IMAP listener (when Dovecot is enabled).") // { default = true; }; 176 + enableImap = mkEnableOption (lib.mdDoc "starting the IMAP listener (when Dovecot is enabled)") // { default = true; }; 177 177 178 - enableLmtp = mkEnableOption (lib.mdDoc "starting the LMTP listener (when Dovecot is enabled)."); 178 + enableLmtp = mkEnableOption (lib.mdDoc "starting the LMTP listener (when Dovecot is enabled)"); 179 179 180 180 protocols = mkOption { 181 181 type = types.listOf types.str; ··· 300 300 description = lib.mdDoc "Path to the server's private key."; 301 301 }; 302 302 303 - enablePAM = mkEnableOption (lib.mdDoc "creating a own Dovecot PAM service and configure PAM user logins.") // { default = true; }; 303 + enablePAM = mkEnableOption (lib.mdDoc "creating a own Dovecot PAM service and configure PAM user logins") // { default = true; }; 304 304 305 - enableDHE = mkEnableOption (lib.mdDoc "enable ssl_dh and generation of primes for the key exchange.") // { default = true; }; 305 + enableDHE = mkEnableOption (lib.mdDoc "enable ssl_dh and generation of primes for the key exchange") // { default = true; }; 306 306 307 307 sieveScripts = mkOption { 308 308 type = types.attrsOf types.path; ··· 310 310 description = lib.mdDoc "Sieve scripts to be executed. Key is a sequence, e.g. 'before2', 'after' etc."; 311 311 }; 312 312 313 - showPAMFailure = mkEnableOption (lib.mdDoc "showing the PAM failure message on authentication error (useful for OTPW)."); 313 + showPAMFailure = mkEnableOption (lib.mdDoc "showing the PAM failure message on authentication error (useful for OTPW)"); 314 314 315 315 mailboxes = mkOption { 316 316 type = with types; coercedTo ··· 326 326 description = lib.mdDoc "Configure mailboxes and auto create or subscribe them."; 327 327 }; 328 328 329 - enableQuota = mkEnableOption (lib.mdDoc "the dovecot quota service."); 329 + enableQuota = mkEnableOption (lib.mdDoc "the dovecot quota service"); 330 330 331 331 quotaPort = mkOption { 332 332 type = types.str;
+1 -1
nixos/modules/services/misc/atuin.nix
··· 8 8 { 9 9 options = { 10 10 services.atuin = { 11 - enable = mkEnableOption (mdDoc "Enable server for shell history sync with atuin."); 11 + enable = mkEnableOption (mdDoc "Enable server for shell history sync with atuin"); 12 12 13 13 openRegistration = mkOption { 14 14 type = types.bool;
+1 -1
nixos/modules/services/misc/input-remapper.nix
··· 6 6 { 7 7 options = { 8 8 services.input-remapper = { 9 - enable = mkEnableOption (lib.mdDoc "input-remapper, an easy to use tool to change the mapping of your input device buttons."); 9 + enable = mkEnableOption (lib.mdDoc "input-remapper, an easy to use tool to change the mapping of your input device buttons"); 10 10 package = mkPackageOptionMD pkgs "input-remapper" { }; 11 11 enableUdevRules = mkEnableOption (lib.mdDoc "udev rules added by input-remapper to handle hotplugged devices. Currently disabled by default due to https://github.com/sezanzeb/input-remapper/issues/140"); 12 12 serviceWantedBy = mkOption {
+1 -1
nixos/modules/services/misc/sourcehut/default.nix
··· 438 438 }; 439 439 440 440 options."lists.sr.ht" = commonServiceSettings "lists" // { 441 - allow-new-lists = mkEnableOption (lib.mdDoc "Allow creation of new lists."); 441 + allow-new-lists = mkEnableOption (lib.mdDoc "Allow creation of new lists"); 442 442 notify-from = mkOption { 443 443 description = lib.mdDoc "Outgoing email for notifications generated by users."; 444 444 type = types.str;
+1 -1
nixos/modules/services/monitoring/mackerel-agent.nix
··· 11 11 12 12 # the upstream package runs as root, but doesn't seem to be strictly 13 13 # necessary for basic functionality 14 - runAsRoot = mkEnableOption (lib.mdDoc "Whether to run as root."); 14 + runAsRoot = mkEnableOption (lib.mdDoc "Whether to run as root"); 15 15 16 16 autoRetirement = mkEnableOption (lib.mdDoc '' 17 17 Whether to automatically retire the host upon OS shutdown.
+3 -3
nixos/modules/services/monitoring/prometheus/exporters/unpoller.nix
··· 24 24 inherit (options.services.unpoller.unifi) controllers; 25 25 inherit (options.services.unpoller) loki; 26 26 log = { 27 - debug = mkEnableOption (lib.mdDoc "debug logging including line numbers, high resolution timestamps, per-device logs."); 28 - quiet = mkEnableOption (lib.mdDoc "startup and error logs only."); 29 - prometheusErrors = mkEnableOption (lib.mdDoc "emitting errors to prometheus."); 27 + debug = mkEnableOption (lib.mdDoc "debug logging including line numbers, high resolution timestamps, per-device logs"); 28 + quiet = mkEnableOption (lib.mdDoc "startup and error logs only"); 29 + prometheusErrors = mkEnableOption (lib.mdDoc "emitting errors to prometheus"); 30 30 }; 31 31 }; 32 32
+2 -2
nixos/modules/services/monitoring/uptime-kuma.nix
··· 11 11 12 12 options = { 13 13 services.uptime-kuma = { 14 - enable = mkEnableOption (mdDoc "Uptime Kuma, this assumes a reverse proxy to be set."); 14 + enable = mkEnableOption (mdDoc "Uptime Kuma, this assumes a reverse proxy to be set"); 15 15 16 16 package = mkOption { 17 17 type = types.package; ··· 20 20 description = lib.mdDoc "Uptime Kuma package to use."; 21 21 }; 22 22 23 - appriseSupport = mkEnableOption (mdDoc "apprise support for notifications."); 23 + appriseSupport = mkEnableOption (mdDoc "apprise support for notifications"); 24 24 25 25 settings = lib.mkOption { 26 26 type = lib.types.submodule { freeformType = with lib.types; attrsOf str; };
+3 -3
nixos/modules/services/network-filesystems/moosefs.nix
··· 85 85 description = lib.mdDoc "Run daemons as user moosefs instead of root."; 86 86 }; 87 87 88 - client.enable = mkEnableOption (lib.mdDoc "Moosefs client."); 88 + client.enable = mkEnableOption (lib.mdDoc "Moosefs client"); 89 89 90 90 master = { 91 91 enable = mkOption { ··· 131 131 }; 132 132 133 133 metalogger = { 134 - enable = mkEnableOption (lib.mdDoc "Moosefs metalogger daemon."); 134 + enable = mkEnableOption (lib.mdDoc "Moosefs metalogger daemon"); 135 135 136 136 settings = mkOption { 137 137 type = types.submodule { ··· 149 149 }; 150 150 151 151 chunkserver = { 152 - enable = mkEnableOption (lib.mdDoc "Moosefs chunkserver daemon."); 152 + enable = mkEnableOption (lib.mdDoc "Moosefs chunkserver daemon"); 153 153 154 154 openFirewall = mkOption { 155 155 type = types.bool;
+1 -1
nixos/modules/services/networking/blockbook-frontend.nix
··· 10 10 11 11 options = { 12 12 13 - enable = mkEnableOption (lib.mdDoc "blockbook-frontend application."); 13 + enable = mkEnableOption (lib.mdDoc "blockbook-frontend application"); 14 14 15 15 package = mkOption { 16 16 type = types.package;
+1 -1
nixos/modules/services/networking/ssh/sshd.nix
··· 106 106 (mkRenamedOptionModule [ "services" "openssh" "permitRootLogin" ] [ "services" "openssh" "settings" "PermitRootLogin" ]) 107 107 (mkRenamedOptionModule [ "services" "openssh" "logLevel" ] [ "services" "openssh" "settings" "LogLevel" ]) 108 108 (mkRenamedOptionModule [ "services" "openssh" "macs" ] [ "services" "openssh" "settings" "Macs" ]) 109 - (mkRenamedOptionModule [ "services" "openssh" "cyphers" ] [ "services" "openssh" "settings" "Cyphers" ]) 109 + (mkRenamedOptionModule [ "services" "openssh" "ciphers" ] [ "services" "openssh" "settings" "Ciphers" ]) 110 110 (mkRenamedOptionModule [ "services" "openssh" "kexAlgorithms" ] [ "services" "openssh" "settings" "KexAlgorithms" ]) 111 111 (mkRenamedOptionModule [ "services" "openssh" "gatewayPorts" ] [ "services" "openssh" "settings" "GatewayPorts" ]) 112 112 (mkRenamedOptionModule [ "services" "openssh" "forwardX11" ] [ "services" "openssh" "settings" "X11Forwarding" ])
+1 -1
nixos/modules/services/security/kanidm.nix
··· 55 55 options.services.kanidm = { 56 56 enableClient = lib.mkEnableOption (lib.mdDoc "the Kanidm client"); 57 57 enableServer = lib.mkEnableOption (lib.mdDoc "the Kanidm server"); 58 - enablePam = lib.mkEnableOption (lib.mdDoc "the Kanidm PAM and NSS integration."); 58 + enablePam = lib.mkEnableOption (lib.mdDoc "the Kanidm PAM and NSS integration"); 59 59 60 60 serverSettings = lib.mkOption { 61 61 type = lib.types.submodule {
+1 -1
nixos/modules/services/web-apps/cloudlog.nix
··· 68 68 in 69 69 { 70 70 options.services.cloudlog = with types; { 71 - enable = mkEnableOption (mdDoc "Whether to enable Cloudlog."); 71 + enable = mkEnableOption (mdDoc "Whether to enable Cloudlog"); 72 72 dataDir = mkOption { 73 73 type = str; 74 74 default = "/var/lib/cloudlog";
+1 -1
nixos/modules/services/web-apps/dokuwiki.nix
··· 148 148 ]; 149 149 150 150 options = { 151 - enable = mkEnableOption (lib.mdDoc "DokuWiki web application."); 151 + enable = mkEnableOption (lib.mdDoc "DokuWiki web application"); 152 152 153 153 package = mkOption { 154 154 type = types.package;
+1 -1
nixos/modules/services/web-apps/galene.nix
··· 12 12 { 13 13 options = { 14 14 services.galene = { 15 - enable = mkEnableOption (lib.mdDoc "Galene Service."); 15 + enable = mkEnableOption (lib.mdDoc "Galene Service"); 16 16 17 17 stateDir = mkOption { 18 18 default = defaultstateDir;
+1 -1
nixos/modules/services/web-apps/hledger-web.nix
··· 7 7 8 8 enable = mkEnableOption (lib.mdDoc "hledger-web service"); 9 9 10 - serveApi = mkEnableOption (lib.mdDoc "Serve only the JSON web API, without the web UI."); 10 + serveApi = mkEnableOption (lib.mdDoc "Serve only the JSON web API, without the web UI"); 11 11 12 12 host = mkOption { 13 13 type = types.str;
+1 -1
nixos/modules/services/web-apps/jirafeau.nix
··· 36 36 description = lib.mdDoc "Location of Jirafeau storage directory."; 37 37 }; 38 38 39 - enable = mkEnableOption (lib.mdDoc "Jirafeau file upload application."); 39 + enable = mkEnableOption (lib.mdDoc "Jirafeau file upload application"); 40 40 41 41 extraConfig = mkOption { 42 42 type = types.lines;
+1 -1
nixos/modules/services/web-apps/limesurvey.nix
··· 32 32 # interface 33 33 34 34 options.services.limesurvey = { 35 - enable = mkEnableOption (lib.mdDoc "Limesurvey web application."); 35 + enable = mkEnableOption (lib.mdDoc "Limesurvey web application"); 36 36 37 37 database = { 38 38 type = mkOption {
+1
nixos/modules/services/x11/desktop-managers/plasma5.nix
··· 448 448 dolphin-plugins 449 449 ffmpegthumbs 450 450 kdegraphics-thumbnailers 451 + pkgs.kio-admin 451 452 kio-extras 452 453 ]; 453 454 optionalPackages = [
+2 -2
nixos/modules/services/x11/extra-layouts.nix
··· 106 106 description = lib.mdDoc '' 107 107 Extra custom layouts that will be included in the xkb configuration. 108 108 Information on how to create a new layout can be found here: 109 - [](https://www.x.org/releases/current/doc/xorg-docs/input/XKB-Enhancing.html#Defining_New_Layouts). 109 + <https://www.x.org/releases/current/doc/xorg-docs/input/XKB-Enhancing.html#Defining_New_Layouts>. 110 110 For more examples see 111 - [](https://wiki.archlinux.org/index.php/X_KeyBoard_extension#Basic_examples) 111 + <https://wiki.archlinux.org/index.php/X_KeyBoard_extension#Basic_examples> 112 112 ''; 113 113 }; 114 114
+5 -5
nixos/modules/system/boot/initrd-ssh.nix
··· 128 128 HostKey ${initrdKeyPath path} 129 129 '')} 130 130 131 - KexAlgorithms ${concatStringsSep "," sshdCfg.kexAlgorithms} 132 - Ciphers ${concatStringsSep "," sshdCfg.ciphers} 133 - MACs ${concatStringsSep "," sshdCfg.macs} 131 + KexAlgorithms ${concatStringsSep "," sshdCfg.settings.KexAlgorithms} 132 + Ciphers ${concatStringsSep "," sshdCfg.settings.Ciphers} 133 + MACs ${concatStringsSep "," sshdCfg.settings.Macs} 134 134 135 - LogLevel ${sshdCfg.logLevel} 135 + LogLevel ${sshdCfg.settings.LogLevel} 136 136 137 - ${if sshdCfg.useDns then '' 137 + ${if sshdCfg.settings.UseDns then '' 138 138 UseDNS yes 139 139 '' else '' 140 140 UseDNS no
+1 -1
nixos/modules/system/boot/kernel.nix
··· 20 20 ###### interface 21 21 22 22 options = { 23 - boot.kernel.enable = mkEnableOption (lib.mdDoc "the Linux kernel. This is useful for systemd-like containers which do not require a kernel.") // { 23 + boot.kernel.enable = mkEnableOption (lib.mdDoc "the Linux kernel. This is useful for systemd-like containers which do not require a kernel") // { 24 24 default = true; 25 25 }; 26 26
+9 -4
nixos/modules/system/boot/luksroot.nix
··· 929 929 ++ (if builtins.elem "xts" luks.cryptoModules then ["ecb"] else []); 930 930 931 931 # copy the cryptsetup binary and it's dependencies 932 - boot.initrd.extraUtilsCommands = mkIf (!config.boot.initrd.systemd.enable) '' 932 + boot.initrd.extraUtilsCommands = let 933 + pbkdf2-sha512 = pkgs.runCommandCC "pbkdf2-sha512" { buildInputs = [ pkgs.openssl ]; } '' 934 + mkdir -p "$out/bin" 935 + cc -O3 -lcrypto ${./pbkdf2-sha512.c} -o "$out/bin/pbkdf2-sha512" 936 + strip -s "$out/bin/pbkdf2-sha512" 937 + ''; 938 + in 939 + mkIf (!config.boot.initrd.systemd.enable) '' 933 940 copy_bin_and_libs ${pkgs.cryptsetup}/bin/cryptsetup 934 941 copy_bin_and_libs ${askPass}/bin/cryptsetup-askpass 935 942 sed -i s,/bin/sh,$out/bin/sh, $out/bin/cryptsetup-askpass ··· 939 946 copy_bin_and_libs ${pkgs.yubikey-personalization}/bin/ykinfo 940 947 copy_bin_and_libs ${pkgs.openssl.bin}/bin/openssl 941 948 942 - cc -O3 -I${pkgs.openssl.dev}/include -L${lib.getLib pkgs.openssl}/lib ${./pbkdf2-sha512.c} -o pbkdf2-sha512 -lcrypto 943 - strip -s pbkdf2-sha512 944 - copy_bin_and_libs pbkdf2-sha512 949 + copy_bin_and_libs ${pbkdf2-sha512}/bin/pbkdf2-sha512 945 950 946 951 mkdir -p $out/etc/ssl 947 952 cp -pdv ${pkgs.openssl.out}/etc/ssl/openssl.cnf $out/etc/ssl
+13 -5
nixos/modules/tasks/filesystems/envfs.nix
··· 7 7 device = "none"; 8 8 fsType = "envfs"; 9 9 options = [ 10 - "fallback-path=${pkgs.runCommand "fallback-path" {} '' 10 + "fallback-path=${pkgs.runCommand "fallback-path" {} ('' 11 11 mkdir -p $out 12 - ln -s ${pkgs.coreutils}/bin/env $out/env 13 - ln -s ${config.system.build.binsh}/bin/sh $out/sh 14 - ''}" 12 + ln -s ${config.environment.usrbinenv} $out/env 13 + ln -s ${config.environment.binsh} $out/sh 14 + '' + cfg.extraFallbackPathCommands)}" 15 15 ]; 16 16 }; 17 17 "/bin" = { ··· 31 31 etc. 32 32 ''; 33 33 }; 34 + 34 35 package = lib.mkOption { 35 36 type = lib.types.package; 36 - description = lib.mdDoc "Which package to use for the envfs."; 37 37 default = pkgs.envfs; 38 38 defaultText = lib.literalExpression "pkgs.envfs"; 39 + description = lib.mdDoc "Which package to use for the envfs."; 40 + }; 41 + 42 + extraFallbackPathCommands = lib.mkOption { 43 + type = lib.types.lines; 44 + default = ""; 45 + example = "ln -s $''{pkgs.bash}/bin/bash $out/bash"; 46 + description = lib.mdDoc "Extra commands to run in the package that contains fallback executables in case not other executable is found"; 39 47 }; 40 48 }; 41 49 };
+2 -2
pkgs/applications/audio/callaudiod/default.nix
··· 11 11 12 12 stdenv.mkDerivation rec { 13 13 pname = "callaudiod"; 14 - version = "0.1.4"; 14 + version = "0.1.7"; 15 15 16 16 src = fetchFromGitLab { 17 17 domain = "gitlab.com"; 18 18 owner = "mobian1"; 19 19 repo = pname; 20 20 rev = version; 21 - sha256 = "sha256-71+9ALz55aqxXRBRwOcs9fwiQK31pJ9E72pGRmt0OkE="; 21 + sha256 = "sha256-BDEu3ASlnovMK0lQC+CQvpXvtdt33BRntstPAWaAnsg="; 22 22 }; 23 23 24 24 strictDeps = true;
+2 -2
pkgs/applications/audio/snapcast/default.nix
··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "snapcast"; 12 - version = "0.26.0"; 12 + version = "0.27.0"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "badaix"; 16 16 repo = "snapcast"; 17 17 rev = "v${version}"; 18 - sha256 = "sha256-CCifn9OEFM//Hk1PJj8T3MXIV8pXCTdBBXPsHuZwLyQ="; 18 + sha256 = "sha256-dlK1xQQqst4VQjioC7MZzqXwMC+JfqtvnD5lrOqGhYI="; 19 19 }; 20 20 21 21 nativeBuildInputs = [ cmake pkg-config ];
+3 -3
pkgs/applications/blockchains/erigon/default.nix
··· 2 2 3 3 let 4 4 pname = "erigon"; 5 - version = "2.37.0"; 5 + version = "2.38.1"; 6 6 in 7 7 buildGoModule { 8 8 inherit pname version; ··· 11 11 owner = "ledgerwatch"; 12 12 repo = pname; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-r/mumt/f0wrOsXyEHo/NX0lJGt8zqXEVNC+9DWDkHAM="; 14 + sha256 = "sha256-sLJMmSEUQNsodZ9Ms0ipDwN2QOYa9pZTlEqt4CF23Sc="; 15 15 fetchSubmodules = true; 16 16 }; 17 17 18 - vendorSha256 = "sha256-vSJZ1wIx1CiLE04ZBDnQDQqM2v8BBLxw5qbAsixC3/U="; 18 + vendorSha256 = "sha256-KESY+PSbWQHPJphop4GnVF4T8Q/MPb2GFDEko0ieXEM="; 19 19 proxyVendor = true; 20 20 21 21 # Build errors in mdbx when format hardening is enabled:
+27 -1
pkgs/applications/blockchains/torq/default.nix
··· 1 1 { lib 2 2 , buildGoModule 3 + , buildNpmPackage 3 4 , fetchFromGitHub 4 5 }: 5 6 6 - buildGoModule rec { 7 + let 7 8 pname = "torq"; 8 9 version = "0.17.3"; 9 10 ··· 14 15 hash = "sha256-fqHJZi1NQCrZqsa+N+FVYZ8s9o0D555Sqn5qNlJ1MmI="; 15 16 }; 16 17 18 + web = buildNpmPackage { 19 + pname = "${pname}-frontend"; 20 + inherit version; 21 + src = "${src}/web"; 22 + npmDepsHash = "sha256-8mUfTFzPjQlQvhC3zZf+WruDBkYnmGt3yckNi0CPWs0="; 23 + 24 + # copied from upstream Dockerfile 25 + npmInstallFlags = [ "--legacy-peer-deps" ]; 26 + TSX_COMPILE_ON_ERROR="true"; 27 + ESLINT_NO_DEV_ERRORS="true"; 28 + 29 + # override npmInstallHook, we only care about the build/ directory 30 + installPhase = '' 31 + mkdir $out 32 + cp -r build $out/ 33 + ''; 34 + }; 35 + in 36 + buildGoModule rec { 37 + inherit pname version src; 38 + 17 39 vendorHash = "sha256-HETN2IMnpxnTyg6bQDpoD0saJu+gKocdEf0VzEi12Gs="; 18 40 19 41 subPackages = [ "cmd/torq" ]; ··· 23 45 "-w" 24 46 "-X github.com/lncapital/torq/build.version=v${version}" 25 47 ]; 48 + 49 + postInstall = '' 50 + ln -s ${web} $out/web 51 + ''; 26 52 27 53 meta = with lib; { 28 54 description = "Capital management tool for lightning network nodes";
+2 -2
pkgs/applications/editors/vscode/extensions/default.nix
··· 2580 2580 mktplcRef = { 2581 2581 name = "code-spell-checker"; 2582 2582 publisher = "streetsidesoftware"; 2583 - version = "2.15.0"; 2584 - sha256 = "sha256-YfcO/01nO+92xZEJgYyLYAkqXMqfV/QDkcN9Dnjp5ZA="; 2583 + version = "2.16.0"; 2584 + sha256 = "sha256-Qr4cYAEvAkvvE6KytVeInJzcMQJZqr/e/KPfelVzjUA="; 2585 2585 }; 2586 2586 meta = with lib; { 2587 2587 changelog = "https://marketplace.visualstudio.com/items/streetsidesoftware.code-spell-checker/changelog";
+7 -3
pkgs/applications/graphics/ImageMagick/6.x.nix
··· 21 21 , libde265Support ? true, libde265 22 22 , fftw 23 23 , ApplicationServices, Foundation 24 + , testers 24 25 }: 25 26 26 27 let ··· 33 34 else null; 34 35 in 35 36 36 - stdenv.mkDerivation rec { 37 + stdenv.mkDerivation (finalAttrs: { 37 38 pname = "imagemagick"; 38 39 version = "6.9.12-68"; 39 40 40 41 src = fetchFromGitHub { 41 42 owner = "ImageMagick"; 42 43 repo = "ImageMagick6"; 43 - rev = version; 44 + rev = finalAttrs.version; 44 45 sha256 = "sha256-slQcA0cblxtG/1DiJx5swUh7Kfwgz5HG70eqJFLaQJI="; 45 46 }; 46 47 ··· 109 110 done 110 111 ''; 111 112 113 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 114 + 112 115 meta = with lib; { 113 116 homepage = "https://legacy.imagemagick.org/"; 114 117 changelog = "https://legacy.imagemagick.org/script/changelog.php"; 115 118 description = "A software suite to create, edit, compose, or convert bitmap images"; 119 + pkgConfigModules = [ "ImageMagick" "MagickWand" ]; 116 120 platforms = platforms.linux ++ platforms.darwin; 117 121 maintainers = with maintainers; [ ]; 118 122 license = licenses.asl20; ··· 137 141 "CVE-2022-2719" 138 142 ]; 139 143 }; 140 - } 144 + })
+5 -3
pkgs/applications/graphics/ImageMagick/default.nix
··· 45 45 else null; 46 46 in 47 47 48 - stdenv.mkDerivation rec { 48 + stdenv.mkDerivation (finalAttrs: { 49 49 pname = "imagemagick"; 50 50 version = "7.1.0-61"; 51 51 52 52 src = fetchFromGitHub { 53 53 owner = "ImageMagick"; 54 54 repo = "ImageMagick"; 55 - rev = version; 55 + rev = finalAttrs.version; 56 56 hash = "sha256-g7WeqPpPd1gceU+s+vRDpb41IX1lzpiqh3cAYeFdUlg="; 57 57 }; 58 58 ··· 126 126 passthru.tests = { 127 127 version = testers.testVersion { package = imagemagick; }; 128 128 inherit (python3.pkgs) img2pdf; 129 + pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 129 130 }; 130 131 131 132 meta = with lib; { 132 133 homepage = "http://www.imagemagick.org/"; 133 134 description = "A software suite to create, edit, compose, or convert bitmap images"; 135 + pkgConfigModules = [ "ImageMagick" "MagickWand" ]; 134 136 platforms = platforms.linux ++ platforms.darwin; 135 137 maintainers = with maintainers; [ erictapen dotlambda ]; 136 138 license = licenses.asl20; 137 139 mainProgram = "magick"; 138 140 }; 139 - } 141 + })
+2 -2
pkgs/applications/graphics/drawio/default.nix
··· 11 11 12 12 stdenv.mkDerivation rec { 13 13 pname = "drawio"; 14 - version = "20.8.10"; 14 + version = "20.8.16"; 15 15 16 16 src = fetchurl { 17 17 url = "https://github.com/jgraph/drawio-desktop/releases/download/v${version}/drawio-x86_64-${version}.rpm"; 18 - sha256 = "118e9c9a328c92aeeda3c5925c8d8ed50d0993c07715726447ee720699958626"; 18 + sha256 = "sha256-FBnyogqf5BHLRInjJzC2dENnAwFcWMHDvJ+F0I3ffVg="; 19 19 }; 20 20 21 21 nativeBuildInputs = [
+9 -9
pkgs/applications/misc/1password-gui/default.nix
··· 9 9 let 10 10 11 11 pname = "1password"; 12 - version = if channel == "stable" then "8.9.10" else "8.9.12-4.BETA"; 12 + version = if channel == "stable" then "8.9.14" else "8.10.0-20.BETA"; 13 13 14 14 sources = { 15 15 stable = { 16 16 x86_64-linux = { 17 17 url = "https://downloads.1password.com/linux/tar/stable/x86_64/1password-${version}.x64.tar.gz"; 18 - sha256 = "sha256-aoa00W5zvZQeHKd2Eqyrxl5Z1PwLMHc5lkMUskLiD74="; 18 + sha256 = "sha256-rlLzPDPOmzamDnRxuvgrpAW0QrMINw/PsdLxOiBpMnA="; 19 19 }; 20 20 aarch64-linux = { 21 21 url = "https://downloads.1password.com/linux/tar/stable/aarch64/1password-${version}.arm64.tar.gz"; 22 - sha256 = "sha256-Zt64UGKI3+DayS6XP7jTE+pxv52tUUZbUHiuzjcm1JI="; 22 + sha256 = "sha256-hJTqFr6/KOl4C+1oyo/zrnCbqvRQin6HjyLKOppUl/M="; 23 23 }; 24 24 x86_64-darwin = { 25 25 url = "https://downloads.1password.com/mac/1Password-${version}-x86_64.zip"; 26 - sha256 = "sha256-sx9eASpMcgkIH1GRzJMqSQa5Y5GJlYU/20CZFyFK+OU="; 26 + sha256 = "sha256-3/aiUj+WYZfPItYrYNQKsUSpkRTgOhyb8L5gURt1O74="; 27 27 }; 28 28 aarch64-darwin = { 29 29 url = "https://downloads.1password.com/mac/1Password-${version}-aarch64.zip"; 30 - sha256 = "sha256-Z1cEynO9iWZra542CVGmefrTNerMe13OcTAzWXNi8jI="; 30 + sha256 = "sha256-n0xqD5WbcC9B6spisa5V7JJRXGZubBwzJFUS8edvz/Q="; 31 31 }; 32 32 }; 33 33 beta = { 34 34 x86_64-linux = { 35 35 url = "https://downloads.1password.com/linux/tar/beta/x86_64/1password-${version}.x64.tar.gz"; 36 - sha256 = "sha256-/WXaLINqLFLft+wrmr+fV0kM9qS5w4etFiGltnzoVdo="; 36 + sha256 = "sha256-r2MRyw0dfD3vGnCcPW624K5rSaNSCjTVW4cWFgPAIaY="; 37 37 }; 38 38 aarch64-linux = { 39 39 url = "https://downloads.1password.com/linux/tar/beta/aarch64/1password-${version}.arm64.tar.gz"; 40 - sha256 = "sha256-Zv9uHkFCZ0flBMAwQBjNhqFWhAXKyHBfZk733hbSag4="; 40 + sha256 = "sha256-98sv4yLvLw8J5uQBB66qTV3lRWnyeZiifhEOW7shz8s="; 41 41 }; 42 42 x86_64-darwin = { 43 43 url = "https://downloads.1password.com/mac/1Password-${version}-x86_64.zip"; 44 - sha256 = "sha256-Vryk6nMQY+0NIgwJkZ2j3vrxyhrzxbe96jbyoNbPIR0="; 44 + sha256 = "sha256-ezHk6OgUsmFfMfsY+yyWqn+6JgHSmpkFWGNCCaBv/Bo="; 45 45 }; 46 46 aarch64-darwin = { 47 47 url = "https://downloads.1password.com/mac/1Password-${version}-aarch64.zip"; 48 - sha256 = "sha256-74iOaNkuPRKUsTNNd7UTpy5ahjoMmxiNT84Op5ztRGk="; 48 + sha256 = "sha256-JmCrEBucXGPpGbiKOxA8vu6bUVYsavfsYA5QY58Grnw="; 49 49 }; 50 50 }; 51 51 };
+46
pkgs/applications/misc/1password-gui/update.sh
··· 1 + #!/usr/bin/env nix-shell 2 + #!nix-shell -i bash -p jq 3 + #shellcheck shell=bash 4 + 5 + CURRENT_HASH="" 6 + 7 + print_hash() { 8 + OS="$1" 9 + CHANNEL="$2" 10 + ARCH="$3" 11 + VERSION="$4" 12 + 13 + if [[ "$OS" == "linux" ]]; then 14 + if [[ "$ARCH" == "x86_64" ]]; then 15 + EXT="x64.tar.gz" 16 + else 17 + EXT="arm64.tar.gz" 18 + fi 19 + URL="https://downloads.1password.com/${OS}/tar/${CHANNEL}/${ARCH}/1password-${VERSION}.${EXT}" 20 + else 21 + EXT="$ARCH.zip" 22 + URL="https://downloads.1password.com/${OS}/1Password-${VERSION}-${EXT}" 23 + fi 24 + 25 + CURRENT_HASH=$(nix store prefetch-file "$URL" --json | jq -r '.hash') 26 + 27 + echo "$CHANNEL ${ARCH}-${OS}: $CURRENT_HASH" 28 + } 29 + 30 + if [[ -z "$STABLE_VER" ]]; then 31 + echo "No 'STABLE_VER' environment variable provided, skipping" 32 + else 33 + print_hash "linux" "stable" "x86_64" "$STABLE_VER" 34 + print_hash "linux" "stable" "aarch64" "$STABLE_VER" 35 + print_hash "mac" "stable" "x86_64" "$STABLE_VER" 36 + print_hash "mac" "stable" "aarch64" "$STABLE_VER" 37 + fi 38 + 39 + if [[ -z "$BETA_VER" ]]; then 40 + echo "No 'BETA_VER' environment variable provided, skipping" 41 + else 42 + print_hash "linux" "beta" "x86_64" "$BETA_VER" 43 + print_hash "linux" "beta" "aarch64" "$BETA_VER" 44 + print_hash "mac" "beta" "x86_64" "$BETA_VER" 45 + print_hash "mac" "beta" "aarch64" "$BETA_VER" 46 + fi
+2 -2
pkgs/applications/misc/cubiomes-viewer/default.nix
··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "cubiomes-viewer"; 12 - version = "3.0.1"; 12 + version = "3.1.0"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "Cubitect"; 16 16 repo = pname; 17 17 rev = version; 18 - sha256 = "sha256-UPphXaxq/Hnt1U3J+lgwa0lp3vX1B/Ou8eqD9rHe3sw="; 18 + sha256 = "sha256-pA+SWktSjgH7lRqK14yJX2ziLoKpxMCpEIh0H6slpxw="; 19 19 fetchSubmodules = true; 20 20 }; 21 21
+46
pkgs/applications/misc/gcfflasher/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , pkg-config 5 + , libgpiod 6 + , cmake 7 + }: 8 + 9 + stdenv.mkDerivation rec { 10 + pname = "gcfflasher"; 11 + version = "4.0.3-beta"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "dresden-elektronik"; 15 + repo = pname; 16 + rev = "refs/tags/v${version}"; 17 + hash = "sha256-m+iDBfsHo+PLYd3K8JaKwhIXcnj+Q8w7gIgmHp+0plk="; 18 + }; 19 + 20 + nativeBuildInputs = [ 21 + pkg-config 22 + cmake 23 + ]; 24 + 25 + postPatch = '' 26 + substituteInPlace CMakeLists.txt \ 27 + --replace 'main_windows.c' 'main_posix.c' 28 + ''; 29 + 30 + buildInputs = lib.optionals stdenv.isLinux [ 31 + libgpiod 32 + ]; 33 + 34 + installPhase = '' 35 + runHook preInstall 36 + install -Dm0755 GCFFlasher $out/bin/GCFFlasher 37 + runHook postInstall 38 + ''; 39 + 40 + meta = with lib; { 41 + description = "CFFlasher is the tool to program the firmware of dresden elektronik's Zigbee products"; 42 + license = licenses.bsd3; 43 + homepage = "https://github.com/dresden-elektronik/gcfflasher"; 44 + maintainers = with maintainers; [ fleaz ]; 45 + }; 46 + }
+2 -2
pkgs/applications/misc/klayout/default.nix
··· 5 5 6 6 mkDerivation rec { 7 7 pname = "klayout"; 8 - version = "0.28.4"; 8 + version = "0.28.5"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "KLayout"; 12 12 repo = "klayout"; 13 13 rev = "v${version}"; 14 - hash = "sha256-6RIzgC/PA2DqO24vKu+d/+GttufUbIH+k9GZe09M0vM="; 14 + hash = "sha256-fjKxQ3oVtnFwzLeeE6kN0jKE5PIfBZubTF54KO+k/DE="; 15 15 }; 16 16 17 17 postPatch = ''
+3 -3
pkgs/applications/misc/nwg-panel/default.nix
··· 14 14 15 15 python3Packages.buildPythonApplication rec { 16 16 pname = "nwg-panel"; 17 - version = "0.7.11"; 17 + version = "0.7.16"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "nwg-piotr"; 21 21 repo = "nwg-panel"; 22 22 rev = "refs/tags/v${version}"; 23 - sha256 = "sha256-Esr1OPyQCCQIOfgkl6RIn93ZaJkF0O2RM9ObIgBlPi4="; 23 + sha256 = "sha256-dwnDrFQZVz6Vxa8bX0gFPBZFQwRJ3+wUy6Rsxvb2dhw="; 24 24 }; 25 25 26 26 # No tests ··· 56 56 description = "GTK3-based panel for Sway window manager"; 57 57 license = licenses.mit; 58 58 platforms = platforms.linux; 59 - maintainers = with maintainers; [ berbiche ]; 59 + maintainers = with maintainers; [ ]; 60 60 }; 61 61 }
+3 -3
pkgs/applications/misc/oxker/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "oxker"; 5 - version = "0.2.1"; 5 + version = "0.2.3"; 6 6 7 7 src = fetchCrate { 8 8 inherit pname version; 9 - sha256 = "sha256-CsfzQN7n/LsNIivJShDG02cHwPktkXl/0udBSPz0i2U="; 9 + sha256 = "sha256-J+3wi1nqkxR3ZDfR+F3rvFjUz1DJ7/jhjmcvFdMzWYc="; 10 10 }; 11 11 12 - cargoHash = "sha256-FSuhG+ZSQzwj1YB3xs3A1uFWPhwK8FIfVfUY9V/J2Z8="; 12 + cargoHash = "sha256-oQPCUm/X2vt6wN5AKhtgq8tzQQrp0H42bBK7Az+I9BE="; 13 13 14 14 meta = with lib; { 15 15 description = "A simple tui to view & control docker containers";
+4 -4
pkgs/applications/misc/yubioath-flutter/default.nix
··· 10 10 }: 11 11 let 12 12 vendorHashes = { 13 - x86_64-linux = "sha256-BwhWA8N0S55XkljDKPNkDhsj0QSpmJJ5MwEnrPjymS8="; 14 - aarch64-linux = "sha256-T1aGz3+2Sls+rkUVDUo39Ky2igg+dxGSUaf3qpV7ovQ="; 13 + x86_64-linux = "sha256-Upe0cEDG02RJD50Ht9VNMwkelsJHX8zOuJZssAhMuMY="; 14 + aarch64-linux = "sha256-lKER4+gcyFqnCvgBl/qdVBCbUpocWUnXGLXsX82MSy4="; 15 15 }; 16 16 in 17 17 flutter.mkFlutterApp rec { 18 18 pname = "yubioath-flutter"; 19 - version = "6.0.2"; 19 + version = "6.1.0"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "Yubico"; 23 23 repo = "yubioath-flutter"; 24 24 rev = version; 25 - sha256 = "13nh5qpq02c6azfdh4cbzhlrq0hs9is45q5z5cnxg84hrx26hd4k"; 25 + sha256 = "sha256-N9/qwC79mG9r+zMPLHSPjNSQ+srGtnXuKsf0ijtH7CI="; 26 26 }; 27 27 28 28 passthru.helper = python3.pkgs.callPackage ./helper.nix { inherit src version meta; };
+41
pkgs/applications/networking/cluster/k3s/1_23/0001-script-download-strip-downloading-just-package-CRD.patch
··· 1 + From 6f53bd36a40da4c71486e3b79f6e32d53d6eea5d Mon Sep 17 00:00:00 2001 2 + From: Euan Kemp <euank@euank.com> 3 + Date: Thu, 3 Feb 2022 23:50:40 -0800 4 + Subject: [PATCH 2/2] scrips/download: strip downloading, just package CRD 5 + 6 + The CRD packaging is a complicated set of commands, so let's reuse it. 7 + --- 8 + scripts/download | 10 ++-------- 9 + 1 file changed, 2 insertions(+), 8 deletions(-) 10 + 11 + diff --git a/scripts/download b/scripts/download 12 + index 5effc0562a..82361803ee 100755 13 + --- a/scripts/download 14 + +++ b/scripts/download 15 + @@ -24,12 +24,6 @@ rm -rf ${CONTAINERD_DIR} 16 + mkdir -p ${CHARTS_DIR} 17 + mkdir -p ${DATA_DIR} 18 + 19 + -curl --compressed -sfL https://github.com/k3s-io/k3s-root/releases/download/${VERSION_ROOT}/k3s-root-${ARCH}.tar | tar xf - --exclude=bin/socat 20 + - 21 + -git clone --single-branch --branch=${VERSION_RUNC} --depth=1 https://github.com/opencontainers/runc ${RUNC_DIR} 22 + - 23 + -git clone --single-branch --branch=${VERSION_CONTAINERD} --depth=1 https://github.com/k3s-io/containerd ${CONTAINERD_DIR} 24 + - 25 + setup_tmp() { 26 + TMP_DIR=$(mktemp -d --tmpdir=${CHARTS_DIR}) 27 + cleanup() { 28 + @@ -44,8 +38,8 @@ setup_tmp() { 29 + 30 + download_and_package_traefik () { 31 + echo "Downloading Traefik Helm chart from ${TRAEFIK_URL}" 32 + - curl -sfL ${TRAEFIK_URL} -o ${TMP_DIR}/${TRAEFIK_FILE} 33 + - code=$? 34 + + # nixpkgs: copy in our known traefik chart instead 35 + + cp $TRAEFIK_CHART_FILE ${TMP_DIR}/${TRAEFIK_FILE} 36 + 37 + if [ $code -ne 0 ]; then 38 + echo "Error: Failed to download Traefik Helm chart!" 39 + -- 40 + 2.34.1 41 +
+331
pkgs/applications/networking/cluster/k3s/1_23/default.nix
··· 1 + { stdenv 2 + , lib 3 + , makeWrapper 4 + , socat 5 + , iptables 6 + , iproute2 7 + , bridge-utils 8 + , btrfs-progs 9 + , conntrack-tools 10 + , buildGoModule 11 + , runc 12 + , rsync 13 + , kmod 14 + , libseccomp 15 + , pkg-config 16 + , ethtool 17 + , util-linux 18 + , fetchFromGitHub 19 + , fetchurl 20 + , fetchzip 21 + , fetchgit 22 + , zstd 23 + , yq-go 24 + , nixosTests 25 + , k3s 26 + , pkgsBuildBuild 27 + }: 28 + 29 + with lib; 30 + 31 + # k3s is a kinda weird derivation. One of the main points of k3s is the 32 + # simplicity of it being one binary that can perform several tasks. 33 + # However, when you have a good package manager (like nix), that doesn't 34 + # actually make much of a difference; you don't really care if it's one binary 35 + # or 10 since with a good package manager, installing and running it is 36 + # identical. 37 + # Since upstream k3s packages itself as one large binary with several 38 + # "personalities" (in the form of subcommands like 'k3s agent' and 'k3s 39 + # kubectl'), it ends up being easiest to mostly mimic upstream packaging, with 40 + # some exceptions. 41 + # K3s also carries patches to some packages (such as containerd and cni 42 + # plugins), so we intentionally use the k3s versions of those binaries for k3s, 43 + # even if the upstream version of those binaries exist in nixpkgs already. In 44 + # the end, that means we have a thick k3s binary that behaves like the upstream 45 + # one for the most part. 46 + # However, k3s also bundles several pieces of unpatched software, from the 47 + # strongswan vpn software, to iptables, to socat, conntrack, busybox, etc. 48 + # Those pieces of software we entirely ignore upstream's handling of, and just 49 + # make sure they're in the path if desired. 50 + let 51 + k3sVersion = "1.23.6+k3s1"; # k3s git tag 52 + k3sCommit = "418c3fa858b69b12b9cefbcff0526f666a6236b9"; # k3s git commit at the above version 53 + k3sRepoSha256 = "0fmw491dn5mpi058mr7sij51i5m4qg2grx30cnl3h2v4s0sdkx2i"; 54 + k3sVendorSha256 = "sha256-iHg5ySMaiSWXs98YGmxPwdZr4zdBIFma12dNEuf30Hs="; 55 + 56 + # taken from ./manifests/traefik.yaml, extracted from '.spec.chart' https://github.com/k3s-io/k3s/blob/v1.23.3%2Bk3s1/scripts/download#L9 57 + # The 'patch' and 'minor' versions are currently hardcoded as single digits only, so ignore the trailing two digits. Weird, I know. 58 + traefikChartVersion = "10.19.3"; 59 + traefikChartSha256 = "04zg5li957svgscdmkzmzjkwljaljyav68rzxmhakkwgav6q9058"; 60 + 61 + # taken from ./scripts/version.sh VERSION_ROOT https://github.com/k3s-io/k3s/blob/v1.23.3%2Bk3s1/scripts/version.sh#L47 62 + k3sRootVersion = "0.11.0"; 63 + k3sRootSha256 = "016n56vi09xkvjph7wgzb2m86mhd5x65fs4d11pmh20hl249r620"; 64 + 65 + # taken from ./scripts/version.sh VERSION_CNIPLUGINS https://github.com/k3s-io/k3s/blob/v1.23.3%2Bk3s1/scripts/version.sh#L45 66 + k3sCNIVersion = "1.0.1-k3s1"; 67 + k3sCNISha256 = "11ihlzzdnqf9p21y0a4ckpbxac016nm7746dcykhj26ym9zxyv92"; 68 + 69 + # taken from go.mod, the 'github.com/containerd/containerd' line 70 + # run `grep github.com/containerd/containerd go.mod | head -n1 | awk '{print $4}'` 71 + containerdVersion = "1.5.11-k3s2"; 72 + containerdSha256 = "16132snvrg8r0vwm6c0lz0q6fx686s2ix53nm3aka9a83xs75vf2"; 73 + 74 + # run `grep github.com/kubernetes-sigs/cri-tools go.mod | head -n1 | awk '{print $4}'` in the k3s repo at the tag 75 + criCtlVersion = "1.22.0-k3s1"; 76 + 77 + baseMeta = k3s.meta; 78 + 79 + # https://github.com/k3s-io/k3s/blob/5fb370e53e0014dc96183b8ecb2c25a61e891e76/scripts/build#L19-L40 80 + versionldflags = [ 81 + "-X github.com/rancher/k3s/pkg/version.Version=v${k3sVersion}" 82 + "-X github.com/rancher/k3s/pkg/version.GitCommit=${lib.substring 0 8 k3sCommit}" 83 + "-X k8s.io/client-go/pkg/version.gitVersion=v${k3sVersion}" 84 + "-X k8s.io/client-go/pkg/version.gitCommit=${k3sCommit}" 85 + "-X k8s.io/client-go/pkg/version.gitTreeState=clean" 86 + "-X k8s.io/client-go/pkg/version.buildDate=1970-01-01T01:01:01Z" 87 + "-X k8s.io/component-base/version.gitVersion=v${k3sVersion}" 88 + "-X k8s.io/component-base/version.gitCommit=${k3sCommit}" 89 + "-X k8s.io/component-base/version.gitTreeState=clean" 90 + "-X k8s.io/component-base/version.buildDate=1970-01-01T01:01:01Z" 91 + "-X github.com/kubernetes-sigs/cri-tools/pkg/version.Version=v${criCtlVersion}" 92 + "-X github.com/containerd/containerd/version.Version=v${containerdVersion}" 93 + "-X github.com/containerd/containerd/version.Package=github.com/k3s-io/containerd" 94 + ]; 95 + 96 + # bundled into the k3s binary 97 + traefikChart = fetchurl { 98 + url = "https://helm.traefik.io/traefik/traefik-${traefikChartVersion}.tgz"; 99 + sha256 = traefikChartSha256; 100 + }; 101 + # so, k3s is a complicated thing to package 102 + # This derivation attempts to avoid including any random binaries from the 103 + # internet. k3s-root is _mostly_ binaries built to be bundled in k3s (which 104 + # we don't care about doing, we can add those as build or runtime 105 + # dependencies using a real package manager). 106 + # In addition to those binaries, it's also configuration though (right now 107 + # mostly strongswan configuration), and k3s does use those files. 108 + # As such, we download it in order to grab 'etc' and bundle it into the final 109 + # k3s binary. 110 + k3sRoot = fetchzip { 111 + # Note: marked as apache 2.0 license 112 + url = "https://github.com/k3s-io/k3s-root/releases/download/v${k3sRootVersion}/k3s-root-amd64.tar"; 113 + sha256 = k3sRootSha256; 114 + stripRoot = false; 115 + }; 116 + k3sCNIPlugins = buildGoModule rec { 117 + pname = "k3s-cni-plugins"; 118 + version = k3sCNIVersion; 119 + vendorSha256 = null; 120 + 121 + subPackages = [ "." ]; 122 + 123 + src = fetchFromGitHub { 124 + owner = "rancher"; 125 + repo = "plugins"; 126 + rev = "v${version}"; 127 + sha256 = k3sCNISha256; 128 + }; 129 + 130 + postInstall = '' 131 + mv $out/bin/plugins $out/bin/cni 132 + ''; 133 + 134 + meta = baseMeta // { 135 + description = "CNI plugins, as patched by rancher for k3s"; 136 + }; 137 + }; 138 + # Grab this separately from a build because it's used by both stages of the 139 + # k3s build. 140 + k3sRepo = fetchgit { 141 + url = "https://github.com/k3s-io/k3s"; 142 + rev = "v${k3sVersion}"; 143 + sha256 = k3sRepoSha256; 144 + }; 145 + # Stage 1 of the k3s build: 146 + # Let's talk about how k3s is structured. 147 + # One of the ideas of k3s is that there's the single "k3s" binary which can 148 + # do everything you need, from running a k3s server, to being a worker node, 149 + # to running kubectl. 150 + # The way that actually works is that k3s is a single go binary that contains 151 + # a bunch of bindata that it unpacks at runtime into directories (either the 152 + # user's home directory or /var/lib/rancher if run as root). 153 + # This bindata includes both binaries and configuration. 154 + # In order to let nixpkgs do all its autostripping/patching/etc, we split this into two derivations. 155 + # First, we build all the binaries that get packed into the thick k3s binary 156 + # (and output them from one derivation so they'll all be suitably patched up). 157 + # Then, we bundle those binaries into our thick k3s binary and use that as 158 + # the final single output. 159 + # This approach was chosen because it ensures the bundled binaries all are 160 + # correctly built to run with nix (we can lean on the existing buildGoModule 161 + # stuff), and we can again lean on that tooling for the final k3s binary too. 162 + # Other alternatives would be to manually run the 163 + # strip/patchelf/remove-references step ourselves in the installPhase of the 164 + # derivation when we've built all the binaries, but haven't bundled them in 165 + # with generated bindata yet. 166 + 167 + k3sServer = buildGoModule rec { 168 + pname = "k3s-server"; 169 + version = k3sVersion; 170 + 171 + src = k3sRepo; 172 + vendorSha256 = k3sVendorSha256; 173 + 174 + nativeBuildInputs = [ pkg-config ]; 175 + buildInputs = [ libseccomp ]; 176 + 177 + subPackages = [ "cmd/server" ]; 178 + ldflags = versionldflags; 179 + 180 + # create the multicall symlinks for k3s 181 + postInstall = '' 182 + mv $out/bin/server $out/bin/k3s 183 + pushd $out 184 + # taken verbatim from https://github.com/k3s-io/k3s/blob/v1.23.3%2Bk3s1/scripts/build#L105-L113 185 + ln -s k3s ./bin/k3s-agent 186 + ln -s k3s ./bin/k3s-server 187 + ln -s k3s ./bin/k3s-etcd-snapshot 188 + ln -s k3s ./bin/k3s-secrets-encrypt 189 + ln -s k3s ./bin/k3s-certificate 190 + ln -s k3s ./bin/kubectl 191 + ln -s k3s ./bin/crictl 192 + ln -s k3s ./bin/ctr 193 + popd 194 + ''; 195 + 196 + meta = baseMeta // { 197 + description = "The various binaries that get packaged into the final k3s binary"; 198 + }; 199 + }; 200 + k3sContainerd = buildGoModule { 201 + pname = "k3s-containerd"; 202 + version = containerdVersion; 203 + src = fetchFromGitHub { 204 + owner = "k3s-io"; 205 + repo = "containerd"; 206 + rev = "v${containerdVersion}"; 207 + sha256 = containerdSha256; 208 + }; 209 + vendorSha256 = null; 210 + buildInputs = [ btrfs-progs ]; 211 + subPackages = [ "cmd/containerd" "cmd/containerd-shim-runc-v2" ]; 212 + ldflags = versionldflags; 213 + }; 214 + in 215 + buildGoModule rec { 216 + pname = "k3s"; 217 + version = k3sVersion; 218 + 219 + src = k3sRepo; 220 + vendorSha256 = k3sVendorSha256; 221 + 222 + patches = [ 223 + ./0001-script-download-strip-downloading-just-package-CRD.patch 224 + ]; 225 + 226 + postPatch = '' 227 + # Nix prefers dynamically linked binaries over static binary. 228 + 229 + substituteInPlace scripts/package-cli \ 230 + --replace '"$LDFLAGS $STATIC" -o' \ 231 + '"$LDFLAGS" -o' \ 232 + --replace "STATIC=\"-extldflags \'-static\'\"" \ 233 + "" 234 + 235 + # Upstream codegen fails with trimpath set. Removes "trimpath" for 'go generate': 236 + 237 + substituteInPlace scripts/package-cli \ 238 + --replace '"''${GO}" generate' \ 239 + 'GOFLAGS="" \ 240 + GOOS="${pkgsBuildBuild.go.GOOS}" \ 241 + GOARCH="${pkgsBuildBuild.go.GOARCH}" \ 242 + CC="${pkgsBuildBuild.stdenv.cc}/bin/cc" \ 243 + "''${GO}" generate' 244 + ''; 245 + 246 + # Important utilities used by the kubelet, see 247 + # https://github.com/kubernetes/kubernetes/issues/26093#issuecomment-237202494 248 + # Note the list in that issue is stale and some aren't relevant for k3s. 249 + k3sRuntimeDeps = [ 250 + kmod 251 + socat 252 + iptables 253 + iproute2 254 + bridge-utils 255 + ethtool 256 + util-linux # kubelet wants 'nsenter' from util-linux: https://github.com/kubernetes/kubernetes/issues/26093#issuecomment-705994388 257 + conntrack-tools 258 + ]; 259 + 260 + buildInputs = k3sRuntimeDeps; 261 + 262 + nativeBuildInputs = [ 263 + makeWrapper 264 + rsync 265 + yq-go 266 + zstd 267 + ]; 268 + 269 + # embedded in the final k3s cli 270 + propagatedBuildInputs = [ 271 + k3sCNIPlugins 272 + k3sContainerd 273 + k3sServer 274 + runc 275 + ]; 276 + 277 + # We override most of buildPhase due to peculiarities in k3s's build. 278 + # Specifically, it has a 'go generate' which runs part of the package. See 279 + # this comment: 280 + # https://github.com/NixOS/nixpkgs/pull/158089#discussion_r799965694 281 + # So, why do we use buildGoModule at all? For the `vendorSha256` / `go mod download` stuff primarily. 282 + buildPhase = '' 283 + patchShebangs ./scripts/package-cli ./scripts/download ./scripts/build-upload 284 + 285 + # copy needed 'go generate' inputs into place 286 + mkdir -p ./bin/aux 287 + rsync -a --no-perms ${k3sServer}/bin/ ./bin/ 288 + ln -vsf ${runc}/bin/runc ./bin/runc 289 + ln -vsf ${k3sCNIPlugins}/bin/cni ./bin/cni 290 + ln -vsf ${k3sContainerd}/bin/* ./bin/ 291 + rsync -a --no-perms --chmod u=rwX ${k3sRoot}/etc/ ./etc/ 292 + mkdir -p ./build/static/charts 293 + # Note, upstream's chart has a 00 suffix. This seems to not matter though, so we're ignoring that naming detail. 294 + export TRAEFIK_CHART_FILE=${traefikChart} 295 + # place the traefik chart using their code since it's complicated 296 + # We trim the actual download, see patches 297 + ./scripts/download 298 + 299 + export ARCH=$GOARCH 300 + export DRONE_TAG="v${k3sVersion}" 301 + export DRONE_COMMIT="${k3sCommit}" 302 + # use ./scripts/package-cli to run 'go generate' + 'go build' 303 + 304 + ./scripts/package-cli 305 + mkdir -p $out/bin 306 + ''; 307 + 308 + # Otherwise it depends on 'getGoDirs', which is normally set in buildPhase 309 + doCheck = false; 310 + 311 + installPhase = '' 312 + # wildcard to match the arm64 build too 313 + install -m 0755 dist/artifacts/k3s* -D $out/bin/k3s 314 + wrapProgram $out/bin/k3s \ 315 + --prefix PATH : ${lib.makeBinPath k3sRuntimeDeps} \ 316 + --prefix PATH : "$out/bin" 317 + ''; 318 + 319 + doInstallCheck = true; 320 + installCheckPhase = '' 321 + $out/bin/k3s --version | grep -F "v${k3sVersion}" >/dev/null 322 + ''; 323 + 324 + # Fix-Me: Needs to be adapted specifically for 1.23 325 + # passthru.updateScript = ./update.sh; 326 + 327 + # Fix-Me: Needs to be adapted specifically for 1.23 328 + # passthru.tests = { inherit (nixosTests) k3s-single-node k3s-single-node-docker; }; 329 + 330 + meta = baseMeta; 331 + }
+41
pkgs/applications/networking/cluster/k3s/1_24/0001-script-download-strip-downloading-just-package-CRD.patch
··· 1 + From 6f53bd36a40da4c71486e3b79f6e32d53d6eea5d Mon Sep 17 00:00:00 2001 2 + From: Euan Kemp <euank@euank.com> 3 + Date: Thu, 3 Feb 2022 23:50:40 -0800 4 + Subject: [PATCH 2/2] scrips/download: strip downloading, just package CRD 5 + 6 + The CRD packaging is a complicated set of commands, so let's reuse it. 7 + --- 8 + scripts/download | 10 ++-------- 9 + 1 file changed, 2 insertions(+), 8 deletions(-) 10 + 11 + diff --git a/scripts/download b/scripts/download 12 + index 5effc0562a..82361803ee 100755 13 + --- a/scripts/download 14 + +++ b/scripts/download 15 + @@ -24,12 +24,6 @@ rm -rf ${CONTAINERD_DIR} 16 + mkdir -p ${CHARTS_DIR} 17 + mkdir -p ${DATA_DIR} 18 + 19 + -curl --compressed -sfL https://github.com/k3s-io/k3s-root/releases/download/${VERSION_ROOT}/k3s-root-${ARCH}.tar | tar xf - --exclude=bin/socat 20 + - 21 + -git clone --single-branch --branch=${VERSION_RUNC} --depth=1 https://github.com/opencontainers/runc ${RUNC_DIR} 22 + - 23 + -git clone --single-branch --branch=${VERSION_CONTAINERD} --depth=1 https://github.com/k3s-io/containerd ${CONTAINERD_DIR} 24 + - 25 + setup_tmp() { 26 + TMP_DIR=$(mktemp -d --tmpdir=${CHARTS_DIR}) 27 + cleanup() { 28 + @@ -44,8 +38,8 @@ setup_tmp() { 29 + 30 + download_and_package_traefik () { 31 + echo "Downloading Traefik Helm chart from ${TRAEFIK_URL}" 32 + - curl -sfL ${TRAEFIK_URL} -o ${TMP_DIR}/${TRAEFIK_FILE} 33 + - code=$? 34 + + # nixpkgs: copy in our known traefik chart instead 35 + + cp $TRAEFIK_CHART_FILE ${TMP_DIR}/${TRAEFIK_FILE} 36 + 37 + if [ $code -ne 0 ]; then 38 + echo "Error: Failed to download Traefik Helm chart!" 39 + -- 40 + 2.34.1 41 +
+329
pkgs/applications/networking/cluster/k3s/1_24/default.nix
··· 1 + { stdenv 2 + , lib 3 + , makeWrapper 4 + , socat 5 + , iptables 6 + , iproute2 7 + , bridge-utils 8 + , btrfs-progs 9 + , conntrack-tools 10 + , buildGoModule 11 + , runc 12 + , rsync 13 + , kmod 14 + , libseccomp 15 + , pkg-config 16 + , ethtool 17 + , util-linux 18 + , fetchFromGitHub 19 + , fetchurl 20 + , fetchzip 21 + , fetchgit 22 + , zstd 23 + , yq-go 24 + , nixosTests 25 + , k3s 26 + , pkgsBuildBuild 27 + }: 28 + 29 + # k3s is a kinda weird derivation. One of the main points of k3s is the 30 + # simplicity of it being one binary that can perform several tasks. 31 + # However, when you have a good package manager (like nix), that doesn't 32 + # actually make much of a difference; you don't really care if it's one binary 33 + # or 10 since with a good package manager, installing and running it is 34 + # identical. 35 + # Since upstream k3s packages itself as one large binary with several 36 + # "personalities" (in the form of subcommands like 'k3s agent' and 'k3s 37 + # kubectl'), it ends up being easiest to mostly mimic upstream packaging, with 38 + # some exceptions. 39 + # K3s also carries patches to some packages (such as containerd and cni 40 + # plugins), so we intentionally use the k3s versions of those binaries for k3s, 41 + # even if the upstream version of those binaries exist in nixpkgs already. In 42 + # the end, that means we have a thick k3s binary that behaves like the upstream 43 + # one for the most part. 44 + # However, k3s also bundles several pieces of unpatched software, from the 45 + # strongswan vpn software, to iptables, to socat, conntrack, busybox, etc. 46 + # Those pieces of software we entirely ignore upstream's handling of, and just 47 + # make sure they're in the path if desired. 48 + let 49 + k3sVersion = "1.24.4+k3s1"; # k3s git tag 50 + k3sCommit = "c3f830e9b9ed8a4d9d0e2aa663b4591b923a296e"; # k3s git commit at the above version 51 + k3sRepoSha256 = "00ns6n7jxnacah8ahndhgdb160prgsqhswbb5809kkgvig7k8b27"; 52 + k3sVendorSha256 = "sha256-ReZvJCgxqffG2H39JlynGPUBSV5ngPkRtAoZ++OQZZI="; 53 + 54 + # taken from ./manifests/traefik.yaml, extracted from '.spec.chart' https://github.com/k3s-io/k3s/blob/v1.23.3%2Bk3s1/scripts/download#L9 55 + # The 'patch' and 'minor' versions are currently hardcoded as single digits only, so ignore the trailing two digits. Weird, I know. 56 + traefikChartVersion = "10.19.3"; 57 + traefikChartSha256 = "04zg5li957svgscdmkzmzjkwljaljyav68rzxmhakkwgav6q9058"; 58 + 59 + # taken from ./scripts/version.sh VERSION_ROOT https://github.com/k3s-io/k3s/blob/v1.23.3%2Bk3s1/scripts/version.sh#L47 60 + k3sRootVersion = "0.11.0"; 61 + k3sRootSha256 = "016n56vi09xkvjph7wgzb2m86mhd5x65fs4d11pmh20hl249r620"; 62 + 63 + # taken from ./scripts/version.sh VERSION_CNIPLUGINS https://github.com/k3s-io/k3s/blob/v1.23.3%2Bk3s1/scripts/version.sh#L45 64 + k3sCNIVersion = "1.1.1-k3s1"; 65 + k3sCNISha256 = "14mb3zsqibj1sn338gjmsyksbm0mxv9p016dij7zidccx2rzn6nl"; 66 + 67 + # taken from go.mod, the 'github.com/containerd/containerd' line 68 + # run `grep github.com/containerd/containerd go.mod | head -n1 | awk '{print $4}'` 69 + containerdVersion = "1.5.13-k3s1"; 70 + containerdSha256 = "09bj4ghwbsj9whkv1d5icqs52k64m449j8b73dmak2wz62fbzbvp"; 71 + 72 + # run `grep github.com/kubernetes-sigs/cri-tools go.mod | head -n1 | awk '{print $4}'` in the k3s repo at the tag 73 + criCtlVersion = "1.24.0-k3s1"; 74 + 75 + baseMeta = k3s.meta; 76 + 77 + # https://github.com/k3s-io/k3s/blob/5fb370e53e0014dc96183b8ecb2c25a61e891e76/scripts/build#L19-L40 78 + versionldflags = [ 79 + "-X github.com/rancher/k3s/pkg/version.Version=v${k3sVersion}" 80 + "-X github.com/rancher/k3s/pkg/version.GitCommit=${lib.substring 0 8 k3sCommit}" 81 + "-X k8s.io/client-go/pkg/version.gitVersion=v${k3sVersion}" 82 + "-X k8s.io/client-go/pkg/version.gitCommit=${k3sCommit}" 83 + "-X k8s.io/client-go/pkg/version.gitTreeState=clean" 84 + "-X k8s.io/client-go/pkg/version.buildDate=1970-01-01T01:01:01Z" 85 + "-X k8s.io/component-base/version.gitVersion=v${k3sVersion}" 86 + "-X k8s.io/component-base/version.gitCommit=${k3sCommit}" 87 + "-X k8s.io/component-base/version.gitTreeState=clean" 88 + "-X k8s.io/component-base/version.buildDate=1970-01-01T01:01:01Z" 89 + "-X github.com/kubernetes-sigs/cri-tools/pkg/version.Version=v${criCtlVersion}" 90 + "-X github.com/containerd/containerd/version.Version=v${containerdVersion}" 91 + "-X github.com/containerd/containerd/version.Package=github.com/k3s-io/containerd" 92 + ]; 93 + 94 + # bundled into the k3s binary 95 + traefikChart = fetchurl { 96 + url = "https://helm.traefik.io/traefik/traefik-${traefikChartVersion}.tgz"; 97 + sha256 = traefikChartSha256; 98 + }; 99 + # so, k3s is a complicated thing to package 100 + # This derivation attempts to avoid including any random binaries from the 101 + # internet. k3s-root is _mostly_ binaries built to be bundled in k3s (which 102 + # we don't care about doing, we can add those as build or runtime 103 + # dependencies using a real package manager). 104 + # In addition to those binaries, it's also configuration though (right now 105 + # mostly strongswan configuration), and k3s does use those files. 106 + # As such, we download it in order to grab 'etc' and bundle it into the final 107 + # k3s binary. 108 + k3sRoot = fetchzip { 109 + # Note: marked as apache 2.0 license 110 + url = "https://github.com/k3s-io/k3s-root/releases/download/v${k3sRootVersion}/k3s-root-amd64.tar"; 111 + sha256 = k3sRootSha256; 112 + stripRoot = false; 113 + }; 114 + k3sCNIPlugins = buildGoModule rec { 115 + pname = "k3s-cni-plugins"; 116 + version = k3sCNIVersion; 117 + vendorSha256 = null; 118 + 119 + subPackages = [ "." ]; 120 + 121 + src = fetchFromGitHub { 122 + owner = "rancher"; 123 + repo = "plugins"; 124 + rev = "v${version}"; 125 + sha256 = k3sCNISha256; 126 + }; 127 + 128 + postInstall = '' 129 + mv $out/bin/plugins $out/bin/cni 130 + ''; 131 + 132 + meta = baseMeta // { 133 + description = "CNI plugins, as patched by rancher for k3s"; 134 + }; 135 + }; 136 + # Grab this separately from a build because it's used by both stages of the 137 + # k3s build. 138 + k3sRepo = fetchgit { 139 + url = "https://github.com/k3s-io/k3s"; 140 + rev = "v${k3sVersion}"; 141 + sha256 = k3sRepoSha256; 142 + }; 143 + # Stage 1 of the k3s build: 144 + # Let's talk about how k3s is structured. 145 + # One of the ideas of k3s is that there's the single "k3s" binary which can 146 + # do everything you need, from running a k3s server, to being a worker node, 147 + # to running kubectl. 148 + # The way that actually works is that k3s is a single go binary that contains 149 + # a bunch of bindata that it unpacks at runtime into directories (either the 150 + # user's home directory or /var/lib/rancher if run as root). 151 + # This bindata includes both binaries and configuration. 152 + # In order to let nixpkgs do all its autostripping/patching/etc, we split this into two derivations. 153 + # First, we build all the binaries that get packed into the thick k3s binary 154 + # (and output them from one derivation so they'll all be suitably patched up). 155 + # Then, we bundle those binaries into our thick k3s binary and use that as 156 + # the final single output. 157 + # This approach was chosen because it ensures the bundled binaries all are 158 + # correctly built to run with nix (we can lean on the existing buildGoModule 159 + # stuff), and we can again lean on that tooling for the final k3s binary too. 160 + # Other alternatives would be to manually run the 161 + # strip/patchelf/remove-references step ourselves in the installPhase of the 162 + # derivation when we've built all the binaries, but haven't bundled them in 163 + # with generated bindata yet. 164 + 165 + k3sServer = buildGoModule rec { 166 + pname = "k3s-server"; 167 + version = k3sVersion; 168 + 169 + src = k3sRepo; 170 + vendorSha256 = k3sVendorSha256; 171 + 172 + nativeBuildInputs = [ pkg-config ]; 173 + buildInputs = [ libseccomp ]; 174 + 175 + subPackages = [ "cmd/server" ]; 176 + ldflags = versionldflags; 177 + 178 + # create the multicall symlinks for k3s 179 + postInstall = '' 180 + mv $out/bin/server $out/bin/k3s 181 + pushd $out 182 + # taken verbatim from https://github.com/k3s-io/k3s/blob/v1.23.3%2Bk3s1/scripts/build#L105-L113 183 + ln -s k3s ./bin/k3s-agent 184 + ln -s k3s ./bin/k3s-server 185 + ln -s k3s ./bin/k3s-etcd-snapshot 186 + ln -s k3s ./bin/k3s-secrets-encrypt 187 + ln -s k3s ./bin/k3s-certificate 188 + ln -s k3s ./bin/kubectl 189 + ln -s k3s ./bin/crictl 190 + ln -s k3s ./bin/ctr 191 + popd 192 + ''; 193 + 194 + meta = baseMeta // { 195 + description = "The various binaries that get packaged into the final k3s binary"; 196 + }; 197 + }; 198 + k3sContainerd = buildGoModule { 199 + pname = "k3s-containerd"; 200 + version = containerdVersion; 201 + src = fetchFromGitHub { 202 + owner = "k3s-io"; 203 + repo = "containerd"; 204 + rev = "v${containerdVersion}"; 205 + sha256 = containerdSha256; 206 + }; 207 + vendorSha256 = null; 208 + buildInputs = [ btrfs-progs ]; 209 + subPackages = [ "cmd/containerd" "cmd/containerd-shim-runc-v2" ]; 210 + ldflags = versionldflags; 211 + }; 212 + in 213 + buildGoModule rec { 214 + pname = "k3s"; 215 + version = k3sVersion; 216 + 217 + src = k3sRepo; 218 + vendorSha256 = k3sVendorSha256; 219 + 220 + patches = [ 221 + ./0001-script-download-strip-downloading-just-package-CRD.patch 222 + ]; 223 + 224 + postPatch = '' 225 + # Nix prefers dynamically linked binaries over static binary. 226 + 227 + substituteInPlace scripts/package-cli \ 228 + --replace '"$LDFLAGS $STATIC" -o' \ 229 + '"$LDFLAGS" -o' \ 230 + --replace "STATIC=\"-extldflags \'-static\'\"" \ 231 + "" 232 + 233 + # Upstream codegen fails with trimpath set. Removes "trimpath" for 'go generate': 234 + 235 + substituteInPlace scripts/package-cli \ 236 + --replace '"''${GO}" generate' \ 237 + 'GOFLAGS="" \ 238 + GOOS="${pkgsBuildBuild.go.GOOS}" \ 239 + GOARCH="${pkgsBuildBuild.go.GOARCH}" \ 240 + CC="${pkgsBuildBuild.stdenv.cc}/bin/cc" \ 241 + "''${GO}" generate' 242 + ''; 243 + 244 + # Important utilities used by the kubelet, see 245 + # https://github.com/kubernetes/kubernetes/issues/26093#issuecomment-237202494 246 + # Note the list in that issue is stale and some aren't relevant for k3s. 247 + k3sRuntimeDeps = [ 248 + kmod 249 + socat 250 + iptables 251 + iproute2 252 + bridge-utils 253 + ethtool 254 + util-linux # kubelet wants 'nsenter' from util-linux: https://github.com/kubernetes/kubernetes/issues/26093#issuecomment-705994388 255 + conntrack-tools 256 + ]; 257 + 258 + buildInputs = k3sRuntimeDeps; 259 + 260 + nativeBuildInputs = [ 261 + makeWrapper 262 + rsync 263 + yq-go 264 + zstd 265 + ]; 266 + 267 + # embedded in the final k3s cli 268 + propagatedBuildInputs = [ 269 + k3sCNIPlugins 270 + k3sContainerd 271 + k3sServer 272 + runc 273 + ]; 274 + 275 + # We override most of buildPhase due to peculiarities in k3s's build. 276 + # Specifically, it has a 'go generate' which runs part of the package. See 277 + # this comment: 278 + # https://github.com/NixOS/nixpkgs/pull/158089#discussion_r799965694 279 + # So, why do we use buildGoModule at all? For the `vendorSha256` / `go mod download` stuff primarily. 280 + buildPhase = '' 281 + patchShebangs ./scripts/package-cli ./scripts/download ./scripts/build-upload 282 + 283 + # copy needed 'go generate' inputs into place 284 + mkdir -p ./bin/aux 285 + rsync -a --no-perms ${k3sServer}/bin/ ./bin/ 286 + ln -vsf ${runc}/bin/runc ./bin/runc 287 + ln -vsf ${k3sCNIPlugins}/bin/cni ./bin/cni 288 + ln -vsf ${k3sContainerd}/bin/* ./bin/ 289 + rsync -a --no-perms --chmod u=rwX ${k3sRoot}/etc/ ./etc/ 290 + mkdir -p ./build/static/charts 291 + # Note, upstream's chart has a 00 suffix. This seems to not matter though, so we're ignoring that naming detail. 292 + export TRAEFIK_CHART_FILE=${traefikChart} 293 + # place the traefik chart using their code since it's complicated 294 + # We trim the actual download, see patches 295 + ./scripts/download 296 + 297 + export ARCH=$GOARCH 298 + export DRONE_TAG="v${k3sVersion}" 299 + export DRONE_COMMIT="${k3sCommit}" 300 + # use ./scripts/package-cli to run 'go generate' + 'go build' 301 + 302 + ./scripts/package-cli 303 + mkdir -p $out/bin 304 + ''; 305 + 306 + # Otherwise it depends on 'getGoDirs', which is normally set in buildPhase 307 + doCheck = false; 308 + 309 + installPhase = '' 310 + # wildcard to match the arm64 build too 311 + install -m 0755 dist/artifacts/k3s* -D $out/bin/k3s 312 + wrapProgram $out/bin/k3s \ 313 + --prefix PATH : ${lib.makeBinPath k3sRuntimeDeps} \ 314 + --prefix PATH : "$out/bin" 315 + ''; 316 + 317 + doInstallCheck = true; 318 + installCheckPhase = '' 319 + $out/bin/k3s --version | grep -F "v${k3sVersion}" >/dev/null 320 + ''; 321 + 322 + # Fix-Me: Needs to be adapted specifically for 1.24 323 + # passthru.updateScript = ./update.sh; 324 + 325 + # Fix-Me: Needs to be adapted specifically for 1.24 326 + # passthru.tests = nixosTests.k3s; 327 + 328 + meta = baseMeta; 329 + }
+41
pkgs/applications/networking/cluster/k3s/1_25/0001-script-download-strip-downloading-just-package-CRD.patch
··· 1 + From 6f53bd36a40da4c71486e3b79f6e32d53d6eea5d Mon Sep 17 00:00:00 2001 2 + From: Euan Kemp <euank@euank.com> 3 + Date: Thu, 3 Feb 2022 23:50:40 -0800 4 + Subject: [PATCH 2/2] scrips/download: strip downloading, just package CRD 5 + 6 + The CRD packaging is a complicated set of commands, so let's reuse it. 7 + --- 8 + scripts/download | 10 ++-------- 9 + 1 file changed, 2 insertions(+), 8 deletions(-) 10 + 11 + diff --git a/scripts/download b/scripts/download 12 + index 5effc0562a..82361803ee 100755 13 + --- a/scripts/download 14 + +++ b/scripts/download 15 + @@ -24,12 +24,6 @@ rm -rf ${CONTAINERD_DIR} 16 + mkdir -p ${CHARTS_DIR} 17 + mkdir -p ${DATA_DIR} 18 + 19 + -curl --compressed -sfL https://github.com/k3s-io/k3s-root/releases/download/${VERSION_ROOT}/k3s-root-${ARCH}.tar | tar xf - --exclude=bin/socat 20 + - 21 + -git clone --single-branch --branch=${VERSION_RUNC} --depth=1 https://github.com/opencontainers/runc ${RUNC_DIR} 22 + - 23 + -git clone --single-branch --branch=${VERSION_CONTAINERD} --depth=1 https://github.com/k3s-io/containerd ${CONTAINERD_DIR} 24 + - 25 + setup_tmp() { 26 + TMP_DIR=$(mktemp -d --tmpdir=${CHARTS_DIR}) 27 + cleanup() { 28 + @@ -44,8 +38,8 @@ setup_tmp() { 29 + 30 + download_and_package_traefik () { 31 + echo "Downloading Traefik Helm chart from ${TRAEFIK_URL}" 32 + - curl -sfL ${TRAEFIK_URL} -o ${TMP_DIR}/${TRAEFIK_FILE} 33 + - code=$? 34 + + # nixpkgs: copy in our known traefik chart instead 35 + + cp $TRAEFIK_CHART_FILE ${TMP_DIR}/${TRAEFIK_FILE} 36 + 37 + if [ $code -ne 0 ]; then 38 + echo "Error: Failed to download Traefik Helm chart!" 39 + -- 40 + 2.34.1 41 +
+329
pkgs/applications/networking/cluster/k3s/1_25/default.nix
··· 1 + { stdenv 2 + , lib 3 + , makeWrapper 4 + , socat 5 + , iptables 6 + , iproute2 7 + , bridge-utils 8 + , btrfs-progs 9 + , conntrack-tools 10 + , buildGoModule 11 + , runc 12 + , rsync 13 + , kmod 14 + , libseccomp 15 + , pkg-config 16 + , ethtool 17 + , util-linux 18 + , fetchFromGitHub 19 + , fetchurl 20 + , fetchzip 21 + , fetchgit 22 + , zstd 23 + , yq-go 24 + , nixosTests 25 + , pkgsBuildBuild 26 + , k3s 27 + }: 28 + 29 + # k3s is a kinda weird derivation. One of the main points of k3s is the 30 + # simplicity of it being one binary that can perform several tasks. 31 + # However, when you have a good package manager (like nix), that doesn't 32 + # actually make much of a difference; you don't really care if it's one binary 33 + # or 10 since with a good package manager, installing and running it is 34 + # identical. 35 + # Since upstream k3s packages itself as one large binary with several 36 + # "personalities" (in the form of subcommands like 'k3s agent' and 'k3s 37 + # kubectl'), it ends up being easiest to mostly mimic upstream packaging, with 38 + # some exceptions. 39 + # K3s also carries patches to some packages (such as containerd and cni 40 + # plugins), so we intentionally use the k3s versions of those binaries for k3s, 41 + # even if the upstream version of those binaries exist in nixpkgs already. In 42 + # the end, that means we have a thick k3s binary that behaves like the upstream 43 + # one for the most part. 44 + # However, k3s also bundles several pieces of unpatched software, from the 45 + # strongswan vpn software, to iptables, to socat, conntrack, busybox, etc. 46 + # Those pieces of software we entirely ignore upstream's handling of, and just 47 + # make sure they're in the path if desired. 48 + let 49 + k3sVersion = "1.25.3+k3s1"; # k3s git tag 50 + k3sCommit = "f2585c1671b31b4b34bddbb3bf4e7d69662b0821"; # k3s git commit at the above version 51 + k3sRepoSha256 = "0zwf3iwjcidx14zw36s1hr0q8wmmbfc0rfqwd7fmpjq597h8zkms"; 52 + k3sVendorSha256 = "sha256-U67tJRGqPFk5AfRe7I50zKGC9HJ2oh+iI/C7qF/76BQ="; 53 + 54 + # taken from ./manifests/traefik.yaml, extracted from '.spec.chart' https://github.com/k3s-io/k3s/blob/v1.23.3%2Bk3s1/scripts/download#L9 55 + # The 'patch' and 'minor' versions are currently hardcoded as single digits only, so ignore the trailing two digits. Weird, I know. 56 + traefikChartVersion = "12.0.0"; 57 + traefikChartSha256 = "1sqmi71fi3ad5dh5fmsp9mv80x6pkgqwi4r9fr8l6i9sdnai6f1a"; 58 + 59 + # taken from ./scripts/version.sh VERSION_ROOT https://github.com/k3s-io/k3s/blob/v1.23.3%2Bk3s1/scripts/version.sh#L47 60 + k3sRootVersion = "0.11.0"; 61 + k3sRootSha256 = "016n56vi09xkvjph7wgzb2m86mhd5x65fs4d11pmh20hl249r620"; 62 + 63 + # taken from ./scripts/version.sh VERSION_CNIPLUGINS https://github.com/k3s-io/k3s/blob/v1.23.3%2Bk3s1/scripts/version.sh#L45 64 + k3sCNIVersion = "1.1.1-k3s1"; 65 + k3sCNISha256 = "14mb3zsqibj1sn338gjmsyksbm0mxv9p016dij7zidccx2rzn6nl"; 66 + 67 + # taken from go.mod, the 'github.com/containerd/containerd' line 68 + # run `grep github.com/containerd/containerd go.mod | head -n1 | awk '{print $4}'` 69 + containerdVersion = "1.5.13-k3s2"; 70 + containerdSha256 = "1pfr2ji4aij9js90gf4a3hqnhyw5hshcjdccm62l700j68gs5z97"; 71 + 72 + # run `grep github.com/kubernetes-sigs/cri-tools go.mod | head -n1 | awk '{print $4}'` in the k3s repo at the tag 73 + criCtlVersion = "1.25.0-k3s1"; 74 + 75 + baseMeta = k3s.meta; 76 + 77 + # https://github.com/k3s-io/k3s/blob/5fb370e53e0014dc96183b8ecb2c25a61e891e76/scripts/build#L19-L40 78 + versionldflags = [ 79 + "-X github.com/rancher/k3s/pkg/version.Version=v${k3sVersion}" 80 + "-X github.com/rancher/k3s/pkg/version.GitCommit=${lib.substring 0 8 k3sCommit}" 81 + "-X k8s.io/client-go/pkg/version.gitVersion=v${k3sVersion}" 82 + "-X k8s.io/client-go/pkg/version.gitCommit=${k3sCommit}" 83 + "-X k8s.io/client-go/pkg/version.gitTreeState=clean" 84 + "-X k8s.io/client-go/pkg/version.buildDate=1970-01-01T01:01:01Z" 85 + "-X k8s.io/component-base/version.gitVersion=v${k3sVersion}" 86 + "-X k8s.io/component-base/version.gitCommit=${k3sCommit}" 87 + "-X k8s.io/component-base/version.gitTreeState=clean" 88 + "-X k8s.io/component-base/version.buildDate=1970-01-01T01:01:01Z" 89 + "-X github.com/kubernetes-sigs/cri-tools/pkg/version.Version=v${criCtlVersion}" 90 + "-X github.com/containerd/containerd/version.Version=v${containerdVersion}" 91 + "-X github.com/containerd/containerd/version.Package=github.com/k3s-io/containerd" 92 + ]; 93 + 94 + # bundled into the k3s binary 95 + traefikChart = fetchurl { 96 + url = "https://helm.traefik.io/traefik/traefik-${traefikChartVersion}.tgz"; 97 + sha256 = traefikChartSha256; 98 + }; 99 + # so, k3s is a complicated thing to package 100 + # This derivation attempts to avoid including any random binaries from the 101 + # internet. k3s-root is _mostly_ binaries built to be bundled in k3s (which 102 + # we don't care about doing, we can add those as build or runtime 103 + # dependencies using a real package manager). 104 + # In addition to those binaries, it's also configuration though (right now 105 + # mostly strongswan configuration), and k3s does use those files. 106 + # As such, we download it in order to grab 'etc' and bundle it into the final 107 + # k3s binary. 108 + k3sRoot = fetchzip { 109 + # Note: marked as apache 2.0 license 110 + url = "https://github.com/k3s-io/k3s-root/releases/download/v${k3sRootVersion}/k3s-root-amd64.tar"; 111 + sha256 = k3sRootSha256; 112 + stripRoot = false; 113 + }; 114 + k3sCNIPlugins = buildGoModule rec { 115 + pname = "k3s-cni-plugins"; 116 + version = k3sCNIVersion; 117 + vendorSha256 = null; 118 + 119 + subPackages = [ "." ]; 120 + 121 + src = fetchFromGitHub { 122 + owner = "rancher"; 123 + repo = "plugins"; 124 + rev = "v${version}"; 125 + sha256 = k3sCNISha256; 126 + }; 127 + 128 + postInstall = '' 129 + mv $out/bin/plugins $out/bin/cni 130 + ''; 131 + 132 + meta = baseMeta // { 133 + description = "CNI plugins, as patched by rancher for k3s"; 134 + }; 135 + }; 136 + # Grab this separately from a build because it's used by both stages of the 137 + # k3s build. 138 + k3sRepo = fetchgit { 139 + url = "https://github.com/k3s-io/k3s"; 140 + rev = "v${k3sVersion}"; 141 + sha256 = k3sRepoSha256; 142 + }; 143 + # Stage 1 of the k3s build: 144 + # Let's talk about how k3s is structured. 145 + # One of the ideas of k3s is that there's the single "k3s" binary which can 146 + # do everything you need, from running a k3s server, to being a worker node, 147 + # to running kubectl. 148 + # The way that actually works is that k3s is a single go binary that contains 149 + # a bunch of bindata that it unpacks at runtime into directories (either the 150 + # user's home directory or /var/lib/rancher if run as root). 151 + # This bindata includes both binaries and configuration. 152 + # In order to let nixpkgs do all its autostripping/patching/etc, we split this into two derivations. 153 + # First, we build all the binaries that get packed into the thick k3s binary 154 + # (and output them from one derivation so they'll all be suitably patched up). 155 + # Then, we bundle those binaries into our thick k3s binary and use that as 156 + # the final single output. 157 + # This approach was chosen because it ensures the bundled binaries all are 158 + # correctly built to run with nix (we can lean on the existing buildGoModule 159 + # stuff), and we can again lean on that tooling for the final k3s binary too. 160 + # Other alternatives would be to manually run the 161 + # strip/patchelf/remove-references step ourselves in the installPhase of the 162 + # derivation when we've built all the binaries, but haven't bundled them in 163 + # with generated bindata yet. 164 + 165 + k3sServer = buildGoModule rec { 166 + pname = "k3s-server"; 167 + version = k3sVersion; 168 + 169 + src = k3sRepo; 170 + vendorSha256 = k3sVendorSha256; 171 + 172 + nativeBuildInputs = [ pkg-config ]; 173 + buildInputs = [ libseccomp ]; 174 + 175 + subPackages = [ "cmd/server" ]; 176 + ldflags = versionldflags; 177 + 178 + # create the multicall symlinks for k3s 179 + postInstall = '' 180 + mv $out/bin/server $out/bin/k3s 181 + pushd $out 182 + # taken verbatim from https://github.com/k3s-io/k3s/blob/v1.23.3%2Bk3s1/scripts/build#L105-L113 183 + ln -s k3s ./bin/k3s-agent 184 + ln -s k3s ./bin/k3s-server 185 + ln -s k3s ./bin/k3s-etcd-snapshot 186 + ln -s k3s ./bin/k3s-secrets-encrypt 187 + ln -s k3s ./bin/k3s-certificate 188 + ln -s k3s ./bin/kubectl 189 + ln -s k3s ./bin/crictl 190 + ln -s k3s ./bin/ctr 191 + popd 192 + ''; 193 + 194 + meta = baseMeta // { 195 + description = "The various binaries that get packaged into the final k3s binary"; 196 + }; 197 + }; 198 + k3sContainerd = buildGoModule { 199 + pname = "k3s-containerd"; 200 + version = containerdVersion; 201 + src = fetchFromGitHub { 202 + owner = "k3s-io"; 203 + repo = "containerd"; 204 + rev = "v${containerdVersion}"; 205 + sha256 = containerdSha256; 206 + }; 207 + vendorSha256 = null; 208 + buildInputs = [ btrfs-progs ]; 209 + subPackages = [ "cmd/containerd" "cmd/containerd-shim-runc-v2" ]; 210 + ldflags = versionldflags; 211 + }; 212 + in 213 + buildGoModule rec { 214 + pname = "k3s"; 215 + version = k3sVersion; 216 + 217 + src = k3sRepo; 218 + vendorSha256 = k3sVendorSha256; 219 + 220 + patches = [ 221 + ./0001-script-download-strip-downloading-just-package-CRD.patch 222 + ]; 223 + 224 + postPatch = '' 225 + # Nix prefers dynamically linked binaries over static binary. 226 + 227 + substituteInPlace scripts/package-cli \ 228 + --replace '"$LDFLAGS $STATIC" -o' \ 229 + '"$LDFLAGS" -o' \ 230 + --replace "STATIC=\"-extldflags \'-static\'\"" \ 231 + "" 232 + 233 + # Upstream codegen fails with trimpath set. Removes "trimpath" for 'go generate': 234 + 235 + substituteInPlace scripts/package-cli \ 236 + --replace '"''${GO}" generate' \ 237 + 'GOFLAGS="" \ 238 + GOOS="${pkgsBuildBuild.go.GOOS}" \ 239 + GOARCH="${pkgsBuildBuild.go.GOARCH}" \ 240 + CC="${pkgsBuildBuild.stdenv.cc}/bin/cc" \ 241 + "''${GO}" generate' 242 + ''; 243 + 244 + # Important utilities used by the kubelet, see 245 + # https://github.com/kubernetes/kubernetes/issues/26093#issuecomment-237202494 246 + # Note the list in that issue is stale and some aren't relevant for k3s. 247 + k3sRuntimeDeps = [ 248 + kmod 249 + socat 250 + iptables 251 + iproute2 252 + bridge-utils 253 + ethtool 254 + util-linux # kubelet wants 'nsenter' from util-linux: https://github.com/kubernetes/kubernetes/issues/26093#issuecomment-705994388 255 + conntrack-tools 256 + ]; 257 + 258 + buildInputs = k3sRuntimeDeps; 259 + 260 + nativeBuildInputs = [ 261 + makeWrapper 262 + rsync 263 + yq-go 264 + zstd 265 + ]; 266 + 267 + # embedded in the final k3s cli 268 + propagatedBuildInputs = [ 269 + k3sCNIPlugins 270 + k3sContainerd 271 + k3sServer 272 + runc 273 + ]; 274 + 275 + # We override most of buildPhase due to peculiarities in k3s's build. 276 + # Specifically, it has a 'go generate' which runs part of the package. See 277 + # this comment: 278 + # https://github.com/NixOS/nixpkgs/pull/158089#discussion_r799965694 279 + # So, why do we use buildGoModule at all? For the `vendorSha256` / `go mod download` stuff primarily. 280 + buildPhase = '' 281 + patchShebangs ./scripts/package-cli ./scripts/download ./scripts/build-upload 282 + 283 + # copy needed 'go generate' inputs into place 284 + mkdir -p ./bin/aux 285 + rsync -a --no-perms ${k3sServer}/bin/ ./bin/ 286 + ln -vsf ${runc}/bin/runc ./bin/runc 287 + ln -vsf ${k3sCNIPlugins}/bin/cni ./bin/cni 288 + ln -vsf ${k3sContainerd}/bin/* ./bin/ 289 + rsync -a --no-perms --chmod u=rwX ${k3sRoot}/etc/ ./etc/ 290 + mkdir -p ./build/static/charts 291 + # Note, upstream's chart has a 00 suffix. This seems to not matter though, so we're ignoring that naming detail. 292 + export TRAEFIK_CHART_FILE=${traefikChart} 293 + # place the traefik chart using their code since it's complicated 294 + # We trim the actual download, see patches 295 + ./scripts/download 296 + 297 + export ARCH=$GOARCH 298 + export DRONE_TAG="v${k3sVersion}" 299 + export DRONE_COMMIT="${k3sCommit}" 300 + # use ./scripts/package-cli to run 'go generate' + 'go build' 301 + 302 + ./scripts/package-cli 303 + mkdir -p $out/bin 304 + ''; 305 + 306 + # Otherwise it depends on 'getGoDirs', which is normally set in buildPhase 307 + doCheck = false; 308 + 309 + installPhase = '' 310 + # wildcard to match the arm64 build too 311 + install -m 0755 dist/artifacts/k3s* -D $out/bin/k3s 312 + wrapProgram $out/bin/k3s \ 313 + --prefix PATH : ${lib.makeBinPath k3sRuntimeDeps} \ 314 + --prefix PATH : "$out/bin" 315 + ''; 316 + 317 + doInstallCheck = true; 318 + installCheckPhase = '' 319 + $out/bin/k3s --version | grep -F "v${k3sVersion}" >/dev/null 320 + ''; 321 + 322 + # Fix-Me: Needs to be adapted specifically for 1.25 323 + # passthru.updateScript = ./update.sh; 324 + 325 + # Fix-Me: Needs to be adapted specifically for 1.25 326 + # passthru.tests = nixosTests.k3s; 327 + 328 + meta = baseMeta; 329 + }
pkgs/applications/networking/cluster/k3s/chart-versions.nix pkgs/applications/networking/cluster/k3s/1_26/chart-versions.nix
pkgs/applications/networking/cluster/k3s/default.nix pkgs/applications/networking/cluster/k3s/1_26/default.nix
pkgs/applications/networking/cluster/k3s/update.sh pkgs/applications/networking/cluster/k3s/1_26/update.sh
+6 -3
pkgs/applications/networking/cluster/temporal/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "temporal"; 5 - version = "1.17.5"; 5 + version = "1.19.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "temporalio"; 9 9 repo = "temporal"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-u8GyaXpiVZdPDoPAqIa+TY+JQFZeSGOLrUy+e3E4kig="; 11 + hash = "sha256-j2+K/ZDDNakofrToxhyA1gh534l3Eq6G/fNXE0ktceY="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-MT/BmGTdyEzmXjuwlA6WhLIWlrQz3Wc4Tl5dMI1587Q="; 14 + vendorHash = "sha256-KkgyL37VJy1DhfCB5RJpjczBPbzQwt1xsovQ0xCXGr4="; 15 + 16 + excludedPackages = [ "./build" ]; 15 17 16 18 CGO_ENABLED = 0; 17 19 ··· 26 28 install -Dm755 "$GOPATH/bin/server" -T $out/bin/temporal-server 27 29 install -Dm755 "$GOPATH/bin/cassandra" -T $out/bin/temporal-cassandra-tool 28 30 install -Dm755 "$GOPATH/bin/sql" -T $out/bin/temporal-sql-tool 31 + install -Dm755 "$GOPATH/bin/tdbg" -T $out/bin/tdbg 29 32 30 33 runHook postInstall 31 34 '';
+4 -4
pkgs/applications/networking/cluster/terraform-providers/providers.json
··· 812 812 "vendorHash": "sha256-LRIfxQGwG988HE5fftGl6JmBG7tTknvmgpm4Fu1NbWI=" 813 813 }, 814 814 "oci": { 815 - "hash": "sha256-L8y00f+57hndpVevliJ2kNqpGeNR2Jv/FHbqkAUIRMI=", 815 + "hash": "sha256-ecel4aXOqkPmeOzG5G/D8vmjo2HP9TG+c8H27pCYn2g=", 816 816 "homepage": "https://registry.terraform.io/providers/oracle/oci", 817 817 "owner": "oracle", 818 818 "repo": "terraform-provider-oci", 819 - "rev": "v4.105.0", 819 + "rev": "v4.106.0", 820 820 "spdx": "MPL-2.0", 821 821 "vendorHash": null 822 822 }, ··· 1091 1091 "vendorHash": "sha256-2wPmLpjhG6QgG+BUCO0oIzHjBOWIOYuptgdtSIm9TZw=" 1092 1092 }, 1093 1093 "tencentcloud": { 1094 - "hash": "sha256-QJUxLwKG3XabACbAvLLKBG9+cmCYRQFpRTWRU6rKwfI=", 1094 + "hash": "sha256-yVI1f86Gpkwl3jCAs5d54rZS8lM7cjbwWq+HUXwi8EU=", 1095 1095 "homepage": "https://registry.terraform.io/providers/tencentcloudstack/tencentcloud", 1096 1096 "owner": "tencentcloudstack", 1097 1097 "repo": "terraform-provider-tencentcloud", 1098 - "rev": "v1.79.7", 1098 + "rev": "v1.79.8", 1099 1099 "spdx": "MPL-2.0", 1100 1100 "vendorHash": null 1101 1101 },
+3 -3
pkgs/applications/networking/cluster/velero/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "velero"; 5 - version = "1.10.0"; 5 + version = "1.10.1"; 6 6 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "vmware-tanzu"; 10 10 repo = "velero"; 11 11 rev = "v${version}"; 12 - sha256 = "sha256-PBCTVws5N42q68rKcMLW7GgZvdsQgmdlsKMpJ5bCF00="; 12 + sha256 = "sha256-jN45chUeoGJGJWD6Rj6duNE36/QCzPqci8V3h1OHtw4="; 13 13 }; 14 14 15 15 ldflags = [ ··· 20 20 "-X github.com/vmware-tanzu/velero/pkg/buildinfo.GitSHA=none" 21 21 ]; 22 22 23 - vendorSha256 = "sha256-5Po8TRCE6VP+RcaIJImYjElTMHHS/2JwbrHreeWLxio="; 23 + vendorHash = "sha256-mvVwf4w/65L+F6aiTNf2jmJtaT1EpWCQJ6r9NHUUUqQ="; 24 24 25 25 excludedPackages = [ "issue-template-gen" "release-tools" "v1" "velero-restic-restore-helper" ]; 26 26
+2 -2
pkgs/applications/networking/feedreaders/rssguard/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "rssguard"; 5 - version = "4.3.1"; 5 + version = "4.3.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "martinrotter"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-hfUtxPGPhPC2VgGLLIaYHlEMpXHAPZ5fkLL0glhyQcY="; 11 + sha256 = "sha256-2h9fVah0WZ8X0GsCLtiUWRan1Gkl4WBxuEQ3gx4FFBo="; 12 12 }; 13 13 14 14 buildInputs = [ qtwebengine qttools ];
+9 -22
pkgs/applications/networking/instant-messengers/element/keytar/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, nodejs, python3, callPackage, removeReferencesTo 2 - , fixup_yarn_lock, yarn, pkg-config, libsecret, xcbuild, Security, AppKit, fetchYarnDeps }: 2 + , pkg-config, libsecret, xcbuild, Security, AppKit, fetchNpmDeps, npmHooks }: 3 3 4 4 let 5 5 pinData = lib.importJSON ./pin.json; ··· 15 15 sha256 = pinData.srcHash; 16 16 }; 17 17 18 - nativeBuildInputs = [ nodejs python3 yarn pkg-config ] 18 + nativeBuildInputs = [ 19 + nodejs python3 pkg-config 20 + npmHooks.npmConfigHook 21 + ] 19 22 ++ lib.optional stdenv.isDarwin xcbuild; 23 + 20 24 buildInputs = lib.optionals (!stdenv.isDarwin) [ libsecret ] 21 25 ++ lib.optionals stdenv.isDarwin [ Security AppKit ]; 22 26 23 - npm_config_nodedir = nodejs; 24 - 25 - yarnOfflineCache = fetchYarnDeps { 26 - yarnLock = ./yarn.lock; 27 - sha256 = pinData.yarnHash; 27 + npmDeps = fetchNpmDeps { 28 + inherit src; 29 + hash = pinData.npmHash; 28 30 }; 29 31 30 - buildPhase = '' 31 - runHook preBuild 32 - cp ${./yarn.lock} ./yarn.lock 33 - chmod u+w . ./yarn.lock 34 - export HOME=$PWD/tmp 35 - mkdir -p $HOME 36 - yarn config --offline set yarn-offline-mirror $yarnOfflineCache 37 - ${fixup_yarn_lock}/bin/fixup_yarn_lock yarn.lock 38 - yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive 39 - patchShebangs node_modules/ 40 - node_modules/.bin/node-gyp rebuild 41 - runHook postBuild 42 - ''; 43 - 44 32 doCheck = false; 45 33 46 34 installPhase = '' 47 35 runHook preInstall 48 36 shopt -s extglob 49 37 rm -rf node_modules 50 - rm -rf $HOME 51 38 mkdir -p $out 52 39 cp -r ./!(build) $out 53 40 install -D -t $out/build/Release build/Release/keytar.node
+3 -3
pkgs/applications/networking/instant-messengers/element/keytar/pin.json
··· 1 1 { 2 - "version": "7.7.0", 3 - "srcHash": "sd6h+vDJGvmXFhOm4MDAljb4dAOMBB8W1IL7JSfJWyo=", 4 - "yarnHash": "1m75hvl06mcj260hicbmv75p94h73gw5d24zpm5wxwc0q8v8wzfl" 2 + "version": "7.9.0", 3 + "srcHash": "Mnl0Im2hZJXJEtyXb5rgMntekkUAnOG2MN1bwfgh0eg=", 4 + "npmHash": "sha256-ldfRWV+HXBdBYO2ZiGbVFSHV4/bMG43U7w+sJ4kpVUY=" 5 5 }
+3 -5
pkgs/applications/networking/instant-messengers/element/keytar/update.sh
··· 1 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -I nixpkgs=../../../../../../ -i bash -p wget prefetch-yarn-deps yarn 2 + #!nix-shell -I nixpkgs=../../../../../../ -i bash -p wget prefetch-npm-deps 3 3 4 4 if [ "$#" -gt 1 ] || [[ "$1" == -* ]]; then 5 5 echo "Regenerates packaging data for the keytar package." ··· 22 22 23 23 wget "$SRC/package-lock.json" 24 24 wget "$SRC/package.json" 25 - rm -f yarn.lock 26 - yarn import 25 + npm_hash=$(prefetch-npm-deps package-lock.json) 27 26 rm -rf node_modules package.json package-lock.json 28 - yarn_hash=$(prefetch-yarn-deps yarn.lock) 29 27 30 28 src_hash=$(nix-prefetch-github atom node-keytar --rev v${version} | jq -r .sha256) 31 29 ··· 33 31 { 34 32 "version": "$version", 35 33 "srcHash": "$src_hash", 36 - "yarnHash": "$yarn_hash" 34 + "npmHash": "$npm_hash" 37 35 } 38 36 EOF
-2531
pkgs/applications/networking/instant-messengers/element/keytar/yarn.lock
··· 1 - # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 - # yarn lockfile v1 3 - 4 - 5 - "@ungap/promise-all-settled@1.1.2": 6 - version "1.1.2" 7 - resolved "https://registry.yarnpkg.com/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz#aa58042711d6e3275dd37dc597e5d31e8c290a44" 8 - integrity sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q== 9 - 10 - abbrev@1: 11 - version "1.1.0" 12 - resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.0.tgz#d0554c2256636e2f56e7c2e5ad183f859428d81f" 13 - integrity sha1-0FVMIlZjbi9W58LlrRg/hZQo2B8= 14 - 15 - after@~0.8.1: 16 - version "0.8.2" 17 - resolved "https://registry.yarnpkg.com/after/-/after-0.8.2.tgz#fedb394f9f0e02aa9768e702bda23b505fae7e1f" 18 - integrity sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8= 19 - 20 - ajv@^6.12.3: 21 - version "6.12.4" 22 - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.4.tgz#0614facc4522127fa713445c6bfd3ebd376e2234" 23 - integrity sha512-eienB2c9qVQs2KWexhkrdMLVDoIQCz5KSeLxwg9Lzk4DOfBtIK9PQwwufcsn1jjGuf9WZmqPMbGxOzfcuphJCQ== 24 - dependencies: 25 - fast-deep-equal "^3.1.1" 26 - fast-json-stable-stringify "^2.0.0" 27 - json-schema-traverse "^0.4.1" 28 - uri-js "^4.2.2" 29 - 30 - amdefine@>=0.0.4: 31 - version "1.0.1" 32 - resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" 33 - integrity sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU= 34 - 35 - ansi-colors@4.1.1: 36 - version "4.1.1" 37 - resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" 38 - integrity sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA== 39 - 40 - ansi-regex@^2.0.0: 41 - version "2.1.1" 42 - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" 43 - integrity sha1-w7M6te42DYbg5ijwRorn7yfWVN8= 44 - 45 - ansi-regex@^5.0.0: 46 - version "5.0.0" 47 - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" 48 - integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg== 49 - 50 - ansi-styles@^2.2.1: 51 - version "2.2.1" 52 - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" 53 - integrity sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4= 54 - 55 - ansi-styles@^4.0.0, ansi-styles@^4.1.0: 56 - version "4.3.0" 57 - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" 58 - integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== 59 - dependencies: 60 - color-convert "^2.0.1" 61 - 62 - ansi@^0.3.0, ansi@~0.3.0, ansi@~0.3.1: 63 - version "0.3.1" 64 - resolved "https://registry.yarnpkg.com/ansi/-/ansi-0.3.1.tgz#0c42d4fb17160d5a9af1e484bace1c66922c1b21" 65 - integrity sha1-DELU+xcWDVqa8eSEus4cZpIsGyE= 66 - 67 - anymatch@~3.1.1: 68 - version "3.1.1" 69 - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.1.tgz#c55ecf02185e2469259399310c173ce31233b142" 70 - integrity sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg== 71 - dependencies: 72 - normalize-path "^3.0.0" 73 - picomatch "^2.0.4" 74 - 75 - aproba@^1.0.3: 76 - version "1.1.2" 77 - resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.1.2.tgz#45c6629094de4e96f693ef7eab74ae079c240fc1" 78 - integrity sha512-ZpYajIfO0j2cOFTO955KUMIKNmj6zhX8kVztMAxFsDaMwz+9Z9SV0uou2pC9HJqcfpffOsjnbrDMvkNy+9RXPw== 79 - 80 - are-we-there-yet@~1.0.0: 81 - version "1.0.6" 82 - resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.0.6.tgz#a2d28c93102aa6cc96245a26cb954de06ec53f0c" 83 - integrity sha1-otKMkxAqpsyWJFomy5VN4G7FPww= 84 - dependencies: 85 - delegates "^1.0.0" 86 - readable-stream "^2.0.0 || ^1.1.13" 87 - 88 - are-we-there-yet@~1.1.2: 89 - version "1.1.4" 90 - resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.4.tgz#bb5dca382bb94f05e15194373d16fd3ba1ca110d" 91 - integrity sha1-u13KOCu5TwXhUZQ3PRb9O6HKEQ0= 92 - dependencies: 93 - delegates "^1.0.0" 94 - readable-stream "^2.0.6" 95 - 96 - argparse@^2.0.1: 97 - version "2.0.1" 98 - resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" 99 - integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== 100 - 101 - array-index@^1.0.0: 102 - version "1.0.0" 103 - resolved "https://registry.yarnpkg.com/array-index/-/array-index-1.0.0.tgz#ec56a749ee103e4e08c790b9c353df16055b97f9" 104 - integrity sha1-7FanSe4QPk4Ix5C5w1PfFgVbl/k= 105 - dependencies: 106 - debug "^2.2.0" 107 - es6-symbol "^3.0.2" 108 - 109 - asn1@~0.2.3: 110 - version "0.2.3" 111 - resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" 112 - integrity sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y= 113 - 114 - assert-plus@1.0.0, assert-plus@^1.0.0: 115 - version "1.0.0" 116 - resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" 117 - integrity sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU= 118 - 119 - assertion-error@^1.1.0: 120 - version "1.1.0" 121 - resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b" 122 - integrity sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw== 123 - 124 - asynckit@^0.4.0: 125 - version "0.4.0" 126 - resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" 127 - integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= 128 - 129 - aws-sign2@~0.7.0: 130 - version "0.7.0" 131 - resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" 132 - integrity sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg= 133 - 134 - aws4@^1.8.0: 135 - version "1.10.1" 136 - resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.10.1.tgz#e1e82e4f3e999e2cfd61b161280d16a111f86428" 137 - integrity sha512-zg7Hz2k5lI8kb7U32998pRRFin7zJlkfezGJjUc2heaD4Pw2wObakCDVzkKztTm/Ln7eiVvYsjqak0Ed4LkMDA== 138 - 139 - babel-code-frame@^6.26.0: 140 - version "6.26.0" 141 - resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" 142 - integrity sha1-Y/1D99weO7fONZR9uP42mj9Yx0s= 143 - dependencies: 144 - chalk "^1.1.3" 145 - esutils "^2.0.2" 146 - js-tokens "^3.0.2" 147 - 148 - babel-core@^6.26.0, babel-core@^6.26.3: 149 - version "6.26.3" 150 - resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.26.3.tgz#b2e2f09e342d0f0c88e2f02e067794125e75c207" 151 - integrity sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA== 152 - dependencies: 153 - babel-code-frame "^6.26.0" 154 - babel-generator "^6.26.0" 155 - babel-helpers "^6.24.1" 156 - babel-messages "^6.23.0" 157 - babel-register "^6.26.0" 158 - babel-runtime "^6.26.0" 159 - babel-template "^6.26.0" 160 - babel-traverse "^6.26.0" 161 - babel-types "^6.26.0" 162 - babylon "^6.18.0" 163 - convert-source-map "^1.5.1" 164 - debug "^2.6.9" 165 - json5 "^0.5.1" 166 - lodash "^4.17.4" 167 - minimatch "^3.0.4" 168 - path-is-absolute "^1.0.1" 169 - private "^0.1.8" 170 - slash "^1.0.0" 171 - source-map "^0.5.7" 172 - 173 - babel-generator@^6.26.0: 174 - version "6.26.1" 175 - resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.1.tgz#1844408d3b8f0d35a404ea7ac180f087a601bd90" 176 - integrity sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA== 177 - dependencies: 178 - babel-messages "^6.23.0" 179 - babel-runtime "^6.26.0" 180 - babel-types "^6.26.0" 181 - detect-indent "^4.0.0" 182 - jsesc "^1.3.0" 183 - lodash "^4.17.4" 184 - source-map "^0.5.7" 185 - trim-right "^1.0.1" 186 - 187 - babel-helper-function-name@^6.24.1: 188 - version "6.24.1" 189 - resolved "https://registry.yarnpkg.com/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz#d3475b8c03ed98242a25b48351ab18399d3580a9" 190 - integrity sha1-00dbjAPtmCQqJbSDUasYOZ01gKk= 191 - dependencies: 192 - babel-helper-get-function-arity "^6.24.1" 193 - babel-runtime "^6.22.0" 194 - babel-template "^6.24.1" 195 - babel-traverse "^6.24.1" 196 - babel-types "^6.24.1" 197 - 198 - babel-helper-get-function-arity@^6.24.1: 199 - version "6.24.1" 200 - resolved "https://registry.yarnpkg.com/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz#8f7782aa93407c41d3aa50908f89b031b1b6853d" 201 - integrity sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0= 202 - dependencies: 203 - babel-runtime "^6.22.0" 204 - babel-types "^6.24.1" 205 - 206 - babel-helper-remap-async-to-generator@^6.24.1: 207 - version "6.24.1" 208 - resolved "https://registry.yarnpkg.com/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz#5ec581827ad723fecdd381f1c928390676e4551b" 209 - integrity sha1-XsWBgnrXI/7N04HxySg5BnbkVRs= 210 - dependencies: 211 - babel-helper-function-name "^6.24.1" 212 - babel-runtime "^6.22.0" 213 - babel-template "^6.24.1" 214 - babel-traverse "^6.24.1" 215 - babel-types "^6.24.1" 216 - 217 - babel-helpers@^6.24.1: 218 - version "6.24.1" 219 - resolved "https://registry.yarnpkg.com/babel-helpers/-/babel-helpers-6.24.1.tgz#3471de9caec388e5c850e597e58a26ddf37602b2" 220 - integrity sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI= 221 - dependencies: 222 - babel-runtime "^6.22.0" 223 - babel-template "^6.24.1" 224 - 225 - babel-messages@^6.23.0: 226 - version "6.23.0" 227 - resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e" 228 - integrity sha1-8830cDhYA1sqKVHG7F7fbGLyYw4= 229 - dependencies: 230 - babel-runtime "^6.22.0" 231 - 232 - babel-plugin-syntax-async-functions@^6.8.0: 233 - version "6.13.0" 234 - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95" 235 - integrity sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU= 236 - 237 - babel-plugin-transform-async-to-generator@^6.24.1: 238 - version "6.24.1" 239 - resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz#6536e378aff6cb1d5517ac0e40eb3e9fc8d08761" 240 - integrity sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E= 241 - dependencies: 242 - babel-helper-remap-async-to-generator "^6.24.1" 243 - babel-plugin-syntax-async-functions "^6.8.0" 244 - babel-runtime "^6.22.0" 245 - 246 - babel-register@^6.26.0: 247 - version "6.26.0" 248 - resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.26.0.tgz#6ed021173e2fcb486d7acb45c6009a856f647071" 249 - integrity sha1-btAhFz4vy0htestFxgCahW9kcHE= 250 - dependencies: 251 - babel-core "^6.26.0" 252 - babel-runtime "^6.26.0" 253 - core-js "^2.5.0" 254 - home-or-tmp "^2.0.0" 255 - lodash "^4.17.4" 256 - mkdirp "^0.5.1" 257 - source-map-support "^0.4.15" 258 - 259 - babel-runtime@^6.22.0: 260 - version "6.23.0" 261 - resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.23.0.tgz#0a9489f144de70efb3ce4300accdb329e2fc543b" 262 - integrity sha1-CpSJ8UTecO+zzkMArM2zKeL8VDs= 263 - dependencies: 264 - core-js "^2.4.0" 265 - regenerator-runtime "^0.10.0" 266 - 267 - babel-runtime@^6.26.0: 268 - version "6.26.0" 269 - resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" 270 - integrity sha1-llxwWGaOgrVde/4E/yM3vItWR/4= 271 - dependencies: 272 - core-js "^2.4.0" 273 - regenerator-runtime "^0.11.0" 274 - 275 - babel-template@^6.24.1, babel-template@^6.26.0: 276 - version "6.26.0" 277 - resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.26.0.tgz#de03e2d16396b069f46dd9fff8521fb1a0e35e02" 278 - integrity sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI= 279 - dependencies: 280 - babel-runtime "^6.26.0" 281 - babel-traverse "^6.26.0" 282 - babel-types "^6.26.0" 283 - babylon "^6.18.0" 284 - lodash "^4.17.4" 285 - 286 - babel-traverse@^6.24.1, babel-traverse@^6.26.0: 287 - version "6.26.0" 288 - resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee" 289 - integrity sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4= 290 - dependencies: 291 - babel-code-frame "^6.26.0" 292 - babel-messages "^6.23.0" 293 - babel-runtime "^6.26.0" 294 - babel-types "^6.26.0" 295 - babylon "^6.18.0" 296 - debug "^2.6.8" 297 - globals "^9.18.0" 298 - invariant "^2.2.2" 299 - lodash "^4.17.4" 300 - 301 - babel-types@^6.24.1: 302 - version "6.25.0" 303 - resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.25.0.tgz#70afb248d5660e5d18f811d91c8303b54134a18e" 304 - integrity sha1-cK+ySNVmDl0Y+BHZHIMDtUE0oY4= 305 - dependencies: 306 - babel-runtime "^6.22.0" 307 - esutils "^2.0.2" 308 - lodash "^4.2.0" 309 - to-fast-properties "^1.0.1" 310 - 311 - babel-types@^6.26.0: 312 - version "6.26.0" 313 - resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497" 314 - integrity sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc= 315 - dependencies: 316 - babel-runtime "^6.26.0" 317 - esutils "^2.0.2" 318 - lodash "^4.17.4" 319 - to-fast-properties "^1.0.3" 320 - 321 - babylon@^6.18.0: 322 - version "6.18.0" 323 - resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" 324 - integrity sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ== 325 - 326 - balanced-match@^1.0.0: 327 - version "1.0.0" 328 - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" 329 - integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c= 330 - 331 - base64-js@^1.3.1: 332 - version "1.5.1" 333 - resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" 334 - integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== 335 - 336 - bcrypt-pbkdf@^1.0.0: 337 - version "1.0.2" 338 - resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" 339 - integrity sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4= 340 - dependencies: 341 - tweetnacl "^0.14.3" 342 - 343 - big-integer@^1.6.17: 344 - version "1.6.48" 345 - resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.48.tgz#8fd88bd1632cba4a1c8c3e3d7159f08bb95b4b9e" 346 - integrity sha512-j51egjPa7/i+RdiRuJbPdJ2FIUYYPhvYLjzoYbcMMm62ooO6F94fETG4MTs46zPAF9Brs04OajboA/qTGuz78w== 347 - 348 - binary-extensions@^2.0.0: 349 - version "2.2.0" 350 - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" 351 - integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== 352 - 353 - binary@~0.3.0: 354 - version "0.3.0" 355 - resolved "https://registry.yarnpkg.com/binary/-/binary-0.3.0.tgz#9f60553bc5ce8c3386f3b553cff47462adecaa79" 356 - integrity sha1-n2BVO8XOjDOG87VTz/R0Yq3sqnk= 357 - dependencies: 358 - buffers "~0.1.1" 359 - chainsaw "~0.1.0" 360 - 361 - bl@^4.0.3: 362 - version "4.0.3" 363 - resolved "https://registry.yarnpkg.com/bl/-/bl-4.0.3.tgz#12d6287adc29080e22a705e5764b2a9522cdc489" 364 - integrity sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg== 365 - dependencies: 366 - buffer "^5.5.0" 367 - inherits "^2.0.4" 368 - readable-stream "^3.4.0" 369 - 370 - bl@~3.0.0: 371 - version "3.0.1" 372 - resolved "https://registry.yarnpkg.com/bl/-/bl-3.0.1.tgz#1cbb439299609e419b5a74d7fce2f8b37d8e5c6f" 373 - integrity sha512-jrCW5ZhfQ/Vt07WX1Ngs+yn9BDqPL/gw28S7s9H6QK/gupnizNzJAss5akW20ISgOrbLTlXOOCTJeNUQqruAWQ== 374 - dependencies: 375 - readable-stream "^3.0.1" 376 - 377 - block-stream@*: 378 - version "0.0.9" 379 - resolved "https://registry.yarnpkg.com/block-stream/-/block-stream-0.0.9.tgz#13ebfe778a03205cfe03751481ebb4b3300c126a" 380 - integrity sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo= 381 - dependencies: 382 - inherits "~2.0.0" 383 - 384 - bluebird@^3: 385 - version "3.7.2" 386 - resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" 387 - integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== 388 - 389 - bluebird@~3.4.1: 390 - version "3.4.7" 391 - resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.4.7.tgz#f72d760be09b7f76d08ed8fae98b289a8d05fab3" 392 - integrity sha1-9y12C+Cbf3bQjtj66Ysomo0F+rM= 393 - 394 - brace-expansion@^1.1.7: 395 - version "1.1.8" 396 - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292" 397 - integrity sha1-wHshHHyVLsH479Uad+8NHTmQopI= 398 - dependencies: 399 - balanced-match "^1.0.0" 400 - concat-map "0.0.1" 401 - 402 - braces@~3.0.2: 403 - version "3.0.2" 404 - resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" 405 - integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== 406 - dependencies: 407 - fill-range "^7.0.1" 408 - 409 - browser-stdout@1.3.1: 410 - version "1.3.1" 411 - resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60" 412 - integrity sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw== 413 - 414 - buffer-from@^0.1.1: 415 - version "0.1.2" 416 - resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-0.1.2.tgz#15f4b9bcef012044df31142c14333caf6e0260d0" 417 - integrity sha512-RiWIenusJsmI2KcvqQABB83tLxCByE3upSP8QU3rJDMVFGPWLvPQJt/O1Su9moRWeH7d+Q2HYb68f6+v+tw2vg== 418 - 419 - buffer-indexof-polyfill@~1.0.0: 420 - version "1.0.2" 421 - resolved "https://registry.yarnpkg.com/buffer-indexof-polyfill/-/buffer-indexof-polyfill-1.0.2.tgz#d2732135c5999c64b277fcf9b1abe3498254729c" 422 - integrity sha512-I7wzHwA3t1/lwXQh+A5PbNvJxgfo5r3xulgpYDB5zckTu/Z9oUK9biouBKQUjEqzaz3HnAT6TYoovmE+GqSf7A== 423 - 424 - buffer-shims@^1.0.0: 425 - version "1.0.0" 426 - resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51" 427 - integrity sha1-mXjOMXOIxkmth5MCjDR37wRKi1E= 428 - 429 - buffer@^5.5.0: 430 - version "5.7.1" 431 - resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" 432 - integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== 433 - dependencies: 434 - base64-js "^1.3.1" 435 - ieee754 "^1.1.13" 436 - 437 - buffers@~0.1.1: 438 - version "0.1.1" 439 - resolved "https://registry.yarnpkg.com/buffers/-/buffers-0.1.1.tgz#b24579c3bed4d6d396aeee6d9a8ae7f5482ab7bb" 440 - integrity sha1-skV5w77U1tOWru5tmorn9Ugqt7s= 441 - 442 - camelcase@^2.0.1: 443 - version "2.1.1" 444 - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-2.1.1.tgz#7c1d16d679a1bbe59ca02cacecfb011e201f5a1f" 445 - integrity sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8= 446 - 447 - camelcase@^6.0.0: 448 - version "6.2.0" 449 - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.2.0.tgz#924af881c9d525ac9d87f40d964e5cea982a1809" 450 - integrity sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg== 451 - 452 - caseless@~0.12.0: 453 - version "0.12.0" 454 - resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" 455 - integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= 456 - 457 - chai@^4.2.0: 458 - version "4.3.4" 459 - resolved "https://registry.yarnpkg.com/chai/-/chai-4.3.4.tgz#b55e655b31e1eac7099be4c08c21964fce2e6c49" 460 - integrity sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA== 461 - dependencies: 462 - assertion-error "^1.1.0" 463 - check-error "^1.0.2" 464 - deep-eql "^3.0.1" 465 - get-func-name "^2.0.0" 466 - pathval "^1.1.1" 467 - type-detect "^4.0.5" 468 - 469 - chainsaw@~0.1.0: 470 - version "0.1.0" 471 - resolved "https://registry.yarnpkg.com/chainsaw/-/chainsaw-0.1.0.tgz#5eab50b28afe58074d0d58291388828b5e5fbc98" 472 - integrity sha1-XqtQsor+WAdNDVgpE4iCi15fvJg= 473 - dependencies: 474 - traverse ">=0.3.0 <0.4" 475 - 476 - chalk@^1.1.3: 477 - version "1.1.3" 478 - resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" 479 - integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg= 480 - dependencies: 481 - ansi-styles "^2.2.1" 482 - escape-string-regexp "^1.0.2" 483 - has-ansi "^2.0.0" 484 - strip-ansi "^3.0.0" 485 - supports-color "^2.0.0" 486 - 487 - chalk@^4.0.0: 488 - version "4.1.0" 489 - resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" 490 - integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A== 491 - dependencies: 492 - ansi-styles "^4.1.0" 493 - supports-color "^7.1.0" 494 - 495 - check-error@^1.0.2: 496 - version "1.0.2" 497 - resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82" 498 - integrity sha1-V00xLt2Iu13YkS6Sht1sCu1KrII= 499 - 500 - chokidar@3.5.1: 501 - version "3.5.1" 502 - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.1.tgz#ee9ce7bbebd2b79f49f304799d5468e31e14e68a" 503 - integrity sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw== 504 - dependencies: 505 - anymatch "~3.1.1" 506 - braces "~3.0.2" 507 - glob-parent "~5.1.0" 508 - is-binary-path "~2.1.0" 509 - is-glob "~4.0.1" 510 - normalize-path "~3.0.0" 511 - readdirp "~3.5.0" 512 - optionalDependencies: 513 - fsevents "~2.3.1" 514 - 515 - chownr@^1.1.1: 516 - version "1.1.4" 517 - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" 518 - integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg== 519 - 520 - chownr@^2.0.0: 521 - version "2.0.0" 522 - resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" 523 - integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== 524 - 525 - cliui@^3.0.3: 526 - version "3.2.0" 527 - resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d" 528 - integrity sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0= 529 - dependencies: 530 - string-width "^1.0.1" 531 - strip-ansi "^3.0.1" 532 - wrap-ansi "^2.0.0" 533 - 534 - cliui@^7.0.2: 535 - version "7.0.4" 536 - resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" 537 - integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== 538 - dependencies: 539 - string-width "^4.2.0" 540 - strip-ansi "^6.0.0" 541 - wrap-ansi "^7.0.0" 542 - 543 - cmake-js@~5.2.0: 544 - version "5.2.0" 545 - resolved "https://registry.yarnpkg.com/cmake-js/-/cmake-js-5.2.0.tgz#6d72014269a5d23a754a6d170cde9ed2d75eb411" 546 - integrity sha512-/HLhzoBEOLKGdE1FLwH5ggzRt67AWTb4IErg4rm+bTC+R0DKUobojDyp17dSswDVPosdoPmHXjKxbJiyBZfQeg== 547 - dependencies: 548 - bluebird "^3" 549 - debug "^4" 550 - fs-extra "^5.0.0" 551 - is-iojs "^1.0.1" 552 - lodash "^4" 553 - memory-stream "0" 554 - npmlog "^1.2.0" 555 - rc "^1.2.7" 556 - request "^2.54.0" 557 - semver "^5.0.3" 558 - splitargs "0" 559 - tar "^4" 560 - traceur "0.0.x" 561 - unzipper "^0.8.13" 562 - url-join "0" 563 - which "^1.0.9" 564 - yargs "^3.6.0" 565 - 566 - code-point-at@^1.0.0: 567 - version "1.1.0" 568 - resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" 569 - integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= 570 - 571 - color-convert@^2.0.1: 572 - version "2.0.1" 573 - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" 574 - integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== 575 - dependencies: 576 - color-name "~1.1.4" 577 - 578 - color-name@~1.1.4: 579 - version "1.1.4" 580 - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" 581 - integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== 582 - 583 - colors@~0.6.2: 584 - version "0.6.2" 585 - resolved "https://registry.yarnpkg.com/colors/-/colors-0.6.2.tgz#2423fe6678ac0c5dae8852e5d0e5be08c997abcc" 586 - integrity sha1-JCP+ZnisDF2uiFLl0OW+CMmXq8w= 587 - 588 - combined-stream@^1.0.6, combined-stream@~1.0.6: 589 - version "1.0.8" 590 - resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" 591 - integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== 592 - dependencies: 593 - delayed-stream "~1.0.0" 594 - 595 - commander@2.9.x, commander@^2.9.0: 596 - version "2.9.0" 597 - resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" 598 - integrity sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q= 599 - dependencies: 600 - graceful-readlink ">= 1.0.0" 601 - 602 - commander@~2.2.0: 603 - version "2.2.0" 604 - resolved "https://registry.yarnpkg.com/commander/-/commander-2.2.0.tgz#175ad4b9317f3ff615f201c1e57224f55a3e91df" 605 - integrity sha1-F1rUuTF/P/YV8gHB5XIk9Vo+kd8= 606 - 607 - concat-map@0.0.1: 608 - version "0.0.1" 609 - resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 610 - integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= 611 - 612 - console-control-strings@^1.0.0, console-control-strings@~1.1.0: 613 - version "1.1.0" 614 - resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" 615 - integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= 616 - 617 - convert-source-map@^1.5.1: 618 - version "1.5.1" 619 - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.1.tgz#b8278097b9bc229365de5c62cf5fcaed8b5599e5" 620 - integrity sha1-uCeAl7m8IpNl3lxiz1/K7YtVmeU= 621 - 622 - core-js@^2.4.0: 623 - version "2.4.1" 624 - resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.4.1.tgz#4de911e667b0eae9124e34254b53aea6fc618d3e" 625 - integrity sha1-TekR5mew6ukSTjQlS1OupvxhjT4= 626 - 627 - core-js@^2.5.0: 628 - version "2.5.7" 629 - resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.7.tgz#f972608ff0cead68b841a16a932d0b183791814e" 630 - integrity sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw== 631 - 632 - core-util-is@~1.0.0: 633 - version "1.0.2" 634 - resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 635 - integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= 636 - 637 - d@1, d@^1.0.1: 638 - version "1.0.1" 639 - resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a" 640 - integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA== 641 - dependencies: 642 - es5-ext "^0.10.50" 643 - type "^1.0.1" 644 - 645 - dashdash@^1.12.0: 646 - version "1.14.1" 647 - resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" 648 - integrity sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA= 649 - dependencies: 650 - assert-plus "^1.0.0" 651 - 652 - debug@4.3.1: 653 - version "4.3.1" 654 - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee" 655 - integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ== 656 - dependencies: 657 - ms "2.1.2" 658 - 659 - debug@^2.2.0, debug@^2.6.8, debug@^2.6.9: 660 - version "2.6.9" 661 - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" 662 - integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== 663 - dependencies: 664 - ms "2.0.0" 665 - 666 - debug@^4: 667 - version "4.2.0" 668 - resolved "https://registry.yarnpkg.com/debug/-/debug-4.2.0.tgz#7f150f93920e94c58f5574c2fd01a3110effe7f1" 669 - integrity sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg== 670 - dependencies: 671 - ms "2.1.2" 672 - 673 - decamelize@^1.1.1: 674 - version "1.2.0" 675 - resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" 676 - integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA= 677 - 678 - decamelize@^4.0.0: 679 - version "4.0.0" 680 - resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-4.0.0.tgz#aa472d7bf660eb15f3494efd531cab7f2a709837" 681 - integrity sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ== 682 - 683 - decompress-response@^4.2.0: 684 - version "4.2.1" 685 - resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-4.2.1.tgz#414023cc7a302da25ce2ec82d0d5238ccafd8986" 686 - integrity sha512-jOSne2qbyE+/r8G1VU+G/82LBs2Fs4LAsTiLSHOCOMZQl2OKZ6i8i4IyHemTe+/yIXOtTcRQMzPcgyhoFlqPkw== 687 - dependencies: 688 - mimic-response "^2.0.0" 689 - 690 - deep-eql@^3.0.1: 691 - version "3.0.1" 692 - resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-3.0.1.tgz#dfc9404400ad1c8fe023e7da1df1c147c4b444df" 693 - integrity sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw== 694 - dependencies: 695 - type-detect "^4.0.0" 696 - 697 - deep-extend@^0.6.0: 698 - version "0.6.0" 699 - resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" 700 - integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== 701 - 702 - delayed-stream@~1.0.0: 703 - version "1.0.0" 704 - resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 705 - integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk= 706 - 707 - delegates@^1.0.0: 708 - version "1.0.0" 709 - resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" 710 - integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= 711 - 712 - detect-indent@^4.0.0: 713 - version "4.0.0" 714 - resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208" 715 - integrity sha1-920GQ1LN9Docts5hnE7jqUdd4gg= 716 - dependencies: 717 - repeating "^2.0.0" 718 - 719 - detect-libc@^1.0.3: 720 - version "1.0.3" 721 - resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" 722 - integrity sha1-+hN8S9aY7fVc1c0CrFWfkaTEups= 723 - 724 - diff@5.0.0: 725 - version "5.0.0" 726 - resolved "https://registry.yarnpkg.com/diff/-/diff-5.0.0.tgz#7ed6ad76d859d030787ec35855f5b1daf31d852b" 727 - integrity sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w== 728 - 729 - duplexer2@~0.0.2: 730 - version "0.0.2" 731 - resolved "https://registry.yarnpkg.com/duplexer2/-/duplexer2-0.0.2.tgz#c614dcf67e2fb14995a91711e5a617e8a60a31db" 732 - integrity sha1-xhTc9n4vsUmVqRcR5aYX6KYKMds= 733 - dependencies: 734 - readable-stream "~1.1.9" 735 - 736 - duplexer2@~0.1.4: 737 - version "0.1.4" 738 - resolved "https://registry.yarnpkg.com/duplexer2/-/duplexer2-0.1.4.tgz#8b12dab878c0d69e3e7891051662a32fc6bddcc1" 739 - integrity sha1-ixLauHjA1p4+eJEFFmKjL8a93ME= 740 - dependencies: 741 - readable-stream "^2.0.2" 742 - 743 - each-series-async@^1.0.1: 744 - version "1.0.1" 745 - resolved "https://registry.yarnpkg.com/each-series-async/-/each-series-async-1.0.1.tgz#7e3f8dfa5af934663960e5a17561362909b34328" 746 - integrity sha512-G4zip/Ewpwr6JQxW7+2RNgkPd09h/UNec5UlvA/xKwl4qf5blyBNK6a/zjQc3MojgsxaOb93B9v3T92QU6IMVg== 747 - 748 - ecc-jsbn@~0.1.1: 749 - version "0.1.1" 750 - resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" 751 - integrity sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU= 752 - dependencies: 753 - jsbn "~0.1.0" 754 - 755 - emoji-regex@^8.0.0: 756 - version "8.0.0" 757 - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" 758 - integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== 759 - 760 - end-of-stream@^1.1.0, end-of-stream@^1.4.1: 761 - version "1.4.4" 762 - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" 763 - integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== 764 - dependencies: 765 - once "^1.4.0" 766 - 767 - env-paths@^2.2.0: 768 - version "2.2.0" 769 - resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-2.2.0.tgz#cdca557dc009152917d6166e2febe1f039685e43" 770 - integrity sha512-6u0VYSCo/OW6IoD5WCLLy9JUGARbamfSavcNXry/eu8aHVFei6CD3Sw+VGX5alea1i9pgPHW0mbu6Xj0uBh7gA== 771 - 772 - es5-ext@^0.10.35, es5-ext@^0.10.50: 773 - version "0.10.53" 774 - resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.53.tgz#93c5a3acfdbef275220ad72644ad02ee18368de1" 775 - integrity sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q== 776 - dependencies: 777 - es6-iterator "~2.0.3" 778 - es6-symbol "~3.1.3" 779 - next-tick "~1.0.0" 780 - 781 - es6-iterator@~2.0.3: 782 - version "2.0.3" 783 - resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7" 784 - integrity sha1-p96IkUGgWpSwhUQDstCg+/qY87c= 785 - dependencies: 786 - d "1" 787 - es5-ext "^0.10.35" 788 - es6-symbol "^3.1.1" 789 - 790 - es6-symbol@^3.0.2, es6-symbol@^3.1.1, es6-symbol@~3.1.3: 791 - version "3.1.3" 792 - resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" 793 - integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA== 794 - dependencies: 795 - d "^1.0.1" 796 - ext "^1.1.2" 797 - 798 - escalade@^3.1.1: 799 - version "3.1.1" 800 - resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" 801 - integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== 802 - 803 - escape-string-regexp@4.0.0: 804 - version "4.0.0" 805 - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" 806 - integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== 807 - 808 - escape-string-regexp@^1.0.2: 809 - version "1.0.5" 810 - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 811 - integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= 812 - 813 - esutils@^2.0.2: 814 - version "2.0.2" 815 - resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" 816 - integrity sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs= 817 - 818 - execspawn@^1.0.1: 819 - version "1.0.1" 820 - resolved "https://registry.yarnpkg.com/execspawn/-/execspawn-1.0.1.tgz#8286f9dde7cecde7905fbdc04e24f368f23f8da6" 821 - integrity sha1-gob53efOzeeQX73ATiTzaPI/jaY= 822 - dependencies: 823 - util-extend "^1.0.1" 824 - 825 - expand-template@^2.0.3: 826 - version "2.0.3" 827 - resolved "https://registry.yarnpkg.com/expand-template/-/expand-template-2.0.3.tgz#6e14b3fcee0f3a6340ecb57d2e8918692052a47c" 828 - integrity sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg== 829 - 830 - ext@^1.1.2: 831 - version "1.4.0" 832 - resolved "https://registry.yarnpkg.com/ext/-/ext-1.4.0.tgz#89ae7a07158f79d35517882904324077e4379244" 833 - integrity sha512-Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A== 834 - dependencies: 835 - type "^2.0.0" 836 - 837 - extend@~3.0.2: 838 - version "3.0.2" 839 - resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" 840 - integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== 841 - 842 - extsprintf@1.0.2: 843 - version "1.0.2" 844 - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.0.2.tgz#e1080e0658e300b06294990cc70e1502235fd550" 845 - integrity sha1-4QgOBljjALBilJkMxw4VAiNf1VA= 846 - 847 - fast-deep-equal@^3.1.1: 848 - version "3.1.3" 849 - resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" 850 - integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== 851 - 852 - fast-json-stable-stringify@^2.0.0: 853 - version "2.0.0" 854 - resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" 855 - integrity sha1-1RQsDK7msRifh9OnYREGT4bIu/I= 856 - 857 - fill-range@^7.0.1: 858 - version "7.0.1" 859 - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" 860 - integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== 861 - dependencies: 862 - to-regex-range "^5.0.1" 863 - 864 - find-up@5.0.0: 865 - version "5.0.0" 866 - resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" 867 - integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== 868 - dependencies: 869 - locate-path "^6.0.0" 870 - path-exists "^4.0.0" 871 - 872 - flat@^5.0.2: 873 - version "5.0.2" 874 - resolved "https://registry.yarnpkg.com/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" 875 - integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== 876 - 877 - forever-agent@~0.6.1: 878 - version "0.6.1" 879 - resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" 880 - integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE= 881 - 882 - form-data@~2.3.2: 883 - version "2.3.3" 884 - resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" 885 - integrity sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ== 886 - dependencies: 887 - asynckit "^0.4.0" 888 - combined-stream "^1.0.6" 889 - mime-types "^2.1.12" 890 - 891 - fs-constants@^1.0.0: 892 - version "1.0.0" 893 - resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" 894 - integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== 895 - 896 - fs-extra@^5.0.0: 897 - version "5.0.0" 898 - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-5.0.0.tgz#414d0110cdd06705734d055652c5411260c31abd" 899 - integrity sha512-66Pm4RYbjzdyeuqudYqhFiNBbCIuI9kgRqLPSHIlXHidW8NIQtVdkM1yeZ4lXwuhbTETv3EUGMNHAAw6hiundQ== 900 - dependencies: 901 - graceful-fs "^4.1.2" 902 - jsonfile "^4.0.0" 903 - universalify "^0.1.0" 904 - 905 - fs-minipass@^1.2.5: 906 - version "1.2.7" 907 - resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.7.tgz#ccff8570841e7fe4265693da88936c55aed7f7c7" 908 - integrity sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA== 909 - dependencies: 910 - minipass "^2.6.0" 911 - 912 - fs-minipass@^2.0.0: 913 - version "2.1.0" 914 - resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" 915 - integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg== 916 - dependencies: 917 - minipass "^3.0.0" 918 - 919 - fs.realpath@^1.0.0: 920 - version "1.0.0" 921 - resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 922 - integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= 923 - 924 - fsevents@~2.3.1: 925 - version "2.3.2" 926 - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" 927 - integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== 928 - 929 - fstream@^1.0.0, fstream@^1.0.12, fstream@~1.0.10: 930 - version "1.0.12" 931 - resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.12.tgz#4e8ba8ee2d48be4f7d0de505455548eae5932045" 932 - integrity sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg== 933 - dependencies: 934 - graceful-fs "^4.1.2" 935 - inherits "~2.0.0" 936 - mkdirp ">=0.5 0" 937 - rimraf "2" 938 - 939 - gauge@~1.2.0, gauge@~1.2.5: 940 - version "1.2.7" 941 - resolved "https://registry.yarnpkg.com/gauge/-/gauge-1.2.7.tgz#e9cec5483d3d4ee0ef44b60a7d99e4935e136d93" 942 - integrity sha1-6c7FSD09TuDvRLYKfZnkk14TbZM= 943 - dependencies: 944 - ansi "^0.3.0" 945 - has-unicode "^2.0.0" 946 - lodash.pad "^4.1.0" 947 - lodash.padend "^4.1.0" 948 - lodash.padstart "^4.1.0" 949 - 950 - gauge@~2.7.3: 951 - version "2.7.4" 952 - resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" 953 - integrity sha1-LANAXHU4w51+s3sxcCLjJfsBi/c= 954 - dependencies: 955 - aproba "^1.0.3" 956 - console-control-strings "^1.0.0" 957 - has-unicode "^2.0.0" 958 - object-assign "^4.1.0" 959 - signal-exit "^3.0.0" 960 - string-width "^1.0.1" 961 - strip-ansi "^3.0.1" 962 - wide-align "^1.1.0" 963 - 964 - get-caller-file@^2.0.5: 965 - version "2.0.5" 966 - resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" 967 - integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== 968 - 969 - get-func-name@^2.0.0: 970 - version "2.0.0" 971 - resolved "https://registry.yarnpkg.com/get-func-name/-/get-func-name-2.0.0.tgz#ead774abee72e20409433a066366023dd6887a41" 972 - integrity sha1-6td0q+5y4gQJQzoGY2YCPdaIekE= 973 - 974 - getpass@^0.1.1: 975 - version "0.1.7" 976 - resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" 977 - integrity sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo= 978 - dependencies: 979 - assert-plus "^1.0.0" 980 - 981 - ghreleases@^3.0.2: 982 - version "3.0.2" 983 - resolved "https://registry.yarnpkg.com/ghreleases/-/ghreleases-3.0.2.tgz#1bdb6d31ec03a24a0d80f58f5e9a84a4db725818" 984 - integrity sha512-QiR9mIYvRG7hd8JuQYoxeBNOelVuTp2DpdiByRywbCDBSJufK9Vq7VuhD8B+5uviMxZx2AEkCzye61Us9gYgnw== 985 - dependencies: 986 - after "~0.8.1" 987 - ghrepos "~2.1.0" 988 - ghutils "~3.2.0" 989 - lodash.uniq "^4.5.0" 990 - simple-mime "~0.1.0" 991 - url-template "~2.0.6" 992 - 993 - ghrepos@~2.1.0: 994 - version "2.1.0" 995 - resolved "https://registry.yarnpkg.com/ghrepos/-/ghrepos-2.1.0.tgz#abaf558b690b722c70c7ad45076f6f9be8e495e1" 996 - integrity sha512-6GM0ohSDTAv7xD6GsKfxJiV/CajoofRyUwu0E8l29d1o6lFAUxmmyMP/FH33afA20ZrXzxxcTtN6TsYvudMoAg== 997 - dependencies: 998 - ghutils "~3.2.0" 999 - 1000 - ghutils@~3.2.0: 1001 - version "3.2.6" 1002 - resolved "https://registry.yarnpkg.com/ghutils/-/ghutils-3.2.6.tgz#d43986e267da02787464d97a6489659e4609bb1f" 1003 - integrity sha512-WpYHgLQkqU7Cv147wKUEThyj6qKHCdnAG2CL9RRsRQImVdLGdVqblJ3JUnj3ToQwgm1ALPS+FXgR0448AgGPUg== 1004 - dependencies: 1005 - jsonist "~2.1.0" 1006 - xtend "~4.0.1" 1007 - 1008 - github-from-package@0.0.0: 1009 - version "0.0.0" 1010 - resolved "https://registry.yarnpkg.com/github-from-package/-/github-from-package-0.0.0.tgz#97fb5d96bfde8973313f20e8288ef9a167fa64ce" 1011 - integrity sha1-l/tdlr/eiXMxPyDoKI75oWf6ZM4= 1012 - 1013 - glob-parent@~5.1.0: 1014 - version "5.1.2" 1015 - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" 1016 - integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== 1017 - dependencies: 1018 - is-glob "^4.0.1" 1019 - 1020 - "glob@3 || 4 || 5 || 6 || 7", glob@7.1.6, glob@^7.0.3, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: 1021 - version "7.1.6" 1022 - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" 1023 - integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== 1024 - dependencies: 1025 - fs.realpath "^1.0.0" 1026 - inflight "^1.0.4" 1027 - inherits "2" 1028 - minimatch "^3.0.4" 1029 - once "^1.3.0" 1030 - path-is-absolute "^1.0.0" 1031 - 1032 - glob@5.0.x: 1033 - version "5.0.15" 1034 - resolved "https://registry.yarnpkg.com/glob/-/glob-5.0.15.tgz#1bc936b9e02f4a603fcc222ecf7633d30b8b93b1" 1035 - integrity sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E= 1036 - dependencies: 1037 - inflight "^1.0.4" 1038 - inherits "2" 1039 - minimatch "2 || 3" 1040 - once "^1.3.0" 1041 - path-is-absolute "^1.0.0" 1042 - 1043 - globals@^9.18.0: 1044 - version "9.18.0" 1045 - resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" 1046 - integrity sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ== 1047 - 1048 - graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.2, graceful-fs@^4.2.3: 1049 - version "4.2.3" 1050 - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423" 1051 - integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ== 1052 - 1053 - "graceful-readlink@>= 1.0.0": 1054 - version "1.0.1" 1055 - resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725" 1056 - integrity sha1-TK+tdrxi8C+gObL5Tpo906ORpyU= 1057 - 1058 - growl@1.10.5: 1059 - version "1.10.5" 1060 - resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e" 1061 - integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA== 1062 - 1063 - har-schema@^2.0.0: 1064 - version "2.0.0" 1065 - resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" 1066 - integrity sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI= 1067 - 1068 - har-validator@~5.1.3: 1069 - version "5.1.5" 1070 - resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.5.tgz#1f0803b9f8cb20c0fa13822df1ecddb36bde1efd" 1071 - integrity sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w== 1072 - dependencies: 1073 - ajv "^6.12.3" 1074 - har-schema "^2.0.0" 1075 - 1076 - has-ansi@^2.0.0: 1077 - version "2.0.0" 1078 - resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" 1079 - integrity sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE= 1080 - dependencies: 1081 - ansi-regex "^2.0.0" 1082 - 1083 - has-flag@^4.0.0: 1084 - version "4.0.0" 1085 - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" 1086 - integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== 1087 - 1088 - has-unicode@^2.0.0: 1089 - version "2.0.1" 1090 - resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" 1091 - integrity sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk= 1092 - 1093 - he@1.2.0: 1094 - version "1.2.0" 1095 - resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" 1096 - integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== 1097 - 1098 - home-or-tmp@^2.0.0: 1099 - version "2.0.0" 1100 - resolved "https://registry.yarnpkg.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8" 1101 - integrity sha1-42w/LSyufXRqhX440Y1fMqeILbg= 1102 - dependencies: 1103 - os-homedir "^1.0.0" 1104 - os-tmpdir "^1.0.1" 1105 - 1106 - http-signature@~1.2.0: 1107 - version "1.2.0" 1108 - resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" 1109 - integrity sha1-muzZJRFHcvPZW2WmCruPfBj7rOE= 1110 - dependencies: 1111 - assert-plus "^1.0.0" 1112 - jsprim "^1.2.2" 1113 - sshpk "^1.7.0" 1114 - 1115 - hyperquest@~2.1.3: 1116 - version "2.1.3" 1117 - resolved "https://registry.yarnpkg.com/hyperquest/-/hyperquest-2.1.3.tgz#523127d7a343181b40bf324e231d2576edf52633" 1118 - integrity sha512-fUuDOrB47PqNK/BAMOS13v41UoaqIxqSLHX6CAbOD7OfT+/GCWO1/vPLfTNutOeXrv1ikuaZ3yux+33Z9vh+rw== 1119 - dependencies: 1120 - buffer-from "^0.1.1" 1121 - duplexer2 "~0.0.2" 1122 - through2 "~0.6.3" 1123 - 1124 - ieee754@^1.1.13: 1125 - version "1.2.1" 1126 - resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" 1127 - integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== 1128 - 1129 - inflight@^1.0.4: 1130 - version "1.0.6" 1131 - resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 1132 - integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= 1133 - dependencies: 1134 - once "^1.3.0" 1135 - wrappy "1" 1136 - 1137 - inherits@2, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.1, inherits@~2.0.3: 1138 - version "2.0.3" 1139 - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 1140 - integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= 1141 - 1142 - inherits@^2.0.4: 1143 - version "2.0.4" 1144 - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" 1145 - integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== 1146 - 1147 - ini@~1.3.0: 1148 - version "1.3.7" 1149 - resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.7.tgz#a09363e1911972ea16d7a8851005d84cf09a9a84" 1150 - integrity sha512-iKpRpXP+CrP2jyrxvg1kMUpXDyRUFDWurxbnVT1vQPx+Wz9uCYsMIqYuSBLV+PAaZG/d7kRLKRFc9oDMsH+mFQ== 1151 - 1152 - invariant@^2.2.2: 1153 - version "2.2.2" 1154 - resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.2.tgz#9e1f56ac0acdb6bf303306f338be3b204ae60360" 1155 - integrity sha1-nh9WrArNtr8wMwbzOL47IErmA2A= 1156 - dependencies: 1157 - loose-envify "^1.0.0" 1158 - 1159 - invert-kv@^1.0.0: 1160 - version "1.0.0" 1161 - resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" 1162 - integrity sha1-EEqOSqym09jNFXqO+L+rLXo//bY= 1163 - 1164 - is-binary-path@~2.1.0: 1165 - version "2.1.0" 1166 - resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" 1167 - integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== 1168 - dependencies: 1169 - binary-extensions "^2.0.0" 1170 - 1171 - is-extglob@^2.1.1: 1172 - version "2.1.1" 1173 - resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" 1174 - integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= 1175 - 1176 - is-finite@^1.0.0: 1177 - version "1.0.2" 1178 - resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa" 1179 - integrity sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko= 1180 - dependencies: 1181 - number-is-nan "^1.0.0" 1182 - 1183 - is-fullwidth-code-point@^1.0.0: 1184 - version "1.0.0" 1185 - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" 1186 - integrity sha1-754xOG8DGn8NZDr4L95QxFfvAMs= 1187 - dependencies: 1188 - number-is-nan "^1.0.0" 1189 - 1190 - is-fullwidth-code-point@^3.0.0: 1191 - version "3.0.0" 1192 - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" 1193 - integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== 1194 - 1195 - is-glob@^4.0.1, is-glob@~4.0.1: 1196 - version "4.0.1" 1197 - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc" 1198 - integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg== 1199 - dependencies: 1200 - is-extglob "^2.1.1" 1201 - 1202 - is-iojs@^1.0.1: 1203 - version "1.1.0" 1204 - resolved "https://registry.yarnpkg.com/is-iojs/-/is-iojs-1.1.0.tgz#4c11033b5d5d94d6eab3775dedc9be7d008325f1" 1205 - integrity sha1-TBEDO11dlNbqs3dd7cm+fQCDJfE= 1206 - 1207 - is-number@^7.0.0: 1208 - version "7.0.0" 1209 - resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" 1210 - integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== 1211 - 1212 - is-plain-obj@^2.1.0: 1213 - version "2.1.0" 1214 - resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" 1215 - integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== 1216 - 1217 - is-typedarray@~1.0.0: 1218 - version "1.0.0" 1219 - resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" 1220 - integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= 1221 - 1222 - isarray@0.0.1: 1223 - version "0.0.1" 1224 - resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" 1225 - integrity sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8= 1226 - 1227 - isarray@~1.0.0: 1228 - version "1.0.0" 1229 - resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" 1230 - integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= 1231 - 1232 - isexe@^2.0.0: 1233 - version "2.0.0" 1234 - resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" 1235 - integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= 1236 - 1237 - isstream@~0.1.2: 1238 - version "0.1.2" 1239 - resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" 1240 - integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo= 1241 - 1242 - js-tokens@^3.0.0, js-tokens@^3.0.2: 1243 - version "3.0.2" 1244 - resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" 1245 - integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls= 1246 - 1247 - js-yaml@4.0.0: 1248 - version "4.0.0" 1249 - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.0.0.tgz#f426bc0ff4b4051926cd588c71113183409a121f" 1250 - integrity sha512-pqon0s+4ScYUvX30wxQi3PogGFAlUyH0awepWvwkj4jD4v+ova3RiYw8bmA6x2rDrEaj8i/oWKoRxpVNW+Re8Q== 1251 - dependencies: 1252 - argparse "^2.0.1" 1253 - 1254 - jsbn@~0.1.0: 1255 - version "0.1.1" 1256 - resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" 1257 - integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM= 1258 - 1259 - jsesc@^1.3.0: 1260 - version "1.3.0" 1261 - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b" 1262 - integrity sha1-RsP+yMGJKxKwgz25vHYiF226s0s= 1263 - 1264 - json-schema-traverse@^0.4.1: 1265 - version "0.4.1" 1266 - resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" 1267 - integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== 1268 - 1269 - json-schema@0.2.3: 1270 - version "0.2.3" 1271 - resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" 1272 - integrity sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM= 1273 - 1274 - json-stringify-safe@~5.0.1: 1275 - version "5.0.1" 1276 - resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" 1277 - integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= 1278 - 1279 - json5@^0.5.1: 1280 - version "0.5.1" 1281 - resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" 1282 - integrity sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE= 1283 - 1284 - jsonfile@^4.0.0: 1285 - version "4.0.0" 1286 - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" 1287 - integrity sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss= 1288 - optionalDependencies: 1289 - graceful-fs "^4.1.6" 1290 - 1291 - jsonist@~2.1.0: 1292 - version "2.1.2" 1293 - resolved "https://registry.yarnpkg.com/jsonist/-/jsonist-2.1.2.tgz#c1377311e8fc857abe7aa3df197116a911f95324" 1294 - integrity sha512-8yqmWJAC2VaYoSKQAbsfgCpGY5o/1etWzx6ZxaZrC4iGaHrHUZEo+a2MyF8w+2uTavTlHdLWaZUoR19UfBstxQ== 1295 - dependencies: 1296 - bl "~3.0.0" 1297 - hyperquest "~2.1.3" 1298 - json-stringify-safe "~5.0.1" 1299 - xtend "~4.0.1" 1300 - 1301 - jsprim@^1.2.2: 1302 - version "1.4.0" 1303 - resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.0.tgz#a3b87e40298d8c380552d8cc7628a0bb95a22918" 1304 - integrity sha1-o7h+QCmNjDgFUtjMdiigu5WiKRg= 1305 - dependencies: 1306 - assert-plus "1.0.0" 1307 - extsprintf "1.0.2" 1308 - json-schema "0.2.3" 1309 - verror "1.3.6" 1310 - 1311 - lcid@^1.0.0: 1312 - version "1.0.0" 1313 - resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" 1314 - integrity sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU= 1315 - dependencies: 1316 - invert-kv "^1.0.0" 1317 - 1318 - listenercount@~1.0.1: 1319 - version "1.0.1" 1320 - resolved "https://registry.yarnpkg.com/listenercount/-/listenercount-1.0.1.tgz#84c8a72ab59c4725321480c975e6508342e70937" 1321 - integrity sha1-hMinKrWcRyUyFIDJdeZQg0LnCTc= 1322 - 1323 - locate-path@^6.0.0: 1324 - version "6.0.0" 1325 - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" 1326 - integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== 1327 - dependencies: 1328 - p-locate "^5.0.0" 1329 - 1330 - lodash.pad@^4.1.0: 1331 - version "4.5.1" 1332 - resolved "https://registry.yarnpkg.com/lodash.pad/-/lodash.pad-4.5.1.tgz#4330949a833a7c8da22cc20f6a26c4d59debba70" 1333 - integrity sha1-QzCUmoM6fI2iLMIPaibE1Z3runA= 1334 - 1335 - lodash.padend@^4.1.0: 1336 - version "4.6.1" 1337 - resolved "https://registry.yarnpkg.com/lodash.padend/-/lodash.padend-4.6.1.tgz#53ccba047d06e158d311f45da625f4e49e6f166e" 1338 - integrity sha1-U8y6BH0G4VjTEfRdpiX05J5vFm4= 1339 - 1340 - lodash.padstart@^4.1.0: 1341 - version "4.6.1" 1342 - resolved "https://registry.yarnpkg.com/lodash.padstart/-/lodash.padstart-4.6.1.tgz#d2e3eebff0d9d39ad50f5cbd1b52a7bce6bb611b" 1343 - integrity sha1-0uPuv/DZ05rVD1y9G1KnvOa7YRs= 1344 - 1345 - lodash.uniq@^4.5.0: 1346 - version "4.5.0" 1347 - resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" 1348 - integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= 1349 - 1350 - lodash@^4, lodash@^4.17.4, lodash@^4.2.0: 1351 - version "4.17.19" 1352 - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b" 1353 - integrity sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ== 1354 - 1355 - log-symbols@4.0.0: 1356 - version "4.0.0" 1357 - resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.0.0.tgz#69b3cc46d20f448eccdb75ea1fa733d9e821c920" 1358 - integrity sha512-FN8JBzLx6CzeMrB0tg6pqlGU1wCrXW+ZXGH481kfsBqer0hToTIiHdjH4Mq8xJUbvATujKCvaREGWpGUionraA== 1359 - dependencies: 1360 - chalk "^4.0.0" 1361 - 1362 - loose-envify@^1.0.0: 1363 - version "1.3.1" 1364 - resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848" 1365 - integrity sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg= 1366 - dependencies: 1367 - js-tokens "^3.0.0" 1368 - 1369 - memory-stream@0: 1370 - version "0.0.3" 1371 - resolved "https://registry.yarnpkg.com/memory-stream/-/memory-stream-0.0.3.tgz#ebe8dd1c3b8bc38c0e7941e9ddd5aebe6b4de83f" 1372 - integrity sha1-6+jdHDuLw4wOeUHp3dWuvmtN6D8= 1373 - dependencies: 1374 - readable-stream "~1.0.26-2" 1375 - 1376 - mime-db@1.44.0: 1377 - version "1.44.0" 1378 - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.44.0.tgz#fa11c5eb0aca1334b4233cb4d52f10c5a6272f92" 1379 - integrity sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg== 1380 - 1381 - mime-types@^2.1.12, mime-types@~2.1.19: 1382 - version "2.1.27" 1383 - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.27.tgz#47949f98e279ea53119f5722e0f34e529bec009f" 1384 - integrity sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w== 1385 - dependencies: 1386 - mime-db "1.44.0" 1387 - 1388 - mimic-response@^2.0.0: 1389 - version "2.1.0" 1390 - resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-2.1.0.tgz#d13763d35f613d09ec37ebb30bac0469c0ee8f43" 1391 - integrity sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA== 1392 - 1393 - "minimatch@2 || 3", minimatch@3, minimatch@3.0.4, minimatch@^3.0.2, minimatch@^3.0.4: 1394 - version "3.0.4" 1395 - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" 1396 - integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== 1397 - dependencies: 1398 - brace-expansion "^1.1.7" 1399 - 1400 - minimist@^1.1.2, minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.5: 1401 - version "1.2.5" 1402 - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" 1403 - integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== 1404 - 1405 - minipass@^2.6.0, minipass@^2.8.6, minipass@^2.9.0: 1406 - version "2.9.0" 1407 - resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6" 1408 - integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg== 1409 - dependencies: 1410 - safe-buffer "^5.1.2" 1411 - yallist "^3.0.0" 1412 - 1413 - minipass@^3.0.0: 1414 - version "3.1.3" 1415 - resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.1.3.tgz#7d42ff1f39635482e15f9cdb53184deebd5815fd" 1416 - integrity sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg== 1417 - dependencies: 1418 - yallist "^4.0.0" 1419 - 1420 - minizlib@^1.2.1: 1421 - version "1.3.3" 1422 - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d" 1423 - integrity sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q== 1424 - dependencies: 1425 - minipass "^2.9.0" 1426 - 1427 - minizlib@^2.1.1: 1428 - version "2.1.2" 1429 - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" 1430 - integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg== 1431 - dependencies: 1432 - minipass "^3.0.0" 1433 - yallist "^4.0.0" 1434 - 1435 - mkdirp-classic@^0.5.2, mkdirp-classic@^0.5.3: 1436 - version "0.5.3" 1437 - resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113" 1438 - integrity sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A== 1439 - 1440 - "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1: 1441 - version "0.5.5" 1442 - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def" 1443 - integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ== 1444 - dependencies: 1445 - minimist "^1.2.5" 1446 - 1447 - mkdirp@^1.0.3: 1448 - version "1.0.4" 1449 - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" 1450 - integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== 1451 - 1452 - mocha@^8.0.1: 1453 - version "8.3.2" 1454 - resolved "https://registry.yarnpkg.com/mocha/-/mocha-8.3.2.tgz#53406f195fa86fbdebe71f8b1c6fb23221d69fcc" 1455 - integrity sha512-UdmISwr/5w+uXLPKspgoV7/RXZwKRTiTjJ2/AC5ZiEztIoOYdfKb19+9jNmEInzx5pBsCyJQzarAxqIGBNYJhg== 1456 - dependencies: 1457 - "@ungap/promise-all-settled" "1.1.2" 1458 - ansi-colors "4.1.1" 1459 - browser-stdout "1.3.1" 1460 - chokidar "3.5.1" 1461 - debug "4.3.1" 1462 - diff "5.0.0" 1463 - escape-string-regexp "4.0.0" 1464 - find-up "5.0.0" 1465 - glob "7.1.6" 1466 - growl "1.10.5" 1467 - he "1.2.0" 1468 - js-yaml "4.0.0" 1469 - log-symbols "4.0.0" 1470 - minimatch "3.0.4" 1471 - ms "2.1.3" 1472 - nanoid "3.1.20" 1473 - serialize-javascript "5.0.1" 1474 - strip-json-comments "3.1.1" 1475 - supports-color "8.1.1" 1476 - which "2.0.2" 1477 - wide-align "1.1.3" 1478 - workerpool "6.1.0" 1479 - yargs "16.2.0" 1480 - yargs-parser "20.2.4" 1481 - yargs-unparser "2.0.0" 1482 - 1483 - ms@2.0.0: 1484 - version "2.0.0" 1485 - resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 1486 - integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= 1487 - 1488 - ms@2.1.2: 1489 - version "2.1.2" 1490 - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" 1491 - integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== 1492 - 1493 - ms@2.1.3: 1494 - version "2.1.3" 1495 - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" 1496 - integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== 1497 - 1498 - nanoid@3.1.20: 1499 - version "3.1.20" 1500 - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.20.tgz#badc263c6b1dcf14b71efaa85f6ab4c1d6cfc788" 1501 - integrity sha512-a1cQNyczgKbLX9jwbS/+d7W8fX/RfgYR7lVWwWOGIPNgK2m0MWvrGF6/m4kk6U3QcFMnZf3RIhL0v2Jgh/0Uxw== 1502 - 1503 - napi-build-utils@^1.0.1: 1504 - version "1.0.2" 1505 - resolved "https://registry.yarnpkg.com/napi-build-utils/-/napi-build-utils-1.0.2.tgz#b1fddc0b2c46e380a0b7a76f984dd47c41a13806" 1506 - integrity sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg== 1507 - 1508 - next-tick@~1.0.0: 1509 - version "1.0.0" 1510 - resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c" 1511 - integrity sha1-yobR/ogoFpsBICCOPchCS524NCw= 1512 - 1513 - node-abi@^2.2.0, node-abi@^2.21.0: 1514 - version "2.21.0" 1515 - resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.21.0.tgz#c2dc9ebad6f4f53d6ea9b531e7b8faad81041d48" 1516 - integrity sha512-smhrivuPqEM3H5LmnY3KU6HfYv0u4QklgAxfFyRNujKUzbUcYZ+Jc2EhukB9SRcD2VpqhxM7n/MIcp1Ua1/JMg== 1517 - dependencies: 1518 - semver "^5.4.1" 1519 - 1520 - node-addon-api@^3.0.0: 1521 - version "3.1.0" 1522 - resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.1.0.tgz#98b21931557466c6729e51cb77cd39c965f42239" 1523 - integrity sha512-flmrDNB06LIl5lywUz7YlNGZH/5p0M7W28k8hzd9Lshtdh1wshD2Y+U4h9LD6KObOy1f+fEVdgprPrEymjM5uw== 1524 - 1525 - node-cpplint@~0.4.0: 1526 - version "0.4.0" 1527 - resolved "https://registry.yarnpkg.com/node-cpplint/-/node-cpplint-0.4.0.tgz#35827fe7b95ccceff0cd7f46ede4cba44b8ef88c" 1528 - integrity sha1-NYJ/57lczO/wzX9G7eTLpEuO+Iw= 1529 - dependencies: 1530 - colors "~0.6.2" 1531 - commander "~2.2.0" 1532 - 1533 - node-gyp@^6.0.1: 1534 - version "6.1.0" 1535 - resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-6.1.0.tgz#64e31c61a4695ad304c1d5b82cf6b7c79cc79f3f" 1536 - integrity sha512-h4A2zDlOujeeaaTx06r4Vy+8MZ1679lU+wbCKDS4ZtvY2A37DESo37oejIw0mtmR3+rvNwts5B6Kpt1KrNYdNw== 1537 - dependencies: 1538 - env-paths "^2.2.0" 1539 - glob "^7.1.4" 1540 - graceful-fs "^4.2.2" 1541 - mkdirp "^0.5.1" 1542 - nopt "^4.0.1" 1543 - npmlog "^4.1.2" 1544 - request "^2.88.0" 1545 - rimraf "^2.6.3" 1546 - semver "^5.7.1" 1547 - tar "^4.4.12" 1548 - which "^1.3.1" 1549 - 1550 - node-gyp@^7.0.0: 1551 - version "7.1.2" 1552 - resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-7.1.2.tgz#21a810aebb187120251c3bcec979af1587b188ae" 1553 - integrity sha512-CbpcIo7C3eMu3dL1c3d0xw449fHIGALIJsRP4DDPHpyiW8vcriNY7ubh9TE4zEKfSxscY7PjeFnshE7h75ynjQ== 1554 - dependencies: 1555 - env-paths "^2.2.0" 1556 - glob "^7.1.4" 1557 - graceful-fs "^4.2.3" 1558 - nopt "^5.0.0" 1559 - npmlog "^4.1.2" 1560 - request "^2.88.2" 1561 - rimraf "^3.0.2" 1562 - semver "^7.3.2" 1563 - tar "^6.0.2" 1564 - which "^2.0.2" 1565 - 1566 - node-ninja@^1.0.1: 1567 - version "1.0.2" 1568 - resolved "https://registry.yarnpkg.com/node-ninja/-/node-ninja-1.0.2.tgz#20a09e57b92e2df591993d4bf098ac3e727062b6" 1569 - integrity sha1-IKCeV7kuLfWRmT1L8JisPnJwYrY= 1570 - dependencies: 1571 - fstream "^1.0.0" 1572 - glob "3 || 4 || 5 || 6 || 7" 1573 - graceful-fs "^4.1.2" 1574 - minimatch "3" 1575 - mkdirp "^0.5.0" 1576 - nopt "2 || 3" 1577 - npmlog "0 || 1 || 2" 1578 - osenv "0" 1579 - path-array "^1.0.0" 1580 - request "2" 1581 - rimraf "2" 1582 - semver "2.x || 3.x || 4 || 5" 1583 - tar "^2.0.0" 1584 - which "1" 1585 - 1586 - noop-logger@^0.1.0, noop-logger@^0.1.1: 1587 - version "0.1.1" 1588 - resolved "https://registry.yarnpkg.com/noop-logger/-/noop-logger-0.1.1.tgz#94a2b1633c4f1317553007d8966fd0e841b6a4c2" 1589 - integrity sha1-lKKxYzxPExdVMAfYlm/Q6EG2pMI= 1590 - 1591 - "nopt@2 || 3": 1592 - version "3.0.6" 1593 - resolved "https://registry.yarnpkg.com/nopt/-/nopt-3.0.6.tgz#c6465dbf08abcd4db359317f79ac68a646b28ff9" 1594 - integrity sha1-xkZdvwirzU2zWTF/eaxopkayj/k= 1595 - dependencies: 1596 - abbrev "1" 1597 - 1598 - nopt@^4.0.1: 1599 - version "4.0.3" 1600 - resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.3.tgz#a375cad9d02fd921278d954c2254d5aa57e15e48" 1601 - integrity sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg== 1602 - dependencies: 1603 - abbrev "1" 1604 - osenv "^0.1.4" 1605 - 1606 - nopt@^5.0.0: 1607 - version "5.0.0" 1608 - resolved "https://registry.yarnpkg.com/nopt/-/nopt-5.0.0.tgz#530942bb58a512fccafe53fe210f13a25355dc88" 1609 - integrity sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ== 1610 - dependencies: 1611 - abbrev "1" 1612 - 1613 - normalize-path@^3.0.0, normalize-path@~3.0.0: 1614 - version "3.0.0" 1615 - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" 1616 - integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== 1617 - 1618 - npm-path@^2.0.2: 1619 - version "2.0.4" 1620 - resolved "https://registry.yarnpkg.com/npm-path/-/npm-path-2.0.4.tgz#c641347a5ff9d6a09e4d9bce5580c4f505278e64" 1621 - integrity sha512-IFsj0R9C7ZdR5cP+ET342q77uSRdtWOlWpih5eC+lu29tIDbNEgDbzgVJ5UFvYHWhxDZ5TFkJafFioO0pPQjCw== 1622 - dependencies: 1623 - which "^1.2.10" 1624 - 1625 - npm-which@^3.0.1: 1626 - version "3.0.1" 1627 - resolved "https://registry.yarnpkg.com/npm-which/-/npm-which-3.0.1.tgz#9225f26ec3a285c209cae67c3b11a6b4ab7140aa" 1628 - integrity sha1-kiXybsOihcIJyuZ8OxGmtKtxQKo= 1629 - dependencies: 1630 - commander "^2.9.0" 1631 - npm-path "^2.0.2" 1632 - which "^1.2.10" 1633 - 1634 - "npmlog@0 || 1 || 2": 1635 - version "2.0.4" 1636 - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-2.0.4.tgz#98b52530f2514ca90d09ec5b22c8846722375692" 1637 - integrity sha1-mLUlMPJRTKkNCexbIsiEZyI3VpI= 1638 - dependencies: 1639 - ansi "~0.3.1" 1640 - are-we-there-yet "~1.1.2" 1641 - gauge "~1.2.5" 1642 - 1643 - "npmlog@0 || 1 || 2 || 3 || 4", npmlog@^4.0.1, npmlog@^4.1.2: 1644 - version "4.1.2" 1645 - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" 1646 - integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== 1647 - dependencies: 1648 - are-we-there-yet "~1.1.2" 1649 - console-control-strings "~1.1.0" 1650 - gauge "~2.7.3" 1651 - set-blocking "~2.0.0" 1652 - 1653 - npmlog@^1.2.0: 1654 - version "1.2.1" 1655 - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-1.2.1.tgz#28e7be619609b53f7ad1dd300a10d64d716268b6" 1656 - integrity sha1-KOe+YZYJtT960d0wChDWTXFiaLY= 1657 - dependencies: 1658 - ansi "~0.3.0" 1659 - are-we-there-yet "~1.0.0" 1660 - gauge "~1.2.0" 1661 - 1662 - number-is-nan@^1.0.0: 1663 - version "1.0.1" 1664 - resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" 1665 - integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0= 1666 - 1667 - nw-gyp@^3.6.3: 1668 - version "3.6.5" 1669 - resolved "https://registry.yarnpkg.com/nw-gyp/-/nw-gyp-3.6.5.tgz#ccce42182229e44e7689da70675b4b8dd0ab0ab3" 1670 - integrity sha512-vYrOIYJEKpq9CfaHuiqEjV1rBYgr6uaUrPhPRiznb91LujkAUqGhQ5QqDC1bLdd+zo9jf2H0Zkl2M5zQB7+CuQ== 1671 - dependencies: 1672 - fstream "^1.0.0" 1673 - glob "^7.0.3" 1674 - graceful-fs "^4.1.2" 1675 - minimatch "^3.0.2" 1676 - mkdirp "^0.5.0" 1677 - nopt "2 || 3" 1678 - npmlog "0 || 1 || 2 || 3 || 4" 1679 - osenv "0" 1680 - request "2" 1681 - rimraf "2" 1682 - semver "~5.3.0" 1683 - tar "^2.0.0" 1684 - which "1" 1685 - 1686 - oauth-sign@~0.9.0: 1687 - version "0.9.0" 1688 - resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" 1689 - integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== 1690 - 1691 - object-assign@^4.1.0: 1692 - version "4.1.1" 1693 - resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 1694 - integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= 1695 - 1696 - once@^1.3.0, once@^1.3.1, once@^1.4.0: 1697 - version "1.4.0" 1698 - resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 1699 - integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= 1700 - dependencies: 1701 - wrappy "1" 1702 - 1703 - os-homedir@^1.0.0: 1704 - version "1.0.2" 1705 - resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" 1706 - integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M= 1707 - 1708 - os-locale@^1.4.0: 1709 - version "1.4.0" 1710 - resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13d2009803c14d9" 1711 - integrity sha1-IPnxeuKe00XoveWDsT0gCYA8FNk= 1712 - dependencies: 1713 - lcid "^1.0.0" 1714 - 1715 - os-tmpdir@^1.0.0, os-tmpdir@^1.0.1: 1716 - version "1.0.2" 1717 - resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" 1718 - integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= 1719 - 1720 - osenv@0, osenv@^0.1.4: 1721 - version "0.1.5" 1722 - resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410" 1723 - integrity sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g== 1724 - dependencies: 1725 - os-homedir "^1.0.0" 1726 - os-tmpdir "^1.0.0" 1727 - 1728 - p-limit@^3.0.2: 1729 - version "3.1.0" 1730 - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" 1731 - integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== 1732 - dependencies: 1733 - yocto-queue "^0.1.0" 1734 - 1735 - p-locate@^5.0.0: 1736 - version "5.0.0" 1737 - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" 1738 - integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== 1739 - dependencies: 1740 - p-limit "^3.0.2" 1741 - 1742 - path-array@^1.0.0: 1743 - version "1.0.1" 1744 - resolved "https://registry.yarnpkg.com/path-array/-/path-array-1.0.1.tgz#7e2f0f35f07a2015122b868b7eac0eb2c4fec271" 1745 - integrity sha1-fi8PNfB6IBUSK4aLfqwOssT+wnE= 1746 - dependencies: 1747 - array-index "^1.0.0" 1748 - 1749 - path-exists@^4.0.0: 1750 - version "4.0.0" 1751 - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" 1752 - integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== 1753 - 1754 - path-is-absolute@^1.0.0, path-is-absolute@^1.0.1: 1755 - version "1.0.1" 1756 - resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 1757 - integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= 1758 - 1759 - pathval@^1.1.1: 1760 - version "1.1.1" 1761 - resolved "https://registry.yarnpkg.com/pathval/-/pathval-1.1.1.tgz#8534e77a77ce7ac5a2512ea21e0fdb8fcf6c3d8d" 1762 - integrity sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ== 1763 - 1764 - performance-now@^2.1.0: 1765 - version "2.1.0" 1766 - resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" 1767 - integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns= 1768 - 1769 - picomatch@^2.0.4, picomatch@^2.2.1: 1770 - version "2.2.2" 1771 - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad" 1772 - integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg== 1773 - 1774 - prebuild-install@^6.0.0: 1775 - version "6.1.1" 1776 - resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-6.1.1.tgz#6754fa6c0d55eced7f9e14408ff9e4cba6f097b4" 1777 - integrity sha512-M+cKwofFlHa5VpTWub7GLg5RLcunYIcLqtY5pKcls/u7xaAb8FrXZ520qY8rkpYy5xw90tYCyMO0MP5ggzR3Sw== 1778 - dependencies: 1779 - detect-libc "^1.0.3" 1780 - expand-template "^2.0.3" 1781 - github-from-package "0.0.0" 1782 - minimist "^1.2.3" 1783 - mkdirp-classic "^0.5.3" 1784 - napi-build-utils "^1.0.1" 1785 - node-abi "^2.21.0" 1786 - noop-logger "^0.1.1" 1787 - npmlog "^4.0.1" 1788 - pump "^3.0.0" 1789 - rc "^1.2.7" 1790 - simple-get "^3.0.3" 1791 - tar-fs "^2.0.0" 1792 - tunnel-agent "^0.6.0" 1793 - 1794 - prebuild@^10.0.1: 1795 - version "10.0.1" 1796 - resolved "https://registry.yarnpkg.com/prebuild/-/prebuild-10.0.1.tgz#9d46a00f42b60ad1718479cc5e3d1ef4882b7f33" 1797 - integrity sha512-x0CkKDmHFwX49rTGEYJwB9jBQwJWxRzwUtP5PA9dP8khFGMm3oSFgYortxdlp0PkxB29EhWGp/KQE5g+adehYg== 1798 - dependencies: 1799 - cmake-js "~5.2.0" 1800 - detect-libc "^1.0.3" 1801 - each-series-async "^1.0.1" 1802 - execspawn "^1.0.1" 1803 - ghreleases "^3.0.2" 1804 - github-from-package "0.0.0" 1805 - glob "^7.1.6" 1806 - minimist "^1.1.2" 1807 - mkdirp "^0.5.1" 1808 - napi-build-utils "^1.0.1" 1809 - node-abi "^2.2.0" 1810 - node-gyp "^6.0.1" 1811 - node-ninja "^1.0.1" 1812 - noop-logger "^0.1.0" 1813 - npm-which "^3.0.1" 1814 - npmlog "^4.0.1" 1815 - nw-gyp "^3.6.3" 1816 - rc "^1.0.3" 1817 - run-waterfall "^1.1.6" 1818 - tar-stream "^2.1.0" 1819 - 1820 - private@^0.1.8: 1821 - version "0.1.8" 1822 - resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" 1823 - integrity sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg== 1824 - 1825 - process-nextick-args@~1.0.6: 1826 - version "1.0.7" 1827 - resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" 1828 - integrity sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M= 1829 - 1830 - psl@^1.1.28: 1831 - version "1.1.29" 1832 - resolved "https://registry.yarnpkg.com/psl/-/psl-1.1.29.tgz#60f580d360170bb722a797cc704411e6da850c67" 1833 - integrity sha512-AeUmQ0oLN02flVHXWh9sSJF7mcdFq0ppid/JkErufc3hGIV/AMa8Fo9VgDo/cT2jFdOWoFvHp90qqBH54W+gjQ== 1834 - 1835 - pump@^3.0.0: 1836 - version "3.0.0" 1837 - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" 1838 - integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== 1839 - dependencies: 1840 - end-of-stream "^1.1.0" 1841 - once "^1.3.1" 1842 - 1843 - punycode@^2.1.0, punycode@^2.1.1: 1844 - version "2.1.1" 1845 - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" 1846 - integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== 1847 - 1848 - qs@~6.5.2: 1849 - version "6.5.2" 1850 - resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" 1851 - integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== 1852 - 1853 - randombytes@^2.1.0: 1854 - version "2.1.0" 1855 - resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" 1856 - integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== 1857 - dependencies: 1858 - safe-buffer "^5.1.0" 1859 - 1860 - rc@^1.0.3, rc@^1.2.7: 1861 - version "1.2.8" 1862 - resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" 1863 - integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== 1864 - dependencies: 1865 - deep-extend "^0.6.0" 1866 - ini "~1.3.0" 1867 - minimist "^1.2.0" 1868 - strip-json-comments "~2.0.1" 1869 - 1870 - "readable-stream@>=1.0.33-1 <1.1.0-0", readable-stream@~1.0.26-2: 1871 - version "1.0.34" 1872 - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c" 1873 - integrity sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw= 1874 - dependencies: 1875 - core-util-is "~1.0.0" 1876 - inherits "~2.0.1" 1877 - isarray "0.0.1" 1878 - string_decoder "~0.10.x" 1879 - 1880 - "readable-stream@^2.0.0 || ^1.1.13", readable-stream@^2.0.2, readable-stream@^2.0.6: 1881 - version "2.3.3" 1882 - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.3.tgz#368f2512d79f9d46fdfc71349ae7878bbc1eb95c" 1883 - integrity sha512-m+qzzcn7KUxEmd1gMbchF+Y2eIUbieUaxkWtptyHywrX0rE8QEYqPC07Vuy4Wm32/xE16NcdBctb8S0Xe/5IeQ== 1884 - dependencies: 1885 - core-util-is "~1.0.0" 1886 - inherits "~2.0.3" 1887 - isarray "~1.0.0" 1888 - process-nextick-args "~1.0.6" 1889 - safe-buffer "~5.1.1" 1890 - string_decoder "~1.0.3" 1891 - util-deprecate "~1.0.1" 1892 - 1893 - readable-stream@^3.0.1, readable-stream@^3.1.1, readable-stream@^3.4.0: 1894 - version "3.6.0" 1895 - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" 1896 - integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== 1897 - dependencies: 1898 - inherits "^2.0.3" 1899 - string_decoder "^1.1.1" 1900 - util-deprecate "^1.0.1" 1901 - 1902 - readable-stream@~1.1.9: 1903 - version "1.1.14" 1904 - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9" 1905 - integrity sha1-fPTFTvZI44EwhMY23SB54WbAgdk= 1906 - dependencies: 1907 - core-util-is "~1.0.0" 1908 - inherits "~2.0.1" 1909 - isarray "0.0.1" 1910 - string_decoder "~0.10.x" 1911 - 1912 - readable-stream@~2.1.5: 1913 - version "2.1.5" 1914 - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.1.5.tgz#66fa8b720e1438b364681f2ad1a63c618448c9d0" 1915 - integrity sha1-ZvqLcg4UOLNkaB8q0aY8YYRIydA= 1916 - dependencies: 1917 - buffer-shims "^1.0.0" 1918 - core-util-is "~1.0.0" 1919 - inherits "~2.0.1" 1920 - isarray "~1.0.0" 1921 - process-nextick-args "~1.0.6" 1922 - string_decoder "~0.10.x" 1923 - util-deprecate "~1.0.1" 1924 - 1925 - readdirp@~3.5.0: 1926 - version "3.5.0" 1927 - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.5.0.tgz#9ba74c019b15d365278d2e91bb8c48d7b4d42c9e" 1928 - integrity sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ== 1929 - dependencies: 1930 - picomatch "^2.2.1" 1931 - 1932 - regenerator-runtime@^0.10.0: 1933 - version "0.10.5" 1934 - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658" 1935 - integrity sha1-M2w+/BIgrc7dosn6tntaeVWjNlg= 1936 - 1937 - regenerator-runtime@^0.11.0: 1938 - version "0.11.1" 1939 - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" 1940 - integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg== 1941 - 1942 - repeating@^2.0.0: 1943 - version "2.0.1" 1944 - resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" 1945 - integrity sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo= 1946 - dependencies: 1947 - is-finite "^1.0.0" 1948 - 1949 - request@2, request@^2.54.0, request@^2.88.0, request@^2.88.2: 1950 - version "2.88.2" 1951 - resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" 1952 - integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw== 1953 - dependencies: 1954 - aws-sign2 "~0.7.0" 1955 - aws4 "^1.8.0" 1956 - caseless "~0.12.0" 1957 - combined-stream "~1.0.6" 1958 - extend "~3.0.2" 1959 - forever-agent "~0.6.1" 1960 - form-data "~2.3.2" 1961 - har-validator "~5.1.3" 1962 - http-signature "~1.2.0" 1963 - is-typedarray "~1.0.0" 1964 - isstream "~0.1.2" 1965 - json-stringify-safe "~5.0.1" 1966 - mime-types "~2.1.19" 1967 - oauth-sign "~0.9.0" 1968 - performance-now "^2.1.0" 1969 - qs "~6.5.2" 1970 - safe-buffer "^5.1.2" 1971 - tough-cookie "~2.5.0" 1972 - tunnel-agent "^0.6.0" 1973 - uuid "^3.3.2" 1974 - 1975 - require-directory@^2.1.1: 1976 - version "2.1.1" 1977 - resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" 1978 - integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= 1979 - 1980 - rimraf@2, rimraf@^2.6.3: 1981 - version "2.7.1" 1982 - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" 1983 - integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== 1984 - dependencies: 1985 - glob "^7.1.3" 1986 - 1987 - rimraf@^3.0.2: 1988 - version "3.0.2" 1989 - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" 1990 - integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== 1991 - dependencies: 1992 - glob "^7.1.3" 1993 - 1994 - rsvp@^3.0.13: 1995 - version "3.6.2" 1996 - resolved "https://registry.yarnpkg.com/rsvp/-/rsvp-3.6.2.tgz#2e96491599a96cde1b515d5674a8f7a91452926a" 1997 - integrity sha512-OfWGQTb9vnwRjwtA2QwpG2ICclHC3pgXZO5xt8H2EfgDquO0qVdSb5T88L4qJVAEugbS56pAuV4XZM58UX8ulw== 1998 - 1999 - run-waterfall@^1.1.6: 2000 - version "1.1.7" 2001 - resolved "https://registry.yarnpkg.com/run-waterfall/-/run-waterfall-1.1.7.tgz#ae368b549b2f5171f86c2924492cab3352a6e9c5" 2002 - integrity sha512-iFPgh7SatHXOG1ClcpdwHI63geV3Hc/iL6crGSyBlH2PY7Rm/za+zoKz6FfY/Qlw5K7JwSol8pseO8fN6CMhhQ== 2003 - 2004 - safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@~5.1.0, safe-buffer@~5.1.1: 2005 - version "5.1.1" 2006 - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" 2007 - integrity sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg== 2008 - 2009 - safe-buffer@^5.1.2, safe-buffer@~5.2.0: 2010 - version "5.2.1" 2011 - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" 2012 - integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== 2013 - 2014 - safer-buffer@^2.0.2: 2015 - version "2.1.2" 2016 - resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" 2017 - integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== 2018 - 2019 - "semver@2.x || 3.x || 4 || 5", semver@^5.0.3, semver@^5.4.1, semver@^5.7.1: 2020 - version "5.7.1" 2021 - resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" 2022 - integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== 2023 - 2024 - semver@^4.3.3: 2025 - version "4.3.6" 2026 - resolved "https://registry.yarnpkg.com/semver/-/semver-4.3.6.tgz#300bc6e0e86374f7ba61068b5b1ecd57fc6532da" 2027 - integrity sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto= 2028 - 2029 - semver@^7.3.2: 2030 - version "7.3.2" 2031 - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938" 2032 - integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ== 2033 - 2034 - semver@~5.3.0: 2035 - version "5.3.0" 2036 - resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f" 2037 - integrity sha1-myzl094C0XxgEq0yaqa00M9U+U8= 2038 - 2039 - serialize-javascript@5.0.1: 2040 - version "5.0.1" 2041 - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-5.0.1.tgz#7886ec848049a462467a97d3d918ebb2aaf934f4" 2042 - integrity sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA== 2043 - dependencies: 2044 - randombytes "^2.1.0" 2045 - 2046 - set-blocking@~2.0.0: 2047 - version "2.0.0" 2048 - resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" 2049 - integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= 2050 - 2051 - setimmediate@~1.0.4: 2052 - version "1.0.5" 2053 - resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" 2054 - integrity sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU= 2055 - 2056 - signal-exit@^3.0.0: 2057 - version "3.0.2" 2058 - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 2059 - integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= 2060 - 2061 - simple-concat@^1.0.0: 2062 - version "1.0.1" 2063 - resolved "https://registry.yarnpkg.com/simple-concat/-/simple-concat-1.0.1.tgz#f46976082ba35c2263f1c8ab5edfe26c41c9552f" 2064 - integrity sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q== 2065 - 2066 - simple-get@^3.0.3: 2067 - version "3.1.0" 2068 - resolved "https://registry.yarnpkg.com/simple-get/-/simple-get-3.1.0.tgz#b45be062435e50d159540b576202ceec40b9c6b3" 2069 - integrity sha512-bCR6cP+aTdScaQCnQKbPKtJOKDp/hj9EDLJo3Nw4y1QksqaovlW/bnptB6/c1e+qmNIDHRK+oXFDdEqBT8WzUA== 2070 - dependencies: 2071 - decompress-response "^4.2.0" 2072 - once "^1.3.1" 2073 - simple-concat "^1.0.0" 2074 - 2075 - simple-mime@~0.1.0: 2076 - version "0.1.0" 2077 - resolved "https://registry.yarnpkg.com/simple-mime/-/simple-mime-0.1.0.tgz#95f517c4f466d7cff561a71fc9dab2596ea9ef2e" 2078 - integrity sha1-lfUXxPRm18/1YacfydqyWW6p7y4= 2079 - 2080 - slash@^1.0.0: 2081 - version "1.0.0" 2082 - resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" 2083 - integrity sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU= 2084 - 2085 - source-map-support@^0.4.15: 2086 - version "0.4.18" 2087 - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f" 2088 - integrity sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA== 2089 - dependencies: 2090 - source-map "^0.5.6" 2091 - 2092 - source-map-support@~0.2.8: 2093 - version "0.2.10" 2094 - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.2.10.tgz#ea5a3900a1c1cb25096a0ae8cc5c2b4b10ded3dc" 2095 - integrity sha1-6lo5AKHByyUJagrozFwrSxDe09w= 2096 - dependencies: 2097 - source-map "0.1.32" 2098 - 2099 - source-map@0.1.32: 2100 - version "0.1.32" 2101 - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.1.32.tgz#c8b6c167797ba4740a8ea33252162ff08591b266" 2102 - integrity sha1-yLbBZ3l7pHQKjqMyUhYv8IWRsmY= 2103 - dependencies: 2104 - amdefine ">=0.0.4" 2105 - 2106 - source-map@^0.5.6, source-map@^0.5.7: 2107 - version "0.5.7" 2108 - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" 2109 - integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= 2110 - 2111 - splitargs@0: 2112 - version "0.0.7" 2113 - resolved "https://registry.yarnpkg.com/splitargs/-/splitargs-0.0.7.tgz#fe9f7ae657371b33b10cb80da143cf8249cf6b3b" 2114 - integrity sha1-/p965lc3GzOxDLgNoUPPgknPazs= 2115 - 2116 - sshpk@^1.7.0: 2117 - version "1.14.2" 2118 - resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.14.2.tgz#c6fc61648a3d9c4e764fd3fcdf4ea105e492ba98" 2119 - integrity sha1-xvxhZIo9nE52T9P8306hBeSSupg= 2120 - dependencies: 2121 - asn1 "~0.2.3" 2122 - assert-plus "^1.0.0" 2123 - dashdash "^1.12.0" 2124 - getpass "^0.1.1" 2125 - safer-buffer "^2.0.2" 2126 - optionalDependencies: 2127 - bcrypt-pbkdf "^1.0.0" 2128 - ecc-jsbn "~0.1.1" 2129 - jsbn "~0.1.0" 2130 - tweetnacl "~0.14.0" 2131 - 2132 - string-width@^1.0.1, string-width@^1.0.2, "string-width@^1.0.2 || 2": 2133 - version "1.0.2" 2134 - resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" 2135 - integrity sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M= 2136 - dependencies: 2137 - code-point-at "^1.0.0" 2138 - is-fullwidth-code-point "^1.0.0" 2139 - strip-ansi "^3.0.0" 2140 - 2141 - string-width@^4.1.0, string-width@^4.2.0: 2142 - version "4.2.2" 2143 - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.2.tgz#dafd4f9559a7585cfba529c6a0a4f73488ebd4c5" 2144 - integrity sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA== 2145 - dependencies: 2146 - emoji-regex "^8.0.0" 2147 - is-fullwidth-code-point "^3.0.0" 2148 - strip-ansi "^6.0.0" 2149 - 2150 - string_decoder@^1.1.1: 2151 - version "1.3.0" 2152 - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" 2153 - integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== 2154 - dependencies: 2155 - safe-buffer "~5.2.0" 2156 - 2157 - string_decoder@~0.10.x: 2158 - version "0.10.31" 2159 - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" 2160 - integrity sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ= 2161 - 2162 - string_decoder@~1.0.3: 2163 - version "1.0.3" 2164 - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab" 2165 - integrity sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ== 2166 - dependencies: 2167 - safe-buffer "~5.1.0" 2168 - 2169 - strip-ansi@^3.0.0, strip-ansi@^3.0.1: 2170 - version "3.0.1" 2171 - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 2172 - integrity sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8= 2173 - dependencies: 2174 - ansi-regex "^2.0.0" 2175 - 2176 - strip-ansi@^6.0.0: 2177 - version "6.0.0" 2178 - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" 2179 - integrity sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w== 2180 - dependencies: 2181 - ansi-regex "^5.0.0" 2182 - 2183 - strip-json-comments@3.1.1: 2184 - version "3.1.1" 2185 - resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" 2186 - integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== 2187 - 2188 - strip-json-comments@~2.0.1: 2189 - version "2.0.1" 2190 - resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" 2191 - integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= 2192 - 2193 - supports-color@8.1.1: 2194 - version "8.1.1" 2195 - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" 2196 - integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== 2197 - dependencies: 2198 - has-flag "^4.0.0" 2199 - 2200 - supports-color@^2.0.0: 2201 - version "2.0.0" 2202 - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" 2203 - integrity sha1-U10EXOa2Nj+kARcIRimZXp3zJMc= 2204 - 2205 - supports-color@^7.1.0: 2206 - version "7.2.0" 2207 - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" 2208 - integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== 2209 - dependencies: 2210 - has-flag "^4.0.0" 2211 - 2212 - tar-fs@^2.0.0: 2213 - version "2.1.1" 2214 - resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.1.tgz#489a15ab85f1f0befabb370b7de4f9eb5cbe8784" 2215 - integrity sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng== 2216 - dependencies: 2217 - chownr "^1.1.1" 2218 - mkdirp-classic "^0.5.2" 2219 - pump "^3.0.0" 2220 - tar-stream "^2.1.4" 2221 - 2222 - tar-stream@^2.1.0, tar-stream@^2.1.4: 2223 - version "2.1.4" 2224 - resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.1.4.tgz#c4fb1a11eb0da29b893a5b25476397ba2d053bfa" 2225 - integrity sha512-o3pS2zlG4gxr67GmFYBLlq+dM8gyRGUOvsrHclSkvtVtQbjV0s/+ZE8OpICbaj8clrX3tjeHngYGP7rweaBnuw== 2226 - dependencies: 2227 - bl "^4.0.3" 2228 - end-of-stream "^1.4.1" 2229 - fs-constants "^1.0.0" 2230 - inherits "^2.0.3" 2231 - readable-stream "^3.1.1" 2232 - 2233 - tar@^2.0.0: 2234 - version "2.2.2" 2235 - resolved "https://registry.yarnpkg.com/tar/-/tar-2.2.2.tgz#0ca8848562c7299b8b446ff6a4d60cdbb23edc40" 2236 - integrity sha512-FCEhQ/4rE1zYv9rYXJw/msRqsnmlje5jHP6huWeBZ704jUTy02c5AZyWujpMR1ax6mVw9NyJMfuK2CMDWVIfgA== 2237 - dependencies: 2238 - block-stream "*" 2239 - fstream "^1.0.12" 2240 - inherits "2" 2241 - 2242 - tar@^4, tar@^4.4.12: 2243 - version "4.4.13" 2244 - resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525" 2245 - integrity sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA== 2246 - dependencies: 2247 - chownr "^1.1.1" 2248 - fs-minipass "^1.2.5" 2249 - minipass "^2.8.6" 2250 - minizlib "^1.2.1" 2251 - mkdirp "^0.5.0" 2252 - safe-buffer "^5.1.2" 2253 - yallist "^3.0.3" 2254 - 2255 - tar@^6.0.2: 2256 - version "6.0.5" 2257 - resolved "https://registry.yarnpkg.com/tar/-/tar-6.0.5.tgz#bde815086e10b39f1dcd298e89d596e1535e200f" 2258 - integrity sha512-0b4HOimQHj9nXNEAA7zWwMM91Zhhba3pspja6sQbgTpynOJf+bkjBnfybNYzbpLbnwXnbyB4LOREvlyXLkCHSg== 2259 - dependencies: 2260 - chownr "^2.0.0" 2261 - fs-minipass "^2.0.0" 2262 - minipass "^3.0.0" 2263 - minizlib "^2.1.1" 2264 - mkdirp "^1.0.3" 2265 - yallist "^4.0.0" 2266 - 2267 - through2@~0.6.3: 2268 - version "0.6.5" 2269 - resolved "https://registry.yarnpkg.com/through2/-/through2-0.6.5.tgz#41ab9c67b29d57209071410e1d7a7a968cd3ad48" 2270 - integrity sha1-QaucZ7KdVyCQcUEOHXp6lozTrUg= 2271 - dependencies: 2272 - readable-stream ">=1.0.33-1 <1.1.0-0" 2273 - xtend ">=4.0.0 <4.1.0-0" 2274 - 2275 - to-fast-properties@^1.0.1, to-fast-properties@^1.0.3: 2276 - version "1.0.3" 2277 - resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47" 2278 - integrity sha1-uDVx+k2MJbguIxsG46MFXeTKGkc= 2279 - 2280 - to-regex-range@^5.0.1: 2281 - version "5.0.1" 2282 - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" 2283 - integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== 2284 - dependencies: 2285 - is-number "^7.0.0" 2286 - 2287 - tough-cookie@~2.5.0: 2288 - version "2.5.0" 2289 - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" 2290 - integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g== 2291 - dependencies: 2292 - psl "^1.1.28" 2293 - punycode "^2.1.1" 2294 - 2295 - traceur@0.0.x: 2296 - version "0.0.111" 2297 - resolved "https://registry.yarnpkg.com/traceur/-/traceur-0.0.111.tgz#c04de74d14696c3373427de4fc08ecaf913fc3a1" 2298 - integrity sha1-wE3nTRRpbDNzQn3k/Ajsr5E/w6E= 2299 - dependencies: 2300 - commander "2.9.x" 2301 - glob "5.0.x" 2302 - rsvp "^3.0.13" 2303 - semver "^4.3.3" 2304 - source-map-support "~0.2.8" 2305 - 2306 - "traverse@>=0.3.0 <0.4": 2307 - version "0.3.9" 2308 - resolved "https://registry.yarnpkg.com/traverse/-/traverse-0.3.9.tgz#717b8f220cc0bb7b44e40514c22b2e8bbc70d8b9" 2309 - integrity sha1-cXuPIgzAu3tE5AUUwisui7xw2Lk= 2310 - 2311 - trim-right@^1.0.1: 2312 - version "1.0.1" 2313 - resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" 2314 - integrity sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM= 2315 - 2316 - tunnel-agent@^0.6.0: 2317 - version "0.6.0" 2318 - resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" 2319 - integrity sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0= 2320 - dependencies: 2321 - safe-buffer "^5.0.1" 2322 - 2323 - tweetnacl@^0.14.3, tweetnacl@~0.14.0: 2324 - version "0.14.5" 2325 - resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" 2326 - integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q= 2327 - 2328 - type-detect@^4.0.0, type-detect@^4.0.5: 2329 - version "4.0.8" 2330 - resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" 2331 - integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== 2332 - 2333 - type@^1.0.1: 2334 - version "1.2.0" 2335 - resolved "https://registry.yarnpkg.com/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" 2336 - integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== 2337 - 2338 - type@^2.0.0: 2339 - version "2.1.0" 2340 - resolved "https://registry.yarnpkg.com/type/-/type-2.1.0.tgz#9bdc22c648cf8cf86dd23d32336a41cfb6475e3f" 2341 - integrity sha512-G9absDWvhAWCV2gmF1zKud3OyC61nZDwWvBL2DApaVFogI07CprggiQAOOjvp2NRjYWFzPyu7vwtDrQFq8jeSA== 2342 - 2343 - universalify@^0.1.0: 2344 - version "0.1.2" 2345 - resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" 2346 - integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== 2347 - 2348 - unzipper@^0.8.13: 2349 - version "0.8.14" 2350 - resolved "https://registry.yarnpkg.com/unzipper/-/unzipper-0.8.14.tgz#ade0524cd2fc14d11b8de258be22f9d247d3f79b" 2351 - integrity sha512-8rFtE7EP5ssOwGpN2dt1Q4njl0N1hUXJ7sSPz0leU2hRdq6+pra57z4YPBlVqm40vcgv6ooKZEAx48fMTv9x4w== 2352 - dependencies: 2353 - big-integer "^1.6.17" 2354 - binary "~0.3.0" 2355 - bluebird "~3.4.1" 2356 - buffer-indexof-polyfill "~1.0.0" 2357 - duplexer2 "~0.1.4" 2358 - fstream "~1.0.10" 2359 - listenercount "~1.0.1" 2360 - readable-stream "~2.1.5" 2361 - setimmediate "~1.0.4" 2362 - 2363 - uri-js@^4.2.2: 2364 - version "4.2.2" 2365 - resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0" 2366 - integrity sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ== 2367 - dependencies: 2368 - punycode "^2.1.0" 2369 - 2370 - url-join@0: 2371 - version "0.0.1" 2372 - resolved "https://registry.yarnpkg.com/url-join/-/url-join-0.0.1.tgz#1db48ad422d3402469a87f7d97bdebfe4fb1e3c8" 2373 - integrity sha1-HbSK1CLTQCRpqH99l73r/k+x48g= 2374 - 2375 - url-template@~2.0.6: 2376 - version "2.0.8" 2377 - resolved "https://registry.yarnpkg.com/url-template/-/url-template-2.0.8.tgz#fc565a3cccbff7730c775f5641f9555791439f21" 2378 - integrity sha1-/FZaPMy/93MMd19WQflVV5FDnyE= 2379 - 2380 - util-deprecate@^1.0.1, util-deprecate@~1.0.1: 2381 - version "1.0.2" 2382 - resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" 2383 - integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= 2384 - 2385 - util-extend@^1.0.1: 2386 - version "1.0.3" 2387 - resolved "https://registry.yarnpkg.com/util-extend/-/util-extend-1.0.3.tgz#a7c216d267545169637b3b6edc6ca9119e2ff93f" 2388 - integrity sha1-p8IW0mdUUWljeztu3GypEZ4v+T8= 2389 - 2390 - uuid@^3.3.2: 2391 - version "3.4.0" 2392 - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" 2393 - integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== 2394 - 2395 - verror@1.3.6: 2396 - version "1.3.6" 2397 - resolved "https://registry.yarnpkg.com/verror/-/verror-1.3.6.tgz#cff5df12946d297d2baaefaa2689e25be01c005c" 2398 - integrity sha1-z/XfEpRtKX0rqu+qJoniW+AcAFw= 2399 - dependencies: 2400 - extsprintf "1.0.2" 2401 - 2402 - which@1, which@^1.0.9, which@^1.2.10, which@^1.3.1: 2403 - version "1.3.1" 2404 - resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" 2405 - integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== 2406 - dependencies: 2407 - isexe "^2.0.0" 2408 - 2409 - which@2.0.2, which@^2.0.2: 2410 - version "2.0.2" 2411 - resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" 2412 - integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== 2413 - dependencies: 2414 - isexe "^2.0.0" 2415 - 2416 - wide-align@1.1.3: 2417 - version "1.1.3" 2418 - resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" 2419 - integrity sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA== 2420 - dependencies: 2421 - string-width "^1.0.2 || 2" 2422 - 2423 - wide-align@^1.1.0: 2424 - version "1.1.2" 2425 - resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.2.tgz#571e0f1b0604636ebc0dfc21b0339bbe31341710" 2426 - integrity sha512-ijDLlyQ7s6x1JgCLur53osjm/UXUYD9+0PbYKrBsYisYXzCxN+HC3mYDNy/dWdmf3AwqwU3CXwDCvsNgGK1S0w== 2427 - dependencies: 2428 - string-width "^1.0.2" 2429 - 2430 - window-size@^0.1.4: 2431 - version "0.1.4" 2432 - resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.4.tgz#f8e1aa1ee5a53ec5bf151ffa09742a6ad7697876" 2433 - integrity sha1-+OGqHuWlPsW/FR/6CXQqatdpeHY= 2434 - 2435 - workerpool@6.1.0: 2436 - version "6.1.0" 2437 - resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.1.0.tgz#a8e038b4c94569596852de7a8ea4228eefdeb37b" 2438 - integrity sha512-toV7q9rWNYha963Pl/qyeZ6wG+3nnsyvolaNUS8+R5Wtw6qJPTxIlOP1ZSvcGhEJw+l3HMMmtiNo9Gl61G4GVg== 2439 - 2440 - wrap-ansi@^2.0.0: 2441 - version "2.1.0" 2442 - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" 2443 - integrity sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU= 2444 - dependencies: 2445 - string-width "^1.0.1" 2446 - strip-ansi "^3.0.1" 2447 - 2448 - wrap-ansi@^7.0.0: 2449 - version "7.0.0" 2450 - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" 2451 - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== 2452 - dependencies: 2453 - ansi-styles "^4.0.0" 2454 - string-width "^4.1.0" 2455 - strip-ansi "^6.0.0" 2456 - 2457 - wrappy@1: 2458 - version "1.0.2" 2459 - resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 2460 - integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= 2461 - 2462 - "xtend@>=4.0.0 <4.1.0-0", xtend@~4.0.1: 2463 - version "4.0.2" 2464 - resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" 2465 - integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== 2466 - 2467 - y18n@^3.2.0: 2468 - version "3.2.2" 2469 - resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.2.tgz#85c901bd6470ce71fc4bb723ad209b70f7f28696" 2470 - integrity sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ== 2471 - 2472 - y18n@^5.0.5: 2473 - version "5.0.5" 2474 - resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.5.tgz#8769ec08d03b1ea2df2500acef561743bbb9ab18" 2475 - integrity sha512-hsRUr4FFrvhhRH12wOdfs38Gy7k2FFzB9qgN9v3aLykRq0dRcdcpz5C9FxdS2NuhOrI/628b/KSTJ3rwHysYSg== 2476 - 2477 - yallist@^3.0.0, yallist@^3.0.3: 2478 - version "3.1.1" 2479 - resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" 2480 - integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== 2481 - 2482 - yallist@^4.0.0: 2483 - version "4.0.0" 2484 - resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" 2485 - integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== 2486 - 2487 - yargs-parser@20.2.4, yargs-parser@^20.2.2: 2488 - version "20.2.4" 2489 - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" 2490 - integrity sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== 2491 - 2492 - yargs-unparser@2.0.0: 2493 - version "2.0.0" 2494 - resolved "https://registry.yarnpkg.com/yargs-unparser/-/yargs-unparser-2.0.0.tgz#f131f9226911ae5d9ad38c432fe809366c2325eb" 2495 - integrity sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA== 2496 - dependencies: 2497 - camelcase "^6.0.0" 2498 - decamelize "^4.0.0" 2499 - flat "^5.0.2" 2500 - is-plain-obj "^2.1.0" 2501 - 2502 - yargs@16.2.0: 2503 - version "16.2.0" 2504 - resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" 2505 - integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== 2506 - dependencies: 2507 - cliui "^7.0.2" 2508 - escalade "^3.1.1" 2509 - get-caller-file "^2.0.5" 2510 - require-directory "^2.1.1" 2511 - string-width "^4.2.0" 2512 - y18n "^5.0.5" 2513 - yargs-parser "^20.2.2" 2514 - 2515 - yargs@^3.6.0: 2516 - version "3.32.0" 2517 - resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.32.0.tgz#03088e9ebf9e756b69751611d2a5ef591482c995" 2518 - integrity sha1-AwiOnr+edWtpdRYR0qXvWRSCyZU= 2519 - dependencies: 2520 - camelcase "^2.0.1" 2521 - cliui "^3.0.3" 2522 - decamelize "^1.1.1" 2523 - os-locale "^1.4.0" 2524 - string-width "^1.0.1" 2525 - window-size "^0.1.4" 2526 - y18n "^3.2.0" 2527 - 2528 - yocto-queue@^0.1.0: 2529 - version "0.1.0" 2530 - resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" 2531 - integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==
+4 -4
pkgs/applications/networking/instant-messengers/element/seshat/pin.json
··· 1 1 { 2 - "version": "2.3.0", 3 - "srcHash": "JyqtM1CCRgxAAdhgQYaIUYPnxEcDrlW1SjDCmsrPL34=", 4 - "yarnHash": "0bym6i1f0i3bs4fncbiwzwmbxp7j14rz1v4kyvsl02qs97qw1jac", 5 - "cargoHash": "sha256-EjtH96SC2kgan631+wlu9LStGKm6ljCR4x3/WpCTS0E=" 2 + "version": "2.3.3", 3 + "srcHash": "HmKHWFoO8TQ9S/RcJnJ3h85/2uSkqGrgLnX82hkux4Q=", 4 + "yarnHash": "1cbkv8ap7f8vxl5brzqb86d2dyxg555sz67cldrp0vgnk8sq6ibp", 5 + "cargoHash": "sha256-WsgTbQ91aZZV5sIuFVjsccdiXivjtAUC1Zs/4uNk1zU=" 6 6 }
+59
pkgs/applications/networking/instant-messengers/flare-signal/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitLab 4 + , meson 5 + , ninja 6 + , pkg-config 7 + , protobuf 8 + , libsecret 9 + , libadwaita 10 + , rustPlatform 11 + , desktop-file-utils 12 + , wrapGAppsHook4 13 + }: 14 + 15 + stdenv.mkDerivation rec { 16 + pname = "flare"; 17 + version = "0.6.0"; 18 + 19 + src = fetchFromGitLab { 20 + domain = "gitlab.com"; 21 + owner = "Schmiddiii"; 22 + repo = pname; 23 + rev = version; 24 + hash = "sha256-wY95sXWGDjEy8vvP79XliJOn5GQkAvDmOXKmRz0TPEw="; 25 + }; 26 + 27 + cargoDeps = rustPlatform.fetchCargoTarball { 28 + inherit src; 29 + name = "${pname}-${version}"; 30 + hash = "sha256-J3MGQlPYGjhZKH599vfW2WhkXx+Tdr53PviiVpye4R0="; 31 + }; 32 + 33 + nativeBuildInputs = [ 34 + desktop-file-utils # for update-desktop-database 35 + meson 36 + ninja 37 + pkg-config 38 + wrapGAppsHook4 39 + ] ++ (with rustPlatform; [ 40 + cargoSetupHook 41 + rust.cargo 42 + rust.rustc 43 + ]); 44 + 45 + buildInputs = [ 46 + libadwaita 47 + libsecret 48 + protobuf 49 + ]; 50 + 51 + meta = { 52 + changelog = "https://gitlab.com/Schmiddiii/flare/-/blob/${src.rev}/CHANGELOG.md"; 53 + description = "An unofficial Signal GTK client"; 54 + homepage = "https://gitlab.com/Schmiddiii/flare"; 55 + license = lib.licenses.agpl3Plus; 56 + maintainers = with lib.maintainers; [ dotlambda tomfitzhenry ]; 57 + platforms = lib.platforms.linux; 58 + }; 59 + }
+6 -6
pkgs/applications/networking/instant-messengers/zoom-us/default.nix
··· 48 48 # and often with different versions. We write them on three lines 49 49 # like this (rather than using {}) so that the updater script can 50 50 # find where to edit them. 51 - versions.aarch64-darwin = "5.13.6.14918"; 52 - versions.x86_64-darwin = "5.13.6.14918"; 53 - versions.x86_64-linux = "5.13.5.431"; 51 + versions.aarch64-darwin = "5.13.7.15481"; 52 + versions.x86_64-darwin = "5.13.7.15481"; 53 + versions.x86_64-linux = "5.13.7.683"; 54 54 55 55 srcs = { 56 56 aarch64-darwin = fetchurl { 57 57 url = "https://zoom.us/client/${versions.aarch64-darwin}/zoomusInstallerFull.pkg?archType=arm64"; 58 58 name = "zoomusInstallerFull.pkg"; 59 - hash = "sha256-QY9z1bTKtL32HE4XWnBIvCNmDF+3x5N9BdfqJA+24fA="; 59 + hash = "sha256-lCg8xCEuZSWnd4fieug9xjudE9q6pNICRsbvA4ATVK8="; 60 60 }; 61 61 x86_64-darwin = fetchurl { 62 62 url = "https://zoom.us/client/${versions.x86_64-darwin}/zoomusInstallerFull.pkg"; 63 - hash = "sha256-eSPKzxDPXCbME0eTTDlfsI5KM5qRm79JTtnGJvpiS98="; 63 + hash = "sha256-jmMpkqUga/KQJfXFbGURcWQudnCKlIi5NGY6LuekjKw="; 64 64 }; 65 65 x86_64-linux = fetchurl { 66 66 url = "https://zoom.us/client/${versions.x86_64-linux}/zoom_x86_64.pkg.tar.xz"; 67 - hash = "sha256-R0IMV/+R7AGFy/ZvNyyvIBv10t1x1U1X6jdHoo6UHKY="; 67 + hash = "sha256-1aA3W9eXYhjxr39PoTSAVG7mToFInF7uz8MCiJhk/10="; 68 68 }; 69 69 }; 70 70
+2 -2
pkgs/applications/networking/mailreaders/thunderbird/packages.nix
··· 5 5 6 6 thunderbird-102 = (buildMozillaMach rec { 7 7 pname = "thunderbird"; 8 - version = "102.7.1"; 8 + version = "102.7.2"; 9 9 application = "comm/mail"; 10 10 applicationName = "Mozilla Thunderbird"; 11 11 binaryName = pname; 12 12 src = fetchurl { 13 13 url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz"; 14 - sha512 = "6310f3f122a1a61917ec2d0efe3a031b199ac13681e9fb4035abc0f4de0dbafb12accffbd63facb23f2cebf0124a13f7538a33176a2a513d1f685bee40db50ba"; 14 + sha512 = "7371079d59cceb47fdd0e9661f79eae7510ab0f5bf8e80c21952dfb5fed3db72279a4ac9d3a3de3617194fb36a9420ae814a69ee19a93ba242d2aa2b921e3010"; 15 15 }; 16 16 extraPatches = [ 17 17 # The file to be patched is different from firefox's `no-buildconfig-ffx90.patch`.
+3 -8
pkgs/applications/networking/nextcloud-client/0001-Explicitly-copy-dbus-files-into-the-store-dir.patch
··· 8 8 1 file changed, 1 insertion(+), 1 deletion(-) 9 9 10 10 diff --git a/shell_integration/libcloudproviders/CMakeLists.txt b/shell_integration/libcloudproviders/CMakeLists.txt 11 - index 1f35335..7f76951 100644 11 + index 2e7349ef7..512d4b188 100644 12 12 --- a/shell_integration/libcloudproviders/CMakeLists.txt 13 13 +++ b/shell_integration/libcloudproviders/CMakeLists.txt 14 - @@ -19,7 +19,7 @@ MACRO(PKGCONFIG_GETVAR _package _var _output_variable) 15 - ENDMACRO(PKGCONFIG_GETVAR _package _var _output_variable) 16 - 14 + @@ -1,5 +1,6 @@ 17 15 macro(dbus_add_activation_service _sources) 18 - - PKGCONFIG_GETVAR(dbus-1 session_bus_services_dir _install_dir) 16 + pkg_get_variable(_install_dir dbus-1 session_bus_services_dir) 19 17 + set(_install_dir "${CMAKE_INSTALL_DATADIR}/dbus-1/service") 20 18 foreach (_i ${_sources}) 21 19 get_filename_component(_service_file ${_i} ABSOLUTE) 22 20 string(REGEX REPLACE "\\.service.*$" ".service" _output_file ${_i}) 23 - -- 24 - 2.19.2 25 -
+2 -2
pkgs/applications/networking/nextcloud-client/default.nix
··· 26 26 27 27 mkDerivation rec { 28 28 pname = "nextcloud-client"; 29 - version = "3.6.6"; 29 + version = "3.7.1"; 30 30 31 31 outputs = [ "out" "dev" ]; 32 32 ··· 34 34 owner = "nextcloud"; 35 35 repo = "desktop"; 36 36 rev = "v${version}"; 37 - sha256 = "sha256-P3LSgrcMZZM0OY3yQz8t3Cf5spJJTB+JTIpoT9U3+xc="; 37 + sha256 = "sha256-MbxGS1Msb3xCW0z8FrIZEY3XaBa4BmN+JFBkV/Pf79A="; 38 38 }; 39 39 40 40 patches = [
+3 -3
pkgs/applications/networking/remote/teamviewer/default.nix
··· 26 26 pname = "teamviewer"; 27 27 # teamviewer itself has not development files but the dev output removes propagated other dev outputs from runtime 28 28 outputs = [ "out" "dev" ]; 29 - version = "15.35.7"; 29 + version = "15.38.3"; 30 30 31 31 src = fetchurl { 32 - url = "https://dl.tvcdn.de/download/linux/version_15x/teamviewer_${version}_amd64.deb"; 33 - sha256 = "sha256-KNUhe0c6Th2pW7+Lmo62FYdOv+8t7Z5/eQkYPN8eusc="; 32 + url = "https://dl.tvcdn.de/download/linux/version_${lib.versions.major version}x/teamviewer_${version}_amd64.deb"; 33 + sha256 = "sha256-+GGpGV8rl15VQvPRA2PWngQI4VoxCrZ0ArEm9FgdOVE="; 34 34 }; 35 35 36 36 unpackPhase = ''
+13 -6
pkgs/applications/networking/sniffnet/default.nix
··· 1 1 { lib 2 2 , rustPlatform 3 - , fetchCrate 3 + , fetchFromGitHub 4 4 , pkg-config 5 5 , libpcap 6 6 , stdenv 7 + , alsa-lib 8 + , expat 7 9 , fontconfig 8 10 , libGL 9 11 , xorg ··· 12 14 13 15 rustPlatform.buildRustPackage rec { 14 16 pname = "sniffnet"; 15 - version = "1.0.1"; 17 + version = "1.1.0"; 16 18 17 - src = fetchCrate { 18 - inherit pname version; 19 - sha256 = "sha256-8K774j04BOEuJjnFYjaSctPwBrKYYKqjFS2+PyxJ2FM="; 19 + src = fetchFromGitHub { 20 + owner = "gyulyvgc"; 21 + repo = "sniffnet"; 22 + rev = "v${version}"; 23 + hash = "sha256-zqk0N1S0vylleyyXaSflIZyWncZV0+wbSy1oAbyLx/4="; 20 24 }; 21 25 22 - cargoSha256 = "sha256-096i4wDdoJCICd0L2QNY+7cKHQnijK22zj4XaQNuko8="; 26 + cargoHash = "sha256-9CTA7Yh2O5S8DvRjwvkrb4ye0/8f+l0tsTxNBMmxLpQ="; 23 27 24 28 nativeBuildInputs = [ pkg-config ]; 25 29 26 30 buildInputs = [ 27 31 libpcap 28 32 ] ++ lib.optionals stdenv.isLinux [ 33 + alsa-lib 34 + expat 29 35 fontconfig 30 36 libGL 31 37 xorg.libX11 ··· 34 40 xorg.libXrandr 35 41 ] ++ lib.optionals stdenv.isDarwin [ 36 42 darwin.apple_sdk.frameworks.AppKit 43 + rustPlatform.bindgenHook 37 44 ]; 38 45 39 46 postFixup = lib.optionalString stdenv.isLinux ''
+2 -2
pkgs/applications/radio/hackrf/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "hackrf"; 5 - version = "2022.09.1"; 5 + version = "2023.01.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "greatscottgadgets"; 9 9 repo = "hackrf"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-c+9DEMxioIbEDNTdLSOnxX1zpFk07K9rlGP9goEJMlU="; 11 + sha256 = "sha256-zvSSCNtqHOZVlrBggjgxEyUTqTiAIAhdzUkm4Pm9b3k="; 12 12 }; 13 13 14 14 nativeBuildInputs = [
+7 -3
pkgs/applications/radio/soapysdr/default.nix
··· 5 5 , python ? null 6 6 , ncurses, swig2 7 7 , extraPackages ? [] 8 - } : 8 + , testers 9 + }: 9 10 10 11 let 11 12 ··· 14 15 modulesPath = "lib/SoapySDR/modules" + modulesVersion; 15 16 extraPackagesSearchPath = lib.makeSearchPath modulesPath extraPackages; 16 17 17 - in stdenv.mkDerivation { 18 + in stdenv.mkDerivation (finalAttrs: { 18 19 pname = "soapysdr"; 19 20 inherit version; 20 21 ··· 58 59 done 59 60 ''; 60 61 62 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 63 + 61 64 meta = with lib; { 62 65 homepage = "https://github.com/pothosware/SoapySDR"; 63 66 description = "Vendor and platform neutral SDR support library"; 64 67 license = licenses.boost; 65 68 maintainers = with maintainers; [ markuskowa ]; 66 69 mainProgram = "SoapySDRUtil"; 70 + pkgConfigModules = [ "SoapySDR" ]; 67 71 platforms = platforms.unix; 68 72 }; 69 - } 73 + })
+1 -1
pkgs/applications/science/math/bliss/default.nix
··· 32 32 description = "An open source tool for computing automorphism groups and canonical forms of graphs. It has both a command line user interface as well as C++ and C programming language APIs"; 33 33 homepage = "http://www.tcs.hut.fi/Software/bliss/"; 34 34 license = licenses.lgpl3; 35 - platforms = [ "i686-linux" "x86_64-linux" ]; 35 + platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" ]; 36 36 }; 37 37 }
+2 -2
pkgs/applications/science/math/polymake/default.nix
··· 25 25 26 26 stdenv.mkDerivation rec { 27 27 pname = "polymake"; 28 - version = "4.8"; 28 + version = "4.9"; 29 29 30 30 src = fetchurl { 31 31 # "The minimal version is a packager friendly version which omits 32 32 # the bundled sources of cdd, lrs, libnormaliz, nauty and jReality." 33 33 url = "https://polymake.org/lib/exe/fetch.php/download/polymake-${version}-minimal.tar.bz2"; 34 - sha256 = "sha256-GfsAypJBpHwpvoEl/IzJ1gQfeMcYwB7oNe01xWJ+86w="; 34 + sha256 = "sha256-BMkLgms6JsWmPhi+MZv/Eqie8BKL+KaPtk3xBZSyWfM="; 35 35 }; 36 36 37 37 nativeBuildInputs = [
+2 -2
pkgs/applications/science/molecular-dynamics/gromacs/default.nix
··· 19 19 20 20 in stdenv.mkDerivation rec { 21 21 pname = "gromacs"; 22 - version = "2022.4"; 22 + version = "2023"; 23 23 24 24 src = fetchurl { 25 25 url = "ftp://ftp.gromacs.org/pub/gromacs/gromacs-${version}.tar.gz"; 26 - sha256 = "sha256-xRG+YC/ylAIGW1CQaEHe+YdSY5uSqV8bChBg2bXicpc="; 26 + sha256 = "sha256-rJLG2nL7vMpBT9io2Xnlbs8XxMHNq+0tpc+05yd7e6g="; 27 27 }; 28 28 29 29 nativeBuildInputs = [ cmake ];
+3 -3
pkgs/applications/version-management/gfold/default.nix
··· 12 12 13 13 let 14 14 pname = "gfold"; 15 - version = "4.2.0"; 15 + version = "4.3.0"; 16 16 in 17 17 rustPlatform.buildRustPackage { 18 18 inherit pname version; ··· 21 21 owner = "nickgerace"; 22 22 repo = pname; 23 23 rev = version; 24 - sha256 = "sha256-cH4FhXrdT0ejpyt8G2rSGw9WE9sfOXRkSA9+FVwRmtQ="; 24 + sha256 = "sha256-yvMp5x1uiJGkWHnwfONx4pVotSSE6sTW4uqWpI2AFXg="; 25 25 }; 26 26 27 - cargoSha256 = "sha256-NmVmqBzRUdumWQ9MzolZTo0VQW9JTjIyYRwUTzGiQZ4="; 27 + cargoHash = "sha256-MBWaNjs840twU9SQLvgVcXTT0RN2QJ7PiaAohiiQu3s="; 28 28 29 29 buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ]; 30 30
+3 -3
pkgs/applications/version-management/gh/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "gh"; 5 - version = "2.22.1"; 5 + version = "2.23.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "cli"; 9 9 repo = "cli"; 10 10 rev = "v${version}"; 11 - hash = "sha256-TREy2pzVAHClwbryfEgX2WqtQ8+RmJtCNrESeaHDHMs="; 11 + hash = "sha256-91TmPIjFOCeZmbobn3mIJis5qofJFmNGuX19+Cyo8Ck="; 12 12 }; 13 13 14 - vendorHash = "sha256-OjTl43UQGGHqCrw0kMBShuS8aonjWczfzQGmGJLhdrU="; 14 + vendorHash = "sha256-NiXC0ooUkAqFCLp3eRBpryazQU94gSnw0gYFwQNeCo4="; 15 15 16 16 nativeBuildInputs = [ installShellFiles ]; 17 17
+2 -2
pkgs/applications/version-management/git-machete/default.nix
··· 12 12 13 13 buildPythonApplication rec { 14 14 pname = "git-machete"; 15 - version = "3.14.3"; 15 + version = "3.15.0"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "virtuslab"; 19 19 repo = pname; 20 20 rev = "v${version}"; 21 - hash = "sha256-VOny8r00JYUT4Z7LukvWTH9ZTn86vn2Dc1YhPmtdE5s="; 21 + hash = "sha256-HSgCvHjSOrMPsdOPtgFUeK6b0ioVnwTtg2oHGg4BrZw="; 22 22 }; 23 23 24 24 nativeBuildInputs = [ installShellFiles ];
+3 -3
pkgs/applications/version-management/glab/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "glab"; 5 - version = "1.24.1"; 5 + version = "1.25.3"; 6 6 7 7 src = fetchFromGitLab { 8 8 owner = "gitlab-org"; 9 9 repo = "cli"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-CUchYPMBTINkMJg8TC8rKMVkrcj/Gy+ZxV7jbtMFvpg="; 11 + hash = "sha256-x/VH6cRrJZ2t2iftBPC86FcgIwjRNzV11MwLG2y+Paw="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-NuK63ibb1t+HnSR/gCFS7HWVtfGLazVx2M+qxRNCR1I="; 14 + vendorHash = "sha256-FZ1CiR8Rj/sMoCnQm6ArGQfRTlvmD14EZDmufnlTSTk="; 15 15 16 16 ldflags = [ 17 17 "-s"
+6 -4
pkgs/applications/version-management/sourcehut/default.nix
··· 2 2 , callPackage 3 3 , recurseIntoAttrs 4 4 , nixosTests 5 + , config 5 6 }: 6 7 7 8 # To expose the *srht modules, they have to be a python module so we use `buildPythonModule` ··· 28 29 }; 29 30 }; 30 31 in 31 - with python.pkgs; recurseIntoAttrs { 32 + with python.pkgs; recurseIntoAttrs ({ 32 33 inherit python; 33 34 coresrht = toPythonApplication srht; 34 35 buildsrht = toPythonApplication buildsrht; 35 - # Added 2022-10-29 36 - dispatchsrht = throw "dispatch is deprecated. See https://sourcehut.org/blog/2022-08-01-dispatch-deprecation-plans/ for more information."; 37 36 gitsrht = toPythonApplication gitsrht; 38 37 hgsrht = toPythonApplication hgsrht; 39 38 hubsrht = toPythonApplication hubsrht; ··· 46 45 passthru.tests = { 47 46 nixos-sourcehut = nixosTests.sourcehut; 48 47 }; 49 - } 48 + } // lib.optionalAttrs config.allowAliases { 49 + # Added 2022-10-29 50 + dispatchsrht = throw "dispatch is deprecated. See https://sourcehut.org/blog/2022-08-01-dispatch-deprecation-plans/ for more information."; 51 + })
+172 -170
pkgs/applications/video/handbrake/default.nix
··· 25 25 , numactl 26 26 , writeText 27 27 # Processing, video codecs, containers 28 - , ffmpeg-full 28 + , ffmpeg_5-full 29 29 , nv-codec-headers 30 30 , libogg 31 31 , x264 ··· 34 34 , libtheora 35 35 , dav1d 36 36 , zimg 37 + , svt-av1 37 38 # Codecs, audio 38 39 , libopus 39 40 , lame ··· 84 85 }: 85 86 86 87 let 87 - version = "1.5.1"; 88 + version = "1.6.1"; 88 89 89 90 src = fetchFromGitHub { 90 91 owner = "HandBrake"; 91 92 repo = "HandBrake"; 92 93 rev = version; 93 - sha256 = "1kk11zl1mk37d4cvbc75gfndmma7vy3vkp4gmkyl92kiz6zadhyy"; 94 + sha256 = "sha256-0MJ1inMNA6s8l2S0wnpM2c7FxOoOHxs9u4E/rgKfjJo="; 94 95 }; 95 96 96 97 # Handbrake maintains a set of ffmpeg patches. In particular, these 97 98 # patches are required for subtitle timing to work correctly. See: 98 99 # https://github.com/HandBrake/HandBrake/issues/4029 99 - ffmpeg-version = "4.4.1"; 100 - ffmpeg-hb = (ffmpeg-full.override { withSdl2 = false; }).overrideAttrs (old: { 100 + ffmpeg-version = "5.1.1"; 101 + ffmpeg-hb = ffmpeg_5-full.overrideAttrs (old: { 101 102 version = ffmpeg-version; 102 103 src = fetchurl { 103 104 url = "https://www.ffmpeg.org/releases/ffmpeg-${ffmpeg-version}.tar.bz2"; 104 - hash = "sha256-j8nyCsXtlRFanihWR63Q7t1cwamKA5raFMEyRS+YrEI="; 105 + hash = "sha256-zQ4W+QNCEmbVzN3t97g7nldUrvS596fwbOnkyALwVFs="; 105 106 }; 106 - patches = old.patches or [] ++ [ 107 - "${src}/contrib/ffmpeg/A01-qsv-scale-fix-green-stripes.patch" 108 - "${src}/contrib/ffmpeg/A02-qsv-interpolation.patch" 109 - "${src}/contrib/ffmpeg/A03-qsv-dx11-ffmpeg44.patch" 110 - "${src}/contrib/ffmpeg/A04-configure-ensure-the-right-libmfx-version-is-used-wh.patch" 111 - "${src}/contrib/ffmpeg/A05-qsv-add-includedir-mfx-to-the-search-path-for-old-ve.patch" 112 - "${src}/contrib/ffmpeg/A06-qsv-load-user-plugin-for-MFX_VERSION-2.0.patch" 113 - "${src}/contrib/ffmpeg/A07-qsv-build-audio-related-code-when-MFX_VERSION-2.0.patch" 114 - "${src}/contrib/ffmpeg/A08-qsvenc-don-t-support-multi-frame-encode-when-MFX_VER.patch" 115 - "${src}/contrib/ffmpeg/A09-qsvenc-don-t-support-MFX_RATECONTROL_LA_EXT-when-MFX.patch" 116 - "${src}/contrib/ffmpeg/A10-qsv-don-t-support-OPAQUE-memory-when-MFX_VERSION-2.0.patch" 117 - "${src}/contrib/ffmpeg/A11-qsv-opaque-deinterlace.patch" 118 - "${src}/contrib/ffmpeg/A12-qsv-opaque-vpp.patch" 119 - "${src}/contrib/ffmpeg/A13-qsv-opaque-hwcontext_qsv.patch" 120 - "${src}/contrib/ffmpeg/A14-configure-check-mfxdefs.h-instead-of-mfxvp9.h-for-MF.patch" 121 - "${src}/contrib/ffmpeg/A15-configure-allow-user-to-build-FFmpeg-against-oneVPL.patch" 122 - "${src}/contrib/ffmpeg/A16-qsv-add-macro-QSV_ONEVPL-for-the-oneVPL-SDK.patch" 123 - "${src}/contrib/ffmpeg/A17-qsv-use-a-new-method-to-create-mfx-session-when-usin.patch" 124 - "${src}/contrib/ffmpeg/A18-qsv-new-method-hwcontext_qsv.patch" 125 - "${src}/contrib/ffmpeg/A19-qsv-fix-session-for-d3d11-device.patch" 126 - "${src}/contrib/ffmpeg/A20-mov-read-name-track-tag-written-by-movenc.patch" 127 - "${src}/contrib/ffmpeg/A21-movenc-write-3gpp-track-titl-tag.patch" 128 - "${src}/contrib/ffmpeg/A22-mov-read-3gpp-udta-tags.patch" 129 - "${src}/contrib/ffmpeg/A23-movenc-write-3gpp-track-names-tags-for-all-available.patch" 130 - "${src}/contrib/ffmpeg/A24-FFmpeg-devel-amfenc-Add-support-for-pict_type-field.patch" 131 - "${src}/contrib/ffmpeg/A25-dvdsubdec-fix-processing-of-partial-packets.patch" 132 - "${src}/contrib/ffmpeg/A26-ccaption_dec-return-number-of-bytes-used.patch" 133 - "${src}/contrib/ffmpeg/A27-dvdsubdec-return-number-of-bytes-used.patch" 134 - "${src}/contrib/ffmpeg/A28-dvdsubdec-use-pts-of-initial-packet.patch" 135 - "${src}/contrib/ffmpeg/A29-matroskaenc-aac-extradata-updated.patch" 136 - "${src}/contrib/ffmpeg/A30-ccaption_dec-fix-pts-in-real_time-mode.patch" 137 - "${src}/contrib/ffmpeg/A32-qsv-fix-decode-10bit-hdr.patch" 107 + patches = old.patches or [ ] ++ [ 108 + "${src}/contrib/ffmpeg/A01-qsv-libavfilter-qsvvpp-change-the-output-frame-s-width-a.patch" 109 + "${src}/contrib/ffmpeg/A02-qsv-configure-ensure-enable-libmfx-uses-libmfx-1.x.patch" 110 + "${src}/contrib/ffmpeg/A03-qsv-configure-fix-the-check-for-MFX_CODEC_VP9.patch" 111 + "${src}/contrib/ffmpeg/A04-qsv-remove-mfx-prefix-from-mfx-headers.patch" 112 + "${src}/contrib/ffmpeg/A05-qsv-load-user-plugin-for-MFX_VERSION-2.0.patch" 113 + "${src}/contrib/ffmpeg/A06-qsv-build-audio-related-code-when-MFX_VERSION-2.0.patch" 114 + "${src}/contrib/ffmpeg/A07-qsvenc-support-multi-frame-encode-when-MFX_VERSION-2.patch" 115 + "${src}/contrib/ffmpeg/A08-qsvenc-support-MFX_RATECONTROL_LA_EXT-when-MFX_VERSI.patch" 116 + "${src}/contrib/ffmpeg/A09-qsv-support-OPAQUE-memory-when-MFX_VERSION-2.0.patch" 117 + "${src}/contrib/ffmpeg/A10-qsv-configure-add-enable-libvpl-option.patch" 118 + "${src}/contrib/ffmpeg/A11-qsv-use-a-new-method-to-create-mfx-session-when-usin.patch" 119 + "${src}/contrib/ffmpeg/A12-qsv-fix-decode-10bit-hdr.patch" 120 + "${src}/contrib/ffmpeg/A13-mov-read-name-track-tag-written-by-movenc.patch" 121 + "${src}/contrib/ffmpeg/A14-movenc-write-3gpp-track-titl-tag.patch" 122 + "${src}/contrib/ffmpeg/A15-mov-read-3gpp-udta-tags.patch" 123 + "${src}/contrib/ffmpeg/A16-movenc-write-3gpp-track-names-tags-for-all-available.patch" 124 + "${src}/contrib/ffmpeg/A17-FFmpeg-devel-amfenc-Add-support-for-pict_type-field.patch" 125 + "${src}/contrib/ffmpeg/A18-dvdsubdec-fix-processing-of-partial-packets.patch" 126 + "${src}/contrib/ffmpeg/A19-ccaption_dec-return-number-of-bytes-used.patch" 127 + "${src}/contrib/ffmpeg/A20-dvdsubdec-return-number-of-bytes-used.patch" 128 + "${src}/contrib/ffmpeg/A21-dvdsubdec-use-pts-of-initial-packet.patch" 129 + "${src}/contrib/ffmpeg/A22-matroskaenc-aac-extradata-updated.patch" 130 + "${src}/contrib/ffmpeg/A23-ccaption_dec-fix-pts-in-real_time-mode.patch" 131 + "${src}/contrib/ffmpeg/A24-fix-eac3-dowmix.patch" 132 + "${src}/contrib/ffmpeg/A25-enable-truehd-pass.patch" 133 + "${src}/contrib/ffmpeg/A26-Update-the-min-version-to-1.4.23.0-for-AMF-SDK.patch" 134 + "${src}/contrib/ffmpeg/A27-avcodec-amfenc-Fixes-the-color-information-in-the-ou.patch" 135 + "${src}/contrib/ffmpeg/A28-avcodec-amfenc-HDR-metadata.patch" 136 + "${src}/contrib/ffmpeg/A30-svt-av1-backports.patch" 138 137 ]; 139 138 }); 140 139 ··· 151 150 inherit (lib) optional optionals optionalString versions; 152 151 153 152 in 154 - let self = stdenv.mkDerivation rec { 155 - pname = "handbrake"; 156 - inherit version src; 153 + let 154 + self = stdenv.mkDerivation rec { 155 + pname = "handbrake"; 156 + inherit version src; 157 157 158 - postPatch = '' 159 - install -Dm444 ${versionFile} ${versionFile.name} 158 + postPatch = '' 159 + install -Dm444 ${versionFile} ${versionFile.name} 160 160 161 - patchShebangs scripts 161 + patchShebangs scripts 162 162 163 - substituteInPlace libhb/hb.c \ 164 - --replace 'return hb_version;' 'return "${version}";' 163 + substituteInPlace libhb/hb.c \ 164 + --replace 'return hb_version;' 'return "${version}";' 165 165 166 - # Force using nixpkgs dependencies 167 - sed -i '/MODULES += contrib/d' make/include/main.defs 168 - sed -e 's/^[[:space:]]*\(meson\|ninja\|nasm\)[[:space:]]*= ToolProbe.*$//g' \ 169 - -e '/ ## Additional library and tool checks/,/ ## MinGW specific library and tool checks/d' \ 170 - -i make/configure.py 171 - '' + optionalString stdenv.isDarwin '' 172 - # Use the Nix-provided libxml2 instead of the patched version available on 173 - # the Handbrake website. 174 - substituteInPlace libhb/module.defs \ 175 - --replace '$(CONTRIB.build/)include/libxml2' ${libxml2.dev}/include/libxml2 166 + # Force using nixpkgs dependencies 167 + sed -i '/MODULES += contrib/d' make/include/main.defs 168 + sed -e 's/^[[:space:]]*\(meson\|ninja\|nasm\)[[:space:]]*= ToolProbe.*$//g' \ 169 + -e '/ ## Additional library and tool checks/,/ ## MinGW specific library and tool checks/d' \ 170 + -i make/configure.py 171 + '' + optionalString stdenv.isDarwin '' 172 + # Use the Nix-provided libxml2 instead of the patched version available on 173 + # the Handbrake website. 174 + substituteInPlace libhb/module.defs \ 175 + --replace '$(CONTRIB.build/)include/libxml2' ${libxml2.dev}/include/libxml2 176 176 177 - # Prevent the configure script from failing if xcodebuild isn't available, 178 - # which it isn't in the Nix context. (The actual build goes fine without 179 - # xcodebuild.) 180 - sed -e '/xcodebuild = ToolProbe/s/abort=.\+)/abort=False)/' -i make/configure.py 181 - '' + optionalString stdenv.isLinux '' 182 - # Use the Nix-provided libxml2 instead of the system-provided one. 183 - substituteInPlace libhb/module.defs \ 184 - --replace /usr/include/libxml2 ${libxml2.dev}/include/libxml2 185 - ''; 177 + # Prevent the configure script from failing if xcodebuild isn't available, 178 + # which it isn't in the Nix context. (The actual build goes fine without 179 + # xcodebuild.) 180 + sed -e '/xcodebuild = ToolProbe/s/abort=.\+)/abort=False)/' -i make/configure.py 181 + '' + optionalString stdenv.isLinux '' 182 + # Use the Nix-provided libxml2 instead of the system-provided one. 183 + substituteInPlace libhb/module.defs \ 184 + --replace /usr/include/libxml2 ${libxml2.dev}/include/libxml2 185 + ''; 186 186 187 - nativeBuildInputs = [ 188 - autoconf 189 - automake 190 - libtool 191 - m4 192 - pkg-config 193 - python3 194 - ] 195 - ++ optionals useGtk [ intltool wrapGAppsHook ]; 187 + nativeBuildInputs = [ 188 + autoconf 189 + automake 190 + libtool 191 + m4 192 + pkg-config 193 + python3 194 + ] 195 + ++ optionals useGtk [ intltool wrapGAppsHook ]; 196 196 197 - buildInputs = [ 198 - a52dec 199 - dav1d 200 - ffmpeg-hb 201 - fontconfig 202 - freetype 203 - fribidi 204 - harfbuzz 205 - jansson 206 - lame 207 - libass 208 - libbluray 209 - libdvdcss 210 - libdvdnav 211 - libdvdread 212 - libiconv 213 - libjpeg_turbo 214 - libogg 215 - libopus 216 - libsamplerate 217 - libtheora 218 - libvorbis 219 - libvpx 220 - libxml2 221 - speex 222 - x264 223 - x265 224 - xz 225 - zimg 226 - ] 227 - ++ optional (!stdenv.isDarwin) numactl 228 - ++ optionals useGtk [ 229 - dbus-glib 230 - glib 231 - gst_all_1.gst-plugins-base 232 - gst_all_1.gstreamer 233 - gtk3 234 - hicolor-icon-theme 235 - libappindicator-gtk3 236 - libgudev 237 - libnotify 238 - udev 239 - ] 240 - ++ optional useFdk fdk_aac 241 - ++ optionals stdenv.isDarwin [ AudioToolbox Foundation libobjc VideoToolbox ] 242 - # NOTE: 2018-12-27: Handbrake supports nv-codec-headers for Linux only, 243 - # look at ./make/configure.py search "enable_nvenc" 244 - ++ optional stdenv.isLinux nv-codec-headers; 197 + buildInputs = [ 198 + a52dec 199 + dav1d 200 + ffmpeg-hb 201 + fontconfig 202 + freetype 203 + fribidi 204 + harfbuzz 205 + jansson 206 + lame 207 + libass 208 + libbluray 209 + libdvdcss 210 + libdvdnav 211 + libdvdread 212 + libiconv 213 + libjpeg_turbo 214 + libogg 215 + libopus 216 + libsamplerate 217 + libtheora 218 + libvorbis 219 + libvpx 220 + libxml2 221 + speex 222 + svt-av1 223 + x264 224 + x265 225 + xz 226 + zimg 227 + ] 228 + ++ optional (!stdenv.isDarwin) numactl 229 + ++ optionals useGtk [ 230 + dbus-glib 231 + glib 232 + gst_all_1.gst-plugins-base 233 + gst_all_1.gstreamer 234 + gtk3 235 + hicolor-icon-theme 236 + libappindicator-gtk3 237 + libgudev 238 + libnotify 239 + udev 240 + ] 241 + ++ optional useFdk fdk_aac 242 + ++ optionals stdenv.isDarwin [ AudioToolbox Foundation libobjc VideoToolbox ] 243 + # NOTE: 2018-12-27: Handbrake supports nv-codec-headers for Linux only, 244 + # look at ./make/configure.py search "enable_nvenc" 245 + ++ optional stdenv.isLinux nv-codec-headers; 245 246 246 - configureFlags = [ 247 - "--disable-df-fetch" 248 - "--disable-df-verify" 249 - "--disable-gtk-update-checks" 250 - ] 251 - ++ optional (!useGtk) "--disable-gtk" 252 - ++ optional useFdk "--enable-fdk-aac" 253 - ++ optional stdenv.isDarwin "--disable-xcode" 254 - ++ optional stdenv.hostPlatform.isx86 "--harden"; 247 + configureFlags = [ 248 + "--disable-df-fetch" 249 + "--disable-df-verify" 250 + "--disable-gtk-update-checks" 251 + ] 252 + ++ optional (!useGtk) "--disable-gtk" 253 + ++ optional useFdk "--enable-fdk-aac" 254 + ++ optional stdenv.isDarwin "--disable-xcode" 255 + ++ optional stdenv.hostPlatform.isx86 "--harden"; 256 + 257 + # NOTE: 2018-12-27: Check NixOS HandBrake test if changing 258 + NIX_LDFLAGS = [ "-lx265" ]; 255 259 256 - # NOTE: 2018-12-27: Check NixOS HandBrake test if changing 257 - NIX_LDFLAGS = [ "-lx265" ]; 260 + makeFlags = [ "--directory=build" ]; 258 261 259 - makeFlags = [ "--directory=build" ]; 262 + passthru.tests = { 263 + basic-conversion = 264 + let 265 + # Big Buck Bunny example, licensed under CC Attribution 3.0. 266 + testMkv = fetchurl { 267 + url = "https://github.com/Matroska-Org/matroska-test-files/blob/cf0792be144ac470c4b8052cfe19bb691993e3a2/test_files/test1.mkv?raw=true"; 268 + sha256 = "1hfxbbgxwfkzv85pvpvx55a72qsd0hxjbm9hkl5r3590zw4s75h9"; 269 + }; 270 + in 271 + runCommand "${pname}-${version}-basic-conversion" { nativeBuildInputs = [ self ]; } '' 272 + mkdir -p $out 273 + cd $out 274 + HandBrakeCLI -i ${testMkv} -o test.mp4 -e x264 -q 20 -B 160 275 + test -e test.mp4 276 + HandBrakeCLI -i ${testMkv} -o test.mkv -e x264 -q 20 -B 160 277 + test -e test.mkv 278 + ''; 279 + version = testers.testVersion { package = self; command = "HandBrakeCLI --version"; }; 280 + }; 260 281 261 - passthru.tests = { 262 - basic-conversion = 263 - let 264 - # Big Buck Bunny example, licensed under CC Attribution 3.0. 265 - testMkv = fetchurl { 266 - url = "https://github.com/Matroska-Org/matroska-test-files/blob/cf0792be144ac470c4b8052cfe19bb691993e3a2/test_files/test1.mkv?raw=true"; 267 - sha256 = "1hfxbbgxwfkzv85pvpvx55a72qsd0hxjbm9hkl5r3590zw4s75h9"; 268 - }; 269 - in 270 - runCommand "${pname}-${version}-basic-conversion" { nativeBuildInputs = [ self ]; } '' 271 - mkdir -p $out 272 - cd $out 273 - HandBrakeCLI -i ${testMkv} -o test.mp4 -e x264 -q 20 -B 160 274 - test -e test.mp4 275 - HandBrakeCLI -i ${testMkv} -o test.mkv -e x264 -q 20 -B 160 276 - test -e test.mkv 282 + meta = with lib; { 283 + homepage = "https://handbrake.fr/"; 284 + description = "A tool for converting video files and ripping DVDs"; 285 + longDescription = '' 286 + Tool for converting and remuxing video files 287 + into selection of modern and widely supported codecs 288 + and containers. Very versatile and customizable. 289 + Package provides: 290 + CLI - `HandbrakeCLI` 291 + GTK GUI - `ghb` 277 292 ''; 278 - version = testers.testVersion { package = self; command = "HandBrakeCLI --version"; }; 279 - }; 280 - 281 - meta = with lib; { 282 - homepage = "https://handbrake.fr/"; 283 - description = "A tool for converting video files and ripping DVDs"; 284 - longDescription = '' 285 - Tool for converting and remuxing video files 286 - into selection of modern and widely supported codecs 287 - and containers. Very versatile and customizable. 288 - Package provides: 289 - CLI - `HandbrakeCLI` 290 - GTK GUI - `ghb` 291 - ''; 292 - license = licenses.gpl2Only; 293 - maintainers = with maintainers; [ Anton-Latukha wmertens ]; 294 - platforms = with platforms; unix; 295 - broken = stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "10.13"; 293 + license = licenses.gpl2Only; 294 + maintainers = with maintainers; [ Anton-Latukha wmertens ]; 295 + platforms = with platforms; unix; 296 + broken = stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "10.13"; 297 + }; 296 298 }; 297 - }; 298 - in self 299 + in 300 + self
+2 -1
pkgs/build-support/build-graalvm-native-image/default.nix
··· 10 10 # except in special cases. In most cases, use extraNativeBuildArgs instead 11 11 , nativeImageBuildArgs ? [ 12 12 "-jar" jar 13 - "-H:CLibraryPath=${lib.getLib graalvm}/lib" 14 13 (lib.optionalString stdenv.isDarwin "-H:-CheckToolchain") 15 14 "-H:Name=${executable}" 16 15 "--verbose" ··· 49 48 50 49 runHook postInstall 51 50 ''; 51 + 52 + disallowedReferences = [ graalvmDrv ]; 52 53 53 54 meta = { 54 55 # default to graalvm's platforms
+3 -3
pkgs/data/documentation/scheme-manpages/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "scheme-manpages"; 5 - version = "unstable-2022-07-04"; 5 + version = "unstable-2023-02-06"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "schemedoc"; 9 9 repo = "manpages"; 10 - rev = "0b95de112857b185b83141ac9324fb0e786c56df"; 11 - sha256 = "sha256-HWkZJd4t7gsbbSGiQ92Lav9EMBPMLXmXFT6HVfyFLSI="; 10 + rev = "ccaa76761a1b100e99287c120196bd5f32d4a403"; 11 + hash = "sha256-RL/94dQiZJ60cXHQ9r4P3hRBqe55oUissCmSp4XLM+o="; 12 12 }; 13 13 14 14 dontBuild = true;
+8 -3
pkgs/data/fonts/iosevka/default.nix
··· 1 1 { stdenv 2 2 , lib 3 - , pkgs 4 3 , buildNpmPackage 5 4 , fetchFromGitHub 6 - , nodejs 5 + , darwin 7 6 , remarshal 8 7 , ttfautohint-nox 9 8 # Custom font set options. ··· 67 66 68 67 npmDepsHash = "sha256-Ncf07ggyOnz/2SpgdmaYS2X/8Bad+J2sz8Yyx9Iri3E="; 69 68 70 - nativeBuildInputs = [ nodejs remarshal ttfautohint-nox ]; 69 + nativeBuildInputs = [ 70 + remarshal 71 + ttfautohint-nox 72 + ] ++ lib.optionals stdenv.isDarwin [ 73 + # libtool 74 + darwin.cctools 75 + ]; 71 76 72 77 buildPlan = 73 78 if builtins.isAttrs privateBuildPlan then
+18
pkgs/desktops/deepin/default.nix
··· 3 3 packages = self: 4 4 let 5 5 inherit (self) callPackage; 6 + 7 + replaceAll = x: y: '' 8 + echo Replacing "${x}" to "${y}": 9 + for file in $(grep -rl "${x}"); do 10 + echo -- $file 11 + substituteInPlace $file \ 12 + --replace "${x}" "${y}" 13 + done 14 + ''; 6 15 in { 7 16 #### LIBRARIES 8 17 dtkcommon = callPackage ./library/dtkcommon { }; ··· 29 38 deepin-image-viewer = callPackage ./apps/deepin-image-viewer { }; 30 39 deepin-picker = callPackage ./apps/deepin-picker { }; 31 40 deepin-terminal = callPackage ./apps/deepin-terminal { }; 41 + 42 + #### Go Packages 43 + go-lib = callPackage ./go-package/go-lib { inherit replaceAll; }; 44 + go-gir-generator = callPackage ./go-package/go-gir-generator { }; 45 + go-dbus-factory = callPackage ./go-package/go-dbus-factory { }; 46 + deepin-pw-check = callPackage ./go-package/deepin-pw-check { }; 47 + 48 + #### TOOLS 49 + deepin-gettext-tools = callPackage ./tools/deepin-gettext-tools { }; 32 50 33 51 #### ARTWORK 34 52 dde-account-faces = callPackage ./artwork/dde-account-faces { };
+84
pkgs/desktops/deepin/go-package/deepin-pw-check/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , buildGoPackage 5 + , pkg-config 6 + , deepin-gettext-tools 7 + , go-dbus-factory 8 + , go-gir-generator 9 + , go-lib 10 + , gtk3 11 + , glib 12 + , libxcrypt 13 + , gettext 14 + , iniparser 15 + , cracklib 16 + , linux-pam 17 + }: 18 + 19 + buildGoPackage rec { 20 + pname = "deepin-pw-check"; 21 + version = "5.1.18"; 22 + 23 + goPackagePath = "github.com/linuxdeepin/deepin-pw-check"; 24 + 25 + src = fetchFromGitHub { 26 + owner = "linuxdeepin"; 27 + repo = pname; 28 + rev = version; 29 + sha256 = "sha256-v1Z4ArkrejjOCO1vD+BhfEl9pTfuvKgLM6Ont0IUCQk="; 30 + }; 31 + 32 + goDeps = ./deps.nix; 33 + 34 + nativeBuildInputs = [ 35 + pkg-config 36 + gettext 37 + deepin-gettext-tools 38 + ]; 39 + 40 + buildInputs = [ 41 + go-dbus-factory 42 + go-gir-generator 43 + go-lib 44 + glib 45 + libxcrypt 46 + gtk3 47 + iniparser 48 + cracklib 49 + linux-pam 50 + ]; 51 + 52 + postPatch = '' 53 + sed -i 's|iniparser/||' */*.c 54 + substituteInPlace misc/pkgconfig/libdeepin_pw_check.pc \ 55 + --replace "/usr" "$out" 56 + substituteInPlace misc/system-services/com.deepin.daemon.PasswdConf.service \ 57 + --replace "/usr/lib/deepin-pw-check/deepin-pw-check" "$out/lib/deepin-pw-check/deepin-pw-check" 58 + ''; 59 + 60 + buildPhase = '' 61 + runHook preBuild 62 + GOPATH="$GOPATH:${go-dbus-factory}/share/gocode" 63 + GOPATH="$GOPATH:${go-gir-generator}/share/gocode" 64 + GOPATH="$GOPATH:${go-lib}/share/gocode" 65 + make -C go/src/${goPackagePath} 66 + runHook postBuild 67 + ''; 68 + 69 + installPhase = '' 70 + runHook preInstall 71 + make install PREFIX="$out" PKG_FILE_DIR=$out/lib/pkg-config PAM_MODULE_DIR=$out/etc/pam.d -C go/src/${goPackagePath} 72 + # https://github.com/linuxdeepin/deepin-pw-check/blob/d5597482678a489077a506a87f06d2b6c4e7e4ed/debian/rules#L21 73 + ln -s $out/lib/libdeepin_pw_check.so $out/lib/libdeepin_pw_check.so.1 74 + runHook postInstall 75 + ''; 76 + 77 + meta = with lib; { 78 + description = "Tool to verify the validity of the password"; 79 + homepage = "https://github.com/linuxdeepin/deepin-pw-check"; 80 + license = licenses.gpl3Plus; 81 + platforms = platforms.linux; 82 + maintainers = teams.deepin.members; 83 + }; 84 + }
+75
pkgs/desktops/deepin/go-package/deepin-pw-check/deps.nix
··· 1 + [ 2 + { 3 + goPackagePath = "github.com/fsnotify/fsnotify"; 4 + fetch = { 5 + type = "git"; 6 + url = "https://github.com/fsnotify/fsnotify"; 7 + rev = "v1.5.1"; 8 + sha256 = "sha256-B8kZ8yiWgallT7R2j1kSRJcJkSGFVf9ise+TpXa+7XY="; 9 + }; 10 + } 11 + { 12 + goPackagePath = "github.com/godbus/dbus"; 13 + fetch = { 14 + type = "git"; 15 + url = "https://github.com/godbus/dbus"; 16 + rev = "v5.1.0"; 17 + sha256 = "sha256-JSPtmkGEStBEVrKGszeLCb7P38SzQKgMiDC3eDppXs0="; 18 + }; 19 + } 20 + { 21 + goPackagePath = "github.com/stretchr/testify"; 22 + fetch = { 23 + type = "git"; 24 + url = "https://github.com/stretchr/testify"; 25 + rev = "v1.7.1"; 26 + sha256 = "sha256-disUVIHiIDSj/go3APtJH8awSl8QwKRRFLKI7LRnl0w="; 27 + }; 28 + } 29 + { 30 + goPackagePath = "golang.org/x/sys"; 31 + fetch = { 32 + type = "git"; 33 + url = "https://github.com/golang/sys"; 34 + rev = "289d7a0edf712062d9f1484b07bdf2383f48802f"; 35 + sha256 = "sha256-AzS/J3OocI7mA0xsIfQzyskNKVija7F2yvuts+EFJBs="; 36 + }; 37 + } 38 + { 39 + goPackagePath = "gopkg.in/yaml.v3"; 40 + fetch = { 41 + type = "git"; 42 + url = "https://github.com/go-yaml/yaml"; 43 + rev = "496545a6307b2a7d7a710fd516e5e16e8ab62dbc"; 44 + sha256 = "sha256-j8yDji+vqsitpRZirpb4w/Em8nstgf28wpwkcrOlxBk="; 45 + }; 46 + } 47 + { 48 + goPackagePath = "github.com/davecgh/go-spew"; 49 + fetch = { 50 + type = "git"; 51 + url = "https://github.com/davecgh/go-spew"; 52 + rev = "v1.1.1"; 53 + sha256 = "sha256-nhzSUrE1fCkN0+RL04N4h8jWmRFPPPWbCuDc7Ss0akI="; 54 + }; 55 + } 56 + { 57 + goPackagePath = "github.com/stretchr/objx"; 58 + fetch = { 59 + type = "git"; 60 + url = "https://github.com/stretchr/objx"; 61 + rev = "v0.3.0"; 62 + sha256 = "sha256-T753/EiD5Cpk6H2JFhd+s1gFvpNptG2XlEHxZF6dQaw="; 63 + }; 64 + } 65 + { 66 + goPackagePath = "github.com/pmezard/go-difflib"; 67 + fetch = { 68 + type = "git"; 69 + url = "https://github.com/pmezard/go-difflib"; 70 + rev = "5d4384ee4fb2527b0a1256a821ebfc92f91efefc"; 71 + sha256 = "sha256-XA4Oj1gdmdV/F/+8kMI+DBxKPthZ768hbKsO3d9Gx90="; 72 + }; 73 + } 74 + ] 75 +
+26
pkgs/desktops/deepin/go-package/go-dbus-factory/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + }: 5 + 6 + stdenv.mkDerivation rec { 7 + pname = "go-dbus-factory"; 8 + version = "1.10.23"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "linuxdeepin"; 12 + repo = pname; 13 + rev = version; 14 + sha256 = "sha256-6u9Bpoa80j/K1MipncfM378/qmSSMZAlx88jE4hHYBk="; 15 + }; 16 + 17 + makeFlags = [ "PREFIX=${placeholder "out"}" ]; 18 + 19 + meta = with lib; { 20 + description = "Generate go binding of D-Bus interfaces"; 21 + homepage = "https://github.com/linuxdeepin/go-dbus-factory"; 22 + license = licenses.gpl3Plus; 23 + platforms = platforms.linux; 24 + maintainers = teams.deepin.members; 25 + }; 26 + }
+43
pkgs/desktops/deepin/go-package/go-gir-generator/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , go 5 + , pkg-config 6 + , libgudev 7 + , gobject-introspection 8 + }: 9 + 10 + stdenv.mkDerivation rec { 11 + pname = "go-gir-generator"; 12 + version = "2.2.0"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "linuxdeepin"; 16 + repo = pname; 17 + rev = version; 18 + sha256 = "sha256-lFseui/M3+TyfYoa+rnS0cGhN6gdLrgpzgOwqzYcyPk="; 19 + }; 20 + 21 + nativeBuildInputs = [ 22 + pkg-config 23 + go 24 + ]; 25 + 26 + buildInputs = [ 27 + libgudev 28 + gobject-introspection 29 + ]; 30 + 31 + makeFlags = [ 32 + "PREFIX=${placeholder "out"}" 33 + "GOCACHE=$(TMPDIR)/go-cache" 34 + ]; 35 + 36 + meta = with lib; { 37 + description = "Generate static golang bindings for GObject"; 38 + homepage = "https://github.com/linuxdeepin/go-gir-generator"; 39 + license = licenses.gpl3Plus; 40 + platforms = platforms.linux; 41 + maintainers = teams.deepin.members; 42 + }; 43 + }
+45
pkgs/desktops/deepin/go-package/go-lib/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , fetchpatch 5 + , replaceAll 6 + , runtimeShell 7 + }: 8 + 9 + stdenv.mkDerivation rec { 10 + pname = "go-lib"; 11 + version = "5.8.27"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "linuxdeepin"; 15 + repo = pname; 16 + rev = version; 17 + sha256 = "sha256-ZV5zWu7UvNKVcVo79/iKMhF4H09rGyDCvEL61H05lZc="; 18 + }; 19 + 20 + patches = [ 21 + (fetchpatch { 22 + name = "fix_IsDir_for_symlink"; 23 + url = "https://github.com/linuxdeepin/go-lib/commit/79239904679dc70a11e1ac8e65670afcfdd7c122.patch"; 24 + sha256 = "sha256-RsN9hK26i/W6P/+e1l1spCLdlgIEWTehhIW6POBOvW4="; 25 + }) 26 + ]; 27 + 28 + postPatch = replaceAll "/bin/sh" "${runtimeShell}"; 29 + 30 + installPhase = '' 31 + runHook preInstall 32 + mkdir -p $out/share/gocode/src/github.com/linuxdeepin/go-lib 33 + cp -a * $out/share/gocode/src/github.com/linuxdeepin/go-lib 34 + rm -r $out/share/gocode/src/github.com/linuxdeepin/go-lib/debian 35 + runHook postInstall 36 + ''; 37 + 38 + meta = with lib; { 39 + description = "Library containing many useful go routines for things such as glib, gettext, archive, graphic, etc"; 40 + homepage = "https://github.com/linuxdeepin/go-lib"; 41 + license = licenses.gpl3Plus; 42 + platforms = platforms.linux; 43 + maintainers = teams.deepin.members; 44 + }; 45 + }
+50
pkgs/desktops/deepin/tools/deepin-gettext-tools/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , gettext 5 + , python3Packages 6 + , perlPackages 7 + }: 8 + 9 + stdenv.mkDerivation rec { 10 + pname = "deepin-gettext-tools"; 11 + version = "1.0.10"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "linuxdeepin"; 15 + repo = pname; 16 + rev = version; 17 + sha256 = "sha256-5Dd2QU6JYwuktusssNDfA7IHa6HbFcWo9sZf5PS7NtI="; 18 + }; 19 + 20 + postPatch = '' 21 + substituteInPlace src/generate_mo.py --replace "sudo cp" "cp" 22 + ''; 23 + 24 + nativeBuildInputs = [ python3Packages.wrapPython ]; 25 + 26 + buildInputs = [ 27 + gettext 28 + perlPackages.perl 29 + perlPackages.ConfigTiny 30 + perlPackages.XMLLibXML 31 + ]; 32 + 33 + makeFlags = [ 34 + "PREFIX=${placeholder "out"}" 35 + ]; 36 + 37 + postFixup = '' 38 + wrapPythonPrograms 39 + wrapPythonProgramsIn "$out/lib/${pname}" 40 + wrapProgram $out/bin/deepin-desktop-ts-convert --set PERL5LIB $PERL5LIB 41 + ''; 42 + 43 + meta = with lib; { 44 + description = "Translation file processing utils for DDE development"; 45 + homepage = "https://github.com/linuxdeepin/deepin-gettext-tools"; 46 + license = licenses.gpl2Plus; 47 + platforms = platforms.linux; 48 + maintainers = teams.deepin.members; 49 + }; 50 + }
+41 -30
pkgs/development/compilers/graalvm/community-edition/mkGraal.nix
··· 28 28 # Path for the sources file that will be used 29 29 # See `update.nix` file for a description on how this file works 30 30 , sourcesPath ? ./. + "/graalvm${javaVersion}-ce-sources.json" 31 - # Use musl instead of glibc to allow true static builds in GraalVM's 32 - # Native Image (i.e.: `--static --libc=musl`). This will cause glibc static 33 - # builds to fail, so it should be used with care 34 - , useMusl ? false 35 31 }: 36 32 37 33 { stdenv ··· 66 62 , gtk3 67 63 , jq 68 64 , writeShellScript 65 + # Use musl instead of glibc to allow true static builds in GraalVM's 66 + # Native Image (i.e.: `--static --libc=musl`). This will cause glibc static 67 + # builds to fail, so it should be used with care 68 + , useMusl ? false 69 + # Extra libraries to be included in native-image using '-H:CLibraryPath' flag 70 + , extraCLibs ? [ ] 69 71 }: 70 72 71 73 assert useMusl -> stdenv.isLinux; ··· 76 78 name = "graalvm${javaVersion}-ce"; 77 79 sources = builtins.fromJSON (builtins.readFile sourcesPath); 78 80 81 + cLibs = [ glibc zlib.static ] 82 + ++ lib.optionals (!useMusl) [ glibc.static ] 83 + ++ lib.optionals useMusl [ musl ] 84 + ++ extraCLibs; 85 + 79 86 runtimeLibraryPath = lib.makeLibraryPath 80 87 ([ cups ] ++ lib.optionals gtkSupport [ cairo glib gtk3 ]); 81 88 ··· 118 125 ++ lib.optional stdenv.hostPlatform.isLinux autoPatchelfHook; 119 126 120 127 unpackPhase = '' 128 + runHook preUnpack 129 + 121 130 unpack_jar() { 122 131 jar=$1 123 132 unzip -q -o $jar -d $out ··· 164 173 for jar in "''${arr[@]:1}"; do 165 174 unpack_jar "$jar" 166 175 done 167 - ''; 168 176 169 - outputs = [ "out" "lib" ]; 177 + runHook postUnpack 178 + ''; 170 179 171 180 installPhase = '' 172 - # ensure that $lib/lib exists to avoid breaking builds 173 - mkdir -p "$lib/lib" 181 + runHook preInstall 182 + 174 183 # jni.h expects jni_md.h to be in the header search path. 175 184 ln -s $out/include/linux/*_md.h $out/include/ 176 185 ··· 181 190 if [ -z "\''${JAVA_HOME-}" ]; then export JAVA_HOME=$out; fi 182 191 EOF 183 192 ${ 184 - lib.optionalString (stdenv.isLinux) '' 185 - # provide libraries needed for static compilation 186 - ${ 187 - if useMusl then 188 - ''for f in "${musl.stdenv.cc.cc}/lib/"* "${musl}/lib/"* "${zlib.static}/lib/"*; do'' 189 - else 190 - ''for f in "${glibc}/lib/"* "${glibc.static}/lib/"* "${zlib.static}/lib/"*; do'' 191 - } 192 - ln -s "$f" "$out/lib/svm/clibraries/${platform.arch}/$(basename $f)" 193 - done 194 - 195 - # add those libraries to $lib output too, so we can use them with 196 - # `native-image -H:CLibraryPath=''${lib.getLib graalvmXX-ce}/lib ...` and reduce 197 - # closure size by not depending on GraalVM $out (that is much bigger) 198 - # we always use glibc here, since musl is only supported for static compilation 199 - for f in "${glibc}/lib/"*; do 200 - ln -s "$f" "$lib/lib/$(basename $f)" 201 - done 193 + # Wrap native-image binary to pass -H:CLibraryPath flag and find glibc 194 + lib.optionalString (withNativeImageSvm && stdenv.isLinux) '' 195 + wrapProgram $out/bin/native-image \ 196 + ${lib.concatStringsSep " " 197 + (map (l: "--add-flags '-H:CLibraryPath=${l}/lib'") cLibs)} 202 198 '' 203 199 } 200 + 201 + runHook postInstall 204 202 ''; 205 203 206 204 dontStrip = true; ··· 240 238 241 239 doInstallCheck = true; 242 240 installCheckPhase = '' 241 + runHook preInstallCheck 242 + 243 243 echo ${ 244 244 lib.escapeShellArg '' 245 245 public class HelloWorld { ··· 252 252 $out/bin/javac HelloWorld.java 253 253 254 254 # run on JVM with Graal Compiler 255 + echo "Testing GraalVM" 255 256 $out/bin/java -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseJVMCICompiler HelloWorld | fgrep 'Hello World' 256 257 258 + ${ 259 + lib.optionalString withNativeImageSvm '' 260 + echo "Ahead-Of-Time compilation" 261 + $out/bin/native-image -H:-CheckToolchain -H:+ReportExceptionStackTraces HelloWorld 262 + ./helloworld | fgrep 'Hello World' 263 + '' 264 + } 265 + 257 266 ${# --static flag doesn't work for darwin 258 267 lib.optionalString (withNativeImageSvm && stdenv.isLinux && !useMusl) '' 259 - echo "Ahead-Of-Time compilation" 260 - $out/bin/native-image -H:-CheckToolchain -H:+ReportExceptionStackTraces --no-server HelloWorld 268 + echo "Ahead-Of-Time compilation with -H:+StaticExecutableWithDynamicLibC" 269 + $out/bin/native-image -H:+StaticExecutableWithDynamicLibC HelloWorld 261 270 ./helloworld | fgrep 'Hello World' 262 271 263 272 echo "Ahead-Of-Time compilation with --static" 264 - $out/bin/native-image --no-server --static HelloWorld 273 + $out/bin/native-image --static HelloWorld 265 274 ./helloworld | fgrep 'Hello World' 266 275 '' 267 276 } ··· 269 278 ${# --static flag doesn't work for darwin 270 279 lib.optionalString (withNativeImageSvm && stdenv.isLinux && useMusl) '' 271 280 echo "Ahead-Of-Time compilation with --static and --libc=musl" 272 - $out/bin/native-image --no-server --libc=musl --static HelloWorld 281 + $out/bin/native-image --libc=musl --static HelloWorld 273 282 ./helloworld | fgrep 'Hello World' 274 283 '' 275 284 } ··· 302 311 echo '1 + 1' | $out/bin/irb 303 312 '' 304 313 } 314 + 315 + runHook postInstallCheck 305 316 ''; 306 317 307 318 passthru = {
+2 -2
pkgs/development/compilers/kotlin/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "kotlin"; 5 - version = "1.8.0"; 5 + version = "1.8.10"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/JetBrains/kotlin/releases/download/v${version}/kotlin-compiler-${version}.zip"; 9 - hash = "sha256-C7lBn6yYMqVqOhnK0oL48tbxI30tRn3I3+m9SipDxC4="; 9 + hash = "sha256-TD+nvBu57zBYojGdi8w7cZYHn4jpL9zY0wSkb0trV4c="; 10 10 }; 11 11 12 12 propagatedBuildInputs = [ jre ] ;
-24
pkgs/development/haskell-modules/patches/amazonka-Allow-http-client-0.6.patch
··· 1 - From 657b70d174fe5cb61e56cb8b9c5e57f1ec216f2b Mon Sep 17 00:00:00 2001 2 - From: Mikhail Glushenkov <mikhail.glushenkov@gmail.com> 3 - Date: Wed, 10 Apr 2019 17:42:57 +0100 4 - Subject: [PATCH] Allow http-client 0.6.*. 5 - 6 - Changelog doesn't list any silently breaking semantic changes. 7 - --- 8 - amazonka/amazonka.cabal | 2 +- 9 - core/amazonka-core.cabal | 2 +- 10 - 2 files changed, 2 insertions(+), 2 deletions(-) 11 - 12 - diff --git a/amazonka/amazonka.cabal b/amazonka/amazonka.cabal 13 - index e86713f11c..81c4cb7e48 100644 14 - --- a/amazonka.cabal 15 - +++ b/amazonka.cabal 16 - @@ -67,7 +67,7 @@ library 17 - , conduit-extra >= 1.1 18 - , directory >= 1.2 19 - , exceptions >= 0.6 20 - - , http-client >= 0.4 && < 0.6 21 - + , http-client >= 0.4 && < 0.7 22 - , http-conduit >= 2.1.7 && < 3 23 - , http-types >= 0.8 24 - , ini >= 0.3.5
-26
pkgs/development/haskell-modules/patches/amazonka-core-Allow-http-client-0.6.patch
··· 1 - From 657b70d174fe5cb61e56cb8b9c5e57f1ec216f2b Mon Sep 17 00:00:00 2001 2 - From: Mikhail Glushenkov <mikhail.glushenkov@gmail.com> 3 - Date: Wed, 10 Apr 2019 17:42:57 +0100 4 - Subject: [PATCH] Allow http-client 0.6.*. 5 - 6 - Changelog doesn't list any silently breaking semantic changes. 7 - --- 8 - amazonka/amazonka.cabal | 2 +- 9 - core/amazonka-core.cabal | 2 +- 10 - 2 files changed, 2 insertions(+), 2 deletions(-) 11 - 12 - diff --git a/core/amazonka-core.cabal b/core/amazonka-core.cabal 13 - index 9796e007cf..eccb24e5bd 100644 14 - --- a/amazonka-core.cabal 15 - +++ b/amazonka-core.cabal 16 - @@ -90,7 +90,7 @@ library 17 - , deepseq >= 1.4 18 - , exceptions >= 0.6 19 - , hashable >= 1.2 20 - - , http-client >= 0.4 && < 0.6 21 - + , http-client >= 0.4 && < 0.7 22 - , http-conduit >= 2.1.4 && < 3 23 - , http-types >= 0.8 && (<0.11 || >=0.12) 24 - , lens >= 4.4 25 - -- 26 - 2.23.0
-333
pkgs/development/haskell-modules/patches/darcs-2.14.2-Compile-against-GHC-8.8.patch
··· 1 - From 2490fa65eeba52699a7c0e303aa5cb9b78c2b1cf Mon Sep 17 00:00:00 2001 2 - From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= <mail@nh2.me> 3 - Date: Fri, 17 Apr 2020 20:49:23 +0200 4 - Subject: [PATCH] Compile against GHC 8.8 5 - 6 - --- 7 - Setup.hs | 15 --------------- 8 - src/Darcs/Patch/Depends.hs | 2 +- 9 - src/Darcs/Patch/Match.hs | 12 ++++++------ 10 - src/Darcs/Patch/PatchInfoAnd.hs | 2 +- 11 - src/Darcs/Patch/Prim/V1/Apply.hs | 6 +++--- 12 - src/Darcs/Patch/Prim/V1/Commute.hs | 1 + 13 - src/Darcs/Patch/ReadMonads.hs | 1 + 14 - src/Darcs/Patch/V1/Commute.hs | 1 + 15 - src/Darcs/Repository/Diff.hs | 2 +- 16 - src/Darcs/Repository/Match.hs | 2 +- 17 - src/Darcs/Util/Tree/Monad.hs | 4 ++-- 18 - 12 files changed, 30 insertions(+), 42 deletions(-) 19 - 20 - diff --git a/Setup.hs b/Setup.hs 21 - index f5cc3e8..05caac4 100644 22 - --- a/Setup.hs 23 - +++ b/Setup.hs 24 - @@ -75,21 +75,6 @@ 25 - postInst = \ _ flags pkg lbi -> 26 - installManpage pkg lbi (fromFlag $ installVerbosity flags) NoCopyDest, 27 - 28 - - sDistHook = \ pkg lbi hooks flags -> do 29 - - let pkgVer = packageVersion pkg 30 - - verb = fromFlag $ sDistVerbosity flags 31 - - x <- versionPatches verb pkgVer 32 - - y <- context verb 33 - - rewriteFileEx silent "release/distributed-version" $ show x 34 - - rewriteFileEx silent "release/distributed-context" $ show y 35 - - putStrLn "about to hand over" 36 - - let pkg' = pkg { library = sanity (library pkg) } 37 - - sanity (Just lib) = Just $ lib { libBuildInfo = sanity' $ libBuildInfo lib } 38 - - sanity _ = error "eh" 39 - - sanity' bi = bi { otherModules = [ m | m <- otherModules bi, toFilePath m /= "Version" ] } 40 - - 41 - - sDistHook simpleUserHooks pkg' lbi hooks flags 42 - - , 43 - postConf = \_ _ _ _ -> return () --- Usually this checked for external C 44 - --- dependencies, but we already have performed such 45 - --- check in the confHook 46 - --- a/darcs.cabal 1970-01-01 01:00:01.000000000 +0100 47 - +++ b/darcs.cabal 2020-04-18 10:26:07.605129733 +0200 48 - @@ -1,6 +1,5 @@ 49 - Name: darcs 50 - version: 2.14.2 51 - -x-revision: 1 52 - License: GPL-2 53 - License-file: COPYING 54 - Author: David Roundy <droundy@darcs.net>, <darcs-devel@darcs.net> 55 - @@ -75,7 +74,7 @@ 56 - description: Use libcurl for HTTP support. 57 - 58 - -- in future this could extend to any other external libraries, 59 - --- e.g. libiconv 60 - +-- e.g. libiconv 61 - flag pkgconfig 62 - description: Use pkgconfig to configure libcurl 63 - default: False 64 - @@ -113,7 +112,7 @@ 65 - -- ---------------------------------------------------------------------- 66 - 67 - custom-setup 68 - - setup-depends: base >= 4.9 && < 4.13, 69 - + setup-depends: base >= 4.9 && <5, 70 - Cabal >= 1.24, 71 - process >= 1.2.3.0 && < 1.7, 72 - filepath >= 1.4.1 && < 1.5.0.0, 73 - @@ -381,7 +380,7 @@ 74 - else 75 - build-depends: unix >= 2.7.1.0 && < 2.8 76 - 77 - - build-depends: base >= 4.9 && < 4.13, 78 - + build-depends: base >= 4.9 && <5, 79 - stm >= 2.1 && < 2.6, 80 - binary >= 0.5 && < 0.10, 81 - containers >= 0.5.6.2 && < 0.7, 82 - @@ -402,19 +401,19 @@ 83 - tar >= 0.5 && < 0.6, 84 - data-ordlist == 0.4.*, 85 - attoparsec >= 0.13.0.1 && < 0.14, 86 - - zip-archive >= 0.3 && < 0.5, 87 - + zip-archive >= 0.3 && <1, 88 - async >= 2.0.2 && < 2.3, 89 - - sandi >= 0.4 && < 0.6, 90 - + sandi >= 0.4 && <1, 91 - unix-compat >= 0.4.2 && < 0.6, 92 - bytestring >= 0.10.6 && < 0.11, 93 - old-time >= 1.1.0.3 && < 1.2, 94 - time >= 1.5.0.1 && < 1.10, 95 - - text >= 1.2.1.3 && < 1.3, 96 - + text >= 1.2.1.3 && <2, 97 - directory >= 1.2.6.2 && < 1.4, 98 - process >= 1.2.3.0 && < 1.7, 99 - array >= 0.5.1.0 && < 0.6, 100 - random >= 1.1 && < 1.2, 101 - - hashable >= 1.2.3.3 && < 1.3, 102 - + hashable >= 1.2.3.3 && <2, 103 - mmap >= 0.5.9 && < 0.6, 104 - zlib >= 0.6.1.2 && < 0.7.0.0, 105 - network-uri == 2.6.*, 106 - @@ -443,7 +442,7 @@ 107 - 108 - -- The terminfo package cannot be built on Windows. 109 - if flag(terminfo) && !os(windows) 110 - - build-depends: terminfo >= 0.4.0.2 && < 0.5 111 - + build-depends: terminfo >= 0.4.0.2 && <1 112 - cpp-options: -DHAVE_TERMINFO 113 - 114 - default-extensions: 115 - @@ -500,7 +499,7 @@ 116 - cc-options: -D_REENTRANT 117 - 118 - build-depends: darcs, 119 - - base >= 4.9 && < 4.13 120 - + base >= 4.9 && <5 121 - 122 - -- ---------------------------------------------------------------------- 123 - -- unit test driver 124 - @@ -518,7 +517,7 @@ 125 - build-depends: Win32 >= 2.3.1 && < 2.4 126 - 127 - build-depends: darcs, 128 - - base >= 4.9 && < 4.13, 129 - + base >= 4.9 && <5, 130 - array >= 0.5.1.0 && < 0.6, 131 - bytestring >= 0.10.6 && < 0.11, 132 - cmdargs >= 0.10.10 && < 0.11, 133 - @@ -527,15 +526,15 @@ 134 - mtl >= 2.2.1 && < 2.3, 135 - shelly >= 1.6.8 && < 1.9, 136 - split >= 0.2.2 && < 0.3, 137 - - text >= 1.2.1.3 && < 1.3, 138 - + text >= 1.2.1.3 && <2, 139 - directory >= 1.2.6.2 && < 1.4, 140 - FindBin >= 0.0.5 && < 0.1, 141 - - QuickCheck >= 2.8.2 && < 2.13, 142 - + QuickCheck >= 2.8.2 && <3, 143 - HUnit >= 1.3 && < 1.7, 144 - test-framework >= 0.8.1.1 && < 0.9, 145 - test-framework-hunit >= 0.3.0.2 && < 0.4, 146 - test-framework-quickcheck2 >= 0.3.0.3 && < 0.4, 147 - - zip-archive >= 0.3 && < 0.5 148 - + zip-archive >= 0.3 && <1 149 - 150 - -- https://github.com/yesodweb/Shelly.hs/issues/177 151 - if os(windows) 152 - diff --git a/src/Darcs/Patch/Depends.hs b/src/Darcs/Patch/Depends.hs 153 - index 8531294..a4c71cb 100644 154 - --- a/src/Darcs/Patch/Depends.hs 155 - +++ b/src/Darcs/Patch/Depends.hs 156 - @@ -251,7 +251,7 @@ splitOnTag _ (PatchSet NilRL NilRL) = Nothing 157 - unwrapOneTagged :: (Monad m) => PatchSet rt p wX wY -> m (PatchSet rt p wX wY) 158 - unwrapOneTagged (PatchSet (ts :<: Tagged t _ tps) ps) = 159 - return $ PatchSet ts (tps :<: t +<+ ps) 160 - -unwrapOneTagged _ = fail "called unwrapOneTagged with no Tagged's in the set" 161 - +unwrapOneTagged _ = error "called unwrapOneTagged with no Tagged's in the set" 162 - 163 - -- | @getUncovered ps@ returns the 'PatchInfo' for all the patches in 164 - -- @ps@ that are not depended on by anything else *through explicit 165 - diff --git a/src/Darcs/Patch/Match.hs b/src/Darcs/Patch/Match.hs 166 - index aba6c7a..2b6f53a 100644 167 - --- a/src/Darcs/Patch/Match.hs 168 - +++ b/src/Darcs/Patch/Match.hs 169 - @@ -421,7 +421,7 @@ getNonrangeMatchS fs repo = 170 - Just m -> if nonrangeMatcherIsTag fs 171 - then getTagS m repo 172 - else getMatcherS Exclusive m repo 173 - - Nothing -> fail "Pattern not specified in getNonrangeMatch." 174 - + Nothing -> error "Pattern not specified in getNonrangeMatch." 175 - 176 - -- | @firstMatch fs@ tells whether @fs@ implies a "first match", that 177 - -- is if we match against patches from a point in the past on, rather 178 - @@ -441,7 +441,7 @@ getFirstMatchS fs repo = 179 - Just (_,b) -> unpullLastN repo b -- b is chronologically earlier than a 180 - Nothing -> 181 - case firstMatcher fs of 182 - - Nothing -> fail "Pattern not specified in getFirstMatchS." 183 - + Nothing -> error "Pattern not specified in getFirstMatchS." 184 - Just m -> if firstMatcherIsTag fs 185 - then getTagS m repo 186 - else getMatcherS Inclusive m repo 187 - @@ -462,7 +462,7 @@ checkMatchSyntax :: [MatchFlag] -> IO () 188 - checkMatchSyntax opts = 189 - case getMatchPattern opts of 190 - Nothing -> return () 191 - - Just p -> either fail (const $ return ()) (parseMatch p::Either String (MatchFun rt DummyPatch)) 192 - + Just p -> either error (const $ return ()) (parseMatch p::Either String (MatchFun rt DummyPatch)) 193 - 194 - getMatchPattern :: [MatchFlag] -> Maybe String 195 - getMatchPattern [] = Nothing 196 - @@ -718,7 +718,7 @@ getMatcherS :: (ApplyMonad (ApplyState p) m, Matchable p) => 197 - getMatcherS ioe m repo = 198 - if matchExists m repo 199 - then applyInvToMatcher ioe m repo 200 - - else fail $ "Couldn't match pattern "++ show m 201 - + else error $ "Couldn't match pattern "++ show m 202 - 203 - getTagS :: (ApplyMonad (ApplyState p) m, MonadProgress m, Matchable p) => 204 - Matcher rt p -> PatchSet rt p Origin wX -> m () 205 - diff --git a/src/Darcs/Patch/PatchInfoAnd.hs b/src/Darcs/Patch/PatchInfoAnd.hs 206 - index 2da7ec8..1147410 100644 207 - --- a/src/Darcs/Patch/PatchInfoAnd.hs 208 - +++ b/src/Darcs/Patch/PatchInfoAnd.hs 209 - @@ -167,7 +167,7 @@ conscientiously er (PIAP pinf hp) = 210 - 211 - -- | @hopefullyM@ is a version of @hopefully@ which calls @fail@ in a 212 - -- monad instead of erroring. 213 - -hopefullyM :: Monad m => PatchInfoAnd rt p wA wB -> m (WrappedNamed rt p wA wB) 214 - +hopefullyM :: MonadFail m => PatchInfoAnd rt p wA wB -> m (WrappedNamed rt p wA wB) 215 - hopefullyM (PIAP pinf hp) = case hopefully2either hp of 216 - Right p -> return p 217 - Left e -> fail $ renderString 218 - diff --git a/src/Darcs/Patch/Prim/V1/Apply.hs b/src/Darcs/Patch/Prim/V1/Apply.hs 219 - index bea7e41..7984d21 100644 220 - --- a/src/Darcs/Patch/Prim/V1/Apply.hs 221 - +++ b/src/Darcs/Patch/Prim/V1/Apply.hs 222 - @@ -41,13 +41,13 @@ instance Apply Prim where 223 - apply (FP f (TokReplace t o n)) = mModifyFilePS f doreplace 224 - where doreplace fc = 225 - case tryTokReplace t (BC.pack o) (BC.pack n) fc of 226 - - Nothing -> fail $ "replace patch to " ++ fn2fp f 227 - + Nothing -> error $ "replace patch to " ++ fn2fp f 228 - ++ " couldn't apply." 229 - Just fc' -> return fc' 230 - apply (FP f (Binary o n)) = mModifyFilePS f doapply 231 - where doapply oldf = if o == oldf 232 - then return n 233 - - else fail $ "binary patch to " ++ fn2fp f 234 - + else error $ "binary patch to " ++ fn2fp f 235 - ++ " couldn't apply." 236 - apply (DP d AddDir) = mCreateDirectory d 237 - apply (DP d RmDir) = mRemoveDirectory d 238 - @@ -115,7 +115,7 @@ applyHunk f h fc = 239 - case applyHunkLines h fc of 240 - Right fc' -> return fc' 241 - Left msg -> 242 - - fail $ 243 - + error $ 244 - "### Error applying:\n" ++ renderHunk h ++ 245 - "\n### to file " ++ fn2fp f ++ ":\n" ++ BC.unpack fc ++ 246 - "### Reason: " ++ msg 247 - diff --git a/src/Darcs/Patch/Prim/V1/Commute.hs b/src/Darcs/Patch/Prim/V1/Commute.hs 248 - index 7639dbd..e1432e6 100644 249 - --- a/src/Darcs/Patch/Prim/V1/Commute.hs 250 - +++ b/src/Darcs/Patch/Prim/V1/Commute.hs 251 - @@ -58,6 +58,7 @@ instance Monad Perhaps where 252 - Failed >>= _ = Failed 253 - Unknown >>= _ = Unknown 254 - return = Succeeded 255 - +instance MonadFail Perhaps where 256 - fail _ = Unknown 257 - 258 - instance Alternative Perhaps where 259 - diff --git a/src/Darcs/Patch/ReadMonads.hs b/src/Darcs/Patch/ReadMonads.hs 260 - index 62a4f81..e1cb149 100644 261 - --- a/src/Darcs/Patch/ReadMonads.hs 262 - +++ b/src/Darcs/Patch/ReadMonads.hs 263 - @@ -237,6 +237,7 @@ failSM _ = SM (\_ -> Nothing) 264 - instance Monad SM where 265 - (>>=) = bindSM 266 - return = returnSM 267 - +instance MonadFail SM where 268 - fail = failSM 269 - 270 - instance ParserM SM where 271 - diff --git a/src/Darcs/Patch/V1/Commute.hs b/src/Darcs/Patch/V1/Commute.hs 272 - index 0bb41a3..c6c3382 100644 273 - --- a/src/Darcs/Patch/V1/Commute.hs 274 - +++ b/src/Darcs/Patch/V1/Commute.hs 275 - @@ -93,6 +93,7 @@ instance Monad Perhaps where 276 - Failed >>= _ = Failed 277 - Unknown >>= _ = Unknown 278 - return = Succeeded 279 - +instance MonadFail Perhaps where 280 - fail _ = Unknown 281 - 282 - instance Alternative Perhaps where 283 - diff --git a/src/Darcs/Repository/Diff.hs b/src/Darcs/Repository/Diff.hs 284 - index 8078d49..e0e2341 100644 285 - --- a/src/Darcs/Repository/Diff.hs 286 - +++ b/src/Darcs/Repository/Diff.hs 287 - @@ -138,7 +138,7 @@ treeDiff da ft t1 t2 = do 288 - do rmDirP <- diff p (Removed subtree) 289 - addFileP <- diff p (Changed (File emptyBlob) b') 290 - return $ joinGap (+>+) rmDirP addFileP 291 - - diff p _ = fail $ "Missing case at path " ++ show p 292 - + diff p _ = error $ "Missing case at path " ++ show p 293 - 294 - text_diff p a b 295 - | BL.null a && BL.null b = emptyGap NilFL 296 - diff --git a/src/Darcs/Repository/Match.hs b/src/Darcs/Repository/Match.hs 297 - index 08c9f13..f33cabe 100644 298 - --- a/src/Darcs/Repository/Match.hs 299 - +++ b/src/Darcs/Repository/Match.hs 300 - @@ -60,7 +60,7 @@ getNonrangeMatch :: (ApplyMonad (ApplyState p) DefaultIO, IsRepoType rt, RepoPat 301 - getNonrangeMatch r = withRecordedMatch r . getMatch where 302 - getMatch fs = case hasIndexRange fs of 303 - Just (n, m) | n == m -> applyNInv (n-1) 304 - - | otherwise -> fail "Index range is not allowed for this command." 305 - + | otherwise -> error "Index range is not allowed for this command." 306 - _ -> getNonrangeMatchS fs 307 - 308 - getOnePatchset :: (IsRepoType rt, RepoPatch p) 309 - diff --git a/src/Darcs/Util/Tree/Monad.hs b/src/Darcs/Util/Tree/Monad.hs 310 - index 0e01d9b..296fdc4 100644 311 - --- a/src/Darcs/Util/Tree/Monad.hs 312 - +++ b/src/Darcs/Util/Tree/Monad.hs 313 - @@ -216,7 +216,7 @@ instance (Monad m) => TreeRO (TreeMonad m) where 314 - t <- gets tree 315 - let f = findFile t p' 316 - case f of 317 - - Nothing -> fail $ "No such file " ++ show p' 318 - + Nothing -> error $ "No such file " ++ show p' 319 - Just x -> lift (readBlob x) 320 - 321 - currentDirectory = ask 322 - @@ -251,7 +251,7 @@ instance (Monad m) => TreeRW (TreeMonad m) where 323 - let item = find tr from' 324 - found_to = find tr to' 325 - unless (isNothing found_to) $ 326 - - fail $ "Error renaming: destination " ++ show to ++ " exists." 327 - + error $ "Error renaming: destination " ++ show to ++ " exists." 328 - unless (isNothing item) $ do 329 - modifyItem from Nothing 330 - modifyItem to item 331 - -- 332 - 2.23.1 333 -
-120
pkgs/development/haskell-modules/patches/darcs-setup.patch
··· 1 - --- darcs-2.14.2/Setup.hs 2019-01-27 03:14:51.000000000 +1300 2 - +++ darcs.net/Setup.hs 2019-10-18 02:41:57.000000000 +1300 3 - @@ -11,7 +11,9 @@ 4 - , TestSuite(testBuildInfo) 5 - , updatePackageDescription 6 - , cppOptions, ccOptions 7 - - , library, libBuildInfo, otherModules ) 8 - + , library, libBuildInfo, otherModules 9 - + , ComponentName(CExeName) 10 - + ) 11 - import Distribution.Package 12 - ( packageVersion ) 13 - import Distribution.Version( Version ) 14 - @@ -21,24 +23,27 @@ 15 - import Distribution.Simple.Setup 16 - (buildVerbosity, copyDest, copyVerbosity, fromFlag, 17 - haddockVerbosity, installVerbosity, sDistVerbosity, replVerbosity ) 18 - -import Distribution.Simple.BuildPaths ( autogenModulesDir ) 19 - +import Distribution.Simple.BuildPaths ( autogenPackageModulesDir ) 20 - import Distribution.System 21 - ( OS(Windows), buildOS ) 22 - import Distribution.Simple.Utils 23 - (copyFiles, createDirectoryIfMissingVerbose, rawSystemStdout, 24 - - rewriteFile ) 25 - + rewriteFileEx) 26 - +import Distribution.Types.UnqualComponentName 27 - import Distribution.Verbosity 28 - - ( Verbosity ) 29 - + ( Verbosity, silent ) 30 - import Distribution.Text 31 - ( display ) 32 - -import Control.Monad ( unless, void ) 33 - 34 - +import Control.Monad ( unless, when, void ) 35 - import System.Directory 36 - ( doesDirectoryExist, doesFileExist ) 37 - import System.IO 38 - ( openFile, IOMode(..) ) 39 - import System.Process (runProcess) 40 - import Data.List( isInfixOf, lines ) 41 - +import qualified Data.Map as M 42 - +import Data.Maybe ( isJust ) 43 - import System.FilePath ( (</>) ) 44 - import Foreign.Marshal.Utils ( with ) 45 - import Foreign.Storable ( peek ) 46 - @@ -75,8 +80,8 @@ 47 - verb = fromFlag $ sDistVerbosity flags 48 - x <- versionPatches verb pkgVer 49 - y <- context verb 50 - - rewriteFile "release/distributed-version" $ show x 51 - - rewriteFile "release/distributed-context" $ show y 52 - + rewriteFileEx silent "release/distributed-version" $ show x 53 - + rewriteFileEx silent "release/distributed-context" $ show y 54 - putStrLn "about to hand over" 55 - let pkg' = pkg { library = sanity (library pkg) } 56 - sanity (Just lib) = Just $ lib { libBuildInfo = sanity' $ libBuildInfo lib } 57 - @@ -105,8 +110,7 @@ 58 - littleEndian <- testEndianness 59 - let args = ("-DPACKAGE_VERSION=" ++ show' version) : 60 - [arg | (arg, True) <- -- include fst iff snd. 61 - - [-- We have MAPI iff building on/for Windows. 62 - - ("-DHAVE_MAPI", buildOS == Windows), 63 - + [ 64 - ("-DLITTLEENDIAN", littleEndian), 65 - ("-DBIGENDIAN", not littleEndian)]] 66 - bi = emptyBuildInfo { cppOptions = args, ccOptions = args } 67 - @@ -133,20 +137,26 @@ 68 - -- man page 69 - -- --------------------------------------------------------------------- 70 - 71 - +hasDarcsExe :: LocalBuildInfo -> Bool 72 - +hasDarcsExe = isJust . M.lookup darcsExe . componentNameMap where 73 - + darcsExe = CExeName (mkUnqualComponentName "darcs") 74 - + 75 - buildManpage :: LocalBuildInfo -> IO () 76 - -buildManpage lbi = do 77 - - let darcs = buildDir lbi </> "darcs/darcs" 78 - - manpage = buildDir lbi </> "darcs/darcs.1" 79 - - manpageHandle <- openFile manpage WriteMode 80 - - void $ runProcess darcs ["help","manpage"] 81 - - Nothing Nothing Nothing (Just manpageHandle) Nothing 82 - +buildManpage lbi = 83 - + when (hasDarcsExe lbi) $ do 84 - + let darcs = buildDir lbi </> "darcs/darcs" 85 - + manpage = buildDir lbi </> "darcs/darcs.1" 86 - + manpageHandle <- openFile manpage WriteMode 87 - + void $ runProcess darcs ["help","manpage"] 88 - + Nothing Nothing Nothing (Just manpageHandle) Nothing 89 - 90 - -installManpage :: PackageDescription -> LocalBuildInfo 91 - - -> Verbosity -> CopyDest -> IO () 92 - +installManpage :: PackageDescription -> LocalBuildInfo -> Verbosity -> CopyDest -> IO () 93 - installManpage pkg lbi verbosity copy = 94 - - copyFiles verbosity 95 - - (mandir (absoluteInstallDirs pkg lbi copy) </> "man1") 96 - - [(buildDir lbi </> "darcs", "darcs.1")] 97 - + when (hasDarcsExe lbi) $ 98 - + copyFiles 99 - + verbosity 100 - + (mandir (absoluteInstallDirs pkg lbi copy) </> "man1") 101 - + [(buildDir lbi </> "darcs", "darcs.1")] 102 - 103 - -- --------------------------------------------------------------------- 104 - -- version module 105 - @@ -187,12 +197,13 @@ 106 - generateVersionModule :: Verbosity -> LocalBuildInfo 107 - -> String -> String -> IO () 108 - generateVersionModule verbosity lbi version state = do 109 - - let dir = autogenModulesDir lbi 110 - + let dir = autogenPackageModulesDir lbi 111 - createDirectoryIfMissingVerbose verbosity True dir 112 - ctx <- context verbosity 113 - hash <- weakhash verbosity 114 - - rewriteFile (dir </> "Version.hs") $ unlines 115 - + rewriteFileEx silent (dir </> "Version.hs") $ unlines 116 - ["module Version where" 117 - + ,"import Darcs.Prelude" 118 - ,"version, weakhash, context :: String" 119 - ,"version = \"" ++ version ++ " (" ++ state ++ ")\"" 120 - ,"weakhash = " ++ case hash of
-383
pkgs/development/haskell-modules/patches/fix-dbus-for-ghc-8.10.x.patch
··· 1 - Only in dbus-1.2.13-new: .codeclimate.yml 2 - diff -ur dbus-1.2.13-old/dbus.cabal dbus-1.2.13-new/dbus.cabal 3 - --- dbus-1.2.13-old/dbus.cabal 2020-04-25 19:29:27.372272952 +0200 4 - +++ dbus-1.2.13-new/dbus.cabal 2020-04-25 19:26:36.140991920 +0200 5 - @@ -1,172 +1,180 @@ 6 - -cabal-version: >=1.8 7 - name: dbus 8 - version: 1.2.13 9 - license: Apache-2.0 10 - license-file: license.txt 11 - -maintainer: Andrey Sverdlichenko <blaze@ruddy.ru> 12 - author: John Millikin <john@john-millikin.com> 13 - +maintainer: Andrey Sverdlichenko <blaze@ruddy.ru> 14 - +build-type: Simple 15 - +cabal-version: >= 1.8 16 - +category: Network, Desktop 17 - stability: experimental 18 - homepage: https://github.com/rblaze/haskell-dbus#readme 19 - + 20 - synopsis: A client library for the D-Bus IPC system. 21 - description: 22 - - D-Bus is a simple, message-based protocol for inter-process 23 - - communication, which allows applications to interact with other parts of 24 - - the machine and the user's session using remote procedure calls. 25 - - . 26 - - D-Bus is a essential part of the modern Linux desktop, where it replaces 27 - - earlier protocols such as CORBA and DCOP. 28 - - . 29 - - This library is an implementation of the D-Bus protocol in Haskell. It 30 - - can be used to add D-Bus support to Haskell applications, without the 31 - - awkward interfaces common to foreign bindings. 32 - - . 33 - - Example: connect to the session bus, and get a list of active names. 34 - - . 35 - - @ 36 - - &#x7b;-\# LANGUAGE OverloadedStrings \#-&#x7d; 37 - - . 38 - - import Data.List (sort) 39 - - import DBus 40 - - import DBus.Client 41 - - . 42 - - main = do 43 - - &#x20; client <- connectSession 44 - - &#x20; // 45 - - &#x20; \-- Request a list of connected clients from the bus 46 - - &#x20; reply <- call_ client (methodCall \"\/org\/freedesktop\/DBus\" \"org.freedesktop.DBus\" \"ListNames\") 47 - - &#x20; &#x7b; methodCallDestination = Just \"org.freedesktop.DBus\" 48 - - &#x20; &#x7d; 49 - - &#x20; // 50 - - &#x20; \-- org.freedesktop.DBus.ListNames() returns a single value, which is 51 - - &#x20; \-- a list of names (here represented as [String]) 52 - - &#x20; let Just names = fromVariant (methodReturnBody reply !! 0) 53 - - &#x20; // 54 - - &#x20; \-- Print each name on a line, sorted so reserved names are below 55 - - &#x20; \-- temporary names. 56 - - &#x20; mapM_ putStrLn (sort names) 57 - - @ 58 - - . 59 - - >$ ghc --make list-names.hs 60 - - >$ ./list-names 61 - - >:1.0 62 - - >:1.1 63 - - >:1.10 64 - - >:1.106 65 - - >:1.109 66 - - >:1.110 67 - - >ca.desrt.dconf 68 - - >org.freedesktop.DBus 69 - - >org.freedesktop.Notifications 70 - - >org.freedesktop.secrets 71 - - >org.gnome.ScreenSaver 72 - -category: Network, Desktop 73 - -build-type: Simple 74 - + D-Bus is a simple, message-based protocol for inter-process 75 - + communication, which allows applications to interact with other parts of 76 - + the machine and the user's session using remote procedure calls. 77 - + . 78 - + D-Bus is a essential part of the modern Linux desktop, where it replaces 79 - + earlier protocols such as CORBA and DCOP. 80 - + . 81 - + This library is an implementation of the D-Bus protocol in Haskell. It 82 - + can be used to add D-Bus support to Haskell applications, without the 83 - + awkward interfaces common to foreign bindings. 84 - + . 85 - + Example: connect to the session bus, and get a list of active names. 86 - + . 87 - + @ 88 - + &#x7b;-\# LANGUAGE OverloadedStrings \#-&#x7d; 89 - + . 90 - + import Data.List (sort) 91 - + import DBus 92 - + import DBus.Client 93 - + . 94 - + main = do 95 - + &#x20; client <- connectSession 96 - + &#x20; 97 - + &#x20; -- Request a list of connected clients from the bus 98 - + &#x20; reply <- call_ client (methodCall \"\/org\/freedesktop\/DBus\" \"org.freedesktop.DBus\" \"ListNames\") 99 - + &#x20; &#x7b; methodCallDestination = Just \"org.freedesktop.DBus\" 100 - + &#x20; &#x7d; 101 - + &#x20; 102 - + &#x20; -- org.freedesktop.DBus.ListNames() returns a single value, which is 103 - + &#x20; -- a list of names (here represented as [String]) 104 - + &#x20; let Just names = fromVariant (methodReturnBody reply !! 0) 105 - + &#x20; 106 - + &#x20; -- Print each name on a line, sorted so reserved names are below 107 - + &#x20; -- temporary names. 108 - + &#x20; mapM_ putStrLn (sort names) 109 - + @ 110 - + . 111 - + >$ ghc --make list-names.hs 112 - + >$ ./list-names 113 - + >:1.0 114 - + >:1.1 115 - + >:1.10 116 - + >:1.106 117 - + >:1.109 118 - + >:1.110 119 - + >ca.desrt.dconf 120 - + >org.freedesktop.DBus 121 - + >org.freedesktop.Notifications 122 - + >org.freedesktop.secrets 123 - + >org.gnome.ScreenSaver 124 - + 125 - + 126 - extra-source-files: 127 - - examples/dbus-monitor.hs 128 - - examples/export.hs 129 - - examples/introspect.hs 130 - - examples/list-names.hs 131 - - idlxml/dbus.xml 132 - + examples/dbus-monitor.hs 133 - + examples/export.hs 134 - + examples/introspect.hs 135 - + examples/list-names.hs 136 - + idlxml/dbus.xml 137 - 138 - source-repository head 139 - - type: git 140 - - location: https://github.com/rblaze/haskell-dbus 141 - + type: git 142 - + location: https://github.com/rblaze/haskell-dbus 143 - 144 - library 145 - - exposed-modules: 146 - - DBus 147 - - DBus.Client 148 - - DBus.Generation 149 - - DBus.Internal.Address 150 - - DBus.Internal.Message 151 - - DBus.Internal.Types 152 - - DBus.Internal.Wire 153 - - DBus.Introspection 154 - - DBus.Introspection.Parse 155 - - DBus.Introspection.Render 156 - - DBus.Introspection.Types 157 - - DBus.Socket 158 - - DBus.TH 159 - - DBus.Transport 160 - - hs-source-dirs: lib 161 - - ghc-options: -W -Wall 162 - - build-depends: 163 - - base ==4.*, 164 - - bytestring <0.11, 165 - - cereal <0.6, 166 - - conduit >=1.3.0 && <1.4, 167 - - containers <0.7, 168 - - deepseq <1.5, 169 - - exceptions <0.11, 170 - - filepath <1.5, 171 - - lens <4.20, 172 - - network >=3.0.1.0 && <3.2, 173 - - parsec <3.2, 174 - - random <1.2, 175 - - split <0.3, 176 - - template-haskell <2.16.0.0, 177 - - text <1.3, 178 - - th-lift <0.9, 179 - - transformers <0.6, 180 - - unix <2.8, 181 - - vector <0.13, 182 - - xml-conduit >=1.9.0.0 && <1.10.0.0, 183 - - xml-types <0.4 184 - + ghc-options: -W -Wall 185 - + hs-source-dirs: lib 186 - + 187 - + build-depends: 188 - + base >=4 && <5 189 - + , bytestring 190 - + , cereal 191 - + , conduit >= 1.3.0 192 - + , containers 193 - + , deepseq 194 - + , exceptions 195 - + , filepath 196 - + , lens < 4.20 197 - + , network >= 3.0.1.0 && < 3.2 198 - + , parsec 199 - + , random 200 - + , split 201 - + , template-haskell < 2.17.0.0 202 - + , text 203 - + , th-lift < 0.9 204 - + , transformers 205 - + , unix 206 - + , vector 207 - + , xml-conduit >= 1.9.0.0 && < 1.10.0.0 208 - + , xml-types 209 - + 210 - + exposed-modules: 211 - + DBus 212 - + DBus.Client 213 - + DBus.Generation 214 - + DBus.Internal.Address 215 - + DBus.Internal.Message 216 - + DBus.Internal.Types 217 - + DBus.Internal.Wire 218 - + DBus.Introspection 219 - + DBus.Introspection.Parse 220 - + DBus.Introspection.Render 221 - + DBus.Introspection.Types 222 - + DBus.Socket 223 - + DBus.TH 224 - + DBus.Transport 225 - 226 - test-suite dbus_tests 227 - - type: exitcode-stdio-1.0 228 - - main-is: DBusTests.hs 229 - - hs-source-dirs: tests 230 - - other-modules: 231 - - DBusTests.Address 232 - - DBusTests.BusName 233 - - DBusTests.Client 234 - - DBusTests.ErrorName 235 - - DBusTests.Generation 236 - - DBusTests.Integration 237 - - DBusTests.InterfaceName 238 - - DBusTests.Introspection 239 - - DBusTests.MemberName 240 - - DBusTests.Message 241 - - DBusTests.ObjectPath 242 - - DBusTests.Serialization 243 - - DBusTests.Signature 244 - - DBusTests.Socket 245 - - DBusTests.TH 246 - - DBusTests.Transport 247 - - DBusTests.Util 248 - - DBusTests.Variant 249 - - DBusTests.Wire 250 - - ghc-options: -W -Wall -fno-warn-orphans 251 - - build-depends: 252 - - dbus -any, 253 - - base ==4.*, 254 - - bytestring <0.11, 255 - - cereal <0.6, 256 - - containers <0.7, 257 - - directory <1.4, 258 - - extra <1.8, 259 - - filepath <1.5, 260 - - network >=3.0.1.0 && <3.2, 261 - - parsec <3.2, 262 - - process <1.7, 263 - - QuickCheck <2.15, 264 - - random <1.2, 265 - - resourcet <1.3, 266 - - tasty <1.3, 267 - - tasty-hunit <0.11, 268 - - tasty-quickcheck <0.11, 269 - - text <1.3, 270 - - transformers <0.6, 271 - - unix <2.8, 272 - - vector <0.13 273 - + type: exitcode-stdio-1.0 274 - + main-is: DBusTests.hs 275 - + hs-source-dirs: tests 276 - + ghc-options: -W -Wall -fno-warn-orphans 277 - + 278 - + build-depends: 279 - + dbus 280 - + , base >=4 && <5 281 - + , bytestring 282 - + , cereal 283 - + , containers 284 - + , directory 285 - + , extra < 1.8 286 - + , filepath 287 - + , network >= 3.0.1.0 && < 3.2 288 - + , parsec 289 - + , process 290 - + , QuickCheck < 2.15 291 - + , random 292 - + , resourcet 293 - + , tasty 294 - + , tasty-hunit 295 - + , tasty-quickcheck 296 - + , text 297 - + , transformers 298 - + , unix 299 - + , vector 300 - + 301 - + other-modules: 302 - + DBusTests.Address 303 - + DBusTests.BusName 304 - + DBusTests.Client 305 - + DBusTests.ErrorName 306 - + DBusTests.Generation 307 - + DBusTests.Integration 308 - + DBusTests.InterfaceName 309 - + DBusTests.Introspection 310 - + DBusTests.MemberName 311 - + DBusTests.Message 312 - + DBusTests.ObjectPath 313 - + DBusTests.Serialization 314 - + DBusTests.Signature 315 - + DBusTests.Socket 316 - + DBusTests.TH 317 - + DBusTests.Transport 318 - + DBusTests.Util 319 - + DBusTests.Variant 320 - + DBusTests.Wire 321 - 322 - benchmark dbus_benchmarks 323 - - type: exitcode-stdio-1.0 324 - - main-is: DBusBenchmarks.hs 325 - - hs-source-dirs: benchmarks 326 - - ghc-options: -Wall -fno-warn-orphans 327 - - build-depends: 328 - - dbus -any, 329 - - base ==4.*, 330 - - criterion <1.6 331 - + type: exitcode-stdio-1.0 332 - + main-is: DBusBenchmarks.hs 333 - + hs-source-dirs: benchmarks 334 - + ghc-options: -Wall -fno-warn-orphans 335 - + 336 - + build-depends: 337 - + dbus 338 - + , base >=4 && <5 339 - + , criterion 340 - Only in dbus-1.2.13-new: .git 341 - Only in dbus-1.2.13-new: .gitignore 342 - diff -ur dbus-1.2.13-old/lib/DBus/Generation.hs dbus-1.2.13-new/lib/DBus/Generation.hs 343 - --- dbus-1.2.13-old/lib/DBus/Generation.hs 2019-02-14 16:37:47.000000000 +0100 344 - +++ dbus-1.2.13-new/lib/DBus/Generation.hs 2020-04-25 19:26:36.144991997 +0200 345 - @@ -1,3 +1,4 @@ 346 - +{-# LANGUAGE CPP #-} 347 - {-# LANGUAGE OverloadedStrings #-} 348 - {-# LANGUAGE TemplateHaskell #-} 349 - module DBus.Generation where 350 - @@ -26,6 +27,13 @@ 351 - import Prelude hiding (mapM) 352 - import System.Posix.Types (Fd(..)) 353 - 354 - +-- | Compatibility helper to create (total) tuple expressions 355 - +mkTupE :: [Exp] -> Exp 356 - +mkTupE = TupE 357 - +#if MIN_VERSION_template_haskell(2,16,0) 358 - + . map Just 359 - +#endif 360 - + 361 - type ClientBusPathR a = ReaderT (Client, T.BusName, T.ObjectPath) IO a 362 - 363 - dbusInvoke :: (Client -> T.BusName -> T.ObjectPath -> a) -> ClientBusPathR a 364 - @@ -232,8 +240,8 @@ 365 - finalOutputNames <- buildOutputNames 366 - let variantListExp = map makeToVariantApp methodArgNames 367 - mapOrHead' = mapOrHead outputLength 368 - - fromVariantExp = mapOrHead' makeFromVariantApp fromVariantOutputNames TupE 369 - - finalResultTuple = mapOrHead' VarE finalOutputNames TupE 370 - + fromVariantExp = mapOrHead' makeFromVariantApp fromVariantOutputNames mkTupE 371 - + finalResultTuple = mapOrHead' VarE finalOutputNames mkTupE 372 - maybeExtractionPattern = mapOrHead' makeJustPattern finalOutputNames TupP 373 - getMethodCallDefDec = [d| 374 - $( varP methodCallDefN ) = 375 - @@ -432,7 +440,7 @@ 376 - } 377 - |] 378 - let mapOrHead' = mapOrHead argCount 379 - - fromVariantExp = mapOrHead' makeFromVariantApp fromVariantOutputNames TupE 380 - + fromVariantExp = mapOrHead' makeFromVariantApp fromVariantOutputNames mkTupE 381 - maybeExtractionPattern = mapOrHead' makeJustPattern toHandlerOutputNames TupP 382 - applyToName toApply n = AppE toApply $ VarE n 383 - finalApplication = foldl applyToName (VarE handlerArgN)
-65
pkgs/development/haskell-modules/patches/ghc-paths-nix-ghcjs.patch
··· 1 - diff --git a/GHC/Paths.hs b/GHC/Paths.hs 2 - index c87565d..88b3db4 100644 3 - --- a/GHC/Paths.hs 4 - +++ b/GHC/Paths.hs 5 - @@ -1,13 +1,35 @@ 6 - {-# LANGUAGE CPP #-} 7 - +{-# LANGUAGE ScopedTypeVariables #-} 8 - 9 - module GHC.Paths ( 10 - ghc, ghc_pkg, libdir, docdir 11 - ) where 12 - 13 - +import Control.Exception as E 14 - +import Data.Maybe 15 - +import System.Environment 16 - +import System.IO.Unsafe 17 - + 18 - +-- Yes, there's lookupEnv now, but we want to be compatible 19 - +-- with older GHCs. 20 - +checkEnv :: String -> IO (Maybe String) 21 - +checkEnv var = E.catch (fmap Just (getEnv var)) 22 - + (\ (e :: IOException) -> return Nothing) 23 - + 24 - +nixLibdir, nixDocdir, nixGhc, nixGhcPkg :: Maybe FilePath 25 - +nixLibdir = unsafePerformIO (checkEnv "NIX_GHCJS_LIBDIR") 26 - +nixDocdir = unsafePerformIO (checkEnv "NIX_GHCJS_DOCDIR") 27 - +nixGhc = unsafePerformIO (checkEnv "NIX_GHCJS") 28 - +nixGhcPkg = unsafePerformIO (checkEnv "NIX_GHCJSPKG") 29 - +{-# NOINLINE nixLibdir #-} 30 - +{-# NOINLINE nixDocdir #-} 31 - +{-# NOINLINE nixGhc #-} 32 - +{-# NOINLINE nixGhcPkg #-} 33 - + 34 - libdir, docdir, ghc, ghc_pkg :: FilePath 35 - 36 - -libdir = GHC_PATHS_LIBDIR 37 - -docdir = GHC_PATHS_DOCDIR 38 - +libdir = fromMaybe GHC_PATHS_LIBDIR nixLibdir 39 - +docdir = fromMaybe GHC_PATHS_DOCDIR nixDocdir 40 - 41 - -ghc = GHC_PATHS_GHC 42 - -ghc_pkg = GHC_PATHS_GHC_PKG 43 - +ghc = fromMaybe GHC_PATHS_GHC nixGhc 44 - +ghc_pkg = fromMaybe GHC_PATHS_GHC_PKG nixGhcPkg 45 - diff --git a/Setup.hs b/Setup.hs 46 - index f2d1733..ca4792e 100644 47 - --- a/Setup.hs 48 - +++ b/Setup.hs 49 - @@ -39,13 +39,13 @@ main = defaultMainWithHooks simpleUserHooks { 50 - #else 51 - libdir_ <- rawSystemProgramStdoutConf (fromFlag (configVerbosity flags)) 52 - #endif 53 - - ghcProgram (withPrograms lbi) ["--print-libdir"] 54 - + ghcjsProgram (withPrograms lbi) ["--print-libdir"] 55 - let libdir = reverse $ dropWhile isSpace $ reverse libdir_ 56 - 57 - - ghc_pkg = case lookupProgram ghcPkgProgram (withPrograms lbi) of 58 - + ghc_pkg = case lookupProgram ghcjsPkgProgram (withPrograms lbi) of 59 - Just p -> programPath p 60 - Nothing -> error "ghc-pkg was not found" 61 - - ghc = case lookupProgram ghcProgram (withPrograms lbi) of 62 - + ghc = case lookupProgram ghcjsProgram (withPrograms lbi) of 63 - Just p -> programPath p 64 - Nothing -> error "ghc was not found" 65 -
-30
pkgs/development/haskell-modules/patches/hunspell.patch
··· 1 - diff -Naur hunspell-hs-0.1.0.0.orig/hunspell-hs.cabal hunspell-hs-0.1.0.0/hunspell-hs.cabal 2 - --- hunspell-hs-0.1.0.0.orig/hunspell-hs.cabal 2018-08-26 20:23:33.053763300 +0200 3 - +++ hunspell-hs-0.1.0.0/hunspell-hs.cabal 2018-08-26 20:42:05.886074510 +0200 4 - @@ -37,7 +37,7 @@ 5 - base >=4.7 && <5 6 - , stm 7 - if os(linux) 8 - - extra-libraries: 9 - + pkgconfig-depends: 10 - hunspell 11 - if os(darwin) 12 - include-dirs: 13 - @@ -63,7 +63,7 @@ 14 - , hunspell-hs 15 - , stm 16 - if os(linux) 17 - - extra-libraries: 18 - + pkgconfig-depends: 19 - hunspell 20 - if os(darwin) 21 - include-dirs: 22 - @@ -88,7 +88,7 @@ 23 - , hunspell-hs 24 - , stm 25 - if os(linux) 26 - - extra-libraries: 27 - + pkgconfig-depends: 28 - hunspell 29 - if os(darwin) 30 - include-dirs:
+2 -2
pkgs/development/interpreters/rakudo/zef.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "zef"; 5 - version = "0.14.6"; 5 + version = "0.15.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "ugexe"; 9 9 repo = "zef"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-3FRzqHbzNhmYg3wRvajMzTWB7lOlgrxwQvvnB3fggGM="; 11 + sha256 = "sha256-MJKG/8b8l2RqWec5JoWcYLYrEKI9zrhJMyLqVcvAY+g="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ makeWrapper ];
+2 -2
pkgs/development/libraries/audio/zita-alsa-pcmi/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "zita-alsa-pcmi"; 5 - version = "0.5.1"; 5 + version = "0.6.1"; 6 6 src = fetchurl { 7 7 url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2"; 8 - sha256 = "sha256-zyAKaO22She1e/+zPjiwSHeCctGLVYnT0vWgHODzSwc="; 8 + sha256 = "sha256-iil6zj16R0Ex7T+jIQacExM3eFtWojfW8WjIXueW1Ww="; 9 9 }; 10 10 11 11 buildInputs = [ alsa-lib ];
+2 -2
pkgs/development/libraries/caf/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "actor-framework"; 5 - version = "0.18.5"; 5 + version = "0.18.7"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "actor-framework"; 9 9 repo = "actor-framework"; 10 10 rev = version; 11 - sha256 = "04b4kjisb5wzq6pilh8xzbxn7qcjgppl8k65hfv0zi0ja8fyp1xk"; 11 + hash = "sha256-y1RE6AnyOrUN/z4md/xjlVwlIcL97ZEcKEOf8ZsCf+U="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ cmake ];
+12 -2
pkgs/development/libraries/cairo/default.nix
··· 8 8 , libGL # libGLU libGL is no longer a big dependency 9 9 , pdfSupport ? true 10 10 , darwin 11 + , testers 11 12 }: 12 13 13 14 let 14 15 inherit (lib) optional optionals; 15 - in stdenv.mkDerivation rec { 16 + in stdenv.mkDerivation (finalAttrs: let 17 + inherit (finalAttrs) pname version; 18 + in { 16 19 pname = "cairo"; 17 20 version = "1.16.0"; 18 21 ··· 132 135 133 136 postInstall = lib.optionalString stdenv.isDarwin glib.flattenInclude; 134 137 138 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 139 + 135 140 meta = with lib; { 136 141 description = "A 2D graphics library with support for multiple output devices"; 137 142 longDescription = '' ··· 147 152 ''; 148 153 homepage = "http://cairographics.org/"; 149 154 license = with licenses; [ lgpl2Plus mpl10 ]; 155 + pkgConfigModules = [ 156 + "cairo-ps" 157 + "cairo-svg" 158 + ] ++ lib.optional gobjectSupport "cairo-gobject" 159 + ++ lib.optional pdfSupport "cairo-gobject"; 150 160 platforms = platforms.all; 151 161 }; 152 - } 162 + })
+15 -4
pkgs/development/libraries/fftw/default.nix
··· 12 12 , enableMpi ? false 13 13 , mpi 14 14 , withDoc ? stdenv.cc.isGNU 15 + , testers 15 16 }: 16 17 17 18 assert lib.elem precision [ "single" "double" "long-double" "quad-precision" ]; 18 19 19 - stdenv.mkDerivation rec { 20 + stdenv.mkDerivation (finalAttrs: { 20 21 pname = "fftw-${precision}"; 21 22 version = "3.3.10"; 22 23 23 24 src = fetchurl { 24 25 urls = [ 25 - "https://fftw.org/fftw-${version}.tar.gz" 26 - "ftp://ftp.fftw.org/pub/fftw/fftw-${version}.tar.gz" 26 + "https://fftw.org/fftw-${finalAttrs.version}.tar.gz" 27 + "ftp://ftp.fftw.org/pub/fftw/fftw-${finalAttrs.version}.tar.gz" 27 28 ]; 28 29 sha256 = "sha256-VskyVJhSzdz6/as4ILAgDHdCZ1vpIXnlnmIVs0DiZGc="; 29 30 }; ··· 60 61 61 62 nativeCheckInputs = [ perl ]; 62 63 64 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 65 + 63 66 meta = with lib; { 64 67 description = "Fastest Fourier Transform in the West library"; 65 68 homepage = "http://www.fftw.org/"; 66 69 license = licenses.gpl2Plus; 67 70 maintainers = [ maintainers.spwhitt ]; 71 + pkgConfigModules = [ 72 + { 73 + "single" = "fftw3f"; 74 + "double" = "fftw3"; 75 + "long-double" = "fftw3l"; 76 + "quad-precision" = "fftw3q"; 77 + }.${precision} 78 + ]; 68 79 platforms = platforms.unix; 69 80 }; 70 - } 81 + })
+2 -2
pkgs/development/libraries/folly/default.nix
··· 22 22 23 23 stdenv.mkDerivation rec { 24 24 pname = "folly"; 25 - version = "2022.11.28.00"; 25 + version = "2023.01.30.00"; 26 26 27 27 src = fetchFromGitHub { 28 28 owner = "facebook"; 29 29 repo = "folly"; 30 30 rev = "v${version}"; 31 - sha256 = "sha256-TI3uMlkssKtTvxqj9Et12aAjbHoV9FVBvrZr7oCFlIo="; 31 + sha256 = "sha256-p5IAbXPUrGtJotwabpEShNsUZNeF6ncHbDXaNabdaaY="; 32 32 }; 33 33 34 34 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/intel-media-sdk/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "intel-media-sdk"; 6 - version = "22.6.5"; 6 + version = "23.1.0"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "Intel-Media-SDK"; 10 10 repo = "MediaSDK"; 11 11 rev = "intel-mediasdk-${version}"; 12 - sha256 = "sha256-W+lDqGZAenhRZ7tf4qfDNik/3rFNDM0DGSK/CdNRb8g="; 12 + sha256 = "sha256-FTyjIWYKXFAzu3SR1EGN+aTzVbX617o/KWCD/DGv69o="; 13 13 }; 14 14 15 15 nativeBuildInputs = [ cmake pkg-config ];
+2 -2
pkgs/development/libraries/kde-frameworks/kimageformats.nix
··· 1 1 { 2 2 mkDerivation, lib, 3 3 extra-cmake-modules, 4 - ilmbase, karchive, openexr, libavif, libheif, libjxl, qtbase 4 + ilmbase, karchive, openexr, libavif, libheif, libjxl, libraw, qtbase 5 5 }: 6 6 7 7 let inherit (lib) getDev; in ··· 10 10 pname = "kimageformats"; 11 11 12 12 nativeBuildInputs = [ extra-cmake-modules ]; 13 - buildInputs = [ karchive openexr libavif libheif libjxl qtbase ]; 13 + buildInputs = [ karchive openexr libavif libheif libjxl libraw qtbase ]; 14 14 outputs = [ "out" ]; # plugins only 15 15 CXXFLAGS = "-I${getDev ilmbase}/include/OpenEXR"; 16 16 cmakeFlags = [
+33 -14
pkgs/development/libraries/libappindicator/default.nix
··· 1 - # TODO: Resolve the issues with the Mono bindings. 2 - 3 1 { stdenv, fetchgit, lib 4 2 , pkg-config, autoreconfHook 5 3 , glib, dbus-glib ··· 7 5 , gtk2, libindicator-gtk2, libdbusmenu-gtk2 8 6 , gtk3, libindicator-gtk3, libdbusmenu-gtk3 9 7 , gtk-doc, vala, gobject-introspection 10 - , monoSupport ? false, mono, gtk-sharp-2_0 11 - }: 8 + , monoSupport ? false, mono, gtk-sharp-2_0, gtk-sharp-3_0 9 + , testers 10 + }: 12 11 13 - stdenv.mkDerivation { 14 - pname = let postfix = if gtkVersion == "2" && monoSupport then "sharp" else "gtk${gtkVersion}"; 12 + let 13 + throwBadGtkVersion = throw "unknown GTK version ${gtkVersion}"; 14 + in 15 + 16 + stdenv.mkDerivation (finalAttrs: { 17 + pname = let postfix = if monoSupport then "sharp" else "gtk${gtkVersion}"; 15 18 in "libappindicator-${postfix}"; 16 19 version = "12.10.1+20.10.20200706.1"; 17 20 ··· 25 28 26 29 nativeBuildInputs = [ pkg-config autoreconfHook vala gobject-introspection gtk-doc ]; 27 30 28 - propagatedBuildInputs = 29 - if gtkVersion == "2" 30 - then [ gtk2 libdbusmenu-gtk2 ] 31 - else [ gtk3 libdbusmenu-gtk3 ]; 31 + propagatedBuildInputs = { 32 + "2" = [ gtk2 libdbusmenu-gtk2 ]; 33 + "3" = [ gtk3 libdbusmenu-gtk3 ]; 34 + }.${gtkVersion} or throwBadGtkVersion; 32 35 33 36 buildInputs = [ 34 37 glib dbus-glib 35 - ] ++ (if gtkVersion == "2" 36 - then [ libindicator-gtk2 ] ++ lib.optionals monoSupport [ mono gtk-sharp-2_0 ] 37 - else [ libindicator-gtk3 ]); 38 + { 39 + "2" = libindicator-gtk2; 40 + "3" = libindicator-gtk3; 41 + }.${gtkVersion} or throwBadGtkVersion 42 + ] ++ lib.optionals monoSupport [ 43 + mono 44 + { 45 + "2" = gtk-sharp-2_0; 46 + "3" = gtk-sharp-3_0; 47 + }.${gtkVersion} or throwBadGtkVersion 48 + ]; 38 49 39 50 preAutoreconf = '' 40 51 gtkdocize ··· 54 65 "localstatedir=\${TMPDIR}" 55 66 ]; 56 67 68 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 69 + 57 70 meta = with lib; { 58 71 description = "A library to allow applications to export a menu into the Unity Menu bar"; 59 72 homepage = "https://launchpad.net/libappindicator"; 60 73 license = with licenses; [ lgpl21 lgpl3 ]; 74 + pkgConfigModules = { 75 + "2" = [ "appindicator-0.1" ]; 76 + "3" = [ "appindicator3-0.1" ]; 77 + }.${gtkVersion} or throwBadGtkVersion; 61 78 platforms = platforms.linux; 62 79 maintainers = [ maintainers.msteen ]; 80 + # TODO: Resolve the issues with the Mono bindings. 81 + broken = monoSupport; 63 82 }; 64 - } 83 + })
+18 -4
pkgs/development/libraries/libdbusmenu/default.nix
··· 3 3 , glib, dbus-glib, json-glib 4 4 , gobject-introspection, vala 5 5 , gtkVersion ? null, gtk2, gtk3 6 + , testers 6 7 }: 7 8 8 - stdenv.mkDerivation rec { 9 + stdenv.mkDerivation (finalAttrs: { 9 10 pname = "libdbusmenu-${if gtkVersion == null then "glib" else "gtk${gtkVersion}"}"; 10 11 version = "16.04.0"; 11 12 12 - src = fetchurl { 13 + src = let 14 + inherit (finalAttrs) version; 15 + in fetchurl { 13 16 url = "https://launchpad.net/dbusmenu/${lib.versions.majorMinor version}/${version}/+download/libdbusmenu-${version}.tar.gz"; 14 17 sha256 = "12l7z8dhl917iy9h02sxmpclnhkdjryn08r8i4sr8l3lrlm4mk5r"; 15 18 }; ··· 18 21 19 22 buildInputs = [ 20 23 glib dbus-glib json-glib 21 - ] ++ lib.optional (gtkVersion != null) (if gtkVersion == "2" then gtk2 else gtk3); 24 + ] ++ lib.optional (gtkVersion != null) 25 + { 26 + "2" = gtk2; 27 + "3" = gtk3; 28 + }.${gtkVersion} or (throw "unknown GTK version ${gtkVersion}"); 22 29 23 30 postPatch = '' 24 31 for f in {configure,ltmain.sh,m4/libtool.m4}; do ··· 37 44 "CFLAGS=-Wno-error" 38 45 "--sysconfdir=/etc" 39 46 "--localstatedir=/var" 47 + # TODO use `lib.withFeatureAs` 40 48 (if gtkVersion == null then "--disable-gtk" else "--with-gtk=${gtkVersion}") 41 49 "--disable-scrollkeeper" 42 50 ] ++ lib.optional (gtkVersion != "2") "--disable-dumper"; ··· 49 57 "typelibdir=${placeholder "out"}/lib/girepository-1.0" 50 58 ]; 51 59 60 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 61 + 52 62 meta = with lib; { 53 63 description = "Library for passing menu structures across DBus"; 54 64 homepage = "https://launchpad.net/dbusmenu"; 55 65 license = with licenses; [ gpl3 lgpl21 lgpl3 ]; 66 + pkgConfigModules = [ 67 + "dbusmenu-glib-0.4" 68 + "dbusmenu-jsonloader-0.4" 69 + ] ++ lib.optional (gtkVersion == "3") "dbusmenu-gtk${gtkVersion}-0.4"; 56 70 platforms = platforms.linux; 57 71 maintainers = [ maintainers.msteen ]; 58 72 }; 59 - } 73 + })
+7 -3
pkgs/development/libraries/libdevil/default.nix
··· 13 13 , OpenGL 14 14 , runtimeShell 15 15 , withXorg ? true 16 + , testers 16 17 }: 17 18 18 - stdenv.mkDerivation rec { 19 + stdenv.mkDerivation (finalAttrs: { 19 20 pname = "libdevil"; 20 21 version = "1.7.8"; 21 22 22 23 outputs = [ "out" "dev" ]; 23 24 24 25 src = fetchurl { 25 - url = "mirror://sourceforge/openil/DevIL-${version}.tar.gz"; 26 + url = "mirror://sourceforge/openil/DevIL-${finalAttrs.version}.tar.gz"; 26 27 sha256 = "1zd850nn7nvkkhasrv7kn17kzgslr5ry933v6db62s4lr0zzlbv8"; 27 28 }; 28 29 ··· 63 64 done 64 65 ''; 65 66 67 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 68 + 66 69 meta = with lib; { 67 70 homepage = "https://openil.sourceforge.net/"; 68 71 description = "An image library which can can load, save, convert, manipulate, filter and display a wide variety of image formats"; 69 72 license = licenses.lgpl2; 73 + pkgConfigModules = [ "IL" ]; 70 74 platforms = platforms.mesaPlatforms; 71 75 maintainers = with maintainers; [ ]; 72 76 }; 73 - } 77 + })
+4 -2
pkgs/development/libraries/libfyaml/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libfyaml"; 5 - version = "0.7.12"; 5 + version = "0.8"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "pantoniou"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-gmVjiwf8PsDYRt8jmXNrd+hJSL099hbLjq8Z0c1u2HE="; 11 + hash = "sha256-b/jRKe23NIVSydoczI+Ax2VjBJLfAEwF8SW61vIDTwA="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ autoreconfHook pkg-config ]; 15 + 16 + outputs = [ "bin" "dev" "out" "man" ]; 15 17 16 18 doCheck = true; 17 19
+2 -2
pkgs/development/libraries/libpg_query/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libpg_query"; 5 - version = "15-4.1.0"; 5 + version = "15-4.2.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "pganalyze"; 9 9 repo = "libpg_query"; 10 10 rev = version; 11 - hash = "sha256-uZdszDE0UJVeegU1bi0ISYooC4ztNv7W4UQ2gWIjrH8="; 11 + hash = "sha256-2fPdvsfuXKaRwkPjsPsBBfP0+yUgYXEUzQNFZfhyvGk="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ which ];
+2 -2
pkgs/development/libraries/librime/default.nix
··· 10 10 in 11 11 stdenv.mkDerivation rec { 12 12 pname = "librime"; 13 - version = "1.8.4"; 13 + version = "1.8.5"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "rime"; 17 17 repo = pname; 18 18 rev = version; 19 - sha256 = "sha256-FcEthx5uaTROmW+wrWdpRoVT8o5Ok0HgkllMut/FEyM="; 19 + sha256 = "sha256-FkkZIxSuqlFFOjABBpnE5ax2Vdo9tzP0prM7ATDIIdk="; 20 20 }; 21 21 22 22 nativeBuildInputs = [ cmake pkg-config ];
+9 -3
pkgs/development/libraries/mesa/stubs.nix
··· 1 1 { stdenv 2 2 , libglvnd, mesa 3 - , OpenGL }: 3 + , OpenGL 4 + , testers 5 + }: 4 6 5 - stdenv.mkDerivation { 7 + stdenv.mkDerivation (finalAttrs: { 6 8 inherit (libglvnd) version; 7 9 pname = "libGL"; 8 10 outputs = [ "out" "dev" ]; ··· 72 74 genPkgConfig glesv1_cm GLESv1_CM 73 75 genPkgConfig glesv2 GLESv2 74 76 ''; 75 - } 77 + 78 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 79 + 80 + meta.pkgConfigModules = [ "gl" "egl" "glesv1_cm" "glesv2" ]; 81 + })
+2 -2
pkgs/development/libraries/mvapich/default.nix
··· 14 14 15 15 stdenv.mkDerivation rec { 16 16 pname = "mvapich"; 17 - version = "2.3.6"; 17 + version = "2.3.7"; 18 18 19 19 src = fetchurl { 20 20 url = "http://mvapich.cse.ohio-state.edu/download/mvapich/mv2/mvapich2-${version}.tar.gz"; 21 - sha256 = "0jd28vy9ivl3rcpkxmhw73b6krzm0pd9jps8asw92wa00lm2z9mk"; 21 + sha256 = "sha256-w5pEkvS+UN9hAHhXSLoolOI85FCpQSgYHVFtpXV3Ua4="; 22 22 }; 23 23 24 24 nativeBuildInputs = [ pkg-config bison makeWrapper gfortran ];
+13 -3
pkgs/development/libraries/ncurses/default.nix
··· 8 8 , withCxx ? !stdenv.hostPlatform.useAndroidPrebuilt 9 9 , mouseSupport ? false, gpm 10 10 , unicodeSupport ? true 11 + , testers 11 12 }: 12 13 13 - stdenv.mkDerivation rec { 14 + stdenv.mkDerivation (finalAttrs: { 14 15 version = "6.4"; 15 16 pname = "ncurses" + lib.optionalString (abiVersion == "5") "-abi5-compat"; 16 17 17 18 src = fetchurl { 18 - url = "https://invisible-island.net/archives/ncurses/ncurses-${version}.tar.gz"; 19 + url = "https://invisible-island.net/archives/ncurses/ncurses-${finalAttrs.version}.tar.gz"; 19 20 hash = "sha256-aTEoPZrIfFBz8wtikMTHXyFjK7T8NgOsgQCBK+0kgVk="; 20 21 }; 21 22 ··· 169 170 ANSI/POSIX-conforming UNIX. It has even been ported to OS/2 Warp! 170 171 ''; 171 172 license = licenses.mit; 173 + pkgConfigModules = let 174 + base = [ 175 + "form" 176 + "menu" 177 + "ncurses" 178 + "panel" 179 + ] ++ lib.optional withCxx "ncurses++"; 180 + in base ++ lib.optionals unicodeSupport (map (p: p + "w") base); 172 181 platforms = platforms.all; 173 182 }; 174 183 175 184 passthru = { 176 185 ldflags = "-lncurses"; 177 186 inherit unicodeSupport abiVersion; 187 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 178 188 }; 179 - } 189 + })
+5
pkgs/development/libraries/nghttp3/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub 2 2 , autoreconfHook, pkg-config, file 3 3 , cunit, ncurses 4 + , curlHTTP3 4 5 }: 5 6 6 7 stdenv.mkDerivation rec { ··· 25 26 26 27 doCheck = true; 27 28 enableParallelBuilding = true; 29 + 30 + passthru.tests = { 31 + inherit curlHTTP3; 32 + }; 28 33 29 34 meta = with lib; { 30 35 homepage = "https://github.com/ngtcp2/nghttp3";
+5
pkgs/development/libraries/ngtcp2/default.nix
··· 3 3 , libev, nghttp3, quictls 4 4 , cunit, ncurses 5 5 , withJemalloc ? false, jemalloc 6 + , curlHTTP3 6 7 }: 7 8 8 9 stdenv.mkDerivation rec { ··· 28 29 29 30 doCheck = true; 30 31 enableParallelBuilding = true; 32 + 33 + passthru.tests = { 34 + inherit curlHTTP3; 35 + }; 31 36 32 37 meta = with lib; { 33 38 homepage = "https://github.com/ngtcp2/ngtcp2";
+42
pkgs/development/libraries/science/chemistry/harminv/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , autoreconfHook 5 + , gfortran 6 + , blas 7 + , lapack 8 + }: 9 + 10 + assert !blas.isILP64; 11 + assert !lapack.isILP64; 12 + 13 + stdenv.mkDerivation rec { 14 + pname = "harminv"; 15 + version = "1.4.2"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "NanoComp"; 19 + repo = pname; 20 + rev = "v${version}"; 21 + hash = "sha256-EXEt7l69etcBdDdEDlD1ODOdhTBZCVjgY1jhRUDd/W0="; 22 + }; 23 + 24 + # File is missing in the git checkout but required by autotools 25 + postPatch = '' 26 + touch ChangeLog 27 + ''; 28 + 29 + nativeBuildInputs = [ autoreconfHook gfortran ]; 30 + 31 + buildInputs = [ blas lapack ]; 32 + 33 + configureFlags = [ "--enable-shared" ]; 34 + 35 + meta = with lib; { 36 + description = "Harmonic inversion algorithm of Mandelshtam: decompose signal into sum of decaying sinusoids"; 37 + homepage = "https://github.com/NanoComp/harminv"; 38 + license = with licenses; [ gpl2Only ]; 39 + maintainers = with maintainers; [ sheepforce markuskowa ]; 40 + platforms = platforms.linux; 41 + }; 42 + }
+32
pkgs/development/libraries/science/chemistry/libGDSII/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , autoreconfHook 5 + }: 6 + 7 + stdenv.mkDerivation rec { 8 + pname = "libGDSII"; 9 + version = "0.21"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "HomerReid"; 13 + repo = pname; 14 + rev = "v${version}"; 15 + hash = "sha256-EXEt7l69etcBdDdEDlD1ODOdhTBZCVjgY1jhRUDd/W0="; 16 + }; 17 + 18 + # File is missing in the repo but automake requires it 19 + postPatch = '' 20 + touch ChangeLog 21 + ''; 22 + 23 + nativeBuildInputs = [ autoreconfHook ]; 24 + 25 + meta = with lib; { 26 + description = "Library and command-line utility for reading GDSII geometry files"; 27 + homepage = "https://github.com/HomerReid/libGDSII"; 28 + license = [ licenses.gpl2Only ]; 29 + maintainers = with maintainers; [ sheepforce markuskowa ]; 30 + platforms = platforms.linux; 31 + }; 32 + }
+2 -2
pkgs/development/python-modules/aesedb/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "aesedb"; 14 - version = "0.1.0"; 14 + version = "0.1.1"; 15 15 format = "setuptools"; 16 16 17 17 disabled = pythonOlder "3.7"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - hash = "sha256-TetXhDrWG6MECm/nhsZDUwcOJwP5drFO+YLarGC2pak="; 21 + hash = "sha256-pnbzPVXr3qgBH7t5wNR+jbTdQGMdnLpV+xfgQjdc+7A="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/ailment/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "ailment"; 11 - version = "9.2.36"; 11 + version = "9.2.37"; 12 12 format = "pyproject"; 13 13 14 14 disabled = pythonOlder "3.8"; ··· 17 17 owner = "angr"; 18 18 repo = pname; 19 19 rev = "v${version}"; 20 - hash = "sha256-PEX2SanglMqjtJHuH+gA5dnikh7qqLFiXbmrcIzs1+A="; 20 + hash = "sha256-MFQiLOCqEAKzST7voMIQH0TYGuwICSVBcQZwUkk9S1Q="; 21 21 }; 22 22 23 23 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/aiohomekit/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "aiohomekit"; 21 - version = "2.4.6"; 21 + version = "2.5.0"; 22 22 format = "pyproject"; 23 23 24 24 disabled = pythonOlder "3.9"; ··· 27 27 owner = "Jc2k"; 28 28 repo = pname; 29 29 rev = "refs/tags/${version}"; 30 - hash = "sha256-QCPZaxVCQSckZ7qjV9wF7YqgTOFPbRy4xOQVDvReav4="; 30 + hash = "sha256-uFmQLeGPnFDABA4Uu1sL/2uUJnL+feclpGyJyISJx2E="; 31 31 }; 32 32 33 33 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/angr/default.nix
··· 31 31 32 32 buildPythonPackage rec { 33 33 pname = "angr"; 34 - version = "9.2.36"; 34 + version = "9.2.37"; 35 35 format = "pyproject"; 36 36 37 37 disabled = pythonOlder "3.8"; ··· 40 40 owner = pname; 41 41 repo = pname; 42 42 rev = "v${version}"; 43 - hash = "sha256-KVIrhzd3EoDIVImshfjZrBAiNkCtlFAd6Ox9ATsvPTY="; 43 + hash = "sha256-sl3GzNMN90ez1Zks43B2How7QTaaJZbxOxK2hl/UzdQ="; 44 44 }; 45 45 46 46 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/archinfo/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "archinfo"; 11 - version = "9.2.36"; 11 + version = "9.2.37"; 12 12 format = "pyproject"; 13 13 14 14 disabled = pythonOlder "3.8"; ··· 17 17 owner = "angr"; 18 18 repo = pname; 19 19 rev = "v${version}"; 20 - hash = "sha256-anZsvDIH1AWaFUG5UTuyQiOKeoUB/+MSbu5pjPZJxag="; 20 + hash = "sha256-WGc6FmrS0aVmiY5s8fUVHCT6cqcmj52H6FD2TR1HyK0="; 21 21 }; 22 22 23 23 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/azure-mgmt-datalake-store/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "azure-mgmt-datalake-store"; 12 - version = "0.5.0"; 12 + version = "1.0.0"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 16 extension = "zip"; 17 - sha256 = "sha256-k3bTVJVmHRn4rMVgT2ewvFlJOxg1u8SA+aGVL5ABekw="; 17 + sha256 = "sha256-GrmVK97M+iojevPLVTuLmfQRLxvrHtr9DRHymJvLYHE="; 18 18 }; 19 19 20 20 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/browser-cookie3/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "browser-cookie3"; 15 - version = "0.16.5"; 15 + version = "0.17.0"; 16 16 format = "setuptools"; 17 17 18 18 disabled = pythonOlder "3.7"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - hash = "sha256-i2Ib7OGnoimiZ2R/vGe6phPhA8lEP0BJ/gP1q9RVeiU="; 22 + hash = "sha256-fyyZ7pkNlD6MH1+SRUYjU0mXMUsZJ3qhOqJrcmJ/hgc="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/claripy/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "claripy"; 16 - version = "9.2.36"; 16 + version = "9.2.37"; 17 17 format = "pyproject"; 18 18 19 19 disabled = pythonOlder "3.8"; ··· 22 22 owner = "angr"; 23 23 repo = pname; 24 24 rev = "refs/tags/v${version}"; 25 - hash = "sha256-gF8T1ZTvTjyt+kEOxI3ryDJOZv4go54VTxSGEdUyGt4="; 25 + hash = "sha256-8kABsLp3Nrzjn7staiNfU6HdQTu1x6DNQzilMceqKVY="; 26 26 }; 27 27 28 28 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/cle/default.nix
··· 16 16 17 17 let 18 18 # The binaries are following the argr projects release cycle 19 - version = "9.2.36"; 19 + version = "9.2.37"; 20 20 21 21 # Binary files from https://github.com/angr/binaries (only used for testing and only here) 22 22 binaries = fetchFromGitHub { ··· 38 38 owner = "angr"; 39 39 repo = pname; 40 40 rev = "v${version}"; 41 - hash = "sha256-XqoBFV87m/uz0proGDtbaewsoY8vsA6ToGwdv7xvO9Y="; 41 + hash = "sha256-vgH8UAR8B4l29RH0dwMlGVjOHgdcOTfLMHPiKN9Z36s="; 42 42 }; 43 43 44 44 nativeBuildInputs = [
+3 -2
pkgs/development/python-modules/django-rq/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "django-rq"; 13 - version = "2.6.0"; 13 + version = "2.7.0"; 14 14 format = "setuptools"; 15 15 disabled = isPy27; 16 16 ··· 18 18 owner = "rq"; 19 19 repo = pname; 20 20 rev = "refs/tags/v${version}"; 21 - sha256 = "sha256-Na/GeQc74LCoi7Dp3HcSnmUaLi1EjyYYgZTcFyzqOQM="; 21 + hash = "sha256-MUIwgG8GKL+V5GgiC7gZXn5tlSVrmTj/IFiP+hVB7Ks="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [ ··· 37 37 meta = with lib; { 38 38 description = "Simple app that provides django integration for RQ (Redis Queue)"; 39 39 homepage = "https://github.com/rq/django-rq"; 40 + changelog = "https://github.com/rq/django-rq/releases/tag/v${version}"; 40 41 license = licenses.mit; 41 42 maintainers = with maintainers; [ hexa ]; 42 43 };
+2 -2
pkgs/development/python-modules/dvc-data/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "dvc-data"; 18 - version = "0.36.2"; 18 + version = "0.38.1"; 19 19 format = "pyproject"; 20 20 21 21 disabled = pythonOlder "3.8"; ··· 24 24 owner = "iterative"; 25 25 repo = pname; 26 26 rev = "refs/tags/${version}"; 27 - hash = "sha256-HKNltc5pWc0mU+yCj/PV9E6GYQ+3fbcacRRXtquGM4w="; 27 + hash = "sha256-xuNxsG8wMpdwyA0BkEYepnGjIZGmUzTivN5paLtM68Q="; 28 28 }; 29 29 30 30 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+2 -2
pkgs/development/python-modules/dvc-objects/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "dvc-objects"; 19 - version = "0.19.0"; 19 + version = "0.19.3"; 20 20 format = "pyproject"; 21 21 22 22 disabled = pythonOlder "3.8"; ··· 25 25 owner = "iterative"; 26 26 repo = pname; 27 27 rev = "refs/tags/${version}"; 28 - hash = "sha256-jwjhRY1SMqiTZ5UJmoZb4odg3g8uC9ehPmxRU2VsH8U="; 28 + hash = "sha256-oKK+BhOgdRPZZAACgxgmr9rlzEH9yWmvbmx09d42u/Y="; 29 29 }; 30 30 31 31 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+17 -19
pkgs/development/python-modules/jupyter-book/default.nix
··· 3 3 , fetchPypi 4 4 , pythonOlder 5 5 , flit-core 6 + , pythonRelaxDepsHook 6 7 , click 7 8 , docutils 8 9 , jinja2 ··· 25 26 26 27 buildPythonPackage rec { 27 28 pname = "jupyter-book"; 28 - version = "0.13.1"; 29 + version = "0.13.2"; 29 30 30 31 format = "flit"; 31 32 ··· 33 34 34 35 src = fetchPypi { 35 36 inherit pname version; 36 - sha256 = "sha256-RgpC/H4J3kbdZsKuwYu7EOKCqcgM2v4uUsm6PVFknQE="; 37 + sha256 = "sha256-wJWY0tBrlCkOFDfGZS4xWvv87sOlyrNl3fiGqgayqTs="; 37 38 }; 38 39 39 - postPatch = '' 40 - substituteInPlace pyproject.toml \ 41 - --replace "jsonschema<4" "jsonschema" \ 42 - --replace "sphinx-external-toc~=0.2.3" "sphinx-external-toc" \ 43 - --replace "sphinx-jupyterbook-latex~=0.4.6" "sphinx-jupyterbook-latex" \ 44 - --replace "sphinx-thebe~=0.1.1" "sphinx-thebe" \ 45 - --replace "sphinx>=4,<5" "sphinx" \ 46 - --replace "sphinx_book_theme~=0.3.2" "sphinx_book_theme" \ 47 - --replace "myst-nb~=0.13.1" "myst-nb" \ 48 - --replace "docutils>=0.15,<0.18" "docutils" \ 49 - --replace "sphinx-design~=0.1.0" "sphinx-design" \ 50 - --replace "linkify-it-py~=1.0.1" "linkify-it-py" 51 - ''; 52 - 53 - nativeBuildInputs = [ flit-core ]; 40 + nativeBuildInputs = [ 41 + flit-core 42 + pythonRelaxDepsHook 43 + ]; 54 44 55 45 propagatedBuildInputs = [ 56 46 click ··· 73 63 sphinx-multitoc-numbering 74 64 ]; 75 65 76 - pythonImportsCheck = [ "jupyter_book" ]; 66 + pythonRelaxDeps = [ 67 + "docutils" 68 + "myst-nb" 69 + "sphinx" 70 + ]; 71 + 72 + pythonImportsCheck = [ 73 + "jupyter_book" 74 + ]; 77 75 78 76 meta = with lib; { 79 77 description = "Build a book with Jupyter Notebooks and Sphinx"; 80 - homepage = "https://executablebooks.org/"; 78 + homepage = "https://jupyterbook.org/"; 81 79 license = licenses.bsd3; 82 80 maintainers = with maintainers; [ marsam ]; 83 81 };
+2 -2
pkgs/development/python-modules/karton-core/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "karton-core"; 11 - version = "5.0.0"; 11 + version = "5.0.1"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "CERT-Polska"; 15 15 repo = "karton"; 16 16 rev = "refs/tags/v${version}"; 17 - hash = "sha256-0B2u2xnrGc3iQ8B9iAQ3fcovQQCPqdFsn5evgdDwg5M="; 17 + hash = "sha256-TKO0l0AKsC9MMB58ao/EXcJ9k/J3y3S9tc127H7vA6w="; 18 18 }; 19 19 20 20 propagatedBuildInputs = [
+151
pkgs/development/python-modules/meep/default.nix
··· 1 + { stdenv 2 + , lib 3 + , buildPythonPackage 4 + , fetchFromGitHub 5 + , autoreconfHook 6 + , pkg-config 7 + , gfortran 8 + , mpi 9 + , blas 10 + , lapack 11 + , fftw 12 + , hdf5-mpi 13 + , swig 14 + , gsl 15 + , harminv 16 + , libctl 17 + , libGDSII 18 + , openssh 19 + , guile 20 + , python 21 + , numpy 22 + , scipy 23 + , matplotlib 24 + , h5py-mpi 25 + , cython 26 + , autograd 27 + , mpi4py 28 + }: 29 + 30 + assert !blas.isILP64; 31 + assert !lapack.isILP64; 32 + 33 + buildPythonPackage rec { 34 + pname = "meep"; 35 + version = "1.25.0"; 36 + 37 + src = fetchFromGitHub { 38 + owner = "NanoComp"; 39 + repo = pname; 40 + rev = "v${version}"; 41 + hash = "sha256-4rIz2RXLSWzZbRuv8d4nidOa0ULYc4QHIdaYrGu1WkI="; 42 + }; 43 + 44 + format = "other"; 45 + 46 + # MPI is needed in nativeBuildInputs too, otherwise MPI libs will be missing 47 + # at runtime 48 + nativeBuildInputs = [ 49 + autoreconfHook 50 + gfortran 51 + pkg-config 52 + swig 53 + mpi 54 + ]; 55 + 56 + buildInputs = [ 57 + gsl 58 + blas 59 + lapack 60 + fftw 61 + hdf5-mpi 62 + harminv 63 + libctl 64 + libGDSII 65 + guile 66 + gsl 67 + ]; 68 + 69 + propagatedBuildInputs = [ 70 + mpi 71 + numpy 72 + scipy 73 + matplotlib 74 + h5py-mpi 75 + cython 76 + autograd 77 + mpi4py 78 + ]; 79 + 80 + propagatedUserEnvPkgs = [ mpi ]; 81 + 82 + dontUseSetuptoolsBuild = true; 83 + dontUsePipInstall = true; 84 + dontUseSetuptoolsCheck = true; 85 + 86 + enableParallelBuilding = true; 87 + 88 + preConfigure = '' 89 + export HDF5_MPI=ON 90 + export PYTHON=${python}/bin/${python.executable}; 91 + ''; 92 + 93 + configureFlags = [ 94 + "--without-libctl" 95 + "--enable-shared" 96 + "--with-mpi" 97 + "--with-openmp" 98 + "--enable-maintainer-mode" 99 + ]; 100 + 101 + passthru = { inherit mpi; }; 102 + 103 + /* 104 + This test is taken from the MEEP tutorial "Fields in a Waveguide" at 105 + <https://meep.readthedocs.io/en/latest/Python_Tutorials/Basics/>. 106 + It is important, that the test actually performs a calculation 107 + (calls `sim.run()`), as only then MPI will be initialised and MPI linking 108 + errors can be caught. 109 + */ 110 + doCheck = true; 111 + checkPhase = '' 112 + export PATH=$PATH:${openssh}/bin 113 + export PYTHONPATH="$out/lib/${python.libPrefix}/site-packages:$PYTHONPATH" 114 + 115 + export OMP_NUM_THREADS=1 116 + 117 + # Fix to make mpich run in a sandbox 118 + export HYDRA_IFACE=lo 119 + export OMPI_MCA_rmaps_base_oversubscribe=1 120 + 121 + # Generate a python test script 122 + cat > test.py << EOF 123 + import meep as mp 124 + cell = mp.Vector3(16,8,0) 125 + geometry = [mp.Block(mp.Vector3(mp.inf,1,mp.inf), 126 + center=mp.Vector3(), 127 + material=mp.Medium(epsilon=12))] 128 + sources = [mp.Source(mp.ContinuousSource(frequency=0.15), 129 + component=mp.Ez, 130 + center=mp.Vector3(-7,0))] 131 + pml_layers = [mp.PML(1.0)] 132 + resolution = 10 133 + sim = mp.Simulation(cell_size=cell, 134 + boundary_layers=pml_layers, 135 + geometry=geometry, 136 + sources=sources, 137 + resolution=resolution) 138 + sim.run(until=200) 139 + EOF 140 + 141 + ${mpi}/bin/mpiexec -np 2 python3 test.py 142 + ''; 143 + 144 + meta = with lib; { 145 + description = "Free finite-difference time-domain (FDTD) software for electromagnetic simulations"; 146 + homepage = "https://meep.readthedocs.io/en/latest/"; 147 + license = licenses.gpl2Only; 148 + platforms = platforms.linux; 149 + maintainers = with maintainers; [ sheepforce markuskowa ]; 150 + }; 151 + }
+2 -2
pkgs/development/python-modules/openai/default.nix
··· 23 23 24 24 buildPythonPackage rec { 25 25 pname = "openai"; 26 - version = "0.26.4"; 26 + version = "0.26.5"; 27 27 format = "setuptools"; 28 28 29 29 disabled = pythonOlder "3.7.1"; ··· 32 32 owner = "openai"; 33 33 repo = "openai-python"; 34 34 rev = "v${version}"; 35 - hash = "sha256-WcUH6zbb5kIH0qk67M+lUx9CbMEbYDXQm6IVzzuQo9w="; 35 + hash = "sha256-eKU+WRFf7f1yH63vcoQ9dVeqhJXBqMJGpk/9AoEgR0M="; 36 36 }; 37 37 38 38 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/peaqevcore/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "peaqevcore"; 9 - version = "11.1.2"; 9 + version = "11.2.0"; 10 10 format = "setuptools"; 11 11 12 12 disabled = pythonOlder "3.7"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - hash = "sha256-ZuXc/7xCCFl20+GAMpL1c4iavjr7iR0pTvAoDCMnxx4="; 16 + hash = "sha256-L4QUQsLdFwJPGq8ZdpTHRv5dNn1o6lc1q37LVNNCOOM="; 17 17 }; 18 18 19 19 postPatch = ''
+2 -2
pkgs/development/python-modules/pontos/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "pontos"; 19 - version = "23.2.0"; 19 + version = "23.2.4"; 20 20 format = "pyproject"; 21 21 22 22 disabled = pythonOlder "3.7"; ··· 25 25 owner = "greenbone"; 26 26 repo = pname; 27 27 rev = "refs/tags/v${version}"; 28 - hash = "sha256-4GIfXHDY2g6dhvymYzunK2UWxJcO37dXQbI2jxOIwCw="; 28 + hash = "sha256-tunFd+hgaRx5wc1gRwZaNUEX550Rl1NR9rZfEWUw6H4="; 29 29 }; 30 30 31 31 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/py-synologydsm-api/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "py-synologydsm-api"; 14 - version = "2.1.2"; 14 + version = "2.1.4"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.8"; ··· 20 20 owner = "mib1185"; 21 21 repo = "py-synologydsm-api"; 22 22 rev = "refs/tags/v${version}"; 23 - hash = "sha256-dugWA/Ruc/BhPBbo2bTXf225YndDl0t2vc+NeutaO58="; 23 + hash = "sha256-37JzdhMny6YDTBO9NRzfrZJAVAOPnpcr95fOKxisbTg="; 24 24 }; 25 25 26 26 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/pyathena/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "pyathena"; 14 - version = "2.19.0"; 14 + version = "2.21.0"; 15 15 format = "setuptools"; 16 16 17 17 disabled = pythonOlder "3.7"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - hash = "sha256-59NH4HIhgDOxwgSUJq71ewpQTn2sbpNNT9Q3nj8qJss="; 21 + hash = "sha256-DhG8JdYVRrsRuXsmlUzp7HDRlBsI/pLMBDzYqIzmae4="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pyisy/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "pyisy"; 14 - version = "3.1.11"; 14 + version = "3.1.13"; 15 15 format = "setuptools"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 20 20 owner = "automicus"; 21 21 repo = "PyISY"; 22 22 rev = "refs/tags/v${version}"; 23 - hash = "sha256-RYC0mfskDcCU9O2pSKRL9ulPUaJQO9UKp7WANXZWJ60="; 23 + hash = "sha256-FjreG+xjX8f68nUq/4HHEaYcUYjU/9sYvzmIN6kXezU="; 24 24 }; 25 25 26 26 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+61
pkgs/development/python-modules/python-zbar/0001-python-enum-fix-build-for-Python-3.11.patch
··· 1 + From 64de7911d2938fc3601fec39c08008465b9d4f6f Mon Sep 17 00:00:00 2001 2 + From: Nick Cao <nickcao@nichi.co> 3 + Date: Tue, 7 Feb 2023 17:12:50 +0800 4 + Subject: [PATCH] python: enum: fix build for Python 3.11 5 + MIME-Version: 1.0 6 + Content-Type: text/plain; charset=UTF-8 7 + Content-Transfer-Encoding: 8bit 8 + 9 + Python 3.9 introduced Py_SET_SIZE function to set size instead of 10 + relying on Py_SIZE() as a macro [3.9]. 11 + 12 + Python 3.10 started to encourage to use Py_SET_SIZE instead of 13 + assigning into return value of Py_SIZE [3.10]. 14 + 15 + Python 3.11 flips the switch, turn Py_SIZE into a function [3.11], 16 + thus Py_SIZE(obj) will be a rvalue. We need to use Py_SET_SIZE 17 + to set size now. 18 + 19 + [3.9]: https://docs.python.org/3.9/c-api/structures.html#c.Py_SET_SIZE 20 + [3.10]: https://docs.python.org/3.10/c-api/structures.html#c.Py_SIZE 21 + [3.11]: https://docs.python.org/3.11/c-api/structures.html#c.Py_SIZE 22 + 23 + Adapted from https://github.com/mchehab/zbar/pull/231 24 + 25 + Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com> 26 + Signed-off-by: Nick Cao <nickcao@nichi.co> 27 + --- 28 + python/enum.c | 8 ++++++++ 29 + 1 file changed, 8 insertions(+) 30 + 31 + diff --git a/python/enum.c b/python/enum.c 32 + index dfe1b1e..4833a20 100644 33 + --- a/python/enum.c 34 + +++ b/python/enum.c 35 + @@ -52,7 +52,11 @@ enumitem_new (PyTypeObject *type, 36 + 37 + /* we assume the "fast path" for a single-digit ints (see longobject.c) */ 38 + /* this also holds if we get a small_int preallocated long */ 39 + +#if PY_VERSION_HEX >= 0x030900A4 40 + + Py_SET_SIZE(&self->val, Py_SIZE(longval)); 41 + +#else 42 + Py_SIZE(&self->val) = Py_SIZE(longval); 43 + +#endif 44 + self->val.ob_digit[0] = longval->ob_digit[0]; 45 + Py_DECREF(longval); 46 + #else 47 + @@ -143,7 +147,11 @@ zbarEnumItem_New (PyObject *byname, 48 + 49 + /* we assume the "fast path" for a single-digit ints (see longobject.c) */ 50 + /* this also holds if we get a small_int preallocated long */ 51 + +#if PY_VERSION_HEX >= 0x030900A4 52 + + Py_SET_SIZE(&self->val, Py_SIZE(longval)); 53 + +#else 54 + Py_SIZE(&self->val) = Py_SIZE(longval); 55 + +#endif 56 + self->val.ob_digit[0] = longval->ob_digit[0]; 57 + Py_DECREF(longval); 58 + 59 + -- 60 + 2.39.1 61 +
+14 -1
pkgs/development/python-modules/python-zbar/default.nix
··· 1 - { lib , buildPythonPackage , fetchFromGitHub , pillow , zbar , pytestCheckHook }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pillow 5 + , zbar 6 + , pytestCheckHook 7 + }: 2 8 3 9 buildPythonPackage rec { 4 10 pname = "python-zbar"; ··· 11 17 rev = version; 12 18 sha256 = "sha256-FvV7TMc4JbOiRjWLka0IhtpGGqGm5fis7h870OmJw2U="; 13 19 }; 20 + 21 + patches = [ 22 + # python: enum: fix build for Python 3.11 23 + # https://github.com/mchehab/zbar/pull/231 24 + # the patch is reworked as it does not cleanly apply 25 + ./0001-python-enum-fix-build-for-Python-3.11.patch 26 + ]; 14 27 15 28 propagatedBuildInputs = [ pillow ]; 16 29
+2 -2
pkgs/development/python-modules/pyutil/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "pyutil"; 12 - version = "3.3.0"; 12 + version = "3.3.2"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "8c4d4bf668c559186389bb9bce99e4b1b871c09ba252a756ccaacd2b8f401848"; 16 + sha256 = "sha256-6hbSxVtvg0Eh3rYyp0VLCg+uJdXRMLFfa+l667B2yfw="; 17 17 }; 18 18 19 19 propagatedBuildInputs = [ simplejson ];
+2 -2
pkgs/development/python-modules/pyvex/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "pyvex"; 16 - version = "9.2.36"; 16 + version = "9.2.37"; 17 17 format = "pyproject"; 18 18 19 19 disabled = pythonOlder "3.8"; 20 20 21 21 src = fetchPypi { 22 22 inherit pname version; 23 - hash = "sha256-KV/fkgYUt8hfpGxDO3CNNrC91BaI9W8T2mr2H4eJdxo="; 23 + hash = "sha256-JGTfOE16tycBkbsihKPgSZPlfqun1vr/86kAlNwrSZA="; 24 24 }; 25 25 26 26 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/requests-aws4auth/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "requests-aws4auth"; 14 - version = "1.2.1"; 14 + version = "1.2.2"; 15 15 format = "setuptools"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 20 20 owner = "tedder"; 21 21 repo = pname; 22 22 rev = "refs/tags/v${version}"; 23 - hash = "sha256-Dr3i+5xTKLKOMjGkCdKhkK2BCV8/FgTGMtGsYtvB5s8="; 23 + hash = "sha256-RbaRFMyvK3y7xN+xwNi/lHJjx+xIlpfizJj9BIn6cT4="; 24 24 }; 25 25 26 26 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/rpy2/default.nix
··· 24 24 }: 25 25 26 26 buildPythonPackage rec { 27 - version = "3.5.7"; 27 + version = "3.5.8"; 28 28 pname = "rpy2"; 29 29 30 30 disabled = isPyPy; 31 31 src = fetchPypi { 32 32 inherit version pname; 33 - sha256 = "sha256-h6QJA3m0/DTn86Q0cXMJBndsNzmIhwhqgDV9ZP3QZUs="; 33 + sha256 = "sha256-ImEfIbxSeYCH+5gwlwXxolz76L/Sf7/u6gHz01L92yk="; 34 34 }; 35 35 36 36 patches = [
+53
pkgs/development/python-modules/sentence-transformers/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , huggingface-hub 5 + , nltk 6 + , numpy 7 + , scikit-learn 8 + , scipy 9 + , sentencepiece 10 + , tokenizers 11 + , torch 12 + , torchvision 13 + , tqdm 14 + , transformers 15 + }: 16 + 17 + buildPythonPackage rec { 18 + pname = "sentence-transformers"; 19 + version = "2.2.2"; 20 + format = "setuptools"; 21 + 22 + src = fetchFromGitHub { 23 + owner = "UKPLab"; 24 + repo = "sentence-transformers"; 25 + rev = "v${version}"; 26 + hash = "sha256-hEYpDAL0lliaS1j+c5vaZ0q1hw802jfTUurx/FvgY9w="; 27 + }; 28 + 29 + propagatedBuildInputs = [ 30 + huggingface-hub 31 + nltk 32 + numpy 33 + scikit-learn 34 + scipy 35 + sentencepiece 36 + tokenizers 37 + torch 38 + torchvision 39 + tqdm 40 + transformers 41 + ]; 42 + 43 + pythonImportsCheck = [ "sentence_transformers" ]; 44 + 45 + doCheck = false; # tests fail at build_ext 46 + 47 + meta = with lib; { 48 + description = "Multilingual Sentence & Image Embeddings with BERT"; 49 + homepage = "https://github.com/UKPLab/sentence-transformers"; 50 + license = licenses.asl20; 51 + maintainers = with maintainers; [ dit7ya ]; 52 + }; 53 + }
+4
pkgs/development/python-modules/soundfile/default.nix
··· 29 29 propagatedBuildInputs = [ numpy libsndfile cffi ]; 30 30 propagatedNativeBuildInputs = [ cffi ]; 31 31 32 + preConfigure = lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) '' 33 + export PYSOUNDFILE_ARCHITECTURE=x86_64 34 + ''; 35 + 32 36 meta = { 33 37 description = "An audio library based on libsndfile, CFFI and NumPy"; 34 38 license = lib.licenses.bsd3;
+2 -2
pkgs/development/python-modules/sqltrie/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "sqltrie"; 14 - version = "0.0.27"; 14 + version = "0.0.28"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.8"; ··· 20 20 owner = "iterative"; 21 21 repo = pname; 22 22 rev = "refs/tags/${version}"; 23 - hash = "sha256-8ymTdbJgRUf9BBNMEVF1lm29qA+N1629cekEohaxt0c="; 23 + hash = "sha256-i1IFkibQ7VHrkD8KzeInBE4ZbjxAw8nQIeE6O4iYmbw="; 24 24 }; 25 25 26 26 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+2 -2
pkgs/development/python-modules/types-pyyaml/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "types-pyyaml"; 8 - version = "6.0.12.3"; 8 + version = "6.0.12.4"; 9 9 format = "setuptools"; 10 10 11 11 src = fetchPypi { 12 12 pname = "types-PyYAML"; 13 13 inherit version; 14 - sha256 = "sha256-F84Xs+rY8G5BajsdW43cbLgqQiuyACVN2LRpQ0sEX/w="; 14 + sha256 = "sha256-rebjKKWj34FsR8kSwuHpRq4rrOkHRKpzER7mg0sDoxQ="; 15 15 }; 16 16 17 17 # Module doesn't have tests
+2 -2
pkgs/development/python-modules/types-requests/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "types-requests"; 9 - version = "2.28.11.11"; 9 + version = "2.28.11.12"; 10 10 format = "setuptools"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "sha256-GWIqzjWl2hg47pytDfSlDH46Qg+KN+g1fOhw/tSS+oE="; 14 + sha256 = "sha256-/VMKqz/E8F7jZAavFo8INubwDx7lGguWtzEfgstnUjA="; 15 15 }; 16 16 17 17 propagatedBuildInputs = [
+7 -1
pkgs/development/python-modules/watchfiles/default.nix
··· 11 11 , pytest-timeout 12 12 , pytestCheckHook 13 13 , python 14 + , CoreServices 15 + , libiconv 14 16 }: 15 17 16 18 buildPythonPackage rec { ··· 32 34 name = "${pname}-${version}"; 33 35 hash = "sha256-IWONA3o+2emJ7cKEw5xYSMdWzGuUSwn1B70zUDzj7Cw="; 34 36 }; 37 + 38 + buildInputs = lib.optionals stdenv.isDarwin [ 39 + CoreServices 40 + libiconv 41 + ]; 35 42 36 43 nativeBuildInputs = [ 37 44 ] ++ (with rustPlatform; [ ··· 69 76 homepage = "https://watchfiles.helpmanual.io/"; 70 77 license = licenses.mit; 71 78 maintainers = with maintainers; [ fab ]; 72 - broken = stdenv.isDarwin; 73 79 }; 74 80 }
+2 -2
pkgs/development/python-modules/xknx/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "xknx"; 15 - version = "2.3.0"; 15 + version = "2.4.0"; 16 16 format = "setuptools"; 17 17 18 18 disabled = pythonOlder "3.8"; ··· 21 21 owner = "XKNX"; 22 22 repo = pname; 23 23 rev = "refs/tags/${version}"; 24 - hash = "sha256-G4az6YmCDv1MPF30mBQVNBPZdebjZqd+0vxo5F5iDWY="; 24 + hash = "sha256-MSk/c2qLztq5GQ6+CzK0Jw+rOJTClguaoL284YaBPjw="; 25 25 }; 26 26 27 27 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/yfinance/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "yfinance"; 18 - version = "0.2.9"; 18 + version = "0.2.10"; 19 19 format = "setuptools"; 20 20 21 21 disabled = pythonOlder "3.7"; ··· 24 24 owner = "ranaroussi"; 25 25 repo = pname; 26 26 rev = "refs/tags/${version}"; 27 - hash = "sha256-CcvBVW9MdXVx1BnIcPB9b1PHGK2zw4Hg0vVNW6s87/Q="; 27 + hash = "sha256-1LRnvyr3QNYR33qTyN/WepGH8InYmXWwO5gQfm20MP4="; 28 28 }; 29 29 30 30 propagatedBuildInputs = [
+2 -2
pkgs/development/quickemu/default.nix
··· 50 50 51 51 stdenv.mkDerivation rec { 52 52 pname = "quickemu"; 53 - version = "4.5"; 53 + version = "4.6"; 54 54 55 55 src = fetchFromGitHub { 56 56 owner = "quickemu-project"; 57 57 repo = "quickemu"; 58 58 rev = version; 59 - hash = "sha256-31f4BIIYCh2acbueUtGZShKnlhctd1FfKkFqsNiUqrI="; 59 + hash = "sha256-C/3zyHnxAxCu8rrR4Znka47pVPp0vvaVGyd4TVQG3qg="; 60 60 }; 61 61 62 62 postPatch = ''
+5 -3
pkgs/development/tools/build-managers/bazel/buildtools/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "bazel-buildtools"; 5 - version = "5.1.0"; 5 + version = "6.0.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "bazelbuild"; 9 9 repo = "buildtools"; 10 10 rev = version; 11 - sha256 = "sha256-PNIqsP5p+OdYH0JgOmjqvge9zVOrAcNg0FMflXFJHwQ="; 11 + hash = "sha256-WXzrGJaulcwg4MnyfY5jWBEVxCXryqMK+/R7J/gFI38="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-9WUjQhXWkpSEJj9Xq+9rOe3I1VZ7nqMTnX7DPl+rxsU="; 14 + vendorHash = "sha256-DigTREfI6I48wxRpGp/bfH1NbUZ4E1B5UTQXpI0LY1A="; 15 15 16 16 preBuild = '' 17 17 rm -r warn/docs 18 18 ''; 19 + 20 + proxyVendor = true; 19 21 20 22 doCheck = false; 21 23
+3 -3
pkgs/development/tools/golangci-lint/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "golangci-lint"; 5 - version = "1.51.0"; 5 + version = "1.51.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "golangci"; 9 9 repo = "golangci-lint"; 10 10 rev = "v${version}"; 11 - hash = "sha256-mmnzbgnu/S9DhFY5JQSs8U5tvsGqIcDaX5Y7dhCgr68="; 11 + hash = "sha256-BkkC23dO40gnEQ6sJcbLR2UzdigMrta2+NnZA2bk3E8="; 12 12 }; 13 13 14 - vendorHash = "sha256-QoUxZBl0wOpbD2xPCQAeTNiLxdtXZ3+KWB/TLSt53v4="; 14 + vendorHash = "sha256-CS9Z3nvOleKTYjw89IKybsUI33w0If/mYDUpQHLO58U="; 15 15 16 16 doCheck = false; 17 17
+8 -3
pkgs/development/tools/oh-my-posh/default.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "oh-my-posh"; 9 - version = "13.8.0"; 9 + version = "14.2.3"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "jandedobbeleer"; 13 13 repo = pname; 14 14 rev = "refs/tags/v${version}"; 15 - hash = "sha256-mplWF/lmgRfYd1Gg2loZI5NIfmTHR8quG1/KcZj5W54="; 15 + hash = "sha256-PghWKyZG19MVmc2fQSQN/BCMbF7YOZWybUSKiQzUxl8="; 16 16 }; 17 17 18 - vendorHash = "sha256-WiH4qu8DODEhAkxUm6VDcBwFyQO7kNjaiaWPDHCHj9E="; 18 + vendorHash = "sha256-ehG71B351u+LoXDuKQkuEdEpUdHslVU2HcPKUz6FAnQ="; 19 19 20 20 sourceRoot = "source/src"; 21 21 ··· 34 34 "osusergo" 35 35 "static_build" 36 36 ]; 37 + 38 + postPatch = '' 39 + # this test requires internet access 40 + rm engine/migrate_glyphs_test.go 41 + ''; 37 42 38 43 postInstall = '' 39 44 mv $out/bin/{src,oh-my-posh}
+3 -3
pkgs/development/tools/rust/rust-analyzer/default.nix
··· 12 12 13 13 rustPlatform.buildRustPackage rec { 14 14 pname = "rust-analyzer-unwrapped"; 15 - version = "2023-01-23"; 16 - cargoSha256 = "sha256-NSdHvWN5BIEXZMFiweKYbJayxDqlFmqJp+sIzeORhSU="; 15 + version = "2023-01-30"; 16 + cargoSha256 = "sha256-ONziMXbMPDoIb44mOJCg5O1QOo5o13kaGb+b6Qp3Ikk="; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "rust-lang"; 20 20 repo = "rust-analyzer"; 21 21 rev = version; 22 - sha256 = "sha256-Uq6jngJnf2UqKrOzqMXtq5IVxkU3eNCkmORPdccLxp0="; 22 + sha256 = "sha256-W8abw+8SuxSMMBH4ydfawdC6zwPHQwhHerFEXkB4oU4="; 23 23 }; 24 24 25 25 auditable = true; # TODO: remove when this is the default
+22 -9
pkgs/development/tools/wizer/default.nix
··· 1 - { lib, stdenv, rustPlatform, fetchCrate }: 1 + { lib 2 + , stdenv 3 + , rustPlatform 4 + , fetchFromGitHub 5 + , testers 6 + , wizer 7 + }: 2 8 3 9 rustPlatform.buildRustPackage rec { 4 10 pname = "wizer"; 5 - version = "1.4.0"; 11 + version = "1.6.0"; 6 12 7 - src = fetchCrate { 8 - inherit pname version; 9 - 10 - sha256 = "sha256-3Hc3KKqtbZtvD+3lb/W7+AyrwPukJyxpUe94KGQlzBI="; 13 + # the crate does not contain files which are necessary for the tests 14 + # see https://github.com/bytecodealliance/wizer/commit/3a95e27ce42f1fdaef07b52988e4699eaa221e04 15 + src = fetchFromGitHub { 16 + owner = "bytecodealliance"; 17 + repo = "wizer"; 18 + # see https://github.com/bytecodealliance/wizer/pull/62 19 + rev = "e74c6e59562c4b7edcda506674db8aead878a893"; 20 + sha256 = "sha256-bVxjcb231Ygz+z+8D1U2YQqEdIKsostxISgYt2KecXc="; 11 21 }; 12 22 13 - cargoSha256 = "sha256-zv36/W7dNpIupYn8TS+NaF7uX+BVjrI6AW6Hrlqr8Xg="; 23 + cargoSha256 = "sha256-S9h47aGG5UhwNoOnUHFrtEyByg8iCMC88Cspb/6tb8c="; 14 24 15 25 cargoBuildFlags = [ "--bin" pname ]; 16 26 ··· 22 32 export HOME=$(mktemp -d) 23 33 ''; 24 34 35 + passthru.tests = { 36 + version = testers.testVersion { package = wizer; }; 37 + }; 38 + 25 39 meta = with lib; { 26 40 description = "The WebAssembly pre-initializer"; 27 41 homepage = "https://github.com/bytecodealliance/wizer"; 28 42 license = licenses.asl20; 29 - maintainers = with maintainers; [ lucperkins ]; 30 - broken = stdenv.isx86_64 && stdenv.isDarwin; 43 + maintainers = with maintainers; [ lucperkins amesgen ]; 31 44 }; 32 45 }
+8 -8
pkgs/games/BeatSaberModManager/deps.nix
··· 26 26 (fetchNuGet { pname = "HarfBuzzSharp.NativeAssets.Win32"; version = "2.8.2.1-preview.108"; sha256 = "0n6ymn9jqms3mk5hg0ar4y9jmh96myl6q0jimn7ahb1a8viq55k1"; }) 27 27 (fetchNuGet { pname = "JetBrains.Annotations"; version = "10.3.0"; sha256 = "1grdx28ga9fp4hwwpwv354rizm8anfq4lp045q4ss41gvhggr3z8"; }) 28 28 (fetchNuGet { pname = "MicroCom.Runtime"; version = "0.11.0"; sha256 = "0p9c3m0zk59x9dcqw077hzd2yk60myisbacvm36mnwpcjwzjkp2m"; }) 29 - (fetchNuGet { pname = "Microsoft.AspNetCore.App.Ref"; version = "6.0.12"; sha256 = "0x8x922jhdn4zzbqqhlnzg5cmg69myn9zibk363py3yamkywcami"; }) 30 - (fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.linux-arm64"; version = "6.0.12"; sha256 = "1zi1x4w51fawi8083s48mxrlpqzkc48qsvrq2h7xx58x48ml465s"; }) 31 - (fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.linux-x64"; version = "6.0.12"; sha256 = "1wwciddbnykamlwl9i88l9081q27l0i17jmvymsxddbi0v9rr3sb"; }) 29 + (fetchNuGet { pname = "Microsoft.AspNetCore.App.Ref"; version = "6.0.13"; sha256 = "1k49nrz5rw1yglkjypmmnclahib2qiwm838008yahk00ysy039f4"; }) 30 + (fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.linux-arm64"; version = "6.0.13"; sha256 = "1a80w34yb700cvjzfcsq3c5sb32bk95ccgjfcvyqxkpzlgcc50xn"; }) 31 + (fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.linux-x64"; version = "6.0.13"; sha256 = "1y2gnkrc788y9k79sygx7dmgkj674qwdajyrxizx0a70rwmjszmw"; }) 32 32 (fetchNuGet { pname = "Microsoft.CodeAnalysis.Analyzers"; version = "3.0.0"; sha256 = "0bbl0jpqywqmzz2gagld1p2gvdfldjfjmm25hil9wj2nq1zc4di8"; }) 33 33 (fetchNuGet { pname = "Microsoft.CodeAnalysis.Common"; version = "3.8.0"; sha256 = "12n7rvr39bzkf2maw7zplw8rwpxpxss4ich3bb2pw770rx4nyvyw"; }) 34 34 (fetchNuGet { pname = "Microsoft.CodeAnalysis.CSharp"; version = "3.8.0"; sha256 = "1kmry65csvfn72zzc16vj1nfbfwam28wcmlrk3m5rzb8ydbzgylb"; }) ··· 36 36 (fetchNuGet { pname = "Microsoft.CodeAnalysis.Scripting.Common"; version = "3.8.0"; sha256 = "0hjgxcsj5zy27lqk0986m59n5dbplx2vjjla2lsvg4bwg8qa7bpk"; }) 37 37 (fetchNuGet { pname = "Microsoft.CSharp"; version = "4.3.0"; sha256 = "0gw297dgkh0al1zxvgvncqs0j15lsna9l1wpqas4rflmys440xvb"; }) 38 38 (fetchNuGet { pname = "Microsoft.CSharp"; version = "4.5.0"; sha256 = "01i28nvzccxbqmiz217fxs6hnjwmd5fafs37rd49a6qp53y6623l"; }) 39 - (fetchNuGet { pname = "Microsoft.NETCore.App.Host.linux-arm64"; version = "6.0.12"; sha256 = "0axj326a79h8762ahrxgpnzczivfvdjn2xa2np2djc7ybn6j3491"; }) 40 - (fetchNuGet { pname = "Microsoft.NETCore.App.Host.linux-x64"; version = "6.0.12"; sha256 = "0dfivz2wq18gsdn8b9d0v6q0lf2mvayl85nad7cvysfc93aw05jg"; }) 41 - (fetchNuGet { pname = "Microsoft.NETCore.App.Ref"; version = "6.0.12"; sha256 = "00s1flhzvxsdhgn469vc1q63qkcv05g5zqx10p1gsnzxjpdx01in"; }) 42 - (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.linux-arm64"; version = "6.0.12"; sha256 = "1j615cjwkyjkvvc03pvwmfgqbh1z9aq08bvw0bnjkhs1qs6dz7x0"; }) 43 - (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.linux-x64"; version = "6.0.12"; sha256 = "1w7kfgld8wcbqqyb1cpbnd6b08f83jfny2q70vb1qdqfn5bgcb1h"; }) 39 + (fetchNuGet { pname = "Microsoft.NETCore.App.Host.linux-arm64"; version = "6.0.13"; sha256 = "1xy7x37mkdiv907xbxxc0aijjhgi2hli1s79adqn4adw8fbn2aki"; }) 40 + (fetchNuGet { pname = "Microsoft.NETCore.App.Host.linux-x64"; version = "6.0.13"; sha256 = "0ph1r2vhnqg7agk1zz4873983qy2i5nwa10q40ba3g96rdy2pg1f"; }) 41 + (fetchNuGet { pname = "Microsoft.NETCore.App.Ref"; version = "6.0.13"; sha256 = "0ddygsnms3vfg6s7w2mcm7gqdmb4h7glrdj73hm1l42sndmn9p7v"; }) 42 + (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.linux-arm64"; version = "6.0.13"; sha256 = "0l1bq22d85sm36hrsmyf74hir1fj0msqv0c6d4ba0b64b3rwhvg0"; }) 43 + (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.linux-x64"; version = "6.0.13"; sha256 = "0in8sk9bl2r2dgjf3ncvmqzbdnyvy2329bzmykmvsrq511c76gh3"; }) 44 44 (fetchNuGet { pname = "Microsoft.NETCore.Platforms"; version = "1.0.1"; sha256 = "01al6cfxp68dscl15z7rxfw9zvhm64dncsw09a1vmdkacsa2v6lr"; }) 45 45 (fetchNuGet { pname = "Microsoft.NETCore.Platforms"; version = "1.1.0"; sha256 = "08vh1r12g6ykjygq5d3vq09zylgb84l63k49jc4v8faw9g93iqqm"; }) 46 46 (fetchNuGet { pname = "Microsoft.NETCore.Platforms"; version = "2.1.2"; sha256 = "1507hnpr9my3z4w1r6xk5n0s1j3y6a2c2cnynj76za7cphxi1141"; })
+2 -2
pkgs/games/hyperrogue/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "hyperrogue"; 6 - version = "12.1h"; 6 + version = "12.1i"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "zenorogue"; 10 10 repo = "hyperrogue"; 11 11 rev = "v${version}"; 12 - sha256 = "sha256-9ChPO0YCsrAyQ81TAbKCMJSgSXoUtkvvNPMTPimPBUo="; 12 + sha256 = "sha256-TMPumyTEzDbV/31UgwXJwr7zt7ufENX3ESxlcBEnaSc="; 13 13 }; 14 14 15 15 CXXFLAGS = [
+2 -2
pkgs/games/quake2/yquake2/default.nix
··· 13 13 14 14 yquake2 = stdenv.mkDerivation rec { 15 15 pname = "yquake2"; 16 - version = "8.10"; 16 + version = "8.20"; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "yquake2"; 20 20 repo = "yquake2"; 21 21 rev = "QUAKE2_${builtins.replaceStrings ["."] ["_"] version}"; 22 - sha256 = "sha256-/BbMR/ZPjHbKzQ+I1+Vgh3/zenLjW3TnmrKhKPR6Gdk="; 22 + sha256 = "sha256-x1mk6qo03b438ZBS16/f7pzMCfugtQvaRcV+hg7Zc/w="; 23 23 }; 24 24 25 25 postPatch = ''
+1 -1
pkgs/misc/cups/drivers/fxlinuxprint/default.nix
··· 10 10 version = "1.1.2-1"; 11 11 12 12 src = fetchzip { 13 - url = "https://onlinesupport.fujixerox.com/driver_downloads/fxlinuxpdf112119031.zip"; 13 + url = "https://support-fb.fujifilm.com/driver_downloads/fxlinuxpdf112119031.zip"; 14 14 sha256 = "1mv07ch6ysk9bknfmjqsgxb803sj6vfin29s9knaqv17jvgyh0n3"; 15 15 curlOpts = "--user-agent Mozilla/5.0"; # HTTP 410 otherwise 16 16 };
+4 -4
pkgs/misc/fastly/default.nix
··· 8 8 9 9 buildGoModule rec { 10 10 pname = "fastly"; 11 - version = "5.1.1"; 11 + version = "6.0.0"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "fastly"; 15 15 repo = "cli"; 16 16 rev = "refs/tags/v${version}"; 17 - hash = "sha256-gPToEeLymKIRjL52wb5AjMpDM6vU0Yb0rbcpouev4rQ="; 17 + hash = "sha256-meUKWAFKT6EgHtzgR6jjDCA8EUD1kVoT3reXaRheukw="; 18 18 # The git commit is part of the `fastly version` original output; 19 19 # leave that output the same in nixpkgs. Use the `.git` directory 20 20 # to retrieve the commit SHA, and remove the directory afterwards, ··· 49 49 ]; 50 50 preBuild = let 51 51 cliConfigToml = fetchurl { 52 - url = "https://web.archive.org/web/20221224152051/https://developer.fastly.com/api/internal/cli-config"; 53 - hash = "sha256-IjakfeqjHshlGoamRJTnhUC8cTVMIY63F3vO6I/ZHO4="; 52 + url = "https://web.archive.org/web/20230207211120/https://developer.fastly.com/api/internal/cli-config"; 53 + hash = "sha256-Vkl8V5AkiJMZLswSN0vTnz7S7/5lXftlWD5UZh//vUw="; 54 54 }; 55 55 in '' 56 56 cp ${cliConfigToml} ./pkg/config/config.toml
+7 -3
pkgs/os-specific/linux/alsa-project/alsa-lib/default.nix
··· 3 3 , fetchurl 4 4 , alsa-topology-conf 5 5 , alsa-ucm-conf 6 + , testers 6 7 }: 7 8 8 - stdenv.mkDerivation rec { 9 + stdenv.mkDerivation (finalAttrs: { 9 10 pname = "alsa-lib"; 10 11 version = "1.2.8"; 11 12 12 13 src = fetchurl { 13 - url = "mirror://alsa/lib/${pname}-${version}.tar.bz2"; 14 + url = "mirror://alsa/lib/${finalAttrs.pname}-${finalAttrs.version}.tar.bz2"; 14 15 hash = "sha256-GrAbdOM0JcqZwuNsCET9aIgnMZO9iYJA/o+TrMvL80c="; 15 16 }; 16 17 ··· 31 32 32 33 outputs = [ "out" "dev" ]; 33 34 35 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 36 + 34 37 meta = with lib; { 35 38 homepage = "http://www.alsa-project.org/"; 36 39 description = "ALSA, the Advanced Linux Sound Architecture libraries"; ··· 41 44 ''; 42 45 43 46 license = licenses.lgpl21Plus; 47 + pkgConfigModules = [ "alsa" "alsa-topology" ]; 44 48 platforms = platforms.linux; 45 49 maintainers = with maintainers; [ l-as ]; 46 50 }; 47 - } 51 + })
+2 -2
pkgs/os-specific/linux/rt-tests/default.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "rt-tests"; 11 - version = "2.4"; 11 + version = "2.5"; 12 12 13 13 src = fetchurl { 14 14 url = "https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/snapshot/${pname}-${version}.tar.gz"; 15 - sha256 = "sha256-yuSfeYTaCZ0F1GXQkDnH8PBvyzR2w/XDitN8csHB9xE="; 15 + sha256 = "sha256-LzN3YB3Lb7tjyEplrFaNYtiGwHUUTztZBsMrUndd2cU="; 16 16 }; 17 17 18 18 nativeBuildInputs = [ makeWrapper ];
+2 -2
pkgs/servers/jackett/default.nix
··· 9 9 10 10 buildDotnetModule rec { 11 11 pname = "jackett"; 12 - version = "0.20.2986"; 12 + version = "0.20.3004"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = pname; 16 16 repo = pname; 17 17 rev = "v${version}"; 18 - hash = "sha512-IbcIn2n5Cob+Ewp0lkkIENuo00HBlNy6V5pKARC6EgBDRKbB+YXETDX1Ko3Dsl0x6mxZgoTCbzEIPxD+Y2J4Rw=="; 18 + hash = "sha512-UNGkcCQeeMxonJ9Kf1SDMTgSC8uTM2gD377qA+ViSfpWoOGQCY003EZ0c3c0q6oSGVbiIma1wvyW/T/ILLi5yw=="; 19 19 }; 20 20 21 21 projectFile = "src/Jackett.Server/Jackett.Server.csproj";
+3 -3
pkgs/servers/openvscode-server/default.nix
··· 40 40 41 41 in stdenv.mkDerivation rec { 42 42 pname = "openvscode-server"; 43 - version = "1.74.3"; 43 + version = "1.75.0"; 44 44 45 45 src = fetchFromGitHub { 46 46 owner = "gitpod-io"; 47 47 repo = "openvscode-server"; 48 48 rev = "openvscode-server-v${version}"; 49 - sha256 = "2+/5I0dpQsmoWA7Q0dCgPO85dkOKQWHeO34cueH4sjQ="; 49 + sha256 = "ZR4gEE+bLVjcGxhoRYQqfxDjk0ulPmdb5IV041qf954="; 50 50 }; 51 51 52 52 yarnCache = stdenv.mkDerivation { ··· 69 69 70 70 outputHashMode = "recursive"; 71 71 outputHashAlgo = "sha256"; 72 - outputHash = "sha256-4B/ESi4lM2p+pY0dfUKWgwmYkwqPYaNuCLJ99ByjwWE="; 72 + outputHash = "sha256-KcGhHFglBJDyircYUxpsMLRtQblYx3u/BMQq35A0qhE="; 73 73 }; 74 74 75 75 nativeBuildInputs = [
+2 -2
pkgs/servers/samba/4.x.nix
··· 48 48 49 49 stdenv.mkDerivation rec { 50 50 pname = "samba"; 51 - version = "4.17.4"; 51 + version = "4.17.5"; 52 52 53 53 src = fetchurl { 54 54 url = "mirror://samba/pub/samba/stable/${pname}-${version}.tar.gz"; 55 - hash = "sha256-wFEgedtMrHB8zqTBiuu9ay6zrPbpBzXn9kWjJr4fRTc="; 55 + hash = "sha256-67eIDUdP/AnXO1/He8vWV/YjWRAzczGpwk1/acoRRCs="; 56 56 }; 57 57 58 58 outputs = [ "out" "dev" "man" ];
+75
pkgs/servers/search/khoj/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , python3Packages 4 + , qt6 5 + }: 6 + 7 + python3Packages.buildPythonApplication rec { 8 + pname = "khoj"; 9 + version = "0.2.5"; 10 + format = "setuptools"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "debanjum"; 14 + repo = "khoj"; 15 + rev = version; 16 + hash = "sha256-cylZNRyHMFJiBjlEtKMpRjRjwQyb7pgOjMtxFhKFU4k="; 17 + }; 18 + 19 + propagatedBuildInputs = with python3Packages; [ 20 + aiofiles 21 + dateparser 22 + defusedxml 23 + fastapi 24 + huggingface-hub 25 + jinja2 26 + numpy 27 + openai 28 + pillow 29 + pydantic 30 + pyqt6 31 + pyyaml 32 + schedule 33 + sentence-transformers 34 + torch 35 + torchvision 36 + transformers 37 + uvicorn 38 + ]; 39 + 40 + buildInputs = with qt6; [ 41 + qtwayland 42 + ]; 43 + 44 + nativeBuildInputs = with qt6; [ 45 + wrapQtAppsHook 46 + ]; 47 + 48 + checkInputs = with python3Packages; [ 49 + pytest 50 + ]; 51 + 52 + postPatch = '' 53 + substituteInPlace setup.py \ 54 + --replace "aiofiles == 0.8.0" "aiofiles >= 0.8.0" \ 55 + --replace "openai == 0.20.0" "openai >= 0.20.0" \ 56 + --replace "pytest == 7.1.2" "pytest >= 7.1.2" \ 57 + --replace "fastapi == 0.77.1" "fastapi >= 0.77.1" \ 58 + --replace "numpy == 1.22.4" "numpy >= 1.22.4" \ 59 + --replace "huggingface_hub == 0.8.1" "huggingface_hub >= 0.8.1" \ 60 + --replace "dateparser == 1.1.1" "dateparser >= 1.1.1" \ 61 + --replace "sentence-transformers == 2.1.0" "sentence-transformers >= 2.1.0" \ 62 + --replace "transformers == 4.21.0" "transformers >= 4.21.0" \ 63 + --replace "torchvision == 0.14.1" "torchvision" \ 64 + --replace "pydantic == 1.9.1" "pydantic >= 1.9.1" \ 65 + --replace "pyqt6 == 6.3.1" "pyqt6 >= 6.3.1" \ 66 + --replace "uvicorn == 0.17.6" "uvicorn >= 0.17.6" 67 + ''; 68 + 69 + meta = with lib; { 70 + description = "Natural Language Search Assistant for your Org-Mode and Markdown notes, Beancount transactions and Photos"; 71 + homepage = "https://github.com/debanjum/khoj"; 72 + license = licenses.gpl3Only; 73 + maintainers = with maintainers; [ dit7ya ]; 74 + }; 75 + }
+8 -1
pkgs/servers/sql/mariadb/default.nix
··· 45 45 ++ lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices cctools perl libedit ] 46 46 ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ jemalloc ] 47 47 ++ (if (lib.versionOlder version "10.5") then [ pcre ] else [ pcre2 ]) 48 - ++ (if (lib.versionOlder version "10.6") 48 + ++ (if (lib.versionOlder version "10.5") 49 49 then [ openssl_1_1 (curl.override { openssl = openssl_1_1; }) ] 50 50 else [ openssl curl ]); 51 51 ··· 271 271 # Supported until 2023-08 272 272 version = "10.9.4"; 273 273 hash = "sha256-Hf8IoPN+pc+PAMvRLUDoB1n659cxhMz1a1tRrP3PwFQ="; 274 + inherit (self.darwin) cctools; 275 + inherit (self.darwin.apple_sdk.frameworks) CoreServices; 276 + }; 277 + mariadb_1010 = self.callPackage generic { 278 + # Supported until 2023-11 279 + version = "10.10.2"; 280 + hash = "sha256-V8vQESsitZL2V81OuC4vNq2QE1Exe/jheElXjoA/PLI="; 274 281 inherit (self.darwin) cctools; 275 282 inherit (self.darwin.apple_sdk.frameworks) CoreServices; 276 283 };
+2 -2
pkgs/servers/web-apps/wallabag/default.nix
··· 16 16 17 17 let 18 18 pname = "wallabag"; 19 - version = "2.5.3"; 19 + version = "2.5.4"; 20 20 in 21 21 stdenv.mkDerivation { 22 22 inherit pname version; ··· 27 27 "https://static.wallabag.org/releases/wallabag-release-${version}.tar.gz" 28 28 "https://github.com/wallabag/wallabag/releases/download/${version}/wallabag-${version}.tar.gz" 29 29 ]; 30 - hash = "sha256-3o5LFGPd4oFz3leKzCy7lIjQ3ELSLqZuIswptB7i24U="; 30 + hash = "sha256-yVMQXjGB8Yv1klQaHEbDGMZmOtANRocFJnawKn10xhg="; 31 31 }; 32 32 33 33 patches = [
+2 -2
pkgs/servers/x11/xorg/xwayland.nix
··· 43 43 44 44 stdenv.mkDerivation rec { 45 45 pname = "xwayland"; 46 - version = "22.1.7"; 46 + version = "22.1.8"; 47 47 48 48 src = fetchurl { 49 49 url = "mirror://xorg/individual/xserver/${pname}-${version}.tar.xz"; 50 - sha256 = "sha256-1Tr6xscZU/XPZtA9KJ2s2JYdpb0wnB3/El1ZVdnbX3Y="; 50 + sha256 = "sha256-0R7u5zKQuI6o2kKn2TUN7fq6hWzkrkTljARa2eyqL3M="; 51 51 }; 52 52 53 53 depsBuildBuild = [
+3 -3
pkgs/servers/zigbee2mqtt/default.nix
··· 8 8 9 9 buildNpmPackage rec { 10 10 pname = "zigbee2mqtt"; 11 - version = "1.30.0"; 11 + version = "1.30.1"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "Koenkk"; 15 15 repo = "zigbee2mqtt"; 16 16 rev = version; 17 - hash = "sha256-BmkSpl+6aUTiueB9VILOcmJM+tCxK2NbqJvJYfoyvBo="; 17 + hash = "sha256-e/pV2W9POUxKhuX5RT9INEqneC65V4dg66ywTR9YUyI="; 18 18 }; 19 19 20 - npmDepsHash = "sha256-ZrUbn/6hbbBRng+TJG6cxBUJ4Td4/P6MoeKVkInPmb4="; 20 + npmDepsHash = "sha256-sHXTwT5gXi5CkfMU/eZDMgsX2qymMhvUEtfUo6MV3hA="; 21 21 22 22 nativeBuildInputs = [ 23 23 python3
+2 -2
pkgs/tools/backup/borgmatic/default.nix
··· 2 2 3 3 python3Packages.buildPythonApplication rec { 4 4 pname = "borgmatic"; 5 - version = "1.7.2"; 5 + version = "1.7.6"; 6 6 7 7 src = python3Packages.fetchPypi { 8 8 inherit pname version; 9 - sha256 = "sha256-0o2tKg7BfhkNt/k8XdZ1agaSJxKO5OxB5aaRgV9IPeU="; 9 + sha256 = "sha256-TNh0laNAyHkIZLC51hzchSIDvsHst2aPxoRdI6Mdr84="; 10 10 }; 11 11 12 12 nativeCheckInputs = with python3Packages; [ flexmock pytestCheckHook pytest-cov ];
+8 -2
pkgs/tools/compression/bzip2/default.nix
··· 1 1 { lib, stdenv, fetchurl 2 2 , linkStatic ? with stdenv.hostPlatform; isStatic || isCygwin 3 3 , autoreconfHook 4 + , testers 4 5 }: 5 6 6 7 # Note: this package is used for bootstrapping fetchurl, and thus ··· 8 9 # cgit) that are needed here should be included directly in Nixpkgs as 9 10 # files. 10 11 11 - stdenv.mkDerivation rec { 12 + stdenv.mkDerivation (finalAttrs: let 13 + inherit (finalAttrs) version; 14 + in { 12 15 pname = "bzip2"; 13 16 version = "1.0.8"; 14 17 ··· 53 56 ln -s $out/lib/libbz2.so.1.0.* $out/lib/libbz2.so.1.0 54 57 ''; 55 58 59 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 60 + 56 61 meta = with lib; { 57 62 description = "High-quality data compression program"; 58 63 homepage = "https://www.sourceware.org/bzip2"; 59 64 changelog = "https://sourceware.org/git/?p=bzip2.git;a=blob;f=CHANGES;hb=HEAD"; 60 65 license = licenses.bsdOriginal; 66 + pkgConfigModules = [ "bzip2" ]; 61 67 platforms = platforms.all; 62 68 maintainers = with maintainers; [ mic92 ]; 63 69 }; 64 - } 70 + })
+2 -2
pkgs/tools/filesystems/dduper/default.nix
··· 5 5 patches = [ 6 6 (fetchpatch { 7 7 name = "0001-Print-csum-for-a-given-file-on-stdout.patch"; 8 - url = "https://raw.githubusercontent.com/Lakshmipathi/dduper/f45d04854a40cb52ae0e6736916d5955cb68b8ee/patch/btrfs-progs-v5.12.1/0001-Print-csum-for-a-given-file-on-stdout.patch"; 9 - sha256 = "0c7dd44q2ww6k9nk5dh6m0f0wbd8x84vb2m61fk6a44nsv2fwz1x"; 8 + url = "https://raw.githubusercontent.com/Lakshmipathi/dduper/ecc2664c380616ec75cfc1e600b5514cdff5c687/patch/btrfs-progs-v6.1/0001-Print-csum-for-a-given-file-on-stdout.patch"; 9 + sha256 = "sha256-M4LT7G6gwBfSXf6EL4pxNoQJMyUTOA+ojxEJqw2yss4="; 10 10 }) 11 11 ]; 12 12 });
+25
pkgs/tools/filesystems/kio-admin/default.nix
··· 1 + { lib, stdenv, fetchFromGitLab, cmake, extra-cmake-modules, qtbase, wrapQtAppsHook, kio, ki18n, polkit-qt }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "kio-admin"; 5 + version = "1.0.0"; 6 + 7 + src = fetchFromGitLab { 8 + domain = "invent.kde.org"; 9 + owner = "system"; 10 + repo = "kio-admin"; 11 + rev = "v${version}"; 12 + hash = "sha256-llnUsOttqFJVArJdZS9s6qHS9eGbdtdoaPMXKHtsUn4="; 13 + }; 14 + 15 + nativeBuildInputs = [ cmake extra-cmake-modules wrapQtAppsHook ]; 16 + buildInputs = [ qtbase kio ki18n polkit-qt ]; 17 + 18 + meta = with lib; { 19 + description = "Manage files as administrator using the admin:// KIO protocol."; 20 + homepage = "https://invent.kde.org/system/kio-admin"; 21 + license = licenses.gpl2Plus; 22 + platforms = platforms.linux; 23 + maintainers = with maintainers; [ k900 ]; 24 + }; 25 + }
+3 -3
pkgs/tools/misc/fend/default.nix
··· 9 9 10 10 rustPlatform.buildRustPackage rec { 11 11 pname = "fend"; 12 - version = "1.1.4"; 12 + version = "1.1.5"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "printfn"; 16 16 repo = pname; 17 17 rev = "v${version}"; 18 - sha256 = "sha256-jg2rMiFXtN3oLru1gTaTyIo5eBEI23paKJiDV6KZZE4="; 18 + sha256 = "sha256-9qvIxKg/fj08wYY2fK5J1nWzojStUb9ArXwvA/cTOcQ="; 19 19 }; 20 20 21 - cargoHash = "sha256-9Gri/EBaUiCpFBL0f132JDD4Zl5v40e8JmlRvm019S4="; 21 + cargoHash = "sha256-kVnA8w2YVg6+h1V1O4cvciuB7GM4/LULFsGrzy8xUMQ="; 22 22 23 23 nativeBuildInputs = [ pandoc installShellFiles ]; 24 24 buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
+3 -3
pkgs/tools/misc/flexoptix-app/default.nix
··· 1 1 { lib, appimageTools, fetchurl, nodePackages }: let 2 2 pname = "flexoptix-app"; 3 - version = "5.13.3"; 3 + version = "5.13.4"; 4 4 5 5 src = fetchurl { 6 6 name = "${pname}-${version}.AppImage"; 7 7 url = "https://flexbox.reconfigure.me/download/electron/linux/x64/FLEXOPTIX%20App.${version}.AppImage"; 8 - hash = "sha256-kDw9+Llqvq4NgN89Cw/HwEqYlv42wLbho1eHjI6wVSQ="; 8 + hash = "sha256-W+9KmKZ1bPfQfv1DXCJrIswriw4ivBVZPW81tfvRBc0="; 9 9 }; 10 10 11 11 udevRules = fetchurl { ··· 47 47 ''; 48 48 49 49 meta = { 50 - description = "Configure FLEXOPTIX Universal Transcievers in seconds"; 50 + description = "Configure FLEXOPTIX Universal Transceivers in seconds"; 51 51 homepage = "https://www.flexoptix.net"; 52 52 changelog = "https://www.flexoptix.net/en/flexoptix-app/?os=linux#flexapp__modal__changelog"; 53 53 license = lib.licenses.unfree;
+2 -2
pkgs/tools/misc/geekbench/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "geekbench"; 5 - version = "5.4.5"; 5 + version = "5.4.6"; 6 6 7 7 src = fetchurl { 8 8 url = "https://cdn.geekbench.com/Geekbench-${version}-Linux.tar.gz"; 9 - sha256 = "sha256-JA9bvRb8u0qG6ZsQR9qJ3yaV9ni/MkdWo9xRtmPp92I="; 9 + sha256 = "sha256-fCS6cSD3w2EbLL1yNfH+NKxswRUY4zyCR07gKGXW4Yc="; 10 10 }; 11 11 12 12 dontConfigure = true;
+28 -3
pkgs/tools/misc/yubico-piv-tool/default.nix
··· 1 - { lib, stdenv, fetchurl, pkg-config, openssl, check, pcsclite, PCSC, gengetopt, cmake 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , pkg-config 5 + , openssl 6 + , check 7 + , pcsclite 8 + , PCSC 9 + , gengetopt 10 + , cmake 2 11 , withApplePCSC ? stdenv.isDarwin 12 + , gitUpdater 13 + , testers 14 + , yubico-piv-tool 3 15 }: 4 16 5 17 stdenv.mkDerivation rec { 6 18 pname = "yubico-piv-tool"; 7 - version = "2.3.0"; 19 + version = "2.3.1"; 8 20 9 21 src = fetchurl { 10 22 url = "https://developers.yubico.com/yubico-piv-tool/Releases/yubico-piv-tool-${version}.tar.gz"; 11 - hash = "sha256-oCoS2VRdHvehuZhgbYm3tlWl9aFDdzbPUdsIP4dvVak="; 23 + hash = "sha256-2ona/YthhapjU0Z1P53bKa8pvEq9kt2B832dZWC11k4="; 12 24 }; 13 25 14 26 postPatch = '' ··· 29 41 30 42 configureFlags = [ "--with-backend=${if withApplePCSC then "macscard" else "pcsc"}" ]; 31 43 44 + passthru = { 45 + updateScript = gitUpdater { 46 + url = "https://github.com/Yubico/yubico-piv-tool.git"; 47 + rev-prefix = "yubico-piv-tool-"; 48 + }; 49 + tests.version = testers.testVersion { 50 + inherit version; 51 + package = yubico-piv-tool; 52 + command = "yubico-piv-tool --version"; 53 + }; 54 + }; 55 + 32 56 meta = with lib; { 33 57 homepage = "https://developers.yubico.com/yubico-piv-tool/"; 58 + changelog = "https://developers.yubico.com/yubico-piv-tool/Release_Notes.html"; 34 59 description = '' 35 60 Used for interacting with the Privilege and Identification Card (PIV) 36 61 application on a YubiKey
+4 -4
pkgs/tools/misc/yubikey-manager/default.nix
··· 3 3 4 4 python3Packages.buildPythonPackage rec { 5 5 pname = "yubikey-manager"; 6 - version = "5.0.0"; 6 + version = "5.0.1"; 7 7 format = "pyproject"; 8 8 9 9 src = fetchFromGitHub { 10 10 repo = "yubikey-manager"; 11 11 rev = "refs/tags/${version}"; 12 12 owner = "Yubico"; 13 - sha256 = "sha256-ZQQhRiUsQwLaOY8NCzSc/PTmRewTL0ECBKj7Uj+6Gn8="; 13 + sha256 = "sha256-Dj3ftyFeVgM0YMFI8cbiH5dmc8SKi2SBbScnc0+ad0M="; 14 14 }; 15 15 16 16 postPatch = '' ··· 23 23 nativeBuildInputs = with python3Packages; [ poetry-core ]; 24 24 25 25 propagatedBuildInputs = 26 - with python3Packages; ([ 26 + with python3Packages; [ 27 27 click 28 28 cryptography 29 29 pyscard ··· 31 31 six 32 32 fido2 33 33 keyring 34 - ]) ++ [ 34 + ] ++ [ 35 35 libu2f-host 36 36 libusb1 37 37 yubikey-personalization
+16 -6
pkgs/tools/networking/babeld/default.nix
··· 1 - { lib, stdenv, fetchurl, nixosTests }: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , nixosTests 5 + }: 2 6 3 7 stdenv.mkDerivation rec { 4 8 pname = "babeld"; 5 - version = "1.12.1"; 9 + version = "1.12.2"; 6 10 7 11 src = fetchurl { 8 12 url = "https://www.irif.fr/~jch/software/files/${pname}-${version}.tar.gz"; 9 - sha256 = "sha256-mrWdesdB82MN8j+cO2fGApTYs0q2IjmPm4l3OoeOyx4="; 13 + hash = "sha256-HbIrYZMHDqJFChq1EZb9cvWKEyn3gMsDiOLksud2jLs="; 10 14 }; 11 15 12 - preBuild = '' 13 - makeFlags="PREFIX=$out ETCDIR=$out/etc" 14 - ''; 16 + outputs = [ 17 + "out" 18 + "man" 19 + ]; 20 + 21 + makeFlags = [ 22 + "PREFIX=${placeholder "out"}" 23 + "ETCDIR=${placeholder "out"}/etc" 24 + ]; 15 25 16 26 passthru.tests.babeld = nixosTests.babeld; 17 27
+3 -1
pkgs/tools/networking/haguichi/default.nix
··· 20 20 owner = "ztefn"; 21 21 repo = "haguichi"; 22 22 rev = version; 23 - sha256 = "1kgjl9g9lyg00cfx4x28s4xyqsqk5057xv6k2cj6ckg9lkxaixvc"; 23 + hash = "sha256-bPeo+qTpTWYkE9PsfgooE2vsO9FIdNIdA+B5ml6i8s0="; 24 24 }; 25 25 26 26 nativeBuildInputs = [ ··· 43 43 postPatch = '' 44 44 patchShebangs meson_post_install.py 45 45 ''; 46 + 47 + passthru.updateScript = ./update.sh; 46 48 47 49 meta = with lib; { 48 50 description = "Graphical frontend for Hamachi on Linux";
+13
pkgs/tools/networking/haguichi/update.sh
··· 1 + #!/usr/bin/env nix-shell 2 + #!nix-shell -i bash -p curl jq common-updater-scripts 3 + 4 + set -euo pipefail 5 + 6 + version="$( 7 + curl -s https://api.github.com/repos/ztefn/haguichi/releases | 8 + jq '.[] | select(.target_commitish!="elementary") | .tag_name' --raw-output | 9 + sort --version-sort --reverse | 10 + head -n1 11 + )" 12 + 13 + update-source-version haguichi "$version"
+3 -3
pkgs/tools/networking/hysteria/default.nix
··· 4 4 }: 5 5 buildGoModule rec { 6 6 pname = "hysteria"; 7 - version = "1.3.2"; 7 + version = "1.3.3"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "HyNetwork"; 11 11 repo = pname; 12 12 rev = "v${version}"; 13 - sha256 = "sha256-9ib/29yCfI4oS2yZQUePzZ+5FVTevvJCPjpTXmKnKeA="; 13 + sha256 = "sha256-CQgCFtvQDvhHTk10gpxfAvEJLz/i+CXXyzGrxi26hBk="; 14 14 }; 15 15 16 - vendorSha256 = "sha256-sRPnPKVuvcUHEldKVpgmGFGpwOSK5qh4EfeUQMFdMw8="; 16 + vendorSha256 = "sha256-sN+2XYoC+dDs6QKxwxuBCW4dOf4elSNKdOrbMxjOtSY="; 17 17 proxyVendor = true; 18 18 19 19 ldflags = [
+2 -2
pkgs/tools/networking/snabb/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "snabb"; 8 - version = "2022.10"; 8 + version = "2022.12"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "snabbco"; 12 12 repo = "snabb"; 13 13 rev = "v${version}"; 14 - sha256 = "GIIW+2/1fuHTmYev/QvuO5Yb2ozbyw/45qQkym36US8="; 14 + sha256 = "sha256-DPJ1GrqZQyiW2s5JBZszcB/Is0Is2f/O/6Riz/M3wAs="; 15 15 }; 16 16 17 17 installPhase = ''
+28 -6
pkgs/tools/nix/nixos-render-docs/default.nix
··· 2 2 , stdenv 3 3 , python3 4 4 , python3Minimal 5 + , runCommand 5 6 }: 6 7 7 8 let ··· 21 22 markdown-it-py = markdown-it-py-no-tests; 22 23 disableTests = true; 23 24 }; 25 + 26 + makeDeps = pkgs: small: 27 + [ pkgs.frozendict ] 28 + ++ ( 29 + if small 30 + then [ 31 + markdown-it-py-no-tests 32 + mdit-py-plugins-no-tests 33 + ] 34 + else [ 35 + pkgs.markdown-it-py 36 + pkgs.mdit-py-plugins 37 + ] 38 + ); 24 39 in 25 40 26 - python.pkgs.buildPythonApplication { 41 + python.pkgs.buildPythonApplication rec { 27 42 pname = "nixos-render-docs"; 28 43 version = "0.0"; 29 44 format = "pyproject"; ··· 47 62 python.pkgs.pytestCheckHook 48 63 ]; 49 64 50 - propagatedBuildInputs = [ 51 - markdown-it-py-no-tests 52 - mdit-py-plugins-no-tests 53 - python.pkgs.frozendict 54 - ]; 65 + propagatedBuildInputs = makeDeps python.pkgs true; 55 66 56 67 pytestFlagsArray = [ "-vvrP" "tests/" ]; 68 + 69 + # NOTE this is a CI test rather than a build-time test because we want to keep the 70 + # build closures small. mypy has an unreasonably large build closure for docs builds. 71 + passthru.tests.typing = runCommand "${pname}-mypy" { 72 + nativeBuildInputs = [ 73 + (python3.withPackages (p: [ p.mypy p.pytest ] ++ makeDeps p false)) 74 + ]; 75 + } '' 76 + mypy --strict ${src} 77 + touch $out 78 + ''; 57 79 58 80 meta = with lib; { 59 81 description = "Renderer for NixOS manual and option docs";
+2 -2
pkgs/tools/nix/nixos-render-docs/src/nixos_render_docs/docbook.py
··· 103 103 # HACK open and close para for docbook change size. remove soon. 104 104 def bullet_list_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 105 105 env: MutableMapping[str, Any]) -> str: 106 - spacing = ' spacing="compact"' if token.attrs.get('compact', False) else '' 106 + spacing = ' spacing="compact"' if token.meta.get('compact', False) else '' 107 107 return f"<para><itemizedlist{spacing}>\n" 108 108 def bullet_list_close(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 109 109 env: MutableMapping[str, Any]) -> str: ··· 218 218 def ordered_list_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 219 219 env: MutableMapping[str, Any]) -> str: 220 220 start = f' startingnumber="{token.attrs["start"]}"' if 'start' in token.attrs else "" 221 - spacing = ' spacing="compact"' if token.attrs.get('compact', False) else '' 221 + spacing = ' spacing="compact"' if token.meta.get('compact', False) else '' 222 222 return f"<orderedlist{start}{spacing}>" 223 223 def ordered_list_close(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 224 224 env: MutableMapping[str, Any]) -> str:
+330
pkgs/tools/nix/nixos-render-docs/src/nixos_render_docs/manpage.py
··· 1 + from collections.abc import Mapping, MutableMapping, Sequence 2 + from dataclasses import dataclass 3 + from typing import Any, cast, Iterable, Optional 4 + 5 + import re 6 + 7 + import markdown_it 8 + from markdown_it.token import Token 9 + from markdown_it.utils import OptionsDict 10 + 11 + from .md import Renderer 12 + 13 + # roff(7) says: 14 + # 15 + # > roff documents may contain only graphable 7-bit ASCII characters, the space character, 16 + # > and, in certain circumstances, the tab character. The backslash character ‘\’ indicates 17 + # > the start of an escape sequence […] 18 + # 19 + # mandoc_char(7) says about the `'~^ characters: 20 + # 21 + # > In prose, this automatic substitution is often desirable; but when these characters have 22 + # > to be displayed as plain ASCII characters, for example in source code samples, they require 23 + # > escaping to render as follows: 24 + # 25 + # since we don't want these to be touched anywhere (because markdown will do all substituations 26 + # we want to have) we'll escape those as well. we also escape " (macro metacharacter), - (might 27 + # turn into a typographic hyphen), and . (roff request marker at SOL, changes spacing semantics 28 + # at EOL). groff additionally does not allow unicode escapes for codepoints below U+0080, so 29 + # those need "proper" roff escapes/replacements instead. 30 + _roff_unicode = re.compile(r'''[^\n !#$%&()*+,\-./0-9:;<=>?@A-Z[\\\]_a-z{|}]''', re.ASCII) 31 + _roff_escapes = { 32 + ord('"'): "\\(dq", 33 + ord("'"): "\\(aq", 34 + ord('-'): "\\-", 35 + ord('.'): "\\&.", 36 + ord('\\'): "\\e", 37 + ord('^'): "\\(ha", 38 + ord('`'): "\\(ga", 39 + ord('~'): "\\(ti", 40 + } 41 + def man_escape(s: str) -> str: 42 + s = s.translate(_roff_escapes) 43 + return _roff_unicode.sub(lambda m: f"\\[u{ord(m[0]):04X}]", s) 44 + 45 + # remove leading and trailing spaces from links and condense multiple consecutive spaces 46 + # into a single space for presentation parity with html. this is currently easiest with 47 + # regex postprocessing and some marker characters. since we don't want to drop spaces 48 + # from code blocks we will have to specially protect *inline* code (luckily not block code) 49 + # so normalization can turn the spaces inside it into regular spaces again. 50 + _normalize_space_re = re.compile(r'''\u0000 < *| *>\u0000 |(?<= ) +''') 51 + def _normalize_space(s: str) -> str: 52 + return _normalize_space_re.sub("", s).replace("\0p", " ") 53 + 54 + def _protect_spaces(s: str) -> str: 55 + return s.replace(" ", "\0p") 56 + 57 + @dataclass(kw_only=True) 58 + class List: 59 + width: int 60 + next_idx: Optional[int] = None 61 + compact: bool 62 + first_item_seen: bool = False 63 + 64 + # this renderer assumed that it produces a set of lines as output, and that those lines will 65 + # be pasted as-is into a larger output. no prefixing or suffixing is allowed for correctness. 66 + # 67 + # NOTE that we output exclusively physical markup. this is because we have to use the older 68 + # mandoc(7) format instead of the newer mdoc(7) format due to limitations in groff: while 69 + # using mdoc in groff works fine it is not a native format and thus very slow to render on 70 + # manpages as large as configuration.nix.5. mandoc(1) renders both really quickly, but with 71 + # groff being our predominant manpage viewer we have to optimize for groff instead. 72 + # 73 + # while we do use only physical markup (adjusting indentation with .RS and .RE, adding 74 + # vertical spacing with .sp, \f[BIRP] escapes for bold/italic/roman/$previous font, \h for 75 + # horizontal motion in a line) we do attempt to copy the style of mdoc(7) semantic requests 76 + # as appropriate for each markup element. 77 + class ManpageRenderer(Renderer): 78 + __output__ = "man" 79 + 80 + # whether to emit mdoc .Ql equivalents for inline code or just the contents. this is 81 + # mainly used by the options manpage converter to not emit extra quotes in defaults 82 + # and examples where it's already clear from context that the following text is code. 83 + inline_code_is_quoted: bool = True 84 + link_footnotes: Optional[list[str]] = None 85 + 86 + _href_targets: dict[str, str] 87 + 88 + _link_stack: list[str] 89 + _do_parbreak_stack: list[bool] 90 + _list_stack: list[List] 91 + _font_stack: list[str] 92 + 93 + def __init__(self, manpage_urls: Mapping[str, str], href_targets: dict[str, str], 94 + parser: Optional[markdown_it.MarkdownIt] = None): 95 + super().__init__(manpage_urls, parser) 96 + self._href_targets = href_targets 97 + self._link_stack = [] 98 + self._do_parbreak_stack = [] 99 + self._list_stack = [] 100 + self._font_stack = [] 101 + 102 + def _join_block(self, ls: Iterable[str]) -> str: 103 + return "\n".join([ l for l in ls if len(l) ]) 104 + def _join_inline(self, ls: Iterable[str]) -> str: 105 + return _normalize_space(super()._join_inline(ls)) 106 + 107 + def _enter_block(self) -> None: 108 + self._do_parbreak_stack.append(False) 109 + def _leave_block(self) -> None: 110 + self._do_parbreak_stack.pop() 111 + self._do_parbreak_stack[-1] = True 112 + def _maybe_parbreak(self, suffix: str = "") -> str: 113 + result = f".sp{suffix}" if self._do_parbreak_stack[-1] else "" 114 + self._do_parbreak_stack[-1] = True 115 + return result 116 + 117 + def _admonition_open(self, kind: str) -> str: 118 + self._enter_block() 119 + return ( 120 + '.sp\n' 121 + '.RS 4\n' 122 + f'\\fB{kind}\\fP\n' 123 + '.br' 124 + ) 125 + def _admonition_close(self) -> str: 126 + self._leave_block() 127 + return ".RE" 128 + 129 + def render(self, tokens: Sequence[Token], options: OptionsDict, 130 + env: MutableMapping[str, Any]) -> str: 131 + self._do_parbreak_stack = [ False ] 132 + self._font_stack = [ "\\fR" ] 133 + return super().render(tokens, options, env) 134 + 135 + def text(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 136 + env: MutableMapping[str, Any]) -> str: 137 + return man_escape(token.content) 138 + def paragraph_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 139 + env: MutableMapping[str, Any]) -> str: 140 + return self._maybe_parbreak() 141 + def paragraph_close(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 142 + env: MutableMapping[str, Any]) -> str: 143 + return "" 144 + def hardbreak(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 145 + env: MutableMapping[str, Any]) -> str: 146 + return ".br" 147 + def softbreak(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 148 + env: MutableMapping[str, Any]) -> str: 149 + return " " 150 + def code_inline(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 151 + env: MutableMapping[str, Any]) -> str: 152 + s = _protect_spaces(man_escape(token.content)) 153 + return f"\\fR\\(oq{s}\\(cq\\fP" if self.inline_code_is_quoted else s 154 + def code_block(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 155 + env: MutableMapping[str, Any]) -> str: 156 + return self.fence(token, tokens, i, options, env) 157 + def link_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 158 + env: MutableMapping[str, Any]) -> str: 159 + href = cast(str, token.attrs['href']) 160 + self._link_stack.append(href) 161 + text = "" 162 + if tokens[i + 1].type == 'link_close' and href in self._href_targets: 163 + # TODO error or warning if the target can't be resolved 164 + text = self._href_targets[href] 165 + self._font_stack.append("\\fB") 166 + return f"\\fB{text}\0 <" 167 + def link_close(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 168 + env: MutableMapping[str, Any]) -> str: 169 + href = self._link_stack.pop() 170 + text = "" 171 + if self.link_footnotes is not None: 172 + try: 173 + idx = self.link_footnotes.index(href) + 1 174 + except ValueError: 175 + self.link_footnotes.append(href) 176 + idx = len(self.link_footnotes) 177 + text = "\\fR" + man_escape(f"[{idx}]") 178 + self._font_stack.pop() 179 + return f">\0 {text}{self._font_stack[-1]}" 180 + def list_item_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 181 + env: MutableMapping[str, Any]) -> str: 182 + self._enter_block() 183 + lst = self._list_stack[-1] 184 + maybe_space = '' if lst.compact or not lst.first_item_seen else '.sp\n' 185 + lst.first_item_seen = True 186 + head = "•" 187 + if lst.next_idx is not None: 188 + head = f"{lst.next_idx}." 189 + lst.next_idx += 1 190 + return ( 191 + f'{maybe_space}' 192 + f'.RS {lst.width}\n' 193 + f"\\h'-{len(head) + 1}'\\fB{man_escape(head)}\\fP\\h'1'\\c" 194 + ) 195 + def list_item_close(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 196 + env: MutableMapping[str, Any]) -> str: 197 + self._leave_block() 198 + return ".RE" 199 + def bullet_list_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 200 + env: MutableMapping[str, Any]) -> str: 201 + self._list_stack.append(List(width=4, compact=bool(token.meta['compact']))) 202 + return self._maybe_parbreak() 203 + def bullet_list_close(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 204 + env: MutableMapping[str, Any]) -> str: 205 + self._list_stack.pop() 206 + return "" 207 + def em_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 208 + env: MutableMapping[str, Any]) -> str: 209 + self._font_stack.append("\\fI") 210 + return "\\fI" 211 + def em_close(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 212 + env: MutableMapping[str, Any]) -> str: 213 + self._font_stack.pop() 214 + return self._font_stack[-1] 215 + def strong_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 216 + env: MutableMapping[str, Any]) -> str: 217 + self._font_stack.append("\\fB") 218 + return "\\fB" 219 + def strong_close(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 220 + env: MutableMapping[str, Any]) -> str: 221 + self._font_stack.pop() 222 + return self._font_stack[-1] 223 + def fence(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 224 + env: MutableMapping[str, Any]) -> str: 225 + s = man_escape(token.content).rstrip('\n') 226 + return ( 227 + '.sp\n' 228 + '.RS 4\n' 229 + '.nf\n' 230 + f'{s}\n' 231 + '.fi\n' 232 + '.RE' 233 + ) 234 + def blockquote_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 235 + env: MutableMapping[str, Any]) -> str: 236 + maybe_par = self._maybe_parbreak("\n") 237 + self._enter_block() 238 + return ( 239 + f"{maybe_par}" 240 + ".RS 4\n" 241 + f"\\h'-3'\\fI\\(lq\\(rq\\fP\\h'1'\\c" 242 + ) 243 + def blockquote_close(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 244 + env: MutableMapping[str, Any]) -> str: 245 + self._leave_block() 246 + return ".RE" 247 + def note_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 248 + env: MutableMapping[str, Any]) -> str: 249 + return self._admonition_open("Note") 250 + def note_close(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 251 + env: MutableMapping[str, Any]) -> str: 252 + return self._admonition_close() 253 + def caution_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 254 + env: MutableMapping[str, Any]) -> str: 255 + return self._admonition_open( "Caution") 256 + def caution_close(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 257 + env: MutableMapping[str, Any]) -> str: 258 + return self._admonition_close() 259 + def important_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 260 + env: MutableMapping[str, Any]) -> str: 261 + return self._admonition_open( "Important") 262 + def important_close(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 263 + env: MutableMapping[str, Any]) -> str: 264 + return self._admonition_close() 265 + def tip_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 266 + env: MutableMapping[str, Any]) -> str: 267 + return self._admonition_open( "Tip") 268 + def tip_close(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 269 + env: MutableMapping[str, Any]) -> str: 270 + return self._admonition_close() 271 + def warning_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 272 + env: MutableMapping[str, Any]) -> str: 273 + return self._admonition_open( "Warning") 274 + def warning_close(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 275 + env: MutableMapping[str, Any]) -> str: 276 + return self._admonition_close() 277 + def dl_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 278 + env: MutableMapping[str, Any]) -> str: 279 + return ".RS 4" 280 + def dl_close(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 281 + env: MutableMapping[str, Any]) -> str: 282 + return ".RE" 283 + def dt_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 284 + env: MutableMapping[str, Any]) -> str: 285 + return ".PP" 286 + def dt_close(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 287 + env: MutableMapping[str, Any]) -> str: 288 + return "" 289 + def dd_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 290 + env: MutableMapping[str, Any]) -> str: 291 + self._enter_block() 292 + return ".RS 4" 293 + def dd_close(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 294 + env: MutableMapping[str, Any]) -> str: 295 + self._leave_block() 296 + return ".RE" 297 + def myst_role(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 298 + env: MutableMapping[str, Any]) -> str: 299 + if token.meta['name'] in [ 'command', 'env', 'option' ]: 300 + return f'\\fB{man_escape(token.content)}\\fP' 301 + elif token.meta['name'] in [ 'file', 'var' ]: 302 + return f'\\fI{man_escape(token.content)}\\fP' 303 + elif token.meta['name'] == 'manpage': 304 + [page, section] = [ s.strip() for s in token.content.rsplit('(', 1) ] 305 + section = section[:-1] 306 + return f'\\fB{man_escape(page)}\\fP\\fR({man_escape(section)})\\fP' 307 + else: 308 + raise NotImplementedError("md node not supported yet", token) 309 + def inline_anchor(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 310 + env: MutableMapping[str, Any]) -> str: 311 + return "" # mdoc knows no anchors 312 + def heading_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 313 + env: MutableMapping[str, Any]) -> str: 314 + raise RuntimeError("md token not supported in manpages", token) 315 + def heading_close(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 316 + env: MutableMapping[str, Any]) -> str: 317 + raise RuntimeError("md token not supported in manpages", token) 318 + def ordered_list_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 319 + env: MutableMapping[str, Any]) -> str: 320 + # max item head width for a number, a dot, and one leading space and one trailing space 321 + width = 3 + len(str(cast(int, token.meta['end']))) 322 + self._list_stack.append( 323 + List(width = width, 324 + next_idx = cast(int, token.attrs.get('start', 1)), 325 + compact = bool(token.meta['compact']))) 326 + return self._maybe_parbreak() 327 + def ordered_list_close(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 328 + env: MutableMapping[str, Any]) -> str: 329 + self._list_stack.pop() 330 + return ""
+18 -6
pkgs/tools/nix/nixos-render-docs/src/nixos_render_docs/md.py
··· 1 1 from abc import ABC 2 2 from collections.abc import Mapping, MutableMapping, Sequence 3 3 from frozendict import frozendict # type: ignore[attr-defined] 4 - from typing import Any, Callable, Optional 4 + from typing import Any, Callable, cast, Iterable, Optional 5 5 6 6 import re 7 7 ··· 79 79 } 80 80 self._admonition_stack = [] 81 81 82 + def _join_block(self, ls: Iterable[str]) -> str: 83 + return "".join(ls) 84 + def _join_inline(self, ls: Iterable[str]) -> str: 85 + return "".join(ls) 86 + 82 87 def admonition_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 83 88 env: MutableMapping[str, Any]) -> str: 84 89 tag = token.info.strip() ··· 98 103 return self.rules[token.type](tokens[i], tokens, i, options, env) 99 104 else: 100 105 raise NotImplementedError("md token not supported yet", token) 101 - return "".join(map(lambda arg: do_one(*arg), enumerate(tokens))) 106 + return self._join_block(map(lambda arg: do_one(*arg), enumerate(tokens))) 102 107 def renderInline(self, tokens: Sequence[Token], options: OptionsDict, 103 108 env: MutableMapping[str, Any]) -> str: 104 109 def do_one(i: int, token: Token) -> str: ··· 106 111 return self.rules[token.type](tokens[i], tokens, i, options, env) 107 112 else: 108 113 raise NotImplementedError("md token not supported yet", token) 109 - return "".join(map(lambda arg: do_one(*arg), enumerate(tokens))) 114 + return self._join_inline(map(lambda arg: do_one(*arg), enumerate(tokens))) 110 115 111 116 def text(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 112 117 env: MutableMapping[str, Any]) -> str: ··· 364 369 # of each item to hidden. this is not useful for our stylesheets, which 365 370 # signify this with a special css class on list elements instead. 366 371 wide_stack = [] 372 + end_stack = [] 367 373 for i in range(0, len(tokens)): 368 374 if tokens[i].type in [ 'bullet_list_open', 'ordered_list_open' ]: 369 375 wide_stack.append([i, True]) 376 + end_stack.append([i, cast(int, tokens[i].attrs.get('start', 1))]) 370 377 elif tokens[i].type in [ 'bullet_list_close', 'ordered_list_close' ]: 371 378 (idx, compact) = wide_stack.pop() 372 - tokens[idx].attrs['compact'] = compact 379 + tokens[idx].meta['compact'] = compact 380 + (idx, end) = end_stack.pop() 381 + if tokens[i].type == 'ordered_list_close': 382 + tokens[idx].meta['end'] = end - 1 373 383 elif len(wide_stack) > 0 and tokens[i].type == 'paragraph_open' and not tokens[i].hidden: 374 384 wide_stack[-1][1] = False 385 + elif tokens[i].type == 'list_item_open': 386 + end_stack[-1][1] += 1 375 387 376 388 return tokens 377 389 ··· 379 391 tokens = self._md.parse(src, env if env is not None else {}) 380 392 return self._post_parse(tokens) 381 393 382 - def _render(self, src: str) -> str: 383 - env: dict[str, Any] = {} 394 + def _render(self, src: str, env: Optional[MutableMapping[str, Any]] = None) -> str: 395 + env = {} if env is None else env 384 396 tokens = self._parse(src, env) 385 397 return self._md.renderer.render(tokens, self._md.options, env) # type: ignore[no-any-return]
+193 -33
pkgs/tools/nix/nixos-render-docs/src/nixos_render_docs/options.py
··· 2 2 import json 3 3 4 4 from abc import abstractmethod 5 - from collections.abc import MutableMapping, Sequence 5 + from collections.abc import Mapping, MutableMapping, Sequence 6 6 from markdown_it.utils import OptionsDict 7 7 from markdown_it.token import Token 8 8 from typing import Any, Optional 9 9 from xml.sax.saxutils import escape, quoteattr 10 10 11 + import markdown_it 12 + 11 13 from .docbook import DocBookRenderer, make_xml_id 14 + from .manpage import ManpageRenderer, man_escape 12 15 from .md import Converter, md_escape 13 16 from .types import OptionLoc, Option, RenderedOption 14 17 ··· 22 25 return option[key] # type: ignore[return-value] 23 26 24 27 class BaseConverter(Converter): 28 + __option_block_separator__: str 29 + 25 30 _options: dict[str, RenderedOption] 26 31 27 32 def __init__(self, manpage_urls: dict[str, str], 28 33 revision: str, 29 - document_type: str, 30 - varlist_id: str, 31 - id_prefix: str, 32 34 markdown_by_default: bool): 33 35 super().__init__(manpage_urls) 34 36 self._options = {} 35 37 self._revision = revision 36 - self._document_type = document_type 37 - self._varlist_id = varlist_id 38 - self._id_prefix = id_prefix 39 38 self._markdown_by_default = markdown_by_default 39 + 40 + def _sorted_options(self) -> list[tuple[str, RenderedOption]]: 41 + keys = list(self._options.keys()) 42 + keys.sort(key=lambda opt: [ (0 if p.startswith("enable") else 1 if p.startswith("package") else 2, p) 43 + for p in self._options[opt].loc ]) 44 + return [ (k, self._options[k]) for k in keys ] 40 45 41 46 def _format_decl_def_loc(self, loc: OptionLoc) -> tuple[Optional[str], str]: 42 47 # locations can be either plain strings (specific to nixpkgs), or attrsets ··· 107 112 108 113 def _render_description(self, desc: str | dict[str, str]) -> list[str]: 109 114 if isinstance(desc, str) and self._markdown_by_default: 110 - return [ self._render(desc) ] 115 + return [ self._render(desc) ] if desc else [] 111 116 elif isinstance(desc, dict) and desc.get('_type') == 'mdDoc': 112 - return [ self._render(desc['text']) ] 117 + return [ self._render(desc['text']) ] if desc['text'] else [] 113 118 else: 114 119 raise Exception("description has unrecognized type", desc) 115 120 ··· 117 122 def _related_packages_header(self) -> list[str]: raise NotImplementedError() 118 123 119 124 def _convert_one(self, option: dict[str, Any]) -> list[str]: 120 - result = [] 125 + blocks: list[list[str]] = [] 121 126 122 127 if desc := option.get('description'): 123 - result += self._render_description(desc) 128 + blocks.append(self._render_description(desc)) 124 129 if typ := option.get('type'): 125 130 ro = " *(read only)*" if option.get('readOnly', False) else "" 126 - result.append(self._render(f"*Type:* {md_escape(typ)}{ro}")) 131 + blocks.append([ self._render(f"*Type:*\n{md_escape(typ)}{ro}") ]) 127 132 128 - result += self._render_code(option, 'default') 129 - result += self._render_code(option, 'example') 133 + if option.get('default'): 134 + blocks.append(self._render_code(option, 'default')) 135 + if option.get('example'): 136 + blocks.append(self._render_code(option, 'example')) 130 137 131 138 if related := option.get('relatedPackages'): 132 - result += self._related_packages_header() 133 - result.append(self._render(related)) 139 + blocks.append(self._related_packages_header()) 140 + blocks[-1].append(self._render(related)) 134 141 if decl := option.get('declarations'): 135 - result += self._render_decl_def("Declared by", decl) 142 + blocks.append(self._render_decl_def("Declared by", decl)) 136 143 if defs := option.get('definitions'): 137 - result += self._render_decl_def("Defined by", defs) 144 + blocks.append(self._render_decl_def("Defined by", defs)) 138 145 139 - return result 146 + for part in [ p for p in blocks[0:-1] if p ]: 147 + part.append(self.__option_block_separator__) 148 + 149 + return [ l for part in blocks for l in part ] 150 + 151 + def _render_option(self, name: str, option: dict[str, Any]) -> RenderedOption: 152 + try: 153 + return RenderedOption(option['loc'], self._convert_one(option)) 154 + except Exception as e: 155 + raise Exception(f"Failed to render option {name}") from e 140 156 141 157 def add_options(self, options: dict[str, Any]) -> None: 142 158 for (name, option) in options.items(): 143 - try: 144 - self._options[name] = RenderedOption(option['loc'], self._convert_one(option)) 145 - except Exception as e: 146 - raise Exception(f"Failed to render option {name}") from e 159 + self._options[name] = self._render_option(name, option) 147 160 148 161 @abstractmethod 149 162 def finalize(self) -> str: raise NotImplementedError() ··· 159 172 # TODO keep optionsDocBook diff small. remove soon if rendering is still good. 160 173 def ordered_list_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 161 174 env: MutableMapping[str, Any]) -> str: 162 - token.attrs['compact'] = False 175 + token.meta['compact'] = False 163 176 return super().ordered_list_open(token, tokens, i, options, env) 164 177 def bullet_list_open(self, token: Token, tokens: Sequence[Token], i: int, options: OptionsDict, 165 178 env: MutableMapping[str, Any]) -> str: 166 - token.attrs['compact'] = False 179 + token.meta['compact'] = False 167 180 return super().bullet_list_open(token, tokens, i, options, env) 168 181 169 182 class DocBookConverter(BaseConverter): 170 183 __renderer__ = OptionsDocBookRenderer 184 + __option_block_separator__ = "" 185 + 186 + def __init__(self, manpage_urls: dict[str, str], 187 + revision: str, 188 + markdown_by_default: bool, 189 + document_type: str, 190 + varlist_id: str, 191 + id_prefix: str): 192 + super().__init__(manpage_urls, revision, markdown_by_default) 193 + self._document_type = document_type 194 + self._varlist_id = varlist_id 195 + self._id_prefix = id_prefix 171 196 172 197 def _render_code(self, option: dict[str, Any], key: str) -> list[str]: 173 198 if lit := option_is(option, key, 'literalDocBook'): ··· 207 232 return [ "</simplelist>" ] 208 233 209 234 def finalize(self) -> str: 210 - keys = list(self._options.keys()) 211 - keys.sort(key=lambda opt: [ (0 if p.startswith("enable") else 1 if p.startswith("package") else 2, p) 212 - for p in self._options[opt].loc ]) 213 - 214 235 result = [] 215 236 216 237 result.append('<?xml version="1.0" encoding="UTF-8"?>') ··· 227 248 f' xml:id="{self._varlist_id}">', 228 249 ] 229 250 230 - for name in keys: 251 + for (name, opt) in self._sorted_options(): 231 252 id = make_xml_id(self._id_prefix + name) 232 253 result += [ 233 254 "<varlistentry>", ··· 236 257 f"<option>{escape(name)}</option></term>"), 237 258 "<listitem>" 238 259 ] 239 - result += self._options[name].lines 260 + result += opt.lines 240 261 result += [ 241 262 "</listitem>", 242 263 "</varlistentry>" ··· 248 269 249 270 return "\n".join(result) 250 271 272 + class OptionsManpageRenderer(ManpageRenderer): 273 + pass 274 + 275 + class ManpageConverter(BaseConverter): 276 + def __renderer__(self, manpage_urls: Mapping[str, str], 277 + parser: Optional[markdown_it.MarkdownIt] = None) -> OptionsManpageRenderer: 278 + return OptionsManpageRenderer(manpage_urls, self._options_by_id, parser) 279 + 280 + __option_block_separator__ = ".sp" 281 + 282 + _options_by_id: dict[str, str] 283 + _links_in_last_description: Optional[list[str]] = None 284 + 285 + def __init__(self, revision: str, markdown_by_default: bool): 286 + self._options_by_id = {} 287 + super().__init__({}, revision, markdown_by_default) 288 + 289 + def _render_option(self, name: str, option: dict[str, Any]) -> RenderedOption: 290 + assert isinstance(self._md.renderer, OptionsManpageRenderer) 291 + links = self._md.renderer.link_footnotes = [] 292 + result = super()._render_option(name, option) 293 + self._md.renderer.link_footnotes = None 294 + return result._replace(links=links) 295 + 296 + def add_options(self, options: dict[str, Any]) -> None: 297 + for (k, v) in options.items(): 298 + self._options_by_id[f'#{make_xml_id(f"opt-{k}")}'] = k 299 + return super().add_options(options) 300 + 301 + def _render_code(self, option: dict[str, Any], key: str) -> list[str]: 302 + if lit := option_is(option, key, 'literalDocBook'): 303 + raise RuntimeError("can't render manpages in the presence of docbook") 304 + else: 305 + assert isinstance(self._md.renderer, OptionsManpageRenderer) 306 + try: 307 + self._md.renderer.inline_code_is_quoted = False 308 + return super()._render_code(option, key) 309 + finally: 310 + self._md.renderer.inline_code_is_quoted = True 311 + 312 + def _render_description(self, desc: str | dict[str, Any]) -> list[str]: 313 + if isinstance(desc, str) and not self._markdown_by_default: 314 + raise RuntimeError("can't render manpages in the presence of docbook") 315 + else: 316 + return super()._render_description(desc) 317 + 318 + def _related_packages_header(self) -> list[str]: 319 + return [ 320 + '\\fIRelated packages:\\fP', 321 + '.sp', 322 + ] 323 + 324 + def _decl_def_header(self, header: str) -> list[str]: 325 + return [ 326 + f'\\fI{man_escape(header)}:\\fP', 327 + ] 328 + 329 + def _decl_def_entry(self, href: Optional[str], name: str) -> list[str]: 330 + return [ 331 + '.RS 4', 332 + f'\\fB{man_escape(name)}\\fP', 333 + '.RE' 334 + ] 335 + 336 + def _decl_def_footer(self) -> list[str]: 337 + return [] 338 + 339 + def finalize(self) -> str: 340 + result = [] 341 + 342 + result += [ 343 + r'''.TH "CONFIGURATION\&.NIX" "5" "01/01/1980" "NixOS" "NixOS Reference Pages"''', 344 + r'''.\" disable hyphenation''', 345 + r'''.nh''', 346 + r'''.\" disable justification (adjust text to left margin only)''', 347 + r'''.ad l''', 348 + r'''.\" enable line breaks after slashes''', 349 + r'''.cflags 4 /''', 350 + r'''.SH "NAME"''', 351 + self._render('{file}`configuration.nix` - NixOS system configuration specification'), 352 + r'''.SH "DESCRIPTION"''', 353 + r'''.PP''', 354 + self._render('The file {file}`/etc/nixos/configuration.nix` contains the ' 355 + 'declarative specification of your NixOS system configuration. ' 356 + 'The command {command}`nixos-rebuild` takes this file and ' 357 + 'realises the system configuration specified therein.'), 358 + r'''.SH "OPTIONS"''', 359 + r'''.PP''', 360 + self._render('You can use the following options in {file}`configuration.nix`.'), 361 + ] 362 + 363 + for (name, opt) in self._sorted_options(): 364 + result += [ 365 + ".PP", 366 + f"\\fB{man_escape(name)}\\fR", 367 + ".RS 4", 368 + ] 369 + result += opt.lines 370 + if links := opt.links: 371 + result.append(self.__option_block_separator__) 372 + md_links = "" 373 + for i in range(0, len(links)): 374 + md_links += "\n" if i > 0 else "" 375 + if links[i].startswith('#opt-'): 376 + md_links += f"{i+1}. see the {{option}}`{self._options_by_id[links[i]]}` option" 377 + else: 378 + md_links += f"{i+1}. " + md_escape(links[i]) 379 + result.append(self._render(md_links)) 380 + 381 + result.append(".RE") 382 + 383 + result += [ 384 + r'''.SH "AUTHORS"''', 385 + r'''.PP''', 386 + r'''Eelco Dolstra and the Nixpkgs/NixOS contributors''', 387 + ] 388 + 389 + return "\n".join(result) 390 + 251 391 def _build_cli_db(p: argparse.ArgumentParser) -> None: 252 392 p.add_argument('--manpage-urls', required=True) 253 393 p.add_argument('--revision', required=True) ··· 258 398 p.add_argument("infile") 259 399 p.add_argument("outfile") 260 400 401 + def _build_cli_manpage(p: argparse.ArgumentParser) -> None: 402 + p.add_argument('--revision', required=True) 403 + p.add_argument("infile") 404 + p.add_argument("outfile") 405 + 261 406 def _run_cli_db(args: argparse.Namespace) -> None: 262 407 with open(args.manpage_urls, 'r') as manpage_urls: 263 408 md = DocBookConverter( 264 409 json.load(manpage_urls), 265 410 revision = args.revision, 411 + markdown_by_default = args.markdown_by_default, 266 412 document_type = args.document_type, 267 413 varlist_id = args.varlist_id, 268 - id_prefix = args.id_prefix, 269 - markdown_by_default = args.markdown_by_default) 414 + id_prefix = args.id_prefix) 270 415 271 416 with open(args.infile, 'r') as f: 272 417 md.add_options(json.load(f)) 273 418 with open(args.outfile, 'w') as f: 274 419 f.write(md.finalize()) 275 420 421 + def _run_cli_manpage(args: argparse.Namespace) -> None: 422 + md = ManpageConverter( 423 + revision = args.revision, 424 + # manpage rendering only works if there's no docbook, so we can 425 + # also set markdown_by_default with no ill effects. 426 + markdown_by_default = True) 427 + 428 + with open(args.infile, 'r') as f: 429 + md.add_options(json.load(f)) 430 + with open(args.outfile, 'w') as f: 431 + f.write(md.finalize()) 432 + 276 433 def build_cli(p: argparse.ArgumentParser) -> None: 277 434 formats = p.add_subparsers(dest='format', required=True) 278 435 _build_cli_db(formats.add_parser('docbook')) 436 + _build_cli_manpage(formats.add_parser('manpage')) 279 437 280 438 def run_cli(args: argparse.Namespace) -> None: 281 439 if args.format == 'docbook': 282 440 _run_cli_db(args) 441 + elif args.format == 'manpage': 442 + _run_cli_manpage(args) 283 443 else: 284 444 raise RuntimeError('format not hooked up', args)
+4 -2
pkgs/tools/nix/nixos-render-docs/src/nixos_render_docs/types.py
··· 7 7 OptionLoc = str | dict[str, str] 8 8 Option = dict[str, str | dict[str, str] | list[OptionLoc]] 9 9 10 - RenderedOption = NamedTuple('RenderedOption', [('loc', list[str]), 11 - ('lines', list[str])]) 10 + class RenderedOption(NamedTuple): 11 + loc: list[str] 12 + lines: list[str] 13 + links: Optional[list[str]] = None 12 14 13 15 RenderFn = Callable[[Token, Sequence[Token], int, OptionsDict, MutableMapping[str, Any]], str]
+62
pkgs/tools/nix/nixos-render-docs/src/tests/sample_md.py
··· 1 + sample1 = """\ 2 + :::: {.warning} 3 + foo 4 + ::: {.note} 5 + nested 6 + ::: 7 + :::: 8 + 9 + [ 10 + multiline 11 + ](link) 12 + 13 + {manpage}`man(1)` reference 14 + 15 + [some [nested]{#a} anchors]{#b} 16 + 17 + *emph* **strong** *nesting emph **and strong** and `code`* 18 + 19 + - wide bullet 20 + 21 + - list 22 + 23 + 1. wide ordered 24 + 25 + 2. list 26 + 27 + - narrow bullet 28 + - list 29 + 30 + 1. narrow ordered 31 + 2. list 32 + 33 + > quotes 34 + >> with *nesting* 35 + >> 36 + >> nested code block 37 + > 38 + > - and lists 39 + > - ``` 40 + > containing code 41 + > ``` 42 + > 43 + > and more quote 44 + 45 + 100. list starting at 100 46 + 1. goes on 47 + 48 + deflist 49 + : > with a quote 50 + > and stuff 51 + 52 + code block 53 + 54 + ``` 55 + fenced block 56 + ``` 57 + 58 + text 59 + 60 + more stuff in same deflist 61 + : foo 62 + """
+18 -14
pkgs/tools/nix/nixos-render-docs/src/tests/test_lists.py
··· 13 13 ("ordered", "ol", ".", "1.", "2.", "1", "2") if ordered else ("bullet", "ul", "-", "-", "-", "", "") 14 14 ) 15 15 c = Converter({}) 16 + meta = { 'end': int(e2[:-1]) } if ordered else {} 17 + meta['compact'] = False 16 18 assert c._parse(f"{e1} a\n\n{e2} b") == [ 17 - Token(type=f'{t}_list_open', tag=tag, nesting=1, attrs={'compact': False}, map=[0, 3], level=0, 18 - children=None, content='', markup=m, info='', meta={}, block=True, hidden=False), 19 + Token(type=f'{t}_list_open', tag=tag, nesting=1, attrs={}, map=[0, 3], level=0, 20 + children=None, content='', markup=m, info='', meta=meta, block=True, hidden=False), 19 21 Token(type='list_item_open', tag='li', nesting=1, attrs={}, map=[0, 2], level=1, children=None, 20 22 content='', markup=m, info=i1, meta={}, block=True, hidden=False), 21 23 Token(type='paragraph_open', tag='p', nesting=1, attrs={}, map=[0, 1], level=2, children=None, ··· 54 56 ("ordered", "ol", ".", "1.", "2.", "1", "2") if ordered else ("bullet", "ul", "-", "-", "-", "", "") 55 57 ) 56 58 c = Converter({}) 59 + meta = { 'end': int(e2[:-1]) } if ordered else {} 60 + meta['compact'] = True 57 61 assert c._parse(f"{e1} a\n{e2} b") == [ 58 - Token(type=f'{t}_list_open', tag=tag, nesting=1, attrs={'compact': True}, map=[0, 2], level=0, 59 - children=None, content='', markup=m, info='', meta={}, block=True, hidden=False), 62 + Token(type=f'{t}_list_open', tag=tag, nesting=1, attrs={}, map=[0, 2], level=0, 63 + children=None, content='', markup=m, info='', meta=meta, block=True, hidden=False), 60 64 Token(type='list_item_open', tag='li', nesting=1, attrs={}, map=[0, 1], level=1, children=None, 61 65 content='', markup=m, info=i1, meta={}, block=True, hidden=False), 62 66 Token(type='paragraph_open', tag='p', nesting=1, attrs={}, map=[0, 1], level=2, children=None, ··· 89 93 content='', markup=m, info='', meta={}, block=True, hidden=False) 90 94 ] 91 95 assert c._parse(f"{e1} - a\n{e2} b") == [ 92 - Token(type=f'{t}_list_open', tag=tag, nesting=1, attrs={'compact': True}, map=[0, 2], level=0, 93 - children=None, content='', markup=m, info='', meta={}, block=True, hidden=False), 96 + Token(type=f'{t}_list_open', tag=tag, nesting=1, attrs={}, map=[0, 2], level=0, 97 + children=None, content='', markup=m, info='', meta=meta, block=True, hidden=False), 94 98 Token(type='list_item_open', tag='li', nesting=1, attrs={}, map=[0, 1], level=1, children=None, 95 99 content='', markup=m, info=i1, meta={}, block=True, hidden=False), 96 - Token(type='bullet_list_open', tag='ul', nesting=1, attrs={'compact': True}, map=[0, 1], level=2, 97 - children=None, content='', markup='-', info='', meta={}, block=True, hidden=False), 100 + Token(type='bullet_list_open', tag='ul', nesting=1, attrs={}, map=[0, 1], level=2, 101 + children=None, content='', markup='-', info='', meta={'compact': True}, block=True, hidden=False), 98 102 Token(type='list_item_open', tag='li', nesting=1, attrs={}, map=[0, 1], level=3, children=None, 99 103 content='', markup='-', info='', meta={}, block=True, hidden=False), 100 104 Token(type='paragraph_open', tag='p', nesting=1, attrs={}, map=[0, 1], level=4, children=None, ··· 131 135 content='', markup=m, info='', meta={}, block=True, hidden=False) 132 136 ] 133 137 assert c._parse(f"{e1} - a\n{e2} - b") == [ 134 - Token(type=f'{t}_list_open', tag=tag, nesting=1, attrs={'compact': True}, map=[0, 2], level=0, 135 - children=None, content='', markup=m, info='', meta={}, block=True, hidden=False), 138 + Token(type=f'{t}_list_open', tag=tag, nesting=1, attrs={}, map=[0, 2], level=0, 139 + children=None, content='', markup=m, info='', meta=meta, block=True, hidden=False), 136 140 Token(type='list_item_open', tag='li', nesting=1, attrs={}, map=[0, 1], level=1, children=None, 137 141 content='', markup=m, info=i1, meta={}, block=True, hidden=False), 138 - Token(type='bullet_list_open', tag='ul', nesting=1, attrs={'compact': True}, map=[0, 1], level=2, 139 - children=None, content='', markup='-', info='', meta={}, block=True, hidden=False), 142 + Token(type='bullet_list_open', tag='ul', nesting=1, attrs={}, map=[0, 1], level=2, 143 + children=None, content='', markup='-', info='', meta={'compact': True}, block=True, hidden=False), 140 144 Token(type='list_item_open', tag='li', nesting=1, attrs={}, map=[0, 1], level=3, children=None, 141 145 content='', markup='-', info='', meta={}, block=True, hidden=False), 142 146 Token(type='paragraph_open', tag='p', nesting=1, attrs={}, map=[0, 1], level=4, children=None, ··· 157 161 content='', markup=m, info='', meta={}, block=True, hidden=False), 158 162 Token(type='list_item_open', tag='li', nesting=1, attrs={}, map=[1, 2], level=1, children=None, 159 163 content='', markup=m, info=i2, meta={}, block=True, hidden=False), 160 - Token(type='bullet_list_open', tag='ul', nesting=1, attrs={'compact': True}, map=[1, 2], level=2, 161 - children=None, content='', markup='-', info='', meta={}, block=True, hidden=False), 164 + Token(type='bullet_list_open', tag='ul', nesting=1, attrs={}, map=[1, 2], level=2, 165 + children=None, content='', markup='-', info='', meta={'compact': True}, block=True, hidden=False), 162 166 Token(type='list_item_open', tag='li', nesting=1, attrs={}, map=[1, 2], level=3, children=None, 163 167 content='', markup='-', info='', meta={}, block=True, hidden=False), 164 168 Token(type='paragraph_open', tag='p', nesting=1, attrs={}, map=[1, 2], level=4, children=None,
+177
pkgs/tools/nix/nixos-render-docs/src/tests/test_manpage.py
··· 1 + import nixos_render_docs 2 + 3 + from sample_md import sample1 4 + 5 + from typing import Mapping, Optional 6 + 7 + import markdown_it 8 + 9 + class Converter(nixos_render_docs.md.Converter): 10 + def __renderer__(self, manpage_urls: Mapping[str, str], 11 + parser: Optional[markdown_it.MarkdownIt] = None 12 + ) -> nixos_render_docs.manpage.ManpageRenderer: 13 + return nixos_render_docs.manpage.ManpageRenderer(manpage_urls, self.options_by_id, parser) 14 + 15 + def __init__(self, manpage_urls: Mapping[str, str], options_by_id: dict[str, str] = {}): 16 + self.options_by_id = options_by_id 17 + super().__init__(manpage_urls) 18 + 19 + def test_inline_code() -> None: 20 + c = Converter({}) 21 + assert c._render("1 `x a x` 2") == "1 \\fR\\(oqx a x\\(cq\\fP 2" 22 + 23 + def test_fonts() -> None: 24 + c = Converter({}) 25 + assert c._render("*a **b** c*") == "\\fIa \\fBb\\fI c\\fR" 26 + assert c._render("*a [1 `2`](3) c*") == "\\fIa \\fB1 \\fR\\(oq2\\(cq\\fP\\fI c\\fR" 27 + 28 + def test_expand_link_targets() -> None: 29 + c = Converter({}, { '#foo1': "bar", "#foo2": "bar" }) 30 + assert (c._render("[a](#foo1) [](#foo2) [b](#bar1) [](#bar2)") == 31 + "\\fBa\\fR \\fBbar\\fR \\fBb\\fR \\fB\\fR") 32 + 33 + def test_collect_links() -> None: 34 + c = Converter({}, { '#foo': "bar" }) 35 + assert isinstance(c._md.renderer, nixos_render_docs.manpage.ManpageRenderer) 36 + c._md.renderer.link_footnotes = [] 37 + assert c._render("[a](link1) [b](link2)") == "\\fBa\\fR[1]\\fR \\fBb\\fR[2]\\fR" 38 + assert c._md.renderer.link_footnotes == ['link1', 'link2'] 39 + 40 + def test_dedup_links() -> None: 41 + c = Converter({}, { '#foo': "bar" }) 42 + assert isinstance(c._md.renderer, nixos_render_docs.manpage.ManpageRenderer) 43 + c._md.renderer.link_footnotes = [] 44 + assert c._render("[a](link) [b](link)") == "\\fBa\\fR[1]\\fR \\fBb\\fR[1]\\fR" 45 + assert c._md.renderer.link_footnotes == ['link'] 46 + 47 + def test_full() -> None: 48 + c = Converter({ 'man(1)': 'http://example.org' }) 49 + assert c._render(sample1) == """\ 50 + .sp 51 + .RS 4 52 + \\fBWarning\\fP 53 + .br 54 + foo 55 + .sp 56 + .RS 4 57 + \\fBNote\\fP 58 + .br 59 + nested 60 + .RE 61 + .RE 62 + .sp 63 + \\fBmultiline\\fR 64 + .sp 65 + \\fBman\\fP\\fR(1)\\fP reference 66 + .sp 67 + some nested anchors 68 + .sp 69 + \\fIemph\\fR \\fBstrong\\fR \\fInesting emph \\fBand strong\\fI and \\fR\\(oqcode\\(cq\\fP\\fR 70 + .sp 71 + .RS 4 72 + \\h'-2'\\fB\\[u2022]\\fP\\h'1'\\c 73 + wide bullet 74 + .RE 75 + .sp 76 + .RS 4 77 + \\h'-2'\\fB\\[u2022]\\fP\\h'1'\\c 78 + list 79 + .RE 80 + .sp 81 + .RS 4 82 + \\h'-3'\\fB1\\&.\\fP\\h'1'\\c 83 + wide ordered 84 + .RE 85 + .sp 86 + .RS 4 87 + \\h'-3'\\fB2\\&.\\fP\\h'1'\\c 88 + list 89 + .RE 90 + .sp 91 + .RS 4 92 + \\h'-2'\\fB\\[u2022]\\fP\\h'1'\\c 93 + narrow bullet 94 + .RE 95 + .RS 4 96 + \\h'-2'\\fB\\[u2022]\\fP\\h'1'\\c 97 + list 98 + .RE 99 + .sp 100 + .RS 4 101 + \\h'-3'\\fB1\\&.\\fP\\h'1'\\c 102 + narrow ordered 103 + .RE 104 + .RS 4 105 + \\h'-3'\\fB2\\&.\\fP\\h'1'\\c 106 + list 107 + .RE 108 + .sp 109 + .RS 4 110 + \\h'-3'\\fI\\(lq\\(rq\\fP\\h'1'\\c 111 + quotes 112 + .sp 113 + .RS 4 114 + \\h'-3'\\fI\\(lq\\(rq\\fP\\h'1'\\c 115 + with \\fInesting\\fR 116 + .sp 117 + .RS 4 118 + .nf 119 + nested code block 120 + .fi 121 + .RE 122 + .RE 123 + .sp 124 + .RS 4 125 + \\h'-2'\\fB\\[u2022]\\fP\\h'1'\\c 126 + and lists 127 + .RE 128 + .RS 4 129 + \\h'-2'\\fB\\[u2022]\\fP\\h'1'\\c 130 + .sp 131 + .RS 4 132 + .nf 133 + containing code 134 + .fi 135 + .RE 136 + .RE 137 + .sp 138 + and more quote 139 + .RE 140 + .sp 141 + .RS 6 142 + \\h'-5'\\fB100\\&.\\fP\\h'1'\\c 143 + list starting at 100 144 + .RE 145 + .RS 6 146 + \\h'-5'\\fB101\\&.\\fP\\h'1'\\c 147 + goes on 148 + .RE 149 + .RS 4 150 + .PP 151 + deflist 152 + .RS 4 153 + .RS 4 154 + \\h'-3'\\fI\\(lq\\(rq\\fP\\h'1'\\c 155 + with a quote and stuff 156 + .RE 157 + .sp 158 + .RS 4 159 + .nf 160 + code block 161 + .fi 162 + .RE 163 + .sp 164 + .RS 4 165 + .nf 166 + fenced block 167 + .fi 168 + .RE 169 + .sp 170 + text 171 + .RE 172 + .PP 173 + more stuff in same deflist 174 + .RS 4 175 + foo 176 + .RE 177 + .RE"""
+1 -1
pkgs/tools/nix/nixos-render-docs/src/tests/test_options.py
··· 4 4 import pytest 5 5 6 6 def test_option_headings() -> None: 7 - c = nixos_render_docs.options.DocBookConverter({}, 'local', 'none', 'vars', 'opt-', False) 7 + c = nixos_render_docs.options.DocBookConverter({}, 'local', False, 'none', 'vars', 'opt-') 8 8 with pytest.raises(RuntimeError) as exc: 9 9 c._render("# foo") 10 10 assert exc.value.args[0] == 'md token not supported in options doc'
+2 -2
pkgs/tools/security/exploitdb/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "exploitdb"; 9 - version = "2022-11-22"; 9 + version = "2023-02-03"; 10 10 11 11 src = fetchFromGitLab { 12 12 owner = "exploit-database"; 13 13 repo = pname; 14 14 rev = "refs/tags/${version}"; 15 - hash = "sha256-G871FvwekcF5uMq7NRoWuIb9UqzIbMniboKlUzgCaeI="; 15 + hash = "sha256-uTyUACY9Pm+gMuLrttGCNZ/UQaOW/h12ysY/noTkw7A="; 16 16 }; 17 17 18 18 nativeBuildInputs = [
+3 -3
pkgs/tools/security/kube-bench/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "kube-bench"; 5 - version = "0.6.10"; 5 + version = "0.6.11"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "aquasecurity"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-0rhs5MZzf9E848FxYuZdXTarYG1BwnfS9HDz9iYR/vo="; 11 + sha256 = "sha256-fh7kVYajpn8DKteyvAJf3dk1UrSXFX2gKtTAvuiOjpY="; 12 12 }; 13 - vendorSha256 = "sha256-uaFEtWI5tdL0egaJPTKh7k66Kyjq+N8YDlUGJDtFRqY="; 13 + vendorHash = "sha256-PM8VnPNMLhDhRVy6xafW0kuTHgd374r0Ol2U9k8LNIw="; 14 14 15 15 nativeBuildInputs = [ installShellFiles ]; 16 16
+2 -1
pkgs/tools/video/svt-av1/default.nix
··· 43 43 license = with licenses; [ aom bsd3 ]; 44 44 maintainers = with maintainers; [ Madouura ]; 45 45 platforms = platforms.unix; 46 - broken = stdenv.isAarch64; # undefined reference to `cpuinfo_arm_linux_init' 46 + # error: use of undeclared identifier 'kCVPixelFormatType_444YpCbCr16BiPlanarVideoRange' 47 + broken = stdenv.isAarch64 && stdenv.isDarwin; 47 48 }; 48 49 })
+23 -3
pkgs/top-level/all-packages.nix
··· 780 780 781 781 flare-floss = callPackage ../tools/security/flare-floss { }; 782 782 783 + flare-signal = callPackage ../applications/networking/instant-messengers/flare-signal { }; 784 + 783 785 prefer-remote-fetch = import ../build-support/prefer-remote-fetch; 784 786 785 787 global-platform-pro = callPackage ../development/tools/global-platform-pro { }; ··· 7565 7567 gtk = gtk2-x11; 7566 7568 }; 7567 7569 7570 + gcfflasher = callPackage ../applications/misc/gcfflasher { }; 7571 + 7568 7572 gdmap = callPackage ../tools/system/gdmap { }; 7569 7573 7570 7574 gef = callPackage ../development/tools/misc/gef { }; ··· 7895 7899 grin = callPackage ../tools/text/grin { }; 7896 7900 7897 7901 gyb = callPackage ../tools/backup/gyb { }; 7902 + 7903 + harminv = callPackage ../development/libraries/science/chemistry/harminv { }; 7898 7904 7899 7905 igrep = callPackage ../tools/text/igrep { 7900 7906 inherit (darwin.apple_sdk.frameworks) Security; ··· 8788 8794 8789 8795 kibi = callPackage ../applications/editors/kibi { }; 8790 8796 8797 + kio-admin = libsForQt5.callPackage ../tools/filesystems/kio-admin { }; 8798 + 8791 8799 kio-fuse = libsForQt5.callPackage ../tools/filesystems/kio-fuse { }; 8792 8800 8793 8801 kismet = callPackage ../applications/networking/sniffers/kismet { }; ··· 19572 19580 fftwSinglePrec = fftw.override { precision = "single"; }; 19573 19581 fftwFloat = fftwSinglePrec; # the configure option is just an alias 19574 19582 fftwLongDouble = fftw.override { precision = "long-double"; }; 19583 + fftwQuad = fftw.override { precision = "quad-precision"; }; 19575 19584 fftwMpi = fftw.override { enableMpi = true; }; 19576 19585 19577 19586 filter-audio = callPackage ../development/libraries/filter-audio {}; ··· 24844 24853 mariadb_106 24845 24854 mariadb_108 24846 24855 mariadb_109 24856 + mariadb_1010 24847 24857 ; 24848 24858 mariadb = mariadb_106; 24849 24859 mariadb-embedded = mariadb.override { withEmbedded = true; }; ··· 26031 26041 26032 26042 linux-doc = callPackage ../os-specific/linux/kernel/htmldocs.nix { }; 26033 26043 26034 - cryptodev = linuxKernel.packages.linux_4_9.cryptodev; 26044 + cryptodev = linuxPackages.cryptodev; 26035 26045 26036 26046 dpdk = callPackage ../os-specific/linux/dpdk { 26037 26047 kernel = null; # dpdk modules are in linuxPackages.dpdk.kmod ··· 27295 27305 27296 27306 ledger-udev-rules = callPackage ../os-specific/linux/ledger-udev-rules {}; 27297 27307 27308 + libGDSII = callPackage ../development/libraries/science/chemistry/libGDSII { }; 27309 + 27298 27310 inherit (callPackages ../data/fonts/liberation-fonts { }) 27299 27311 liberation_ttf_v1 27300 27312 liberation_ttf_v2 ··· 30560 30572 30561 30573 jwm-settings-manager = callPackage ../applications/window-managers/jwm/jwm-settings-manager.nix { }; 30562 30574 30563 - k3s = callPackage ../applications/networking/cluster/k3s { }; 30575 + k3s_1_23 = callPackage ../applications/networking/cluster/k3s/1_23 { }; 30576 + k3s_1_24 = callPackage ../applications/networking/cluster/k3s/1_24 { }; 30577 + k3s_1_25 = callPackage ../applications/networking/cluster/k3s/1_25 { }; 30578 + k3s_1_26 = callPackage ../applications/networking/cluster/k3s/1_26 { }; 30579 + k3s = k3s_1_26; 30564 30580 30565 30581 k3sup = callPackage ../applications/networking/cluster/k3sup {}; 30566 30582 ··· 30608 30624 30609 30625 khal = callPackage ../applications/misc/khal { }; 30610 30626 30627 + khoj = callPackage ../servers/search/khoj { }; 30628 + 30611 30629 khard = callPackage ../applications/misc/khard { }; 30612 30630 30613 30631 kid3 = libsForQt5.callPackage ../applications/audio/kid3 { }; ··· 33851 33869 pipewire = null; 33852 33870 }; 33853 33871 33854 - chatterino2 = libsForQt5.callPackage ../applications/networking/instant-messengers/chatterino2 {}; 33872 + chatterino2 = libsForQt5.callPackage ../applications/networking/instant-messengers/chatterino2 { 33873 + stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; 33874 + }; 33855 33875 33856 33876 weston = callPackage ../applications/window-managers/weston { }; 33857 33877
+3 -1
pkgs/top-level/php-packages.nix
··· 84 84 , zendExtension ? false 85 85 , doCheck ? true 86 86 , extName ? name 87 + , allowLocalNetworking ? false 87 88 , ... 88 89 }@args: stdenv.mkDerivation ((builtins.removeAttrs args [ "name" ]) // { 89 90 pname = "php-${name}"; ··· 103 104 ]; 104 105 105 106 inherit configureFlags internalDeps buildInputs zendExtension doCheck; 107 + __darwinAllowLocalNetworking = allowLocalNetworking; 106 108 107 109 preConfigurePhases = [ 108 110 "cdToExtensionRootPhase" ··· 412 414 ]; 413 415 zendExtension = true; 414 416 # Tests launch the builtin webserver. 415 - __darwinAllowLocalNetworking = true; 417 + allowLocalNetworking = true; 416 418 } 417 419 { 418 420 name = "openssl";
+7 -1
pkgs/top-level/python-packages.nix
··· 5804 5804 5805 5805 mediapy = callPackage ../development/python-modules/mediapy { }; 5806 5806 5807 + meep = callPackage ../development/python-modules/meep { }; 5808 + 5807 5809 meilisearch = callPackage ../development/python-modules/meilisearch { }; 5808 5810 5809 5811 meinheld = callPackage ../development/python-modules/meinheld { }; ··· 10413 10415 inherit (pkgs) sentencepiece; 10414 10416 }; 10415 10417 10418 + sentence-transformers = callPackage ../development/python-modules/sentence-transformers { }; 10419 + 10416 10420 sentinel = callPackage ../development/python-modules/sentinel { }; 10417 10421 10418 10422 sentinels = callPackage ../development/python-modules/sentinels { }; ··· 12181 12185 inherit (pkgs.darwin.apple_sdk.frameworks) CoreServices; 12182 12186 }; 12183 12187 12184 - watchfiles = callPackage ../development/python-modules/watchfiles { }; 12188 + watchfiles = callPackage ../development/python-modules/watchfiles { 12189 + inherit (pkgs.darwin.apple_sdk.frameworks) CoreServices; 12190 + }; 12185 12191 12186 12192 watchgod = callPackage ../development/python-modules/watchgod { }; 12187 12193