diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index a5643d3039bb..f11209c11b56 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -6540,6 +6540,12 @@
githubId = 705123;
name = "Jan Tojnar";
};
+ jtrees = {
+ email = "me@jtrees.io";
+ github = "jtrees";
+ githubId = 5802758;
+ name = "Joshua Trees";
+ };
juaningan = {
email = "juaningan@gmail.com";
github = "uningan";
diff --git a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
index 9067b3ccf234..a951835a0764 100644
--- a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
+++ b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
@@ -183,6 +183,14 @@
services.hadoop.hbase.
+
+
+ Sachet,
+ an SMS alerting tool for the Prometheus Alertmanager.
+ Available as
+ services.prometheus.sachet.
+
+
infnoise,
diff --git a/nixos/doc/manual/release-notes/rl-2211.section.md b/nixos/doc/manual/release-notes/rl-2211.section.md
index 6d3b5a1bc7be..73348007cb73 100644
--- a/nixos/doc/manual/release-notes/rl-2211.section.md
+++ b/nixos/doc/manual/release-notes/rl-2211.section.md
@@ -68,6 +68,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- [HBase cluster](https://hbase.apache.org/), a distributed, scalable, big data store. Available as [services.hadoop.hbase](options.html#opt-services.hadoop.hbase.enable).
+- [Sachet](https://github.com/messagebird/sachet/), an SMS alerting tool for the Prometheus Alertmanager. Available as [services.prometheus.sachet](#opt-services.prometheus.sachet.enable).
+
- [infnoise](https://github.com/leetronics/infnoise), a hardware True Random Number Generator dongle.
Available as [services.infnoise](options.html#opt-services.infnoise.enable).
diff --git a/nixos/lib/make-options-doc/mergeJSON.py b/nixos/lib/make-options-doc/mergeJSON.py
index d7dc6ca30074..c7577e41e2d2 100644
--- a/nixos/lib/make-options-doc/mergeJSON.py
+++ b/nixos/lib/make-options-doc/mergeJSON.py
@@ -151,7 +151,7 @@ def p_manpage(md):
md.inline.rules.append('manpage')
def p_admonition(md):
- ADMONITION_PATTERN = re.compile(r'^::: \{([^\n]*?)\}\n(.*?)^:::\n', flags=re.MULTILINE|re.DOTALL)
+ ADMONITION_PATTERN = re.compile(r'^::: \{([^\n]*?)\}\n(.*?)^:::$\n*', flags=re.MULTILINE|re.DOTALL)
def parse(self, m, state):
return {
'type': 'admonition',
diff --git a/nixos/modules/config/networking.nix b/nixos/modules/config/networking.nix
index 185eff746de0..22e580233a10 100644
--- a/nixos/modules/config/networking.nix
+++ b/nixos/modules/config/networking.nix
@@ -35,7 +35,7 @@ in
networking.hostFiles = lib.mkOption {
type = types.listOf types.path;
- defaultText = literalDocBook "Hosts from and ";
+ defaultText = literalMD "Hosts from {option}`networking.hosts` and {option}`networking.extraHosts`";
example = literalExpression ''[ "''${pkgs.my-blocklist-package}/share/my-blocklist/hosts" ]'';
description = lib.mdDoc ''
Files that should be concatenated together to form {file}`/etc/hosts`.
diff --git a/nixos/modules/config/system-path.nix b/nixos/modules/config/system-path.nix
index b2d546b721de..a35510b215fc 100644
--- a/nixos/modules/config/system-path.nix
+++ b/nixos/modules/config/system-path.nix
@@ -78,10 +78,11 @@ in
defaultPackages = mkOption {
type = types.listOf types.package;
default = defaultPackages;
- defaultText = literalDocBook ''
- these packages, with their meta.priority numerically increased
+ defaultText = literalMD ''
+ these packages, with their `meta.priority` numerically increased
(thus lowering their installation priority):
- ${defaultPackagesText}
+
+ ${defaultPackagesText}
'';
example = [];
description = lib.mdDoc ''
diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix
index 915687d1799a..dae2fde0b4e7 100644
--- a/nixos/modules/config/users-groups.nix
+++ b/nixos/modules/config/users-groups.nix
@@ -17,35 +17,35 @@ let
]);
passwordDescription = ''
- The options ,
- and
+ The options {option}`hashedPassword`,
+ {option}`password` and {option}`passwordFile`
controls what password is set for the user.
- overrides both
- and .
- overrides .
+ {option}`hashedPassword` overrides both
+ {option}`password` and {option}`passwordFile`.
+ {option}`password` overrides {option}`passwordFile`.
If none of these three options are set, no password is assigned to
the user, and the user will not be able to do password logins.
- If the option is true, the
+ If the option {option}`users.mutableUsers` is true, the
password defined in one of the three options will only be set when
the user is created for the first time. After that, you are free to
change the password with the ordinary user management commands. If
- is false, you cannot change
+ {option}`users.mutableUsers` is false, you cannot change
user passwords, they will always be set according to the password
options.
'';
hashedPasswordDescription = ''
- To generate a hashed password run mkpasswd -m sha-512.
+ To generate a hashed password run `mkpasswd -m sha-512`.
- If set to an empty string (""), this user will
+ If set to an empty string (`""`), this user will
be able to log in without being asked for a password (but not via remote
- services such as SSH, or indirectly via su or
- sudo). This should only be used for e.g. bootable
+ services such as SSH, or indirectly via {command}`su` or
+ {command}`sudo`). This should only be used for e.g. bootable
live systems. Note: this is different from setting an empty password,
- which can be achieved using .
+ which can be achieved using {option}`users.users..password`.
- If set to null (default) this user will not
- be able to log in using a password (i.e. via login
+ If set to `null` (default) this user will not
+ be able to log in using a password (i.e. via {command}`login`
command).
'';
@@ -234,7 +234,7 @@ let
hashedPassword = mkOption {
type = with types; nullOr (passwdEntry str);
default = null;
- description = ''
+ description = lib.mdDoc ''
Specifies the hashed password for the user.
${passwordDescription}
${hashedPasswordDescription}
@@ -244,7 +244,7 @@ let
password = mkOption {
type = with types; nullOr str;
default = null;
- description = ''
+ description = lib.mdDoc ''
Specifies the (clear text) password for the user.
Warning: do not set confidential information here
because it is world-readable in the Nix store. This option
@@ -256,11 +256,11 @@ let
passwordFile = mkOption {
type = with types; nullOr str;
default = null;
- description = ''
+ description = lib.mdDoc ''
The full path to a file that contains the user's password. The password
file is read on each system activation. The file should contain
exactly one line, which should be the password in an encrypted form
- that is suitable for the chpasswd -e command.
+ that is suitable for the `chpasswd -e` command.
${passwordDescription}
'';
};
@@ -268,13 +268,13 @@ let
initialHashedPassword = mkOption {
type = with types; nullOr (passwdEntry str);
default = null;
- description = ''
+ description = lib.mdDoc ''
Specifies the initial hashed password for the user, i.e. the
hashed password assigned if the user does not already
- exist. If is true, the
+ exist. If {option}`users.mutableUsers` is true, the
password can be changed subsequently using the
- passwd command. Otherwise, it's
- equivalent to setting the option.
+ {command}`passwd` command. Otherwise, it's
+ equivalent to setting the {option}`hashedPassword` option.
${hashedPasswordDescription}
'';
@@ -458,25 +458,25 @@ in {
users.mutableUsers = mkOption {
type = types.bool;
default = true;
- description = ''
- If set to true, you are free to add new users and groups to the system
- with the ordinary useradd and
- groupadd commands. On system activation, the
- existing contents of the /etc/passwd and
- /etc/group files will be merged with the
- contents generated from the users.users and
- users.groups options.
+ description = lib.mdDoc ''
+ If set to `true`, you are free to add new users and groups to the system
+ with the ordinary `useradd` and
+ `groupadd` commands. On system activation, the
+ existing contents of the `/etc/passwd` and
+ `/etc/group` files will be merged with the
+ contents generated from the `users.users` and
+ `users.groups` options.
The initial password for a user will be set
- according to users.users, but existing passwords
+ according to `users.users`, but existing passwords
will not be changed.
-
- If set to false, the contents of the user and
+ ::: {.warning}
+ If set to `false`, the contents of the user and
group files will simply be replaced on system activation. This also
holds for the user passwords; all changed
passwords will be reset according to the
- users.users configuration on activation.
-
+ `users.users` configuration on activation.
+ :::
'';
};
diff --git a/nixos/modules/misc/locate.nix b/nixos/modules/misc/locate.nix
index b83e280b2846..acf441cda628 100644
--- a/nixos/modules/misc/locate.nix
+++ b/nixos/modules/misc/locate.nix
@@ -183,8 +183,8 @@ in
pruneNames = mkOption {
type = listOf str;
default = lib.optionals (!isFindutils) [ ".bzr" ".cache" ".git" ".hg" ".svn" ];
- defaultText = literalDocBook ''
- [ ".bzr" ".cache" ".git" ".hg" ".svn" ], if
+ defaultText = literalMD ''
+ `[ ".bzr" ".cache" ".git" ".hg" ".svn" ]`, if
supported by the locate implementation (i.e. mlocate or plocate).
'';
description = lib.mdDoc ''
diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix
index e632a760f892..6e95c45f0d56 100644
--- a/nixos/modules/module-list.nix
+++ b/nixos/modules/module-list.nix
@@ -692,6 +692,7 @@
./services/monitoring/prometheus/alertmanager.nix
./services/monitoring/prometheus/exporters.nix
./services/monitoring/prometheus/pushgateway.nix
+ ./services/monitoring/prometheus/sachet.nix
./services/monitoring/prometheus/xmpp-alerts.nix
./services/monitoring/riemann.nix
./services/monitoring/riemann-dash.nix
diff --git a/nixos/modules/programs/gnupg.nix b/nixos/modules/programs/gnupg.nix
index ad27766b72ec..1028ef53bae1 100644
--- a/nixos/modules/programs/gnupg.nix
+++ b/nixos/modules/programs/gnupg.nix
@@ -71,7 +71,7 @@ in
type = types.nullOr (types.enum pkgs.pinentry.flavors);
example = "gnome3";
default = defaultPinentryFlavor;
- defaultText = literalDocBook ''matching the configured desktop environment'';
+ defaultText = literalMD ''matching the configured desktop environment'';
description = lib.mdDoc ''
Which pinentry interface to use. If not null, the path to the
pinentry binary will be passed to gpg-agent via commandline and
diff --git a/nixos/modules/services/audio/mpdscribble.nix b/nixos/modules/services/audio/mpdscribble.nix
index d829bc7ae0d0..01d4c11e734a 100644
--- a/nixos/modules/services/audio/mpdscribble.nix
+++ b/nixos/modules/services/audio/mpdscribble.nix
@@ -128,9 +128,9 @@ in {
mpdCfg.credentials).passwordFile
else
null;
- defaultText = literalDocBook ''
+ defaultText = literalMD ''
The first password file with read access configured for MPD when using a local instance,
- otherwise null.
+ otherwise `null`.
'';
type = types.nullOr types.str;
description = lib.mdDoc ''
diff --git a/nixos/modules/services/cluster/kubernetes/addons/dns.nix b/nixos/modules/services/cluster/kubernetes/addons/dns.nix
index 5b1e9a687682..5b7790a64577 100644
--- a/nixos/modules/services/cluster/kubernetes/addons/dns.nix
+++ b/nixos/modules/services/cluster/kubernetes/addons/dns.nix
@@ -23,9 +23,9 @@ in {
take 3 (splitString "." config.services.kubernetes.apiserver.serviceClusterIpRange
))
) + ".254";
- defaultText = literalDocBook ''
- The x.y.z.254 IP of
- config.${options.services.kubernetes.apiserver.serviceClusterIpRange}.
+ defaultText = literalMD ''
+ The `x.y.z.254` IP of
+ `config.${options.services.kubernetes.apiserver.serviceClusterIpRange}`.
'';
type = types.str;
};
diff --git a/nixos/modules/services/cluster/kubernetes/kubelet.nix b/nixos/modules/services/cluster/kubernetes/kubelet.nix
index cbb1cffc1694..2489cb2be7ce 100644
--- a/nixos/modules/services/cluster/kubernetes/kubelet.nix
+++ b/nixos/modules/services/cluster/kubernetes/kubelet.nix
@@ -40,7 +40,7 @@ let
key = mkOption {
description = lib.mdDoc "Key of taint.";
default = name;
- defaultText = literalDocBook "Name of this submodule.";
+ defaultText = literalMD "Name of this submodule.";
type = str;
};
value = mkOption {
diff --git a/nixos/modules/services/computing/slurm/slurm.nix b/nixos/modules/services/computing/slurm/slurm.nix
index 0860b9a220c3..21877456754b 100644
--- a/nixos/modules/services/computing/slurm/slurm.nix
+++ b/nixos/modules/services/computing/slurm/slurm.nix
@@ -281,9 +281,9 @@ in
type = types.path;
internal = true;
default = etcSlurm;
- defaultText = literalDocBook ''
+ defaultText = literalMD ''
Directory created from generated config files and
- config.${opt.extraConfigPaths}.
+ `config.${opt.extraConfigPaths}`.
'';
description = ''
Path to directory with slurm config files. This option is set by default from the
diff --git a/nixos/modules/services/continuous-integration/buildbot/master.nix b/nixos/modules/services/continuous-integration/buildbot/master.nix
index ab1a8076c935..d9055149b77f 100644
--- a/nixos/modules/services/continuous-integration/buildbot/master.nix
+++ b/nixos/modules/services/continuous-integration/buildbot/master.nix
@@ -94,7 +94,7 @@ in {
type = types.path;
description = lib.mdDoc "Optionally pass master.cfg path. Other options in this configuration will be ignored.";
default = defaultMasterCfg;
- defaultText = literalDocBook ''generated configuration file'';
+ defaultText = literalMD ''generated configuration file'';
example = "/etc/nixos/buildbot/master.cfg";
};
diff --git a/nixos/modules/services/continuous-integration/buildkite-agents.nix b/nixos/modules/services/continuous-integration/buildkite-agents.nix
index 8e8a65b56b78..3d29a641a195 100644
--- a/nixos/modules/services/continuous-integration/buildkite-agents.nix
+++ b/nixos/modules/services/continuous-integration/buildkite-agents.nix
@@ -168,7 +168,7 @@ let
hooksPath = mkOption {
type = types.path;
default = hooksDir config;
- defaultText = literalDocBook "generated from ";
+ defaultText = literalMD "generated from {option}`services.buildkite-agents..hooks`";
description = lib.mdDoc ''
Path to the directory storing the hooks.
Consider using {option}`services.buildkite-agents..hooks.`
diff --git a/nixos/modules/services/continuous-integration/hercules-ci-agent/common.nix b/nixos/modules/services/continuous-integration/hercules-ci-agent/common.nix
index 83518344b36b..6f803236daad 100644
--- a/nixos/modules/services/continuous-integration/hercules-ci-agent/common.nix
+++ b/nixos/modules/services/continuous-integration/hercules-ci-agent/common.nix
@@ -10,7 +10,7 @@
let
inherit (lib)
filterAttrs
- literalDocBook
+ literalMD
literalExpression
mkIf
mkOption
@@ -235,7 +235,7 @@ in
tomlFile = mkOption {
type = types.path;
internal = true;
- defaultText = literalDocBook "generated hercules-ci-agent.toml";
+ defaultText = literalMD "generated `hercules-ci-agent.toml`";
description = ''
The fully assembled config file.
'';
diff --git a/nixos/modules/services/games/quake3-server.nix b/nixos/modules/services/games/quake3-server.nix
index 69fdbc50d87d..ee1bb9aad47a 100644
--- a/nixos/modules/services/games/quake3-server.nix
+++ b/nixos/modules/services/games/quake3-server.nix
@@ -71,7 +71,7 @@ in {
baseq3 = mkOption {
type = types.either types.package types.path;
default = defaultBaseq3;
- defaultText = literalDocBook "Manually downloaded Quake 3 installation directory.";
+ defaultText = literalMD "Manually downloaded Quake 3 installation directory.";
example = "/var/lib/q3ds";
description = lib.mdDoc ''
Path to the baseq3 files (pak*.pk3). If this is on the nix store (type = package) all .pk3 files should be saved
diff --git a/nixos/modules/services/hardware/thinkfan.nix b/nixos/modules/services/hardware/thinkfan.nix
index 86dabe71a4fa..8fa7b456f20e 100644
--- a/nixos/modules/services/hardware/thinkfan.nix
+++ b/nixos/modules/services/hardware/thinkfan.nix
@@ -43,24 +43,26 @@ let
};
query = mkOption {
type = types.str;
- description = ''
+ description = lib.mdDoc ''
The query string used to match one or more ${name}s: can be
a fullpath to the temperature file (single ${name}) or a fullpath
to a driver directory (multiple ${name}s).
-
- When multiple ${name}s match, the query can be restricted using the
- or options.
-
+ ::: {.note}
+ When multiple ${name}s match, the query can be restricted using the
+ {option}`name` or {option}`indices` options.
+ :::
'';
};
indices = mkOption {
type = with types; nullOr (listOf ints.unsigned);
default = null;
- description = ''
+ description = lib.mdDoc ''
A list of ${name}s to pick in case multiple ${name}s match the query.
- Indices start from 0.
+ ::: {.note}
+ Indices start from 0.
+ :::
'';
};
} // optionalAttrs (name == "sensor") {
@@ -81,18 +83,18 @@ let
// { "${type}" = query; };
syntaxNote = name: ''
-
- This section slightly departs from the thinkfan.conf syntax.
- The type and path must be specified like this:
-
- type = "tpacpi";
- query = "/proc/acpi/ibm/${name}";
-
- instead of a single declaration like:
-
- - tpacpi: /proc/acpi/ibm/${name}
-
-
+ ::: {.note}
+ This section slightly departs from the thinkfan.conf syntax.
+ The type and path must be specified like this:
+ ```
+ type = "tpacpi";
+ query = "/proc/acpi/ibm/${name}";
+ ```
+ instead of a single declaration like:
+ ```
+ - tpacpi: /proc/acpi/ibm/${name}
+ ```
+ :::
'';
in {
@@ -104,13 +106,13 @@ in {
enable = mkOption {
type = types.bool;
default = false;
- description = ''
+ description = lib.mdDoc ''
Whether to enable thinkfan, a fan control program.
-
- This module targets IBM/Lenovo thinkpads by default, for
- other hardware you will have configure it more carefully.
-
+ ::: {.note}
+ This module targets IBM/Lenovo thinkpads by default, for
+ other hardware you will have configure it more carefully.
+ :::
'';
relatedPackages = [ "thinkfan" ];
};
@@ -131,9 +133,11 @@ in {
query = "/proc/acpi/ibm/thermal";
}
];
- description = ''
+ description = lib.mdDoc ''
List of temperature sensors thinkfan will monitor.
- '' + syntaxNote "thermal";
+
+ ${syntaxNote "thermal"}
+ '';
};
fans = mkOption {
@@ -143,9 +147,11 @@ in {
query = "/proc/acpi/ibm/fan";
}
];
- description = ''
+ description = lib.mdDoc ''
List of fans thinkfan will control.
- '' + syntaxNote "fan";
+
+ ${syntaxNote "fan"}
+ '';
};
levels = mkOption {
diff --git a/nixos/modules/services/mail/public-inbox.nix b/nixos/modules/services/mail/public-inbox.nix
index a81dd1cdb37b..89c1be6bbf01 100644
--- a/nixos/modules/services/mail/public-inbox.nix
+++ b/nixos/modules/services/mail/public-inbox.nix
@@ -6,8 +6,6 @@ let
cfg = config.services.public-inbox;
stateDir = "/var/lib/public-inbox";
- manref = name: vol: "${name}${toString vol}";
-
gitIni = pkgs.formats.gitIni { listsAsDuplicateKeys = true; };
iniAtom = elemAt gitIni.type/*attrsOf*/.functor.wrapped/*attrsOf*/.functor.wrapped/*either*/.functor.wrapped 0;
@@ -18,7 +16,7 @@ let
args = mkOption {
type = with types; listOf str;
default = [];
- description = "Command-line arguments to pass to ${manref "public-inbox-${proto}d" 1}.";
+ description = lib.mdDoc "Command-line arguments to pass to {manpage}`public-inbox-${proto}d(1)`.";
};
port = mkOption {
type = with types; nullOr (either str port);
@@ -34,13 +32,13 @@ let
type = with types; nullOr str;
default = null;
example = "/path/to/fullchain.pem";
- description = "Path to TLS certificate to use for connections to ${manref "public-inbox-${proto}d" 1}.";
+ description = lib.mdDoc "Path to TLS certificate to use for connections to {manpage}`public-inbox-${proto}d(1)`.";
};
key = mkOption {
type = with types; nullOr str;
default = null;
example = "/path/to/key.pem";
- description = "Path to TLS key to use for connections to ${manref "public-inbox-${proto}d" 1}.";
+ description = lib.mdDoc "Path to TLS key to use for connections to {manpage}`public-inbox-${proto}d(1)`.";
};
};
@@ -198,15 +196,15 @@ in
options.watch = mkOption {
type = with types; listOf str;
default = [];
- description = "Paths for ${manref "public-inbox-watch" 1} to monitor for new mail.";
+ description = lib.mdDoc "Paths for {manpage}`public-inbox-watch(1)` to monitor for new mail.";
example = [ "maildir:/path/to/test.example.com.git" ];
};
options.watchheader = mkOption {
type = with types; nullOr str;
default = null;
example = "List-Id:";
- description = ''
- If specified, ${manref "public-inbox-watch" 1} will only process
+ description = lib.mdDoc ''
+ If specified, {manpage}`public-inbox-watch(1)` will only process
mail containing a matching header.
'';
};
@@ -253,7 +251,7 @@ in
args = mkOption {
type = with types; listOf str;
default = [];
- description = "Command-line arguments to pass to ${manref "public-inbox-mda" 1}.";
+ description = lib.mdDoc "Command-line arguments to pass to {manpage}`public-inbox-mda(1)`.";
};
};
postfix.enable = mkEnableOption "the integration into Postfix";
@@ -302,16 +300,16 @@ in
options.publicinboxmda.spamcheck = mkOption {
type = with types; enum [ "spamc" "none" ];
default = "none";
- description = ''
- If set to spamc, ${manref "public-inbox-watch" 1} will filter spam
+ description = lib.mdDoc ''
+ If set to spamc, {manpage}`public-inbox-watch(1)` will filter spam
using SpamAssassin.
'';
};
options.publicinboxwatch.spamcheck = mkOption {
type = with types; enum [ "spamc" "none" ];
default = "none";
- description = ''
- If set to spamc, ${manref "public-inbox-watch" 1} will filter spam
+ description = lib.mdDoc ''
+ If set to spamc, {manpage}`public-inbox-watch(1)` will filter spam
using SpamAssassin.
'';
};
diff --git a/nixos/modules/services/misc/gitweb.nix b/nixos/modules/services/misc/gitweb.nix
index ef20347ee245..aac0dac8a080 100644
--- a/nixos/modules/services/misc/gitweb.nix
+++ b/nixos/modules/services/misc/gitweb.nix
@@ -47,7 +47,7 @@ in
$highlight_bin = "${pkgs.highlight}/bin/highlight";
${cfg.extraConfig}
'';
- defaultText = literalDocBook "generated config file";
+ defaultText = literalMD "generated config file";
type = types.path;
readOnly = true;
internal = true;
diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix
index 2738d2ee6cd0..965da197f30f 100644
--- a/nixos/modules/services/misc/nix-daemon.nix
+++ b/nixos/modules/services/misc/nix-daemon.nix
@@ -430,13 +430,14 @@ in
};
config = {
from = mkDefault { type = "indirect"; id = name; };
- to = mkIf (config.flake != null) (mkDefault
+ to = mkIf (config.flake != null) (mkDefault (
{
type = "path";
path = config.flake.outPath;
} // filterAttrs
- (n: _: n == "lastModified" || n == "rev" || n == "revCount" || n == "narHash")
- config.flake);
+ (n: _: n == "lastModified" || n == "rev" || n == "revCount" || n == "narHash")
+ config.flake
+ ));
};
}
));
diff --git a/nixos/modules/services/misc/plex.nix b/nixos/modules/services/misc/plex.nix
index cb41bbb54b27..033a4327ca96 100644
--- a/nixos/modules/services/misc/plex.nix
+++ b/nixos/modules/services/misc/plex.nix
@@ -134,6 +134,7 @@ in
ExecStart = "${cfg.package}/bin/plexmediaserver";
KillSignal = "SIGQUIT";
+ PIDFile = "${cfg.dataDir}/Plex Media Server/plexmediaserver.pid";
Restart = "on-failure";
};
diff --git a/nixos/modules/services/misc/rippled.nix b/nixos/modules/services/misc/rippled.nix
index 8b6704c1be77..5af48af740f4 100644
--- a/nixos/modules/services/misc/rippled.nix
+++ b/nixos/modules/services/misc/rippled.nix
@@ -401,7 +401,7 @@ in
config = mkOption {
internal = true;
default = pkgs.writeText "rippled.conf" rippledCfg;
- defaultText = literalDocBook "generated config file";
+ defaultText = literalMD "generated config file";
};
};
};
diff --git a/nixos/modules/services/monitoring/prometheus/default.nix b/nixos/modules/services/monitoring/prometheus/default.nix
index ada66fe24646..7c03c188356e 100644
--- a/nixos/modules/services/monitoring/prometheus/default.nix
+++ b/nixos/modules/services/monitoring/prometheus/default.nix
@@ -99,14 +99,14 @@ let
mkDefOpt = type: defaultStr: description: mkOpt type (description + ''
- Defaults to ${defaultStr} in prometheus
- when set to null.
+ Defaults to ````${defaultStr}```` in prometheus
+ when set to `null`.
'');
mkOpt = type: description: mkOption {
type = types.nullOr type;
default = null;
- inherit description;
+ description = lib.mdDoc description;
};
mkSdConfigModule = extraOptions: types.submodule {
@@ -288,7 +288,7 @@ let
If honor_labels is set to "false", label conflicts are
resolved by renaming conflicting labels in the scraped data
- to "exported_<original-label>" (for example
+ to "exported_\" (for example
"exported_instance", "exported_job") and then attaching
server-side labels. This is useful for use cases such as
federation, where all labels specified in the target should
@@ -299,10 +299,10 @@ let
honor_timestamps controls whether Prometheus respects the timestamps present
in scraped data.
- If honor_timestamps is set to true, the timestamps of the metrics exposed
+ If honor_timestamps is set to `true`, the timestamps of the metrics exposed
by the target will be used.
- If honor_timestamps is set to false, the timestamps of the metrics exposed
+ If honor_timestamps is set to `false`, the timestamps of the metrics exposed
by the target will be ignored.
'';
@@ -323,13 +323,13 @@ let
bearer_token = mkOpt types.str ''
Sets the `Authorization` header on every scrape request with
the configured bearer token. It is mutually exclusive with
- .
+ {option}`bearer_token_file`.
'';
bearer_token_file = mkOpt types.str ''
Sets the `Authorization` header on every scrape request with
the bearer token read from the configured file. It is mutually
- exclusive with .
+ exclusive with {option}`bearer_token`.
'';
tls_config = mkOpt promTypes.tls_config ''
@@ -379,7 +379,7 @@ let
gce_sd_configs = mkOpt (types.listOf promTypes.gce_sd_config) ''
List of Google Compute Engine service discovery configurations.
- See the relevant Prometheus configuration docs
+ See [the relevant Prometheus configuration docs](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#gce_sd_config)
for more detail.
'';
@@ -591,7 +591,7 @@ let
allow_stale = mkOpt types.bool ''
Allow stale Consul results
- (see ).
+ (see ).
Will reduce load on Consul.
'';
@@ -632,16 +632,16 @@ let
options = {
name = mkOption {
type = types.str;
- description = ''
+ description = lib.mdDoc ''
Name of the filter. The available filters are listed in the upstream documentation:
- Services:
- Tasks:
- Nodes:
+ Services:
+ Tasks:
+ Nodes:
'';
};
values = mkOption {
type = types.str;
- description = ''
+ description = lib.mdDoc ''
Value for the filter.
'';
};
@@ -707,12 +707,12 @@ let
access_key = mkOpt types.str ''
The AWS API key id. If blank, the environment variable
- AWS_ACCESS_KEY_ID is used.
+ `AWS_ACCESS_KEY_ID` is used.
'';
secret_key = mkOpt types.str ''
The AWS API key secret. If blank, the environment variable
- AWS_SECRET_ACCESS_KEY is used.
+ `AWS_SECRET_ACCESS_KEY` is used.
'';
profile = mkOpt types.str ''
@@ -738,8 +738,8 @@ let
options = {
name = mkOption {
type = types.str;
- description = ''
- See this list
+ description = lib.mdDoc ''
+ See [this list](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html)
for the available filters.
'';
};
@@ -747,7 +747,7 @@ let
values = mkOption {
type = types.listOf types.str;
default = [ ];
- description = ''
+ description = lib.mdDoc ''
Value of the filter.
'';
};
@@ -806,7 +806,7 @@ let
filter = mkOpt types.str ''
Filter can be used optionally to filter the instance list by other
criteria Syntax of this filter string is described here in the filter
- query parameter section: .
+ query parameter section: .
'';
refresh_interval = mkDefOpt types.str "60s" ''
@@ -822,7 +822,7 @@ let
The tag separator used to separate concatenated GCE instance network tags.
See the GCP documentation on network tags for more information:
-
+
'';
};
};
@@ -917,7 +917,7 @@ let
options = {
role = mkOption {
type = types.str;
- description = ''
+ description = lib.mdDoc ''
Selector role
'';
};
@@ -976,11 +976,11 @@ let
'';
access_key = mkOpt types.str ''
- The AWS API keys. If blank, the environment variable AWS_ACCESS_KEY_ID is used.
+ The AWS API keys. If blank, the environment variable `AWS_ACCESS_KEY_ID` is used.
'';
secret_key = mkOpt types.str ''
- The AWS API keys. If blank, the environment variable AWS_SECRET_ACCESS_KEY is used.
+ The AWS API keys. If blank, the environment variable `AWS_SECRET_ACCESS_KEY` is used.
'';
profile = mkOpt types.str ''
@@ -1030,14 +1030,14 @@ let
auth_token = mkOpt types.str ''
Optional authentication information for token-based authentication:
-
- It is mutually exclusive with auth_token_file and other authentication mechanisms.
+
+ It is mutually exclusive with `auth_token_file` and other authentication mechanisms.
'';
auth_token_file = mkOpt types.str ''
Optional authentication information for token-based authentication:
-
- It is mutually exclusive with auth_token and other authentication mechanisms.
+
+ It is mutually exclusive with `auth_token` and other authentication mechanisms.
'';
};
@@ -1299,7 +1299,7 @@ let
};
groups = mkOpt (types.listOf types.str) ''
- A list of groups for which targets are retrieved, only supported when targeting the container role.
+ A list of groups for which targets are retrieved, only supported when targeting the `container` role.
If omitted all containers owned by the requesting account are scraped.
'';
diff --git a/nixos/modules/services/monitoring/prometheus/sachet.nix b/nixos/modules/services/monitoring/prometheus/sachet.nix
new file mode 100644
index 000000000000..f40229df8f1e
--- /dev/null
+++ b/nixos/modules/services/monitoring/prometheus/sachet.nix
@@ -0,0 +1,88 @@
+{ config, pkgs, lib, ... }:
+
+with lib;
+
+let
+ cfg = config.services.prometheus.sachet;
+ configFile = pkgs.writeText "sachet.yml" (builtins.toJSON cfg.configuration);
+in
+{
+ options = {
+ services.prometheus.sachet = {
+ enable = mkEnableOption "Sachet, an SMS alerting tool for the Prometheus Alertmanager";
+
+ configuration = mkOption {
+ type = types.nullOr types.attrs;
+ default = null;
+ example = literalExample ''
+ {
+ providers = {
+ twilio = {
+ # environment variables gets expanded at runtime
+ account_sid = "$TWILIO_ACCOUNT";
+ auth_token = "$TWILIO_TOKEN";
+ };
+ };
+ templates = [ ./some-template.tmpl ];
+ receivers = [{
+ name = "pager";
+ provider = "twilio";
+ to = [ "+33123456789" ];
+ text = "{{ template \"message\" . }}";
+ }];
+ }
+ '';
+ description = ''
+ Sachet's configuration as a nix attribute set.
+ '';
+ };
+
+ address = mkOption {
+ type = types.str;
+ default = "localhost";
+ description = ''
+ The address Sachet will listen to.
+ '';
+ };
+
+ port = mkOption {
+ type = types.port;
+ default = 9876;
+ description = ''
+ The port Sachet will listen to.
+ '';
+ };
+
+ };
+ };
+
+ config = mkIf cfg.enable {
+ assertions = singleton {
+ assertion = cfg.configuration != null;
+ message = "Cannot enable Sachet without a configuration.";
+ };
+
+ systemd.services.sachet = {
+ wantedBy = [ "multi-user.target" ];
+ after = [ "network.target" "network-online.target" ];
+ script = ''
+ ${pkgs.envsubst}/bin/envsubst -i "${configFile}" > /tmp/sachet.yaml
+ exec ${pkgs.prometheus-sachet}/bin/sachet -config /tmp/sachet.yaml -listen-address ${cfg.address}:${builtins.toString cfg.port}
+ '';
+
+ serviceConfig = {
+ Restart = "always";
+
+ ProtectSystem = "strict";
+ ProtectHome = true;
+ ProtectKernelTunables = true;
+ ProtectKernelModules = true;
+ ProtectControlGroups = true;
+
+ DynamicUser = true;
+ PrivateTmp = true;
+ WorkingDirectory = "/tmp/";
+ };
+ };
+ };
+}
diff --git a/nixos/modules/services/monitoring/thanos.nix b/nixos/modules/services/monitoring/thanos.nix
index c7404241fbf5..a805656214be 100644
--- a/nixos/modules/services/monitoring/thanos.nix
+++ b/nixos/modules/services/monitoring/thanos.nix
@@ -8,7 +8,7 @@ let
nullOpt = type: description: mkOption {
type = types.nullOr type;
default = null;
- inherit description;
+ description = lib.mdDoc description;
};
optionToArgs = opt: v : optional (v != null) ''--${opt}="${toString v}"'';
@@ -18,8 +18,8 @@ let
mkParamDef = type: default: description: mkParam type (description + ''
- Defaults to ${toString default} in Thanos
- when set to null.
+ Defaults to `${toString default}` in Thanos
+ when set to `null`.
'');
mkParam = type: description: {
@@ -32,7 +32,7 @@ let
option = mkOption {
type = types.bool;
default = false;
- inherit description;
+ description = lib.mdDoc description;
};
};
@@ -41,7 +41,7 @@ let
option = mkOption {
type = types.listOf types.str;
default = [];
- inherit description;
+ description = lib.mdDoc description;
};
};
@@ -50,7 +50,7 @@ let
option = mkOption {
type = types.attrsOf types.str;
default = {};
- inherit description;
+ description = lib.mdDoc description;
};
};
@@ -59,7 +59,7 @@ let
option = mkOption {
type = types.str;
inherit default;
- inherit description;
+ description = lib.mdDoc description;
};
};
@@ -83,8 +83,8 @@ let
mkArgumentsOption = cmd: mkOption {
type = types.listOf types.str;
default = argumentsOf cmd;
- defaultText = literalDocBook ''
- calculated from config.services.thanos.${cmd}
+ defaultText = literalMD ''
+ calculated from `config.services.thanos.${cmd}`
'';
description = lib.mdDoc ''
Arguments to the `thanos ${cmd}` command.
@@ -141,13 +141,13 @@ let
option = nullOpt types.attrs ''
Tracing configuration.
- When not null the attribute set gets converted to
+ When not `null` the attribute set gets converted to
a YAML file and stored in the Nix store. The option
- will default to its path.
+ {option}`tracing.config-file` will default to its path.
- If is set this option has no effect.
+ If {option}`tracing.config-file` is set this option has no effect.
- See format details:
+ See format details:
'';
};
};
@@ -155,11 +155,11 @@ let
common = cfg: params.log // params.tracing cfg // {
http-address = mkParamDef types.str "0.0.0.0:10902" ''
- Listen host:port for HTTP endpoints.
+ Listen `host:port` for HTTP endpoints.
'';
grpc-address = mkParamDef types.str "0.0.0.0:10901" ''
- Listen ip:port address for gRPC endpoints (StoreAPI).
+ Listen `ip:port` address for gRPC endpoints (StoreAPI).
Make sure this address is routable from other components.
'';
@@ -206,13 +206,13 @@ let
option = nullOpt types.attrs ''
Object store configuration.
- When not null the attribute set gets converted to
+ When not `null` the attribute set gets converted to
a YAML file and stored in the Nix store. The option
- will default to its path.
+ {option}`objstore.config-file` will default to its path.
- If is set this option has no effect.
+ If {option}`objstore.config-file` is set this option has no effect.
- See format details:
+ See format details:
'';
};
};
@@ -254,7 +254,7 @@ let
store = params.common cfg.store // params.objstore cfg.store // {
stateDir = mkStateDirParam "data-dir" "thanos-store" ''
- Data directory relative to /var/lib
+ Data directory relative to `/var/lib`
in which to cache remote blocks.
'';
@@ -269,7 +269,7 @@ let
store.grpc.series-sample-limit = mkParamDef types.int 0 ''
Maximum amount of samples returned via a single Series call.
- 0 means no limit.
+ `0` means no limit.
NOTE: for efficiency we take 120 as the number of samples in chunk (it
cannot be bigger than that), so the actual number of samples might be
@@ -327,14 +327,14 @@ let
grpc-client-server-name = mkParam types.str ''
Server name to verify the hostname on the returned gRPC certificates.
- See
+ See
'';
web.route-prefix = mkParam types.str ''
Prefix for API and UI endpoints.
This allows thanos UI to be served on a sub-path. This option is
- analogous to of Promethus.
+ analogous to {option}`web.route-prefix` of Promethus.
'';
web.external-prefix = mkParam types.str ''
@@ -342,7 +342,7 @@ let
interface.
Actual endpoints are still served on / or the
- . This allows thanos UI to be served
+ {option}`web.route-prefix`. This allows thanos UI to be served
behind a reverse proxy that strips a URL sub-path.
'';
@@ -351,15 +351,15 @@ let
redirects.
This option is ignored if the option
- web.external-prefix is set.
+ `web.external-prefix` is set.
Security risk: enable this option only if a reverse proxy in front of
thanos is resetting the header.
- The setting web.prefix-header="X-Forwarded-Prefix"
+ The setting `web.prefix-header="X-Forwarded-Prefix"`
can be useful, for example, if Thanos UI is served via Traefik reverse
- proxy with PathPrefixStrip option enabled, which
- sends the stripped prefix value in X-Forwarded-Prefix
+ proxy with `PathPrefixStrip` option enabled, which
+ sends the stripped prefix value in `X-Forwarded-Prefix`
header. This allows thanos UI to be served on a sub-path.
'';
@@ -376,7 +376,7 @@ let
deduplicated.
Still you will be able to query without deduplication using
- dedup=false parameter.
+ `dedup=false` parameter.
'';
selector-labels = mkAttrsParam "selector-label" ''
@@ -386,8 +386,8 @@ let
store.addresses = mkListParam "store" ''
Addresses of statically configured store API servers.
- The scheme may be prefixed with dns+ or
- dnssrv+ to detect store API servers through
+ The scheme may be prefixed with `dns+` or
+ `dnssrv+` to detect store API servers through
respective DNS lookups.
'';
@@ -411,12 +411,12 @@ let
query.auto-downsampling = mkFlagParam ''
Enable automatic adjustment (step / 5) to what source of data should
be used in store gateways if no
- max_source_resolution param is specified.
+ `max_source_resolution` param is specified.
'';
query.partial-response = mkFlagParam ''
Enable partial response for queries if no
- partial_response param is specified.
+ `partial_response` param is specified.
'';
query.default-evaluation-interval = mkParamDef types.str "1m" ''
@@ -426,7 +426,7 @@ let
store.response-timeout = mkParamDef types.str "0ms" ''
If a Store doesn't send any data in this specified duration then a
Store will be ignored and partial data will be returned if it's
- enabled. 0 disables timeout.
+ enabled. `0` disables timeout.
'';
};
@@ -440,7 +440,7 @@ let
'';
stateDir = mkStateDirParam "data-dir" "thanos-rule" ''
- Data directory relative to /var/lib.
+ Data directory relative to `/var/lib`.
'';
rule-files = mkListParam "rule-file" ''
@@ -464,9 +464,9 @@ let
Ruler claims success if push to at least one alertmanager from
discovered succeeds. The scheme may be prefixed with
- dns+ or dnssrv+ to detect
+ `dns+` or `dnssrv+` to detect
Alertmanager IPs through respective DNS lookups. The port defaults to
- 9093 or the SRV record's value. The URL path is
+ `9093` or the SRV record's value. The URL path is
used as a prefix for the regular Alertmanager API path.
'';
@@ -491,7 +491,7 @@ let
This allows thanos UI to be served on a sub-path.
- This option is analogous to --web.route-prefix of Promethus.
+ This option is analogous to `--web.route-prefix` of Promethus.
'';
web.external-prefix = mkParam types.str ''
@@ -499,7 +499,7 @@ let
interface.
Actual endpoints are still served on / or the
- . This allows thanos UI to be served
+ {option}`web.route-prefix`. This allows thanos UI to be served
behind a reverse proxy that strips a URL sub-path.
'';
@@ -508,23 +508,23 @@ let
redirects.
This option is ignored if the option
- is set.
+ {option}`web.external-prefix` is set.
Security risk: enable this option only if a reverse proxy in front of
thanos is resetting the header.
- The header X-Forwarded-Prefix can be useful, for
+ The header `X-Forwarded-Prefix` can be useful, for
example, if Thanos UI is served via Traefik reverse proxy with
- PathPrefixStrip option enabled, which sends the
- stripped prefix value in X-Forwarded-Prefix
+ `PathPrefixStrip` option enabled, which sends the
+ stripped prefix value in `X-Forwarded-Prefix`
header. This allows thanos UI to be served on a sub-path.
'';
query.addresses = mkListParam "query" ''
Addresses of statically configured query API servers.
- The scheme may be prefixed with dns+ or
- dnssrv+ to detect query API servers through
+ The scheme may be prefixed with `dns+` or
+ `dnssrv+` to detect query API servers through
respective DNS lookups.
'';
@@ -545,11 +545,11 @@ let
compact = params.log // params.tracing cfg.compact // params.objstore cfg.compact // {
http-address = mkParamDef types.str "0.0.0.0:10902" ''
- Listen host:port for HTTP endpoints.
+ Listen `host:port` for HTTP endpoints.
'';
stateDir = mkStateDirParam "data-dir" "thanos-compact" ''
- Data directory relative to /var/lib
+ Data directory relative to `/var/lib`
in which to cache blocks and process compactions.
'';
@@ -562,28 +562,28 @@ let
retention.resolution-raw = mkParamDef types.str "0d" ''
How long to retain raw samples in bucket.
- 0d - disables this retention
+ `0d` - disables this retention
'';
retention.resolution-5m = mkParamDef types.str "0d" ''
How long to retain samples of resolution 1 (5 minutes) in bucket.
- 0d - disables this retention
+ `0d` - disables this retention
'';
retention.resolution-1h = mkParamDef types.str "0d" ''
How long to retain samples of resolution 2 (1 hour) in bucket.
- 0d - disables this retention
+ `0d` - disables this retention
'';
startAt = {
toArgs = _opt: startAt: flagToArgs "wait" (startAt == null);
option = nullOpt types.str ''
- When this option is set to a systemd.time
+ When this option is set to a `systemd.time`
specification the Thanos compactor will run at the specified period.
- When this option is null the Thanos compactor service
+ When this option is `null` the Thanos compactor service
will run continuously. So it will not exit after all compactions have
been processed but wait for new work.
'';
@@ -609,7 +609,7 @@ let
downsample = params.log // params.tracing cfg.downsample // params.objstore cfg.downsample // {
stateDir = mkStateDirParam "data-dir" "thanos-downsample" ''
- Data directory relative to /var/lib
+ Data directory relative to `/var/lib`
in which to cache blocks and process downsamplings.
'';
@@ -622,7 +622,7 @@ let
'';
stateDir = mkStateDirParam "tsdb.path" "thanos-receive" ''
- Data directory relative to /var/lib of TSDB.
+ Data directory relative to `/var/lib` of TSDB.
'';
labels = mkAttrsParam "labels" ''
@@ -635,7 +635,7 @@ let
tsdb.retention = mkParamDef types.str "15d" ''
How long to retain raw samples on local storage.
- 0d - disables this retention
+ `0d` - disables this retention
'';
};
diff --git a/nixos/modules/services/networking/dnscrypt-proxy2.nix b/nixos/modules/services/networking/dnscrypt-proxy2.nix
index ff7934101039..60e9a91bc176 100644
--- a/nixos/modules/services/networking/dnscrypt-proxy2.nix
+++ b/nixos/modules/services/networking/dnscrypt-proxy2.nix
@@ -56,7 +56,7 @@ in
''}
${pkgs.remarshal}/bin/json2toml < config.json > $out
'';
- defaultText = literalDocBook "TOML file generated from ";
+ defaultText = literalMD "TOML file generated from {option}`services.dnscrypt-proxy2.settings`";
};
};
diff --git a/nixos/modules/services/networking/ferm.nix b/nixos/modules/services/networking/ferm.nix
index ea96a736fecf..09151eb0b544 100644
--- a/nixos/modules/services/networking/ferm.nix
+++ b/nixos/modules/services/networking/ferm.nix
@@ -30,7 +30,7 @@ in {
config = mkOption {
description = lib.mdDoc "Verbatim ferm.conf configuration.";
default = "";
- defaultText = literalDocBook "empty firewall, allows any traffic";
+ defaultText = literalMD "empty firewall, allows any traffic";
type = types.lines;
};
package = mkOption {
diff --git a/nixos/modules/services/networking/firewall.nix b/nixos/modules/services/networking/firewall.nix
index 48cb83e344ec..7f42df0b08ff 100644
--- a/nixos/modules/services/networking/firewall.nix
+++ b/nixos/modules/services/networking/firewall.nix
@@ -417,7 +417,7 @@ in
checkReversePath = mkOption {
type = types.either types.bool (types.enum ["strict" "loose"]);
default = kernelHasRPFilter;
- defaultText = literalDocBook "true if supported by the chosen kernel";
+ defaultText = literalMD "`true` if supported by the chosen kernel";
example = "loose";
description =
lib.mdDoc ''
diff --git a/nixos/modules/services/networking/nftables.nix b/nixos/modules/services/networking/nftables.nix
index 4e7d5ce59ce8..008528ad35bb 100644
--- a/nixos/modules/services/networking/nftables.nix
+++ b/nixos/modules/services/networking/nftables.nix
@@ -88,7 +88,7 @@ in
name = "nftables-rules";
text = cfg.ruleset;
};
- defaultText = literalDocBook ''a file with the contents of '';
+ defaultText = literalMD ''a file with the contents of {option}`networking.nftables.ruleset`'';
description =
lib.mdDoc ''
The ruleset file to be used with nftables. Should be in a format that
diff --git a/nixos/modules/services/networking/strongswan-swanctl/param-constructors.nix b/nixos/modules/services/networking/strongswan-swanctl/param-constructors.nix
index d5a8daf98ec6..8245b25719e4 100644
--- a/nixos/modules/services/networking/strongswan-swanctl/param-constructors.nix
+++ b/nixos/modules/services/networking/strongswan-swanctl/param-constructors.nix
@@ -57,12 +57,12 @@ rec {
documentDefault = description : strongswanDefault :
if strongswanDefault == null
- then description
- else description + ''
+ then mdDoc description
+ else mdDoc (description + ''
- StrongSwan default:
- '';
+ StrongSwan default: ````${builtins.toJSON strongswanDefault}````
+ '');
single = f: name: value: { ${name} = f value; };
@@ -121,7 +121,7 @@ rec {
option = mkOption {
type = types.attrsOf option;
default = {};
- inherit description;
+ description = mdDoc description;
};
render = single (attrs:
(paramsToRenderedStrings attrs
@@ -139,7 +139,7 @@ rec {
option = mkOption {
type = types.attrsOf option;
default = {};
- inherit description;
+ description = mdDoc description;
};
render = prefix: attrs:
let prefixedAttrs = mapAttrs' (name: nameValuePair "${prefix}-${name}") attrs;
diff --git a/nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix b/nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix
index 737d0331f195..84ac4fef26ef 100644
--- a/nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix
+++ b/nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix
@@ -16,14 +16,14 @@ let
Absolute path to the certificate to load. Passed as-is to the daemon, so
it must be readable by it.
- Configure either this or , but not both, in one section.
+ Configure either this or {option}`handle`, but not both, in one section.
'';
handle = mkOptionalHexParam ''
Hex-encoded CKA_ID or handle of the certificate on a token or TPM,
respectively.
- Configure either this or , but not both, in one section.
+ Configure either this or {option}`file`, but not both, in one section.
'';
slot = mkOptionalIntParam ''
@@ -39,11 +39,11 @@ in {
cacert = mkOptionalStrParam ''
The certificates may use a relative path from the swanctl
- x509ca directory or an absolute path.
+ `x509ca` directory or an absolute path.
- Configure one of ,
- , or
- per section.
+ Configure one of {option}`cacert`,
+ {option}`file`, or
+ {option}`handle` per section.
'';
cert_uri_base = mkOptionalStrParam ''
@@ -71,12 +71,11 @@ in {
version = mkIntParam 0 ''
IKE major version to use for connection.
-
- 1 uses IKEv1 aka ISAKMP,
- 2 uses IKEv2.
- A connection using the default of 0 accepts both IKEv1 and IKEv2 as
- responder, and initiates the connection actively with IKEv2.
-
+
+ - 1 uses IKEv1 aka ISAKMP,
+ - 2 uses IKEv2.
+ - A connection using the default of 0 accepts both IKEv1 and IKEv2 as
+ responder, and initiates the connection actively with IKEv2.
'';
local_addrs = mkCommaSepListParam [] ''
@@ -107,9 +106,9 @@ in {
local_port = mkIntParam 500 ''
Local UDP port for IKE communication. By default the port of the socket
- backend is used, which is usually 500. If port
- 500 is used, automatic IKE port floating to port
- 4500 is used to work around NAT issues.
+ backend is used, which is usually `500`. If port
+ `500` is used, automatic IKE port floating to port
+ `4500` is used to work around NAT issues.
Using a non-default local IKE port requires support from the socket
backend in use (socket-dynamic).
@@ -117,8 +116,8 @@ in {
remote_port = mkIntParam 500 ''
Remote UDP port for IKE communication. If the default of port
- 500 is used, automatic IKE port floating to port
- 4500 is used to work around NAT issues.
+ `500` is used, automatic IKE port floating to port
+ `4500` is used to work around NAT issues.
'';
proposals = mkCommaSepListParam ["default"] ''
@@ -134,15 +133,15 @@ in {
combinations in IKEv1.
Algorithm keywords get separated using dashes. Multiple proposals may be
- specified in a list. The special value default forms a
+ specified in a list. The special value `default` forms a
default proposal of supported algorithms considered safe, and is usually a
good choice for interoperability.
'';
vips = mkCommaSepListParam [] ''
List of virtual IPs to request in IKEv2 configuration payloads or IKEv1
- Mode Config. The wildcard addresses 0.0.0.0 and
- :: request an arbitrary address, specific addresses may
+ Mode Config. The wildcard addresses `0.0.0.0` and
+ `::` request an arbitrary address, specific addresses may
be defined. The responder may return a different address, though, or none
at all.
'';
@@ -207,21 +206,20 @@ in {
fragmentation = mkEnumParam ["yes" "accept" "force" "no"] "yes" ''
Use IKE fragmentation (proprietary IKEv1 extension or RFC 7383 IKEv2
- fragmentation). Acceptable values are yes (the default
- since 5.5.1), accept (since versions:5.5.3),
- force and no.
-
- If set to yes, and the peer
- supports it, oversized IKE messages will be sent in fragments.
- If set to
- accept, support for fragmentation is announced to the peer but the daemon
- does not send its own messages in fragments.
- If set to force (only
- supported for IKEv1) the initial IKE message will already be fragmented if
- required.
- Finally, setting the option to no will disable announcing
- support for this feature.
-
+ fragmentation). Acceptable values are `yes` (the default
+ since 5.5.1), `accept` (since versions:5.5.3),
+ `force` and `no`.
+
+ - If set to `yes`, and the peer
+ supports it, oversized IKE messages will be sent in fragments.
+ - If set to
+ `accept`, support for fragmentation is announced to the peer but the daemon
+ does not send its own messages in fragments.
+ - If set to `force` (only
+ supported for IKEv1) the initial IKE message will already be fragmented if
+ required.
+ - Finally, setting the option to `no` will disable announcing
+ support for this feature.
Note that fragmented IKE messages sent by a peer are always processed
irrespective of the value of this option (even when set to no).
@@ -229,17 +227,17 @@ in {
childless = mkEnumParam [ "allow" "force" "never" ] "allow" ''
Use childless IKE_SA initiation (RFC 6023) for IKEv2. Acceptable values
- are allow (the default), force and
- never. If set to allow, responders
+ are `allow` (the default), `force` and
+ `never`. If set to `allow`, responders
will accept childless IKE_SAs (as indicated via notify in the IKE_SA_INIT
response) while initiators continue to create regular IKE_SAs with the
first CHILD_SA created during IKE_AUTH, unless the IKE_SA is initiated
explicitly without any children (which will fail if the responder does not
support or has disabled this extension). If set to
- force, only childless initiation is accepted and the
+ `force`, only childless initiation is accepted and the
first CHILD_SA is created with a separate CREATE_CHILD_SA exchange
(e.g. to use an independent DH exchange for all CHILD_SAs). Finally,
- setting the option to never disables support for
+ setting the option to `never` disables support for
childless IKE_SAs as responder.
'';
@@ -254,14 +252,13 @@ in {
send_cert = mkEnumParam ["always" "never" "ifasked" ] "ifasked" ''
Send certificate payloads when using certificate authentication.
-
- With the default of ifasked the daemon sends
- certificate payloads only if certificate requests have been received.
- never disables sending of certificate payloads
- altogether,
- always causes certificate payloads to be sent
- unconditionally whenever certificate authentication is used.
-
+
+ - With the default of `ifasked` the daemon sends
+ certificate payloads only if certificate requests have been received.
+ - `never` disables sending of certificate payloads
+ altogether,
+ - `always` causes certificate payloads to be sent
+ unconditionally whenever certificate authentication is used.
'';
ppk_id = mkOptionalStrParam ''
@@ -275,9 +272,9 @@ in {
keyingtries = mkIntParam 1 ''
Number of retransmission sequences to perform during initial
connect. Instead of giving up initiation after the first retransmission
- sequence with the default value of 1, additional
+ sequence with the default value of `1`, additional
sequences may be started according to the configured value. A value of
- 0 initiates a new sequence until the connection
+ `0` initiates a new sequence until the connection
establishes or fails with a permanent error.
'';
@@ -285,24 +282,15 @@ in {
Connection uniqueness policy to enforce. To avoid multiple connections
from the same user, a uniqueness policy can be enforced.
-
-
- The value never does never enforce such a policy, even
- if a peer included INITIAL_CONTACT notification messages,
-
-
- whereas no replaces existing connections for the same
- identity if a new one has the INITIAL_CONTACT notify.
-
-
- keep rejects new connection attempts if the same user
- already has an active connection,
-
-
- replace deletes any existing connection if a new one
- for the same user gets established.
-
-
+ - The value `never` does never enforce such a policy, even
+ if a peer included INITIAL_CONTACT notification messages,
+ - whereas `no` replaces existing connections for the same
+ identity if a new one has the INITIAL_CONTACT notify.
+ - `keep` rejects new connection attempts if the same user
+ already has an active connection,
+ - `replace` deletes any existing connection if a new one
+ for the same user gets established.
+
To compare connections for uniqueness, the remote IKE identity is used. If
EAP or XAuth authentication is involved, the EAP-Identity or XAuth
username is used to enforce the uniqueness policy instead.
@@ -310,7 +298,7 @@ in {
On initiators this setting specifies whether an INITIAL_CONTACT notify is
sent during IKE_AUTH if no existing connection is found with the remote
peer (determined by the identities of the first authentication
- round). Unless set to never the client will send a notify.
+ round). Unless set to `never` the client will send a notify.
'';
reauth_time = mkDurationParam "0s" ''
@@ -347,8 +335,8 @@ in {
In contrast to CHILD_SA rekeying, over_time is relative in time to the
rekey_time and reauth_time values, as it applies to both.
- The default is 10% of the longer of and
- .
+ The default is 10% of the longer of {option}`rekey_time` and
+ {option}`reauth_time`.
'';
rand_time = mkOptionalDurationParam ''
@@ -357,7 +345,7 @@ in {
procedure simultaneously, a random time gets subtracted from the
rekey/reauth times.
- The default is equal to the configured .
+ The default is equal to the configured {option}`over_time`.
'';
pools = mkCommaSepListParam [] ''
@@ -409,7 +397,7 @@ in {
certs = mkCommaSepListParam [] ''
List of certificate candidates to use for
authentication. The certificates may use a relative path from the
- swanctl x509 directory or an absolute path.
+ swanctl `x509` directory or an absolute path.
The certificate used for authentication is selected based on the
received certificate request payloads. If no appropriate CA can be
@@ -425,7 +413,7 @@ in {
pubkeys = mkCommaSepListParam [] ''
List of raw public key candidates to use for
authentication. The public keys may use a relative path from the swanctl
- pubkey directory or an absolute path.
+ `pubkey` directory or an absolute path.
Even though multiple local public keys could be defined in principle,
only the first public key in the list is used for authentication.
@@ -433,59 +421,44 @@ in {
auth = mkStrParam "pubkey" ''
Authentication to perform locally.
-
-
- The default pubkey uses public key authentication
- using a private key associated to a usable certificate.
-
-
- psk uses pre-shared key authentication.
-
-
- The IKEv1 specific xauth is used for XAuth or Hybrid
- authentication,
-
-
- while the IKEv2 specific eap keyword defines EAP
- authentication.
-
-
- For xauth, a specific backend name may be appended,
- separated by a dash. The appropriate xauth backend is
- selected to perform the XAuth exchange. For traditional XAuth, the
- xauth method is usually defined in the second
- authentication round following an initial pubkey (or
- psk) round. Using xauth in the
- first round performs Hybrid Mode client authentication.
-
-
- For eap, a specific EAP method name may be appended, separated by a
- dash. An EAP module implementing the appropriate method is selected to
- perform the EAP conversation.
-
-
- Since 5.4.0, if both peers support RFC 7427 ("Signature Authentication
- in IKEv2") specific hash algorithms to be used during IKEv2
- authentication may be configured. To do so use ike:
- followed by a trust chain signature scheme constraint (see description
- of the section's
- keyword). For example, with ike:pubkey-sha384-sha256
- a public key signature scheme with either SHA-384 or SHA-256 would get
- used for authentication, in that order and depending on the hash
- algorithms supported by the peer. If no specific hash algorithms are
- configured, the default is to prefer an algorithm that matches or
- exceeds the strength of the signature key. If no constraints with
- ike: prefix are configured any signature scheme
- constraint (without ike: prefix) will also apply to
- IKEv2 authentication, unless this is disabled in
- strongswan.conf. To use RSASSA-PSS signatures use
- rsa/pss instead of pubkey or
- rsa as in e.g.
- ike:rsa/pss-sha256. If pubkey or
- rsa constraints are configured RSASSA-PSS signatures
- will only be used if enabled in strongswan.conf(5).
-
-
+
+ - The default `pubkey` uses public key authentication
+ using a private key associated to a usable certificate.
+ - `psk` uses pre-shared key authentication.
+ - The IKEv1 specific `xauth` is used for XAuth or Hybrid
+ authentication,
+ - while the IKEv2 specific `eap` keyword defines EAP
+ authentication.
+ - For `xauth`, a specific backend name may be appended,
+ separated by a dash. The appropriate `xauth` backend is
+ selected to perform the XAuth exchange. For traditional XAuth, the
+ `xauth` method is usually defined in the second
+ authentication round following an initial `pubkey` (or
+ `psk`) round. Using `xauth` in the
+ first round performs Hybrid Mode client authentication.
+ - For `eap`, a specific EAP method name may be appended, separated by a
+ dash. An EAP module implementing the appropriate method is selected to
+ perform the EAP conversation.
+ - Since 5.4.0, if both peers support RFC 7427 ("Signature Authentication
+ in IKEv2") specific hash algorithms to be used during IKEv2
+ authentication may be configured. To do so use `ike:`
+ followed by a trust chain signature scheme constraint (see description
+ of the {option}`remote` section's {option}`auth`
+ keyword). For example, with `ike:pubkey-sha384-sha256`
+ a public key signature scheme with either SHA-384 or SHA-256 would get
+ used for authentication, in that order and depending on the hash
+ algorithms supported by the peer. If no specific hash algorithms are
+ configured, the default is to prefer an algorithm that matches or
+ exceeds the strength of the signature key. If no constraints with
+ `ike:` prefix are configured any signature scheme
+ constraint (without `ike:` prefix) will also apply to
+ IKEv2 authentication, unless this is disabled in
+ `strongswan.conf`. To use RSASSA-PSS signatures use
+ `rsa/pss` instead of `pubkey` or
+ `rsa` as in e.g.
+ `ike:rsa/pss-sha256`. If `pubkey` or
+ `rsa` constraints are configured RSASSA-PSS signatures
+ will only be used if enabled in `strongswan.conf`(5).
'';
id = mkOptionalStrParam ''
@@ -519,7 +492,7 @@ in {
peer. Multiple rounds may be defined to use IKEv2 RFC 4739 Multiple
Authentication or IKEv1 XAuth.
- Each round is defined in a section having local as
+ Each round is defined in a section having `local` as
prefix, and an optional unique suffix. To define a single authentication
round, the suffix may be omitted.
'';
@@ -540,7 +513,7 @@ in {
eap_id = mkOptionalStrParam ''
Identity to use as peer identity during EAP authentication. If set to
- %any the EAP-Identity method will be used to ask the
+ `%any` the EAP-Identity method will be used to ask the
client for an EAP identity.
'';
@@ -559,7 +532,7 @@ in {
certs = mkCommaSepListParam [] ''
List of certificates to accept for authentication. The certificates may
- use a relative path from the swanctl x509 directory
+ use a relative path from the swanctl `x509` directory
or an absolute path.
'';
@@ -573,7 +546,7 @@ in {
Identity in CA certificate to accept for authentication. The specified
identity must be contained in one (intermediate) CA of the remote peer
trustchain, either as subject or as subjectAltName. This has the same
- effect as specifying cacerts to force clients under
+ effect as specifying `cacerts` to force clients under
a CA to specific connections; it does not require the CA certificate
to be available locally, and can be received from the peer during the
IKE exchange.
@@ -582,7 +555,7 @@ in {
cacerts = mkCommaSepListParam [] ''
List of CA certificates to accept for
authentication. The certificates may use a relative path from the
- swanctl x509ca directory or an absolute path.
+ swanctl `x509ca` directory or an absolute path.
'';
cacert = mkPostfixedAttrsOfParams certParams ''
@@ -594,57 +567,50 @@ in {
pubkeys = mkCommaSepListParam [] ''
List of raw public keys to accept for
authentication. The public keys may use a relative path from the swanctl
- pubkey directory or an absolute path.
+ `pubkey` directory or an absolute path.
'';
revocation = mkEnumParam ["strict" "ifuri" "relaxed"] "relaxed" ''
Certificate revocation policy for CRL or OCSP revocation.
-
-
- A strict revocation policy fails if no revocation information is
- available, i.e. the certificate is not known to be unrevoked.
-
-
- ifuri fails only if a CRL/OCSP URI is available, but certificate
- revocation checking fails, i.e. there should be revocation information
- available, but it could not be obtained.
-
-
- The default revocation policy relaxed fails only if a certificate is
- revoked, i.e. it is explicitly known that it is bad.
-
-
+
+ - A `strict` revocation policy fails if no revocation information is
+ available, i.e. the certificate is not known to be unrevoked.
+ - `ifuri` fails only if a CRL/OCSP URI is available, but certificate
+ revocation checking fails, i.e. there should be revocation information
+ available, but it could not be obtained.
+ - The default revocation policy `relaxed` fails only if a certificate is
+ revoked, i.e. it is explicitly known that it is bad.
'';
auth = mkStrParam "pubkey" ''
- Authentication to expect from remote. See the
- section's keyword description about the details of
+ Authentication to expect from remote. See the {option}`local`
+ section's {option}`auth` keyword description about the details of
supported mechanisms.
Since 5.4.0, to require a trustchain public key strength for the remote
side, specify the key type followed by the minimum strength in bits (for
- example ecdsa-384 or
- rsa-2048-ecdsa-256). To limit the acceptable set of
+ example `ecdsa-384` or
+ `rsa-2048-ecdsa-256`). To limit the acceptable set of
hashing algorithms for trustchain validation, append hash algorithms to
pubkey or a key strength definition (for example
- pubkey-sha256-sha512,
- rsa-2048-sha256-sha384-sha512 or
- rsa-2048-sha256-ecdsa-256-sha256-sha384).
- Unless disabled in strongswan.conf, or explicit IKEv2
+ `pubkey-sha256-sha512`,
+ `rsa-2048-sha256-sha384-sha512` or
+ `rsa-2048-sha256-ecdsa-256-sha256-sha384`).
+ Unless disabled in `strongswan.conf`, or explicit IKEv2
signature constraints are configured (refer to the description of the
- section's keyword for
+ {option}`local` section's {option}`auth` keyword for
details), such key types and hash algorithms are also applied as
constraints against IKEv2 signature authentication schemes used by the
remote side. To require RSASSA-PSS signatures use
- rsa/pss instead of pubkey or
- rsa as in e.g. rsa/pss-sha256. If
- pubkey or rsa constraints are
+ `rsa/pss` instead of `pubkey` or
+ `rsa` as in e.g. `rsa/pss-sha256`. If
+ `pubkey` or `rsa` constraints are
configured RSASSA-PSS signatures will only be accepted if enabled in
- strongswan.conf(5).
+ `strongswan.conf`(5).
To specify trust chain constraints for EAP-(T)TLS, append a colon to the
EAP method, followed by the key type/size and hash algorithm as
- discussed above (e.g. eap-tls:ecdsa-384-sha384).
+ discussed above (e.g. `eap-tls:ecdsa-384-sha384`).
'';
} ''
@@ -653,7 +619,7 @@ in {
connection. Multiple rounds may be defined to use IKEv2 RFC 4739 Multiple
Authentication or IKEv1 XAuth.
- Each round is defined in a section having remote as
+ Each round is defined in a section having `remote` as
prefix, and an optional unique suffix. To define a single authentication
round, the suffix may be omitted.
'';
@@ -673,7 +639,7 @@ in {
combinations in IKEv1.
Algorithm keywords get separated using dashes. Multiple proposals may be
- specified in a list. The special value default forms
+ specified in a list. The special value `default` forms
a default proposal of supported algorithms considered safe, and is
usually a good choice for interoperability. By default no AH proposals
are included, instead ESP is proposed.
@@ -697,9 +663,9 @@ in {
SA is established, but may later cause rekeying to fail.
Extended Sequence Number support may be indicated with the
- esn and noesn values, both may be
+ `esn` and `noesn` values, both may be
included to indicate support for both modes. If omitted,
- noesn is assumed.
+ `noesn` is assumed.
In IKEv2, multiple algorithms of the same kind can be specified in a
single proposal, from which one gets selected. In IKEv1, only one
@@ -708,7 +674,7 @@ in {
combinations in IKEv1.
Algorithm keywords get separated using dashes. Multiple proposals may be
- specified as a list. The special value default forms
+ specified as a list. The special value `default` forms
a default proposal of supported algorithms considered safe, and is
usually a good choice for interoperability. If no algorithms are
specified for AH nor ESP, the default set of algorithms for ESP is
@@ -726,7 +692,7 @@ in {
local_ts = mkCommaSepListParam ["dynamic"] ''
List of local traffic selectors to include in CHILD_SA. Each selector is
a CIDR subnet definition, followed by an optional proto/port
- selector. The special value dynamic may be used
+ selector. The special value `dynamic` may be used
instead of a subnet definition, which gets replaced by the tunnel outer
address or the virtual IP, if negotiated. This is the default.
@@ -735,7 +701,7 @@ in {
name may be specified. After the optional protocol restriction, an
optional port restriction may be specified, separated by a slash. The
port restriction may be numeric, a getservent(3) service name, or the
- special value opaque for RFC 4301 OPAQUE
+ special value `opaque` for RFC 4301 OPAQUE
selectors. Port ranges may be specified as well, none of the kernel
backends currently support port ranges, though.
@@ -752,31 +718,31 @@ in {
remote_ts = mkCommaSepListParam ["dynamic"] ''
List of remote selectors to include in CHILD_SA. See
- for a description of the selector syntax.
+ {option}`local_ts` for a description of the selector syntax.
'';
rekey_time = mkDurationParam "1h" ''
Time to schedule CHILD_SA rekeying. CHILD_SA rekeying refreshes key
material, optionally using a Diffie-Hellman exchange if a group is
specified in the proposal. To avoid rekey collisions initiated by both
- ends simultaneously, a value in the range of
+ ends simultaneously, a value in the range of {option}`rand_time`
gets subtracted to form the effective soft lifetime.
By default CHILD_SA rekeying is scheduled every hour, minus
- .
+ {option}`rand_time`.
'';
life_time = mkOptionalDurationParam ''
Maximum lifetime before CHILD_SA gets closed. Usually this hard lifetime
is never reached, because the CHILD_SA gets rekeyed before. If that fails
for whatever reason, this limit closes the CHILD_SA. The default is 10%
- more than the .
+ more than the {option}`rekey_time`.
'';
rand_time = mkOptionalDurationParam ''
Time range from which to choose a random value to subtract from
- . The default is the difference between
- and .
+ {option}`rekey_time`. The default is the difference between
+ {option}`life_time` and {option}`rekey_time`.
'';
rekey_bytes = mkIntParam 0 ''
@@ -785,7 +751,7 @@ in {
exchange if a group is specified in the proposal.
To avoid rekey collisions initiated by both ends simultaneously, a value
- in the range of gets subtracted to form the
+ in the range of {option}`rand_bytes` gets subtracted to form the
effective soft volume limit.
Volume based CHILD_SA rekeying is disabled by default.
@@ -795,13 +761,13 @@ in {
Maximum bytes processed before CHILD_SA gets closed. Usually this hard
volume limit is never reached, because the CHILD_SA gets rekeyed
before. If that fails for whatever reason, this limit closes the
- CHILD_SA. The default is 10% more than .
+ CHILD_SA. The default is 10% more than {option}`rekey_bytes`.
'';
rand_bytes = mkOptionalIntParam ''
Byte range from which to choose a random value to subtract from
- . The default is the difference between
- and .
+ {option}`rekey_bytes`. The default is the difference between
+ {option}`life_bytes` and {option}`rekey_bytes`.
'';
rekey_packets = mkIntParam 0 ''
@@ -810,7 +776,7 @@ in {
exchange if a group is specified in the proposal.
To avoid rekey collisions initiated by both ends simultaneously, a value
- in the range of gets subtracted to form
+ in the range of {option}`rand_packets` gets subtracted to form
the effective soft packet count limit.
Packet count based CHILD_SA rekeying is disabled by default.
@@ -822,13 +788,13 @@ in {
rekeyed before. If that fails for whatever reason, this limit closes the
CHILD_SA.
- The default is 10% more than .
+ The default is 10% more than {option}`rekey_bytes`.
'';
rand_packets = mkOptionalIntParam ''
Packet range from which to choose a random value to subtract from
- . The default is the difference between
- and .
+ {option}`rekey_packets`. The default is the difference between
+ {option}`life_packets` and {option}`rekey_packets`.
'';
updown = mkOptionalStrParam ''
@@ -836,7 +802,7 @@ in {
'';
hostaccess = mkYesNoParam no ''
- Hostaccess variable to pass to updown script.
+ Hostaccess variable to pass to `updown` script.
'';
mode = mkEnumParam [ "tunnel"
@@ -847,33 +813,20 @@ in {
"drop"
] "tunnel" ''
IPsec Mode to establish CHILD_SA with.
-
-
- tunnel negotiates the CHILD_SA in IPsec Tunnel Mode,
-
-
- whereas transport uses IPsec Transport Mode.
-
-
- transport_proxy signifying the special Mobile IPv6
- Transport Proxy Mode.
-
-
- beet is the Bound End to End Tunnel mixture mode,
- working with fixed inner addresses without the need to include them in
- each packet.
-
-
- Both transport and beet modes are
- subject to mode negotiation; tunnel mode is
- negotiated if the preferred mode is not available.
-
-
- pass and drop are used to install
- shunt policies which explicitly bypass the defined traffic from IPsec
- processing or drop it, respectively.
-
-
+
+ - `tunnel` negotiates the CHILD_SA in IPsec Tunnel Mode,
+ - whereas `transport` uses IPsec Transport Mode.
+ - `transport_proxy` signifying the special Mobile IPv6
+ Transport Proxy Mode.
+ - `beet` is the Bound End to End Tunnel mixture mode,
+ working with fixed inner addresses without the need to include them in
+ each packet.
+ - Both `transport` and `beet` modes are
+ subject to mode negotiation; `tunnel` mode is
+ negotiated if the preferred mode is not available.
+ - `pass` and `drop` are used to install
+ shunt policies which explicitly bypass the defined traffic from IPsec
+ processing or drop it, respectively.
'';
policies = mkYesNoParam yes ''
@@ -932,18 +885,18 @@ in {
set. This allows installing duplicate policies and enables Netfilter
rules to select specific SAs/policies for incoming traffic. Note that
inbound marks are only set on policies, by default, unless
- is enabled. The special value
- %unique sets a unique mark on each CHILD_SA instance,
- beyond that the value %unique-dir assigns a different
+ {option}`mark_in_sa` is enabled. The special value
+ `%unique` sets a unique mark on each CHILD_SA instance,
+ beyond that the value `%unique-dir` assigns a different
unique mark for each
An additional mask may be appended to the mark, separated by
- /. The default mask if omitted is
- 0xffffffff.
+ `/`. The default mask if omitted is
+ `0xffffffff`.
'';
mark_in_sa = mkYesNoParam no ''
- Whether to set on the inbound SA. By default,
+ Whether to set {option}`mark_in` on the inbound SA. By default,
the inbound mark is only set on the inbound policy. The tuple destination
address, protocol and SPI is unique and the mark is not required to find
the correct SA, allowing to mark traffic after decryption instead (where
@@ -957,13 +910,13 @@ in {
require marks on each packet to match a policy/SA having that option
set. This allows installing duplicate policies and enables Netfilter
rules to select specific policies/SAs for outgoing traffic. The special
- value %unique sets a unique mark on each CHILD_SA
- instance, beyond that the value %unique-dir assigns a
+ value `%unique` sets a unique mark on each CHILD_SA
+ instance, beyond that the value `%unique-dir` assigns a
different unique mark for each CHILD_SA direction (in/out).
An additional mask may be appended to the mark, separated by
- /. The default mask if omitted is
- 0xffffffff.
+ `/`. The default mask if omitted is
+ `0xffffffff`.
'';
set_mark_in = mkStrParam "0/0x00000000" ''
@@ -973,10 +926,10 @@ in {
differently (e.g. via policy routing).
An additional mask may be appended to the mark, separated by
- /. The default mask if omitted is 0xffffffff. The
- special value %same uses the value (but not the mask)
- from as mark value, which can be fixed,
- %unique or %unique-dir.
+ `/`. The default mask if omitted is 0xffffffff. The
+ special value `%same` uses the value (but not the mask)
+ from {option}`mark_in` as mark value, which can be fixed,
+ `%unique` or `%unique-dir`.
Setting marks in XFRM input requires Linux 4.19 or higher.
'';
@@ -987,10 +940,10 @@ in {
traffic (e.g. via policy routing).
An additional mask may be appended to the mark, separated by
- /. The default mask if omitted is 0xffffffff. The
- special value %same uses the value (but not the mask)
- from as mark value, which can be fixed,
- %unique_ or %unique-dir.
+ `/`. The default mask if omitted is 0xffffffff. The
+ special value `%same` uses the value (but not the mask)
+ from {option}`mark_out` as mark value, which can be fixed,
+ `%unique_` or `%unique-dir`.
Setting marks in XFRM output is supported since Linux 4.14. Setting a
mask requires at least Linux 4.19.
@@ -999,18 +952,18 @@ in {
if_id_in = mkStrParam "0" ''
XFRM interface ID set on inbound policies/SA. This allows installing
duplicate policies/SAs and associates them with an interface with the
- same ID. The special value %unique sets a unique
+ same ID. The special value `%unique` sets a unique
interface ID on each CHILD_SA instance, beyond that the value
- %unique-dir assigns a different unique interface ID
+ `%unique-dir` assigns a different unique interface ID
for each CHILD_SA direction (in/out).
'';
if_id_out = mkStrParam "0" ''
XFRM interface ID set on outbound policies/SA. This allows installing
duplicate policies/SAs and associates them with an interface with the
- same ID. The special value %unique sets a unique
+ same ID. The special value `%unique` sets a unique
interface ID on each CHILD_SA instance, beyond that the value
- %unique-dir assigns a different unique interface ID
+ `%unique-dir` assigns a different unique interface ID
for each CHILD_SA direction (in/out).
The daemon will not install routes for CHILD_SAs that have this option set.
@@ -1020,23 +973,23 @@ in {
Pads ESP packets with additional data to have a consistent ESP packet
size for improved Traffic Flow Confidentiality. The padding defines the
minimum size of all ESP packets sent. The default value of
- 0 disables TFC padding, the special value
- mtu adds TFC padding to create a packet size equal to
+ `0` disables TFC padding, the special value
+ `mtu` adds TFC padding to create a packet size equal to
the Path Maximum Transfer Unit.
'';
replay_window = mkIntParam 32 ''
IPsec replay window to configure for this CHILD_SA. Larger values than
- the default of 32 are supported using the Netlink
- backend only, a value of 0 disables IPsec replay
+ the default of `32` are supported using the Netlink
+ backend only, a value of `0` disables IPsec replay
protection.
'';
hw_offload = mkEnumParam ["yes" "no" "auto"] "no" ''
Enable hardware offload for this CHILD_SA, if supported by the IPsec
- implementation. The value yes enforces offloading
+ implementation. The value `yes` enforces offloading
and the installation will fail if it's not supported by either kernel or
- device. The value auto enables offloading, if it's
+ device. The value `auto` enables offloading, if it's
supported, but the installation does not fail otherwise.
'';
@@ -1055,55 +1008,42 @@ in {
copy_dscp = mkEnumParam [ "out" "in" "yes" "no" ] "out" ''
Whether to copy the DSCP (Differentiated Services Field Codepoint)
header field to/from the outer IP header in tunnel mode. The value
- out only copies the field from the inner to the outer
- header, the value in does the opposite and only
+ `out` only copies the field from the inner to the outer
+ header, the value `in` does the opposite and only
copies the field from the outer to the inner header when decapsulating,
- the value yes copies the field in both directions,
- and the value no disables copying the field
- altogether. Setting this to yes or
- in could allow an attacker to adversely affect other
+ the value `yes` copies the field in both directions,
+ and the value `no` disables copying the field
+ altogether. Setting this to `yes` or
+ `in` could allow an attacker to adversely affect other
traffic at the receiver, which is why the default is
- out. Controlling this behavior is not supported by
+ `out`. Controlling this behavior is not supported by
all kernel interfaces.
'';
start_action = mkEnumParam ["none" "trap" "start"] "none" ''
Action to perform after loading the configuration.
-
-
- The default of none loads the connection only, which
- then can be manually initiated or used as a responder configuration.
-
-
- The value trap installs a trap policy, which triggers
- the tunnel as soon as matching traffic has been detected.
-
-
- The value start initiates the connection actively.
-
-
+
+ - The default of `none` loads the connection only, which
+ then can be manually initiated or used as a responder configuration.
+ - The value `trap` installs a trap policy, which triggers
+ the tunnel as soon as matching traffic has been detected.
+ - The value `start` initiates the connection actively.
+
When unloading or replacing a CHILD_SA configuration having a
- different from none,
+ {option}`start_action` different from `none`,
the inverse action is performed. Configurations with
- start get closed, while such with
- trap get uninstalled.
+ `start` get closed, while such with
+ `trap` get uninstalled.
'';
close_action = mkEnumParam ["none" "trap" "start"] "none" ''
Action to perform after a CHILD_SA gets closed by the peer.
-
-
- The default of none does not take any action,
-
-
- trap installs a trap policy for the CHILD_SA.
-
-
- start tries to re-create the CHILD_SA.
-
-
- does not provide any guarantee that the
+ - The default of `none` does not take any action,
+ - `trap` installs a trap policy for the CHILD_SA.
+ - `start` tries to re-create the CHILD_SA.
+
+ {option}`close_action` does not provide any guarantee that the
CHILD_SA is kept alive. It acts on explicit close messages only, but not
on negotiation failures. Use trap policies to reliably re-create failed
CHILD_SAs.
@@ -1111,9 +1051,9 @@ in {
} ''
CHILD_SA configuration sub-section. Each connection definition may have
- one or more sections in its subsection. The
+ one or more sections in its {option}`children` subsection. The
section name defines the name of the CHILD_SA configuration, which must be
- unique within the connection (denoted <child> below).
+ unique within the connection (denoted \ below).
'';
} ''
Section defining IKE connection configurations, each in its own subsection
@@ -1130,13 +1070,13 @@ in {
id = mkPrefixedAttrsOfParam (mkOptionalStrParam "") ''
Identity the EAP/XAuth secret belongs to. Multiple unique identities may
- be specified, each having an id prefix, if a secret
+ be specified, each having an `id` prefix, if a secret
is shared between multiple users.
'';
} ''
EAP secret section for a specific secret. Each EAP secret is defined in a
- unique section having the eap prefix. EAP secrets are
+ unique section having the `eap` prefix. EAP secrets are
used for XAuth authentication as well.
'';
@@ -1160,7 +1100,7 @@ in {
'';
} ''
NTLM secret section for a specific secret. Each NTLM secret is defined in
- a unique section having the ntlm prefix. NTLM secrets
+ a unique section having the `ntlm` prefix. NTLM secrets
may only be used for EAP-MSCHAPv2 authentication.
'';
@@ -1173,30 +1113,30 @@ in {
id = mkPrefixedAttrsOfParam (mkOptionalStrParam "") ''
IKE identity the IKE preshared secret belongs to. Multiple unique
- identities may be specified, each having an id
+ identities may be specified, each having an `id`
prefix, if a secret is shared between multiple peers.
'';
} ''
IKE preshared secret section for a specific secret. Each IKE PSK is
- defined in a unique section having the ike prefix.
+ defined in a unique section having the `ike` prefix.
'';
ppk = mkPrefixedAttrsOfParams {
secret = mkOptionalStrParam ''
Value of the PPK. It may either be an ASCII string, a hex encoded string
- if it has a 0x prefix or a Base64 encoded string if
- it has a 0s prefix in its value. Should have at least
+ if it has a `0x` prefix or a Base64 encoded string if
+ it has a `0s` prefix in its value. Should have at least
256 bits of entropy for 128-bit security.
'';
id = mkPrefixedAttrsOfParam (mkOptionalStrParam "") ''
PPK identity the PPK belongs to. Multiple unique identities may be
- specified, each having an id prefix, if a secret is
+ specified, each having an `id` prefix, if a secret is
shared between multiple peers.
'';
} ''
Postquantum Preshared Key (PPK) section for a specific secret. Each PPK is
- defined in a unique section having the ppk prefix.
+ defined in a unique section having the `ppk` prefix.
'';
private = mkPrefixedAttrsOfParams {
@@ -1209,25 +1149,25 @@ in {
'';
} ''
Private key decryption passphrase for a key in the
- private folder.
+ `private` folder.
'';
rsa = mkPrefixedAttrsOfParams {
file = mkOptionalStrParam ''
- File name in the rsa folder for which this passphrase
+ File name in the `rsa` folder for which this passphrase
should be used.
'';
secret = mkOptionalStrParam ''
Value of decryption passphrase for RSA key.
'';
} ''
- Private key decryption passphrase for a key in the rsa
+ Private key decryption passphrase for a key in the `rsa`
folder.
'';
ecdsa = mkPrefixedAttrsOfParams {
file = mkOptionalStrParam ''
- File name in the ecdsa folder for which this
+ File name in the `ecdsa` folder for which this
passphrase should be used.
'';
secret = mkOptionalStrParam ''
@@ -1235,12 +1175,12 @@ in {
'';
} ''
Private key decryption passphrase for a key in the
- ecdsa folder.
+ `ecdsa` folder.
'';
pkcs8 = mkPrefixedAttrsOfParams {
file = mkOptionalStrParam ''
- File name in the pkcs8 folder for which this
+ File name in the `pkcs8` folder for which this
passphrase should be used.
'';
secret = mkOptionalStrParam ''
@@ -1248,12 +1188,12 @@ in {
'';
} ''
Private key decryption passphrase for a key in the
- pkcs8 folder.
+ `pkcs8` folder.
'';
pkcs12 = mkPrefixedAttrsOfParams {
file = mkOptionalStrParam ''
- File name in the pkcs12 folder for which this
+ File name in the `pkcs12` folder for which this
passphrase should be used.
'';
secret = mkOptionalStrParam ''
@@ -1261,7 +1201,7 @@ in {
'';
} ''
PKCS#12 decryption passphrase for a container in the
- pkcs12 folder.
+ `pkcs12` folder.
'';
token = mkPrefixedAttrsOfParams {
@@ -1281,7 +1221,7 @@ in {
pin = mkOptionalStrParam ''
Optional PIN required to access the key on the token. If none is
provided the user is prompted during an interactive
- --load-creds call.
+ `--load-creds` call.
'';
} "Definition for a private key that's stored on a token/smartcard/TPM.";
@@ -1291,7 +1231,7 @@ in {
addrs = mkOptionalStrParam ''
Subnet or range defining addresses allocated in pool. Accepts a single
CIDR subnet defining the pool to allocate addresses from or an address
- range (<from>-<to>). Pools must be unique and non-overlapping.
+ range (\-\). Pools must be unique and non-overlapping.
'';
dns = mkCommaSepListParam [] "Address or CIDR subnets";
@@ -1305,6 +1245,6 @@ in {
} ''
Section defining named pools. Named pools may be referenced by connections
with the pools option to assign virtual IPs and other configuration
- attributes. Each pool must have a unique name (denoted <name> below).
+ attributes. Each pool must have a unique name (denoted \ below).
'';
}
diff --git a/nixos/modules/services/networking/vsftpd.nix b/nixos/modules/services/networking/vsftpd.nix
index b26adbf8719b..215d1ac23d4c 100644
--- a/nixos/modules/services/networking/vsftpd.nix
+++ b/nixos/modules/services/networking/vsftpd.nix
@@ -27,7 +27,8 @@ let
type = types.bool;
name = nixosName;
value = mkOption {
- inherit description default;
+ description = lib.mdDoc description;
+ inherit default;
type = types.bool;
};
};
@@ -68,16 +69,16 @@ let
Whether users are included.
'')
(yesNoOption "userlistDeny" "userlist_deny" false ''
- Specifies whether is a list of user
+ Specifies whether {option}`userlistFile` is a list of user
names to allow or deny access.
- The default false means whitelist/allow.
+ The default `false` means whitelist/allow.
'')
(yesNoOption "forceLocalLoginsSSL" "force_local_logins_ssl" false ''
- Only applies if is true. Non anonymous (local) users
+ Only applies if {option}`sslEnable` is true. Non anonymous (local) users
must use a secure SSL connection to send a password.
'')
(yesNoOption "forceLocalDataSSL" "force_local_data_ssl" false ''
- Only applies if is true. Non anonymous (local) users
+ Only applies if {option}`sslEnable` is true. Non anonymous (local) users
must use a secure SSL connection for sending/receiving data on data connection.
'')
(yesNoOption "portPromiscuous" "port_promiscuous" false ''
@@ -86,17 +87,17 @@ let
know what you are doing!
'')
(yesNoOption "ssl_tlsv1" "ssl_tlsv1" true ''
- Only applies if is activated. If
+ Only applies if {option}`ssl_enable` is activated. If
enabled, this option will permit TLS v1 protocol connections.
TLS v1 connections are preferred.
'')
(yesNoOption "ssl_sslv2" "ssl_sslv2" false ''
- Only applies if is activated. If
+ Only applies if {option}`ssl_enable` is activated. If
enabled, this option will permit SSL v2 protocol connections.
TLS v1 connections are preferred.
'')
(yesNoOption "ssl_sslv3" "ssl_sslv3" false ''
- Only applies if is activated. If
+ Only applies if {option}`ssl_enable` is activated. If
enabled, this option will permit SSL v3 protocol connections.
TLS v1 connections are preferred.
'')
@@ -184,9 +185,9 @@ in
type = types.nullOr types.str;
example = "/etc/vsftpd/userDb";
default = null;
- description = ''
- Only applies if is true.
- Path pointing to the pam_userdb user
+ description = lib.mdDoc ''
+ Only applies if {option}`enableVirtualUsers` is true.
+ Path pointing to the `pam_userdb` user
database used by vsftpd to authenticate the virtual users.
This user list should be stored in the Berkeley DB database
@@ -194,21 +195,21 @@ in
To generate a new user database, create a text file, add
your users using the following format:
-
+ ```
user1
password1
user2
password2
-
+ ```
- You can then install pkgs.db to generate
+ You can then install `pkgs.db` to generate
the Berkeley DB using
-
+ ```
db_load -T -t hash -f logins.txt userDb.db
-
+ ```
- Caution: pam_userdb will automatically
- append a .db suffix to the filename you
+ Caution: `pam_userdb` will automatically
+ append a `.db` suffix to the filename you
provide though this option. This option shouldn't include
this filetype suffix.
'';
diff --git a/nixos/modules/services/networking/xrdp.nix b/nixos/modules/services/networking/xrdp.nix
index 17caeab27264..761f576495a6 100644
--- a/nixos/modules/services/networking/xrdp.nix
+++ b/nixos/modules/services/networking/xrdp.nix
@@ -100,7 +100,7 @@ in
confDir = mkOption {
type = types.path;
default = confDir;
- defaultText = literalDocBook "generated from configuration";
+ defaultText = literalMD "generated from configuration";
description = lib.mdDoc "The location of the config files for xrdp.";
};
};
diff --git a/nixos/modules/services/security/tor.nix b/nixos/modules/services/security/tor.nix
index 84f577c3853b..30fd6f569c72 100644
--- a/nixos/modules/services/security/tor.nix
+++ b/nixos/modules/services/security/tor.nix
@@ -9,7 +9,7 @@ let
stateDir = "/var/lib/tor";
runDir = "/run/tor";
descriptionGeneric = option: ''
- See torrc manual.
+ See [torrc manual](https://2019.www.torproject.org/docs/tor-manual.html.en#${option}).
'';
bindsPrivilegedPort =
any (p0:
@@ -30,22 +30,22 @@ let
optionBool = optionName: mkOption {
type = with types; nullOr bool;
default = null;
- description = descriptionGeneric optionName;
+ description = lib.mdDoc (descriptionGeneric optionName);
};
optionInt = optionName: mkOption {
type = with types; nullOr int;
default = null;
- description = descriptionGeneric optionName;
+ description = lib.mdDoc (descriptionGeneric optionName);
};
optionString = optionName: mkOption {
type = with types; nullOr str;
default = null;
- description = descriptionGeneric optionName;
+ description = lib.mdDoc (descriptionGeneric optionName);
};
optionStrings = optionName: mkOption {
type = with types; listOf str;
default = [];
- description = descriptionGeneric optionName;
+ description = lib.mdDoc (descriptionGeneric optionName);
};
optionAddress = mkOption {
type = with types; nullOr str;
@@ -69,7 +69,7 @@ let
optionPorts = optionName: mkOption {
type = with types; listOf port;
default = [];
- description = descriptionGeneric optionName;
+ description = lib.mdDoc (descriptionGeneric optionName);
};
optionIsolablePort = with types; oneOf [
port (enum ["auto"])
@@ -89,7 +89,7 @@ let
optionIsolablePorts = optionName: mkOption {
default = [];
type = with types; either optionIsolablePort (listOf optionIsolablePort);
- description = descriptionGeneric optionName;
+ description = lib.mdDoc (descriptionGeneric optionName);
};
isolateFlags = [
"IsolateClientAddr"
@@ -144,17 +144,17 @@ let
};
}))
]))];
- description = descriptionGeneric optionName;
+ description = lib.mdDoc (descriptionGeneric optionName);
};
optionBandwith = optionName: mkOption {
type = with types; nullOr (either int str);
default = null;
- description = descriptionGeneric optionName;
+ description = lib.mdDoc (descriptionGeneric optionName);
};
optionPath = optionName: mkOption {
type = with types; nullOr path;
default = null;
- description = descriptionGeneric optionName;
+ description = lib.mdDoc (descriptionGeneric optionName);
};
mkValueString = k: v:
@@ -262,7 +262,7 @@ in
};
onionServices = mkOption {
- description = descriptionGeneric "HiddenServiceDir";
+ description = lib.mdDoc (descriptionGeneric "HiddenServiceDir");
default = {};
example = {
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" = {
@@ -271,11 +271,14 @@ in
};
type = types.attrsOf (types.submodule ({name, config, ...}: {
options.clientAuthorizations = mkOption {
- description = ''
+ description = lib.mdDoc ''
Clients' authorizations for a v3 onion service,
as a list of files containing each one private key, in the format:
- descriptor:x25519:<base32-private-key>
- '' + descriptionGeneric "_client_authorization";
+ ```
+ descriptor:x25519:
+ ```
+ ${descriptionGeneric "_client_authorization"}
+ '';
type = with types; listOf path;
default = [];
example = ["/run/keys/tor/alice.prv.x25519"];
@@ -429,7 +432,7 @@ in
};
onionServices = mkOption {
- description = descriptionGeneric "HiddenServiceDir";
+ description = lib.mdDoc (descriptionGeneric "HiddenServiceDir");
default = {};
example = {
"example.org/www" = {
@@ -462,7 +465,7 @@ in
'';
};
options.authorizeClient = mkOption {
- description = descriptionGeneric "HiddenServiceAuthorizeClient";
+ description = lib.mdDoc (descriptionGeneric "HiddenServiceAuthorizeClient");
default = null;
type = types.nullOr (types.submodule ({...}: {
options = {
@@ -487,17 +490,20 @@ in
}));
};
options.authorizedClients = mkOption {
- description = ''
+ description = lib.mdDoc ''
Authorized clients for a v3 onion service,
as a list of public key, in the format:
- descriptor:x25519:<base32-public-key>
- '' + descriptionGeneric "_client_authorization";
+ ```
+ descriptor:x25519:
+ ```
+ ${descriptionGeneric "_client_authorization"}
+ '';
type = with types; listOf str;
default = [];
example = ["descriptor:x25519:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"];
};
options.map = mkOption {
- description = descriptionGeneric "HiddenServicePort";
+ description = lib.mdDoc (descriptionGeneric "HiddenServicePort");
type = with types; listOf (oneOf [
port (submodule ({...}: {
options = {
@@ -518,14 +524,15 @@ in
apply = map (v: if isInt v then {port=v; target=null;} else v);
};
options.version = mkOption {
- description = descriptionGeneric "HiddenServiceVersion";
+ description = lib.mdDoc (descriptionGeneric "HiddenServiceVersion");
type = with types; nullOr (enum [2 3]);
default = null;
};
options.settings = mkOption {
- description = ''
+ description = lib.mdDoc ''
Settings of the onion service.
- '' + descriptionGeneric "_hidden_service_options";
+ ${descriptionGeneric "_hidden_service_options"}
+ '';
default = {};
type = types.submodule {
freeformType = with types;
@@ -535,18 +542,18 @@ in
options.HiddenServiceAllowUnknownPorts = optionBool "HiddenServiceAllowUnknownPorts";
options.HiddenServiceDirGroupReadable = optionBool "HiddenServiceDirGroupReadable";
options.HiddenServiceExportCircuitID = mkOption {
- description = descriptionGeneric "HiddenServiceExportCircuitID";
+ description = lib.mdDoc (descriptionGeneric "HiddenServiceExportCircuitID");
type = with types; nullOr (enum ["haproxy"]);
default = null;
};
options.HiddenServiceMaxStreams = mkOption {
- description = descriptionGeneric "HiddenServiceMaxStreams";
+ description = lib.mdDoc (descriptionGeneric "HiddenServiceMaxStreams");
type = with types; nullOr (ints.between 0 65535);
default = null;
};
options.HiddenServiceMaxStreamsCloseCircuit = optionBool "HiddenServiceMaxStreamsCloseCircuit";
options.HiddenServiceNumIntroductionPoints = mkOption {
- description = descriptionGeneric "HiddenServiceNumIntroductionPoints";
+ description = lib.mdDoc (descriptionGeneric "HiddenServiceNumIntroductionPoints");
type = with types; nullOr (ints.between 0 20);
default = null;
};
@@ -605,7 +612,7 @@ in
options.ClientAutoIPv6ORPort = optionBool "ClientAutoIPv6ORPort";
options.ClientDNSRejectInternalAddresses = optionBool "ClientDNSRejectInternalAddresses";
options.ClientOnionAuthDir = mkOption {
- description = descriptionGeneric "ClientOnionAuthDir";
+ description = lib.mdDoc (descriptionGeneric "ClientOnionAuthDir");
default = null;
type = with types; nullOr path;
};
@@ -618,7 +625,7 @@ in
options.ConstrainedSockets = optionBool "ConstrainedSockets";
options.ContactInfo = optionString "ContactInfo";
options.ControlPort = mkOption rec {
- description = descriptionGeneric "ControlPort";
+ description = lib.mdDoc (descriptionGeneric "ControlPort");
default = [];
example = [{port = 9051;}];
type = with types; oneOf [port (enum ["auto"]) (listOf (oneOf [
@@ -653,7 +660,7 @@ in
options.DormantTimeoutDisabledByIdleStreams = optionBool "DormantTimeoutDisabledByIdleStreams";
options.DirCache = optionBool "DirCache";
options.DirPolicy = mkOption {
- description = descriptionGeneric "DirPolicy";
+ description = lib.mdDoc (descriptionGeneric "DirPolicy");
type = with types; listOf str;
default = [];
example = ["accept *:*"];
@@ -680,7 +687,7 @@ in
options.ExitPortStatistics = optionBool "ExitPortStatistics";
options.ExitRelay = optionBool "ExitRelay"; # default is null and like "auto"
options.ExtORPort = mkOption {
- description = descriptionGeneric "ExtORPort";
+ description = lib.mdDoc (descriptionGeneric "ExtORPort");
default = null;
type = with types; nullOr (oneOf [
port (enum ["auto"]) (submodule ({...}: {
@@ -709,7 +716,7 @@ in
options.GeoIPv6File = optionPath "GeoIPv6File";
options.GuardfractionFile = optionPath "GuardfractionFile";
options.HidServAuth = mkOption {
- description = descriptionGeneric "HidServAuth";
+ description = lib.mdDoc (descriptionGeneric "HidServAuth");
default = [];
type = with types; listOf (oneOf [
(submodule {
@@ -760,7 +767,7 @@ in
options.ProtocolWarnings = optionBool "ProtocolWarnings";
options.PublishHidServDescriptors = optionBool "PublishHidServDescriptors";
options.PublishServerDescriptor = mkOption {
- description = descriptionGeneric "PublishServerDescriptor";
+ description = lib.mdDoc (descriptionGeneric "PublishServerDescriptor");
type = with types; nullOr (enum [false true 0 1 "0" "1" "v3" "bridge"]);
default = null;
};
@@ -778,7 +785,7 @@ in
options.ServerDNSResolvConfFile = optionPath "ServerDNSResolvConfFile";
options.ServerDNSSearchDomains = optionBool "ServerDNSSearchDomains";
options.ServerTransportPlugin = mkOption {
- description = descriptionGeneric "ServerTransportPlugin";
+ description = lib.mdDoc (descriptionGeneric "ServerTransportPlugin");
default = null;
type = with types; nullOr (submodule ({...}: {
options = {
@@ -797,13 +804,13 @@ in
options.ShutdownWaitLength = mkOption {
type = types.int;
default = 30;
- description = descriptionGeneric "ShutdownWaitLength";
+ description = lib.mdDoc (descriptionGeneric "ShutdownWaitLength");
};
options.SocksPolicy = optionStrings "SocksPolicy" // {
example = ["accept *:*"];
};
options.SOCKSPort = mkOption {
- description = descriptionGeneric "SOCKSPort";
+ description = lib.mdDoc (descriptionGeneric "SOCKSPort");
default = if cfg.settings.HiddenServiceNonAnonymousMode == true then [{port = 0;}] else [];
defaultText = literalExpression ''
if config.${opt.settings}.HiddenServiceNonAnonymousMode == true
@@ -816,7 +823,7 @@ in
options.TestingTorNetwork = optionBool "TestingTorNetwork";
options.TransPort = optionIsolablePorts "TransPort";
options.TransProxyType = mkOption {
- description = descriptionGeneric "TransProxyType";
+ description = lib.mdDoc (descriptionGeneric "TransProxyType");
type = with types; nullOr (enum ["default" "TPROXY" "ipfw" "pf-divert"]);
default = null;
};
diff --git a/nixos/modules/services/web-apps/discourse.nix b/nixos/modules/services/web-apps/discourse.nix
index 0ebc6f5399c0..a1ab3bfca4a6 100644
--- a/nixos/modules/services/web-apps/discourse.nix
+++ b/nixos/modules/services/web-apps/discourse.nix
@@ -100,9 +100,9 @@ in
enableACME = lib.mkOption {
type = lib.types.bool;
default = cfg.sslCertificate == null && cfg.sslCertificateKey == null;
- defaultText = lib.literalDocBook ''
- true, unless
- and are set.
+ defaultText = lib.literalMD ''
+ `true`, unless {option}`services.discourse.sslCertificate`
+ and {option}`services.discourse.sslCertificateKey` are set.
'';
description = lib.mdDoc ''
Whether an ACME certificate should be used to secure
diff --git a/nixos/modules/services/web-apps/keycloak.nix b/nixos/modules/services/web-apps/keycloak.nix
index b878cb74b52e..26bed24eed27 100644
--- a/nixos/modules/services/web-apps/keycloak.nix
+++ b/nixos/modules/services/web-apps/keycloak.nix
@@ -20,7 +20,7 @@ let
mkDefault
literalExpression
isAttrs
- literalDocBook
+ literalMD
maintainers
catAttrs
collect
@@ -165,7 +165,7 @@ in
mkOption {
type = port;
default = dbPorts.${cfg.database.type};
- defaultText = literalDocBook "default port of selected database";
+ defaultText = literalMD "default port of selected database";
description = lib.mdDoc ''
Port of the database to connect to.
'';
diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix
index efd4d0af7605..84c6b077d03f 100644
--- a/nixos/modules/services/web-apps/nextcloud.nix
+++ b/nixos/modules/services/web-apps/nextcloud.nix
@@ -527,7 +527,7 @@ in {
occ = mkOption {
type = types.package;
default = occ;
- defaultText = literalDocBook "generated script";
+ defaultText = literalMD "generated script";
internal = true;
description = ''
The nextcloud-occ program preconfigured to target this Nextcloud instance.
diff --git a/nixos/modules/services/web-servers/lighttpd/collectd.nix b/nixos/modules/services/web-servers/lighttpd/collectd.nix
index 270517a4e2a5..78d507f1d7d4 100644
--- a/nixos/modules/services/web-servers/lighttpd/collectd.nix
+++ b/nixos/modules/services/web-servers/lighttpd/collectd.nix
@@ -30,8 +30,8 @@ in
collectionCgi = mkOption {
type = types.path;
default = defaultCollectionCgi;
- defaultText = literalDocBook ''
- config.${options.services.collectd.package} configured for lighttpd
+ defaultText = literalMD ''
+ `config.${options.services.collectd.package}` configured for lighttpd
'';
description = lib.mdDoc ''
Path to collection.cgi script from (collectd sources)/contrib/collection.cgi
diff --git a/nixos/modules/services/web-servers/trafficserver/default.nix b/nixos/modules/services/web-servers/trafficserver/default.nix
index beb5e437c5b1..51d6b9050f59 100644
--- a/nixos/modules/services/web-servers/trafficserver/default.nix
+++ b/nixos/modules/services/web-servers/trafficserver/default.nix
@@ -62,7 +62,7 @@ in
ipAllow = mkOption {
type = types.nullOr yaml.type;
default = lib.importJSON ./ip_allow.json;
- defaultText = literalDocBook "upstream defaults";
+ defaultText = literalMD "upstream defaults";
example = literalExpression ''
{
ip_allow = [{
@@ -85,7 +85,7 @@ in
logging = mkOption {
type = types.nullOr yaml.type;
default = lib.importJSON ./logging.json;
- defaultText = literalDocBook "upstream defaults";
+ defaultText = literalMD "upstream defaults";
example = { };
description = lib.mdDoc ''
Configure logs.
diff --git a/nixos/modules/services/x11/display-managers/default.nix b/nixos/modules/services/x11/display-managers/default.nix
index 03bf5d1cd2da..cfb7cfb098ea 100644
--- a/nixos/modules/services/x11/display-managers/default.nix
+++ b/nixos/modules/services/x11/display-managers/default.nix
@@ -24,7 +24,7 @@ let
Xft.lcdfilter: lcd${fontconfig.subpixel.lcdfilter}
Xft.hinting: ${if fontconfig.hinting.enable then "1" else "0"}
Xft.autohint: ${if fontconfig.hinting.autohint then "1" else "0"}
- Xft.hintstyle: hintslight
+ Xft.hintstyle: ${fontconfig.hinting.style}
'';
# file provided by services.xserver.displayManager.sessionData.wrapper
@@ -285,7 +285,7 @@ in
defaultSessionFromLegacyOptions
else
null;
- defaultText = literalDocBook ''
+ defaultText = literalMD ''
Taken from display manager settings or window manager settings, if either is set.
'';
example = "gnome";
diff --git a/nixos/modules/system/activation/activation-script.nix b/nixos/modules/system/activation/activation-script.nix
index 3a57642a53ee..5a61d5463d21 100644
--- a/nixos/modules/system/activation/activation-script.nix
+++ b/nixos/modules/system/activation/activation-script.nix
@@ -143,7 +143,7 @@ in
readOnly = true;
internal = true;
default = systemActivationScript (removeAttrs config.system.activationScripts [ "script" ]) true;
- defaultText = literalDocBook "generated activation script";
+ defaultText = literalMD "generated activation script";
};
system.userActivationScripts = mkOption {
diff --git a/nixos/modules/system/boot/plymouth.nix b/nixos/modules/system/boot/plymouth.nix
index 02d8fcf4799c..6e20d7dc5e0f 100644
--- a/nixos/modules/system/boot/plymouth.nix
+++ b/nixos/modules/system/boot/plymouth.nix
@@ -75,10 +75,10 @@ in
themePackages = mkOption {
default = lib.optional (cfg.theme == "breeze") nixosBreezePlymouth;
- defaultText = literalDocBook ''
+ defaultText = literalMD ''
A NixOS branded variant of the breeze theme when
- config.${opt.theme} == "breeze", otherwise
- [ ].
+ `config.${opt.theme} == "breeze"`, otherwise
+ `[ ]`.
'';
type = types.listOf types.package;
description = lib.mdDoc ''
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix
index 37adcc531d3d..66b51cd72606 100644
--- a/nixos/modules/system/boot/stage-1.nix
+++ b/nixos/modules/system/boot/stage-1.nix
@@ -611,7 +611,7 @@ in
then "zstd"
else "gzip"
);
- defaultText = literalDocBook "zstd if the kernel supports it (5.9+), gzip if not";
+ defaultText = literalMD "`zstd` if the kernel supports it (5.9+), `gzip` if not";
type = types.either types.str (types.functionTo types.str);
description = ''
The compressor to use on the initrd image. May be any of:
diff --git a/nixos/modules/tasks/filesystems/zfs.nix b/nixos/modules/tasks/filesystems/zfs.nix
index 0975ed0aab9b..098f9031628d 100644
--- a/nixos/modules/tasks/filesystems/zfs.nix
+++ b/nixos/modules/tasks/filesystems/zfs.nix
@@ -209,7 +209,7 @@ in
readOnly = true;
type = types.bool;
default = inInitrd || inSystem;
- defaultText = literalDocBook "true if ZFS filesystem support is enabled";
+ defaultText = literalMD "`true` if ZFS filesystem support is enabled";
description = lib.mdDoc "True if ZFS filesystem support is enabled";
};
diff --git a/nixos/modules/tasks/network-interfaces.nix b/nixos/modules/tasks/network-interfaces.nix
index eb4818756bb1..e2a17c246bd9 100644
--- a/nixos/modules/tasks/network-interfaces.nix
+++ b/nixos/modules/tasks/network-interfaces.nix
@@ -172,13 +172,13 @@ let
type = types.enum (lib.attrNames tempaddrValues);
default = cfg.tempAddresses;
defaultText = literalExpression ''config.networking.tempAddresses'';
- description = ''
+ description = lib.mdDoc ''
When IPv6 is enabled with SLAAC, this option controls the use of
temporary address (aka privacy extensions) on this
interface. This is used to reduce tracking.
See also the global option
- , which
+ [](#opt-networking.tempAddresses), which
applies to all interfaces where this is not set.
Possible values are:
@@ -227,15 +227,19 @@ let
{ address = "192.168.2.0"; prefixLength = 24; via = "192.168.1.1"; }
];
type = with types; listOf (submodule (routeOpts 4));
- description = ''
+ description = lib.mdDoc ''
List of extra IPv4 static routes that will be assigned to the interface.
- If the route type is the default unicast, then the scope
- is set differently depending on the value of :
- the script-based backend sets it to link, while networkd sets
- it to global.
+
+ ::: {.warning}
+ If the route type is the default `unicast`, then the scope
+ is set differently depending on the value of {option}`networking.useNetworkd`:
+ the script-based backend sets it to `link`, while networkd sets
+ it to `global`.
+ :::
+
If you want consistency between the two implementations,
set the scope of the route manually with
- networking.interfaces.eth0.ipv4.routes = [{ options.scope = "global"; }]
+ `networking.interfaces.eth0.ipv4.routes = [{ options.scope = "global"; }]`
for example.
'';
};
@@ -407,17 +411,10 @@ let
description = "generate IPv6 temporary addresses and use these as source addresses in routing";
};
};
- tempaddrDoc = ''
-
- ${concatStringsSep "\n" (mapAttrsToList (name: { description, ... }: ''
-
-
- "${name}" to ${description};
-
-
- '') tempaddrValues)}
-
- '';
+ tempaddrDoc = concatStringsSep "\n"
+ (mapAttrsToList
+ (name: { description, ... }: ''- `"${name}"` to ${description};'')
+ tempaddrValues);
hostidFile = pkgs.runCommand "gen-hostid" { preferLocalBuild = true; } ''
hi="${cfg.hostId}"
@@ -1241,17 +1238,15 @@ in
type = types.nullOr types.str;
default = null;
example = "02:00:00:00:00:01";
- description = ''
- MAC address to use for the device. If null, then the MAC of the
+ description = lib.mdDoc ''
+ MAC address to use for the device. If `null`, then the MAC of the
underlying hardware WLAN device is used.
INFO: Locally administered MAC addresses are of the form:
-
- x2:xx:xx:xx:xx:xx
- x6:xx:xx:xx:xx:xx
- xA:xx:xx:xx:xx:xx
- xE:xx:xx:xx:xx:xx
-
+ - x2:xx:xx:xx:xx:xx
+ - x6:xx:xx:xx:xx:xx
+ - xA:xx:xx:xx:xx:xx
+ - xE:xx:xx:xx:xx:xx
'';
};
@@ -1287,10 +1282,10 @@ in
if ''${config.${opt.enableIPv6}} then "default" else "disabled"
'';
type = types.enum (lib.attrNames tempaddrValues);
- description = ''
+ description = lib.mdDoc ''
Whether to enable IPv6 Privacy Extensions for interfaces not
configured explicitly in
- .
+ [](#opt-networking.interfaces._name_.tempAddress).
This sets the ipv6.conf.*.use_tempaddr sysctl for all
interfaces. Possible values are:
diff --git a/nixos/modules/virtualisation/digital-ocean-init.nix b/nixos/modules/virtualisation/digital-ocean-init.nix
index e29e34c4775f..1a5d4e898e96 100644
--- a/nixos/modules/virtualisation/digital-ocean-init.nix
+++ b/nixos/modules/virtualisation/digital-ocean-init.nix
@@ -20,7 +20,7 @@ in {
options.virtualisation.digitalOcean.defaultConfigFile = mkOption {
type = types.path;
default = defaultConfigFile;
- defaultText = literalDocBook ''
+ defaultText = literalMD ''
The default configuration imports user-data if applicable and
`(modulesPath + "/virtualisation/digital-ocean-config.nix")`.
'';
diff --git a/nixos/tests/minecraft-server.nix b/nixos/tests/minecraft-server.nix
index a51b36ff5308..6e733bb96c1c 100644
--- a/nixos/tests/minecraft-server.nix
+++ b/nixos/tests/minecraft-server.nix
@@ -18,6 +18,8 @@ in import ./make-test-python.nix ({ pkgs, ... }: {
serverProperties = {
enable-rcon = true;
level-seed = seed;
+ level-type = "flat";
+ generate-structures = false;
online-mode = false;
"rcon.password" = rcon-pass;
"rcon.port" = rcon-port;
diff --git a/pkgs/applications/audio/bambootracker/default.nix b/pkgs/applications/audio/bambootracker/default.nix
index 7408f57a1a98..f19afcefc606 100644
--- a/pkgs/applications/audio/bambootracker/default.nix
+++ b/pkgs/applications/audio/bambootracker/default.nix
@@ -12,14 +12,14 @@
mkDerivation rec {
pname = "bambootracker";
- version = "0.5.1";
+ version = "0.5.2";
src = fetchFromGitHub {
owner = "BambooTracker";
repo = "BambooTracker";
rev = "v${version}";
fetchSubmodules = true;
- sha256 = "sha256-AEELUJYiapF/sBWRXXuBXUHwnKp0szdIOCNVMYufv94=";
+ sha256 = "sha256-+9PmpmsF08oU//pJOWaoGQzG7a2O13kYqKbGwVRAMlU=";
};
nativeBuildInputs = [ qmake qttools pkg-config ];
diff --git a/pkgs/applications/audio/mympd/default.nix b/pkgs/applications/audio/mympd/default.nix
index e6027eef06af..b2f280650da7 100644
--- a/pkgs/applications/audio/mympd/default.nix
+++ b/pkgs/applications/audio/mympd/default.nix
@@ -8,28 +8,38 @@
, lua5_3
, libid3tag
, flac
-, pcre
+, pcre2
+, gzip
+, perl
}:
stdenv.mkDerivation rec {
pname = "mympd";
- version = "8.0.4";
+ version = "9.5.2";
src = fetchFromGitHub {
owner = "jcorporation";
repo = "myMPD";
rev = "v${version}";
- sha256 = "sha256-hpUoXqblhHreDZg8fDD5S4UG+ltptIbzP9LKyQ/WbX0=";
+ sha256 = "sha256-WmGaZXITvrp7ml7s7FPyp3Q3072KU/P6UombBj99fX0=";
};
- nativeBuildInputs = [ pkg-config cmake ];
+ nativeBuildInputs = [
+ pkg-config
+ cmake
+ gzip
+ perl
+ ];
+ preConfigure = ''
+ env MYMPD_BUILDDIR=$PWD/build ./build.sh createassets
+ '';
buildInputs = [
libmpdclient
openssl
lua5_3
libid3tag
flac
- pcre
+ pcre2
];
cmakeFlags = [
@@ -43,7 +53,7 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "strictoverflow" ];
meta = {
- homepage = "https://jcorporation.github.io/mympd";
+ homepage = "https://jcorporation.github.io/myMPD";
description = "A standalone and mobile friendly web mpd client with a tiny footprint and advanced features";
maintainers = [ lib.maintainers.doronbehar ];
platforms = lib.platforms.linux;
diff --git a/pkgs/applications/audio/praat/default.nix b/pkgs/applications/audio/praat/default.nix
index 8c63212dc2a7..b178d88d7a6b 100644
--- a/pkgs/applications/audio/praat/default.nix
+++ b/pkgs/applications/audio/praat/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "praat";
- version = "6.2.10";
+ version = "6.2.16";
src = fetchFromGitHub {
owner = "praat";
repo = "praat";
rev = "v${version}";
- sha256 = "sha256-IYbPMjKWDQQrF+JiqBQ2wsjY+Ms93tEdsG75CxipwaI=";
+ sha256 = "sha256-k6wFTwXMXpLb+nddJ6fOfhzCOrcbQR7Pot8rmrx2gYs=";
};
configurePhase = ''
diff --git a/pkgs/applications/audio/songrec/default.nix b/pkgs/applications/audio/songrec/default.nix
index 03cfae066b2c..30e6ba9b2fa7 100644
--- a/pkgs/applications/audio/songrec/default.nix
+++ b/pkgs/applications/audio/songrec/default.nix
@@ -11,16 +11,16 @@
rustPlatform.buildRustPackage rec {
pname = "songrec";
- version = "0.3.0";
+ version = "0.3.2";
src = fetchFromGitHub {
owner = "marin-m";
repo = pname;
rev = version;
- sha256 = "sha256-aHZH3sQNUUPcMRySy8Di0XUoFo4qjGi2pi0phLwORaA=";
+ sha256 = "sha256-cUiy8ApeUv1K8SEH4APMTvbieGTt4kZYhyB9iGJd/IY=";
};
- cargoSha256 = "sha256-EpkB43rMUJO6ouUV9TmQ+RSnGhX32DZHpKic1E6lUyU=";
+ cargoSha256 = "sha256-Tlq4qDp56PXP4N1UyHjtQoRgDrc/19vIv8uml/lAqqc=";
nativeBuildInputs = [ pkg-config ];
diff --git a/pkgs/applications/editors/eclipse/build-eclipse.nix b/pkgs/applications/editors/eclipse/build-eclipse.nix
index 19a2e378f30a..d2a0080859da 100644
--- a/pkgs/applications/editors/eclipse/build-eclipse.nix
+++ b/pkgs/applications/editors/eclipse/build-eclipse.nix
@@ -17,9 +17,10 @@ stdenv.mkDerivation rec {
categories = [ "Development" ];
};
+ nativeBuildInputs = [ makeWrapper ];
buildInputs = [
fontconfig freetype glib gsettings-desktop-schemas gtk jdk libX11
- libXrender libXtst libsecret makeWrapper zlib
+ libXrender libXtst libsecret zlib
] ++ lib.optional (webkitgtk != null) webkitgtk;
buildCommand = ''
diff --git a/pkgs/applications/editors/emacs/site-start.el b/pkgs/applications/editors/emacs/site-start.el
index 3f9ec25d99f0..acc6833b98c9 100644
--- a/pkgs/applications/editors/emacs/site-start.el
+++ b/pkgs/applications/editors/emacs/site-start.el
@@ -5,22 +5,14 @@ The list is ordered from more-specific (the user profile) to the
least specific (the system profile)"
(reverse (split-string (or (getenv "NIX_PROFILES") ""))))
-;;; Extend `load-path' to search for elisp files in subdirectories of
-;;; all folders in `NIX_PROFILES'. Also search for one level of
-;;; subdirectories in these directories to handle multi-file libraries
-;;; like `mu4e'.'
-(require 'seq)
-(let* ((subdirectory-sites (lambda (site-lisp)
- (when (file-exists-p site-lisp)
- (seq-filter (lambda (f) (file-directory-p (file-truename f)))
- ;; Returns all files in `site-lisp', excluding `.' and `..'
- (directory-files site-lisp 'full "^\\([^.]\\|\\.[^.]\\|\\.\\..\\)")))))
- (paths (apply #'append
- (mapcar (lambda (profile-dir)
- (let ((site-lisp (concat profile-dir "/share/emacs/site-lisp/")))
- (cons site-lisp (funcall subdirectory-sites site-lisp))))
- (nix--profile-paths)))))
- (setq load-path (append paths load-path)))
+;;; Extend `load-path' to search for elisp files in subdirectories of all folders in `NIX_PROFILES'.
+;;; Non-Nix distros have similar logic in /usr/share/emacs/site-lisp/subdirs.el.
+;;; See https://www.gnu.org/software/emacs/manual/html_node/elisp/Library-Search.html
+(dolist (profile (nix--profile-paths))
+ (let ((default-directory (expand-file-name "share/emacs/site-lisp/" profile)))
+ (when (file-exists-p default-directory)
+ (setq load-path (cons default-directory load-path))
+ (normal-top-level-add-subdirs-to-load-path))))
;;; Remove wrapper site-lisp from EMACSLOADPATH so it's not propagated
;;; to any other Emacsen that might be started as subprocesses.
diff --git a/pkgs/applications/editors/jupyter-kernels/octave/default.nix b/pkgs/applications/editors/jupyter-kernels/octave/default.nix
index 7a1c997a7c53..8a6dc4e00730 100644
--- a/pkgs/applications/editors/jupyter-kernels/octave/default.nix
+++ b/pkgs/applications/editors/jupyter-kernels/octave/default.nix
@@ -22,7 +22,7 @@ rec {
launcher = runCommand "octave-kernel-launcher" {
inherit octave;
python = python3.withPackages (ps: [ ps.traitlets ps.jupyter_core ps.ipykernel ps.metakernel kernel ]);
- buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
} ''
mkdir -p $out/bin
diff --git a/pkgs/applications/editors/kibi/default.nix b/pkgs/applications/editors/kibi/default.nix
index 2020729d81c5..3d1f01f4b021 100644
--- a/pkgs/applications/editors/kibi/default.nix
+++ b/pkgs/applications/editors/kibi/default.nix
@@ -1,6 +1,7 @@
{ lib
, fetchFromGitHub
, rustPlatform
+, makeWrapper
}:
rustPlatform.buildRustPackage rec {
@@ -16,6 +17,13 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-ox1qKWxJlUIFzEqeyzG2kqZix3AHnOKFrlpf6O5QM+k=";
};
+ nativeBuildInputs = [ makeWrapper ];
+
+ postInstall = ''
+ install -Dm644 syntax.d/* -t $out/share/kibi/syntax.d
+ wrapProgram $out/bin/kibi --prefix XDG_DATA_DIRS : "$out/share"
+ '';
+
meta = with lib; {
description = "A text editor in ≤1024 lines of code, written in Rust";
homepage = "https://github.com/ilai-deutel/kibi";
diff --git a/pkgs/applications/editors/pinegrow/default.nix b/pkgs/applications/editors/pinegrow/default.nix
index eca556fa86a8..e94fb02fcd99 100644
--- a/pkgs/applications/editors/pinegrow/default.nix
+++ b/pkgs/applications/editors/pinegrow/default.nix
@@ -16,11 +16,11 @@ stdenv.mkDerivation rec {
pname = "pinegrow";
# deactivate auto update, because an old 6.21 version is getting mixed up
# see e.g. https://github.com/NixOS/nixpkgs/pull/184460
- version = "6.6"; # nixpkgs-update: no auto update
+ version = "6.8"; # nixpkgs-update: no auto update
src = fetchurl {
url = "https://download.pinegrow.com/PinegrowLinux64.${version}.zip";
- sha256 = "sha256-a3SwUNcMXl42+Gy3wjcx/KvVprgFAO0D0lFPohPV3Tk=";
+ sha256 = "sha256-gqRmu0VR8Aj57UwYYLKICd4FnYZMhM6pTTSGIY5MLMk=";
};
nativeBuildInputs = [
@@ -58,16 +58,16 @@ stdenv.mkDerivation rec {
# folder and symlinked.
unzip -q $src -d $out/opt/pinegrow
substituteInPlace $out/opt/pinegrow/Pinegrow.desktop \
- --replace 'Exec=sh -c "$(dirname %k)/PinegrowLibrary"' 'Exec=sh -c "$out/bin/Pinegrow"'
- mv $out/opt/pinegrow/Pinegrow.desktop $out/share/applications/Pinegrow.desktop
- ln -s $out/opt/pinegrow/PinegrowLibrary $out/bin/Pinegrow
+ --replace 'Exec=sh -c "$(dirname %k)/PinegrowLibrary"' 'Exec=sh -c "$out/bin/pinegrow"'
+ mv $out/opt/pinegrow/Pinegrow.desktop $out/share/applications/pinegrow.desktop
+ ln -s $out/opt/pinegrow/PinegrowLibrary $out/bin/pinegrow
runHook postInstall
'';
# GSETTINGS_SCHEMAS_PATH is not set in installPhase
preFixup = ''
- wrapProgram $out/bin/Pinegrow \
+ wrapProgram $out/bin/pinegrow \
''${makeWrapperArgs[@]} \
''${gappsWrapperArgs[@]}
'';
diff --git a/pkgs/applications/editors/vim/plugins/vim-utils.nix b/pkgs/applications/editors/vim/plugins/vim-utils.nix
index d11d638f4a02..c80dcb80949a 100644
--- a/pkgs/applications/editors/vim/plugins/vim-utils.nix
+++ b/pkgs/applications/editors/vim/plugins/vim-utils.nix
@@ -338,7 +338,7 @@ rec {
if vimrcFile != null then vimrcFile
else if vimrcConfig != null then mkVimrcFile vimrcConfig
else throw "at least one of vimrcConfig and vimrcFile must be specified";
- bin = runCommand "${name}-bin" { buildInputs = [ makeWrapper ]; } ''
+ bin = runCommand "${name}-bin" { nativeBuildInputs = [ makeWrapper ]; } ''
vimrc=${lib.escapeShellArg vimrc}
gvimrc=${if gvimrcFile != null then lib.escapeShellArg gvimrcFile else ""}
diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix
index ceafe84ef1e4..362e325b81a7 100644
--- a/pkgs/applications/editors/vscode/extensions/default.nix
+++ b/pkgs/applications/editors/vscode/extensions/default.nix
@@ -979,6 +979,23 @@ let
};
};
+ firefox-devtools.vscode-firefox-debug = buildVscodeMarketplaceExtension {
+ mktplcRef = {
+ name = "vscode-firefox-debug";
+ publisher = "firefox-devtools";
+ version = "2.9.8";
+ sha256 = "sha256-MCL562FPgEfhUM1KH5LMl7BblbjIkQ4UEwB67RlO5Mk=";
+ };
+ meta = with lib; {
+ changelog = "https://marketplace.visualstudio.com/items/firefox-devtools.vscode-firefox-debug/changelog";
+ description = "A Visual Studio Code extension for debugging web applications and browser extensions in Firefox";
+ downloadPage = "https://marketplace.visualstudio.com/items?itemName=firefox-devtools.vscode-firefox-debug";
+ homepage = "https://github.com/firefox-devtools/vscode-firefox-debug";
+ license = licenses.mit;
+ maintainers = with maintainers; [ felschr ];
+ };
+ };
+
foam.foam-vscode = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "foam-vscode";
diff --git a/pkgs/applications/emulators/cdemu/analyzer.nix b/pkgs/applications/emulators/cdemu/analyzer.nix
index 338c64a24b81..5b111b80285a 100644
--- a/pkgs/applications/emulators/cdemu/analyzer.nix
+++ b/pkgs/applications/emulators/cdemu/analyzer.nix
@@ -6,11 +6,10 @@ let pkg = import ./base.nix {
pkgSha256 = "00906lky0z1m0bdqnjmzxgcb19dzvljhddhh42lixyr53sjp94cc";
};
in callPackage pkg {
- buildInputs = [ glib gtk3 libxml2 gnuplot libmirage makeWrapper
- gnome.adwaita-icon-theme gdk-pixbuf librsvg intltool
+ buildInputs = [ glib gtk3 libxml2 gnuplot libmirage gnome.adwaita-icon-theme gdk-pixbuf librsvg
python3Packages.python python3Packages.pygobject3 python3Packages.matplotlib ];
drvParams = {
- nativeBuildInputs = [ gobject-introspection cmake ];
+ nativeBuildInputs = [ gobject-introspection cmake makeWrapper intltool ];
postFixup = ''
wrapProgram $out/bin/image-analyzer \
--set PYTHONPATH "$PYTHONPATH" \
diff --git a/pkgs/applications/emulators/cdemu/base.nix b/pkgs/applications/emulators/cdemu/base.nix
index 9464bde70bf7..994a0f0e03da 100644
--- a/pkgs/applications/emulators/cdemu/base.nix
+++ b/pkgs/applications/emulators/cdemu/base.nix
@@ -1,12 +1,12 @@
{ pname, version, pkgSha256 }:
-{ lib, stdenv, fetchurl, cmake, pkg-config, buildInputs, drvParams ? {} }:
+attrs@{ lib, stdenv, fetchurl, cmake, pkg-config, buildInputs, drvParams ? {}, ... }:
stdenv.mkDerivation ( rec {
inherit pname version buildInputs;
src = fetchurl {
url = "mirror://sourceforge/cdemu/${pname}-${version}.tar.xz";
sha256 = pkgSha256;
};
- nativeBuildInputs = [ pkg-config cmake ];
+ nativeBuildInputs = (attrs.nativeBuildInputs or [ ]) ++ [ pkg-config cmake ];
setSourceRoot = ''
mkdir build
cd build
diff --git a/pkgs/applications/emulators/cdemu/client.nix b/pkgs/applications/emulators/cdemu/client.nix
index 06604e3eae99..2e301a115c9a 100644
--- a/pkgs/applications/emulators/cdemu/client.nix
+++ b/pkgs/applications/emulators/cdemu/client.nix
@@ -5,8 +5,8 @@ let pkg = import ./base.nix {
pkgSha256 = "1prrdhv0ia0axc6b73crszqzh802wlkihz6d100yvg7wbgmqabd7";
};
in callPackage pkg {
- buildInputs = [ python3Packages.python python3Packages.dbus-python python3Packages.pygobject3
- intltool makeWrapper ];
+ nativeBuildInputs = [ makeWrapper intltool ];
+ buildInputs = [ python3Packages.python python3Packages.dbus-python python3Packages.pygobject3 ];
drvParams = {
postFixup = ''
wrapProgram $out/bin/cdemu \
diff --git a/pkgs/applications/emulators/cdemu/daemon.nix b/pkgs/applications/emulators/cdemu/daemon.nix
index 3df9e4ad5437..5d376955ea66 100644
--- a/pkgs/applications/emulators/cdemu/daemon.nix
+++ b/pkgs/applications/emulators/cdemu/daemon.nix
@@ -5,5 +5,6 @@ let pkg = import ./base.nix {
pkgSha256 = "16g6fv1lxkdmbsy6zh5sj54dvgwvm900fd18aq609yg8jnqm644d";
};
in callPackage pkg {
- buildInputs = [ glib libao libmirage intltool ];
+ nativeBuildInputs = [ intltool ];
+ buildInputs = [ glib libao libmirage ];
}
diff --git a/pkgs/applications/emulators/cdemu/gui.nix b/pkgs/applications/emulators/cdemu/gui.nix
index 15e595a61729..3083e1960b5d 100644
--- a/pkgs/applications/emulators/cdemu/gui.nix
+++ b/pkgs/applications/emulators/cdemu/gui.nix
@@ -8,10 +8,9 @@ let
};
inherit (python3Packages) python pygobject3;
in callPackage pkg {
- buildInputs = [ python pygobject3 gtk3 glib libnotify intltool makeWrapper
- gnome.adwaita-icon-theme gdk-pixbuf librsvg ];
+ buildInputs = [ python pygobject3 gtk3 glib libnotify gnome.adwaita-icon-theme gdk-pixbuf librsvg ];
drvParams = {
- nativeBuildInputs = [ gobject-introspection cmake ];
+ nativeBuildInputs = [ gobject-introspection cmake makeWrapper intltool ];
postFixup = ''
wrapProgram $out/bin/gcdemu \
--set PYTHONPATH "$PYTHONPATH" \
diff --git a/pkgs/applications/emulators/cdemu/libmirage.nix b/pkgs/applications/emulators/cdemu/libmirage.nix
index 7016a42d247b..b631d3669dc9 100644
--- a/pkgs/applications/emulators/cdemu/libmirage.nix
+++ b/pkgs/applications/emulators/cdemu/libmirage.nix
@@ -8,11 +8,11 @@ let pkg = import ./base.nix {
pkgSha256 = "0f8i2ha44rykkk3ac2q8zsw3y1zckw6qnf6zvkyrj3qqbzhrf3fm";
};
in callPackage pkg {
- buildInputs = [ glib libsndfile zlib bzip2 xz libsamplerate intltool ];
+ buildInputs = [ glib libsndfile zlib bzip2 xz libsamplerate ];
drvParams = {
PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR = "${placeholder "out"}/share/gir-1.0";
PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_TYPELIBDIR = "${placeholder "out"}/lib/girepository-1.0";
- nativeBuildInputs = [ cmake gobject-introspection pkg-config ];
+ nativeBuildInputs = [ cmake gobject-introspection pkg-config intltool ];
propagatedBuildInputs = [ pcre util-linux libselinux libsepol ];
};
}
diff --git a/pkgs/applications/emulators/sameboy/default.nix b/pkgs/applications/emulators/sameboy/default.nix
index 6838a7baaf2a..d1fd26bfeaf9 100644
--- a/pkgs/applications/emulators/sameboy/default.nix
+++ b/pkgs/applications/emulators/sameboy/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "sameboy";
- version = "0.14.7";
+ version = "0.15.4";
src = fetchFromGitHub {
owner = "LIJI32";
repo = "SameBoy";
rev = "v${version}";
- sha256 = "sha256-rvcR1mp+lJ6ZFc9WYUK9FBVcG2vD5MoX6lY+AJsMaeQ=";
+ sha256 = "sha256-YLWo6Em/NdU60Dtu4ePANSKLixozxpxVwD3dJcAOs3g=";
};
enableParallelBuilding = true;
diff --git a/pkgs/applications/gis/grass/default.nix b/pkgs/applications/gis/grass/default.nix
index 8ec293e489a7..8cc7caee6743 100644
--- a/pkgs/applications/gis/grass/default.nix
+++ b/pkgs/applications/gis/grass/default.nix
@@ -15,9 +15,9 @@ stdenv.mkDerivation rec {
sha256 = "sha256-VK9FCqIwHGmeJe5lk12lpAGcsC1aPRBiI+XjACXjDd4=";
};
- nativeBuildInputs = [ pkg-config ];
+ nativeBuildInputs = [ pkg-config makeWrapper ];
buildInputs = [ flex bison zlib proj gdal libtiff libpng fftw sqlite
- readline ffmpeg makeWrapper netcdf geos postgresql libmysqlclient blas
+ readline ffmpeg netcdf geos postgresql libmysqlclient blas
libLAS proj-datumgrid zstd wrapGAppsHook ]
++ lib.optionals stdenv.isLinux [ cairo pdal wxGTK31 ]
++ lib.optional stdenv.isDarwin wxmac
diff --git a/pkgs/applications/graphics/image_optim/default.nix b/pkgs/applications/graphics/image_optim/default.nix
index fd7ff0216242..a7ae37dbc0c4 100644
--- a/pkgs/applications/graphics/image_optim/default.nix
+++ b/pkgs/applications/graphics/image_optim/default.nix
@@ -35,7 +35,7 @@ bundlerApp {
exes = [ "image_optim" ];
- buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram $out/bin/image_optim \
diff --git a/pkgs/applications/graphics/timelapse-deflicker/default.nix b/pkgs/applications/graphics/timelapse-deflicker/default.nix
index c752d7e3f718..f1757d51b1b3 100644
--- a/pkgs/applications/graphics/timelapse-deflicker/default.nix
+++ b/pkgs/applications/graphics/timelapse-deflicker/default.nix
@@ -16,8 +16,9 @@ stdenv.mkDerivation rec {
wrapProgram $out/bin/timelapse-deflicker --set PERL5LIB $PERL5LIB
'';
+ nativeBuildInputs = [ makeWrapper ];
buildInputs = with perlPackages; [
- makeWrapper perl
+ perl
ImageMagick TermProgressBar ImageExifTool
FileType ClassMethodMaker
];
diff --git a/pkgs/applications/misc/eaglemode/default.nix b/pkgs/applications/misc/eaglemode/default.nix
index 65a74c4aca48..285c5270948d 100644
--- a/pkgs/applications/misc/eaglemode/default.nix
+++ b/pkgs/applications/misc/eaglemode/default.nix
@@ -10,9 +10,9 @@ stdenv.mkDerivation rec {
sha256 = "10zxih7gmyhq0az1mnsw2x563l4bbwcns794s4png8rf4d6hjszm";
};
- nativeBuildInputs = [ pkg-config ];
+ nativeBuildInputs = [ pkg-config makeWrapper ];
buildInputs = [ perl libX11 libXinerama libjpeg libpng libtiff
- librsvg glib gtk2 libXxf86vm libXext poppler xine-lib ghostscript makeWrapper ];
+ librsvg glib gtk2 libXxf86vm libXext poppler xine-lib ghostscript ];
# The program tries to dlopen Xxf86vm, Xext and Xinerama, so we use the
# trick on NIX_LDFLAGS and dontPatchELF to make it find them.
diff --git a/pkgs/applications/misc/gollum/default.nix b/pkgs/applications/misc/gollum/default.nix
index ebd8f0a175a8..3f77b890455b 100644
--- a/pkgs/applications/misc/gollum/default.nix
+++ b/pkgs/applications/misc/gollum/default.nix
@@ -7,7 +7,7 @@ bundlerApp rec {
inherit ruby;
gemdir = ./.;
- buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
passthru.updateScript = bundlerUpdateScript "gollum";
diff --git a/pkgs/applications/misc/hubstaff/default.nix b/pkgs/applications/misc/hubstaff/default.nix
index 390f756beb10..a446c37aeacb 100644
--- a/pkgs/applications/misc/hubstaff/default.nix
+++ b/pkgs/applications/misc/hubstaff/default.nix
@@ -4,9 +4,9 @@
, curl, writeShellScript, common-updater-scripts }:
let
- url = "https://hubstaff-production.s3.amazonaws.com/downloads/HubstaffClient/Builds/Release/1.6.5-31be26f1/Hubstaff-1.6.5-31be26f1.sh";
- version = "1.6.5-31be26f1";
- sha256 = "1z1binnqppyxavmjg0l1cvy64ylzy2v454sws2x1am2qhhbnycjm";
+ url = "https://hubstaff-production.s3.amazonaws.com/downloads/HubstaffClient/Builds/Release/1.6.6-61e2338c/Hubstaff-1.6.6-61e2338c.sh";
+ version = "1.6.6-61e2338c";
+ sha256 = "0i5wxwnrgabirk1x9aii7m428dkr745sfm1lcql4yhlqx4mw6qn1";
rpath = lib.makeLibraryPath
[ libX11 zlib libSM libICE libXext freetype libXrender fontconfig libXft
diff --git a/pkgs/applications/misc/ikiwiki/default.nix b/pkgs/applications/misc/ikiwiki/default.nix
index af7e9888c17c..09f9b85e4b71 100644
--- a/pkgs/applications/misc/ikiwiki/default.nix
+++ b/pkgs/applications/misc/ikiwiki/default.nix
@@ -18,9 +18,10 @@ stdenv.mkDerivation rec {
sha256 = "0skrc8r4wh4mjfgw1c94awr5sacfb9nfsbm4frikanc9xsy16ksr";
};
+ nativeBuildInputs = [ makeWrapper ];
buildInputs = [ which highlight ]
++ (with perlPackages; [ perl TextMarkdown URI HTMLParser HTMLScrubber HTMLTemplate
- TimeDate gettext makeWrapper DBFile CGISession CGIFormBuilder LocaleGettext
+ TimeDate gettext DBFile CGISession CGIFormBuilder LocaleGettext
RpcXML XMLSimple ImageMagick YAML YAMLLibYAML HTMLTree AuthenPassphrase
NetOpenIDConsumer LWPxParanoidAgent CryptSSLeay ])
++ lib.optionals docutilsSupport [
diff --git a/pkgs/applications/misc/inherd-quake/default.nix b/pkgs/applications/misc/inherd-quake/default.nix
index 0fd6e72a57ec..68ca556aac63 100644
--- a/pkgs/applications/misc/inherd-quake/default.nix
+++ b/pkgs/applications/misc/inherd-quake/default.nix
@@ -10,16 +10,16 @@
rustPlatform.buildRustPackage rec {
pname = "inherd-quake";
- version = "0.5.0";
+ version = "0.5.1";
src = fetchFromGitHub {
owner = "phodal";
repo = "quake";
rev = "v${version}";
- sha256 = "sha256-OkgrkjO6IS6P2ZyFFbOprROPzDfQcHYCwaTKFsjjVo8=";
+ sha256 = "sha256-HKAR4LJm0lrQgTOCqtYIRFbO3qHtPbr4Fpx2ek1oJ4Q=";
};
- cargoSha256 = "sha256-EMRaChFwjMYZKSX5OvXYLSiwWo1m1H/tHVqc8RXX52A=";
+ cargoSha256 = "sha256-svvtZyfN91OT3yqxH6TgFhGYg9drpXsts4p2WqSHG8w=";
nativeBuildInputs = [ pkg-config ];
diff --git a/pkgs/applications/misc/jekyll/default.nix b/pkgs/applications/misc/jekyll/default.nix
index 8c25e3774b14..7ea488659f26 100644
--- a/pkgs/applications/misc/jekyll/default.nix
+++ b/pkgs/applications/misc/jekyll/default.nix
@@ -30,7 +30,7 @@ in bundlerApp {
then ./full
else ./basic;
- buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram $out/bin/jekyll --prefix PATH : ${rubyWrapper}/bin
diff --git a/pkgs/applications/misc/lyx/default.nix b/pkgs/applications/misc/lyx/default.nix
index e736c235c457..d1a19eeccc5e 100644
--- a/pkgs/applications/misc/lyx/default.nix
+++ b/pkgs/applications/misc/lyx/default.nix
@@ -12,10 +12,10 @@ mkDerivation rec {
};
# LaTeX is used from $PATH, as people often want to have it with extra pkgs
- nativeBuildInputs = [ pkg-config ];
+ nativeBuildInputs = [ pkg-config makeWrapper ];
buildInputs = [
qtbase qtsvg python3 file/*for libmagic*/ bc
- hunspell makeWrapper # enchant
+ hunspell # enchant
];
configureFlags = [
diff --git a/pkgs/applications/misc/notify-osd-customizable/default.nix b/pkgs/applications/misc/notify-osd-customizable/default.nix
index 820eceabb511..17377c6dae55 100644
--- a/pkgs/applications/misc/notify-osd-customizable/default.nix
+++ b/pkgs/applications/misc/notify-osd-customizable/default.nix
@@ -24,11 +24,10 @@ in stdenv.mkDerivation rec {
preConfigure = "./autogen.sh --libexecdir=$(out)/bin";
- nativeBuildInputs = [ pkg-config ];
+ nativeBuildInputs = [ pkg-config makeWrapper libtool ];
buildInputs = [
- glib libwnck libnotify dbus-glib makeWrapper
+ glib libwnck libnotify dbus-glib
gsettings-desktop-schemas gnome.gnome-common
- libtool
];
configureFlags = [ "--libexecdir=$(out)/bin" ];
diff --git a/pkgs/applications/misc/notify-osd/default.nix b/pkgs/applications/misc/notify-osd/default.nix
index 005d0273466c..9c0c5a3921ef 100644
--- a/pkgs/applications/misc/notify-osd/default.nix
+++ b/pkgs/applications/misc/notify-osd/default.nix
@@ -9,9 +9,9 @@ stdenv.mkDerivation rec {
sha256 = "0g5a7a680b05x27apz0y1ldl5csxpp152wqi42s107jymbp0s20j";
};
- nativeBuildInputs = [ pkg-config ];
+ nativeBuildInputs = [ pkg-config makeWrapper ];
buildInputs = [
- glib libwnck libnotify dbus-glib makeWrapper
+ glib libwnck libnotify dbus-glib
gsettings-desktop-schemas
];
diff --git a/pkgs/applications/misc/rofi-emoji/default.nix b/pkgs/applications/misc/rofi-emoji/default.nix
index 6f858c8c6a9d..7797b6dccac0 100644
--- a/pkgs/applications/misc/rofi-emoji/default.nix
+++ b/pkgs/applications/misc/rofi-emoji/default.nix
@@ -46,13 +46,13 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
autoreconfHook
pkg-config
+ makeWrapper
];
buildInputs = [
cairo
glib
libnotify
- makeWrapper
rofi-unwrapped
wl-clipboard
xclip
diff --git a/pkgs/applications/misc/slic3r/default.nix b/pkgs/applications/misc/slic3r/default.nix
index 8d929e0eef58..f973cf591593 100644
--- a/pkgs/applications/misc/slic3r/default.nix
+++ b/pkgs/applications/misc/slic3r/default.nix
@@ -13,9 +13,10 @@ stdenv.mkDerivation rec {
sha256 = "sha256-cf0QTOzhLyTcbJryCQoTVzU8kfrPV6SLpqi4s36X5N0=";
};
+ nativeBuildInputs = [ makeWrapper which ];
buildInputs =
[boost] ++
- (with perlPackages; [ perl makeWrapper which
+ (with perlPackages; [ perl
EncodeLocale MathClipper ExtUtilsXSpp
MathConvexHullMonotoneChain MathGeometryVoronoi MathPlanePath Moo
IOStringy ClassXSAccessor Wx GrowlGNTP NetDBus ImportInto XMLSAX
diff --git a/pkgs/applications/misc/tabula-java/default.nix b/pkgs/applications/misc/tabula-java/default.nix
index 0b0163b054d7..ebd266e66698 100644
--- a/pkgs/applications/misc/tabula-java/default.nix
+++ b/pkgs/applications/misc/tabula-java/default.nix
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-IWHj//ZZOdfOCBJHnPnKNoYNtWl/f8H6ARYe1AkqB0U=";
};
- buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
dontUnpack = true;
dontBuild = true;
diff --git a/pkgs/applications/networking/browsers/offpunk/default.nix b/pkgs/applications/networking/browsers/offpunk/default.nix
index 8f6d2712caaf..cb11708fbee0 100644
--- a/pkgs/applications/networking/browsers/offpunk/default.nix
+++ b/pkgs/applications/networking/browsers/offpunk/default.nix
@@ -41,7 +41,8 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "1zg13wajsfrl3hli6sihn47db08w037jjq9vgr6m5sjh8r1jb9iy";
};
- buildInputs = [ makeWrapper ] ++ otherDependencies ++ pythonDependencies;
+ nativeBuildInputs = [ makeWrapper ];
+ buildInputs = otherDependencies ++ pythonDependencies;
installPhase = ''
runHook preInstall
diff --git a/pkgs/applications/networking/cluster/glooctl/default.nix b/pkgs/applications/networking/cluster/glooctl/default.nix
index 5db28a0ac859..fced7bcd87af 100644
--- a/pkgs/applications/networking/cluster/glooctl/default.nix
+++ b/pkgs/applications/networking/cluster/glooctl/default.nix
@@ -2,13 +2,13 @@
buildGoModule rec {
pname = "glooctl";
- version = "1.12.7";
+ version = "1.12.9";
src = fetchFromGitHub {
owner = "solo-io";
repo = "gloo";
rev = "v${version}";
- hash = "sha256-GFexXy/vH8rbtoxGo0Sy6cO+FxLTGaO67BkBPgaHuws=";
+ hash = "sha256-FSZTonoMojBsp+6K4gID2X92wcOE009hTPNqONxRbps=";
};
subPackages = [ "projects/gloo/cli/cmd" ];
diff --git a/pkgs/applications/networking/cluster/linkerd/default.nix b/pkgs/applications/networking/cluster/linkerd/default.nix
index fed35f12bedc..83d75d7d189a 100644
--- a/pkgs/applications/networking/cluster/linkerd/default.nix
+++ b/pkgs/applications/networking/cluster/linkerd/default.nix
@@ -2,7 +2,7 @@
(callPackage ./generic.nix { }) {
channel = "stable";
- version = "2.11.2";
- sha256 = "sha256-6FlOHnOmqZ2jqx9qFMPA5jkxBaNqzeCwsepwXR1Imss=";
- vendorSha256 = "sha256-wM5qIjabg9ICJcLi8QV9P4G4E7Rn3ctVCqdm2GO8RyU=";
+ version = "2.12.0";
+ sha256 = "0p8k5c0gzpmqp7qrhfcjrhbgwd2mzsn2qpsv7ym0ywjkvrkg3355";
+ vendorSha256 = "sha256-qjXpzS1ctEQfXFjzyBUiIp6+oqABedpwHqDxQz0DJ8U=";
}
diff --git a/pkgs/applications/networking/cluster/linkerd/edge.nix b/pkgs/applications/networking/cluster/linkerd/edge.nix
index 4d3c30e33375..1ad1a56896b8 100644
--- a/pkgs/applications/networking/cluster/linkerd/edge.nix
+++ b/pkgs/applications/networking/cluster/linkerd/edge.nix
@@ -2,7 +2,7 @@
(callPackage ./generic.nix { }) {
channel = "edge";
- version = "22.6.1";
- sha256 = "sha256-YM6d2bWcjoNMEbgXVR79tcklTRqAhzm6SzJU2k+7BNU=";
- vendorSha256 = "sha256-i+AbrzN9d9CGZcGj/D4xnYlamp0iOlq2xcax14/GqEE=";
+ version = "22.8.2";
+ sha256 = "114lfq5d5b09zg14iwnmaf0vmm183xr37q7b4bj3m8zbzhpbk7xx";
+ vendorSha256 = "sha256-hKdokt5QW50oc2z8UFMq78DRWpwPlL5tSf2F0rQNEQ8=";
}
diff --git a/pkgs/applications/networking/cluster/linkerd/generic.nix b/pkgs/applications/networking/cluster/linkerd/generic.nix
index 7722a7109c21..80150b45d866 100644
--- a/pkgs/applications/networking/cluster/linkerd/generic.nix
+++ b/pkgs/applications/networking/cluster/linkerd/generic.nix
@@ -53,6 +53,6 @@ buildGoModule rec {
downloadPage = "https://github.com/linkerd/linkerd2/";
homepage = "https://linkerd.io/";
license = licenses.asl20;
- maintainers = with maintainers; [ Gonzih bryanasdev000 ];
+ maintainers = with maintainers; [ bryanasdev000 Gonzih superherointj ];
};
}
diff --git a/pkgs/applications/networking/cluster/linkerd/update-edge.sh b/pkgs/applications/networking/cluster/linkerd/update-edge.sh
index 937d41a79423..0e5be4f197e1 100755
--- a/pkgs/applications/networking/cluster/linkerd/update-edge.sh
+++ b/pkgs/applications/networking/cluster/linkerd/update-edge.sh
@@ -7,7 +7,7 @@ cd $(dirname "$0")
VERSION=$(curl ${GITHUB_TOKEN:+" -u \":$GITHUB_TOKEN\""} \
--silent https://api.github.com/repos/linkerd/linkerd2/releases | \
- jq 'map(.tag_name)' | grep edge | sed 's/["|,| ]//g' | sed 's/edge-//' | sort -V -r | head -n1)
+ jq 'map(.tag_name)' | grep -v -e '-rc' | grep edge | sed 's/["|,| ]//g' | sed 's/edge-//' | sort -V -r | head -n1)
SHA256=$(nix-prefetch-url --quiet --unpack https://github.com/linkerd/linkerd2/archive/refs/tags/edge-${VERSION}.tar.gz)
diff --git a/pkgs/applications/networking/cluster/linkerd/update-stable.sh b/pkgs/applications/networking/cluster/linkerd/update-stable.sh
index 5ec96af796c0..19aa4274bed3 100755
--- a/pkgs/applications/networking/cluster/linkerd/update-stable.sh
+++ b/pkgs/applications/networking/cluster/linkerd/update-stable.sh
@@ -7,7 +7,7 @@ cd $(dirname "$0")
VERSION=$(curl ${GITHUB_TOKEN:+" -u \":$GITHUB_TOKEN\""} \
--silent https://api.github.com/repos/linkerd/linkerd2/releases | \
- jq 'map(.tag_name)' | grep stable | sed 's/["|,| ]//g' | sed 's/stable-//' | sort -V -r | head -n1)
+ jq 'map(.tag_name)' | grep -v -e '-rc' | grep stable | sed 's/["|,| ]//g' | sed 's/stable-//' | sort -V -r | head -n1)
SHA256=$(nix-prefetch-url --quiet --unpack https://github.com/linkerd/linkerd2/archive/refs/tags/stable-${VERSION}.tar.gz)
diff --git a/pkgs/applications/networking/cluster/pluto/default.nix b/pkgs/applications/networking/cluster/pluto/default.nix
index 4297ec62376d..b90660199e28 100644
--- a/pkgs/applications/networking/cluster/pluto/default.nix
+++ b/pkgs/applications/networking/cluster/pluto/default.nix
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "pluto";
- version = "5.7.0";
+ version = "5.10.5";
src = fetchFromGitHub {
owner = "FairwindsOps";
repo = "pluto";
rev = "v${version}";
- sha256 = "sha256-/H8/wpDqlo96qb6QBIxpIGMv6VtK/nn/GwozIJjZyNY=";
+ sha256 = "sha256-Pdw8xPpH9PjLDbno8u3IWI7ygO18j2P3puE55+Pmzec=";
};
- vendorSha256 = "sha256-jPVlHyKZ1ygF08OypXOMzHBfb2z5mhg5B8zJmAcQbLk=";
+ vendorSha256 = "sha256-hAnlKMDqrQG8vlmBLufJlq79rb1vo4PdVaJjBBSjnRM=";
ldflags = [
"-w" "-s"
diff --git a/pkgs/applications/networking/cluster/sonobuoy/default.nix b/pkgs/applications/networking/cluster/sonobuoy/default.nix
index 4b935027d2e2..fa6976d5a3f7 100644
--- a/pkgs/applications/networking/cluster/sonobuoy/default.nix
+++ b/pkgs/applications/networking/cluster/sonobuoy/default.nix
@@ -1,11 +1,11 @@
{ lib, buildGoModule, fetchFromGitHub }:
# SHA of ${version} for the tool's help output. Unfortunately this is needed in build flags.
-let rev = "51c79060fc1433233eb43842de564f0f2e47be86";
+let rev = "551bf68c694927839c3add25a2512f880902ee9b";
in
buildGoModule rec {
pname = "sonobuoy";
- version = "0.56.4"; # Do not forget to update `rev` above
+ version = "0.56.10"; # Do not forget to update `rev` above
ldflags =
let t = "github.com/vmware-tanzu/sonobuoy";
@@ -20,10 +20,10 @@ buildGoModule rec {
owner = "vmware-tanzu";
repo = "sonobuoy";
rev = "v${version}";
- sha256 = "sha256-6kHqfWDrZL3J5SrZ3JK50Z2Sw8mwM0zrfaKWo22g27A=";
+ sha256 = "sha256-Hykm8h0kJzTL6XbaBe3vtoghmP4LmvPfBhrTgCmNyRE=";
};
- vendorSha256 = "sha256-8n4a1PLUYDU46lVegQoOCmmRSR1XfnjgEGZ+R5f36Ic=";
+ vendorSha256 = "sha256-jBm3t/kvijAv5KOLhDJ1kGLdzpFJiBs/Vtu2mO2lnPM=";
subPackages = [ "." ];
diff --git a/pkgs/applications/networking/cluster/starboard/default.nix b/pkgs/applications/networking/cluster/starboard/default.nix
index 9dc32d67dff6..c39d2893f940 100644
--- a/pkgs/applications/networking/cluster/starboard/default.nix
+++ b/pkgs/applications/networking/cluster/starboard/default.nix
@@ -2,13 +2,13 @@
buildGoModule rec {
pname = "starboard";
- version = "0.15.4";
+ version = "0.15.8";
src = fetchFromGitHub {
owner = "aquasecurity";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-GhcHvKqYktBAPB443ZjJ3LYRJZorO7IH1OEnEQKUO0g=";
+ sha256 = "sha256-AgAcN1KtMW7yHi12Gg1M3hu7DQA7WdWtY3qf4K7c1YA=";
# populate values that require us to use git. By doing this in postFetch we
# can delete .git afterwards and maintain better reproducibility of the src.
leaveDotGit = true;
@@ -20,7 +20,7 @@ buildGoModule rec {
find "$out" -name .git -print0 | xargs -0 rm -rf
'';
};
- vendorSha256 = "sha256-ozbejIFR0mDgCgca+2yaPRiMMHLOEsC9u+kQUe69spc=";
+ vendorSha256 = "sha256-aQrKppIJOCTIDrKvtE6WTkQY8mfYzUh7mBKUd6z19E0=";
nativeBuildInputs = [ installShellFiles ];
diff --git a/pkgs/applications/networking/dnscontrol/default.nix b/pkgs/applications/networking/dnscontrol/default.nix
index a740153be81b..4493871a6ae7 100644
--- a/pkgs/applications/networking/dnscontrol/default.nix
+++ b/pkgs/applications/networking/dnscontrol/default.nix
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "dnscontrol";
- version = "3.19.0";
+ version = "3.20.0";
src = fetchFromGitHub {
owner = "StackExchange";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-bP9tksdP/hNjC4opACLYHad8jj137+WQfb3bM8A6tVQ=";
+ sha256 = "sha256-jBpapZIQGYC63SEc4kT6pEbNR3H1IQFM7P/wxMlrP8I=";
};
- vendorSha256 = "sha256-/lFH/4fQgK0LAqLIn39r+hi0pqNlJuupWlLhOhDh0TU=";
+ vendorSha256 = "sha256-iY4Q1P4Mir6idcv88Op5v0kQ7PkoOm85aCBb845xvGs=";
ldflags = [ "-s" "-w" ];
diff --git a/pkgs/applications/networking/instant-messengers/baresip/default.nix b/pkgs/applications/networking/instant-messengers/baresip/default.nix
index 95afcfae4f2b..79c929401185 100644
--- a/pkgs/applications/networking/instant-messengers/baresip/default.nix
+++ b/pkgs/applications/networking/instant-messengers/baresip/default.nix
@@ -24,13 +24,13 @@
, libvpx
}:
stdenv.mkDerivation rec {
- version = "1.1.0";
+ version = "2.6.0";
pname = "baresip";
src = fetchFromGitHub {
owner = "baresip";
repo = "baresip";
rev = "v${version}";
- sha256 = "sha256-9mc1Beo7/iNhDXSDC/jiTL+lJRt8ah/1xF1heoHTE+g=";
+ sha256 = "sha256-YcXLRhW7PyvK0R1+7DOjmtxg+Ajq9u7fvZFQO7DJapQ=";
};
postPatch = ''
patchShebangs modules/ctrl_dbus/gen.sh
diff --git a/pkgs/applications/networking/instant-messengers/feishu/default.nix b/pkgs/applications/networking/instant-messengers/feishu/default.nix
index 9a6cf2d03580..c332126c25f3 100644
--- a/pkgs/applications/networking/instant-messengers/feishu/default.nix
+++ b/pkgs/applications/networking/instant-messengers/feishu/default.nix
@@ -61,13 +61,13 @@
}:
stdenv.mkDerivation rec {
- version = "5.9.18";
+ version = "5.14.14";
pname = "feishu";
- packageHash = "5db94058d7ad"; # A hash value used in the download url
+ packageHash = "2844ab12b34f"; # A hash value used in the download url
src = fetchurl {
url = "https://sf3-cn.feishucdn.com/obj/ee-appcenter/${packageHash}/Feishu-linux_x64-${version}.deb";
- sha256 = "ffb29b5a184b025d4e4ea468a8f684a7067ab5bfd45867abc370e59be63892c7";
+ sha256 = "c0ca999edc10d8ada08c46b33b15d7db0ced264248abd3ebfdb895d8457e1bec";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/networking/instant-messengers/oysttyer/default.nix b/pkgs/applications/networking/instant-messengers/oysttyer/default.nix
index 33f3b90873d7..5dc09ae1f3ee 100644
--- a/pkgs/applications/networking/instant-messengers/oysttyer/default.nix
+++ b/pkgs/applications/networking/instant-messengers/oysttyer/default.nix
@@ -12,9 +12,9 @@ stdenv.mkDerivation rec {
sha256 = "0cm1hvi68iqgjsg15xdii271pklgzjn9j9afb1c460z71kgy3wz2";
};
+ nativeBuildInputs = [ makeWrapper ];
buildInputs = [
perl
- makeWrapper
];
propagatedBuildInputs = with perlPackages; [
diff --git a/pkgs/applications/networking/instant-messengers/pidgin/wrapper.nix b/pkgs/applications/networking/instant-messengers/pidgin/wrapper.nix
index d5641c24fb07..a2885d7194f4 100644
--- a/pkgs/applications/networking/instant-messengers/pidgin/wrapper.nix
+++ b/pkgs/applications/networking/instant-messengers/pidgin/wrapper.nix
@@ -7,7 +7,7 @@ in symlinkJoin {
paths = [ pidgin ] ++ plugins;
- buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram $out/bin/pidgin \
diff --git a/pkgs/applications/networking/instant-messengers/teams/default.nix b/pkgs/applications/networking/instant-messengers/teams/default.nix
index dd4e104aa66a..cebc1f9eb423 100644
--- a/pkgs/applications/networking/instant-messengers/teams/default.nix
+++ b/pkgs/applications/networking/instant-messengers/teams/default.nix
@@ -137,7 +137,7 @@ let
hash = "sha256-vLUEvOSBUyAJIWHOAIkTqTW/W6TkgmeyRzQbquZP810=";
};
- buildInputs = [ xar cpio makeWrapper ];
+ nativeBuildInputs = [ xar cpio makeWrapper ];
unpackPhase = ''
xar -xf $src
diff --git a/pkgs/applications/networking/mailreaders/notmuch/mutt.nix b/pkgs/applications/networking/mailreaders/notmuch/mutt.nix
index ffd30c754b47..4cd9706bdb97 100644
--- a/pkgs/applications/networking/mailreaders/notmuch/mutt.nix
+++ b/pkgs/applications/networking/mailreaders/notmuch/mutt.nix
@@ -8,9 +8,9 @@ stdenv.mkDerivation rec {
dontStrip = true;
+ nativeBuildInputs = [ makeWrapper ];
buildInputs = [
perl
- makeWrapper
] ++ (with perlPackages; [
FileRemove
DigestSHA1
diff --git a/pkgs/applications/networking/seaweedfs/default.nix b/pkgs/applications/networking/seaweedfs/default.nix
index 1dab78a8fca8..e1adecd90f34 100644
--- a/pkgs/applications/networking/seaweedfs/default.nix
+++ b/pkgs/applications/networking/seaweedfs/default.nix
@@ -7,16 +7,16 @@
buildGoModule rec {
pname = "seaweedfs";
- version = "3.15";
+ version = "3.23";
src = fetchFromGitHub {
owner = "chrislusf";
repo = "seaweedfs";
rev = version;
- sha256 = "sha256-07cIqGKmw2Co7GEc/APiOWTgflUwDIQPQzs73XTAPQA=";
+ sha256 = "sha256-Pq0t8KDrmPfkJ0sWtpw1iAwycLj+YIuYIanyqEjdf5A=";
};
- vendorSha256 = "sha256-4U96s9PJLuVuzgWXCMLKfXK/XK1EaC+ep2c8TpKVRlc=";
+ vendorSha256 = "sha256-YbdGtB6BEo8RoEYXjj1NG8bXMDojddd1UY0IXQK1Kgo=";
subPackages = [ "weed" ];
diff --git a/pkgs/applications/science/biology/bcftools/default.nix b/pkgs/applications/science/biology/bcftools/default.nix
index c04d6af080e3..719f45065002 100644
--- a/pkgs/applications/science/biology/bcftools/default.nix
+++ b/pkgs/applications/science/biology/bcftools/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "bcftools";
- version = "1.15";
+ version = "1.16";
src = fetchurl {
url = "https://github.com/samtools/bcftools/releases/download/${version}/${pname}-${version}.tar.bz2";
- sha256 = "sha256-GIXMtFCobpegCqkF1zgcqeB72JZ8BXBaYdAAfS4iKW4=";
+ sha256 = "sha256-kL9kfJrXnhCiQ7gFjIc94Ff9cBLiUNWuZXSDl4ei7NY=";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/science/electronics/bitscope/common.nix b/pkgs/applications/science/electronics/bitscope/common.nix
index 2018878773ef..1cd23d0f414d 100644
--- a/pkgs/applications/science/electronics/bitscope/common.nix
+++ b/pkgs/applications/science/electronics/bitscope/common.nix
@@ -32,10 +32,7 @@ let
];
} // (attrs.meta or {});
- buildInputs = [
- dpkg
- makeWrapper
- ];
+ nativeBuildInputs = [ makeWrapper dpkg ];
libs = attrs.libs or [
atk
diff --git a/pkgs/applications/science/math/pspp/default.nix b/pkgs/applications/science/math/pspp/default.nix
index 6e9ff90315cd..dbc5c8a0f179 100644
--- a/pkgs/applications/science/math/pspp/default.nix
+++ b/pkgs/applications/science/math/pspp/default.nix
@@ -13,10 +13,10 @@ stdenv.mkDerivation rec {
sha256 = "0lqrash677b09zxdlxp89z6k02y4i23mbqg83956dwl69wc53dan";
};
- nativeBuildInputs = [ pkg-config texinfo python3 ];
+ nativeBuildInputs = [ pkg-config texinfo python3 makeWrapper ];
buildInputs = [ libxml2 readline zlib perl cairo gtk3 gsl
gtksourceview pango gettext
- makeWrapper gsettings-desktop-schemas hicolor-icon-theme ssw
+ gsettings-desktop-schemas hicolor-icon-theme ssw
];
doCheck = false;
diff --git a/pkgs/applications/science/math/sage/sage-tests.nix b/pkgs/applications/science/math/sage/sage-tests.nix
index 451edb8f085e..79d4f78082e0 100644
--- a/pkgs/applications/science/math/sage/sage-tests.nix
+++ b/pkgs/applications/science/math/sage/sage-tests.nix
@@ -28,8 +28,8 @@ stdenv.mkDerivation {
pname = "sage-tests";
inherit src;
+ nativeBuildInputs = [ makeWrapper ];
buildInputs = [
- makeWrapper
sage-with-env
];
diff --git a/pkgs/applications/science/math/sage/sage-with-env.nix b/pkgs/applications/science/math/sage/sage-with-env.nix
index df3a1467d53c..23069f335b8f 100644
--- a/pkgs/applications/science/math/sage/sage-with-env.nix
+++ b/pkgs/applications/science/math/sage/sage-with-env.nix
@@ -30,7 +30,6 @@ assert (!blas.isILP64) && (!lapack.isILP64);
let
buildInputs = [
pythonEnv # for patchShebangs
- makeWrapper
pkg-config
blas lapack
singular
@@ -73,7 +72,7 @@ let
[]
);
- allInputs = lib.remove null (buildInputs ++ pythonEnv.extraLibs);
+ allInputs = lib.remove null (buildInputs ++ pythonEnv.extraLibs ++ [ makeWrapper ]);
transitiveDeps = lib.unique (builtins.concatLists (map transitiveClosure allInputs ));
# fix differences between spkg and sage names
# (could patch sage instead, but this is more lightweight and also works for packages depending on sage)
diff --git a/pkgs/applications/science/math/sage/sage.nix b/pkgs/applications/science/math/sage/sage.nix
index 87f3e1137b19..73776a74cdf9 100644
--- a/pkgs/applications/science/math/sage/sage.nix
+++ b/pkgs/applications/science/math/sage/sage.nix
@@ -17,9 +17,8 @@ stdenv.mkDerivation rec {
pname = "sage";
src = sage-with-env.env.lib.src;
- buildInputs = [
- makeWrapper
- ] ++ lib.optionals requireSageTests [
+ nativeBuildInputs = [ makeWrapper ];
+ buildInputs = lib.optionals requireSageTests [
# This is a hack to make sure sage-tests is evaluated. It doesn't acutally
# produce anything of value, it just decouples the tests from the build.
sage-tests
diff --git a/pkgs/applications/science/misc/openmodelica/combined/default.nix b/pkgs/applications/science/misc/openmodelica/combined/default.nix
index 0c2220b7ea28..bc6bc9620215 100644
--- a/pkgs/applications/science/misc/openmodelica/combined/default.nix
+++ b/pkgs/applications/science/misc/openmodelica/combined/default.nix
@@ -11,7 +11,7 @@ symlinkJoin {
omshell
];
- buildInputs = [ gnumake makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram $out/bin/OMEdit \
diff --git a/pkgs/applications/version-management/git-and-tools/lefthook/default.nix b/pkgs/applications/version-management/git-and-tools/lefthook/default.nix
index 18668b532a89..0359ed7ac609 100644
--- a/pkgs/applications/version-management/git-and-tools/lefthook/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/lefthook/default.nix
@@ -2,13 +2,13 @@
buildGoModule rec {
pname = "lefthook";
- version = "1.1.0";
+ version = "1.1.1";
src = fetchFromGitHub {
rev = "v${version}";
owner = "evilmartians";
repo = "lefthook";
- sha256 = "sha256-SIXenrdIprAFOvz68Kn9qwmxLtDNkMUHxkXYFIyKo0Y=";
+ sha256 = "sha256-Ic2AsPFdRk3XdTVGbPBByxcHRAGGQfYoQm9GlgmSvA4=";
};
vendorSha256 = "sha256-NTZz0EDIjGdh8dD9jxbNVdWb7NFJsdtnMp7H6Ni0EbQ=";
diff --git a/pkgs/applications/version-management/git-crecord/default.nix b/pkgs/applications/version-management/git-crecord/default.nix
index 682f0d97f6b4..1ad75e75b7bf 100644
--- a/pkgs/applications/version-management/git-crecord/default.nix
+++ b/pkgs/applications/version-management/git-crecord/default.nix
@@ -2,13 +2,13 @@
python3.pkgs.buildPythonApplication rec {
pname = "git-crecord";
- version = "20201025.0";
+ version = "20220324.0";
src = fetchFromGitHub {
owner = "andrewshadura";
repo = "git-crecord";
rev = version;
- sha256 = "1rkdmy2d2vsx22fx97nd9afh0g5lq4pns7rdxyl711apq1bhiihn";
+ sha256 = "sha256-LWO9vteTIe54zTDWyRotLKIIi5SaGD0c9s7B5aBHm0s=";
};
propagatedBuildInputs = with python3.pkgs; [ docutils ];
@@ -16,9 +16,10 @@ python3.pkgs.buildPythonApplication rec {
# has no tests
doCheck = false;
- meta = {
+ meta = with lib; {
homepage = "https://github.com/andrewshadura/git-crecord";
description = "Git subcommand to interactively select changes to commit or stage";
- license = lib.licenses.gpl2Plus;
+ license = licenses.gpl2Plus;
+ maintainers = with maintainers; [ onny ];
};
}
diff --git a/pkgs/applications/version-management/gitlab/default.nix b/pkgs/applications/version-management/gitlab/default.nix
index a3d47ff6a506..aee4ee3df1b6 100644
--- a/pkgs/applications/version-management/gitlab/default.nix
+++ b/pkgs/applications/version-management/gitlab/default.nix
@@ -129,8 +129,9 @@ stdenv.mkDerivation {
inherit src;
+ nativeBuildInputs = [ makeWrapper ];
buildInputs = [
- rubyEnv rubyEnv.wrappedRuby rubyEnv.bundler tzdata git nettools makeWrapper
+ rubyEnv rubyEnv.wrappedRuby rubyEnv.bundler tzdata git nettools
];
patches = [
diff --git a/pkgs/applications/video/avidemux/default.nix b/pkgs/applications/video/avidemux/default.nix
index 35c628f8a59d..e29b0a488060 100644
--- a/pkgs/applications/video/avidemux/default.nix
+++ b/pkgs/applications/video/avidemux/default.nix
@@ -38,11 +38,11 @@ stdenv.mkDerivation rec {
];
nativeBuildInputs =
- [ yasm cmake pkg-config ]
+ [ yasm cmake pkg-config makeWrapper ]
++ lib.optional withQT wrapQtAppsHook;
buildInputs = [
zlib gettext libvdpau libva libXv sqlite fribidi fontconfig
- freetype alsa-lib libXext libGLU makeWrapper
+ freetype alsa-lib libXext libGLU
] ++ lib.optional withX264 x264
++ lib.optional withX265 x265
++ lib.optional withXvid xvidcore
diff --git a/pkgs/applications/virtualization/flintlock/default.nix b/pkgs/applications/virtualization/flintlock/default.nix
index 39c0918be0d0..6c44b019a1c9 100644
--- a/pkgs/applications/virtualization/flintlock/default.nix
+++ b/pkgs/applications/virtualization/flintlock/default.nix
@@ -10,16 +10,16 @@
buildGoModule rec{
pname = "flintlock";
- version = "0.1.1";
+ version = "0.3.0";
src = fetchFromGitHub {
owner = "weaveworks";
repo = "flintlock";
rev = "v${version}";
- sha256 = "sha256-uzsLvmp30pxDu0VtzRD1H4onL4sT/RC3CBnzfahm0Fw=";
+ sha256 = "sha256-zVsI8443/4joOhhuqhrUGsIW6iFvetW9BhHqASL+XUk=";
};
- vendorSha256 = "sha256-vkSO+mIEPO8urEYqMjQLoHB4mtSxfJC74zHWpQbQL9g=";
+ vendorSha256 = "sha256-PPda8/9WSiWQYyJJQhWo94g8LqGEEwx2u2j2wfqpOv0=";
subPackages = [ "cmd/flintlock-metrics" "cmd/flintlockd" ];
diff --git a/pkgs/data/fonts/nerdfonts/shas.nix b/pkgs/data/fonts/nerdfonts/shas.nix
index 61244012e1b9..6fa8a86e3667 100644
--- a/pkgs/data/fonts/nerdfonts/shas.nix
+++ b/pkgs/data/fonts/nerdfonts/shas.nix
@@ -1,53 +1,55 @@
{
- "3270" = "1qj7jr2m2zcnvh7hxw2yqgvgl43wmbvmgxz58gsviw3mi3p4lap8";
- "Agave" = "0whfp33cbrjdk12rbykmacbhfwrnz5r3c70nl55jbbkdv7cd4lp4";
- "AnonymousPro" = "0w005gr3j3gh9z4vaa5mrnsjmqppvh8vk0plf3lvprmwi3gi2qng";
- "Arimo" = "1rm16wyndxjdwjkiqishxryiahzqsw85dib3n3kcc45fmx0k2cz0";
- "AurulentSansMono" = "1ncrf8jnn4vksqb3gkkk8kqxm12mzwyjrjrpsg8yi7qpx26np179";
- "BigBlueTerminal" = "03y41b8s7v0dzimm0a8x80sblc8bgbmyng86mkf3h7j25qr5na67";
- "BitstreamVeraSansMono" = "0r487ls05nnr1qlglxyli7vdlcif6yp6i37yjr431bgaiwzgz4jd";
- "CascadiaCode" = "0lnpc20vw64h9ynphpdg2nwg6j77whyqd0ymz9vk89clshm1wjqa";
- "CodeNewRoman" = "0mqpwc1b8x2p1zlgngmsi92nzi2d5ikvd9i034j9kcwhwzmq7lkr";
- "Cousine" = "0vyc8afqhb4qqn2mq4fg8p1cxhqq0n4vgwz5rkjqc3w9m7fhpzv4";
- "DaddyTimeMono" = "15q89x999ak13z26ljjwa70akidyziqs79ilm1l8zypah75gsdl0";
- "DejaVuSansMono" = "0nak94fhc5c6is7ajdwh1hgamsrikhwjba1q3dhdngw475mc8fqm";
- "DroidSansMono" = "0p064jsr78x157dsjsnmzph9gmx27v99kmrhr7ziz5s9swfih3jy";
- "FantasqueSansMono" = "11m4dj1kncbqn4igqc4bfyn3kkb779v5ssnkmdqzbi0drmb4i2ag";
- "FiraCode" = "1in9l75kqf6cdc3zzmksakr6717b711df9a4ci2mnh4m7smzvlks";
- "FiraMono" = "037qz3n7wjgdxylblnffvbjy2r1x7h1rddhv0fqyz3af2px19l2z";
- "Go-Mono" = "0k1shx5iqmm6draynvgxx7nk3gb628b13xv4kgv5w1sa675kg66g";
- "Gohu" = "0bvprgg9qmpzlpp6dnbn4k9fjizyhaiwrri96ahvf740zmn2r14s";
- "Hack" = "166zr5xx3b879q877a81hghflg2f1ghhmv8vp1xmzhpf9jnv1y89";
- "Hasklig" = "0gb2l453659lp0zxg93v2rkqp06l8bxwan4rq3m3gacc4rq7bprm";
- "HeavyData" = "1yddk977n3rr6hlqvq3qhl1kikg2ww98c953wnxry7a5fgv2f2q5";
- "Hermit" = "0m1hh2d7ydbif3401f51gssxlsl4nw3gp7s0f8c6fr53icyri5wz";
- "iA-Writer" = "0imd9dyqvwvprn5nvvwbs9vzvf3z0ag4z2m2y7c38pq9ap0b88cs";
- "IBMPlexMono" = "15g50k4riy8yammvfdzbzkr6lvqv44m1dssw6z1f3hazkvl2l5bn";
- "Inconsolata" = "04sh63qlv0fwys3l3jvkabna4m2aksixmqwww3kvax8i442fp84n";
- "InconsolataGo" = "0j8a9fbwxhwhrxgqb9sfq62kk3k4z2vw77cxmfssznqa29mpmxms";
- "InconsolataLGC" = "1w1p0b9fgm49v6pag2lqcsz4aynzlmhz1ni7szw2yk83v3g52yxi";
- "Iosevka" = "0as9qs5ay8qic3iwg0jqrqm4p0w4siv065iy8cd7c5m8559bfx1p";
- "JetBrainsMono" = "1amz3113b4pxgsminl4knkkzj59q1q5xyflbq1ng6n907xh3ghpz";
- "Lekton" = "197ak6w7r3rq8h3j7rnw7611m6l8hyrziifp80m0y0x164q8aygq";
- "LiberationMono" = "0i1d7q389b83153b1jrb93azhm228f2kxfy8lcjm9kwxa2qwjzn1";
- "Lilex" = "0lk4smc8i6w7jyl34kza95rk00pmkgknldnjpspn25fj6kyfn3yi";
- "Meslo" = "0xgzg1w1ams2ha45xl6bmw3dx7762hs31hm7sz1ssxb0s3nkfpcg";
- "Monofur" = "010mafjkkg3qj50vzlb8lrbq2qngs095rl8qnlw6wax03lwsrrw6";
- "Monoid" = "1mhww661d3x0kgvq6c92m3vzbgbjwn3xm2rc9gqjg2w3gwvp2klr";
- "Mononoki" = "1d9x7fifymp9jj929s8sh16vdfhmz0p34axfwwkk3wwr52bv7ina";
- "MPlus" = "1avdf6lq2sp9pv5j99whby59g4d5pjqyvha56gs3i9q84ysyhf4d";
- "NerdFontsSymbolsOnly" = "1ics63pw31hzmqiy67fm1ccqga7vqcqrvrplb7f63gi4z8b0r2bf";
- "OpenDyslexic" = "0kkm6ric7ygx3mmvv019j1q35zwzmi8x883nkz5wadb3vidscz08";
- "Overpass" = "1rihdk0nhrx64bi9hky50s088cd1qr6acx6520d5r85za8lznxsk";
- "ProFont" = "1x3srlq2v8y24yddqnx1rn4hc5n9li8ll0q1zl68vzi7qpy6rbv8";
- "ProggyClean" = "173dbkch5fmlxfk6wqb08z1gynsf0vsn9pmzdm1ndb7zr420h2v6";
- "RobotoMono" = "1ip6vcihl3cgzvpvmlrvqmaw33g46vr425qg2svb33bjzlswgv22";
- "ShareTechMono" = "1l27gzb1d576xwmpnam1axsssppv06agm7w3pb7ki4jzva5yym2x";
- "SourceCodePro" = "1zb95b76w9x3n37qs78yhi9iwha5425v844blmlrj6j8adwh69g7";
- "SpaceMono" = "10kxcwikdxwplr91r1lspn7x2sllbfvr5yq3mpkspq7y24rix26d";
- "Terminus" = "1bmdfdp8cjksdmb13dc4v9h5g6rx1ixkhbrsqj4vnyjdc6sjv796";
- "Tinos" = "0g9i72r3srl0321gj7866a3c71id5388qd76y2f8qy0hghhhyhcp";
- "Ubuntu" = "0rz014zc4nxiv4y11h9s4dkh8kfamfdzxbnvvqpy6dnxqmdb5piw";
- "UbuntuMono" = "0fviwmlah0f7spgf7wwbmdd0wxb3in6wiqqbx04gymk3wb4v06yj";
- "VictorMono" = "1bi424gr6r105mlbg3q47iplaawblbfm1iyc0wls9l42gibjxzww";
+ "3270" = "1bzrgc3iksm9n8gxljwbgzm0ch115vvafiwrih2n5caz8wvs86qn";
+ "Agave" = "1xkl9xjqlm1g2864sf4z5bcxhfaxmszvhm4lbp6cnkzg0m1chypj";
+ "AnonymousPro" = "1g8p6g9rfm7adazii5swrn1m0w733wlbclqq4r0xbykn1gdghbmz";
+ "Arimo" = "01gijkyfs97ij7iraajgbkvhnj1cxjyppw9q5y67fwgz8wa22q2j";
+ "AurulentSansMono" = "1hy8gf2h552vr4fnr53pn5biqnwakw15yqwlswi8g4l3jxp0f1xi";
+ "BigBlueTerminal" = "0avczgq4dl1kgyp0c7j53asmqmggjd9cmcq190fc4n10d7g6n98w";
+ "BitstreamVeraSansMono" = "1k01qsgsyqazlyl4z3qswq4rd8nh8ksarhrrjn1z88h150ynd3lh";
+ "CascadiaCode" = "0r8c93f6ysqwl6bsb3avjnhx20fcxz6ng0mwddhcaz14dhl9y0q6";
+ "CodeNewRoman" = "1b1lb66pxalhmr64y0vc75n1ngwkllsam771qwsjycr6crraqzjm";
+ "Cousine" = "172aagpkfzdnja7dpvlampjzgw9w3r0pd8z0ppnkhj98xcpk680d";
+ "DaddyTimeMono" = "1khfqbicxl19dh1hky541vk1n0j41w2qaxw4ih8z8hdzdwz8frz0";
+ "DejaVuSansMono" = "1s40g91frl0ngak0q0qp0vh9nbkh22mlf25ly248aq46k3kqswv6";
+ "DroidSansMono" = "1m2pnhs9rlf4kspxk0x3c22v0c1byidblmhm2b0kg284jjml9rql";
+ "FantasqueSansMono" = "0yslgnr1gjqx4bm9ld7z9lmqqvivswqx5byilggr42v1m7dnayc1";
+ "FiraCode" = "0bwfxrkpjpgh832bprch4kzrr03d0raf3cgl7n3w3n8a4d806hb3";
+ "FiraMono" = "08swhnqyz334202dcd8dzjf800kd3n3dq26wajmcphlps269y2p6";
+ "FontPatcher" = "1icakcp6p805d2afa5vaynrhyxsvl7p1j2dyfgxplqgsfclj2cs1";
+ "Go-Mono" = "01yy8mcffa6pz6hj6cwrdlsqhc6fbsnd2npqzi8zlx32qdzsrkj3";
+ "Gohu" = "0dyxam4rmpfjw59x5b2c1mdg3jcvjsgjcdpw83gih261d05kmx13";
+ "Hack" = "0rjxy98b16qxam8nr00cj4cd82jq0r23p2wymn9g3vy6bl836bvl";
+ "Hasklig" = "0qpq14allkr3x5i1sfbpaa9n6ilb6f9hy4z5r0i2vj1qbksbdffb";
+ "HeavyData" = "1zk4vilqq1v5hw687an57mf1msrj6iyin1kbm4b38jcq1d7wc5sp";
+ "Hermit" = "043hqz5mxjghpfg5kninavy6p24r4i4ryhj89bhpwrgq6vbpbk7l";
+ "iA-Writer" = "0l3bbpdiw20vxqmpaf42zvcsj08hjl644qjkpp9z53a184jxsad5";
+ "IBMPlexMono" = "00cib33fxwdq48b26hm3vg6svwmmpr7rb537002h21ykvyw7my2n";
+ "Inconsolata" = "00y47m077pwhx4165ifgdqxbdsigy0y6f9p6y4py8qz8jnfimc9i";
+ "InconsolataGo" = "103lf5dy65k6ik87sr91iji44ali81mf18af7vw8qr5w9j3v88m1";
+ "InconsolataLGC" = "0f598lnywpv8s6m9dzhklk490f5lq5ykfxaql9q6yp5fg7d9pc6z";
+ "Iosevka" = "14mk8n7w2mjdrwzz4hf3zdkqvkm2zkk3l91kx0lldyfyapdz0z1i";
+ "JetBrainsMono" = "1f0x9zpmvsr4hmxchxpyy470qrcl232ljd13dhf6skm50702vpar";
+ "Lekton" = "0zj7rvz9bi9apsb068vf04lhggif78s4mwvgi85vpi8wsncj2df5";
+ "LiberationMono" = "0syx7jgglxvaif7rp0kh1ywyyza5frssd20zphj42bdf6pcladgm";
+ "Lilex" = "0gxlmylri3251zd76hkql6ck7x07x5yn3jcbg8ccq1vnw402v1vl";
+ "Meslo" = "160z4v8pvpqk1zw1flanspcdmjb5bdpfmhkz8gv6ywflmlhnf87s";
+ "Monofur" = "125bnmz2a0xm1qcyqpf72cm44bw5rqf06mcp8n982md27lckypcn";
+ "Monoid" = "1zr6wh3zkgm5azys75szbzagnkj840czzz50fs8j5vi2j5x1gqzx";
+ "Mononoki" = "15g910k4w5gdd6c4hrnxapb2irbpnlx2yvhmifnmmisyrvzpqdg1";
+ "MPlus" = "0f5s9jxk7c9g9h5vrfh4b14w5pfzpidna8k5zpaqj1xz8m80ry98";
+ "NerdFontsSymbolsOnly" = "0qxx0p4fija26aqya8az9vjwprbncjdpl9cnl756ap8db8ymrf4q";
+ "Noto" = "03q8sar4vw0fscrvmnphr82mgh6ijgmsmw04ci4x4kz0371zbvbs";
+ "OpenDyslexic" = "13yg3skw55vi721mbymcnyxwmlf92jzwankj7ggf6fzmmw9r72j8";
+ "Overpass" = "0rnwzvd1zfwybf1gvxbqac4nl2rb2fpdpjj86qrydrjnszd5r1rf";
+ "ProFont" = "0fkhzkqs3srsdhi3rgpvsqdifhsbfydw8q5h2s40v6jqaq6i7pv0";
+ "ProggyClean" = "0smdg5sawy5ykph0whj2q4s89c08czfdfp7w5ipc3pzq598d0ahz";
+ "RobotoMono" = "0wy99prkr1anhc5d1gd4dbvvi2krhcjh4nx9ib2fvw374fmys4mx";
+ "ShareTechMono" = "09xg72wgkgl68hygbzndvizjshnir661jwz0iyx0nhsqsmfpg8gh";
+ "SourceCodePro" = "1g9kj8gpsc3lqj8cik7zisfsm28jvmh29r399wc4aaaz41hcpigr";
+ "SpaceMono" = "128pg00ay5n2havfjk116a0gfqqdlm5xy30akgjszhgsnpfg214x";
+ "Terminus" = "02yf6id9nnxm2li1s9izvcbqzrhznh1041lh604dvkxqnnriq6n4";
+ "Tinos" = "0ksx8x4917kl7h6y4lk7mwq1s2ag5zjjyz9amc2w80qxfdqwgc1m";
+ "Ubuntu" = "1mlkpsnwj5bgkw1671v939pnb1shk31nj6pm7p73bjrvihwgdbwz";
+ "UbuntuMono" = "1g51a9giv096hnd7jr3xgbnhx7m4andfd0jm892f99n65fqy2x6y";
+ "VictorMono" = "1gaf7ysd9gqhksbvb877n3qiki3iny2dgkfpgfwl4p8nzrxcn8jm";
}
diff --git a/pkgs/data/fonts/nerdfonts/version.nix b/pkgs/data/fonts/nerdfonts/version.nix
index 2cb698ebee02..e7805653ae21 100644
--- a/pkgs/data/fonts/nerdfonts/version.nix
+++ b/pkgs/data/fonts/nerdfonts/version.nix
@@ -1 +1 @@
-"2.2.0"
+"2.2.1"
diff --git a/pkgs/development/compilers/ecl/16.1.2.nix b/pkgs/development/compilers/ecl/16.1.2.nix
index 513e4ec3eec6..f2d50fa6f921 100644
--- a/pkgs/development/compilers/ecl/16.1.2.nix
+++ b/pkgs/development/compilers/ecl/16.1.2.nix
@@ -25,11 +25,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-LUgrGgpPvV2IFDRRcDInnYCMtkBeIt2R721zNTRGS5k=";
};
- nativeBuildInputs = [ autoconf automake ];
- buildInputs = [
- libtool
- makeWrapper
- ];
+ nativeBuildInputs = [ autoconf automake makeWrapper libtool ];
propagatedBuildInputs = [
libffi
gmp
diff --git a/pkgs/development/compilers/elm/default.nix b/pkgs/development/compilers/elm/default.nix
index b5e17efd3633..376e956d7ca1 100644
--- a/pkgs/development/compilers/elm/default.nix
+++ b/pkgs/development/compilers/elm/default.nix
@@ -1,4 +1,4 @@
-{ pkgs, lib }:
+{ pkgs, lib, makeWrapper }:
let
@@ -18,7 +18,7 @@ let
elmVersion = drv.version;
registryDat = ./registry.dat;
};
- buildTools = drv.buildTools or [] ++ [ pkgs.makeWrapper ];
+ buildTools = drv.buildTools or [] ++ [ makeWrapper ];
jailbreak = true;
postInstall = ''
wrapProgram $out/bin/elm \
@@ -214,7 +214,7 @@ in lib.makeScope pkgs.newScope (self: with self; {
elm-pages = nodePkgs."elm-pages".overrideAttrs (
old: {
- buildInputs = old.buildInputs ++ [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
# can't use `patches = [ ]` with a nodePkgs derivation;
# need to patch in one of the build phases instead.
diff --git a/pkgs/development/compilers/intercal/default.nix b/pkgs/development/compilers/intercal/default.nix
index f3383bdcb5ff..54641d45bce5 100644
--- a/pkgs/development/compilers/intercal/default.nix
+++ b/pkgs/development/compilers/intercal/default.nix
@@ -24,8 +24,7 @@ stdenv.mkDerivation rec {
})
];
- buildInputs =
- [ pkg-config bison flex makeWrapper ];
+ nativeBuildInputs = [ pkg-config bison flex makeWrapper ];
# Intercal invokes gcc, so we need an explicit PATH
postInstall = ''
diff --git a/pkgs/development/compilers/opa/default.nix b/pkgs/development/compilers/opa/default.nix
index 1ee284e9f923..e4cd191683c9 100644
--- a/pkgs/development/compilers/opa/default.nix
+++ b/pkgs/development/compilers/opa/default.nix
@@ -44,8 +44,8 @@ stdenv.mkDerivation rec {
configureFlags = [ "-ocamlfind ${ocamlPackages.findlib}/bin/ocamlfind" ];
- buildInputs = [ which perl jdk openssl coreutils zlib ncurses
- makeWrapper gcc binutils gnumake nodejs
+ nativeBuildInputs = [ gcc binutils nodejs which makeWrapper ];
+ buildInputs = [ perl jdk openssl coreutils zlib ncurses
] ++ (with ocamlPackages; [
ocaml findlib ssl camlzip ulex ocamlgraph camlp4
]);
diff --git a/pkgs/development/compilers/open-watcom/wrapper.nix b/pkgs/development/compilers/open-watcom/wrapper.nix
index 113df520b4fc..fe787cbedbf4 100644
--- a/pkgs/development/compilers/open-watcom/wrapper.nix
+++ b/pkgs/development/compilers/open-watcom/wrapper.nix
@@ -36,7 +36,7 @@ let
paths = [ open-watcom ];
- buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
postBuild = ''
mkdir $out/bin
diff --git a/pkgs/development/compilers/opendylan/default.nix b/pkgs/development/compilers/opendylan/default.nix
index f9ab0714b470..283ee2dffe47 100644
--- a/pkgs/development/compilers/opendylan/default.nix
+++ b/pkgs/development/compilers/opendylan/default.nix
@@ -13,8 +13,9 @@ stdenv.mkDerivation {
fetchSubmodules = true;
};
+ nativeBuildInputs = [ makeWrapper autoconf automake ];
buildInputs = (if stdenv.hostPlatform.system == "i686-linux" then [ mps ] else [ boehmgc ]) ++ [
- opendylan-bootstrap boehmgc gnused autoconf automake perl makeWrapper
+ opendylan-bootstrap boehmgc perl
];
preConfigure = if stdenv.hostPlatform.system == "i686-linux" then ''
diff --git a/pkgs/development/compilers/yosys/default.nix b/pkgs/development/compilers/yosys/default.nix
index 984678f689c5..44f56d366022 100644
--- a/pkgs/development/compilers/yosys/default.nix
+++ b/pkgs/development/compilers/yosys/default.nix
@@ -56,7 +56,7 @@ let
in lib.appendToName "with-plugins" ( symlinkJoin {
inherit (yosys) name;
paths = paths ++ [ yosys ] ;
- buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram $out/bin/yosys \
--set NIX_YOSYS_PLUGIN_DIRS $out/share/yosys/plugins \
diff --git a/pkgs/development/coq-modules/iris/default.nix b/pkgs/development/coq-modules/iris/default.nix
index 1d5fe0d8f6ad..a2a59e1ab22c 100644
--- a/pkgs/development/coq-modules/iris/default.nix
+++ b/pkgs/development/coq-modules/iris/default.nix
@@ -6,11 +6,12 @@ with lib; mkCoqDerivation rec {
owner = "iris";
inherit version;
defaultVersion = with versions; switch coq.coq-version [
- { case = range "8.13" "8.16"; out = "3.6.0"; }
+ { case = range "8.13" "8.16"; out = "4.0.0"; }
{ case = range "8.12" "8.14"; out = "3.5.0"; }
{ case = range "8.11" "8.13"; out = "3.4.0"; }
{ case = range "8.9" "8.10"; out = "3.3.0"; }
] null;
+ release."4.0.0".sha256 = "sha256-Jc9TmgGvkiDaz9IOoExyeryU1E+Q37GN24NIM397/Gg=";
release."3.6.0".sha256 = "sha256:02vbq597fjxd5znzxdb54wfp36412wz2d4yash4q8yddgl1kakmj";
release."3.5.0".sha256 = "0hh14m0anfcv65rxm982ps2vp95vk9fwrpv4br8bxd9vz0091d70";
release."3.4.0".sha256 = "0vdc2mdqn5jjd6yz028c0c6blzrvpl0c7apx6xas7ll60136slrb";
diff --git a/pkgs/development/coq-modules/stdpp/default.nix b/pkgs/development/coq-modules/stdpp/default.nix
index 3983d80a094e..19b72c4e948c 100644
--- a/pkgs/development/coq-modules/stdpp/default.nix
+++ b/pkgs/development/coq-modules/stdpp/default.nix
@@ -6,11 +6,12 @@ with lib; mkCoqDerivation rec {
domain = "gitlab.mpi-sws.org";
owner = "iris";
defaultVersion = with versions; switch coq.coq-version [
- { case = range "8.13" "8.16"; out = "1.7.0"; }
+ { case = range "8.13" "8.16"; out = "1.8.0"; }
{ case = range "8.12" "8.14"; out = "1.6.0"; }
{ case = range "8.11" "8.13"; out = "1.5.0"; }
{ case = range "8.8" "8.10"; out = "1.4.0"; }
] null;
+ release."1.8.0".sha256 = "sha256-VkIGBPHevHeHCo/Q759Q7y9WyhSF/4SMht4cOPuAXHU=";
release."1.7.0".sha256 = "sha256:0447wbzm23f9rl8byqf6vglasfn6c1wy6cxrrwagqjwsh3i5lx8y";
release."1.6.0".sha256 = "1l1w6srzydjg0h3f4krrfgvz455h56shyy2lbcnwdbzjkahibl7v";
release."1.5.0".sha256 = "1ym0fy620imah89p8b6rii8clx2vmnwcrbwxl3630h24k42092nf";
diff --git a/pkgs/development/idris-modules/idris-wrapper.nix b/pkgs/development/idris-modules/idris-wrapper.nix
index 68a1a0f267ad..da20fa7a6606 100644
--- a/pkgs/development/idris-modules/idris-wrapper.nix
+++ b/pkgs/development/idris-modules/idris-wrapper.nix
@@ -3,7 +3,7 @@
symlinkJoin {
inherit (idris-no-deps) name src meta;
paths = [ idris-no-deps ];
- buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram $out/bin/idris \
--run 'export IDRIS_CC=''${IDRIS_CC:-${stdenv.cc}/bin/cc}' \
diff --git a/pkgs/development/idris-modules/with-packages.nix b/pkgs/development/idris-modules/with-packages.nix
index 080cbe2778a6..55bfd8c15750 100644
--- a/pkgs/development/idris-modules/with-packages.nix
+++ b/pkgs/development/idris-modules/with-packages.nix
@@ -10,7 +10,7 @@ lib.appendToName "with-packages" (symlinkJoin {
paths = paths ++ [idris] ;
- buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram $out/bin/idris \
diff --git a/pkgs/development/interpreters/lfe/generic-builder.nix b/pkgs/development/interpreters/lfe/generic-builder.nix
index 2431199beaaf..ada99e525c81 100644
--- a/pkgs/development/interpreters/lfe/generic-builder.nix
+++ b/pkgs/development/interpreters/lfe/generic-builder.nix
@@ -37,7 +37,7 @@ buildRebar3 {
inherit src version;
- buildInputs = [ erlang makeWrapper ];
+ nativeBuildInputs = [ makeWrapper erlang ];
beamDeps = [ proper ];
patches = [ ./fix-rebar-config.patch ./dedup-ebins.patch ] ++ patches;
doCheck = true;
diff --git a/pkgs/development/interpreters/maude/default.nix b/pkgs/development/interpreters/maude/default.nix
index 96a715cbbc7c..da4df0fb79a2 100644
--- a/pkgs/development/interpreters/maude/default.nix
+++ b/pkgs/development/interpreters/maude/default.nix
@@ -22,9 +22,9 @@ stdenv.mkDerivation {
sha256 = "b112d7843f65217e3b5a9d40461698ef8dab7cbbe830af21216dfb924dc88a2f";
};
- nativeBuildInputs = [ unzip ];
+ nativeBuildInputs = [ flex bison unzip makeWrapper ];
buildInputs = [
- flex bison ncurses buddy tecla gmpxx libsigsegv makeWrapper cln yices
+ ncurses buddy tecla gmpxx libsigsegv cln yices
];
hardeningDisable = [ "stackprotector" ] ++
diff --git a/pkgs/development/libraries/aspell/aspell-with-dicts.nix b/pkgs/development/libraries/aspell/aspell-with-dicts.nix
index 88b1302271fb..fae94dbf08d2 100644
--- a/pkgs/development/libraries/aspell/aspell-with-dicts.nix
+++ b/pkgs/development/libraries/aspell/aspell-with-dicts.nix
@@ -19,7 +19,7 @@ let
in buildEnv {
name = "aspell-env";
- buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
paths = [ aspell ] ++ dicts;
postBuild = ''
# Construct wrappers in /bin
diff --git a/pkgs/development/libraries/faudio/default.nix b/pkgs/development/libraries/faudio/default.nix
index f085f33827c3..bd179c6ee739 100644
--- a/pkgs/development/libraries/faudio/default.nix
+++ b/pkgs/development/libraries/faudio/default.nix
@@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "faudio";
- version = "22.04";
+ version = "22.08";
src = fetchFromGitHub {
owner = "FNA-XNA";
repo = "FAudio";
rev = version;
- sha256 = "sha256-2XQpwPNWjK5FF9ex5QxrGEPsUXT/MBqjXy7P2D/SxZw=";
+ sha256 = "sha256-ZGyLP7dsVDKPCGA/6MNSEifd1rOcYqLdcEXYIQxrgtE=";
};
nativeBuildInputs = [cmake];
diff --git a/pkgs/development/libraries/flatbuffers/default.nix b/pkgs/development/libraries/flatbuffers/default.nix
index 42e7c665f2b2..86ef77ee5ee8 100644
--- a/pkgs/development/libraries/flatbuffers/default.nix
+++ b/pkgs/development/libraries/flatbuffers/default.nix
@@ -7,13 +7,13 @@
stdenv.mkDerivation rec {
pname = "flatbuffers";
- version = "2.0.6";
+ version = "2.0.7";
src = fetchFromGitHub {
owner = "google";
repo = "flatbuffers";
rev = "v${version}";
- sha256 = "sha256-0bJ0n/5yzj6lHXLKJzHUS0Bnlmys+X7pY/3LGapVh6k=";
+ sha256 = "sha256-tIM6CdIPq++xFbpA22zDm3D4dT9soNDe/9GRY/FyLrw=";
};
nativeBuildInputs = [ cmake python3 ];
diff --git a/pkgs/development/libraries/folly/default.nix b/pkgs/development/libraries/folly/default.nix
index 0ef5dfbc2e57..8e3afb1e5c38 100644
--- a/pkgs/development/libraries/folly/default.nix
+++ b/pkgs/development/libraries/folly/default.nix
@@ -22,13 +22,13 @@
stdenv.mkDerivation rec {
pname = "folly";
- version = "2022.08.15.00";
+ version = "2022.08.22.00";
src = fetchFromGitHub {
owner = "facebook";
repo = "folly";
rev = "v${version}";
- sha256 = "sha256-GJYjilN2nwKEpuWj2NJQ25hT9lI2pdkWzgfLBph5mmU=";
+ sha256 = "sha256-Cj8JK3uoObt1G8kd2y4KxS88WwLPthdBvPcLi1C24aQ=";
};
nativeBuildInputs = [
diff --git a/pkgs/development/libraries/gsignond/wrapper.nix b/pkgs/development/libraries/gsignond/wrapper.nix
index a4738e4b6a73..9b31a2213ceb 100644
--- a/pkgs/development/libraries/gsignond/wrapper.nix
+++ b/pkgs/development/libraries/gsignond/wrapper.nix
@@ -5,7 +5,7 @@ symlinkJoin {
paths = [ gsignond ] ++ plugins;
- buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram $out/bin/gsignond \
diff --git a/pkgs/development/libraries/libisds/default.nix b/pkgs/development/libraries/libisds/default.nix
index 268acb2f948d..9d2732c44096 100644
--- a/pkgs/development/libraries/libisds/default.nix
+++ b/pkgs/development/libraries/libisds/default.nix
@@ -11,11 +11,11 @@
stdenv.mkDerivation rec {
pname = "libisds";
- version = "0.11.1";
+ version = "0.11.2";
src = fetchurl {
url = "http://xpisar.wz.cz/${pname}/dist/${pname}-${version}.tar.xz";
- sha256 = "1n1vl05p78fksv6dm926rngd3wag41gyfbq76ajzcmq08j32y7y1";
+ sha256 = "sha256-YUb4N7J7EaYHHiFI965kUhtNitRTJfmY/ns3MTfkGPs=";
};
configureFlags = [
diff --git a/pkgs/development/libraries/libre/default.nix b/pkgs/development/libraries/libre/default.nix
index 36f1a288f1a5..6496d1acff06 100644
--- a/pkgs/development/libraries/libre/default.nix
+++ b/pkgs/development/libraries/libre/default.nix
@@ -1,12 +1,12 @@
{ lib, stdenv, fetchFromGitHub, zlib, openssl }:
stdenv.mkDerivation rec {
- version = "2.0.1";
+ version = "2.6.1";
pname = "libre";
src = fetchFromGitHub {
owner = "baresip";
repo = "re";
rev = "v${version}";
- sha256 = "sha256-/1J9cs0W96CtnHAoX/jg3FLGD9coa0eOEgf8uMQHuUk=";
+ sha256 = "sha256-S+RvD7sXn8yjGAHv1OqiJJMAA45r8N1Rhz89d8yGv1Q=";
};
buildInputs = [ zlib openssl ];
makeFlags = [ "USE_ZLIB=1" "USE_OPENSSL=1" "PREFIX=$(out)" ]
diff --git a/pkgs/development/libraries/librem/default.nix b/pkgs/development/libraries/librem/default.nix
index 23c1f2cc3457..f8c3834e7d8d 100644
--- a/pkgs/development/libraries/librem/default.nix
+++ b/pkgs/development/libraries/librem/default.nix
@@ -1,12 +1,12 @@
{ lib, stdenv, fetchFromGitHub, zlib, openssl, libre }:
stdenv.mkDerivation rec {
- version = "1.0.0";
+ version = "2.6.0";
pname = "librem";
src = fetchFromGitHub {
owner = "baresip";
repo = "rem";
rev = "v${version}";
- sha256 = "sha256-6Xe9zT0qLLGe1+QCQ9NALoDTaRhHpaTLbCbA+kV7hOA=";
+ sha256 = "sha256-Rn3KKYW5OBInZYaDhwYVyPvL3UiuRG8CyHtPvW1S0Zo=";
};
buildInputs = [ zlib openssl libre ];
makeFlags = [
diff --git a/pkgs/development/libraries/lzlib/default.nix b/pkgs/development/libraries/lzlib/default.nix
index d0064947c929..7ddf4fa5f178 100644
--- a/pkgs/development/libraries/lzlib/default.nix
+++ b/pkgs/development/libraries/lzlib/default.nix
@@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
makeFlags = [ "CC:=$(CC)" ];
doCheck = true;
+ configureFlags = [ "--enable-shared" ];
+
meta = with lib; {
homepage = "https://www.nongnu.org/lzip/${pname}.html";
description =
diff --git a/pkgs/development/libraries/pico-sdk/default.nix b/pkgs/development/libraries/pico-sdk/default.nix
index ca46d203b348..991d2e661f14 100644
--- a/pkgs/development/libraries/pico-sdk/default.nix
+++ b/pkgs/development/libraries/pico-sdk/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "pico-sdk";
- version = "1.3.1";
+ version = "1.4.0";
src = fetchFromGitHub {
owner = "raspberrypi";
repo = pname;
rev = version;
- sha256 = "sha256-Yf3cVFdI8vR/qcxghcx8fsbYs1qD8r6O5aqZ0AkSLDc=";
+ sha256 = "sha256-i3IAaNcd0EfKNvU104a776O1poDAChlx1m+nP8iFn8E=";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/development/libraries/qtstyleplugin-kvantum-qt4/default.nix b/pkgs/development/libraries/qtstyleplugin-kvantum-qt4/default.nix
index f2ea86160fb6..09f0d05dd59d 100644
--- a/pkgs/development/libraries/qtstyleplugin-kvantum-qt4/default.nix
+++ b/pkgs/development/libraries/qtstyleplugin-kvantum-qt4/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "qtstyleplugin-kvantum-qt4";
- version = "1.0.1";
+ version = "1.0.4";
src = fetchFromGitHub {
owner = "tsujan";
repo = "Kvantum";
rev = "V${version}";
- hash = "sha256-Faex1NF5bJa0GdC+Sz4p6kHaGUtAkqZlNGi0TSc5ckw=";
+ hash = "sha256-chdtcx73mfr/b1P3yVevx0m7HkMFzEYG7YLuhSyG7rk=";
};
nativeBuildInputs = [ qmake4Hook ];
diff --git a/pkgs/development/libraries/rinutils/default.nix b/pkgs/development/libraries/rinutils/default.nix
index 212019bb0e16..d80a5f79d6ad 100644
--- a/pkgs/development/libraries/rinutils/default.nix
+++ b/pkgs/development/libraries/rinutils/default.nix
@@ -5,7 +5,7 @@
stdenv.mkDerivation rec {
pname = "rinutils";
- version = "0.10.0";
+ version = "0.10.1";
meta = with lib; {
homepage = "https://github.com/shlomif/rinutils";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://github.com/shlomif/${pname}/releases/download/${version}/${pname}-${version}.tar.xz";
- sha256 = "sha256-cNifCoRk+PSU8zcEt8k5bn/KOS6Kr6pEZXEMGjiemAY=";
+ sha256 = "sha256-MewljOmd57u+efMzjOcwSNrEVCUEXrK9DWvZLRuLmvs=";
};
nativeBuildInputs = [ cmake perl ];
diff --git a/pkgs/development/libraries/science/math/cudnn/generic.nix b/pkgs/development/libraries/science/math/cudnn/generic.nix
index 731b5588f887..1a798ad704a2 100644
--- a/pkgs/development/libraries/science/math/cudnn/generic.nix
+++ b/pkgs/development/libraries/science/math/cudnn/generic.nix
@@ -21,12 +21,12 @@
{ fullVersion
, url
-, hash ? null
-, sha256 ? null
+, hash ? ""
+, sha256 ? ""
, supportedCudaVersions ? [ ]
}:
-assert (hash != null) || (sha256 != null);
+assert (hash != "") || (sha256 != "");
assert useCudatoolkitRunfile || (libcublas != null);
diff --git a/pkgs/development/libraries/vapoursynth/editor.nix b/pkgs/development/libraries/vapoursynth/editor.nix
index bbf65879d169..2b4b1d5767b1 100644
--- a/pkgs/development/libraries/vapoursynth/editor.nix
+++ b/pkgs/development/libraries/vapoursynth/editor.nix
@@ -45,7 +45,7 @@ let
withPlugins = plugins: let
vapoursynthWithPlugins = vapoursynth.withPlugins plugins;
in runCommand "${unwrapped.name}-with-plugins" {
- buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
passthru = { withPlugins = plugins': withPlugins (plugins ++ plugins'); };
} ''
mkdir -p $out/bin
diff --git a/pkgs/development/lisp-modules-new/packages.nix b/pkgs/development/lisp-modules-new/packages.nix
index e858fa40288a..0a6520df5372 100644
--- a/pkgs/development/lisp-modules-new/packages.nix
+++ b/pkgs/development/lisp-modules-new/packages.nix
@@ -309,9 +309,8 @@ let
sha256 = "12l7ir3q29v06jx0zng5cvlbmap7p709ka3ik6x29lw334qshm9b";
};
+ nativeBuildInputs = [ pkgs.makeWrapper ];
buildInputs = [
- pkgs.makeWrapper
-
# needed for GSETTINGS_SCHEMAS_PATH
pkgs.gsettings-desktop-schemas pkgs.glib pkgs.gtk3
diff --git a/pkgs/development/misc/umr/default.nix b/pkgs/development/misc/umr/default.nix
index 3dba51022d3c..b83cb91a91b5 100644
--- a/pkgs/development/misc/umr/default.nix
+++ b/pkgs/development/misc/umr/default.nix
@@ -1,25 +1,28 @@
{ lib, stdenv, fetchgit, bash-completion, cmake, pkg-config
-, libdrm, libpciaccess, llvmPackages, ncurses
+, json_c, libdrm, libpciaccess, llvmPackages, nanomsg, ncurses, SDL2
}:
stdenv.mkDerivation rec {
pname = "umr";
- version = "unstable-2021-02-18";
+ version = "unstable-2022-08-23";
src = fetchgit {
url = "https://gitlab.freedesktop.org/tomstdenis/umr";
- rev = "79e17f8f2807ed707fc1be369d0aad536f6dbc97";
- sha256 = "IwTkHEuJ82hngPjFVIihU2rSolLBqHxQTNsP8puYPaY=";
+ rev = "87f814b1ffdbac8bfddd8529d344a7901cd7e112";
+ hash = "sha256-U1VP1AicSGWzBwzz99i7+3awATZocw5jaqtAxuRNaBE=";
};
nativeBuildInputs = [ cmake pkg-config llvmPackages.llvm.dev ];
buildInputs = [
bash-completion
+ json_c
libdrm
libpciaccess
llvmPackages.llvm
+ nanomsg
ncurses
+ SDL2
];
# Remove static libraries (there are no dynamic libraries in there)
diff --git a/pkgs/development/mobile/androidenv/build-tools.nix b/pkgs/development/mobile/androidenv/build-tools.nix
index da2c3f31a45e..1f1316d8fb6b 100644
--- a/pkgs/development/mobile/androidenv/build-tools.nix
+++ b/pkgs/development/mobile/androidenv/build-tools.nix
@@ -2,8 +2,9 @@
deployAndroidPackage {
inherit package os;
- buildInputs = [ makeWrapper ] ++
- lib.optionals (os == "linux") [ autoPatchelfHook pkgs.glibc pkgs.zlib pkgs.ncurses5 pkgs_i686.glibc pkgs_i686.zlib pkgs_i686.ncurses5 pkgs.libcxx ];
+ nativeBuildInputs = [ makeWrapper ]
+ ++ lib.optionals (os == "linux") [ autoPatchelfHook ];
+ buildInputs = lib.optionals (os == "linux") [ pkgs.glibc pkgs.zlib pkgs.ncurses5 pkgs_i686.glibc pkgs_i686.zlib pkgs_i686.ncurses5 pkgs.libcxx ];
patchInstructions = ''
${lib.optionalString (os == "linux") ''
addAutoPatchelfSearchPath $packageBaseDir/lib
diff --git a/pkgs/development/mobile/androidenv/emulator.nix b/pkgs/development/mobile/androidenv/emulator.nix
index 94a76078c477..f68d51c75c3f 100644
--- a/pkgs/development/mobile/androidenv/emulator.nix
+++ b/pkgs/development/mobile/androidenv/emulator.nix
@@ -2,9 +2,9 @@
deployAndroidPackage {
inherit package os;
- buildInputs = [ makeWrapper ]
- ++ lib.optionals (os == "linux") (with pkgs; [
- autoPatchelfHook
+ nativeBuildInputs = [ makeWrapper ]
+ ++ lib.optionals (os == "linux") [ autoPatchelfHook ];
+ buildInputs = lib.optionals (os == "linux") (with pkgs; [
glibc
libcxx
libGL
diff --git a/pkgs/development/mobile/androidenv/tools/25.nix b/pkgs/development/mobile/androidenv/tools/25.nix
index 5ce21a2fee3e..28ea249df25c 100644
--- a/pkgs/development/mobile/androidenv/tools/25.nix
+++ b/pkgs/development/mobile/androidenv/tools/25.nix
@@ -2,8 +2,8 @@
deployAndroidPackage {
name = "androidsdk";
- buildInputs = [ autoPatchelfHook makeWrapper ]
- ++ lib.optional (os == "linux") [ pkgs.glibc pkgs.xorg.libX11 pkgs.xorg.libXext pkgs.xorg.libXdamage pkgs.xorg.libxcb pkgs.xorg.libXfixes pkgs.xorg.libXrender pkgs.fontconfig.lib pkgs.freetype pkgs.libGL pkgs.zlib pkgs.ncurses5 pkgs.libpulseaudio pkgs_i686.glibc pkgs_i686.xorg.libX11 pkgs_i686.xorg.libXrender pkgs_i686.fontconfig pkgs_i686.freetype pkgs_i686.zlib ];
+ nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
+ buildInputs = lib.optional (os == "linux") [ pkgs.glibc pkgs.xorg.libX11 pkgs.xorg.libXext pkgs.xorg.libXdamage pkgs.xorg.libxcb pkgs.xorg.libXfixes pkgs.xorg.libXrender pkgs.fontconfig.lib pkgs.freetype pkgs.libGL pkgs.zlib pkgs.ncurses5 pkgs.libpulseaudio pkgs_i686.glibc pkgs_i686.xorg.libX11 pkgs_i686.xorg.libXrender pkgs_i686.fontconfig pkgs_i686.freetype pkgs_i686.zlib ];
inherit package os;
patchInstructions = ''
diff --git a/pkgs/development/mobile/androidenv/tools/26.nix b/pkgs/development/mobile/androidenv/tools/26.nix
index 361e02661f37..2f4f88a75975 100644
--- a/pkgs/development/mobile/androidenv/tools/26.nix
+++ b/pkgs/development/mobile/androidenv/tools/26.nix
@@ -3,9 +3,10 @@
deployAndroidPackage {
name = "androidsdk";
inherit os package;
- buildInputs = [ makeWrapper ]
- ++ lib.optional (os == "linux") (
- (with pkgs; [ autoPatchelfHook glibc freetype fontconfig fontconfig.lib])
+ nativeBuildInputs = [ makeWrapper ]
+ ++ lib.optionals (os == "linux") [ autoPatchelfHook ];
+ buildInputs = lib.optional (os == "linux") (
+ (with pkgs; [ glibc freetype fontconfig fontconfig.lib])
++ (with pkgs.xorg; [ libX11 libXrender libXext ])
++ (with pkgs_i686; [ glibc xorg.libX11 xorg.libXrender xorg.libXext fontconfig.lib freetype zlib ])
);
diff --git a/pkgs/development/node-packages/overrides.nix b/pkgs/development/node-packages/overrides.nix
index 5ce8bfcfb81d..e001e71f3454 100644
--- a/pkgs/development/node-packages/overrides.nix
+++ b/pkgs/development/node-packages/overrides.nix
@@ -39,7 +39,7 @@ final: prev: {
};
"@hyperspace/cli" = prev."@hyperspace/cli".override {
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
buildInputs = [ final.node-gyp-build ];
postInstall = ''wrapProgram "$out/bin/hyp" --prefix PATH : ${ lib.makeBinPath [ nodejs ] }'';
};
@@ -63,7 +63,7 @@ final: prev: {
mdctl-cli = final."@medable/mdctl-cli";
autoprefixer = prev.autoprefixer.override {
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
postInstall = ''
wrapProgram "$out/bin/autoprefixer" \
--prefix NODE_PATH : ${final.postcss}/lib/node_modules
@@ -74,7 +74,7 @@ final: prev: {
};
aws-azure-login = prev.aws-azure-login.override (oldAttrs: {
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
prePatch = ''
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
'';
@@ -100,7 +100,7 @@ final: prev: {
};
bower2nix = prev.bower2nix.override {
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
postInstall = ''
for prog in bower2nix fetch-bower; do
wrapProgram "$out/bin/$prog" --prefix PATH : ${lib.makeBinPath [ pkgs.git pkgs.nix ]}
@@ -109,7 +109,7 @@ final: prev: {
};
carbon-now-cli = prev.carbon-now-cli.override {
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
prePatch = ''
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
'';
@@ -151,7 +151,7 @@ final: prev: {
});
fast-cli = prev.fast-cli.override {
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
prePatch = ''
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
'';
@@ -171,7 +171,7 @@ final: prev: {
});
graphql-language-service-cli = prev.graphql-language-service-cli.override {
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
postInstall = ''
wrapProgram "$out/bin/graphql-lsp" \
--prefix NODE_PATH : ${final.graphql}/lib/node_modules
@@ -227,7 +227,7 @@ final: prev: {
};
makam = prev.makam.override {
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
postFixup = ''
wrapProgram "$out/bin/makam" --prefix PATH : ${lib.makeBinPath [ nodejs ]}
${
@@ -255,7 +255,7 @@ final: prev: {
if stdenv.isDarwin
then {}
else {
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
prePatch = ''
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
'';
@@ -275,7 +275,7 @@ final: prev: {
};
node-gyp = prev.node-gyp.override {
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
# Teach node-gyp to use nodejs headers locally rather that download them form https://nodejs.org.
# This is important when build nodejs packages in sandbox.
postInstall = ''
@@ -294,7 +294,7 @@ final: prev: {
};
node2nix = prev.node2nix.override {
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
# We need to use master because of a fix that replaces git:// url to https://.
src = fetchFromGitHub {
owner = "svanderburg";
@@ -316,7 +316,7 @@ final: prev: {
};
pnpm = prev.pnpm.override {
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
preRebuild = ''
sed 's/"link:/"file:/g' --in-place package.json
@@ -335,7 +335,7 @@ final: prev: {
};
postcss-cli = prev.postcss-cli.override (oldAttrs: {
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
postInstall = ''
wrapProgram "$out/bin/postcss" \
--prefix NODE_PATH : ${final.postcss}/lib/node_modules \
@@ -354,7 +354,7 @@ final: prev: {
# version. Then change the correct hash to this package. The PR should hold
# two commits: one for the engines and the other one for the node package.
prisma = prev.prisma.override rec {
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
inherit (pkgs.prisma-engines) version;
@@ -382,7 +382,7 @@ final: prev: {
# tries to install purescript
npmFlags = "--ignore-scripts";
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
postInstall = ''
wrapProgram "$out/bin/pulp" --suffix PATH : ${lib.makeBinPath [
pkgs.purescript
@@ -392,7 +392,7 @@ final: prev: {
reveal-md = prev.reveal-md.override (
lib.optionalAttrs (!stdenv.isDarwin) {
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
prePatch = ''
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
'';
@@ -414,7 +414,7 @@ final: prev: {
tailwindcss = prev.tailwindcss.override {
plugins = [ ];
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
postInstall = ''
nodePath=""
for p in "$out" "${final.postcss}" $plugins; do
@@ -439,7 +439,7 @@ final: prev: {
};
tedicross = prev."tedicross-git+https://github.com/TediCross/TediCross.git#v0.8.7".override {
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
postInstall = ''
makeWrapper '${nodejs}/bin/node' "$out/bin/tedicross" \
--add-flags "$out/lib/node_modules/tedicross/main.js"
@@ -480,7 +480,7 @@ final: prev: {
};
ts-node = prev.ts-node.override {
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
postInstall = ''
wrapProgram "$out/bin/ts-node" \
--prefix NODE_PATH : ${final.typescript}/lib/node_modules
@@ -488,7 +488,7 @@ final: prev: {
};
tsun = prev.tsun.override {
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
postInstall = ''
wrapProgram "$out/bin/tsun" \
--prefix NODE_PATH : ${final.typescript}/lib/node_modules
@@ -496,7 +496,7 @@ final: prev: {
};
typescript-language-server = prev.typescript-language-server.override {
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
postInstall = ''
wrapProgram "$out/bin/typescript-language-server" \
--suffix PATH : ${lib.makeBinPath [ final.typescript ]}
@@ -554,7 +554,7 @@ final: prev: {
};
yaml-language-server = prev.yaml-language-server.override {
- nativeBuildInputs = [ pkgs.makeWrapper ];
+ nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
postInstall = ''
wrapProgram "$out/bin/yaml-language-server" \
--prefix NODE_PATH : ${final.prettier}/lib/node_modules
diff --git a/pkgs/development/python-modules/aioswitcher/default.nix b/pkgs/development/python-modules/aioswitcher/default.nix
index 958467823dc1..5c88d8f8591a 100644
--- a/pkgs/development/python-modules/aioswitcher/default.nix
+++ b/pkgs/development/python-modules/aioswitcher/default.nix
@@ -13,14 +13,14 @@
buildPythonPackage rec {
pname = "aioswitcher";
- version = "2.0.9";
+ version = "2.0.10";
format = "pyproject";
src = fetchFromGitHub {
owner = "TomerFi";
repo = pname;
rev = "refs/tags/${version}";
- sha256 = "sha256-vsMQG664ySMQfdl4tGJKMY0MZXVl39QaFxu7kMtZWCM=";
+ sha256 = "sha256-Me0BvmCfj9bA7TXUHXLYe9a+d7nFnm7RpNVGtAzkBZM=";
};
nativeBuildInputs = [
diff --git a/pkgs/development/python-modules/airthings-ble/default.nix b/pkgs/development/python-modules/airthings-ble/default.nix
new file mode 100644
index 000000000000..fbaae43b9789
--- /dev/null
+++ b/pkgs/development/python-modules/airthings-ble/default.nix
@@ -0,0 +1,46 @@
+{ lib
+, bleak
+, bleak-retry-connector
+, buildPythonPackage
+, fetchFromGitHub
+, poetry-core
+, pythonOlder
+}:
+
+buildPythonPackage rec {
+ pname = "airthings-ble";
+ version = "0.3.0";
+ format = "pyproject";
+
+ disabled = pythonOlder "3.9";
+
+ src = fetchFromGitHub {
+ owner = "vincegio";
+ repo = pname;
+ rev = "v${version}";
+ hash = "sha256-E/+ObY/kO52J0nbyHGsBlqY5OYlnwf3ujAHEd1pEKvo=";
+ };
+
+ nativeBuildInputs = [
+ poetry-core
+ ];
+
+ propagatedBuildInputs = [
+ bleak
+ bleak-retry-connector
+ ];
+
+ # Module has no tests
+ doCheck = false;
+
+ pythonImportsCheck = [
+ "airthings_ble"
+ ];
+
+ meta = with lib; {
+ description = "Library for Airthings BLE devices";
+ homepage = "https://github.com/vincegio/airthings-ble";
+ license = with licenses; [ mit ];
+ maintainers = with maintainers; [ fab ];
+ };
+}
diff --git a/pkgs/development/python-modules/asn1tools/default.nix b/pkgs/development/python-modules/asn1tools/default.nix
index bba82425cc05..9168d9dcb43f 100644
--- a/pkgs/development/python-modules/asn1tools/default.nix
+++ b/pkgs/development/python-modules/asn1tools/default.nix
@@ -6,17 +6,21 @@
, prompt-toolkit
, pyparsing
, python
+, pythonOlder
}:
buildPythonPackage rec {
pname = "asn1tools";
- version = "0.163.0";
+ version = "0.164.0";
+ format = "setuptools";
+
+ disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "eerimoq";
repo = "asn1tools";
- rev = "v${version}";
- sha256 = "sha256-sbwwbwkhlZvCb2emuw1FTBj5pnv9SOtHpAcYPSQqIvM=";
+ rev = version;
+ hash= "sha256-sbwwbwkhlZvCb2emuw1FTBj5pnv9SOtHpAcYPSQqIvM=";
};
propagatedBuildInputs = [
@@ -30,7 +34,9 @@ buildPythonPackage rec {
${python.interpreter} setup.py test
'';
- pythonImportsCheck = [ "asn1tools" ];
+ pythonImportsCheck = [
+ "asn1tools"
+ ];
meta = with lib; {
description = "ASN.1 parsing, encoding and decoding";
diff --git a/pkgs/development/python-modules/bluetooth-adapters/default.nix b/pkgs/development/python-modules/bluetooth-adapters/default.nix
index 039470a7b3e8..1526477644b1 100644
--- a/pkgs/development/python-modules/bluetooth-adapters/default.nix
+++ b/pkgs/development/python-modules/bluetooth-adapters/default.nix
@@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "bluetooth-adapters";
- version = "0.2.0";
+ version = "0.3.0";
format = "pyproject";
disabled = pythonOlder "3.9";
@@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "Bluetooth-Devices";
repo = pname;
rev = "refs/tags/v${version}";
- hash = "sha256-S6ZTUGBLCZ4gaiKTxC8xa4KDBl/zoZQ2vlFuXdcwLmk=";
+ hash = "sha256-PRYu3PTmSg25DiSuLnv1tp1cOZsXHGTmxRA2V39ab4k=";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/bthome-ble/default.nix b/pkgs/development/python-modules/bthome-ble/default.nix
index d053c00f8662..c2e26fcac449 100644
--- a/pkgs/development/python-modules/bthome-ble/default.nix
+++ b/pkgs/development/python-modules/bthome-ble/default.nix
@@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "bthome-ble";
- version = "0.3.8";
+ version = "0.4.0";
format = "pyproject";
disabled = pythonOlder "3.9";
@@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "Bluetooth-Devices";
repo = pname;
rev = "v${version}";
- hash = "sha256-J5i9r2bZtiEOqkQJ6yhTWboqvgo2gsi8z6XeyxtHwSw=";
+ hash = "sha256-pL9b3ocjx81tU+U6C1kOe28HM23dsuE7hkoOUV4YBAQ=";
};
nativeBuildInputs = [
diff --git a/pkgs/development/python-modules/gtimelog/default.nix b/pkgs/development/python-modules/gtimelog/default.nix
index 5870f448db98..532481fbeeba 100644
--- a/pkgs/development/python-modules/gtimelog/default.nix
+++ b/pkgs/development/python-modules/gtimelog/default.nix
@@ -15,8 +15,8 @@ buildPythonPackage rec {
sha256 = "0qv2kv7vc3qqlzxsisgg31cmrkkqgnmxspbj10c5fhdmwzzwi0i9";
};
+ nativeBuildInputs = [ makeWrapper ];
buildInputs = [
- makeWrapper
glibcLocales gobject-introspection gtk3 libsoup libsecret
];
diff --git a/pkgs/development/python-modules/jupyterlab-lsp/default.nix b/pkgs/development/python-modules/jupyterlab-lsp/default.nix
index 069e7c16f0a5..9140e2290d24 100644
--- a/pkgs/development/python-modules/jupyterlab-lsp/default.nix
+++ b/pkgs/development/python-modules/jupyterlab-lsp/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "jupyterlab-lsp";
- version = "3.10.1";
+ version = "3.10.2";
src = fetchPypi {
inherit pname version;
- sha256 = "sha256-mtbvIsSXK4VIB5cDT8eRRyjrePGFa02rM2Fobk8gyd0=";
+ sha256 = "sha256-VZrUaS+X9C3WufCzMKuScD8CuORbuvbpz1mJiolyIqA=";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/life360/default.nix b/pkgs/development/python-modules/life360/default.nix
index 1739881ea96d..7ad697d341b1 100644
--- a/pkgs/development/python-modules/life360/default.nix
+++ b/pkgs/development/python-modules/life360/default.nix
@@ -1,14 +1,14 @@
{ lib
+, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
-, requests
}:
buildPythonPackage rec {
pname = "life360";
- version = "4.1.1";
+ version = "5.0.0";
format = "setuptools";
disabled = pythonOlder "3.8";
@@ -17,11 +17,11 @@ buildPythonPackage rec {
owner = "pnbruckner";
repo = pname;
rev = "v${version}";
- sha256 = "v+j0DBWQb1JdOu+uxJAdWhzef5zB62z+NSQ+WxpsinA=";
+ hash = "sha256-cIyN69rDuP83jjjqJ0Zc1XN8fVMbfhHKfKJNDqi6gdc=";
};
propagatedBuildInputs = [
- requests
+ aiohttp
];
# Project has no tests
diff --git a/pkgs/development/python-modules/mdformat/default.nix b/pkgs/development/python-modules/mdformat/default.nix
index 19b1a743ee49..921ba4d33604 100644
--- a/pkgs/development/python-modules/mdformat/default.nix
+++ b/pkgs/development/python-modules/mdformat/default.nix
@@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "mdformat";
- version = "0.7.15";
+ version = "0.7.16";
format = "pyproject";
disabled = pythonOlder "3.7";
@@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "executablebooks";
repo = pname;
rev = version;
- sha256 = "sha256-Okkkc7cv4OROQ7tP1YMcdXbK6o6wvuzYFLTCqVu/4ck=";
+ sha256 = "sha256-6MWUkvZp5CYUWsbMGXM2gudjn5075j5FIuaNnCrgRNs=";
};
nativeBuildInputs = [
diff --git a/pkgs/development/python-modules/mockito/default.nix b/pkgs/development/python-modules/mockito/default.nix
index 6cb19f037098..494386212d7b 100644
--- a/pkgs/development/python-modules/mockito/default.nix
+++ b/pkgs/development/python-modules/mockito/default.nix
@@ -1,12 +1,12 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k, funcsigs, pytest, numpy }:
buildPythonPackage rec {
- version = "1.3.5";
+ version = "1.4.0";
pname = "mockito";
src = fetchPypi {
inherit pname version;
- sha256 = "sha256-gZko9eR1yM4NWX5wUlj7GQ+A/KflYYVojR595VhmMzc=";
+ sha256 = "sha256-QJq2BMnr4bt9wY7GsO2YqK1RJ7CCc/WASyL00bUeUiI=";
};
propagatedBuildInputs = lib.optionals (!isPy3k) [ funcsigs ];
diff --git a/pkgs/development/python-modules/monai/default.nix b/pkgs/development/python-modules/monai/default.nix
index 74ccf0b1868e..83b55ad55841 100644
--- a/pkgs/development/python-modules/monai/default.nix
+++ b/pkgs/development/python-modules/monai/default.nix
@@ -12,14 +12,14 @@
buildPythonPackage rec {
pname = "monai";
- version = "0.9.0";
+ version = "0.9.1";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Project-MONAI";
repo = "MONAI";
rev = version;
- sha256 = "sha256-HxW9WYxt2a7fS9/1E9DtiH+SCTTJoxYBfgZqskYdcvI=";
+ hash = "sha256-GU439svMHY1qIUZ0gM5c5tt6G1hh9eAHYV+38Munw9I=";
};
# Ninja is not detected by setuptools for some reason even though it's present:
diff --git a/pkgs/development/python-modules/py3status/default.nix b/pkgs/development/python-modules/py3status/default.nix
index 626de02595e3..ac1bbde83c26 100644
--- a/pkgs/development/python-modules/py3status/default.nix
+++ b/pkgs/development/python-modules/py3status/default.nix
@@ -24,11 +24,11 @@
buildPythonPackage rec {
pname = "py3status";
- version = "3.45";
+ version = "3.46";
src = fetchPypi {
inherit pname version;
- sha256 = "sha256-ksZM2PaeYhluq4nyw6MTFjSb/fQNJha7BRc8/U/7zwg=";
+ sha256 = "sha256-T7zaNepat9RQReCeww+kJOBK0vjfdahkjRgx27AWpcE=";
};
doCheck = false;
diff --git a/pkgs/development/python-modules/pygeos/default.nix b/pkgs/development/python-modules/pygeos/default.nix
index c02400fd1970..3b22c119ba20 100644
--- a/pkgs/development/python-modules/pygeos/default.nix
+++ b/pkgs/development/python-modules/pygeos/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "pygeos";
- version = "0.12.0";
+ version = "0.13";
src = fetchPypi {
inherit pname version;
- sha256 = "sha256-PEFULvZ8ZgFfRDrj5uaDUDqKIh+cJPsjgPauQq7RYAo=";
+ sha256 = "sha256-HDcweKrVou/tHDnNcceXqiAzvzCH8191FrrIm+ULmGE=";
};
patches = [
diff --git a/pkgs/development/python-modules/pyhumps/default.nix b/pkgs/development/python-modules/pyhumps/default.nix
index c8356f0e12f7..70366adaa406 100644
--- a/pkgs/development/python-modules/pyhumps/default.nix
+++ b/pkgs/development/python-modules/pyhumps/default.nix
@@ -1,7 +1,6 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
-, fetchpatch
, poetry-core
, pytestCheckHook
, pythonOlder
@@ -9,7 +8,7 @@
buildPythonPackage rec {
pname = "pyhumps";
- version = "3.7.2";
+ version = "3.7.3";
format = "pyproject";
disabled = pythonOlder "3.7";
@@ -18,7 +17,7 @@ buildPythonPackage rec {
owner = "nficano";
repo = "humps";
rev = "v${version}";
- hash = "sha256-nxiNYBpbX2GfzYj+DdU89bsyEHDnrKZIAGZY7ut/P6I=";
+ hash = "sha256-7jkwf4qGQ+AD4/hOrEe/oAPY+gnSySUVBWFf70rU7xc=";
};
nativeBuildInputs = [
@@ -29,15 +28,6 @@ buildPythonPackage rec {
pytestCheckHook
];
- patches = [
- # Fix naming, https://github.com/nficano/humps/pull/246
- (fetchpatch {
- name = "fix-naming.patch";
- url = "https://github.com/nficano/humps/commit/8c7de2040e3610760c4df604cdbe849a9b7f0074.patch";
- sha256 = "sha256-dNgPAOxPdCwDteobP4G2/GiVj/Xg+m7u/Or92vo8ilk=";
- })
- ];
-
pythonImportsCheck = [
"humps"
];
diff --git a/pkgs/development/python-modules/pyunifiprotect/default.nix b/pkgs/development/python-modules/pyunifiprotect/default.nix
index d08086ab4595..00721ea630a3 100644
--- a/pkgs/development/python-modules/pyunifiprotect/default.nix
+++ b/pkgs/development/python-modules/pyunifiprotect/default.nix
@@ -26,7 +26,7 @@
buildPythonPackage rec {
pname = "pyunifiprotect";
- version = "4.1.7";
+ version = "4.1.8";
format = "pyproject";
disabled = pythonOlder "3.9";
@@ -35,7 +35,7 @@ buildPythonPackage rec {
owner = "briis";
repo = pname;
rev = "refs/tags/v${version}";
- hash = "sha256-FaH1fNNWQAe9hLrbLf0TCfcjY6MDmHrsmo3LaEsN3W4=";
+ hash = "sha256-q6fzP1wauwnRUByGc+EQ/vNJgoCWx22Qh2uZeUF4Abk=";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/requests-cache/default.nix b/pkgs/development/python-modules/requests-cache/default.nix
index 569a29d9b5cb..45b03feb461d 100644
--- a/pkgs/development/python-modules/requests-cache/default.nix
+++ b/pkgs/development/python-modules/requests-cache/default.nix
@@ -26,37 +26,22 @@
buildPythonPackage rec {
pname = "requests-cache";
- version = "0.9.5";
+ version = "0.9.6";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
- owner = "reclosedev";
+ owner = "requests-cache";
repo = "requests-cache";
rev = "v${version}";
- hash = "sha256-oVEai7SceZUdsGYlOOMxO6DxMZMVsvqXvEu0cHzq7lY=";
+ hash = "sha256-oFI5Rv/MAiPHiZts0PrNS+YMDFD/RxnMJ6deTxZNkSM=";
};
nativeBuildInputs = [
poetry-core
];
- postPatch = ''
- #
- # There is no functional reason why attrs (and cattrs) need to be
- # restricted, but the versions are in flux right now. Please read
- # and follow the following issue for the latest:
- #
- # https://github.com/requests-cache/requests-cache/issues/675
- #
- # This can be removed once that issue is resolved, or if the new
- # major version is released.
- #
- substituteInPlace pyproject.toml \
- --replace 'attrs = "^21.2"' 'attrs = ">=21.2"'
- '';
-
propagatedBuildInputs = [
appdirs
attrs
diff --git a/pkgs/development/python-modules/tailscale/default.nix b/pkgs/development/python-modules/tailscale/default.nix
index 67a384f4b22b..e3210b443252 100644
--- a/pkgs/development/python-modules/tailscale/default.nix
+++ b/pkgs/development/python-modules/tailscale/default.nix
@@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "tailscale";
- version = "0.2.0";
+ version = "0.3.0";
format = "pyproject";
disabled = pythonOlder "3.8";
@@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "frenck";
repo = "python-tailscale";
rev = "v${version}";
- sha256 = "sha256-/tS9ZMUWsj42n3MYPZJYJELzX3h02AIHeRZmD2SuwWE=";
+ sha256 = "sha256-gGDsVGsCBZi/pxD0cyH3+xrvHVBC+wJCcl/NGqsTqiE=";
};
nativeBuildInputs = [
diff --git a/pkgs/development/python-modules/teslajsonpy/default.nix b/pkgs/development/python-modules/teslajsonpy/default.nix
index f43397fb4b7b..c205d548f5e5 100644
--- a/pkgs/development/python-modules/teslajsonpy/default.nix
+++ b/pkgs/development/python-modules/teslajsonpy/default.nix
@@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "teslajsonpy";
- version = "2.4.2";
+ version = "2.4.3";
format = "pyproject";
disabled = pythonOlder "3.7";
@@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "zabuldon";
repo = pname;
rev = "refs/tags/v${version}";
- sha256 = "sha256-WVyMYmuezTS3GNcIY9Uh+/0+lcgdmoLL6o5d1SFMfvE=";
+ sha256 = "sha256-S2myMuQq1a3IFGwRi2KqHDhyPyJNGNUH9Xp0mBZMNh8=";
};
nativeBuildInputs = [
diff --git a/pkgs/development/python-modules/types-setuptools/default.nix b/pkgs/development/python-modules/types-setuptools/default.nix
index 6fefdd792a3e..16a0906a3b1d 100644
--- a/pkgs/development/python-modules/types-setuptools/default.nix
+++ b/pkgs/development/python-modules/types-setuptools/default.nix
@@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "types-setuptools";
- version = "65.1.0";
+ version = "65.3.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
- sha256 = "sha256-V/fYnqpSpAzLl/LL5heMatkPhDr7Z2gJM/jvFHLaU/g=";
+ sha256 = "sha256-wmd5y7o5R4I8JgNUraq06RyowYiIqit0D1A4RLiPGBM=";
};
# Module doesn't have tests
diff --git a/pkgs/development/ruby-modules/bundled-common/default.nix b/pkgs/development/ruby-modules/bundled-common/default.nix
index 9d01e4531159..4672bad4ca4d 100644
--- a/pkgs/development/ruby-modules/bundled-common/default.nix
+++ b/pkgs/development/ruby-modules/bundled-common/default.nix
@@ -20,6 +20,7 @@
, meta ? {}
, groups ? null
, ignoreCollisions ? false
+, nativeBuildInputs ? []
, buildInputs ? []
, extraConfigPaths ? []
, ...
@@ -102,7 +103,7 @@ let
basicEnvArgs = {
- inherit buildInputs ignoreCollisions;
+ inherit nativeBuildInputs buildInputs ignoreCollisions;
name = name';
diff --git a/pkgs/development/tools/altair-graphql-client/default.nix b/pkgs/development/tools/altair-graphql-client/default.nix
index c4ead0405937..c9e362ecfefc 100644
--- a/pkgs/development/tools/altair-graphql-client/default.nix
+++ b/pkgs/development/tools/altair-graphql-client/default.nix
@@ -2,11 +2,11 @@
let
pname = "altair";
- version = "4.1.0";
+ version = "4.6.2";
src = fetchurl {
url = "https://github.com/imolorhe/altair/releases/download/v${version}/altair_${version}_x86_64_linux.AppImage";
- sha256 = "sha256-YuG7H+7FXYGbNNhM5vxps72dqltcj3bA325e7ZbW8aI=";
+ sha256 = "sha256-D2Ivem7xg4KrAHYxs4Cx7Ekgyc5u2KrjX4miYz11wuI=";
};
appimageContents = appimageTools.extract { inherit pname version src; };
diff --git a/pkgs/development/tools/build-managers/msbuild/default.nix b/pkgs/development/tools/build-managers/msbuild/default.nix
index 31c1b5dc521b..f5b75f8e6696 100644
--- a/pkgs/development/tools/build-managers/msbuild/default.nix
+++ b/pkgs/development/tools/build-managers/msbuild/default.nix
@@ -36,12 +36,12 @@ stdenv.mkDerivation rec {
dotnet-sdk
mono
unzip
+ makeWrapper
];
buildInputs = [
dotnetPackages.Nuget
glibcLocales
- makeWrapper
];
# https://github.com/NixOS/nixpkgs/issues/38991
diff --git a/pkgs/development/tools/changie/default.nix b/pkgs/development/tools/changie/default.nix
new file mode 100644
index 000000000000..de0fd5c16fbd
--- /dev/null
+++ b/pkgs/development/tools/changie/default.nix
@@ -0,0 +1,24 @@
+{ lib, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+ pname = "changie";
+ version = "1.8.0";
+
+ src = fetchFromGitHub {
+ rev = "v${version}";
+ owner = "miniscruff";
+ repo = pname;
+ sha256 = "sha256-VzrSfigpkOvgywq0dHIXZS2If8qc8HCo51FzopKORwM=";
+ };
+
+ vendorSha256 = "sha256-+Q0vNMd8wFz+9bOPfqdPpN2brnUmIf46/9rUYsCTUrQ=";
+
+ meta = with lib; {
+ homepage = "https://changie.dev";
+ description = "Automated changelog tool for preparing releases with lots of customization options";
+ license = licenses.mit;
+ platforms = platforms.unix;
+ maintainers = with maintainers; [ matthiasbeyer ];
+ };
+}
+
diff --git a/pkgs/development/tools/eclipse-mat/default.nix b/pkgs/development/tools/eclipse-mat/default.nix
index dced6c6cde2d..f433c54ad524 100644
--- a/pkgs/development/tools/eclipse-mat/default.nix
+++ b/pkgs/development/tools/eclipse-mat/default.nix
@@ -20,7 +20,7 @@
with lib;
let
- pVersion = "1.12.0.20210602";
+ pVersion = "1.13.0.20220615";
pVersionTriple = splitVersion pVersion;
majorVersion = elemAt pVersionTriple 0;
minorVersion = elemAt pVersionTriple 1;
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "http://ftp.halifax.rwth-aachen.de/eclipse//mat/${baseVersion}/rcp/MemoryAnalyzer-${version}-linux.gtk.x86_64.zip";
- sha256 = "sha256-qX4RPuZdeiEduJAEpzOi/QnbJ+kaD0PZ3WHrmGsvqHc=";
+ sha256 = "sha256-LwtP76kb9xgdcsWCSCXeRbhFVyFS3xkl15F075Cq4Os=";
};
desktopItem = makeDesktopItem {
@@ -79,7 +79,7 @@ stdenv.mkDerivation rec {
mv $out/share/pixmaps/eclipse64.png $out/share/pixmaps/eclipse.png
'';
- nativeBuildInputs = [ unzip ];
+ nativeBuildInputs = [ unzip makeWrapper ];
buildInputs = [
fontconfig
freetype
@@ -90,7 +90,6 @@ stdenv.mkDerivation rec {
libX11
libXrender
libXtst
- makeWrapper
zlib
shared-mime-info
webkitgtk
diff --git a/pkgs/development/tools/haskell/ihaskell/wrapper.nix b/pkgs/development/tools/haskell/ihaskell/wrapper.nix
index d37147253180..3a3b153cfbf2 100644
--- a/pkgs/development/tools/haskell/ihaskell/wrapper.nix
+++ b/pkgs/development/tools/haskell/ihaskell/wrapper.nix
@@ -14,7 +14,7 @@ let
in
buildEnv {
name = "ihaskell-with-packages";
- buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
paths = [ ihaskellEnv jupyter ];
postBuild = ''
ln -s ${ihaskellSh}/bin/ihaskell-notebook $out/bin/
diff --git a/pkgs/development/tools/millet/default.nix b/pkgs/development/tools/millet/default.nix
index 805726a28ad2..75971e7ad342 100644
--- a/pkgs/development/tools/millet/default.nix
+++ b/pkgs/development/tools/millet/default.nix
@@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "millet";
- version = "0.3.2";
+ version = "0.3.5";
src = fetchFromGitHub {
owner = "azdavis";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-iwg4mo8E3RV1NRX/95FXKmDJxcUJDk+sV14ehdI8d68=";
+ sha256 = "sha256-6laSFo8aBmZpeN5V3utZQHIWuoQcdy1hd1yU8LxpEJQ=";
};
- cargoSha256 = "sha256-/3XqnH6x7b319Y3Q5RDCH4FHF2GAaP2kMLSEPeJyNqI=";
+ cargoSha256 = "sha256-bbyeI/cr5aBejiEcYyyyJO8UX5QoIlT9MFgnpDr/z1M=";
cargoBuildFlags = [ "--package" "lang-srv" ];
diff --git a/pkgs/development/tools/misc/devspace/default.nix b/pkgs/development/tools/misc/devspace/default.nix
index 9182c7014130..c0489cdab04b 100644
--- a/pkgs/development/tools/misc/devspace/default.nix
+++ b/pkgs/development/tools/misc/devspace/default.nix
@@ -6,13 +6,13 @@
buildGoModule rec {
pname = "devspace";
- version = "6.0.0";
+ version = "6.0.1";
src = fetchFromGitHub {
owner = "loft-sh";
repo = "devspace";
rev = "v${version}";
- sha256 = "sha256-rYydkAX5nA5IH8FGgLomjgRJkr0Vhk5trbxGHg0FVOI=";
+ sha256 = "sha256-YT/DGxdsMXjCp908U2jfkQpDBPCTNjObdeIj06Bum/U=";
};
vendorSha256 = null;
diff --git a/pkgs/development/tools/misc/dura/Cargo.lock.patch b/pkgs/development/tools/misc/dura/Cargo.lock.patch
new file mode 100644
index 000000000000..48db9caaa291
--- /dev/null
+++ b/pkgs/development/tools/misc/dura/Cargo.lock.patch
@@ -0,0 +1,13 @@
+diff --git i/Cargo.lock w/Cargo.lock
+index e037758..e039531 100644
+--- i/Cargo.lock
++++ w/Cargo.lock
+@@ -106,7 +106,7 @@ dependencies = [
+
+ [[package]]
+ name = "dura"
+-version = "0.2.0-snapshot"
++version = "0.2.0"
+ dependencies = [
+ "chrono",
+ "clap",
diff --git a/pkgs/development/tools/misc/dura/default.nix b/pkgs/development/tools/misc/dura/default.nix
index 621058be664c..ab88298f45a3 100644
--- a/pkgs/development/tools/misc/dura/default.nix
+++ b/pkgs/development/tools/misc/dura/default.nix
@@ -1,22 +1,28 @@
-{ lib, fetchFromGitHub, rustPlatform, openssl, pkg-config }:
+{ lib, stdenv, fetchFromGitHub, rustPlatform, openssl, pkg-config, Security }:
rustPlatform.buildRustPackage rec {
pname = "dura";
- version = "0.1.0";
+ version = "0.2.0";
src = fetchFromGitHub {
owner = "tkellogg";
repo = "dura";
- rev = "v0.1.0";
- sha256 = "sha256-XnsR1oL9iImtj0X7wJ8Pp/An0/AVF5y+sD551yX4IGo=";
+ rev = "v${version}";
+ sha256 = "sha256-xAcFk7z26l4BYYBEw+MvbG6g33MpPUvnpGvgmcqhpGM=";
};
- cargoSha256 = "sha256-+Tq0a5cs2XZoT7yzTf1oIPd3kgD6SyrQqxQ1neTcMwk=";
+ cargoSha256 = "sha256-XOtPtOEKZMJzNeBZBT3Mc/KOjMOcz71byIv/ftcRP48=";
+
+ cargoPatches = [
+ ./Cargo.lock.patch
+ ];
doCheck = false;
buildInputs = [
openssl
+ ] ++ lib.optionals stdenv.isDarwin [
+ Security
];
nativeBuildInputs = [
@@ -34,7 +40,6 @@ rustPlatform.buildRustPackage rec {
'';
homepage = "https://github.com/tkellogg/dura";
license = licenses.asl20;
- platforms = platforms.linux;
maintainers = with maintainers; [ drupol ];
};
}
diff --git a/pkgs/development/tools/oras/default.nix b/pkgs/development/tools/oras/default.nix
index 5d82e5c3a19c..61ed539c46da 100644
--- a/pkgs/development/tools/oras/default.nix
+++ b/pkgs/development/tools/oras/default.nix
@@ -2,15 +2,15 @@
buildGoModule rec {
pname = "oras";
- version = "0.13.0";
+ version = "0.14.0";
src = fetchFromGitHub {
owner = "oras-project";
repo = "oras";
rev = "v${version}";
- sha256 = "sha256-QmyMDmZXOXD+6T+7Xl9kPFeOrkP1styzwwWi5tH9aO0=";
+ sha256 = "sha256-mngFLFZG3JPd+GiiMjmU6OhqC3P7Y+Weaw+UgIVO0KQ=";
};
- vendorSha256 = "sha256-JoSo716o1RmMlAFSauzgzH6ypE/Kxo/PniJ2PGdfKZ8=";
+ vendorSha256 = "sha256-tJSxickFtPx5T5408wbijpYBRXgR5nHL8hZ/yWV83lc=";
ldflags = [
"-s"
diff --git a/pkgs/development/tools/regclient/default.nix b/pkgs/development/tools/regclient/default.nix
index 2eb28d8b36f2..02b8c4e75b92 100644
--- a/pkgs/development/tools/regclient/default.nix
+++ b/pkgs/development/tools/regclient/default.nix
@@ -4,16 +4,16 @@ let bins = [ "regbot" "regctl" "regsync" ]; in
buildGoModule rec {
pname = "regclient";
- version = "0.4.0";
+ version = "0.4.2";
tag = "v${version}";
src = fetchFromGitHub {
owner = "regclient";
repo = "regclient";
rev = tag;
- sha256 = "sha256-AaSl++/i00YAvmvaUSEwLLpItYACtmWEFTuUngl7rkI=";
+ sha256 = "sha256-lx2IQ3NpFuVr4Vb7vFcp/QVZBlLzi4VXFE7Sw3LKIXE=";
};
- vendorSha256 = "sha256-qpZ3RsBOkWqLCDK11vBGkAZJBC7T8hmpmm4ccGeWBus=";
+ vendorSha256 = "sha256-7kDl7gyKFM2gErDhOBCo6T4etwsAJnRpVtaJgv6BefM=";
outputs = [ "out" ] ++ bins;
diff --git a/pkgs/development/tools/rust/cargo-insta/default.nix b/pkgs/development/tools/rust/cargo-insta/default.nix
index 99a19d12405f..92086a575621 100644
--- a/pkgs/development/tools/rust/cargo-insta/default.nix
+++ b/pkgs/development/tools/rust/cargo-insta/default.nix
@@ -2,17 +2,17 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-insta";
- version = "1.15.0";
+ version = "1.18.1";
src = fetchFromGitHub {
owner = "mitsuhiko";
repo = "insta";
rev = version;
- sha256 = "sha256-IwtAd8qhG7FgnC7esipwAbSssVKIirB6GCedgNRPabo=";
+ sha256 = "sha256-yTzLEV4yP6It4KrUPdTgIJrocW+VToOeyaSvOSQRVMU=";
};
sourceRoot = "source/cargo-insta";
- cargoSha256 = "sha256-asWf+wIOpbZx9YOw5c4prg2D6FSRCTcc5FgWY93MNII=";
+ cargoSha256 = "sha256-y9o2sNiDIYKzrsgG+tA17PswR6DZn7ms8n5EG/J9oOU=";
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
meta = with lib; {
diff --git a/pkgs/development/tools/stylua/default.nix b/pkgs/development/tools/stylua/default.nix
index 7e234eef66c3..383a6534671b 100644
--- a/pkgs/development/tools/stylua/default.nix
+++ b/pkgs/development/tools/stylua/default.nix
@@ -3,20 +3,29 @@
, rustPlatform
, lua52Support ? true
, luauSupport ? false
+, fetchpatch
}:
rustPlatform.buildRustPackage rec {
pname = "stylua";
- version = "0.14.2";
+ version = "0.14.3";
src = fetchFromGitHub {
owner = "johnnymorganz";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-FqtpMRR647YiIIduIf37rKewytXgRl01OCmBUXd/44k=";
+ sha256 = "sha256-l4q6Qlgdxgm4K5+NkWMZI3Hhtx6m/0DG9PE4gvo/ylo=";
};
- cargoSha256 = "sha256-Z5W1eJUHFFuHRSemXspW3gUhiAieyUg/6lIVvqAL/Oo=";
+ cargoSha256 = "sha256-zlk9KdiSKWknyuJTTqpzCeSJUXJGDK2A0g1ss8AHoYs=";
+
+ cargoPatches = [
+ # fixes broken 0.14.3 lockfile
+ (fetchpatch {
+ url = "https://github.com/JohnnyMorganz/StyLua/commit/834f632f67af6425e7773eaade8d23a880946843.patch";
+ sha256 = "sha256-oM2gaILwiNMqTGFRQBw6/fxbjljNWxeIb0lcXcAJR3w=";
+ })
+ ];
buildFeatures = lib.optional lua52Support "lua52"
++ lib.optional luauSupport "luau";
diff --git a/pkgs/development/web/wml/default.nix b/pkgs/development/web/wml/default.nix
index ff3d20f16dab..57892920c8d7 100644
--- a/pkgs/development/web/wml/default.nix
+++ b/pkgs/development/web/wml/default.nix
@@ -23,8 +23,9 @@ perlPackages.buildPerlPackage {
sed -i '/p2_mp4h\/doc/d' Makefile.in
'';
+ nativeBuildInputs = [ makeWrapper ];
buildInputs = with perlPackages;
- [ perl TermReadKey GD BitVector ncurses lynx makeWrapper ImageSize ];
+ [ perl TermReadKey GD BitVector ncurses lynx ImageSize ];
patches = [ ./redhat-with-thr.patch ./dynaloader.patch ./no_bitvector.patch ];
diff --git a/pkgs/games/everspace/default.nix b/pkgs/games/everspace/default.nix
new file mode 100644
index 000000000000..157a3bf45e93
--- /dev/null
+++ b/pkgs/games/everspace/default.nix
@@ -0,0 +1,102 @@
+{
+ # Packaging Dependencies
+ lib, stdenv, requireFile, autoPatchelfHook, unzip,
+
+ # Everspace Dependencies
+ cairo, gdk-pixbuf, pango, gtk2-x11, libGL, openal,
+
+ # Unreal Engine 4 Dependencies
+ xorg
+}:
+
+# Known issues:
+# - Video playback (upon starting a new game) does not work (screen is black)
+stdenv.mkDerivation {
+ pname = "everspace";
+ version = "1.3.5.3655";
+
+ src = requireFile {
+ name = "everspace_1_3_5_3655_32896.sh";
+ url = "https://www.gog.com/";
+ sha256 = "0jlvxq14k1pxmbr08y8kar0ijlqxcnkfqlvw883j96v9zr34ynj3";
+ };
+
+ nativeBuildInputs = [
+ autoPatchelfHook
+ unzip
+ ];
+
+ buildInputs = [
+ cairo
+ gdk-pixbuf
+ pango
+ gtk2-x11
+ openal
+ stdenv.cc.cc.lib
+ ];
+
+ runtimeDependencies = [
+ libGL
+
+ # ue4
+ xorg.libX11
+ xorg.libXScrnSaver
+ xorg.libXau
+ xorg.libXcursor
+ xorg.libXext
+ xorg.libXfixes
+ xorg.libXi
+ xorg.libXrandr
+ xorg.libXrender
+ xorg.libXxf86vm
+ xorg.libxcb
+ ];
+
+ unpackPhase = ''
+ runHook preUnpack
+
+ # The shell script contains a zip file. Unzipping it works but will result
+ # in some error output and an error exit code.
+ unzip "$src" || true
+
+ runHook postUnpack
+ '';
+
+ postPatch = ''
+ ## Remove Bundled Libs ##
+
+ # vlc libs
+ #
+ # TODO: This is probably what breaks video playback. It would be cleaner
+ # to remove the bundled libs and replace them with system libs but there
+ # are so many. Copy-pasting the list from the vlc package is a good start
+ # but still leaves us with many unresolved dependencies.
+ rm -rf ./data/noarch/game/RSG/Plugins/VlcMedia
+
+ # openal
+ rm -rf ./data/noarch/game/Engine/Binaries/ThirdParty/OpenAL
+ '';
+
+ dontConfigure = true;
+ dontBuild = true;
+
+ installPhase = ''
+ runHook preInstall
+
+ mkdir -p "$out/opt"
+ cp -r "./data/noarch" "$out/opt/everspace"
+
+ mkdir -p "$out/bin"
+ ln -s "$out/opt/everspace/game/RSG/Binaries/Linux/RSG-Linux-Shipping" "$out/bin/everspace"
+
+ runHook postInstall
+ '';
+
+ meta = with lib; {
+ description = "Action-focused single-player space shooter with roguelike elements";
+ homepage = "https://classic.everspace-game.com/";
+ license = licenses.unfree;
+ maintainers = with maintainers; [ jtrees ];
+ platforms = [ "x86_64-linux" ];
+ };
+}
diff --git a/pkgs/games/frogatto/default.nix b/pkgs/games/frogatto/default.nix
index fa6b46e0751f..e141b68e88d3 100644
--- a/pkgs/games/frogatto/default.nix
+++ b/pkgs/games/frogatto/default.nix
@@ -18,7 +18,7 @@ let
in buildEnv {
name = "frogatto-${version}";
- buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
paths = [ engine data desktopItem ];
pathsToLink = [
"/bin"
diff --git a/pkgs/games/megaglest/default.nix b/pkgs/games/megaglest/default.nix
index 6a21a74f70b4..52949cf18aae 100644
--- a/pkgs/games/megaglest/default.nix
+++ b/pkgs/games/megaglest/default.nix
@@ -37,9 +37,9 @@ stdenv.mkDerivation {
})
];
- nativeBuildInputs = [ cmake pkg-config ];
- buildInputs = [ git curl SDL2 xercesc openal lua libpng libjpeg libvlc wxGTK
- glib cppunit fontconfig freetype ftgl glew libogg libvorbis makeWrapper libGLU ];
+ nativeBuildInputs = [ cmake pkg-config makeWrapper git ];
+ buildInputs = [ curl SDL2 xercesc openal lua libpng libjpeg libvlc wxGTK
+ glib cppunit fontconfig freetype ftgl glew libogg libvorbis libGLU ];
cmakeFlags = [
"-DCMAKE_INSTALL_PREFIX=$out"
diff --git a/pkgs/games/nanosaur/default.nix b/pkgs/games/nanosaur/default.nix
index 0d5ea528a92d..4b2509275269 100644
--- a/pkgs/games/nanosaur/default.nix
+++ b/pkgs/games/nanosaur/default.nix
@@ -12,10 +12,9 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
- nativeBuildInputs = [ cmake ];
+ nativeBuildInputs = [ cmake makeWrapper ];
buildInputs = [
SDL2
- makeWrapper
];
configurePhase = ''
diff --git a/pkgs/games/space-cadet-pinball/default.nix b/pkgs/games/space-cadet-pinball/default.nix
index 0c991d727e28..3957bf4fc1bc 100644
--- a/pkgs/games/space-cadet-pinball/default.nix
+++ b/pkgs/games/space-cadet-pinball/default.nix
@@ -33,11 +33,10 @@ stdenv.mkDerivation rec {
})
];
- nativeBuildInputs = [ cmake ];
+ nativeBuildInputs = [ cmake makeWrapper ];
buildInputs = [
SDL2
SDL2_mixer
- makeWrapper
] ++ lib.optional stdenv.isDarwin Cocoa;
# Darwin needs a custom installphase since it is excluded from the cmake install
diff --git a/pkgs/games/stuntrally/default.nix b/pkgs/games/stuntrally/default.nix
index 537a3f83a036..706fd23c65c6 100644
--- a/pkgs/games/stuntrally/default.nix
+++ b/pkgs/games/stuntrally/default.nix
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
ln -s ${tracks} data/tracks
'';
- nativeBuildInputs = [ cmake pkg-config ];
+ nativeBuildInputs = [ cmake pkg-config makeWrapper ];
buildInputs = [
boost
ogre
@@ -45,7 +45,6 @@ stdenv.mkDerivation rec {
ois
SDL2
libvorbis
- makeWrapper
enet
libXcursor
bullet
diff --git a/pkgs/games/xconq/default.nix b/pkgs/games/xconq/default.nix
index 2d28090c595c..ee6748676bd3 100644
--- a/pkgs/games/xconq/default.nix
+++ b/pkgs/games/xconq/default.nix
@@ -10,8 +10,8 @@ stdenv.mkDerivation rec {
sha256 = "1za78yx57mgwcmmi33wx3533yz1x093dnqis8q2qmqivxav51lca";
};
- buildInputs = [ cpio xorgproto libX11 libXmu libXaw libXt tcl tk libXext
- fontconfig makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
+ buildInputs = [ cpio xorgproto libX11 libXmu libXaw libXt tcl tk libXext fontconfig ];
configureFlags = [
"--enable-alternate-scoresdir=scores"
diff --git a/pkgs/misc/cups/filters.nix b/pkgs/misc/cups/filters.nix
index fdf4f163ba85..e44c9634b0f4 100644
--- a/pkgs/misc/cups/filters.nix
+++ b/pkgs/misc/cups/filters.nix
@@ -33,11 +33,11 @@ let
in
stdenv.mkDerivation rec {
pname = "cups-filters";
- version = "1.28.12";
+ version = "1.28.15";
src = fetchurl {
url = "https://openprinting.org/download/cups-filters/${pname}-${version}.tar.xz";
- sha256 = "sha256-RuLqPYhK0iK7hjzmUR5ZzzkO+Og1KVvkSoDlALKjOjo=";
+ sha256 = "sha256-qQfsdp+7cu+/v5tUCyUKCOM7bjc6inw0P5hA+6TQR4s=";
};
nativeBuildInputs = [ pkg-config makeWrapper ];
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index 012b5811f7c4..8211860b62f5 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -878,6 +878,9 @@ let
SCSI_LOGGING = yes; # SCSI logging facility
SERIAL_8250 = yes; # 8250/16550 and compatible serial support
+ SLAB_FREELIST_HARDENED = whenAtLeast "4.14" yes;
+ SLAB_FREELIST_RANDOM = whenAtLeast "4.10" yes;
+
SLIP_COMPRESSED = yes; # CSLIP compressed headers
SLIP_SMART = yes;
diff --git a/pkgs/os-specific/linux/kmscon/default.nix b/pkgs/os-specific/linux/kmscon/default.nix
index f48895fc017e..fb44fba22f5b 100644
--- a/pkgs/os-specific/linux/kmscon/default.nix
+++ b/pkgs/os-specific/linux/kmscon/default.nix
@@ -1,31 +1,37 @@
-{ lib, stdenv
+{ lib
+, stdenv
, fetchFromGitHub
-, autoreconfHook
+, fetchpatch
+, meson
, libtsm
, systemd
, libxkbcommon
, libdrm
-, libGLU, libGL
+, libGLU
+, libGL
, pango
, pixman
, pkg-config
, docbook_xsl
, libxslt
+, mesa
+, ninja
}:
stdenv.mkDerivation rec {
pname = "kmscon";
- version = "unstable-2018-09-07";
+ version = "9.0.0";
src = fetchFromGitHub {
owner = "Aetf";
repo = "kmscon";
- rev = "01dd0a231e2125a40ceba5f59fd945ff29bf2cdc";
- sha256 = "0q62kjsvy2iwy8adfiygx2bfwlh83rphgxbis95ycspqidg9py87";
+ rev = "v${version}";
+ sha256 = "sha256-8owyyzCrZVbWXcCR+RA+m0MOrdzW+efI+rIMWEVEZ1o=";
};
buildInputs = [
- libGLU libGL
+ libGLU
+ libGL
libdrm
libtsm
libxkbcommon
@@ -33,14 +39,28 @@ stdenv.mkDerivation rec {
pango
pixman
systemd
+ mesa
];
nativeBuildInputs = [
- autoreconfHook
+ meson
+ ninja
docbook_xsl
pkg-config
];
+ patches = [
+ (fetchpatch {
+ name = "0001-tests-fix-warnings.patch";
+ url = "https://github.com/Aetf/kmscon/commit/b65f4269b03de580923ab390bde795e7956b633f.patch";
+ sha256 = "sha256-ngflPwmNMM/2JzhV+hHiH3efQyoSULfqEywzWox9iAQ=";
+ })
+ ];
+
+ # _FORTIFY_SOURCE requires compiling with optimization (-O)
+ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-O"
+ + " -Wno-error=maybe-uninitialized"; # https://github.com/Aetf/kmscon/issues/49
+
configureFlags = [
"--enable-multi-seat"
"--disable-debug"
diff --git a/pkgs/os-specific/linux/rtl8812au/default.nix b/pkgs/os-specific/linux/rtl8812au/default.nix
index 30f04c1eb8b3..03a5c0f4aeb4 100644
--- a/pkgs/os-specific/linux/rtl8812au/default.nix
+++ b/pkgs/os-specific/linux/rtl8812au/default.nix
@@ -2,19 +2,17 @@
stdenv.mkDerivation rec {
pname = "rtl8812au";
- version = "${kernel.version}-5.9.3.2.20210427";
+ version = "${kernel.version}-unstable-2022-08-22";
src = fetchFromGitHub {
- owner = "gordboy";
- repo = "rtl8812au-5.9.3.2";
- rev = "6ef5d8fcdb0b94b7490a9a38353877708fca2cd4";
- sha256 = "sha256-czExf4z0nf7XEJ1YnRSB3CrGV6NTmUKDiZjLmrh6Hwo=";
+ owner = "morrownr";
+ repo = "8812au-20210629";
+ rev = "7aa0e0c74551b4e4f319f4b54e00ccbfe588b7ce";
+ sha256 = "sha256-BHC1DpWHv/1UvSfj6S5fo/ODZ1VDgLQO2A9EC+BR1JE=";
};
nativeBuildInputs = [ bc nukeReferences ];
-
buildInputs = kernel.moduleBuildDependencies;
-
hardeningDisable = [ "pic" "format" ];
prePatch = ''
@@ -46,10 +44,9 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Driver for Realtek 802.11ac, rtl8812au, provides the 8812au mod";
- homepage = "https://github.com/gordboy/rtl8812au-5.9.3.2";
+ homepage = "https://github.com/morrownr/8812au-20210629";
license = licenses.gpl2Only;
platforms = platforms.linux;
maintainers = with maintainers; [ fortuneteller2k ];
- broken = kernel.kernelOlder "4.10" || kernel.kernelAtLeast "5.15" || kernel.isHardened;
};
}
diff --git a/pkgs/os-specific/linux/sysvinit/default.nix b/pkgs/os-specific/linux/sysvinit/default.nix
index 091584a93cf4..87b5b81066c2 100644
--- a/pkgs/os-specific/linux/sysvinit/default.nix
+++ b/pkgs/os-specific/linux/sysvinit/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = if withoutInitTools then "sysvtools" else "sysvinit";
- version = "3.01";
+ version = "3.04";
src = fetchurl {
url = "mirror://savannah/sysvinit/sysvinit-${version}.tar.xz";
- sha256 = "sha256-aLEaR3LNrM5ftlpMvq0ySizjmZ0Ti0/2HcLVnlfvV5M=";
+ sha256 = "sha256-KmIf5uRSi8kTCLdIZ92q6733dT8COVwMW66Be9K346U=";
};
prePatch = ''
diff --git a/pkgs/os-specific/linux/wiringpi/default.nix b/pkgs/os-specific/linux/wiringpi/default.nix
new file mode 100644
index 000000000000..a06e25b9eb8e
--- /dev/null
+++ b/pkgs/os-specific/linux/wiringpi/default.nix
@@ -0,0 +1,78 @@
+{ lib
+, stdenv
+, symlinkJoin
+, fetchFromGitHub
+}:
+
+let
+ version = "2.61-1";
+ mkSubProject = { subprj # The only mandatory argument
+ , buildInputs ? []
+ , src ? fetchFromGitHub {
+ owner = "WiringPi";
+ repo = "WiringPi";
+ rev = version;
+ sha256 = "sha256-VxAaPhaPXd9xYt663Ju6SLblqiSLizauhhuFqCqbO5M=";
+ }
+ }: stdenv.mkDerivation rec {
+ pname = "wiringpi-${subprj}";
+ inherit version src;
+ sourceRoot = "source/${subprj}";
+ inherit buildInputs;
+ # Remove (meant for other OSs) lines from Makefiles
+ preInstall = ''
+ sed -i "/chown root/d" Makefile
+ sed -i "/chmod/d" Makefile
+ '';
+ makeFlags = [
+ "DESTDIR=${placeholder "out"}"
+ "PREFIX=/."
+ # On NixOS we don't need to run ldconfig during build:
+ "LDCONFIG=echo"
+ ];
+ };
+ passthru = {
+ inherit mkSubProject;
+ wiringPi = mkSubProject {
+ subprj = "wiringPi";
+ };
+ devLib = mkSubProject {
+ subprj = "devLib";
+ buildInputs = [
+ passthru.wiringPi
+ ];
+ };
+ wiringPiD = mkSubProject {
+ subprj = "wiringPiD";
+ buildInputs = [
+ passthru.wiringPi
+ passthru.devLib
+ ];
+ };
+ gpio = mkSubProject {
+ subprj = "gpio";
+ buildInputs = [
+ passthru.wiringPi
+ passthru.devLib
+ ];
+ };
+ };
+in
+
+symlinkJoin {
+ name = "wiringpi-${version}";
+ inherit passthru;
+ paths = [
+ passthru.wiringPi
+ passthru.devLib
+ passthru.wiringPiD
+ passthru.gpio
+ ];
+ meta = with lib; {
+ description = "Gordon's Arduino wiring-like WiringPi Library for the Raspberry Pi (Unofficial Mirror for WiringPi bindings)";
+ homepage = "https://github.com/WiringPi/WiringPi";
+ license = licenses.lgpl3Plus;
+ maintainers = with maintainers; [ doronbehar ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/servers/dns/bind/default.nix b/pkgs/servers/dns/bind/default.nix
index b8838b2bfcb5..1406cc7d7700 100644
--- a/pkgs/servers/dns/bind/default.nix
+++ b/pkgs/servers/dns/bind/default.nix
@@ -8,11 +8,11 @@
stdenv.mkDerivation rec {
pname = "bind";
- version = "9.18.5";
+ version = "9.18.6";
src = fetchurl {
url = "https://downloads.isc.org/isc/bind9/${version}/${pname}-${version}.tar.xz";
- sha256 = "sha256-DO4HjXTwvcTsN0Q1Amsl3niS8mVAoYsioC73KKEdyuc=";
+ sha256 = "sha256-1DoP7QPHdNFoXSA1mCGMC3d0qI/MOQoBcHENX+t/v/E=";
};
outputs = [ "out" "lib" "dev" "man" "dnsutils" "host" ];
diff --git a/pkgs/servers/firebird/default.nix b/pkgs/servers/firebird/default.nix
index 6f5d22462fb6..3f98beede3ab 100644
--- a/pkgs/servers/firebird/default.nix
+++ b/pkgs/servers/firebird/default.nix
@@ -10,7 +10,7 @@ let base = {
changelog = "https://github.com/FirebirdSQL/firebird/blob/master/CHANGELOG.md";
license = [ "IDPL" "Interbase-1.0" ];
platforms = platforms.linux;
- maintainers = with maintainers; [ marcweber ];
+ maintainers = with maintainers; [ marcweber superherointj ];
};
nativeBuildInputs = [ autoreconfHook ];
@@ -55,13 +55,13 @@ let base = {
});
firebird_3 = stdenv.mkDerivation (base // rec {
- version = "3.0.9";
+ version = "3.0.10";
src = fetchFromGitHub {
owner = "FirebirdSQL";
repo = "firebird";
rev = "v${version}";
- sha256 = "0axgw4zzb7f7yszr8s7svnspv3mgyvpbkb0b3w6c70fnj10hw21c";
+ sha256 = "sha256-PT2b3989n/7xLGNREWinEey9SGnAXShITdum+yiFlHY=";
};
buildInputs = base.buildInputs ++ [ zlib libtommath ];
@@ -70,13 +70,13 @@ let base = {
});
firebird_4 = stdenv.mkDerivation (base // rec {
- version = "4.0.1";
+ version = "4.0.2";
src = fetchFromGitHub {
owner = "FirebirdSQL";
repo = "firebird";
rev = "v${version}";
- sha256 = "sha256-0XUu1g/VTrklA3vCpX6HWr7sdW2eQupnelpFNSGcouM=";
+ sha256 = "sha256-hddW/cozboGw693q4k5f4+x9ccQFWFytXPUaBVkFnL4=";
};
buildInputs = base.buildInputs ++ [ zlib unzip libtommath libtomcrypt ];
diff --git a/pkgs/servers/imgproxy/default.nix b/pkgs/servers/imgproxy/default.nix
index a46efc07fa83..7ff6003e29dd 100644
--- a/pkgs/servers/imgproxy/default.nix
+++ b/pkgs/servers/imgproxy/default.nix
@@ -3,16 +3,16 @@
buildGoModule rec {
pname = "imgproxy";
- version = "3.3.3";
+ version = "3.7.2";
src = fetchFromGitHub {
owner = pname;
repo = pname;
- sha256 = "sha256-VS2EZUMUvzuSP/Rs0pY0qo5VcB9VU3+IzZG6AdTrhmk=";
+ sha256 = "sha256-ggQOVBYdTmrkThzJSYjxk6Y9znq4dHvSX6ATjyhoHsw=";
rev = "v${version}";
};
- vendorSha256 = "sha256-Rp0vTtpdKpYg/7UjX73Qwxu6dOqDr24nqp41fKN1IYw=";
+ vendorSha256 = "sha256-LrUdOkapPwR9vtecQM0vn/B5fppMUW3luxT7pPelvvU=";
nativeBuildInputs = [ pkg-config ];
diff --git a/pkgs/servers/jackett/default.nix b/pkgs/servers/jackett/default.nix
index c70438f5642f..330120bec0bd 100644
--- a/pkgs/servers/jackett/default.nix
+++ b/pkgs/servers/jackett/default.nix
@@ -9,13 +9,13 @@
buildDotnetModule rec {
pname = "jackett";
- version = "0.20.1473";
+ version = "0.20.1768";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
- sha256 = "5HrdlBk/MKBW1Y5WsKRRxF1vYagsQnCBo5a1lhMDklE=";
+ sha256 = "fyaAz17PSyenf8fHl9M3cFrCgKNGJ/7arzDseh4twQw=";
};
projectFile = "src/Jackett.Server/Jackett.Server.csproj";
diff --git a/pkgs/servers/jackett/deps.nix b/pkgs/servers/jackett/deps.nix
index 1652efc78979..7c3787944ba5 100644
--- a/pkgs/servers/jackett/deps.nix
+++ b/pkgs/servers/jackett/deps.nix
@@ -8,7 +8,7 @@
(fetchNuGet { pname = "CommandLineParser"; version = "2.8.0"; sha256 = "1m32xyilv2b7k55jy8ddg08c20glbcj2yi545kxs9hj2ahanhrbb"; })
(fetchNuGet { pname = "coverlet.msbuild"; version = "3.1.0"; sha256 = "1rx5x2zks2aryy6mbly86a83gxzm0y7bbx9834b3224673rs7ra0"; })
(fetchNuGet { pname = "DotNet4.SocksProxy"; version = "1.4.0.1"; sha256 = "1ig2a9ism041a6qrqkxa9xhvp19yxzcadlap5i1kz97f05a2msvb"; })
- (fetchNuGet { pname = "FlareSolverrSharp"; version = "2.2.4"; sha256 = "17q1nwvlwzg8qhrzdwliwijz9sd68jrwwf2alh8kc0sxx3zaj4l5"; })
+ (fetchNuGet { pname = "FlareSolverrSharp"; version = "2.2.6"; sha256 = "0ls35kkmwh83xz6aw3506213p6nq1c6x7y0asa09i2nwvh1yfbpv"; })
(fetchNuGet { pname = "FluentAssertions"; version = "6.2.0"; sha256 = "10zhr7hgzm9w0gfg0sa0h2qdlna0w7n2jl72s4j7hi6mf68px2xm"; })
(fetchNuGet { pname = "Microsoft.AspNetCore"; version = "2.2.0"; sha256 = "0vsv7hcsmnsgqhs67zp207n7m9ix3dbwm1p2ch3dizkcdvz235f9"; })
(fetchNuGet { pname = "Microsoft.AspNetCore.Antiforgery"; version = "2.2.0"; sha256 = "026wjdwjx0lgccqv0xi5gxylxzgz5ifgxf25p5pqakgrhkz0a59l"; })
diff --git a/pkgs/servers/monitoring/prometheus/sachet.nix b/pkgs/servers/monitoring/prometheus/sachet.nix
new file mode 100644
index 000000000000..7bf7b4dc26a5
--- /dev/null
+++ b/pkgs/servers/monitoring/prometheus/sachet.nix
@@ -0,0 +1,25 @@
+{ lib
+, buildGoModule
+, fetchFromGitHub
+}:
+
+buildGoModule rec {
+ pname = "sachet";
+ version = "0.3.1";
+
+ src = fetchFromGitHub {
+ owner = "messagebird";
+ repo = pname;
+ rev = version;
+ sha256 = "sha256-zcFViE1/B+wrkxZ3YIyfy2IBbxLvXOf8iK/6eqZb1ZQ=";
+ };
+
+ vendorSha256 = null;
+
+ meta = with lib; {
+ description = "An SMS alerting tool for Prometheus's Alertmanager";
+ homepage = "https://github.com/messagebird/sachet";
+ license = licenses.bsd2;
+ maintainers = with maintainers; [ govanify ];
+ };
+}
diff --git a/pkgs/servers/monitoring/sensu-go/default.nix b/pkgs/servers/monitoring/sensu-go/default.nix
index 883771e424ef..961ae748b250 100644
--- a/pkgs/servers/monitoring/sensu-go/default.nix
+++ b/pkgs/servers/monitoring/sensu-go/default.nix
@@ -4,19 +4,19 @@ let
generic = { subPackages, pname, postInstall ? "", mainProgram }:
buildGoModule rec {
inherit pname;
- version = "6.6.6";
+ version = "6.7.5";
shortRev = "3a1ac58"; # for internal version info
src = fetchFromGitHub {
owner = "sensu";
repo = "sensu-go";
rev = "v${version}";
- sha256 = "sha256-//ZJV34H5c16QjppIH5hyk9eKrfEzKdL6GCVTp/k8Uo=";
+ sha256 = "sha256-xzx6MaTkmCNDJiroaLFlQmaxUF0Zo4ZNT/7huzef61U=";
};
inherit subPackages postInstall;
- vendorSha256 = "sha256-ha8HHd2jYx+rKvRN3FPDZiO180bWciiiRD5yn2gztLk=";
+ vendorSha256 = "sha256-ptBGCI3mLAsWhnIA1kUVZxHeBlEpsYoFTSF2kPTq2PM=";
doCheck = false;
diff --git a/pkgs/servers/nosql/redis/default.nix b/pkgs/servers/nosql/redis/default.nix
index 7dc692e113cc..62975bdb1d9e 100644
--- a/pkgs/servers/nosql/redis/default.nix
+++ b/pkgs/servers/nosql/redis/default.nix
@@ -14,17 +14,6 @@ stdenv.mkDerivation rec {
sha256 = "sha256-8OZf2nTESj3U+p1RLU1Ngz3Qk5yTTpRqXGIqYw0Ffy8=";
};
- # Cross-compiling fixes
- configurePhase = ''
- runHook preConfigure
- ${lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
- # This fixes hiredis, which has the AR awkwardly coded.
- # Probably a good candidate for a patch upstream.
- makeFlagsArray+=('STLIB_MAKE_CMD=${stdenv.cc.targetPrefix}ar rcs $(STLIBNAME)')
- ''}
- runHook postConfigure
- '';
-
nativeBuildInputs = [ pkg-config ];
buildInputs = [ lua ]
diff --git a/pkgs/servers/pulseaudio/default.nix b/pkgs/servers/pulseaudio/default.nix
index ee2c0e0bd1c5..760a0a5511bd 100644
--- a/pkgs/servers/pulseaudio/default.nix
+++ b/pkgs/servers/pulseaudio/default.nix
@@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
# but use a conventional runtime sysconfdir outside the store
./add-option-for-installation-sysconfdir.patch
# https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/654
- (./0001-Make-gio-2.0-optional-${lib.versions.major version}.patch)
+ (./. + "/0001-Make-gio-2.0-optional-${lib.versions.major version}.patch")
# TODO (not sent upstream)
./0002-Ignore-SCM_CREDS-on-darwin.patch
./0003-Ignore-HAVE_CPUID_H-on-aarch64-darwin.patch
diff --git a/pkgs/servers/slimserver/default.nix b/pkgs/servers/slimserver/default.nix
index 7296635c7ddc..987e3770e982 100644
--- a/pkgs/servers/slimserver/default.nix
+++ b/pkgs/servers/slimserver/default.nix
@@ -21,8 +21,8 @@ perlPackages.buildPerlPackage rec {
hash = "sha256-P4CSu/ff6i48uWV5gXsJgayZ1S1s0RAqa5O5y3Y0g9Y=";
};
+ nativeBuildInputs = [ makeWrapper ];
buildInputs = [
- makeWrapper
perlPackages.perl
perlPackages.AnyEvent
perlPackages.ArchiveZip
diff --git a/pkgs/servers/sql/postgresql/default.nix b/pkgs/servers/sql/postgresql/default.nix
index 364f574250bd..942ede627069 100644
--- a/pkgs/servers/sql/postgresql/default.nix
+++ b/pkgs/servers/sql/postgresql/default.nix
@@ -176,7 +176,7 @@ let
postgresql.lib
postgresql.man # in case user installs this into environment
];
- buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
# We include /bin to ensure the $out/bin directory is created, which is
diff --git a/pkgs/servers/sql/postgresql/ext/pg_hll.nix b/pkgs/servers/sql/postgresql/ext/pg_hll.nix
index b3fe24bfb953..71533645ef0c 100644
--- a/pkgs/servers/sql/postgresql/ext/pg_hll.nix
+++ b/pkgs/servers/sql/postgresql/ext/pg_hll.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
pname = "pg_hll";
- version = "2.16";
+ version = "2.17";
buildInputs = [ postgresql ];
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
owner = "citusdata";
repo = "postgresql-hll";
rev = "refs/tags/v${version}";
- sha256 = "0icns4m3dkm20fs6gznciwsb8ba8gcc316igz6j7qwjdnyg2ppbf";
+ sha256 = "sha256-KYpyidy7t7v9puNjjmif16uz383zlo521luZpH3w/1I=";
};
installPhase = ''
diff --git a/pkgs/servers/sql/postgresql/ext/pg_ivm.nix b/pkgs/servers/sql/postgresql/ext/pg_ivm.nix
new file mode 100644
index 000000000000..7e19ce2956a1
--- /dev/null
+++ b/pkgs/servers/sql/postgresql/ext/pg_ivm.nix
@@ -0,0 +1,30 @@
+{ lib, stdenv, fetchFromGitHub, postgresql }:
+
+stdenv.mkDerivation rec {
+ pname = "pg_ivm";
+ version = "1.2";
+
+ src = fetchFromGitHub {
+ owner = "sraoss";
+ repo = pname;
+ rev = "v${version}";
+ hash = "sha256-q/iAMrT9npmtIKFKi/vSeYGvFSE+SgsKTP08YfBOpik=";
+ };
+
+ buildInputs = [ postgresql ];
+
+ installPhase = ''
+ install -D -t $out/lib *.so
+ install -D -t $out/share/postgresql/extension *.sql
+ install -D -t $out/share/postgresql/extension *.control
+ '';
+
+ meta = with lib; {
+ description = "Materialized views with IVM (Incremental View Maintenance) for PostgreSQL";
+ homepage = "https://github.com/sraoss/pg_ivm";
+ maintainers = with maintainers; [ ivan ];
+ platforms = postgresql.meta.platforms;
+ license = licenses.postgresql;
+ broken = versionOlder postgresql.version "13";
+ };
+}
diff --git a/pkgs/servers/sql/postgresql/ext/pg_topn.nix b/pkgs/servers/sql/postgresql/ext/pg_topn.nix
index 3a0c1ea1f26e..ec236b4d9168 100644
--- a/pkgs/servers/sql/postgresql/ext/pg_topn.nix
+++ b/pkgs/servers/sql/postgresql/ext/pg_topn.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
pname = "pg_topn";
- version = "2.4.0";
+ version = "2.5.0";
buildInputs = [ postgresql ];
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
owner = "citusdata";
repo = "postgresql-topn";
rev = "refs/tags/v${version}";
- sha256 = "1appxriw7h29kyhv3h6b338g5m2nz70q3mxasy4mjimqhbz1zyqs";
+ sha256 = "sha256-BqOPnIReV6HnMQkqAGxB3PI10gh9ZEn4IN3A+g1h7/M=";
};
installPhase = ''
diff --git a/pkgs/servers/sql/postgresql/packages.nix b/pkgs/servers/sql/postgresql/packages.nix
index 5bbede9ddfc4..59a06ac11d48 100644
--- a/pkgs/servers/sql/postgresql/packages.nix
+++ b/pkgs/servers/sql/postgresql/packages.nix
@@ -16,6 +16,8 @@ self: super: {
pg_hint_plan = super.callPackage ./ext/pg_hint_plan.nix { };
+ pg_ivm = super.callPackage ./ext/pg_ivm.nix { };
+
pg_rational = super.callPackage ./ext/pg_rational.nix { };
pg_repack = super.callPackage ./ext/pg_repack.nix { };
diff --git a/pkgs/servers/web-apps/discourse/mail_receiver/default.nix b/pkgs/servers/web-apps/discourse/mail_receiver/default.nix
index c1a3a2df1064..139e6718ed5e 100644
--- a/pkgs/servers/web-apps/discourse/mail_receiver/default.nix
+++ b/pkgs/servers/web-apps/discourse/mail_receiver/default.nix
@@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "0grifm5qyqazq63va3w26xjqnxwmfixhx0fx0zy7kd39378wwa6i";
};
- nativeBuildInputs = [ replace ];
- buildInputs = [ ruby makeWrapper ];
+ nativeBuildInputs = [ replace makeWrapper ];
+ buildInputs = [ ruby ];
dontBuild = true;
diff --git a/pkgs/tools/X11/xkb-switch-i3/default.nix b/pkgs/tools/X11/xkb-switch-i3/default.nix
index fcb71b5d6d1f..6333c1abc740 100644
--- a/pkgs/tools/X11/xkb-switch-i3/default.nix
+++ b/pkgs/tools/X11/xkb-switch-i3/default.nix
@@ -11,13 +11,13 @@
stdenv.mkDerivation rec {
pname = "xkb-switch-i3";
- version = "1.8.1";
+ version = "1.8.5";
src = fetchFromGitHub {
owner = "Zebradil";
repo = "xkb-switch-i3";
rev = version;
- sha256 = "15c19hp0n1k3w15qn97j6wp5b8hbk0mq6x3xjfn6dkkjfz1fl6cn";
+ sha256 = "sha256-oW1oXxYqaLTnVQMBEOFPdzS8EnpoPc68kbGxGXaWUB8=";
fetchSubmodules = true;
};
diff --git a/pkgs/tools/admin/puppet/puppet-bolt/default.nix b/pkgs/tools/admin/puppet/puppet-bolt/default.nix
index 7752ddb2808d..cf6ffb6fb893 100644
--- a/pkgs/tools/admin/puppet/puppet-bolt/default.nix
+++ b/pkgs/tools/admin/puppet/puppet-bolt/default.nix
@@ -5,7 +5,7 @@ bundlerApp {
gemdir = ./.;
exes = [ "bolt" ];
- buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
gemConfig.bolt = attrs: {
# scripts in libexec will be executed by remote host,
diff --git a/pkgs/tools/audio/gvolicon/default.nix b/pkgs/tools/audio/gvolicon/default.nix
index 7df594d88ece..fb9ef49c548e 100644
--- a/pkgs/tools/audio/gvolicon/default.nix
+++ b/pkgs/tools/audio/gvolicon/default.nix
@@ -11,9 +11,9 @@ stdenv.mkDerivation {
sha256 = "sha256-lm5OfryV1/1T1RgsVDdp0Jg5rh8AND8M3ighfrznKes=";
};
- nativeBuildInputs = [ pkg-config ];
+ nativeBuildInputs = [ pkg-config makeWrapper ];
buildInputs = [
- makeWrapper alsa-lib gtk3 gdk-pixbuf gnome.adwaita-icon-theme
+ alsa-lib gtk3 gdk-pixbuf gnome.adwaita-icon-theme
librsvg wrapGAppsHook
];
diff --git a/pkgs/tools/backup/lvmsync/default.nix b/pkgs/tools/backup/lvmsync/default.nix
index e36e20902df8..00a03cda7149 100644
--- a/pkgs/tools/backup/lvmsync/default.nix
+++ b/pkgs/tools/backup/lvmsync/default.nix
@@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
pname = "lvmsync";
version = (import ./gemset.nix).${pname}.version;
- buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
dontUnpack = true;
diff --git a/pkgs/tools/backup/wal-g/default.nix b/pkgs/tools/backup/wal-g/default.nix
index 3b0a990b52cc..26fb1dad879e 100644
--- a/pkgs/tools/backup/wal-g/default.nix
+++ b/pkgs/tools/backup/wal-g/default.nix
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "wal-g";
- version = "2.0.0";
+ version = "2.0.1";
src = fetchFromGitHub {
owner = "wal-g";
repo = "wal-g";
rev = "v${version}";
- sha256 = "sha256-xltKchk7RtP5tkoUhnJqVb17WW6qW/lSFdHivCbW5zY=";
+ sha256 = "sha256-5mwA55aAHwEFabGZ6c3pi8NLcYofvoe4bb/cFj7NWok=";
};
- vendorSha256 = "sha256-w9AVcld8Gd1kYE2PkN8RVZ+/xlOZChKoWZFKvqhJuWI=";
+ vendorSha256 = "sha256-BbQuY6r30AkxlCZjY8JizaOrqEBdv7rIQet9KQwYB/g=";
nativeBuildInputs = [ installShellFiles ];
diff --git a/pkgs/tools/bluetooth/bluez-alsa/default.nix b/pkgs/tools/bluetooth/bluez-alsa/default.nix
index 6164a39ac76f..e10c82d7201a 100644
--- a/pkgs/tools/bluetooth/bluez-alsa/default.nix
+++ b/pkgs/tools/bluetooth/bluez-alsa/default.nix
@@ -13,13 +13,13 @@ with lib;
stdenv.mkDerivation rec {
pname = "bluez-alsa";
- version = "3.1.0";
+ version = "4.0.0";
src = fetchFromGitHub {
owner = "Arkq";
repo = "bluez-alsa";
rev = "v${version}";
- sha256 = "sha256-bohc/0hUr1mcV2JbFy71TjY8MXOU3oBBPCcupgkWsWY=";
+ sha256 = "sha256-Dp3O41nzo7j5rqxDEkR4bFPv0CNGOO4kWXAf8iy+jDg=";
};
nativeBuildInputs = [ pkg-config autoreconfHook ];
diff --git a/pkgs/tools/filesystems/glusterfs/default.nix b/pkgs/tools/filesystems/glusterfs/default.nix
index 125fb01d88a1..a1d09df7e609 100644
--- a/pkgs/tools/filesystems/glusterfs/default.nix
+++ b/pkgs/tools/filesystems/glusterfs/default.nix
@@ -14,9 +14,9 @@ let
# can help with finding new Python scripts.
buildInputs = [
- fuse bison flex openssl ncurses readline
- libtool pkg-config zlib libaio libxml2
- acl sqlite liburcu attr makeWrapper util-linux libtirpc gperftools
+ fuse openssl ncurses readline
+ zlib libaio libxml2
+ acl sqlite liburcu attr util-linux libtirpc gperftools
liburing
(python3.withPackages (pkgs: [
pkgs.flask
@@ -106,7 +106,7 @@ in stdenv.mkDerivation rec {
"--localstatedir=/var"
];
- nativeBuildInputs = [ rpcsvc-proto autoconf automake ];
+ nativeBuildInputs = [ autoconf automake libtool pkg-config bison flex makeWrapper rpcsvc-proto ];
makeFlags = [ "DESTDIR=$(out)" ];
diff --git a/pkgs/tools/inputmethods/fusuma/default.nix b/pkgs/tools/inputmethods/fusuma/default.nix
index dc6d3a09bfa4..7ed5bc99f46b 100644
--- a/pkgs/tools/inputmethods/fusuma/default.nix
+++ b/pkgs/tools/inputmethods/fusuma/default.nix
@@ -5,7 +5,7 @@ bundlerApp {
gemdir = ./.;
exes = [ "fusuma" ];
- buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram "$out/bin/fusuma" \
diff --git a/pkgs/tools/misc/chezmoi/default.nix b/pkgs/tools/misc/chezmoi/default.nix
index fef8750085ef..1cd86ddf9c28 100644
--- a/pkgs/tools/misc/chezmoi/default.nix
+++ b/pkgs/tools/misc/chezmoi/default.nix
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "chezmoi";
- version = "2.20.0";
+ version = "2.21.0";
src = fetchFromGitHub {
owner = "twpayne";
repo = "chezmoi";
rev = "v${version}";
- sha256 = "sha256-02YPLWuwMBvjIrkkZWlOmoASJ0El0YcQhVnt8wfpMaY=";
+ sha256 = "sha256-93f01YfCold2lUoCjnmIpwUR2pDvJ8Ph+QKEvZLL02Y=";
};
- vendorSha256 = "sha256-CJZiItzpk5vQBeKvarfHFsW2ek2yn7z6+CAlDPXdNyI=";
+ vendorSha256 = "sha256-jFXK/VvOyL9JUrMkzAZA++ydPKH0iL+4oH2YD1uh9CQ=";
doCheck = false;
diff --git a/pkgs/tools/misc/fdupes/default.nix b/pkgs/tools/misc/fdupes/default.nix
index ef51ad980325..30b7f79f04ac 100644
--- a/pkgs/tools/misc/fdupes/default.nix
+++ b/pkgs/tools/misc/fdupes/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "fdupes";
- version = "2.1.2";
+ version = "2.2.0";
src = fetchFromGitHub {
owner = "adrianlopezroche";
repo = "fdupes";
rev = "v${version}";
- hash = "sha256-WtSuFWRqQo5D/FLwl3AaIIfg6q+09A3aP5//J4AUzus=";
+ hash = "sha256-w1vIZexuXoCpc509QKdKnUaD4Obs5rsjptYAE4T/T+g=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
diff --git a/pkgs/tools/misc/gwe/default.nix b/pkgs/tools/misc/gwe/default.nix
index 79c590fe6b30..2d1c127dc8ab 100644
--- a/pkgs/tools/misc/gwe/default.nix
+++ b/pkgs/tools/misc/gwe/default.nix
@@ -32,13 +32,13 @@ let
]);
in stdenv.mkDerivation rec {
pname = "gwe";
- version = "0.15.4";
+ version = "0.15.5";
src = fetchFromGitLab {
owner = "leinardi";
repo = pname;
rev = version;
- sha256 = "sha256-7TVy9k61YA8tDXR2PC7TzwxKykWjnw8hQzgTQQIC0Zg=";
+ sha256 = "sha256-bey/G+muDZsMMU3lVdNS6E/BnAJr29zLPE0MMT4sh1c=";
};
prePatch = ''
diff --git a/pkgs/tools/misc/notify/default.nix b/pkgs/tools/misc/notify/default.nix
index 8210dac327e6..9f84a7a867dc 100644
--- a/pkgs/tools/misc/notify/default.nix
+++ b/pkgs/tools/misc/notify/default.nix
@@ -1,20 +1,21 @@
{ lib
, buildGoModule
, fetchFromGitHub
+, nix-update-script
}:
buildGoModule rec {
pname = "notify";
- version = "1.0.0";
+ version = "1.0.2";
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-grTHSMN4PpsCo5mST6nXE5+u7DewMVJXI3hnNIJdhLs=";
+ sha256 = "sha256-VRMwyVaTUJ+dDqewDGNZR1jH2EmDq1b42he7andh+/Q=";
};
- vendorSha256 = "sha256-BbhDNy3FmnHzAfv3lxPwL2jhp8Opfo0WVFhncfTO/28=";
+ vendorSha256 = "sha256-JsEKtE3N7C+BA3SanYwX17uJcFmbzPMWl5tUYPLCRdQ=";
modRoot = ".";
subPackages = [
@@ -24,6 +25,10 @@ buildGoModule rec {
# Test files are not part of the release tarball
doCheck = false;
+ passthru = {
+ updateScript = nix-update-script { attrPath = pname; };
+ };
+
meta = with lib; {
description = "Notify allows sending the output from any tool to Slack, Discord and Telegram";
longDescription = ''
diff --git a/pkgs/tools/misc/pspg/default.nix b/pkgs/tools/misc/pspg/default.nix
index fe506a31c0ef..abba7ca91ac3 100644
--- a/pkgs/tools/misc/pspg/default.nix
+++ b/pkgs/tools/misc/pspg/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "pspg";
- version = "5.5.4";
+ version = "5.5.6";
src = fetchFromGitHub {
owner = "okbob";
repo = pname;
rev = version;
- sha256 = "sha256-2j1K9enoPBPLL+0oOhzcYVxfsjb8BzsfeHNi9TJOnmc=";
+ sha256 = "sha256-99EuWSNW9e5/GyiR3JwDNFTAOJpaGCJKmxt340bjPrA=";
};
nativeBuildInputs = [ pkg-config installShellFiles ];
diff --git a/pkgs/tools/networking/cassowary/default.nix b/pkgs/tools/networking/cassowary/default.nix
index 4e84b858538c..d2defe954464 100644
--- a/pkgs/tools/networking/cassowary/default.nix
+++ b/pkgs/tools/networking/cassowary/default.nix
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "cassowary";
- version = "0.14.0";
+ version = "0.14.1";
src = fetchFromGitHub {
owner = "rogerwelin";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-rQNrxAKf2huY9I6iqdf1iYxgXaQI0LG1Lkrnv1OuJsg=";
+ sha256 = "sha256-JWuVoEEViVHn39LmJ0IQGg6ggDKS49WhE5Qwp+ep0Pk=";
};
- vendorSha256 = "sha256-hGpiL88x2roFEjJJM4CKyt3k66VK1pEnpOwvhDPDp6M=";
+ vendorSha256 = "sha256-caFYa0chTsIVW7pN/TBJNfQpnF6Hm4/GFyULDqL/bH4=";
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
diff --git a/pkgs/tools/networking/davix/default.nix b/pkgs/tools/networking/davix/default.nix
index 7120e76821d6..b6b7c2ba9e31 100644
--- a/pkgs/tools/networking/davix/default.nix
+++ b/pkgs/tools/networking/davix/default.nix
@@ -29,7 +29,7 @@ let
boolToUpper = b: lib.toUpper (lib.boolToString b);
in
stdenv.mkDerivation rec {
- version = "0.8.0";
+ version = "0.8.2";
pname = "davix" + lib.optionalString enableThirdPartyCopy "-copy";
nativeBuildInputs = [ cmake pkg-config python3 ];
buildInputs = [
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
# https://github.com/cern-fts/davix/releases/tag/R_0_8_0
src = fetchurl {
url = "https://github.com/cern-fts/davix/releases/download/R_${lib.replaceStrings ["."] ["_"] version}/davix-${version}.tar.gz";
- sha256 = "LxCNoECKg/tbnwxoFQ02C6cz5LOg/imNRbDTLSircSQ=";
+ sha256 = "sha256-iBeiTCPxMJud4jO5qIJFX0V8Qu3CpknccP4lJM922Uw=";
};
preConfigure = ''
diff --git a/pkgs/tools/networking/dd-agent/5.nix b/pkgs/tools/networking/dd-agent/5.nix
index 57ab6ed97b90..6feaec38f70a 100644
--- a/pkgs/tools/networking/dd-agent/5.nix
+++ b/pkgs/tools/networking/dd-agent/5.nix
@@ -49,10 +49,8 @@ in stdenv.mkDerivation rec {
patches = [ ./40103-iostat-fix.patch ];
- nativeBuildInputs = [ unzip ];
- buildInputs = [
- makeWrapper
- ] ++ (with python'.pkgs; [
+ nativeBuildInputs = [ unzip makeWrapper ];
+ buildInputs = with python'.pkgs; [
requests
psycopg2
psutil
@@ -63,7 +61,7 @@ in stdenv.mkDerivation rec {
python-etcd
consul
docker
- ]);
+ ];
propagatedBuildInputs = with python'.pkgs; [ python tornado ];
buildCommand = ''
diff --git a/pkgs/tools/networking/pritunl-ssh/default.nix b/pkgs/tools/networking/pritunl-ssh/default.nix
index 586fc780699f..06cfc4d1a4ce 100644
--- a/pkgs/tools/networking/pritunl-ssh/default.nix
+++ b/pkgs/tools/networking/pritunl-ssh/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "pritunl-ssh";
- version = "1.0.1674.4";
+ version = "1.0.2435.24";
src = fetchFromGitHub {
owner = "pritunl";
repo = "pritunl-zero-client";
rev = version;
- sha256 = "07z60lipbwm0p7s2bxcij21jid8w4nyh6xk2qq5qdm4acq4k1i88";
+ sha256 = "sha256-ElnBNVrC4tQLYXhz2d+NMqKdUVx/hgnW3xJ0USKEfVI=";
};
buildInputs = [ python3 ];
diff --git a/pkgs/tools/security/jwx/default.nix b/pkgs/tools/security/jwx/default.nix
new file mode 100644
index 000000000000..0b8447e6e488
--- /dev/null
+++ b/pkgs/tools/security/jwx/default.nix
@@ -0,0 +1,27 @@
+{ lib
+, buildGoModule
+, fetchFromGitHub
+}:
+
+buildGoModule rec {
+ pname = "jwx";
+ version = "2.0.6";
+
+ src = fetchFromGitHub {
+ owner = "lestrrat-go";
+ repo = pname;
+ rev = "v${version}";
+ hash = "sha256-7X+UeguaWk7+IQ2/PgoFZR7OKpOTzgT/mo8k4eSl53A=";
+ };
+
+ vendorSha256 = "sha256-XZk/cwbfg05RkUFMs+AHTfEZiEvqYYoPoSVZVFM967g=";
+
+ sourceRoot = "source/cmd/jwx";
+
+ meta = with lib; {
+ description = " Implementation of various JWx (Javascript Object Signing and Encryption/JOSE) technologies";
+ homepage = "https://github.com/lestrrat-go/jwx";
+ license = licenses.mit;
+ maintainers = with maintainers; [ arianvp flokli ];
+ };
+}
diff --git a/pkgs/tools/security/metasploit/Gemfile b/pkgs/tools/security/metasploit/Gemfile
index 3df96f282baf..db5ca84f656a 100644
--- a/pkgs/tools/security/metasploit/Gemfile
+++ b/pkgs/tools/security/metasploit/Gemfile
@@ -1,4 +1,4 @@
# frozen_string_literal: true
source "https://rubygems.org"
-gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.2.13"
+gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.2.14"
diff --git a/pkgs/tools/security/metasploit/Gemfile.lock b/pkgs/tools/security/metasploit/Gemfile.lock
index d6a3bb6991fa..025ff1ca42dc 100644
--- a/pkgs/tools/security/metasploit/Gemfile.lock
+++ b/pkgs/tools/security/metasploit/Gemfile.lock
@@ -1,9 +1,9 @@
GIT
remote: https://github.com/rapid7/metasploit-framework
- revision: 6241267e515db4b2902831fda1bc41773fb24529
- ref: refs/tags/6.2.13
+ revision: 349b7d4bf192254eac191cc2603f9553a8d6da1b
+ ref: refs/tags/6.2.14
specs:
- metasploit-framework (6.2.13)
+ metasploit-framework (6.2.14)
actionpack (~> 6.0)
activerecord (~> 6.0)
activesupport (~> 6.0)
@@ -44,7 +44,7 @@ GIT
network_interface
nexpose
nokogiri
- octokit
+ octokit (~> 4.0)
openssl-ccm
openvas-omp
packetfu
@@ -124,22 +124,22 @@ GEM
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
- addressable (2.8.0)
- public_suffix (>= 2.0.2, < 5.0)
+ addressable (2.8.1)
+ public_suffix (>= 2.0.2, < 6.0)
afm (0.2.2)
arel-helpers (2.14.0)
activerecord (>= 3.1.0, < 8)
aws-eventstream (1.2.0)
- aws-partitions (1.619.0)
- aws-sdk-core (3.132.0)
+ aws-partitions (1.622.0)
+ aws-sdk-core (3.136.0)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.525.0)
aws-sigv4 (~> 1.1)
jmespath (~> 1, >= 1.6.1)
- aws-sdk-ec2 (1.328.0)
+ aws-sdk-ec2 (1.329.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sigv4 (~> 1.1)
- aws-sdk-iam (1.69.0)
+ aws-sdk-iam (1.70.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sigv4 (~> 1.1)
aws-sdk-kms (1.58.0)
@@ -254,7 +254,7 @@ GEM
mini_portile2 (2.8.0)
minitest (5.16.3)
mqtt (0.5.0)
- msgpack (1.5.4)
+ msgpack (1.5.6)
multi_json (1.15.0)
mustermann (2.0.2)
ruby2_keywords (~> 0.0.1)
@@ -274,7 +274,7 @@ GEM
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
nori (2.6.0)
- octokit (5.2.0)
+ octokit (4.25.1)
faraday (>= 1, < 3)
sawyer (~> 0.9)
openssl-ccm (1.2.3)
@@ -291,8 +291,8 @@ GEM
ruby-rc4
ttfunk
pg (1.4.3)
- public_suffix (4.0.7)
- puma (5.6.4)
+ public_suffix (5.0.0)
+ puma (5.6.5)
nio4r (~> 2.0)
racc (1.6.0)
rack (2.2.4)
diff --git a/pkgs/tools/security/metasploit/default.nix b/pkgs/tools/security/metasploit/default.nix
index 2cc25a9728e3..0c447147e9b9 100644
--- a/pkgs/tools/security/metasploit/default.nix
+++ b/pkgs/tools/security/metasploit/default.nix
@@ -15,13 +15,13 @@ let
};
in stdenv.mkDerivation rec {
pname = "metasploit-framework";
- version = "6.2.13";
+ version = "6.2.14";
src = fetchFromGitHub {
owner = "rapid7";
repo = "metasploit-framework";
rev = version;
- sha256 = "sha256-95G9iqejcc2t4pUmzNoDE9/9f6NstPjLDJigQhZAo4E=";
+ sha256 = "sha256-eWM5gAnF3WepXsf2bSfjwr4Tsz4nnuZVllNWj7ko5cM=";
};
nativeBuildInputs = [ makeWrapper ];
diff --git a/pkgs/tools/security/metasploit/gemset.nix b/pkgs/tools/security/metasploit/gemset.nix
index e962b2571420..6d4323ccba0e 100644
--- a/pkgs/tools/security/metasploit/gemset.nix
+++ b/pkgs/tools/security/metasploit/gemset.nix
@@ -54,10 +54,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "022r3m9wdxljpbya69y2i3h9g3dhhfaqzidf95m6qjzms792jvgp";
+ sha256 = "1ypdmpdn20hxp5vwxz3zc04r5xcwqc25qszdlg41h8ghdqbllwmw";
type = "gem";
};
- version = "2.8.0";
+ version = "2.8.1";
};
afm = {
groups = ["default"];
@@ -104,40 +104,40 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0vgbfpxpybq5hr87knpc65ha0cyckbq2i00y8wd8sc3j663sffm2";
+ sha256 = "1py4q91ll3v7ylcqflgd190y40d3ixgrhpln011gr5adgbzg9hr6";
type = "gem";
};
- version = "1.619.0";
+ version = "1.622.0";
};
aws-sdk-core = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0lal5x2qkz6ip36ladynb29j65brq8bbdcgx6cwbybsyadwcf693";
+ sha256 = "111zdfl6p1n949rvsfr0c88k9yzpibrcd8fihyshbibc2w06qj2b";
type = "gem";
};
- version = "3.132.0";
+ version = "3.136.0";
};
aws-sdk-ec2 = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1x9wcq89bp8785qqx8jlj4isbqq5w5kisfdd275r6p2chmm1mw47";
+ sha256 = "1ici0pvy5050flp8v8rcd71cn09waa9wb42jpc93nn8qns5yhs44";
type = "gem";
};
- version = "1.328.0";
+ version = "1.329.0";
};
aws-sdk-iam = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0rms5bbqsgy7wb13y0chm1mw9qasdrbmd5bpdwlkn0ib58s174d6";
+ sha256 = "1xb1wdjdy91ybf0zrnny3kw7s076mcvhamikn1v5n6mgaypnkzw3";
type = "gem";
};
- version = "1.69.0";
+ version = "1.70.0";
};
aws-sdk-kms = {
groups = ["default"];
@@ -614,12 +614,12 @@
platforms = [];
source = {
fetchSubmodules = false;
- rev = "6241267e515db4b2902831fda1bc41773fb24529";
- sha256 = "10d380b4584q1k5zid3cldzzvpqk0gdcq9lmwanwswd3ly5bv4gp";
+ rev = "349b7d4bf192254eac191cc2603f9553a8d6da1b";
+ sha256 = "1hz552wqymjkjrayd7i77sri7gn2wcknvxn7bslngpf51603jqvr";
type = "git";
url = "https://github.com/rapid7/metasploit-framework";
};
- version = "6.2.13";
+ version = "6.2.14";
};
metasploit-model = {
groups = ["default"];
@@ -706,10 +706,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "02af38s49111wglqzcjcpa7bwg6psjgysrjvgk05h3x4zchb6gd5";
+ sha256 = "01sw335w8wl6rjz8raa8xkxnk36d7ib7zqkc9gdibmplar4x1fqg";
type = "gem";
};
- version = "1.5.4";
+ version = "1.5.6";
};
multi_json = {
groups = ["default"];
@@ -837,10 +837,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1xn53wdrk0vy08d88s6dd2n3mly3prw8m00pcc9hm7ykmbs1668r";
+ sha256 = "15lvy06h276jryxg19258b2yqaykf0567sp0n16yipywhbp94860";
type = "gem";
};
- version = "5.2.0";
+ version = "4.25.1";
};
openssl-ccm = {
groups = ["default"];
@@ -927,20 +927,20 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1f3knlwfwm05sfbaihrxm4g772b79032q14c16q4b38z8bi63qcb";
+ sha256 = "0sqw1zls6227bgq38sxb2hs8nkdz4hn1zivs27mjbniswfy4zvi6";
type = "gem";
};
- version = "4.0.7";
+ version = "5.0.0";
};
puma = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0dgr2rybayih2naz3658mbzqwfrg9fxl80zsvhscf6b972kp3jdw";
+ sha256 = "0qzq0c791kacv68hgk9zqsd1p7zx1y1rr9j10rn9yphibb8jj436";
type = "gem";
};
- version = "5.6.4";
+ version = "5.6.5";
};
racc = {
groups = ["default"];
diff --git a/pkgs/tools/security/nuclei/default.nix b/pkgs/tools/security/nuclei/default.nix
index f441772dbc17..e60c953fd5a5 100644
--- a/pkgs/tools/security/nuclei/default.nix
+++ b/pkgs/tools/security/nuclei/default.nix
@@ -5,16 +5,16 @@
buildGoModule rec {
pname = "nuclei";
- version = "2.7.6";
+ version = "2.7.7";
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-KFTVXHATWeKL+fvB52IekT9WMa61Aca0bDJ7g1n1kfU=";
+ sha256 = "sha256-61oq7h/e9aFCEwvrKRx1zyITw/X2obRsnyycO94tW0A=";
};
- vendorSha256 = "sha256-hzKGqX0YPo4lhp0RTmeQlhUsvG2XhZxkl/TtI9YjEoY=";
+ vendorSha256 = "sha256-HZZutN6hG/wNBz1hy0S3kWd/LmaeAvn1NlB917xmCDo=";
modRoot = "./v2";
subPackages = [
diff --git a/pkgs/tools/security/pass/default.nix b/pkgs/tools/security/pass/default.nix
index 7d214f1649a3..f8692edead29 100644
--- a/pkgs/tools/security/pass/default.nix
+++ b/pkgs/tools/security/pass/default.nix
@@ -33,7 +33,8 @@ let
in buildEnv {
name = "pass-extensions-env";
paths = selected;
- buildInputs = [ makeWrapper ] ++ concatMap (x: x.buildInputs) selected;
+ nativeBuildInputs = [ makeWrapper ];
+ buildInputs = concatMap (x: x.buildInputs) selected;
postBuild = ''
files=$(find $out/bin/ -type f -exec readlink -f {} \;)
diff --git a/pkgs/tools/security/sbctl/default.nix b/pkgs/tools/security/sbctl/default.nix
new file mode 100644
index 000000000000..00a5f53d6b50
--- /dev/null
+++ b/pkgs/tools/security/sbctl/default.nix
@@ -0,0 +1,45 @@
+{ lib
+, buildGoModule
+, fetchFromGitHub
+, installShellFiles
+, asciidoc
+, databasePath ? "/etc/secureboot"
+}:
+
+buildGoModule rec {
+ pname = "sbctl";
+ version = "0.9";
+
+ src = fetchFromGitHub {
+ owner = "Foxboron";
+ repo = pname;
+ rev = version;
+ hash = "sha256-mntb3EMB+QTnFU476Dq6T6rAAv0JeYbvWJ/pbL3a4RE=";
+ };
+
+ vendorSha256 = "sha256-k6AIYigjxbitH0hH+vwRt2urhNYTToIF0eSsIWbzslI=";
+
+ ldflags = [ "-s" "-w" "-X github.com/foxboron/sbctl.DatabasePath=${databasePath}" ];
+
+ nativeBuildInputs = [ installShellFiles asciidoc ];
+
+ postBuild = ''
+ make docs/sbctl.8
+ '';
+
+ postInstall = ''
+ installManPage docs/sbctl.8
+
+ installShellCompletion --cmd sbctl \
+ --bash <($out/bin/sbctl completion bash) \
+ --fish <($out/bin/sbctl completion fish) \
+ --zsh <($out/bin/sbctl completion zsh)
+ '';
+
+ meta = with lib; {
+ description = "Secure Boot key manager";
+ homepage = "https://github.com/Foxboron/sbctl";
+ license = licenses.mit;
+ maintainers = with maintainers; [ raitobezarius ];
+ };
+}
diff --git a/pkgs/tools/security/scorecard/default.nix b/pkgs/tools/security/scorecard/default.nix
index a4caf7511281..4ed783626520 100644
--- a/pkgs/tools/security/scorecard/default.nix
+++ b/pkgs/tools/security/scorecard/default.nix
@@ -2,13 +2,13 @@
buildGoModule rec {
pname = "scorecard";
- version = "4.3.0";
+ version = "4.6.0";
src = fetchFromGitHub {
owner = "ossf";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-+aocaMnEDqaOjiCPmAxhf1tiqMN6DKo64N0ARMmY71E=";
+ sha256 = "sha256-mEUJ42Da9br5BuZgtJBMeJGSESALoqaOwO/4Bvqj0IA=";
# populate values otherwise taken care of by goreleaser,
# unfortunately these require us to use git. By doing
# this in postFetch we can delete .git afterwards and
@@ -22,7 +22,7 @@ buildGoModule rec {
find "$out" -name .git -print0 | xargs -0 rm -rf
'';
};
- vendorSha256 = "sha256-0VEo08lGVQ3ROdqFrpNVgdtfaKqNY4hhjZ0i3U52P4M=";
+ vendorSha256 = "sha256-HvYUfr3ojmhO6AY6SypFOMP/vjlyLKunv1LvfLgBSjU=";
nativeBuildInputs = [ installShellFiles ];
diff --git a/pkgs/tools/security/wpscan/default.nix b/pkgs/tools/security/wpscan/default.nix
index 965c48b304fe..4b3757ae7673 100644
--- a/pkgs/tools/security/wpscan/default.nix
+++ b/pkgs/tools/security/wpscan/default.nix
@@ -9,9 +9,7 @@ bundlerApp {
gemdir = ./.;
exes = [ "wpscan" ];
- buildInputs = [
- makeWrapper
- ];
+ nativeBuildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram "$out/bin/wpscan" \
diff --git a/pkgs/tools/system/r10k/default.nix b/pkgs/tools/system/r10k/default.nix
index 43d67eddf7db..12522bd8cff1 100644
--- a/pkgs/tools/system/r10k/default.nix
+++ b/pkgs/tools/system/r10k/default.nix
@@ -5,7 +5,7 @@ bundlerApp {
gemdir = ./.;
exes = [ "r10k" ];
- buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram $out/bin/r10k --prefix PATH : ${lib.makeBinPath [ git gnutar gzip ]}
diff --git a/pkgs/tools/text/languagetool/default.nix b/pkgs/tools/text/languagetool/default.nix
index bce8fec2da48..da48d81dfb23 100644
--- a/pkgs/tools/text/languagetool/default.nix
+++ b/pkgs/tools/text/languagetool/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "LanguageTool";
- version = "5.7";
+ version = "5.8";
src = fetchzip {
url = "https://www.languagetool.org/download/${pname}-${version}.zip";
- sha256 = "sha256-UR8OodT2H+YKmal+9kYsiwqM0dZhUHaUGEWZMzT+3dA=";
+ sha256 = "sha256-xwwC+I4cThl2iq3eKcjInFciWlhBfQvNA5LBalaXBuQ=";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ jre ];
diff --git a/pkgs/tools/text/miller/default.nix b/pkgs/tools/text/miller/default.nix
index aea58ddb9364..c471bbe4d05a 100644
--- a/pkgs/tools/text/miller/default.nix
+++ b/pkgs/tools/text/miller/default.nix
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "miller";
- version = "6.3.0";
+ version = "6.4.0";
src = fetchFromGitHub {
owner = "johnkerl";
repo = "miller";
rev = "v${version}";
- sha256 = "sha256-5lDoJo5v6L4nkaCSyeViOeCN6cn4lBIwHYc0Jx70FFk=";
+ sha256 = "sha256-nxkJfbZ5zdAKtmhZiWhTV0cU+qvqimOADC9T0r+1iS0=";
};
- vendorSha256 = "sha256-MUffv6dRvtc4pC1vErGgUMh6B8bbVaP0avAKNamRErI=";
+ vendorSha256 = "sha256-EF5hTtTGGOYg9TGIsR3UL2Sxc3FHGV2q5VNXlBNma/M=";
subPackages = [ "cmd/mlr" ];
diff --git a/pkgs/tools/typesetting/asciidoctor-with-extensions/default.nix b/pkgs/tools/typesetting/asciidoctor-with-extensions/default.nix
index e31ce69baa1f..50ee906262ee 100644
--- a/pkgs/tools/typesetting/asciidoctor-with-extensions/default.nix
+++ b/pkgs/tools/typesetting/asciidoctor-with-extensions/default.nix
@@ -20,7 +20,7 @@ bundlerApp rec {
"asciidoctor-revealjs"
];
- buildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper ];
postBuild = lib.optionalString (path != "") (lib.concatMapStrings (exe: ''
wrapProgram $out/bin/${exe} \
diff --git a/pkgs/tools/typesetting/kramdown-asciidoc/default.nix b/pkgs/tools/typesetting/kramdown-asciidoc/default.nix
index aa1d68e708af..ebe57e3695f5 100644
--- a/pkgs/tools/typesetting/kramdown-asciidoc/default.nix
+++ b/pkgs/tools/typesetting/kramdown-asciidoc/default.nix
@@ -13,7 +13,7 @@ let
"kramdoc"
];
- # buildInputs = [ makeWrapper ];
+ # nativeBuildInputs = [ makeWrapper ];
# postBuild = ''
# wrapProgram "$out/bin/asciidoctor-epub3" \
diff --git a/pkgs/tools/typesetting/mmark/default.nix b/pkgs/tools/typesetting/mmark/default.nix
index 85f4bfad1187..594757b2c5a6 100644
--- a/pkgs/tools/typesetting/mmark/default.nix
+++ b/pkgs/tools/typesetting/mmark/default.nix
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "mmark";
- version = "2.2.25";
+ version = "2.2.26";
src = fetchFromGitHub {
owner = "mmarkdown";
repo = "mmark";
rev = "v${version}";
- sha256 = "sha256-9XjNTbsB4kh7YpjUnTzSXypw9r4ZyR7GALTrYebRKAg=";
+ sha256 = "sha256-DiT2MkVM2DWp8dVr8I3Qt6iymHJPW3VEIaX+ACrDVo8=";
};
- vendorSha256 = "sha256-uHphMy9OVnLD6IBqfMTyRlDyyTabzZC4Vn0628P+0F4=";
+ vendorSha256 = "sha256-vhSrHh1wmIK3H5p5Q5QznSVainkZByrW+Nz81J9Va88=";
ldflags = [ "-s" "-w" ];
diff --git a/pkgs/tools/virtualization/shipyard/default.nix b/pkgs/tools/virtualization/shipyard/default.nix
index ee329828dc30..977cca7a25ea 100644
--- a/pkgs/tools/virtualization/shipyard/default.nix
+++ b/pkgs/tools/virtualization/shipyard/default.nix
@@ -2,15 +2,15 @@
buildGoModule rec {
pname = "shipyard";
- version = "0.3.48";
+ version = "0.4.10";
src = fetchFromGitHub {
rev = "v${version}";
owner = "shipyard-run";
repo = pname;
- sha256 = "sha256-Hbvp8MV5usg0R+QXM7Laq9I6XeZnvuVCjj/aHmnskiE=";
+ sha256 = "sha256-3l/lvPSoO4CXMfEDhzCqHT0aOkQLPuvoXg8j/kZdUfU=";
};
- vendorSha256 = "sha256-mXYnmDppVqhjlkGVkvp1YaEwBEkHBUddxLof389huMQ=";
+ vendorSha256 = "sha256-ATXM3+mi/R+/jS6Ds89J75nDVnc3d8iOGhjD3KQZkkA=";
ldflags = [
"-s" "-w" "-X main.version=${version}"
diff --git a/pkgs/tools/wayland/swaycwd/default.nix b/pkgs/tools/wayland/swaycwd/default.nix
index 9214f38b3303..5aadc4484045 100644
--- a/pkgs/tools/wayland/swaycwd/default.nix
+++ b/pkgs/tools/wayland/swaycwd/default.nix
@@ -5,24 +5,20 @@
}:
nimPackages.buildNimPackage rec{
pname = "swaycwd";
- version = "0.0.2";
+ version = "0.1.0";
src = fetchFromGitLab {
owner = "cab404";
repo = pname;
rev = "v${version}";
- hash = "sha256-OZWOPtOqcX+fVQCxWntrn98EzFu70WH55rfYCPDMSKk=";
+ hash = "sha256-VrG3H6oTeYsfncdD0IBp3zbmkoF5YF146LRxL064ZAE=";
};
preConfigure = ''
{
echo 'let enabledShells: seq[string] = @${builtins.toJSON enableShells}'
echo 'export enabledShells'
- } > shells.nim
- cat << EOF > swaycwd.nimble
- srcDir = "."
- bin = "swaycwd"
- EOF
+ } > src/shells.nim
'';
nimFlags = [ "--opt:speed" ];
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index a33fec2190f2..cd67e676fbb7 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -3148,7 +3148,7 @@ with pkgs;
cabal2nix = symlinkJoin {
inherit (cabal2nix-unwrapped) name meta;
- nativeBuildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ buildPackages.makeWrapper ];
paths = [ cabal2nix-unwrapped ];
postBuild = ''
wrapProgram $out/bin/cabal2nix \
@@ -4130,6 +4130,8 @@ with pkgs;
jwt-hack = callPackage ../tools/security/jwt-hack { } ;
+ jwx = callPackage ../tools/security/jwx { } ;
+
kapacitor = callPackage ../servers/monitoring/kapacitor { };
kaldi = callPackage ../tools/audio/kaldi { };
@@ -7175,6 +7177,8 @@ with pkgs;
efitools = callPackage ../tools/security/efitools { };
+ sbctl = callPackage ../tools/security/sbctl { };
+
sbsigntool = callPackage ../tools/security/sbsigntool { };
gsmartcontrol = callPackage ../tools/misc/gsmartcontrol { };
@@ -11997,6 +12001,8 @@ with pkgs;
wireguard-tools = callPackage ../tools/networking/wireguard-tools { };
+ wiringpi = callPackage ../os-specific/linux/wiringpi { };
+
wg-friendly-peer-names = callPackage ../tools/networking/wg-friendly-peer-names { };
wg-netmanager = callPackage ../tools/networking/wg-netmanager {
@@ -16117,7 +16123,9 @@ with pkgs;
drush = callPackage ../development/tools/misc/drush { };
- dura = callPackage ../development/tools/misc/dura { };
+ dura = callPackage ../development/tools/misc/dura {
+ inherit (darwin.apple_sdk.frameworks) Security;
+ };
dwfv = callPackage ../applications/science/electronics/dwfv { };
@@ -23324,6 +23332,7 @@ with pkgs;
prometheus-redis-exporter = callPackage ../servers/monitoring/prometheus/redis-exporter.nix { };
prometheus-rabbitmq-exporter = callPackage ../servers/monitoring/prometheus/rabbitmq-exporter.nix { };
prometheus-rtl_433-exporter = callPackage ../servers/monitoring/prometheus/rtl_433-exporter.nix { };
+ prometheus-sachet = callPackage ../servers/monitoring/prometheus/sachet.nix { };
prometheus-script-exporter = callPackage ../servers/monitoring/prometheus/script-exporter.nix { };
prometheus-smartctl-exporter = callPackage ../servers/monitoring/prometheus/smartctl-exporter { };
prometheus-smokeping-prober = callPackage ../servers/monitoring/prometheus/smokeping-prober.nix { };
@@ -25061,6 +25070,8 @@ with pkgs;
charis-sil = callPackage ../data/fonts/charis-sil { };
+ changie = callPackage ../development/tools/changie { };
+
cherry = callPackage ../data/fonts/cherry { inherit (xorg) fonttosfnt mkfontdir; };
chonburi-font = callPackage ../data/fonts/chonburi { };
@@ -32520,6 +32531,8 @@ with pkgs;
enigma = callPackage ../games/enigma { };
+ everspace = callPackage ../games/everspace { };
+
ezquake = callPackage ../games/ezquake { };
fmodex = callPackage ../games/zandronum/fmod.nix { };
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 77438d1d63a5..a66e6d5a87da 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -476,6 +476,8 @@ in {
airly = callPackage ../development/python-modules/airly { };
+ airthings-ble = callPackage ../development/python-modules/airthings-ble { };
+
airthings-cloud = callPackage ../development/python-modules/airthings-cloud { };
airtouch4pyapi = callPackage ../development/python-modules/airtouch4pyapi { };
diff --git a/pkgs/top-level/ruby-packages.nix b/pkgs/top-level/ruby-packages.nix
index 784f652ba2ca..28c4ac010e1f 100644
--- a/pkgs/top-level/ruby-packages.nix
+++ b/pkgs/top-level/ruby-packages.nix
@@ -27,10 +27,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "022r3m9wdxljpbya69y2i3h9g3dhhfaqzidf95m6qjzms792jvgp";
+ sha256 = "1ypdmpdn20hxp5vwxz3zc04r5xcwqc25qszdlg41h8ghdqbllwmw";
type = "gem";
};
- version = "2.8.0";
+ version = "2.8.1";
};
algoliasearch = {
dependencies = ["httpclient" "json"];
@@ -1678,10 +1678,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1lsk71qh5d7bm1qqrjvcwhp4h71ckkdbzxnw4xkd9cin8gjfvvr6";
+ sha256 = "0kcmnx6rgjyd7sznai9ccns2nh7p7wnw3mi8a7vf2wkm51azwddq";
type = "gem";
};
- version = "2.4.1";
+ version = "2.5.0";
};
kramdown = {
dependencies = ["rexml"];
@@ -1887,10 +1887,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "14a9ign0hj3z3j4cpfplj2djaskx3skzyx4fl3x53d7saxmhrgn1";
+ sha256 = "0516ypqlx0mlcfn5xh7qppxqc3xndn1fnadxawa8wld5dkcimy30";
type = "gem";
};
- version = "5.16.2";
+ version = "5.16.3";
};
molinillo = {
groups = ["default"];
@@ -1907,10 +1907,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "02af38s49111wglqzcjcpa7bwg6psjgysrjvgk05h3x4zchb6gd5";
+ sha256 = "01sw335w8wl6rjz8raa8xkxnk36d7ib7zqkc9gdibmplar4x1fqg";
type = "gem";
};
- version = "1.5.4";
+ version = "1.5.6";
};
multi_json = {
groups = ["default"];
@@ -2095,10 +2095,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0cdhkc7vp8hcb86ps94all4hrvhzfgs4d98kvss5rqh34v7ibs6m";
+ sha256 = "0zk3fwwx8zzxhmfmlgzzr050jzsl58ma54wy99xy4xx0ibmw48pv";
type = "gem";
};
- version = "0.2.8";
+ version = "1.0.4";
};
pango = {
dependencies = ["cairo-gobject" "gobject-introspection"];
@@ -2137,10 +2137,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0h9ab29r6fmblklxvhkpifmmpyzq7qw01lca00sn2ikkx2in3g6v";
+ sha256 = "1v6my9g7bwjlx92hr9w0blnrcrai1yg3yz6k9xz0i6mq8lml2k87";
type = "gem";
};
- version = "0.4.3";
+ version = "1.0.3";
};
pathutil = {
dependencies = ["forwardable-extended"];
@@ -2230,10 +2230,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0iyw4q4an2wmk8v5rn2ghfy2jaz9vmw2nk8415nnpx2s866934qk";
+ sha256 = "0m445x8fwcjdyv2bc0glzss2nbm1ll51bq45knixapc7cl3dzdlr";
type = "gem";
};
- version = "0.13.1";
+ version = "0.14.1";
};
pry-byebug = {
dependencies = ["byebug" "pry"];
@@ -2241,10 +2241,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "096y5vmzpyy4x9h4ky4cs4y7d19vdq9vbwwrqafbh5gagzwhifiv";
+ sha256 = "1y41al94ks07166qbp2200yzyr5y60hm7xaiw4lxpgsm4b1pbyf8";
type = "gem";
};
- version = "3.9.0";
+ version = "3.10.1";
};
pry-doc = {
dependencies = ["pry" "yard"];
@@ -2273,10 +2273,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0dgr2rybayih2naz3658mbzqwfrg9fxl80zsvhscf6b972kp3jdw";
+ sha256 = "0qzq0c791kacv68hgk9zqsd1p7zx1y1rr9j10rn9yphibb8jj436";
type = "gem";
};
- version = "5.6.4";
+ version = "5.6.5";
};
racc = {
groups = ["default"];
@@ -2439,10 +2439,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1xid9av3apfz5mszwqgl6v0n58g6038lsfdz0p53xb9ywpa5dcpc";
+ sha256 = "0i4a8hxxcxci3n8hhlm9a8wa7a9m58r6sjvh4749v7362i8cy010";
type = "gem";
};
- version = "4.7.1";
+ version = "4.8.0";
};
redis-rack = {
dependencies = ["rack" "redis-store"];
@@ -2598,10 +2598,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1wc3j624wyx5q7vd1s3dks7d9l85xk546dwr6472w9zjxykgzp3z";
+ sha256 = "13fvwdx88v43q06frrkplspzl8ab4baspvnn9knl8pkxw9qg6p4x";
type = "gem";
};
- version = "1.35.0";
+ version = "1.35.1";
};
rubocop-ast = {
dependencies = ["parser"];
@@ -2808,10 +2808,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0va9770p8qbr3sizjl1kpcr3pw9727nh70hplafay3gcalyk5x9z";
+ sha256 = "029zk2w8d9lbxfj0aymrsw0fw675b1y4qd41chhjczj05kb7y8jb";
type = "gem";
};
- version = "0.13.0";
+ version = "0.13.2";
};
sequel = {
groups = ["default"];
@@ -2829,10 +2829,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1m0ywaql7naj5y823s8h413gzc9h3vd4yr6mws94rcr8dr9hky77";
+ sha256 = "1ix56by4qvpmn042431lzgg613ss5p0d8snjvf33hdr9y2q645qn";
type = "gem";
};
- version = "1.15.0";
+ version = "1.16.0";
};
simplecov = {
dependencies = ["docile" "simplecov-html" "simplecov_json_formatter"];
@@ -2934,10 +2934,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "11c7hcgg4sflhlj9lv9yh76sxrlk9a52y6p56xc99f0w015yyslh";
+ sha256 = "0r8lr7gldwp57xqik4kims6w72q9ww34bral0j5z20a56s6gva8x";
type = "gem";
};
- version = "0.45.0";
+ version = "0.46.0";
};
sqlite3 = {
groups = ["default"];
@@ -2955,10 +2955,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1v82jcbfhqx5k0ckb6anjshdhdi4bnqfi9ly5s2dmank8kdqc41l";
+ sha256 = "13qapwg7vqz2vw98ivj484wqp7dwcwj78mhd474wglpli3galw5q";
type = "gem";
};
- version = "3.3.0";
+ version = "3.5.0";
};
syntax_tree-haml = {
dependencies = ["haml" "prettier_print" "syntax_tree"];