Merge master into haskell-updates

This commit is contained in:
github-actions[bot] 2021-11-09 00:10:05 +00:00 committed by GitHub
commit e1766085b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
134 changed files with 5281 additions and 8325 deletions

View File

@ -50,7 +50,7 @@ expression does not protect the Prelude import with a semantic integrity
check, so the first step is to freeze the expression using `dhall freeze`, check, so the first step is to freeze the expression using `dhall freeze`,
like this: like this:
```bash ```ShellSession
$ dhall freeze --inplace ./true.dhall $ dhall freeze --inplace ./true.dhall
``` ```
@ -113,7 +113,7 @@ in
… which we can then build using this command: … which we can then build using this command:
```bash ```ShellSession
$ nix build --file ./example.nix dhallPackages.true $ nix build --file ./example.nix dhallPackages.true
``` ```
@ -121,7 +121,7 @@ $ nix build --file ./example.nix dhallPackages.true
The above package produces the following directory tree: The above package produces the following directory tree:
```bash ```ShellSession
$ tree -a ./result $ tree -a ./result
result result
├── .cache ├── .cache
@ -135,7 +135,7 @@ result
* `source.dhall` contains the result of interpreting our Dhall package: * `source.dhall` contains the result of interpreting our Dhall package:
```bash ```ShellSession
$ cat ./result/source.dhall $ cat ./result/source.dhall
True True
``` ```
@ -143,7 +143,7 @@ result
* The `.cache` subdirectory contains one binary cache product encoding the * The `.cache` subdirectory contains one binary cache product encoding the
same result as `source.dhall`: same result as `source.dhall`:
```bash ```ShellSession
$ dhall decode < ./result/.cache/dhall/122027abdeddfe8503496adeb623466caa47da5f63abd2bc6fa19f6cfcb73ecfed70 $ dhall decode < ./result/.cache/dhall/122027abdeddfe8503496adeb623466caa47da5f63abd2bc6fa19f6cfcb73ecfed70
True True
``` ```
@ -151,7 +151,7 @@ result
* `binary.dhall` contains a Dhall expression which handles fetching and decoding * `binary.dhall` contains a Dhall expression which handles fetching and decoding
the same cache product: the same cache product:
```bash ```ShellSession
$ cat ./result/binary.dhall $ cat ./result/binary.dhall
missing sha256:27abdeddfe8503496adeb623466caa47da5f63abd2bc6fa19f6cfcb73ecfed70 missing sha256:27abdeddfe8503496adeb623466caa47da5f63abd2bc6fa19f6cfcb73ecfed70
$ cp -r ./result/.cache .cache $ cp -r ./result/.cache .cache
@ -168,7 +168,7 @@ to conserve disk space when they are used exclusively as dependencies. For
example, if we build the Prelude package it will only contain the binary example, if we build the Prelude package it will only contain the binary
encoding of the expression: encoding of the expression:
```bash ```ShellSession
$ nix build --file ./example.nix dhallPackages.Prelude $ nix build --file ./example.nix dhallPackages.Prelude
$ tree -a result $ tree -a result
@ -199,7 +199,7 @@ Dhall overlay like this:
… and now the Prelude will contain the fully decoded result of interpreting … and now the Prelude will contain the fully decoded result of interpreting
the Prelude: the Prelude:
```bash ```ShellSession
$ nix build --file ./example.nix dhallPackages.Prelude $ nix build --file ./example.nix dhallPackages.Prelude
$ tree -a result $ tree -a result
@ -302,7 +302,7 @@ Additionally, `buildDhallGitHubPackage` accepts the same arguments as
You can use the `dhall-to-nixpkgs` command-line utility to automate You can use the `dhall-to-nixpkgs` command-line utility to automate
packaging Dhall code. For example: packaging Dhall code. For example:
```bash ```ShellSession
$ nix-env --install --attr haskellPackages.dhall-nixpkgs $ nix-env --install --attr haskellPackages.dhall-nixpkgs
$ nix-env --install --attr nix-prefetch-git # Used by dhall-to-nixpkgs $ nix-env --install --attr nix-prefetch-git # Used by dhall-to-nixpkgs
@ -329,12 +329,12 @@ The utility takes care of automatically detecting remote imports and converting
them to package dependencies. You can also use the utility on local them to package dependencies. You can also use the utility on local
Dhall directories, too: Dhall directories, too:
```bash ```ShellSession
$ dhall-to-nixpkgs directory ~/proj/dhall-semver $ dhall-to-nixpkgs directory ~/proj/dhall-semver
{ buildDhallDirectoryPackage, Prelude }: { buildDhallDirectoryPackage, Prelude }:
buildDhallDirectoryPackage { buildDhallDirectoryPackage {
name = "proj"; name = "proj";
src = /Users/gabriel/proj/dhall-semver; src = ~/proj/dhall-semver;
file = "package.dhall"; file = "package.dhall";
source = false; source = false;
document = false; document = false;
@ -342,6 +342,37 @@ $ dhall-to-nixpkgs directory ~/proj/dhall-semver
} }
``` ```
### Remote imports as fixed-output derivations {#ssec-dhall-remote-imports-as-fod}
`dhall-to-nixpkgs` has the ability to fetch and build remote imports as
fixed-output derivations by using their Dhall integrity check. This is
sometimes easier than manually packaging all remote imports.
This can be used like the following:
```ShellSession
$ dhall-to-nixpkgs directory --fixed-output-derivations ~/proj/dhall-semver
{ buildDhallDirectoryPackage, buildDhallUrl }:
buildDhallDirectoryPackage {
name = "proj";
src = ~/proj/dhall-semver;
file = "package.dhall";
source = false;
document = false;
dependencies = [
(buildDhallUrl {
url = "https://prelude.dhall-lang.org/v17.0.0/package.dhall";
hash = "sha256-ENs8kZwl6QRoM9+Jeo/+JwHcOQ+giT2VjDQwUkvlpD4=";
dhallHash = "sha256:10db3c919c25e9046833df897a8ffe2701dc390fa0893d958c3430524be5a43e";
})
];
}
```
Here, `dhall-semver`'s `Prelude` dependency is fetched and built with the
`buildDhallUrl` helper function, instead of being passed in as a function
argument.
## Overriding dependency versions {#ssec-dhall-overriding-dependency-versions} ## Overriding dependency versions {#ssec-dhall-overriding-dependency-versions}
Suppose that we change our `true.dhall` example expression to depend on an older Suppose that we change our `true.dhall` example expression to depend on an older
@ -359,7 +390,7 @@ in Prelude.Bool.not False
If we try to rebuild that expression the build will fail: If we try to rebuild that expression the build will fail:
``` ```ShellSession
$ nix build --file ./example.nix dhallPackages.true $ nix build --file ./example.nix dhallPackages.true
builder for '/nix/store/0f1hla7ff1wiaqyk1r2ky4wnhnw114fi-true.drv' failed with exit code 1; last 10 log lines: builder for '/nix/store/0f1hla7ff1wiaqyk1r2ky4wnhnw114fi-true.drv' failed with exit code 1; last 10 log lines:
@ -385,7 +416,7 @@ importing the URL.
However, we can override the default Prelude version by using `dhall-to-nixpkgs` However, we can override the default Prelude version by using `dhall-to-nixpkgs`
to create a Dhall package for our desired Prelude: to create a Dhall package for our desired Prelude:
```bash ```ShellSession
$ dhall-to-nixpkgs github https://github.com/dhall-lang/dhall-lang.git \ $ dhall-to-nixpkgs github https://github.com/dhall-lang/dhall-lang.git \
--name Prelude \ --name Prelude \
--directory Prelude \ --directory Prelude \
@ -396,7 +427,7 @@ $ dhall-to-nixpkgs github https://github.com/dhall-lang/dhall-lang.git \
… and then referencing that package in our Dhall overlay, by either overriding … and then referencing that package in our Dhall overlay, by either overriding
the Prelude globally for all packages, like this: the Prelude globally for all packages, like this:
```bash ```nix
dhallOverrides = self: super: { dhallOverrides = self: super: {
true = self.callPackage ./true.nix { }; true = self.callPackage ./true.nix { };
@ -407,7 +438,7 @@ the Prelude globally for all packages, like this:
… or selectively overriding the Prelude dependency for just the `true` package, … or selectively overriding the Prelude dependency for just the `true` package,
like this: like this:
```bash ```nix
dhallOverrides = self: super: { dhallOverrides = self: super: {
true = self.callPackage ./true.nix { true = self.callPackage ./true.nix {
Prelude = self.callPackage ./Prelude.nix { }; Prelude = self.callPackage ./Prelude.nix { };

View File

@ -6748,6 +6748,12 @@
githubId = 10626; githubId = 10626;
name = "Andreas Wagner"; name = "Andreas Wagner";
}; };
lrewega = {
email = "lrewega@c32.ca";
github = "lrewega";
githubId = 639066;
name = "Luke Rewega";
};
lromor = { lromor = {
email = "leonardo.romor@gmail.com"; email = "leonardo.romor@gmail.com";
github = "lromor"; github = "lromor";
@ -9604,6 +9610,12 @@
githubId = 165283; githubId = 165283;
name = "Alexey Kutepov"; name = "Alexey Kutepov";
}; };
rewine = {
email = "lhongxu@outlook.com";
github = "wineee";
githubId = 22803888;
name = "Lu Hongxu";
};
rgrunbla = { rgrunbla = {
email = "remy@grunblatt.org"; email = "remy@grunblatt.org";
github = "rgrunbla"; github = "rgrunbla";

View File

@ -1803,6 +1803,17 @@ Superuser created successfully.
when its config file changes instead of restarting. when its config file changes instead of restarting.
</para> </para>
</listitem> </listitem>
<listitem>
<para>
The option
<literal>services.prometheus.environmentFile</literal> has
been removed since it was causing
<link xlink:href="https://github.com/NixOS/nixpkgs/issues/126083">issues</link>
and Prometheus now has native support for secret files, i.e.
<literal>basic_auth.password_file</literal> and
<literal>authorization.credentials_file</literal>.
</para>
</listitem>
<listitem> <listitem>
<para> <para>
Dokuwiki now supports caddy! However Dokuwiki now supports caddy! However

View File

@ -508,6 +508,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- A new option `services.prometheus.enableReload` has been added which can be enabled to reload the prometheus service when its config file changes instead of restarting. - A new option `services.prometheus.enableReload` has been added which can be enabled to reload the prometheus service when its config file changes instead of restarting.
- The option `services.prometheus.environmentFile` has been removed since it was causing [issues](https://github.com/NixOS/nixpkgs/issues/126083) and Prometheus now has native support for secret files, i.e. `basic_auth.password_file` and `authorization.credentials_file`.
- Dokuwiki now supports caddy! However - Dokuwiki now supports caddy! However
- the nginx option has been removed, in the new configuration, please use the `dokuwiki.webserver = "nginx"` instead. - the nginx option has been removed, in the new configuration, please use the `dokuwiki.webserver = "nginx"` instead.
- The "${hostname}" option has been deprecated, please use `dokuwiki.sites = [ "${hostname}" ]` instead - The "${hostname}" option has been deprecated, please use `dokuwiki.sites = [ "${hostname}" ]` instead

View File

@ -47,6 +47,15 @@ let
''; '';
}; };
allowDiscards = mkOption {
default = false;
type = types.bool;
description = ''
Whether to allow TRIM requests to the underlying device. This option
has security implications; please read the LUKS documentation before
activating it.
'';
};
}; };
}; };
@ -224,7 +233,8 @@ in
fi fi
''} ''}
${optionalString sw.randomEncryption.enable '' ${optionalString sw.randomEncryption.enable ''
cryptsetup plainOpen -c ${sw.randomEncryption.cipher} -d ${sw.randomEncryption.source} ${optionalString (sw.discardPolicy != null) "--allow-discards"} ${sw.device} ${sw.deviceName} cryptsetup plainOpen -c ${sw.randomEncryption.cipher} -d ${sw.randomEncryption.source} \
${optionalString sw.randomEncryption.allowDiscards "--allow-discards"} ${sw.device} ${sw.deviceName}
mkswap ${sw.realDevice} mkswap ${sw.realDevice}
''} ''}
''; '';

View File

@ -15,7 +15,7 @@ let
(optionalString rule.noLog "nolog") (optionalString rule.noLog "nolog")
(optionalString rule.persist "persist") (optionalString rule.persist "persist")
(optionalString rule.keepEnv "keepenv") (optionalString rule.keepEnv "keepenv")
"setenv { SSH_AUTH_SOCK ${concatStringsSep " " rule.setEnv} }" "setenv { SSH_AUTH_SOCK TERMINFO TERMINFO_DIRS ${concatStringsSep " " rule.setEnv} }"
]; ];
mkArgs = rule: mkArgs = rule:

View File

@ -9,13 +9,6 @@ let
prometheusYmlOut = "${workingDir}/prometheus-substituted.yaml"; prometheusYmlOut = "${workingDir}/prometheus-substituted.yaml";
writeConfig = pkgs.writeShellScriptBin "write-prometheus-config" ''
PATH="${makeBinPath (with pkgs; [ coreutils envsubst ])}"
touch '${prometheusYmlOut}'
chmod 600 '${prometheusYmlOut}'
envsubst -o '${prometheusYmlOut}' -i '${prometheusYml}'
'';
triggerReload = pkgs.writeShellScriptBin "trigger-reload-prometheus" '' triggerReload = pkgs.writeShellScriptBin "trigger-reload-prometheus" ''
PATH="${makeBinPath (with pkgs; [ systemd ])}" PATH="${makeBinPath (with pkgs; [ systemd ])}"
if systemctl -q is-active prometheus.service; then if systemctl -q is-active prometheus.service; then
@ -76,8 +69,8 @@ let
"--storage.tsdb.path=${workingDir}/data/" "--storage.tsdb.path=${workingDir}/data/"
"--config.file=${ "--config.file=${
if cfg.enableReload if cfg.enableReload
then prometheusYmlOut then "/etc/prometheus/prometheus.yaml"
else "/run/prometheus/prometheus-substituted.yaml" else prometheusYml
}" }"
"--web.listen-address=${cfg.listenAddress}:${builtins.toString cfg.port}" "--web.listen-address=${cfg.listenAddress}:${builtins.toString cfg.port}"
"--alertmanager.notification-queue-capacity=${toString cfg.alertmanagerNotificationQueueCapacity}" "--alertmanager.notification-queue-capacity=${toString cfg.alertmanagerNotificationQueueCapacity}"
@ -1561,6 +1554,8 @@ in
imports = [ imports = [
(mkRenamedOptionModule [ "services" "prometheus2" ] [ "services" "prometheus" ]) (mkRenamedOptionModule [ "services" "prometheus2" ] [ "services" "prometheus" ])
(mkRemovedOptionModule [ "services" "prometheus" "environmentFile" ]
"It has been removed since it was causing issues (https://github.com/NixOS/nixpkgs/issues/126083) and Prometheus now has native support for secret files, i.e. `basic_auth.password_file` and `authorization.credentials_file`.")
]; ];
options.services.prometheus = { options.services.prometheus = {
@ -1625,51 +1620,6 @@ in
(<literal>switch-to-configuration</literal>) that changes the prometheus (<literal>switch-to-configuration</literal>) that changes the prometheus
configuration only finishes successully when prometheus has finished configuration only finishes successully when prometheus has finished
loading the new configuration. loading the new configuration.
Note that prometheus will also get reloaded when the location of the
<option>environmentFile</option> changes but not when its contents
changes. So when you change it contents make sure to reload prometheus
manually or include the hash of <option>environmentFile</option> in its
name.
'';
};
environmentFile = mkOption {
type = types.nullOr types.path;
default = null;
example = "/root/prometheus.env";
description = ''
Environment file as defined in <citerefentry>
<refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum>
</citerefentry>.
Secrets may be passed to the service without adding them to the
world-readable Nix store, by specifying placeholder variables as
the option value in Nix and setting these variables accordingly in the
environment file.
Environment variables from this file will be interpolated into the
config file using envsubst with this syntax:
<literal>$ENVIRONMENT ''${VARIABLE}</literal>
<programlisting>
# Example scrape config entry handling an OAuth bearer token
{
job_name = "home_assistant";
metrics_path = "/api/prometheus";
scheme = "https";
bearer_token = "\''${HOME_ASSISTANT_BEARER_TOKEN}";
[...]
}
</programlisting>
<programlisting>
# Content of the environment file
HOME_ASSISTANT_BEARER_TOKEN=someoauthbearertoken
</programlisting>
Note that this file needs to be available on the host on which
<literal>Prometheus</literal> is running.
''; '';
}; };
@ -1830,13 +1780,12 @@ in
uid = config.ids.uids.prometheus; uid = config.ids.uids.prometheus;
group = "prometheus"; group = "prometheus";
}; };
environment.etc."prometheus/prometheus.yaml" = mkIf cfg.enableReload {
source = prometheusYml;
};
systemd.services.prometheus = { systemd.services.prometheus = {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = [ "network.target" ]; after = [ "network.target" ];
preStart = mkIf (!cfg.enableReload) ''
${lib.getBin pkgs.envsubst}/bin/envsubst -o "/run/prometheus/prometheus-substituted.yaml" \
-i "${prometheusYml}"
'';
serviceConfig = { serviceConfig = {
ExecStart = "${cfg.package}/bin/prometheus" + ExecStart = "${cfg.package}/bin/prometheus" +
optionalString (length cmdlineArgs != 0) (" \\\n " + optionalString (length cmdlineArgs != 0) (" \\\n " +
@ -1844,7 +1793,6 @@ in
ExecReload = mkIf cfg.enableReload "+${reload}/bin/reload-prometheus"; ExecReload = mkIf cfg.enableReload "+${reload}/bin/reload-prometheus";
User = "prometheus"; User = "prometheus";
Restart = "always"; Restart = "always";
EnvironmentFile = mkIf (cfg.environmentFile != null && !cfg.enableReload) [ cfg.environmentFile ];
RuntimeDirectory = "prometheus"; RuntimeDirectory = "prometheus";
RuntimeDirectoryMode = "0700"; RuntimeDirectoryMode = "0700";
WorkingDirectory = workingDir; WorkingDirectory = workingDir;
@ -1852,18 +1800,6 @@ in
StateDirectoryMode = "0700"; StateDirectoryMode = "0700";
}; };
}; };
systemd.services.prometheus-config-write = mkIf cfg.enableReload {
wantedBy = [ "prometheus.service" ];
before = [ "prometheus.service" ];
serviceConfig = {
Type = "oneshot";
User = "prometheus";
StateDirectory = cfg.stateDir;
StateDirectoryMode = "0700";
EnvironmentFile = mkIf (cfg.environmentFile != null) [ cfg.environmentFile ];
ExecStart = "${writeConfig}/bin/write-prometheus-config";
};
};
# prometheus-config-reload will activate after prometheus. However, what we # prometheus-config-reload will activate after prometheus. However, what we
# don't want is that on startup it immediately reloads prometheus because # don't want is that on startup it immediately reloads prometheus because
# prometheus itself might have just started. # prometheus itself might have just started.
@ -1873,26 +1809,19 @@ in
# harmless message and then stay active (RemainAfterExit). # harmless message and then stay active (RemainAfterExit).
# #
# Then, when the config file has changed, switch-to-configuration notices # Then, when the config file has changed, switch-to-configuration notices
# that this service has changed and needs to be reloaded # that this service has changed (restartTriggers) and needs to be reloaded
# (reloadIfChanged). The reload command then actually writes the new config # (reloadIfChanged). The reload command then reloads prometheus.
# and reloads prometheus.
systemd.services.prometheus-config-reload = mkIf cfg.enableReload { systemd.services.prometheus-config-reload = mkIf cfg.enableReload {
wantedBy = [ "prometheus.service" ]; wantedBy = [ "prometheus.service" ];
after = [ "prometheus.service" ]; after = [ "prometheus.service" ];
reloadIfChanged = true; reloadIfChanged = true;
restartTriggers = [ prometheusYml ];
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
User = "prometheus";
StateDirectory = cfg.stateDir;
StateDirectoryMode = "0700";
EnvironmentFile = mkIf (cfg.environmentFile != null) [ cfg.environmentFile ];
RemainAfterExit = true; RemainAfterExit = true;
TimeoutSec = 60; TimeoutSec = 60;
ExecStart = "${pkgs.logger}/bin/logger 'prometheus-config-reload will only reload prometheus when reloaded itself.'"; ExecStart = "${pkgs.logger}/bin/logger 'prometheus-config-reload will only reload prometheus when reloaded itself.'";
ExecReload = [ ExecReload = [ "${triggerReload}/bin/trigger-reload-prometheus" ];
"${writeConfig}/bin/write-prometheus-config"
"+${triggerReload}/bin/trigger-reload-prometheus"
];
}; };
}; };
}; };

View File

@ -5,19 +5,6 @@ with lib;
let let
cfg = config.services.plausible; cfg = config.services.plausible;
# FIXME consider using LoadCredential as soon as it actually works.
envSecrets = ''
ADMIN_USER_PWD="$(<${cfg.adminUser.passwordFile})"
export ADMIN_USER_PWD # separate export to make `set -e` work
SECRET_KEY_BASE="$(<${cfg.server.secretKeybaseFile})"
export SECRET_KEY_BASE # separate export to make `set -e` work
${optionalString (cfg.mail.smtp.passwordFile != null) ''
SMTP_USER_PWD="$(<${cfg.mail.smtp.passwordFile})"
export SMTP_USER_PWD # separate export to make `set -e` work
''}
'';
in { in {
options.services.plausible = { options.services.plausible = {
enable = mkEnableOption "plausible"; enable = mkEnableOption "plausible";
@ -184,13 +171,15 @@ in {
enable = true; enable = true;
}; };
services.epmd.enable = true;
systemd.services = mkMerge [ systemd.services = mkMerge [
{ {
plausible = { plausible = {
inherit (pkgs.plausible.meta) description; inherit (pkgs.plausible.meta) description;
documentation = [ "https://plausible.io/docs/self-hosting" ]; documentation = [ "https://plausible.io/docs/self-hosting" ];
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = optional cfg.database.postgres.setup "plausible-postgres.service"; after = optionals cfg.database.postgres.setup [ "postgresql.service" "plausible-postgres.service" ];
requires = optional cfg.database.clickhouse.setup "clickhouse.service" requires = optional cfg.database.clickhouse.setup "clickhouse.service"
++ optionals cfg.database.postgres.setup [ ++ optionals cfg.database.postgres.setup [
"postgresql.service" "postgresql.service"
@ -200,7 +189,7 @@ in {
environment = { environment = {
# NixOS specific option to avoid that it's trying to write into its store-path. # NixOS specific option to avoid that it's trying to write into its store-path.
# See also https://github.com/lau/tzdata#data-directory-and-releases # See also https://github.com/lau/tzdata#data-directory-and-releases
TZDATA_DIR = "/var/lib/plausible/elixir_tzdata"; STORAGE_DIR = "/var/lib/plausible/elixir_tzdata";
# Configuration options from # Configuration options from
# https://plausible.io/docs/self-hosting-configuration # https://plausible.io/docs/self-hosting-configuration
@ -231,28 +220,29 @@ in {
path = [ pkgs.plausible ] path = [ pkgs.plausible ]
++ optional cfg.database.postgres.setup config.services.postgresql.package; ++ optional cfg.database.postgres.setup config.services.postgresql.package;
script = ''
export CONFIG_DIR=$CREDENTIALS_DIRECTORY
# setup
${pkgs.plausible}/createdb.sh
${pkgs.plausible}/migrate.sh
${optionalString cfg.adminUser.activate ''
if ! ${pkgs.plausible}/init-admin.sh | grep 'already exists'; then
psql -d plausible <<< "UPDATE users SET email_verified=true;"
fi
''}
plausible start
'';
serviceConfig = { serviceConfig = {
DynamicUser = true; DynamicUser = true;
PrivateTmp = true; PrivateTmp = true;
WorkingDirectory = "/var/lib/plausible"; WorkingDirectory = "/var/lib/plausible";
StateDirectory = "plausible"; StateDirectory = "plausible";
ExecStartPre = "@${pkgs.writeShellScript "plausible-setup" '' LoadCredential = [
set -eu -o pipefail "ADMIN_USER_PWD:${cfg.adminUser.passwordFile}"
${envSecrets} "SECRET_KEY_BASE:${cfg.server.secretKeybaseFile}"
${pkgs.plausible}/createdb.sh ] ++ lib.optionals (cfg.mail.smtp.passwordFile != null) [ "SMTP_USER_PWD:${cfg.mail.smtp.passwordFile}"];
${pkgs.plausible}/migrate.sh
${optionalString cfg.adminUser.activate ''
if ! ${pkgs.plausible}/init-admin.sh | grep 'already exists'; then
psql -d plausible <<< "UPDATE users SET email_verified=true;"
fi
''}
''} plausible-setup";
ExecStart = "@${pkgs.writeShellScript "plausible" ''
set -eu -o pipefail
${envSecrets}
plausible start
''} plausible";
}; };
}; };
} }
@ -260,20 +250,22 @@ in {
# `plausible' requires the `citext'-extension. # `plausible' requires the `citext'-extension.
plausible-postgres = { plausible-postgres = {
after = [ "postgresql.service" ]; after = [ "postgresql.service" ];
bindsTo = [ "postgresql.service" ];
requiredBy = [ "plausible.service" ];
partOf = [ "plausible.service" ]; partOf = [ "plausible.service" ];
serviceConfig.Type = "oneshot"; serviceConfig = {
unitConfig.ConditionPathExists = "!/var/lib/plausible/.db-setup"; Type = "oneshot";
script = '' User = config.services.postgresql.superUser;
mkdir -p /var/lib/plausible/ RemainAfterExit = true;
};
script = with cfg.database.postgres; ''
PSQL() { PSQL() {
/run/wrappers/bin/sudo -Hu postgres ${config.services.postgresql.package}/bin/psql --port=5432 "$@" ${config.services.postgresql.package}/bin/psql --port=5432 "$@"
} }
PSQL -tAc "CREATE ROLE plausible WITH LOGIN;" # check if the database already exists
PSQL -tAc "CREATE DATABASE plausible WITH OWNER plausible;" if ! PSQL -lqt | ${pkgs.coreutils}/bin/cut -d \| -f 1 | ${pkgs.gnugrep}/bin/grep -qw ${dbname} ; then
PSQL -d plausible -tAc "CREATE EXTENSION IF NOT EXISTS citext;" PSQL -tAc "CREATE ROLE plausible WITH LOGIN;"
touch /var/lib/plausible/.db-setup PSQL -tAc "CREATE DATABASE ${dbname} WITH OWNER plausible;"
PSQL -d ${dbname} -tAc "CREATE EXTENSION IF NOT EXISTS citext;"
fi
''; '';
}; };
}) })

View File

@ -85,6 +85,14 @@ import ./make-test-python.nix (
# ../../pkgs/tools/security/doas/0001-add-NixOS-specific-dirs-to-safe-PATH.patch # ../../pkgs/tools/security/doas/0001-add-NixOS-specific-dirs-to-safe-PATH.patch
with subtest("recursive calls to doas from subprocesses should succeed"): with subtest("recursive calls to doas from subprocesses should succeed"):
machine.succeed('doas -u test0 sh -c "doas -u test0 true"') machine.succeed('doas -u test0 sh -c "doas -u test0 true"')
with subtest("test0 should inherit TERMINFO_DIRS from the user environment"):
dirs = machine.succeed(
"su - test0 -c 'doas -u root $SHELL -c \"echo \$TERMINFO_DIRS\"'"
)
if not "test0" in dirs:
raise Exception(f"user profile TERMINFO_DIRS is not preserved: {dirs}")
''; '';
} }
) )

View File

@ -130,14 +130,10 @@ in import ./make-test-python.nix {
# This configuration just adds a new prometheus job # This configuration just adds a new prometheus job
# to scrape the node_exporter metrics of the s3 machine. # to scrape the node_exporter metrics of the s3 machine.
# We also use an environmentFile to test if that works correctly.
services.prometheus = { services.prometheus = {
environmentFile = pkgs.writeText "prometheus-config-env-file" ''
JOB_NAME=s3-node_exporter
'';
scrapeConfigs = [ scrapeConfigs = [
{ {
job_name = "$JOB_NAME"; job_name = "s3-node_exporter";
static_configs = [ static_configs = [
{ {
targets = [ "s3:9100" ]; targets = [ "s3:9100" ];
@ -232,11 +228,6 @@ in import ./make-test-python.nix {
# Check if prometheus responds to requests: # Check if prometheus responds to requests:
prometheus.wait_for_unit("prometheus.service") prometheus.wait_for_unit("prometheus.service")
# Check if prometheus' config file is correctly locked down because it could contain secrets.
prometheus.succeed(
"stat -c '%a %U' /var/lib/prometheus2/prometheus-substituted.yaml | grep '600 prometheus'"
)
prometheus.wait_for_open_port(${toString queryPort}) prometheus.wait_for_open_port(${toString queryPort})
prometheus.succeed("curl -sf http://127.0.0.1:${toString queryPort}/metrics") prometheus.succeed("curl -sf http://127.0.0.1:${toString queryPort}/metrics")

View File

@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
zlib zlib
]; ];
prePatch = '' postPatch = ''
substituteInPlace CMakeLists.txt \ substituteInPlace CMakeLists.txt \
--replace "-o aslr" "" --replace "-o aslr" ""
''; '';

View File

@ -9,13 +9,13 @@
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "chia-plotter"; pname = "chia-plotter";
version = "unstable-2021-07-12"; version = "1.1.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "madMAx43v3r"; owner = "madMAx43v3r";
repo = "chia-plotter"; repo = "chia-plotter";
rev = "974d6e5f1440f68c48492122ca33828a98864dfc"; rev = "18cad340858f0dbcc8dafd0bda1ce1af0fe58c65";
sha256 = "0dliswvqmi3wq9w8jp0sb0z74n5k37608sig6r60z206g2bwhjja"; sha256 = "sha256-lXjeqcjn3+LtnVYngdM1T3on7V7wez4oOAZ0RpKJXMM=";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View File

@ -23,6 +23,22 @@ stdenv.mkDerivation rec {
url = "https://github.com/LonnyGomes/hexcurse/commit/716b5d58ac859cc240b8ccb9cbd79ace3e0593c1.patch"; url = "https://github.com/LonnyGomes/hexcurse/commit/716b5d58ac859cc240b8ccb9cbd79ace3e0593c1.patch";
sha256 = "0v6gbp6pjpmnzswlf6d97aywiy015g3kcmfrrkspsbb7lh1y3nix"; sha256 = "0v6gbp6pjpmnzswlf6d97aywiy015g3kcmfrrkspsbb7lh1y3nix";
}) })
# Fix pending upstream inclusion for gcc10 -fno-common compatibility:
# https://github.com/LonnyGomes/hexcurse/pull/28
(fetchpatch {
name = "fno-common.patch";
url = "https://github.com/LonnyGomes/hexcurse/commit/9cf7c9dcd012656df949d06f2986b57db3a72bdc.patch";
sha256 = "1awsyxys4pd3gkkgyckgjg3njgqy07223kcmnpfdkidh2xb0s360";
})
# Fix pending upstream inclusion for ncurses-6.3 support:
# https://github.com/LonnyGomes/hexcurse/pull/40
(fetchpatch {
name = "ncurses-6.3.patch";
url = "https://github.com/LonnyGomes/hexcurse/commit/cb70d4a93a46102f488f471fad31a7cfc9fec025.patch";
sha256 = "19674zhhp7gc097kl4bxvi0gblq6jzjy8cw8961svbq5y3hv1v5y";
})
]; ];
meta = with lib; { meta = with lib; {

View File

@ -4,12 +4,12 @@ with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "kakoune-unwrapped"; pname = "kakoune-unwrapped";
version = "2021.10.28"; version = "2021.11.08";
src = fetchFromGitHub { src = fetchFromGitHub {
repo = "kakoune"; repo = "kakoune";
owner = "mawww"; owner = "mawww";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-ph0063EHyFa7arXvCVD+tGhs8ShyCDYkFVd1w6MZ5Z8="; sha256 = "sha256-lMGMt0H1G8EN/7zSVSvU1yU4BYPnSF1vWmozLdrRTQk=";
}; };
makeFlags = [ "debug=no" "PREFIX=${placeholder "out"}" ]; makeFlags = [ "debug=no" "PREFIX=${placeholder "out"}" ];

View File

@ -13,8 +13,6 @@ stdenv.mkDerivation {
postPatch = '' postPatch = ''
substituteInPlace Makefile --replace "--static" "" substituteInPlace Makefile --replace "--static" ""
'' + lib.optionalString stdenv.isi686 ''
substituteInPlace Makefile --replace "-flto" ""
''; '';
installPhase = '' installPhase = ''

View File

@ -1,29 +1,22 @@
{ stdenv, lib, fetchFromGitHub, makeWrapper, fetchpatch { stdenv, lib, fetchFromGitHub, makeWrapper
, pkg-config, which, perl, libXrandr , pkg-config, which, perl, libXrandr
, cairo, dbus, systemd, gdk-pixbuf, glib, libX11, libXScrnSaver , cairo, dbus, systemd, gdk-pixbuf, glib, libX11, libXScrnSaver
, wayland, wayland-protocols , wayland, wayland-protocols
, libXinerama, libnotify, pango, xorgproto, librsvg , libXinerama, libnotify, pango, xorgproto, librsvg
, testVersion, dunst
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "dunst"; pname = "dunst";
version = "1.7.0"; version = "1.7.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dunst-project"; owner = "dunst-project";
repo = "dunst"; repo = "dunst";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-BWbvGetXXCXbfPRY+u6gEfzBmX8PLSnI6a5vfCByiC0="; sha256 = "0v15fhwzcg7zfn092sry0f4qb6dccz9bb312y9dadg745wf3n9qw";
}; };
patches = [
(fetchpatch {
# fixes double free (https://github.com/dunst-project/dunst/issues/957)
url = "https://github.com/dunst-project/dunst/commit/dc8efbbaff0e9ba881fa187a01bfe5c033fbdcf9.patch";
sha256 = "sha256-xuODOFDP9Eqr3g8OtNnaMmTihhurfj2NLeZPr0TF4vY=";
})
];
nativeBuildInputs = [ perl pkg-config which systemd makeWrapper ]; nativeBuildInputs = [ perl pkg-config which systemd makeWrapper ];
buildInputs = [ buildInputs = [
@ -47,6 +40,8 @@ stdenv.mkDerivation rec {
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" --set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
''; '';
passthru.tests.version = testVersion { package = dunst; };
meta = with lib; { meta = with lib; {
description = "Lightweight and customizable notification daemon"; description = "Lightweight and customizable notification daemon";
homepage = "https://dunst-project.org/"; homepage = "https://dunst-project.org/";

View File

@ -2,13 +2,13 @@
mkDerivation rec { mkDerivation rec {
pname = "gpxsee"; pname = "gpxsee";
version = "9.6"; version = "9.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tumic0"; owner = "tumic0";
repo = "GPXSee"; repo = "GPXSee";
rev = version; rev = version;
sha256 = "sha256-Yj8lR8zgIV+gshea7rzLbMF84n1nyN3DytiIkr3B274="; sha256 = "sha256-5FGdcmkVOxjDngVQIlXnH3OPRMjaixqJ2Xb239usUuo=";
}; };
patches = (substituteAll { patches = (substituteAll {

View File

@ -15,7 +15,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "numberstation"; pname = "numberstation";
version = "0.5.0"; version = "1.0.0";
format = "other"; format = "other";
@ -23,7 +23,7 @@ python3.pkgs.buildPythonApplication rec {
owner = "~martijnbraam"; owner = "~martijnbraam";
repo = "numberstation"; repo = "numberstation";
rev = version; rev = version;
sha256 = "1hh66i0rfm85a97iajxlh965wk68hn0kkfgi9cljjkqf98xiy0bb"; sha256 = "1mr0rmm7hcyn8qr485h1ihbb5f581sab4fgvs7lhwy9lxsqk0r0l";
}; };
postPatch = '' postPatch = ''

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "sfm"; pname = "sfm";
version = "0.3.1"; version = "0.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "afify"; owner = "afify";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-NmafUezwKK9bYPAWDNhegyjqkb4GY/i1WEtQ9puIaig="; hash = "sha256-VwPux6n+azpR4qDkzZJia95pJJOaFDBBoz6/VwlC0zw=";
}; };
configFile = lib.optionalString (conf!=null) (writeText "config.def.h" conf); configFile = lib.optionalString (conf!=null) (writeText "config.def.h" conf);

View File

@ -1,97 +0,0 @@
From 9c2278dad498b8e4040f30c80cf65b3a089ba218 Mon Sep 17 00:00:00 2001
From: talyz <kim.lindberger@gmail.com>
Date: Fri, 14 Feb 2020 16:26:36 +0100
Subject: [PATCH] Build tests again
The tests were accidentally disabled in
688095d0a7d22704b5c3282bc68b41ceca42ab7e. Since then, the code has
drifted slightly: the synergy lib has been renamed from synergy to
synlib in 4263fd17177d7717b04ac6d6ec62efa2f657ed74 and the curl
dependency was dropped in 491bb2de000245a943b8298462c4a9d8f34c9a44.
This reenables the tests, targets the right lib and removes the
obsolete test.
---
src/CMakeLists.txt | 2 +
src/test/integtests/CMakeLists.txt | 2 +-
.../integtests/arch/ArchInternetTests.cpp | 37 -------------------
src/test/unittests/CMakeLists.txt | 2 +-
4 files changed, 4 insertions(+), 39 deletions(-)
delete mode 100644 src/test/integtests/arch/ArchInternetTests.cpp
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index ab63a066..fee080ab 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -22,3 +22,5 @@ add_subdirectory(cmd)
if (SYNERGY_BUILD_LEGACY_GUI)
add_subdirectory(gui)
endif (SYNERGY_BUILD_LEGACY_GUI)
+
+add_subdirectory(test)
diff --git a/src/test/integtests/CMakeLists.txt b/src/test/integtests/CMakeLists.txt
index f39968a3..096ba3d5 100644
--- a/src/test/integtests/CMakeLists.txt
+++ b/src/test/integtests/CMakeLists.txt
@@ -68,4 +68,4 @@ endif()
add_executable(integtests ${sources})
target_link_libraries(integtests
- arch base client common io ipc mt net platform server synergy gtest gmock ${libs} ${OPENSSL_LIBS})
+ arch base client common io ipc mt net platform server synlib gtest gmock ${libs} ${OPENSSL_LIBS})
diff --git a/src/test/integtests/arch/ArchInternetTests.cpp b/src/test/integtests/arch/ArchInternetTests.cpp
deleted file mode 100644
index 95823e9f..00000000
--- a/src/test/integtests/arch/ArchInternetTests.cpp
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * synergy -- mouse and keyboard sharing utility
- * Copyright (C) 2014-2016 Symless Ltd.
- *
- * This package is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * found in the file LICENSE that should have accompanied this file.
- *
- * This package is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include "arch/Arch.h"
-
-#include "test/global/gtest.h"
-
-#define TEST_URL "https://symless.com/tests/?testString"
-//#define TEST_URL "http://localhost/synergy/tests/?testString"
-
-TEST(ArchInternetTests, get)
-{
- ARCH_INTERNET internet;
- String result = internet.get(TEST_URL);
- ASSERT_EQ("Hello world!", result);
-}
-
-TEST(ArchInternetTests, urlEncode)
-{
- ARCH_INTERNET internet;
- String result = internet.urlEncode("hello=+&world");
- ASSERT_EQ("hello%3D%2B%26world", result);
-}
diff --git a/src/test/unittests/CMakeLists.txt b/src/test/unittests/CMakeLists.txt
index 54131eb2..46307e90 100644
--- a/src/test/unittests/CMakeLists.txt
+++ b/src/test/unittests/CMakeLists.txt
@@ -68,4 +68,4 @@ endif()
add_executable(unittests ${sources})
target_link_libraries(unittests
- arch base client server common io net platform server synergy mt ipc gtest gmock shared ${libs} ${OPENSSL_LIBS})
+ arch base client server common io net platform server synlib mt ipc gtest gmock shared ${libs} ${OPENSSL_LIBS})
--
2.25.0

View File

@ -1,41 +1,90 @@
{ stdenv, lib, fetchpatch, fetchFromGitHub, cmake, openssl, qttools { withGUI ? true
, ApplicationServices, Carbon, Cocoa, CoreServices, ScreenSaver , stdenv
, xlibsWrapper, libX11, libXi, libXtst, libXrandr, xinput, avahi-compat , lib
, withGUI ? true, wrapQtAppsHook }: , fetchpatch
, fetchFromGitHub
, wrapQtAppsHook
, cmake
, openssl
, pcre
, util-linux
, libselinux
, libsepol
, pkg-config
, gdk-pixbuf
, libnotify
, qttools
, xlibsWrapper
, libX11
, libXi
, libXtst
, libXrandr
, xinput
, avahi-compat
# macOS / darwin
, ApplicationServices
, Carbon
, Cocoa
, CoreServices
, ScreenSaver
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "synergy"; pname = "synergy";
version = "1.13.1.41"; version = "1.14.1.32";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "symless"; owner = "symless";
repo = "synergy-core"; repo = "synergy-core";
rev = "${version}-stable"; rev = "${version}-stable";
fetchSubmodules = true; fetchSubmodules = true;
sha256 = "1phg0szc9g018zxs5wbys4drzq1cdhyzajfg45l6a3fmi6qdi1kw"; sha256 = "123p75rm22vb3prw1igh0yii2y4bvv7r18iykfvmnr41hh4w7z2p";
}; };
patches = lib.optional stdenv.isDarwin ./macos_build_fix.patch; patches = [ ./macos_build_fix.patch ];
postPatch = '' postPatch = ''
substituteInPlace src/gui/src/SslCertificate.cpp \ substituteInPlace src/gui/src/SslCertificate.cpp \
--replace 'kUnixOpenSslCommand[] = "openssl";' 'kUnixOpenSslCommand[] = "${openssl}/bin/openssl";' --replace 'kUnixOpenSslCommand[] = "openssl";' 'kUnixOpenSslCommand[] = "${openssl}/bin/openssl";'
''; '';
cmakeFlags = lib.optional (!withGUI) "-DSYNERGY_BUILD_LEGACY_GUI=OFF"; cmakeFlags = lib.optionals (!withGUI) [
"-DSYNERGY_BUILD_LEGACY_GUI=OFF"
] ++ lib.optionals stdenv.isDarwin [
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.09"
];
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-inconsistent-missing-override";
nativeBuildInputs = [ cmake ] ++ lib.optional withGUI wrapQtAppsHook; nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
dontWrapQtApps = true; dontWrapQtApps = true;
buildInputs = [ buildInputs = [
openssl openssl
pcre
] ++ lib.optionals withGUI [ ] ++ lib.optionals withGUI [
qttools qttools
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
ApplicationServices Carbon Cocoa CoreServices ScreenSaver ApplicationServices
Carbon
Cocoa
CoreServices
ScreenSaver
] ++ lib.optionals stdenv.isLinux [ ] ++ lib.optionals stdenv.isLinux [
xlibsWrapper libX11 libXi libXtst libXrandr xinput avahi-compat util-linux
libselinux
libsepol
xlibsWrapper
libX11
libXi
libXtst
libXrandr
xinput
avahi-compat
gdk-pixbuf
libnotify
]; ];
installPhase = '' installPhase = ''
@ -60,7 +109,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "Share one mouse and keyboard between multiple computers"; description = "Share one mouse and keyboard between multiple computers";
homepage = "https://synergy-project.org/"; homepage = "https://symless.com/synergy";
license = licenses.gpl2; license = licenses.gpl2;
maintainers = with maintainers; [ talyz ]; maintainers = with maintainers; [ talyz ];
platforms = platforms.all; platforms = platforms.all;

View File

@ -1,20 +1,29 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt
index c1e78d1d..13639ba1 100644 index 50e712fa..d39c2ce4 100644
--- a/CMakeLists.txt --- a/CMakeLists.txt
+++ b/CMakeLists.txt +++ b/CMakeLists.txt
@@ -328,14 +328,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Windows") @@ -326,9 +326,6 @@ endif()
${OPENSSL_ROOT}/lib/libssl.lib # Apple has to use static libraries because
${OPENSSL_ROOT}/lib/libcrypto.lib # "Use of the Apple-provided OpenSSL libraries by apps is strongly discouraged."
) # https://developer.apple.com/library/archive/documentation/Security/Conceptual/cryptoservices/SecureNetworkCommunicationAPIs/SecureNetworkCommunicationAPIs.html
-elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") -if(APPLE)
- set (OPENSSL_ROOT /usr/local/opt/openssl) - set(OPENSSL_USE_STATIC_LIBS TRUE)
- include_directories (BEFORE SYSTEM ${OPENSSL_ROOT}/include) -endif()
- set (OPENSSL_LIBS find_package(OpenSSL REQUIRED)
- ${OPENSSL_ROOT}/lib/libssl.a
- ${OPENSSL_ROOT}/lib/libcrypto.a #
- ) diff --git a/src/gui/src/OSXHelpers.mm b/src/gui/src/OSXHelpers.mm
-elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux|.*BSD|DragonFly") index 0c98afc1..38c190a6 100644
+elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux|Darwin|.*BSD|DragonFly") --- a/src/gui/src/OSXHelpers.mm
set (OPENSSL_LIBS ssl crypto) +++ b/src/gui/src/OSXHelpers.mm
else() @@ -20,10 +20,6 @@
message (FATAL_ERROR "Couldn't find OpenSSL") #import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import <Cocoa/Cocoa.h>
-#import <UserNotifications/UNNotification.h>
-#import <UserNotifications/UNUserNotificationCenter.h>
-#import <UserNotifications/UNNotificationContent.h>
-#import <UserNotifications/UNNotificationTrigger.h>
#import <QtGlobal>

View File

@ -4,19 +4,20 @@
, makeWrapper , makeWrapper
, git , git
, go , go
, gnumake
}: }:
buildGoModule rec { buildGoModule rec {
pname = "kubebuilder"; pname = "kubebuilder";
version = "3.1.0"; version = "3.2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kubernetes-sigs"; owner = "kubernetes-sigs";
repo = "kubebuilder"; repo = "kubebuilder";
rev = "v${version}"; rev = "v${version}";
sha256 = "0bl5ff2cplal6hg75800crhyviamk1ws85sq60h4zg21hzf21y68"; sha256 = "sha256-V/g2RHnZPa/9hkVG5WVXmbx6hnJAwUEyyUX/Q3OR2DM=";
}; };
vendorSha256 = "0zxyd950ksjswja64rfri5v2yaalfg6qmq8215ildgrcavl9974n"; vendorSha256 = "sha256-bTCLuAo5xXNoafjGpjKLKlKVKB29PEFwdPu9+qjvufs=";
subPackages = ["cmd"]; subPackages = ["cmd"];
@ -33,7 +34,7 @@ buildGoModule rec {
postInstall = '' postInstall = ''
mv $out/bin/cmd $out/bin/kubebuilder mv $out/bin/cmd $out/bin/kubebuilder
wrapProgram $out/bin/kubebuilder \ wrapProgram $out/bin/kubebuilder \
--prefix PATH : ${lib.makeBinPath [ go ]} --prefix PATH : ${lib.makeBinPath [ go gnumake ]}
''; '';
allowGoReference = true; allowGoReference = true;

View File

@ -0,0 +1,60 @@
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, gtk3
, libconfig
, libsoup
, libsecret
, openssl
, gettext
, glib
, glib-networking
, appstream-glib
, dbus-glib
, python3Packages
, meson
, ninja
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "srain";
version = "1.3.0";
src = fetchFromGitHub {
owner = "SrainApp";
repo = "srain";
rev = version;
sha256 = "14s0h5wgvlkdylnjis2fa7m835142jzw0d0yqjnir1wqnwmq1rld";
};
nativeBuildInputs = [
meson
ninja
pkg-config
gettext
appstream-glib
wrapGAppsHook
python3Packages.sphinx
];
buildInputs = [
gtk3
glib
glib-networking
dbus-glib
libconfig
libsoup
libsecret
openssl
];
meta = with lib; {
description = "Modern IRC client written in GTK";
homepage = "https://srain.im";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ rewine ];
};
}

View File

@ -12,13 +12,13 @@ assert trackerSearch -> (python3 != null);
with lib; with lib;
mkDerivation rec { mkDerivation rec {
pname = "qbittorrent"; pname = "qbittorrent";
version = "4.3.8"; version = "4.3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "qbittorrent"; owner = "qbittorrent";
repo = "qBittorrent"; repo = "qBittorrent";
rev = "release-${version}"; rev = "release-${version}";
sha256 = "sha256-on5folzKuRoVlvDOpme+aWxUKUC5PnO+N3L51qwG2gY="; sha256 = "sha256-pFHeozx72qVjA3cmW6GK058IIAOWmyNm1UQVCQ1v5EU=";
}; };
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -9,8 +9,6 @@ python3Packages.buildPythonApplication rec {
sha256 = "1x7a0nrr9agg1pfgq8i1j8r1p6c0jpyxsv196ylix1dd2iivmas1"; sha256 = "1x7a0nrr9agg1pfgq8i1j8r1p6c0jpyxsv196ylix1dd2iivmas1";
}; };
disabled = python3Packages.pythonOlder "3.5";
nativeBuildInputs = [ python3Packages.cython cmake ]; nativeBuildInputs = [ python3Packages.cython cmake ];
postPatch = lib.optionalString stdenv.isAarch64 '' postPatch = lib.optionalString stdenv.isAarch64 ''

View File

@ -20,6 +20,7 @@ let
}; };
}; };
}; };
version = "14.4.1"; version = "14.4.1";
gitaly_package = "gitlab.com/gitlab-org/gitaly/v${lib.versions.major version}"; gitaly_package = "gitlab.com/gitlab-org/gitaly/v${lib.versions.major version}";
in in

View File

@ -228,5 +228,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl2Only; license = licenses.gpl2Only;
maintainers = with maintainers; [ Anton-Latukha wmertens ]; maintainers = with maintainers; [ Anton-Latukha wmertens ];
platforms = with platforms; unix; platforms = with platforms; unix;
broken = stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "10.13";
}; };
} }

View File

@ -30,10 +30,6 @@ edk2.mkDerivation projectDscPath {
hardeningDisable = [ "format" "stackprotector" "pic" "fortify" ]; hardeningDisable = [ "format" "stackprotector" "pic" "fortify" ];
# Fails on i686 with:
# 'cc1: error: LTO support has not been enabled in this configuration'
NIX_CFLAGS_COMPILE = lib.optionals stdenv.isi686 [ "-fno-lto" ];
buildFlags = buildFlags =
lib.optionals secureBoot [ "-D SECURE_BOOT_ENABLE=TRUE" ] lib.optionals secureBoot [ "-D SECURE_BOOT_ENABLE=TRUE" ]
++ lib.optionals csmSupport [ "-D CSM_ENABLE" "-D FD_SIZE_2MB" ] ++ lib.optionals csmSupport [ "-D CSM_ENABLE" "-D FD_SIZE_2MB" ]

View File

@ -26,8 +26,11 @@ stdenv.mkDerivation rec {
xorgproto xorgproto
]; ];
prePatch = ''substituteInPlace ./Makefile --replace /usr $out \ postPatch = ''
--replace "CC = gcc" "#CC = gcc"''; substituteInPlace ./Makefile \
--replace /usr $out \
--replace "CC = gcc" "#CC = gcc"
'';
# Allow users set their own list of patches # Allow users set their own list of patches
inherit patches; inherit patches;
@ -35,14 +38,12 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
homepage = "http://www.6809.org.uk/evilwm/"; homepage = "http://www.6809.org.uk/evilwm/";
description = "Minimalist window manager for the X Window System"; description = "Minimalist window manager for the X Window System";
license = { license = {
shortName = "evilwm"; shortName = "evilwm";
fullName = "Custom, inherited from aewm and 9wm"; fullName = "Custom, inherited from aewm and 9wm";
url = "http://www.6809.org.uk/evilwm/"; url = "http://www.6809.org.uk/evilwm/";
free = true; free = true;
}; # like BSD/MIT, but Share-Alike'y; See README. }; # like BSD/MIT, but Share-Alike'y; See README.
maintainers = with maintainers; [ amiloradovsky ]; maintainers = with maintainers; [ amiloradovsky ];
platforms = platforms.all; platforms = platforms.all;
}; };

View File

@ -11,35 +11,39 @@
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
rev = "7accfb2aa2f918d1a3ab975b860df1693d20a81a";
pname = "i3lock-fancy"; pname = "i3lock-fancy";
version = "unstable-2018-11-25_rev${builtins.substring 0 7 rev}"; version = "unstable-2018-11-25";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "meskarune"; owner = "meskarune";
repo = "i3lock-fancy"; repo = "i3lock-fancy";
inherit rev; rev = "7accfb2aa2f918d1a3ab975b860df1693d20a81a";
sha256 = "00lqsvz1knb8iqy8lnkn3sf4c2c4nzb0smky63qf48m8za5aw9b1"; sha256 = "00lqsvz1knb8iqy8lnkn3sf4c2c4nzb0smky63qf48m8za5aw9b1";
}; };
patchPhase = ''
sed -i -e "s|mktemp|${coreutils}/bin/mktemp|" i3lock-fancy postPatch = ''
sed -i -e "s|'rm -f |'${coreutils}/bin/rm -f |" i3lock-fancy sed -i i3lock-fancy \
sed -i -e "s|scrot -z |${scrot}/bin/scrot -z |" i3lock-fancy -e "s|mktemp|${coreutils}/bin/mktemp|" \
sed -i -e "s|convert |${imagemagick.out}/bin/convert |" i3lock-fancy -e "s|'rm -f |'${coreutils}/bin/rm -f |" \
sed -i -e "s|awk -F|${gawk}/bin/awk -F|" i3lock-fancy -e "s|scrot -z |${scrot}/bin/scrot -z |" \
sed -i -e "s| awk | ${gawk}/bin/awk |" i3lock-fancy -e "s|convert |${imagemagick.out}/bin/convert |" \
sed -i -e "s|i3lock -i |${i3lock-color}/bin/i3lock-color -i |" i3lock-fancy -e "s|awk -F|${gawk}/bin/awk -F|" \
sed -i -e 's|icon="/usr/share/i3lock-fancy/icons/lockdark.png"|icon="'$out'/share/i3lock-fancy/icons/lockdark.png"|' i3lock-fancy -e "s| awk | ${gawk}/bin/awk |" \
sed -i -e 's|icon="/usr/share/i3lock-fancy/icons/lock.png"|icon="'$out'/share/i3lock-fancy/icons/lock.png"|' i3lock-fancy -e "s|i3lock -i |${i3lock-color}/bin/i3lock-color -i |" \
sed -i -e "s|getopt |${getopt}/bin/getopt |" i3lock-fancy -e 's|icon="/usr/share/i3lock-fancy/icons/lockdark.png"|icon="'$out'/share/i3lock-fancy/icons/lockdark.png"|' \
sed -i -e "s|fc-match |${fontconfig.bin}/bin/fc-match |" i3lock-fancy -e 's|icon="/usr/share/i3lock-fancy/icons/lock.png"|icon="'$out'/share/i3lock-fancy/icons/lock.png"|' \
sed -i -e "s|shot=(import -window root)|shot=(${scrot}/bin/scrot -z -o)|" i3lock-fancy -e "s|getopt |${getopt}/bin/getopt |" \
-e "s|fc-match |${fontconfig.bin}/bin/fc-match |" \
-e "s|shot=(import -window root)|shot=(${scrot}/bin/scrot -z -o)|"
rm Makefile rm Makefile
''; '';
installPhase = '' installPhase = ''
mkdir -p $out/bin $out/share/i3lock-fancy/icons mkdir -p $out/bin $out/share/i3lock-fancy/icons
cp i3lock-fancy $out/bin/i3lock-fancy cp i3lock-fancy $out/bin/i3lock-fancy
cp icons/lock*.png $out/share/i3lock-fancy/icons cp icons/lock*.png $out/share/i3lock-fancy/icons
''; '';
meta = with lib; { meta = with lib; {
description = "i3lock is a bash script that takes a screenshot of the desktop, blurs the background and adds a lock icon and text"; description = "i3lock is a bash script that takes a screenshot of the desktop, blurs the background and adds a lock icon and text";
homepage = "https://github.com/meskarune/i3lock-fancy"; homepage = "https://github.com/meskarune/i3lock-fancy";

View File

@ -1,19 +1,25 @@
{ lib, stdenv, fetchurl, xlibsWrapper, lua, gettext, groff }: { lib, stdenv, fetchurl, xlibsWrapper, lua, gettext, groff }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "ion"; pname = "ion";
version = "3-20090110"; version = "3-20090110";
meta = {
description = "Tiling tabbed window manager designed with keyboard users in mind";
homepage = "http://modeemi.fi/~tuomov/ion";
platforms = with lib.platforms; linux;
license = lib.licenses.lgpl21;
};
src = fetchurl { src = fetchurl {
url = "http://tuomov.iki.fi/software/dl/ion-${version}.tar.gz"; url = "http://tuomov.iki.fi/software/dl/ion-${version}.tar.gz";
sha256 = "1nkks5a95986nyfkxvg2rik6zmwx0lh7szd5fji7yizccwzc9xns"; sha256 = "1nkks5a95986nyfkxvg2rik6zmwx0lh7szd5fji7yizccwzc9xns";
}; };
buildInputs = [ xlibsWrapper lua gettext groff ]; buildInputs = [ xlibsWrapper lua gettext groff ];
buildFlags = [ "LUA_DIR=${lua}" "X11_PREFIX=/no-such-path" "PREFIX=\${out}" ]; buildFlags = [ "LUA_DIR=${lua}" "X11_PREFIX=/no-such-path" "PREFIX=\${out}" ];
installFlags = [ "PREFIX=\${out}" ]; installFlags = [ "PREFIX=\${out}" ];
meta = with lib; {
description = "Tiling tabbed window manager designed with keyboard users in mind";
homepage = "http://modeemi.fi/~tuomov/ion";
platforms = with platforms; linux;
license = licenses.lgpl21;
maintainers = with maintainers; [ ];
};
} }

View File

@ -1,14 +0,0 @@
diff --git a/configure.ac b/configure.ac
index 347d325..dce95a0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -489,7 +489,8 @@ fi
############################################################################
AM_ICONV
AM_GNU_GETTEXT([external])
-AM_GNU_GETTEXT_VERSION([0.19])
+AM_GNU_GETTEXT_VERSION([0.19.6])
+AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.6])
LDFLAGS="$LDFLAGS $LIBINTL $LIBICONV"
############################################################################

View File

@ -1,21 +1,19 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, automake, autoconf, libtool, gettext { lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook, gettext
, which, xorg, libX11, libXext, libXinerama, libXpm, libXft, libXau, libXdmcp , which, xorg, libX11, libXext, libXinerama, libXpm, libXft, libXau, libXdmcp
, libXmu, libpng, libjpeg, expat, xorgproto, librsvg, freetype, fontconfig }: , libXmu, libpng, libjpeg, expat, xorgproto, librsvg, freetype, fontconfig }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "jwm"; pname = "jwm";
version = "1685"; version = "2.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "joewing"; owner = "joewing";
repo = "jwm"; repo = "jwm";
rev = "s${version}"; rev = "v${version}";
sha256 = "1kyvy022sij898g2hm5spy5vq0kw6aqd7fsnawl2xyh06gwh29wg"; sha256 = "19fnrlw05njib13ljh7pmi48myfclra1xhy4b6hi74c6w6yz2fgj";
}; };
patches = [ ./0001-Fix-Gettext-Requirement.patch ]; nativeBuildInputs = [ pkg-config gettext which autoreconfHook ];
nativeBuildInputs = [ pkg-config automake autoconf libtool gettext which ];
buildInputs = [ buildInputs = [
libX11 libX11
@ -38,12 +36,10 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
preConfigure = "./autogen.sh";
meta = { meta = {
homepage = "http://joewing.net/projects/jwm/"; homepage = "http://joewing.net/projects/jwm/";
description = "Joe's Window Manager is a light-weight X11 window manager"; description = "Joe's Window Manager is a light-weight X11 window manager";
license = lib.licenses.gpl2; license = lib.licenses.mit;
platforms = lib.platforms.unix; platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.romildo ]; maintainers = [ lib.maintainers.romildo ];
}; };

View File

@ -47,6 +47,9 @@ let
psutil psutil
pyxdg pyxdg
pygobject3 pygobject3
pywayland
pywlroots
xkbcommon
]; ];
doCheck = false; # Requires X server #TODO this can be worked out with the existing NixOS testing infrastructure. doCheck = false; # Requires X server #TODO this can be worked out with the existing NixOS testing infrastructure.

View File

@ -1,10 +1,8 @@
{ lib, stdenv, fetchgit, xorgproto, libX11, libXft, customConfig ? null, patches ? [ ] }: { lib, stdenv, fetchgit, xorgproto, libX11, libXft, customConfig ? null, patches ? [ ] }:
with lib;
stdenv.mkDerivation { stdenv.mkDerivation {
name = "tabbed"; pname = "tabbed";
version = "unstable-20180310"; version = "unstable-2018-03-10";
src = fetchgit { src = fetchgit {
url = "https://git.suckless.org/tabbed"; url = "https://git.suckless.org/tabbed";
@ -24,7 +22,7 @@ stdenv.mkDerivation {
"PREFIX=$(out)" "PREFIX=$(out)"
]; ];
meta = { meta = with lib; {
homepage = "https://tools.suckless.org/tabbed"; homepage = "https://tools.suckless.org/tabbed";
description = "Simple generic tabbed fronted to xembed aware applications"; description = "Simple generic tabbed fronted to xembed aware applications";
license = licenses.mit; license = licenses.mit;

View File

@ -4,9 +4,6 @@ stdenv.mkDerivation rec {
pname = "trayer"; pname = "trayer";
version = "1.1.8"; version = "1.1.8";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gdk-pixbuf gtk2 ];
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sargon"; owner = "sargon";
repo = "trayer-srg"; repo = "trayer-srg";
@ -14,10 +11,14 @@ stdenv.mkDerivation rec {
sha256 = "1mvhwaqa9bng9wh3jg3b7y8gl7nprbydmhg963xg0r076jyzv0cg"; sha256 = "1mvhwaqa9bng9wh3jg3b7y8gl7nprbydmhg963xg0r076jyzv0cg";
}; };
preConfigure = '' postPatch = ''
patchShebangs configure patchShebangs configure
''; '';
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gdk-pixbuf gtk2 ];
makeFlags = [ "PREFIX=$(out)" ]; makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; { meta = with lib; {

View File

@ -2,13 +2,13 @@
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "Whitesur-icon-theme"; pname = "Whitesur-icon-theme";
version = "2021-10-13"; version = "2021-11-08";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "vinceliuice"; owner = "vinceliuice";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "BP5hGi3G9zNUSfeCbwYUvd3jMcWhstXiDeZCJ6Hgey8="; sha256 = "LZ0GLJFUUvzsPhU2sBkfy5mPpQHuPzYhbumwFKnogoA=";
}; };
nativeBuildInputs = [ gtk3 ]; nativeBuildInputs = [ gtk3 ];

View File

@ -8,20 +8,22 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gcc-arm-embedded"; pname = "gcc-arm-embedded";
version = "10.3.1"; version = "10.3.1";
release = "10.3-2021.07"; release = "10.3-2021.10";
suffix = { suffix = {
aarch64-darwin = "mac"; # use intel binaries via rosetta
aarch64-linux = "aarch64-linux"; aarch64-linux = "aarch64-linux";
x86_64-darwin = "mac-10.14.6"; x86_64-darwin = "mac";
x86_64-linux = "x86_64-linux"; x86_64-linux = "x86_64-linux";
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
src = fetchurl { src = fetchurl {
url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${release}/gcc-arm-none-eabi-${release}-${suffix}.tar.bz2"; url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${release}/gcc-arm-none-eabi-${release}-${suffix}.tar.bz2";
sha256 = { sha256 = {
aarch64-linux = "0y4nyrff5bq90v44z2h90gqgl18bs861i9lygx4z89ym85jycx9s"; aarch64-darwin = "0fr8pki2g4bfk1rk90dzwql37d0b71ngzs9zyx0g2jainan3sqgv";
x86_64-darwin = "1r3yidmgx1xq1f19y2c5njf2g95vs9cssmmsxsb68qm192r58i8a"; aarch64-linux = "020j8gkzc0i0b74vz98gvngnwjm5222j1gk5nswfk6587krba1gn";
x86_64-linux = "1skcalz1sr0hhpjcl8qjsqd16n2w0zrbnlrbr8sx0g728kiqsnwc"; x86_64-darwin = "0fr8pki2g4bfk1rk90dzwql37d0b71ngzs9zyx0g2jainan3sqgv";
x86_64-linux = "18y92vpl22hf74yqdvmpw8adrkl92s4crzzs6avm05md37qb9nwp";
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
}; };
@ -49,6 +51,6 @@ stdenv.mkDerivation rec {
homepage = "https://developer.arm.com/open-source/gnu-toolchain/gnu-rm"; homepage = "https://developer.arm.com/open-source/gnu-toolchain/gnu-rm";
license = with licenses; [ bsd2 gpl2 gpl3 lgpl21 lgpl3 mit ]; license = with licenses; [ bsd2 gpl2 gpl3 lgpl21 lgpl3 mit ];
maintainers = with maintainers; [ prusnak ]; maintainers = with maintainers; [ prusnak ];
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" ]; platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
}; };
} }

View File

@ -12,6 +12,7 @@ stdenv.mkDerivation rec {
subdir = "9-2020q2"; subdir = "9-2020q2";
suffix = { suffix = {
aarch64-darwin = "mac"; # use intel binaries via rosetta
aarch64-linux = "aarch64-linux"; aarch64-linux = "aarch64-linux";
x86_64-darwin = "mac"; x86_64-darwin = "mac";
x86_64-linux = "x86_64-linux"; x86_64-linux = "x86_64-linux";
@ -20,6 +21,7 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${release}-${suffix}.tar.bz2"; url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${release}-${suffix}.tar.bz2";
sha256 = { sha256 = {
aarch64-darwin = "1ils9z16wrvglh72m428y5irmd36biq79yj86756whib8izbifdv";
aarch64-linux = "1b5q2y710hy7lddj8vj3zl54gfl74j30kx3hk3i81zrcbv16ah8z"; aarch64-linux = "1b5q2y710hy7lddj8vj3zl54gfl74j30kx3hk3i81zrcbv16ah8z";
x86_64-darwin = "1ils9z16wrvglh72m428y5irmd36biq79yj86756whib8izbifdv"; x86_64-darwin = "1ils9z16wrvglh72m428y5irmd36biq79yj86756whib8izbifdv";
x86_64-linux = "07zi2yr5gvhpbij5pnj49zswb9g2gw7zqp4xwwniqmq477h2xp2s"; x86_64-linux = "07zi2yr5gvhpbij5pnj49zswb9g2gw7zqp4xwwniqmq477h2xp2s";
@ -50,6 +52,6 @@ stdenv.mkDerivation rec {
homepage = "https://developer.arm.com/open-source/gnu-toolchain/gnu-rm"; homepage = "https://developer.arm.com/open-source/gnu-toolchain/gnu-rm";
license = with licenses; [ bsd2 gpl2 gpl3 lgpl21 lgpl3 mit ]; license = with licenses; [ bsd2 gpl2 gpl3 lgpl21 lgpl3 mit ];
maintainers = with maintainers; [ prusnak ]; maintainers = with maintainers; [ prusnak ];
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" ]; platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
}; };
} }

View File

@ -2779,7 +2779,6 @@ broken-packages:
- language-typescript - language-typescript
- language-vhdl - language-vhdl
- language-webidl - language-webidl
- lapack-ffi
- LargeCardinalHierarchy - LargeCardinalHierarchy
- Lastik - Lastik
- latest-npm-version - latest-npm-version

View File

@ -82,6 +82,10 @@ stdenv.mkDerivation rec {
cd builddir cd builddir
''; '';
# Fails to build in parallel due to missing gnulib header dependency used in charstrg.d:
# ../src/charstrg.d:319:10: fatal error: uniwidth.h: No such file or directory
enableParallelBuilding = false;
postInstall = postInstall =
lib.optionalString (withModules != []) lib.optionalString (withModules != [])
(''./clisp-link add "$out"/lib/clisp*/base "$(dirname "$out"/lib/clisp*/base)"/full'' (''./clisp-link add "$out"/lib/clisp*/base "$(dirname "$out"/lib/clisp*/base)"/full''

View File

@ -0,0 +1,96 @@
{ cacert, dhall, dhall-docs, haskell, lib, runCommand }:
# `buildDhallUrl` is similar to `buildDhallDirectoryPackage` or
# `buildDhallGitHubPackage`, but instead builds a Nixpkgs Dhall package
# based on a hashed URL. This will generally be a URL that has an integrity
# check in a Dhall file.
#
# Similar to `buildDhallDirectoryPackage` and `buildDhallGitHubPackage`, the output
# of this function is a derivation that has a `binary.dhall` file, along with
# a `.cache/` directory with the actual contents of the Dhall file from the
# suppiled URL.
#
# This function is primarily used by `dhall-to-nixpkgs directory --fixed-output-derivations`.
{ # URL of the input Dhall file.
# example: "https://raw.githubusercontent.com/cdepillabout/example-dhall-repo/c1b0d0327146648dcf8de997b2aa32758f2ed735/example1.dhall"
url
# Nix hash of the input Dhall file.
# example: "sha256-ZTSiQUXpPbPfPvS8OeK6dDQE6j6NbP27ho1cg9YfENI="
, hash
# Dhall hash of the input Dhall file.
# example: "sha256:6534a24145e93db3df3ef4bc39e2ba743404ea3e8d6cfdbb868d5c83d61f10d2"
, dhallHash
# Name for this derivation.
, name ? (baseNameOf url + "-cache")
# `buildDhallUrl` can include both a "source distribution" in
# `source.dhall` and a "binary distribution" in `binary.dhall`:
#
# * `source.dhall` is a dependency-free αβ-normalized Dhall expression
#
# * `binary.dhall` is an expression of the form: `missing sha256:${HASH}`
#
# This expression requires you to install the cache product located at
# `.cache/dhall/1220${HASH}` to successfully resolve
#
# By default, `buildDhallUrl` only includes "binary.dhall" to conserve
# space within the Nix store, but if you set the following `source` option to
# `true` then the package will also include `source.dhall`.
, source ? false
}:
let
# HTTP support is disabled in order to force that HTTP dependencies are built
# using Nix instead of using Dhall's support for HTTP imports.
dhallNoHTTP = haskell.lib.appendConfigureFlag dhall "-f-with-http";
# This uses Dhall's remote importing capabilities for downloading a Dhall file.
# The output Dhall file has all imports resolved, and then is
# alpha-normalized and binary-encoded.
downloadedEncodedFile =
runCommand
(baseNameOf url)
{
outputHashAlgo = null;
outputHash = hash;
name = baseNameOf url;
nativeBuildInputs = [ cacert ];
}
''
echo "${url} ${dhallHash}" > in-dhall-file
${dhall}/bin/dhall --alpha --plain --file in-dhall-file | ${dhallNoHTTP}/bin/dhall encode > $out
'';
cache = ".cache";
data = ".local/share";
cacheDhall = "${cache}/dhall";
dataDhall = "${data}/dhall";
sourceFile = "source.dhall";
in
runCommand name { } (''
set -eu
mkdir -p ${cacheDhall} $out/${cacheDhall}
export XDG_CACHE_HOME=$PWD/${cache}
SHA_HASH="${dhallHash}"
HASH_FILE="''${SHA_HASH/sha256:/1220}"
cp ${downloadedEncodedFile} $out/${cacheDhall}/$HASH_FILE
echo "missing $SHA_HASH" > $out/binary.dhall
'' +
lib.optionalString source ''
${dhallNoHTTP}/bin/dhall decode --file ${downloadedEncodedFile} > $out/${sourceFile}
'')

View File

@ -1,10 +1,10 @@
{ self, callPackage, lib }: { self, callPackage, lib }:
callPackage ./default.nix { callPackage ./default.nix {
inherit self; inherit self;
version = "2.0.5-2021-07-27"; version = "2.0.5-2021-10-02";
rev = "3a654999c6f00de4cb9e61232d23579442e544a0"; rev = "d3294fa63b344173db68dd612c6d3801631e28d4";
isStable = true; isStable = true;
sha256 = "0q187vn6bspn9i33hrvfy59mh83nd8jjmik5qkkkc3vls13jxr6z"; sha256 = "0ja6x7bv3iqnf6m8xk6qp1dgan2b7mys0ff86dw671fqqrfw28fn";
extraMeta = { # this isn't precise but it at least stops the useless Hydra build extraMeta = { # this isn't precise but it at least stops the useless Hydra build
platforms = with lib; filter (p: !hasPrefix "aarch64-" p) platforms = with lib; filter (p: !hasPrefix "aarch64-" p)
(platforms.linux ++ platforms.darwin); (platforms.linux ++ platforms.darwin);

View File

@ -1,8 +1,8 @@
{ self, callPackage }: { self, callPackage }:
callPackage ./default.nix { callPackage ./default.nix {
inherit self; inherit self;
version = "2.1.0-2021-08-12"; version = "2.1.0-2021-10-27";
rev = "8ff09d9f5ad5b037926be2a50dc32b681c5e7597"; rev = "b4b2dce9fc3ffaaaede39b36d06415311e2aa516";
isStable = false; isStable = false;
sha256 = "18wp8sgmiwlslnvgs35cy35ji2igksyfm3f8hrx07hqmsq2d77vr"; sha256 = "185s071aa0yffz8npgdxj7l98cs987vddb2l5pzfcdqfj41gn55q";
} }

View File

@ -1,14 +0,0 @@
diff --git a/src/Makefile b/src/Makefile
index 2538503f..7e6380da 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -320,7 +320,9 @@ ifeq (Darwin,$(TARGET_SYS))
$(error missing: export MACOSX_DEPLOYMENT_TARGET=XX.YY)
endif
TARGET_STRIP+= -x
+ ifneq (arm64,$(shell uname -m))
TARGET_XCFLAGS+= -DLUAJIT_UNWIND_EXTERNAL
+ endif
TARGET_XSHLDFLAGS= -dynamiclib -single_module -undefined dynamic_lookup -fPIC
TARGET_DYNXLDOPTS=
TARGET_XSHLDFLAGS+= -install_name $(TARGET_DYLIBPATH) -compatibility_version $(MAJVER).$(MINVER) -current_version $(MAJVER).$(MINVER).$(RELVER)

View File

@ -51,10 +51,6 @@ stdenv.mkDerivation rec {
luaversion = "5.1"; luaversion = "5.1";
# Fix for pcall on aarch64-darwin.
# Upstream issue: https://github.com/LuaJIT/LuaJIT/issues/698
patches = lib.optionals (stdenv.hostPlatform.system == "aarch64-darwin") [ ./aarch64-darwin-disable-unwind-external.patch ];
postPatch = '' postPatch = ''
substituteInPlace Makefile --replace ldconfig : substituteInPlace Makefile --replace ldconfig :
if test -n "''${dontStrip-}"; then if test -n "''${dontStrip-}"; then

View File

@ -65,9 +65,6 @@ in stdenv.mkDerivation rec {
cmakeDir = "../drivers/xgl"; cmakeDir = "../drivers/xgl";
# LTO is disabled in gcc for i686 as of #66528
cmakeFlags = lib.optionals stdenv.is32bit ["-DXGL_ENABLE_LTO=OFF"];
installPhase = '' installPhase = ''
install -Dm755 -t $out/lib icd/amdvlk${suffix}.so install -Dm755 -t $out/lib icd/amdvlk${suffix}.so
install -Dm644 -t $out/share/vulkan/icd.d icd/amd_icd${suffix}.json install -Dm644 -t $out/share/vulkan/icd.d icd/amd_icd${suffix}.json

View File

@ -3,7 +3,7 @@
}: }:
let let
version = "2.0.3"; version = "2.0.4";
# Make sure we override python, so the correct version is chosen # Make sure we override python, so the correct version is chosen
boostPython = boost.override { enablePython = true; inherit python; }; boostPython = boost.override { enablePython = true; inherit python; };
@ -16,7 +16,7 @@ in stdenv.mkDerivation {
owner = "arvidn"; owner = "arvidn";
repo = "libtorrent"; repo = "libtorrent";
rev = "v${version}"; rev = "v${version}";
sha256 = "0c5g2chylhkwwssfab9gw0b7bm3raj08yzgia7j4d044lp8gflnd"; sha256 = "sha256-D+Euv71pquqyKGPvk76IwYKvVj+/oNtJfiLleiafthQ=";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View File

@ -1,32 +1,33 @@
{ lib, stdenv, fetchzip, netcdf, netcdfcxx4, gsl, udunits, antlr2, which, curl, flex, coreutils }: { lib, stdenv, fetchzip, netcdf, netcdfcxx4, gsl, udunits, antlr2, which, curl, flex, coreutils }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "5.0.1";
pname = "nco"; pname = "nco";
version = "5.0.3";
nativeBuildInputs = [ flex which antlr2 ];
buildInputs = [ netcdf netcdfcxx4 gsl udunits curl coreutils ];
src = fetchzip { src = fetchzip {
url = "https://github.com/nco/nco/archive/${version}.tar.gz"; url = "https://github.com/nco/nco/archive/${version}.tar.gz";
sha256 = "sha256-Mdnko+0ZuMoKgBp//+rCVsbFJx90Tmrnal7FAmwIKEQ="; sha256 = "sha256-KrFRBlD3z/sjKIvxmE0s/xCILQmESecilnlUGzDDICw=";
}; };
prePatch = '' nativeBuildInputs = [ flex which antlr2 ];
buildInputs = [ netcdf netcdfcxx4 gsl udunits curl coreutils ];
postPatch = ''
substituteInPlace src/nco/nco_fl_utl.c \ substituteInPlace src/nco/nco_fl_utl.c \
--replace "/bin/cp" "${coreutils}/bin/cp" --replace "/bin/cp" "${coreutils}/bin/cp"
substituteInPlace src/nco/nco_fl_utl.c \ substituteInPlace src/nco/nco_fl_utl.c \
--replace "/bin/mv" "${coreutils}/bin/mv" --replace "/bin/mv" "${coreutils}/bin/mv"
''; '';
parallelBuild = true; enableParallelBuilding = true;
meta = { meta = with lib; {
description = "NetCDF Operator toolkit"; description = "NetCDF Operator toolkit";
longDescription = "The NCO (netCDF Operator) toolkit manipulates and analyzes data stored in netCDF-accessible formats, including DAP, HDF4, and HDF5"; longDescription = "The NCO (netCDF Operator) toolkit manipulates and analyzes data stored in netCDF-accessible formats, including DAP, HDF4, and HDF5";
homepage = "http://nco.sourceforge.net/"; homepage = "http://nco.sourceforge.net/";
license = lib.licenses.bsd3; license = licenses.bsd3;
maintainers = [ lib.maintainers.bzizou ]; maintainers = with maintainers; [ bzizou ];
platforms = lib.platforms.linux; platforms = platforms.linux;
}; };
} }

View File

@ -39,10 +39,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ nativeBuildInputs = [
glib
meson meson
ninja ninja
pkg-config pkg-config
spice-protocol
python3 python3
python3.pkgs.six python3.pkgs.six
python3.pkgs.pyparsing python3.pkgs.pyparsing
@ -66,6 +66,7 @@ stdenv.mkDerivation rec {
orc orc
pixman pixman
python3.pkgs.pyparsing python3.pkgs.pyparsing
spice-protocol
zlib zlib
]; ];

View File

@ -1,16 +1,15 @@
{ fetchFromGitHub, gperf, openssl, readline, zlib, cmake, lib, stdenv }: { fetchFromGitHub, gperf, openssl, readline, zlib, cmake, lib, stdenv }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.7.8";
pname = "tdlib"; pname = "tdlib";
version = "1.7.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tdlib"; owner = "tdlib";
repo = "td"; repo = "td";
# https://github.com/tdlib/td/issues/1718
rev = "a68d8e77efb03896f3a04fc316c47136b0bab7df"; rev = "7d41d9eaa58a6e0927806283252dc9e74eda5512";
sha256 = "09b7srbfqi4gmg5pdi398pr0pxihw4d3cw85ycky54g862idzqs8";
sha256 = "0zis1mxb495lazmhax91h94nw73nyq82bhbx3f1zlxkvc8664099";
}; };
buildInputs = [ gperf openssl readline zlib ]; buildInputs = [ gperf openssl readline zlib ];

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "tinycbor"; pname = "tinycbor";
version = "0.5.4"; version = "0.6.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "intel"; owner = "intel";
repo = "tinycbor"; repo = "tinycbor";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-H0NTUaSOGMtbM1+EQVOsYoPP+A1FGvUM7XrbPxArR88="; sha256 = "1ph1cmsh4hm6ikd3bs45mnv9zmniyrvp2rrg8qln204kr6fngfcd";
}; };
makeFlags = [ "prefix=$(out)" ]; makeFlags = [ "prefix=$(out)" ];

View File

@ -6,13 +6,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "wolfssl"; pname = "wolfssl";
version = "4.8.1"; version = "5.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "wolfSSL"; owner = "wolfSSL";
repo = "wolfssl"; repo = "wolfssl";
rev = "v${version}-stable"; rev = "v${version}-stable";
sha256 = "1w9gs9cq2yhj5s3diz3x1l15pgrc1pbm00jccizvcjyibmwyyf2h"; sha256 = "sha256-rv9D+P42RMH1O4YLQbZIEkD6KQfs8KgYjhnHeA9vQqE=";
}; };
# Almost same as Debian but for now using --enable-all --enable-reproducible-build instead of --enable-distro to ensure options.h gets installed # Almost same as Debian but for now using --enable-all --enable-reproducible-build instead of --enable-distro to ensure options.h gets installed

View File

@ -1,21 +1,34 @@
{ stdenv, lib, fetchurl, makeWrapper, which, zlib, libGL, glib, xorg, libxkbcommon { stdenv, lib, fetchurl, makeWrapper, which, zlib, libGL, glib, xorg, libxkbcommon
, xdg-utils , xdg-utils, libXrender, fontconfig, freetype, systemd, libpulseaudio
# For glewinfo # For glewinfo
, libXmu, libXi, libXext }: , libXmu, libXi, libXext }:
let let
packages = [ packages = [
stdenv.cc.cc zlib glib xorg.libX11 libxkbcommon libXmu libXi libXext libGL stdenv.cc.cc
zlib
glib
xorg.libX11
libxkbcommon
libXmu
libXi
libXext
libGL
libXrender
fontconfig
freetype
systemd
libpulseaudio
]; ];
libPath = lib.makeLibraryPath packages; libPath = lib.makeLibraryPath packages;
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "genymotion"; pname = "genymotion";
version = "2.8.0"; version = "3.2.1";
src = fetchurl { src = fetchurl {
url = "https://dl.genymotion.com/releases/genymotion-${version}/genymotion-${version}-linux_x64.bin"; url = "https://dl.genymotion.com/releases/genymotion-${version}/genymotion-${version}-linux_x64.bin";
name = "genymotion-${version}-linux_x64.bin"; name = "genymotion-${version}-linux_x64.bin";
sha256 = "0lvfdlpmmsyq2i9gs4mf6a8fxkfimdr4rhyihqnfhjij3fzxz4lk"; sha256 = "sha256-yCczUfiMcuu9OauMDmMdtnheDBXiC9tOEu0cWAW95FM=";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];

View File

@ -122,6 +122,7 @@
, "git-run" , "git-run"
, "git-ssb" , "git-ssb"
, "git-standup" , "git-standup"
, "@gitbeaker/cli"
, "gitmoji-cli" , "gitmoji-cli"
, "glob" , "glob"
, "graphql-cli" , "graphql-cli"

View File

@ -2767,13 +2767,13 @@ let
sha512 = "iT1bU56rKrKEOfODoW6fScY11qj3iaYrZ+z11T6fo5+TDm84UGkkXjLXJTE57ZJzg0/gbccHQWYv+chY7bJN8Q=="; sha512 = "iT1bU56rKrKEOfODoW6fScY11qj3iaYrZ+z11T6fo5+TDm84UGkkXjLXJTE57ZJzg0/gbccHQWYv+chY7bJN8Q==";
}; };
}; };
"@fluentui/react-7.179.0" = { "@fluentui/react-7.179.1" = {
name = "_at_fluentui_slash_react"; name = "_at_fluentui_slash_react";
packageName = "@fluentui/react"; packageName = "@fluentui/react";
version = "7.179.0"; version = "7.179.1";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/@fluentui/react/-/react-7.179.0.tgz"; url = "https://registry.npmjs.org/@fluentui/react/-/react-7.179.1.tgz";
sha512 = "2C3RrzBaQuq5yTVBezWA48TOOdhqTqfN2tV43w4lVUqjxi/E5vAFku2DAxxc56hZ6ehew78FZwKAZiaBrv2GiQ=="; sha512 = "2Hc7o5UsNpw9fsYRbLYsf9c2pR/yxqjwmiofW+TfuZvFyy60djy8gIbCVG2QtxLoY264zj6wfJcBEbPwhdHebA==";
}; };
}; };
"@fluentui/react-focus-7.18.1" = { "@fluentui/react-focus-7.18.1" = {
@ -2812,6 +2812,33 @@ let
sha512 = "82cpyJyKRoQoRi+14ibCeGPu0CwypgtBAdBhq1WfvagpCZNKqwXbKwXllYSMG91DhmG4jt9gN8eP6lGOtozuaw=="; sha512 = "82cpyJyKRoQoRi+14ibCeGPu0CwypgtBAdBhq1WfvagpCZNKqwXbKwXllYSMG91DhmG4jt9gN8eP6lGOtozuaw==";
}; };
}; };
"@gitbeaker/core-34.5.0" = {
name = "_at_gitbeaker_slash_core";
packageName = "@gitbeaker/core";
version = "34.5.0";
src = fetchurl {
url = "https://registry.npmjs.org/@gitbeaker/core/-/core-34.5.0.tgz";
sha512 = "MfBwD3W79/nhmrwYyfw7R8FmVNS3CsoCulNfhySY38LT3w1GLMnDOIDTpELySTwoIWVXYT/QHdEPlGIG6nPXOg==";
};
};
"@gitbeaker/node-34.5.0" = {
name = "_at_gitbeaker_slash_node";
packageName = "@gitbeaker/node";
version = "34.5.0";
src = fetchurl {
url = "https://registry.npmjs.org/@gitbeaker/node/-/node-34.5.0.tgz";
sha512 = "klm9PI7r6OpCmkS3Q26nPnVUwTb/VfF/IdOYv02/8SguEI3gMWfmR8PNvD99nsKN7lvL6ZoHl79gMGbgr65fHg==";
};
};
"@gitbeaker/requester-utils-34.5.0" = {
name = "_at_gitbeaker_slash_requester-utils";
packageName = "@gitbeaker/requester-utils";
version = "34.5.0";
src = fetchurl {
url = "https://registry.npmjs.org/@gitbeaker/requester-utils/-/requester-utils-34.5.0.tgz";
sha512 = "fgMGE/A5sOLjuhRPRCyiwLOCBqbhlDpVjo6nooizyQcOH5K4c4EZNgGD5AQshg6U5r3xdLNCKHYFu36pbR91uQ==";
};
};
"@google-cloud/paginator-3.0.6" = { "@google-cloud/paginator-3.0.6" = {
name = "_at_google-cloud_slash_paginator"; name = "_at_google-cloud_slash_paginator";
packageName = "@google-cloud/paginator"; packageName = "@google-cloud/paginator";
@ -2902,13 +2929,13 @@ let
sha512 = "5k2SNz0W87tDcymhEMZMkd6/vs6QawDyjQXWtqkuLTBF3vxjxPD1I4dwHoxgWPIjjANhXybvulD7E+St/7s9TQ=="; sha512 = "5k2SNz0W87tDcymhEMZMkd6/vs6QawDyjQXWtqkuLTBF3vxjxPD1I4dwHoxgWPIjjANhXybvulD7E+St/7s9TQ==";
}; };
}; };
"@graphql-tools/import-6.6.0" = { "@graphql-tools/import-6.6.1" = {
name = "_at_graphql-tools_slash_import"; name = "_at_graphql-tools_slash_import";
packageName = "@graphql-tools/import"; packageName = "@graphql-tools/import";
version = "6.6.0"; version = "6.6.1";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/@graphql-tools/import/-/import-6.6.0.tgz"; url = "https://registry.npmjs.org/@graphql-tools/import/-/import-6.6.1.tgz";
sha512 = "qRuvLQQoeF3XEnz1uaH+7Xhs6TA7dUvyJi2VTzD6zLRPoqMXRxtSwoW67jlvskau31mI+7Q8yqG0P3QpdYg1Dw=="; sha512 = "i9WA6k+erJMci822o9w9DoX+uncVBK60LGGYW8mdbhX0l7wEubUpA000thJ1aarCusYh0u+ZT9qX0HyVPXu25Q==";
}; };
}; };
"@graphql-tools/json-file-loader-6.2.6" = { "@graphql-tools/json-file-loader-6.2.6" = {
@ -3019,13 +3046,13 @@ let
sha512 = "gzkavMOgbhnwkHJYg32Adv6f+LxjbQmmbdD5Hty0+CWxvaiuJq+nU6tzb/7VSU4cwhbNLx/lGu2jbCPEW1McZQ=="; sha512 = "gzkavMOgbhnwkHJYg32Adv6f+LxjbQmmbdD5Hty0+CWxvaiuJq+nU6tzb/7VSU4cwhbNLx/lGu2jbCPEW1McZQ==";
}; };
}; };
"@graphql-tools/utils-8.5.2" = { "@graphql-tools/utils-8.5.3" = {
name = "_at_graphql-tools_slash_utils"; name = "_at_graphql-tools_slash_utils";
packageName = "@graphql-tools/utils"; packageName = "@graphql-tools/utils";
version = "8.5.2"; version = "8.5.3";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.5.2.tgz"; url = "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.5.3.tgz";
sha512 = "wxA51td/759nQziPYh+HxE0WbURRufrp1lwfOYMgfK4e8Aa6gCa1P1p6ERogUIm423NrIfOVau19Q/BBpHdolw=="; sha512 = "HDNGWFVa8QQkoQB0H1lftvaO1X5xUaUDk1zr1qDe0xN1NL0E/CrQdJ5UKLqOvH4hkqVUPxQsyOoAZFkaH6rLHg==";
}; };
}; };
"@graphql-tools/wrap-7.0.8" = { "@graphql-tools/wrap-7.0.8" = {
@ -13468,6 +13495,15 @@ let
sha512 = "1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w=="; sha512 = "1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==";
}; };
}; };
"bl-5.0.0" = {
name = "bl";
packageName = "bl";
version = "5.0.0";
src = fetchurl {
url = "https://registry.npmjs.org/bl/-/bl-5.0.0.tgz";
sha512 = "8vxFNZ0pflFfi0WXA3WQXlj6CaMEwsmh63I1CNp0q+wWv8sD0ARx1KovSQd0l2GkwrMIOyedq0EF1FxI+RCZLQ==";
};
};
"blake2b-2.1.3" = { "blake2b-2.1.3" = {
name = "blake2b"; name = "blake2b";
packageName = "blake2b"; packageName = "blake2b";
@ -15548,22 +15584,22 @@ let
sha512 = "vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg=="; sha512 = "vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg==";
}; };
}; };
"cdk8s-1.1.26" = { "cdk8s-1.1.27" = {
name = "cdk8s"; name = "cdk8s";
packageName = "cdk8s"; packageName = "cdk8s";
version = "1.1.26"; version = "1.1.27";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/cdk8s/-/cdk8s-1.1.26.tgz"; url = "https://registry.npmjs.org/cdk8s/-/cdk8s-1.1.27.tgz";
sha512 = "0WnyJcu1NKI1HMCNzdhk58UvWnQ+IRhs2G6RXi2tM/9/2g1S963TWppUbaux9tYefMqnUd9eqgSSUhCfCnm7/w=="; sha512 = "48iS6dNZGqFFdVxgLosc/SyrjTwKN/M4D3XKfuHPp++7iYarq4ygiHpKnfYVrLSjKNNzcn4abwLAZ+K17D+dPw==";
}; };
}; };
"cdk8s-plus-22-1.0.0-beta.32" = { "cdk8s-plus-22-1.0.0-beta.35" = {
name = "cdk8s-plus-22"; name = "cdk8s-plus-22";
packageName = "cdk8s-plus-22"; packageName = "cdk8s-plus-22";
version = "1.0.0-beta.32"; version = "1.0.0-beta.35";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/cdk8s-plus-22/-/cdk8s-plus-22-1.0.0-beta.32.tgz"; url = "https://registry.npmjs.org/cdk8s-plus-22/-/cdk8s-plus-22-1.0.0-beta.35.tgz";
sha512 = "lD44p0vA81y067XXslRk8jQKNqFT+iUCkaNXeWysI6hHEBJGhnYERLLHWlEQJmUWzea0jkNibh7azbE7LiEeow=="; sha512 = "80m1VRISl2qAyzLq1Esh63vVEt/xWm62UgyJSiApvLOg8Qbc8R+xd9Ev48Vc/xBnb4TkC3jyqZKAjb+PasHYfA==";
}; };
}; };
"cdktf-0.7.0" = { "cdktf-0.7.0" = {
@ -16538,6 +16574,15 @@ let
sha512 = "I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw=="; sha512 = "I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==";
}; };
}; };
"cli-cursor-4.0.0" = {
name = "cli-cursor";
packageName = "cli-cursor";
version = "4.0.0";
src = fetchurl {
url = "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz";
sha512 = "VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==";
};
};
"cli-list-0.2.0" = { "cli-list-0.2.0" = {
name = "cli-list"; name = "cli-list";
packageName = "cli-list"; packageName = "cli-list";
@ -24623,6 +24668,15 @@ let
sha512 = "mJOZa35trBTb3IyRmo8xmKBZlxf+N7OnUl4+ZhJHs/r+0770Wh/LEACE2pqMGMe27G/4y8P2bYGk4J70IC5k1Q=="; sha512 = "mJOZa35trBTb3IyRmo8xmKBZlxf+N7OnUl4+ZhJHs/r+0770Wh/LEACE2pqMGMe27G/4y8P2bYGk4J70IC5k1Q==";
}; };
}; };
"eslint-visitor-keys-3.1.0" = {
name = "eslint-visitor-keys";
packageName = "eslint-visitor-keys";
version = "3.1.0";
src = fetchurl {
url = "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.1.0.tgz";
sha512 = "yWJFpu4DtjsWKkt5GeNBBuZMlNcYVs6vRCLoCVEJrTjaSB6LC98gFipNK/erM2Heg/E8mIK+hXG/pJMLK+eRZA==";
};
};
"esmangle-1.0.1" = { "esmangle-1.0.1" = {
name = "esmangle"; name = "esmangle";
packageName = "esmangle"; packageName = "esmangle";
@ -33463,6 +33517,15 @@ let
sha512 = "2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w=="; sha512 = "2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==";
}; };
}; };
"is-interactive-2.0.0" = {
name = "is-interactive";
packageName = "is-interactive";
version = "2.0.0";
src = fetchurl {
url = "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz";
sha512 = "qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==";
};
};
"is-invalid-path-0.1.0" = { "is-invalid-path-0.1.0" = {
name = "is-invalid-path"; name = "is-invalid-path";
packageName = "is-invalid-path"; packageName = "is-invalid-path";
@ -34138,6 +34201,15 @@ let
sha512 = "knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw=="; sha512 = "knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==";
}; };
}; };
"is-unicode-supported-1.1.0" = {
name = "is-unicode-supported";
packageName = "is-unicode-supported";
version = "1.1.0";
src = fetchurl {
url = "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.1.0.tgz";
sha512 = "lDcxivp8TJpLG75/DpatAqNzOpDPSpED8XNtrpBHTdQ2InQ1PbW78jhwSxyxhhu+xbVSast2X38bwj8atwoUQA==";
};
};
"is-url-1.2.4" = { "is-url-1.2.4" = {
name = "is-url"; name = "is-url";
packageName = "is-url"; packageName = "is-url";
@ -34174,13 +34246,13 @@ let
sha512 = "Yd9oD7sgCycVvH8CHy5U4fLXibPwxVw2+diudYbT8ZfAiQDtW1H9WvPRR4+rtN9qOll+r+KAfO4SjO28OPpitA=="; sha512 = "Yd9oD7sgCycVvH8CHy5U4fLXibPwxVw2+diudYbT8ZfAiQDtW1H9WvPRR4+rtN9qOll+r+KAfO4SjO28OPpitA==";
}; };
}; };
"is-valid-domain-0.1.2" = { "is-valid-domain-0.1.4" = {
name = "is-valid-domain"; name = "is-valid-domain";
packageName = "is-valid-domain"; packageName = "is-valid-domain";
version = "0.1.2"; version = "0.1.4";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/is-valid-domain/-/is-valid-domain-0.1.2.tgz"; url = "https://registry.npmjs.org/is-valid-domain/-/is-valid-domain-0.1.4.tgz";
sha512 = "vm/9Ynw80MusgfSMffjGRuMhO8hjk5MOxLoFL7nYWvWXTPCxTGQtACiCwO055UqHICG8xP6hIvRXK1iwnuU9GA=="; sha512 = "Caa6rwGze6pihA29wy3T1yNXzd53caGHvL0OfJ8RLtv0tVVzVZGlxFcQ0W8kls/uG0QUrv2B3J9xi/YB5/cfUQ==";
}; };
}; };
"is-valid-glob-1.0.0" = { "is-valid-glob-1.0.0" = {
@ -35228,13 +35300,13 @@ let
sha512 = "F7GLNdoHBAYN4eqw7c6Tv12lqGOoMazsjuXDJRubjjbbwZ0tM6a78rHhrZwE4w1XV7mIkTxKmkj4DnbSIPW8wg=="; sha512 = "F7GLNdoHBAYN4eqw7c6Tv12lqGOoMazsjuXDJRubjjbbwZ0tM6a78rHhrZwE4w1XV7mIkTxKmkj4DnbSIPW8wg==";
}; };
}; };
"jsii-srcmak-0.1.390" = { "jsii-srcmak-0.1.392" = {
name = "jsii-srcmak"; name = "jsii-srcmak";
packageName = "jsii-srcmak"; packageName = "jsii-srcmak";
version = "0.1.390"; version = "0.1.392";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/jsii-srcmak/-/jsii-srcmak-0.1.390.tgz"; url = "https://registry.npmjs.org/jsii-srcmak/-/jsii-srcmak-0.1.392.tgz";
sha512 = "fbpt5JRVB2ydjIj48NvcZbVu2SKYSq3pfJRIRtgAQUoretTNd357ZEWf2C6x8L7c8Zv/hq8wChQ9FtigbMXRRQ=="; sha512 = "HXFXdUYf2IOD6esJj3s6re3vO4Jcmn+v1mXlQFdiCqJcAiMDhJMtzq5m37toui1lG0NJy5o3yxfBInG9b9rT7A==";
}; };
}; };
"json-bigint-1.0.0" = { "json-bigint-1.0.0" = {
@ -35525,13 +35597,13 @@ let
sha512 = "0/4Lv6IenJV0qj2oBdgPIAmFiKKnh8qh7bmLFJ+/ZZHLjSeiL3fKKGX3UryvKPbxFbhV+JcYo9KUC19GJ/Z/4A=="; sha512 = "0/4Lv6IenJV0qj2oBdgPIAmFiKKnh8qh7bmLFJ+/ZZHLjSeiL3fKKGX3UryvKPbxFbhV+JcYo9KUC19GJ/Z/4A==";
}; };
}; };
"json2jsii-0.2.40" = { "json2jsii-0.2.45" = {
name = "json2jsii"; name = "json2jsii";
packageName = "json2jsii"; packageName = "json2jsii";
version = "0.2.40"; version = "0.2.45";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/json2jsii/-/json2jsii-0.2.40.tgz"; url = "https://registry.npmjs.org/json2jsii/-/json2jsii-0.2.45.tgz";
sha512 = "XtopwIXyLJWiyBydDjczRk7i51H31Nno5BnWf34zbjyAm5SUxzJ6IsqwVfuANys06tFkJYct+ghO/v52qsCAAw=="; sha512 = "1Ks3P15asuqxCNaCQlE+HQssI3FXwVVr9qXQIpA29c/VqYgibTtaZuNBQDf+3S7Htj0ufLiif8HGx7OYc1ElxQ==";
}; };
}; };
"json3-3.2.6" = { "json3-3.2.6" = {
@ -36848,6 +36920,15 @@ let
sha512 = "+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ=="; sha512 = "+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==";
}; };
}; };
"li-1.3.0" = {
name = "li";
packageName = "li";
version = "1.3.0";
src = fetchurl {
url = "https://registry.npmjs.org/li/-/li-1.3.0.tgz";
sha1 = "22c59bcaefaa9a8ef359cf759784e4bf106aea1b";
};
};
"libnested-1.5.0" = { "libnested-1.5.0" = {
name = "libnested"; name = "libnested";
packageName = "libnested"; packageName = "libnested";
@ -38711,6 +38792,15 @@ let
sha512 = "8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg=="; sha512 = "8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==";
}; };
}; };
"log-symbols-5.0.0" = {
name = "log-symbols";
packageName = "log-symbols";
version = "5.0.0";
src = fetchurl {
url = "https://registry.npmjs.org/log-symbols/-/log-symbols-5.0.0.tgz";
sha512 = "zBsSKauX7sM0kcqrf8VpMRPqcWzU6a/Wi7iEl0QlVSCiIZ4CctaLdfVdiZUn6q2/nenyt392qJqpw9FhNAwqxQ==";
};
};
"log-update-1.0.2" = { "log-update-1.0.2" = {
name = "log-update"; name = "log-update";
packageName = "log-update"; packageName = "log-update";
@ -44934,13 +45024,13 @@ let
sha512 = "rH3U4eLHsV+OgkOS29ULiC9JLspwMCyCIH/+BglLPXDxQs13IK8AGD+nVmkGXqGN5JefZu85YhfIi05CsOKWPw=="; sha512 = "rH3U4eLHsV+OgkOS29ULiC9JLspwMCyCIH/+BglLPXDxQs13IK8AGD+nVmkGXqGN5JefZu85YhfIi05CsOKWPw==";
}; };
}; };
"office-ui-fabric-react-7.179.0" = { "office-ui-fabric-react-7.179.1" = {
name = "office-ui-fabric-react"; name = "office-ui-fabric-react";
packageName = "office-ui-fabric-react"; packageName = "office-ui-fabric-react";
version = "7.179.0"; version = "7.179.1";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/office-ui-fabric-react/-/office-ui-fabric-react-7.179.0.tgz"; url = "https://registry.npmjs.org/office-ui-fabric-react/-/office-ui-fabric-react-7.179.1.tgz";
sha512 = "P6EeDkygEDY/eUESDBLiW+Trpv9UwXgMsnhjrAz1woCL2qvkiXUi71fkO5XmVfKLo89Ixrf/4Gqi9uuEIUWILQ=="; sha512 = "htornECbfcBrAG9AgDVFccZfdFTEgqNiXvGq2FoNvFD4oMbgd+h2Klr4sTjXJ8yTEcweMTKvltMrG5z7/HdROA==";
}; };
}; };
"omggif-1.0.10" = { "omggif-1.0.10" = {
@ -45672,6 +45762,15 @@ let
sha512 = "5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ=="; sha512 = "5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==";
}; };
}; };
"ora-6.0.1" = {
name = "ora";
packageName = "ora";
version = "6.0.1";
src = fetchurl {
url = "https://registry.npmjs.org/ora/-/ora-6.0.1.tgz";
sha512 = "TDdKkKHdWE6jo/6pIa5U5AWcSVfpNRFJ8sdRJpioGNVPLAzZzHs/N+QhUfF7ZbyoC+rnDuNTKzeDJUbAza9g4g==";
};
};
"ordered-read-streams-1.0.1" = { "ordered-read-streams-1.0.1" = {
name = "ordered-read-streams"; name = "ordered-read-streams";
packageName = "ordered-read-streams"; packageName = "ordered-read-streams";
@ -51352,6 +51451,15 @@ let
sha512 = "XDxAeVmpfu1/6IjyT/gXHOl+S0vQ9owggJ30hhWKdHAsNPOcasn5o9BW0eejZqL2e4vMjhAxoW3jVHcD6mbcYw=="; sha512 = "XDxAeVmpfu1/6IjyT/gXHOl+S0vQ9owggJ30hhWKdHAsNPOcasn5o9BW0eejZqL2e4vMjhAxoW3jVHcD6mbcYw==";
}; };
}; };
"query-string-7.0.1" = {
name = "query-string";
packageName = "query-string";
version = "7.0.1";
src = fetchurl {
url = "https://registry.npmjs.org/query-string/-/query-string-7.0.1.tgz";
sha512 = "uIw3iRvHnk9to1blJCG3BTc+Ro56CBowJXKmNNAm3RulvPBzWLRqKSiiDk+IplJhsydwtuNMHi8UGQFcCLVfkA==";
};
};
"querystring-0.2.0" = { "querystring-0.2.0" = {
name = "querystring"; name = "querystring";
packageName = "querystring"; packageName = "querystring";
@ -54367,6 +54475,15 @@ let
sha512 = "l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA=="; sha512 = "l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==";
}; };
}; };
"restore-cursor-4.0.0" = {
name = "restore-cursor";
packageName = "restore-cursor";
version = "4.0.0";
src = fetchurl {
url = "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz";
sha512 = "I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==";
};
};
"resumer-0.0.0" = { "resumer-0.0.0" = {
name = "resumer"; name = "resumer";
packageName = "resumer"; packageName = "resumer";
@ -56815,13 +56932,13 @@ let
sha512 = "tf+h5W1IrjNm/9rKKj0JU2MDMruiopx0jjVA5zCdBtcGjfp0+c5rHw/zADLC3IeKlGHtVbHtpfzvYA0OYT+HKg=="; sha512 = "tf+h5W1IrjNm/9rKKj0JU2MDMruiopx0jjVA5zCdBtcGjfp0+c5rHw/zADLC3IeKlGHtVbHtpfzvYA0OYT+HKg==";
}; };
}; };
"slugify-1.6.1" = { "slugify-1.6.2" = {
name = "slugify"; name = "slugify";
packageName = "slugify"; packageName = "slugify";
version = "1.6.1"; version = "1.6.2";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/slugify/-/slugify-1.6.1.tgz"; url = "https://registry.npmjs.org/slugify/-/slugify-1.6.2.tgz";
sha512 = "5ofqMTbetNhxlzjYYLBaZFQd6oiTuSkQlyfPEFIMwgUABlZQ0hbk5xIV9Ydd5jghWeRoO7GkiJliUvTpLOjNRA=="; sha512 = "XMtI8qD84LwCpthLMBHlIhcrj10cgA+U/Ot8G6FD6uFuWZtMfKK75JO7l81nzpFJsPlsW6LT+VKqWQJW3+6New==";
}; };
}; };
"smart-buffer-4.2.0" = { "smart-buffer-4.2.0" = {
@ -57004,13 +57121,13 @@ let
sha512 = "tLkaY13RcO4nIRh1K2hT5iuotfTaIQw7cVIe0FUykN3SuQi0cm7ALxuyT5/CtDswOMWUzMGTibxYNx/gU7In+Q=="; sha512 = "tLkaY13RcO4nIRh1K2hT5iuotfTaIQw7cVIe0FUykN3SuQi0cm7ALxuyT5/CtDswOMWUzMGTibxYNx/gU7In+Q==";
}; };
}; };
"socket.io-4.3.1" = { "socket.io-4.3.2" = {
name = "socket.io"; name = "socket.io";
packageName = "socket.io"; packageName = "socket.io";
version = "4.3.1"; version = "4.3.2";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/socket.io/-/socket.io-4.3.1.tgz"; url = "https://registry.npmjs.org/socket.io/-/socket.io-4.3.2.tgz";
sha512 = "HC5w5Olv2XZ0XJ4gOLGzzHEuOCfj3G0SmoW3jLHYYh34EVsIr3EkW9h6kgfW+K3TFEcmYy8JcPWe//KUkBp5jA=="; sha512 = "6S5tV4jcY6dbZ/lLzD6EkvNWI3s81JO6ABP/EpvOlK1NPOcIj3AS4khi6xXw6JlZCASq82HQV4SapfmVMMl2dg==";
}; };
}; };
"socket.io-adapter-0.2.0" = { "socket.io-adapter-0.2.0" = {
@ -58390,13 +58507,13 @@ let
sha512 = "zZ/Q1M+9ZWlrchgh4QauD/MEUFa6eC6H6FYq6T8Of/y82JqsQBLwN6YlzbO09evE7Rx6x0oliXDCnQSjwGwQRA=="; sha512 = "zZ/Q1M+9ZWlrchgh4QauD/MEUFa6eC6H6FYq6T8Of/y82JqsQBLwN6YlzbO09evE7Rx6x0oliXDCnQSjwGwQRA==";
}; };
}; };
"sscaff-1.2.119" = { "sscaff-1.2.121" = {
name = "sscaff"; name = "sscaff";
packageName = "sscaff"; packageName = "sscaff";
version = "1.2.119"; version = "1.2.121";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/sscaff/-/sscaff-1.2.119.tgz"; url = "https://registry.npmjs.org/sscaff/-/sscaff-1.2.121.tgz";
sha512 = "e4jWv2GxeMShdg9tBJxv/LXwbvN83oRe/1I6wDOgtFn6kYH9PRUzYL6Jye4/ukuu+FsKWw1OTw32x4YigXPN2g=="; sha512 = "Cwo/cLml9cD0ltNPncb1a0Ow1zYr78aJQqu4P8Cw3KxERok+O2Byz95EI2YYZGSSwmZh7K8H+oOMfwQd4/11LA==";
}; };
}; };
"ssh-config-1.1.6" = { "ssh-config-1.1.6" = {
@ -60424,6 +60541,15 @@ let
sha512 = "xciy6NKCLfs4dqMD1Tdlo7v1/g0NfdA1EKsIptUQjlcVvpwHyjifAbNOF7ppFezGSMXxYE8me+l2+RlFF4lyTg=="; sha512 = "xciy6NKCLfs4dqMD1Tdlo7v1/g0NfdA1EKsIptUQjlcVvpwHyjifAbNOF7ppFezGSMXxYE8me+l2+RlFF4lyTg==";
}; };
}; };
"sywac-1.3.0" = {
name = "sywac";
packageName = "sywac";
version = "1.3.0";
src = fetchurl {
url = "https://registry.npmjs.org/sywac/-/sywac-1.3.0.tgz";
sha512 = "LDt2stNTp4bVPMgd70Jj9PWrSa4batl+bv+Ea5NLNGT7ufc4oQPtRfQ73wbddNV6RilaPqnEt6y1Wkm5FVTNEg==";
};
};
"table-3.8.3" = { "table-3.8.3" = {
name = "table"; name = "table";
packageName = "table"; packageName = "table";
@ -64574,13 +64700,13 @@ let
sha1 = "23f89069a6c62f46cf3a1d3b00169cefb90be0c6"; sha1 = "23f89069a6c62f46cf3a1d3b00169cefb90be0c6";
}; };
}; };
"usb-1.8.0" = { "usb-1.9.0" = {
name = "usb"; name = "usb";
packageName = "usb"; packageName = "usb";
version = "1.8.0"; version = "1.9.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/usb/-/usb-1.8.0.tgz"; url = "https://registry.npmjs.org/usb/-/usb-1.9.0.tgz";
sha512 = "lA0q2tjDEAq1YUsW6nQ+asw92TtFrQ8rhMd11jAoFhK3xItZUupJ7npZDSmVOpQqQhhdFmX/YciqyywupA/wOQ=="; sha512 = "nybH1SzvwYkRQ5s8ko9XXyZkrcWV5VWMMv7yh5H++wALhjBFjt2XBoSJWxBUdu6U/UfceQz42inhv3/maxM8jg==";
}; };
}; };
"use-3.1.1" = { "use-3.1.1" = {
@ -68112,6 +68238,15 @@ let
sha1 = "c9af18876f7a175801d564fe70ad9e8317784934"; sha1 = "c9af18876f7a175801d564fe70ad9e8317784934";
}; };
}; };
"xcase-2.0.1" = {
name = "xcase";
packageName = "xcase";
version = "2.0.1";
src = fetchurl {
url = "https://registry.npmjs.org/xcase/-/xcase-2.0.1.tgz";
sha1 = "c7fa72caa0f440db78fd5673432038ac984450b9";
};
};
"xcode-3.0.1" = { "xcode-3.0.1" = {
name = "xcode"; name = "xcode";
packageName = "xcode"; packageName = "xcode";
@ -71504,7 +71639,7 @@ in
sources."simple-concat-1.0.1" sources."simple-concat-1.0.1"
sources."simple-get-2.8.1" sources."simple-get-2.8.1"
sources."slash-3.0.0" sources."slash-3.0.0"
sources."slugify-1.6.1" sources."slugify-1.6.2"
(sources."snapdragon-0.8.2" // { (sources."snapdragon-0.8.2" // {
dependencies = [ dependencies = [
sources."debug-2.6.9" sources."debug-2.6.9"
@ -77185,10 +77320,10 @@ in
cdk8s-cli = nodeEnv.buildNodePackage { cdk8s-cli = nodeEnv.buildNodePackage {
name = "cdk8s-cli"; name = "cdk8s-cli";
packageName = "cdk8s-cli"; packageName = "cdk8s-cli";
version = "1.0.23"; version = "1.0.25";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/cdk8s-cli/-/cdk8s-cli-1.0.23.tgz"; url = "https://registry.npmjs.org/cdk8s-cli/-/cdk8s-cli-1.0.25.tgz";
sha512 = "6Uc35OX0hWP1gPJAC4KT//2Kh7ajNACQH8ddBw36GvMejFQ+rnXBpw7hyNbTx0id0zxeA+IBHth/kI/mko/ZHw=="; sha512 = "E6HT4E8xjy9CFBEyN2jMil7zo9tRTghupgEda0ZxoT2B7TKxK6z9h2uDVXZH6iFb+ahIpGjbqoxmjKIyJyJtCA==";
}; };
dependencies = [ dependencies = [
sources."@jsii/check-node-1.42.0" sources."@jsii/check-node-1.42.0"
@ -77203,8 +77338,8 @@ in
sources."call-bind-1.0.2" sources."call-bind-1.0.2"
sources."camelcase-6.2.0" sources."camelcase-6.2.0"
sources."case-1.6.3" sources."case-1.6.3"
sources."cdk8s-1.1.26" sources."cdk8s-1.1.27"
sources."cdk8s-plus-22-1.0.0-beta.32" sources."cdk8s-plus-22-1.0.0-beta.35"
sources."chalk-4.1.2" sources."chalk-4.1.2"
sources."cliui-7.0.4" sources."cliui-7.0.4"
sources."clone-2.1.2" sources."clone-2.1.2"
@ -77297,14 +77432,14 @@ in
sources."yargs-16.2.0" sources."yargs-16.2.0"
]; ];
}) })
(sources."jsii-srcmak-0.1.390" // { (sources."jsii-srcmak-0.1.392" // {
dependencies = [ dependencies = [
sources."fs-extra-9.1.0" sources."fs-extra-9.1.0"
]; ];
}) })
sources."json-schema-0.3.0" sources."json-schema-0.3.0"
sources."json-schema-traverse-1.0.0" sources."json-schema-traverse-1.0.0"
sources."json2jsii-0.2.40" sources."json2jsii-0.2.45"
sources."jsonfile-6.1.0" sources."jsonfile-6.1.0"
sources."jsonschema-1.4.0" sources."jsonschema-1.4.0"
sources."locate-path-5.0.0" sources."locate-path-5.0.0"
@ -77342,7 +77477,7 @@ in
sources."snake-case-3.0.4" sources."snake-case-3.0.4"
sources."sort-json-2.0.0" sources."sort-json-2.0.0"
sources."spdx-license-list-6.4.0" sources."spdx-license-list-6.4.0"
sources."sscaff-1.2.119" sources."sscaff-1.2.121"
(sources."streamroller-2.2.4" // { (sources."streamroller-2.2.4" // {
dependencies = [ dependencies = [
sources."date-format-2.1.0" sources."date-format-2.1.0"
@ -77431,9 +77566,9 @@ in
sources."tslib-2.1.0" sources."tslib-2.1.0"
]; ];
}) })
(sources."@graphql-tools/import-6.6.0" // { (sources."@graphql-tools/import-6.6.1" // {
dependencies = [ dependencies = [
sources."@graphql-tools/utils-8.5.2" sources."@graphql-tools/utils-8.5.3"
]; ];
}) })
(sources."@graphql-tools/load-6.2.8" // { (sources."@graphql-tools/load-6.2.8" // {
@ -77448,13 +77583,13 @@ in
}) })
(sources."@graphql-tools/mock-8.4.2" // { (sources."@graphql-tools/mock-8.4.2" // {
dependencies = [ dependencies = [
sources."@graphql-tools/utils-8.5.2" sources."@graphql-tools/utils-8.5.3"
]; ];
}) })
(sources."@graphql-tools/schema-8.3.1" // { (sources."@graphql-tools/schema-8.3.1" // {
dependencies = [ dependencies = [
sources."@graphql-tools/merge-8.2.1" sources."@graphql-tools/merge-8.2.1"
sources."@graphql-tools/utils-8.5.2" sources."@graphql-tools/utils-8.5.3"
]; ];
}) })
(sources."@graphql-tools/utils-7.10.0" // { (sources."@graphql-tools/utils-7.10.0" // {
@ -77537,7 +77672,7 @@ in
sources."apollo-server-caching-3.3.0" sources."apollo-server-caching-3.3.0"
(sources."apollo-server-core-3.5.0" // { (sources."apollo-server-core-3.5.0" // {
dependencies = [ dependencies = [
sources."@graphql-tools/utils-8.5.2" sources."@graphql-tools/utils-8.5.3"
]; ];
}) })
sources."apollo-server-env-4.2.0" sources."apollo-server-env-4.2.0"
@ -77792,7 +77927,7 @@ in
sources."is-symbol-1.0.4" sources."is-symbol-1.0.4"
sources."is-typed-array-1.1.8" sources."is-typed-array-1.1.8"
sources."is-unicode-supported-0.1.0" sources."is-unicode-supported-0.1.0"
sources."is-valid-domain-0.1.2" sources."is-valid-domain-0.1.4"
sources."is-weakmap-2.0.1" sources."is-weakmap-2.0.1"
sources."is-weakref-1.0.1" sources."is-weakref-1.0.1"
sources."is-weakset-2.0.1" sources."is-weakset-2.0.1"
@ -77984,7 +78119,7 @@ in
sources."sort-json-2.0.0" sources."sort-json-2.0.0"
sources."source-map-0.5.7" sources."source-map-0.5.7"
sources."spdx-license-list-6.4.0" sources."spdx-license-list-6.4.0"
sources."sscaff-1.2.119" sources."sscaff-1.2.121"
(sources."stack-utils-2.0.5" // { (sources."stack-utils-2.0.5" // {
dependencies = [ dependencies = [
sources."escape-string-regexp-2.0.0" sources."escape-string-regexp-2.0.0"
@ -79901,10 +80036,10 @@ in
coc-pyright = nodeEnv.buildNodePackage { coc-pyright = nodeEnv.buildNodePackage {
name = "coc-pyright"; name = "coc-pyright";
packageName = "coc-pyright"; packageName = "coc-pyright";
version = "1.1.181"; version = "1.1.185";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/coc-pyright/-/coc-pyright-1.1.181.tgz"; url = "https://registry.npmjs.org/coc-pyright/-/coc-pyright-1.1.185.tgz";
sha512 = "dtsGJiL/ul+kCNKkQ7cw0ZHJV3bw3sWEu2V2dtoDFDP8yVtIHEXbz5O8ujULwl+FkO3X4Th+Q8ZR02mqDwdapQ=="; sha512 = "scmrgeDh1nXAevfgiflyDLIykXJp9q1gi6uHGViO2m7Qu/L0SGTClT3Y7pA46SFXMxeKq/f8lBvUltvPzksWXg==";
}; };
dependencies = [ dependencies = [
sources."pyright-1.1.185" sources."pyright-1.1.185"
@ -85568,7 +85703,7 @@ in
sources."@fluentui/date-time-utilities-7.9.1" sources."@fluentui/date-time-utilities-7.9.1"
sources."@fluentui/dom-utilities-1.1.2" sources."@fluentui/dom-utilities-1.1.2"
sources."@fluentui/keyboard-key-0.2.17" sources."@fluentui/keyboard-key-0.2.17"
sources."@fluentui/react-7.179.0" sources."@fluentui/react-7.179.1"
sources."@fluentui/react-focus-7.18.1" sources."@fluentui/react-focus-7.18.1"
sources."@fluentui/react-window-provider-1.0.2" sources."@fluentui/react-window-provider-1.0.2"
sources."@fluentui/theme-1.7.4" sources."@fluentui/theme-1.7.4"
@ -86611,7 +86746,7 @@ in
sources."object.map-1.0.1" sources."object.map-1.0.1"
sources."object.pick-1.3.0" sources."object.pick-1.3.0"
sources."object.reduce-1.0.1" sources."object.reduce-1.0.1"
sources."office-ui-fabric-react-7.179.0" sources."office-ui-fabric-react-7.179.1"
sources."on-finished-2.3.0" sources."on-finished-2.3.0"
sources."on-headers-1.0.2" sources."on-headers-1.0.2"
sources."once-1.4.0" sources."once-1.4.0"
@ -87294,7 +87429,7 @@ in
sources."eslint-visitor-keys-2.1.0" sources."eslint-visitor-keys-2.1.0"
]; ];
}) })
sources."eslint-visitor-keys-3.0.0" sources."eslint-visitor-keys-3.1.0"
sources."espree-9.0.0" sources."espree-9.0.0"
sources."esquery-1.4.0" sources."esquery-1.4.0"
sources."esrecurse-4.3.0" sources."esrecurse-4.3.0"
@ -89301,7 +89436,7 @@ in
}) })
sources."sisteransi-1.0.5" sources."sisteransi-1.0.5"
sources."slash-3.0.0" sources."slash-3.0.0"
sources."slugify-1.6.1" sources."slugify-1.6.2"
sources."smart-buffer-4.2.0" sources."smart-buffer-4.2.0"
(sources."snapdragon-0.8.2" // { (sources."snapdragon-0.8.2" // {
dependencies = [ dependencies = [
@ -93935,6 +94070,115 @@ in
bypassCache = true; bypassCache = true;
reconstructLock = true; reconstructLock = true;
}; };
"@gitbeaker/cli" = nodeEnv.buildNodePackage {
name = "_at_gitbeaker_slash_cli";
packageName = "@gitbeaker/cli";
version = "34.5.0";
src = fetchurl {
url = "https://registry.npmjs.org/@gitbeaker/cli/-/cli-34.5.0.tgz";
sha512 = "lOagLq2JwEbAnppLKWZlh1wfZv2r+FJfIvOgxtf+sy+t+CtQNIXuyPzBhzqgEKhpDDKqfSF7L9diEXVPXsISEA==";
};
dependencies = [
sources."@gitbeaker/core-34.5.0"
sources."@gitbeaker/node-34.5.0"
sources."@gitbeaker/requester-utils-34.5.0"
sources."@sindresorhus/is-4.2.0"
sources."@szmarczak/http-timer-4.0.6"
sources."@types/cacheable-request-6.0.2"
sources."@types/http-cache-semantics-4.0.1"
sources."@types/keyv-3.1.3"
sources."@types/node-16.11.6"
sources."@types/responselike-1.0.0"
sources."ansi-regex-6.0.1"
sources."ansi-styles-4.3.0"
sources."asynckit-0.4.0"
sources."base64-js-1.5.1"
sources."bl-5.0.0"
sources."buffer-6.0.3"
sources."cacheable-lookup-5.0.4"
sources."cacheable-request-7.0.2"
sources."call-bind-1.0.2"
sources."chalk-4.1.2"
sources."cli-cursor-4.0.0"
sources."cli-spinners-2.6.1"
sources."clone-1.0.4"
sources."clone-response-1.0.2"
sources."color-convert-2.0.1"
sources."color-name-1.1.4"
sources."combined-stream-1.0.8"
sources."decode-uri-component-0.2.0"
(sources."decompress-response-6.0.0" // {
dependencies = [
sources."mimic-response-3.1.0"
];
})
sources."defaults-1.0.3"
sources."defer-to-connect-2.0.1"
sources."delay-5.0.0"
sources."delayed-stream-1.0.0"
sources."end-of-stream-1.4.4"
sources."filter-obj-1.1.0"
sources."form-data-4.0.0"
sources."function-bind-1.1.1"
sources."get-intrinsic-1.1.1"
sources."get-stream-5.2.0"
sources."got-11.8.2"
sources."has-1.0.3"
sources."has-flag-4.0.0"
sources."has-symbols-1.0.2"
sources."http-cache-semantics-4.1.0"
sources."http2-wrapper-1.0.3"
sources."ieee754-1.2.1"
sources."inherits-2.0.4"
sources."is-interactive-2.0.0"
sources."is-unicode-supported-1.1.0"
sources."json-buffer-3.0.1"
sources."keyv-4.0.4"
sources."li-1.3.0"
sources."log-symbols-5.0.0"
sources."lowercase-keys-2.0.0"
sources."mime-db-1.50.0"
sources."mime-types-2.1.33"
sources."mimic-fn-2.1.0"
sources."mimic-response-1.0.1"
sources."normalize-url-6.1.0"
sources."object-inspect-1.11.0"
sources."once-1.4.0"
sources."onetime-5.1.2"
sources."ora-6.0.1"
sources."p-cancelable-2.1.1"
sources."pump-3.0.0"
sources."qs-6.10.1"
sources."query-string-7.0.1"
sources."quick-lru-5.1.1"
sources."readable-stream-3.6.0"
sources."resolve-alpn-1.2.1"
sources."responselike-2.0.0"
sources."restore-cursor-4.0.0"
sources."safe-buffer-5.2.1"
sources."side-channel-1.0.4"
sources."signal-exit-3.0.5"
sources."split-on-first-1.1.0"
sources."strict-uri-encode-2.0.0"
sources."string_decoder-1.3.0"
sources."strip-ansi-7.0.1"
sources."supports-color-7.2.0"
sources."sywac-1.3.0"
sources."util-deprecate-1.0.2"
sources."wcwidth-1.0.1"
sources."wrappy-1.0.2"
sources."xcase-2.0.1"
];
buildInputs = globalBuildInputs;
meta = {
description = "Full NodeJS CLI implementation of the GitLab API.";
homepage = "https://github.com/jdalrymple/gitbeaker#readme";
license = "MIT";
};
production = true;
bypassCache = true;
reconstructLock = true;
};
gitmoji-cli = nodeEnv.buildNodePackage { gitmoji-cli = nodeEnv.buildNodePackage {
name = "gitmoji-cli"; name = "gitmoji-cli";
packageName = "gitmoji-cli"; packageName = "gitmoji-cli";
@ -94371,9 +94615,9 @@ in
sources."tslib-2.1.0" sources."tslib-2.1.0"
]; ];
}) })
(sources."@graphql-tools/import-6.6.0" // { (sources."@graphql-tools/import-6.6.1" // {
dependencies = [ dependencies = [
sources."@graphql-tools/utils-8.5.2" sources."@graphql-tools/utils-8.5.3"
sources."tslib-2.3.1" sources."tslib-2.3.1"
]; ];
}) })
@ -94401,7 +94645,7 @@ in
(sources."@graphql-tools/schema-8.3.1" // { (sources."@graphql-tools/schema-8.3.1" // {
dependencies = [ dependencies = [
sources."@graphql-tools/merge-8.2.1" sources."@graphql-tools/merge-8.2.1"
sources."@graphql-tools/utils-8.5.2" sources."@graphql-tools/utils-8.5.3"
sources."tslib-2.3.1" sources."tslib-2.3.1"
]; ];
}) })
@ -99969,10 +100213,10 @@ in
karma = nodeEnv.buildNodePackage { karma = nodeEnv.buildNodePackage {
name = "karma"; name = "karma";
packageName = "karma"; packageName = "karma";
version = "6.3.7"; version = "6.3.8";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/karma/-/karma-6.3.7.tgz"; url = "https://registry.npmjs.org/karma/-/karma-6.3.8.tgz";
sha512 = "EEkswZhOx3EFt1ELlVECeOXHONbHSGw6fkbeMxvCSkLD77X38Kb1d/Oup2Re9ep/tSoa1He3YIBf3Hp+9EsKtg=="; sha512 = "10wBBU9S0lBHhbCNfmmbWQaY5C1bXlKdnvzN2QKThujCI/+DKaezrI08l6bfTlpJ92VsEboq3zYKpXwK6DOi3A==";
}; };
dependencies = [ dependencies = [
sources."@types/component-emitter-1.2.11" sources."@types/component-emitter-1.2.11"
@ -100078,7 +100322,7 @@ in
sources."rimraf-3.0.2" sources."rimraf-3.0.2"
sources."safer-buffer-2.1.2" sources."safer-buffer-2.1.2"
sources."setprototypeof-1.1.1" sources."setprototypeof-1.1.1"
(sources."socket.io-4.3.1" // { (sources."socket.io-4.3.2" // {
dependencies = [ dependencies = [
sources."debug-4.3.2" sources."debug-4.3.2"
sources."ms-2.1.2" sources."ms-2.1.2"
@ -116226,10 +116470,10 @@ in
snyk = nodeEnv.buildNodePackage { snyk = nodeEnv.buildNodePackage {
name = "snyk"; name = "snyk";
packageName = "snyk"; packageName = "snyk";
version = "1.753.0"; version = "1.754.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/snyk/-/snyk-1.753.0.tgz"; url = "https://registry.npmjs.org/snyk/-/snyk-1.754.0.tgz";
sha512 = "dr9mBwP1yOK1afYvUxOIuC2CJN4qJ5fGf7oQRRQUKXmXKyzuUVl7wSouK+8yYfZJKEH9Jns1x/EvZTrK35NUSw=="; sha512 = "8wuzk1Qmni4x7KxMcnmMsW1JeXJaEruYX9VBvlq4zu5eTRdWYuWXJtWqMFtdhHcVESFomFKtdJZGa5rqLZg2Ng==";
}; };
buildInputs = globalBuildInputs; buildInputs = globalBuildInputs;
meta = { meta = {
@ -116244,10 +116488,10 @@ in
"socket.io" = nodeEnv.buildNodePackage { "socket.io" = nodeEnv.buildNodePackage {
name = "socket.io"; name = "socket.io";
packageName = "socket.io"; packageName = "socket.io";
version = "4.3.1"; version = "4.3.2";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/socket.io/-/socket.io-4.3.1.tgz"; url = "https://registry.npmjs.org/socket.io/-/socket.io-4.3.2.tgz";
sha512 = "HC5w5Olv2XZ0XJ4gOLGzzHEuOCfj3G0SmoW3jLHYYh34EVsIr3EkW9h6kgfW+K3TFEcmYy8JcPWe//KUkBp5jA=="; sha512 = "6S5tV4jcY6dbZ/lLzD6EkvNWI3s81JO6ABP/EpvOlK1NPOcIj3AS4khi6xXw6JlZCASq82HQV4SapfmVMMl2dg==";
}; };
dependencies = [ dependencies = [
sources."@types/component-emitter-1.2.11" sources."@types/component-emitter-1.2.11"
@ -119472,7 +119716,7 @@ in
sources."node-addon-api-4.2.0" sources."node-addon-api-4.2.0"
sources."node-gyp-build-4.3.0" sources."node-gyp-build-4.3.0"
sources."q-1.5.1" sources."q-1.5.1"
sources."usb-1.8.0" sources."usb-1.9.0"
]; ];
buildInputs = globalBuildInputs; buildInputs = globalBuildInputs;
meta = { meta = {

View File

@ -27,6 +27,6 @@ mkDerivation {
license = licenses.bsd3; license = licenses.bsd3;
homepage = "https://phpmd.org/"; homepage = "https://phpmd.org/";
maintainers = teams.php.members; maintainers = teams.php.members;
broken = versionAtLeast php.version "7.4"; broken = versionOlder php.version "7.4";
}; };
} }

View File

@ -4,20 +4,18 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "bleak"; pname = "bleak";
version = "0.12.1"; version = "0.13.0";
disabled = !isPy3k; disabled = !isPy3k;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1va9138igcgbpsnzgr90qwprmhr9h8lryqslc22jxra4r56a502a"; sha256 = "1vnwk36qfws9amqrdaynf63dcj2gzxm0ns1l75hrczmd5j2ic1zb";
}; };
postPatch = '' postPatch = ''
# bleak checks BlueZ's version with a call to `bluetoothctl -v` twice # bleak checks BlueZ's version with a call to `bluetoothctl --version`
substituteInPlace bleak/__init__.py \ substituteInPlace bleak/backends/bluezdbus/__init__.py \
--replace \"bluetoothctl\" \"${bluez}/bin/bluetoothctl\"
substituteInPlace bleak/backends/bluezdbus/client.py \
--replace \"bluetoothctl\" \"${bluez}/bin/bluetoothctl\" --replace \"bluetoothctl\" \"${bluez}/bin/bluetoothctl\"
''; '';

View File

@ -1,15 +1,17 @@
{ stdenv, lib, substituteAll, fetchPypi, buildPythonPackage, python, pkg-config, libX11 { stdenv, lib, substituteAll, fetchFromGitHub, buildPythonPackage, python, pkg-config, libX11
, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, libpng, libjpeg, portmidi, freetype, fontconfig , SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, libpng, libjpeg, portmidi, freetype, fontconfig
, AppKit, CoreMIDI , AppKit
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pygame"; pname = "pygame";
version = "2.0.1"; version = "2.1.0";
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = pname;
sha256 = "8b1e7b63f47aafcdd8849933b206778747ef1802bd3d526aca45ed77141e4001"; repo = pname;
rev = version;
sha256 = "GrfNaowlD2L5umiFwj7DgtHGBg9a4WVfe3RlMjK3ElU=";
}; };
patches = [ patches = [
@ -41,11 +43,11 @@ buildPythonPackage rec {
SDL2 SDL2_image SDL2_mixer SDL2_ttf libpng libjpeg SDL2 SDL2_image SDL2_mixer SDL2_ttf libpng libjpeg
portmidi libX11 freetype portmidi libX11 freetype
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
AppKit CoreMIDI AppKit
]; ];
preConfigure = '' preConfigure = ''
LOCALBASE=/ ${python.interpreter} buildconfig/config.py ${python.interpreter} buildconfig/config.py
''; '';
checkPhase = '' checkPhase = ''

View File

@ -1,29 +1,13 @@
diff --git a/buildconfig/config_darwin.py b/buildconfig/config_darwin.py diff --git a/buildconfig/config_darwin.py b/buildconfig/config_darwin.py
index 8d84683f..70df8f9c 100644 index c785e183..37d5cea4 100644
--- a/buildconfig/config_darwin.py --- a/buildconfig/config_darwin.py
+++ b/buildconfig/config_darwin.py +++ b/buildconfig/config_darwin.py
@@ -56,10 +56,10 @@ class Dependency: @@ -146,16 +146,8 @@ def main():
class FrameworkDependency(Dependency):
def configure(self, incdirs, libdirs):
BASE_DIRS = '/', os.path.expanduser('~/'), '/System/'
- for n in BASE_DIRS:
+ for n in incdirs + libdirs:
n += 'Library/Frameworks/'
fmwk = n + self.libs + '.framework/Versions/Current/'
- if os.path.isfile(fmwk + self.libs):
+ if os.path.isfile(fmwk + self.libs + '.tbd'):
print ('Framework ' + self.libs + ' found')
self.found = 1
self.inc_dir = fmwk + 'Headers'
@@ -158,19 +158,8 @@ def main(sdl2=False):
]) ])
print ('Hunting dependencies...') print ('Hunting dependencies...')
- incdirs = ['/usr/local/include'] - incdirs = ['/usr/local/include', '/opt/homebrew/include']
- if sdl2: - incdirs.extend(['/usr/local/include/SDL2', '/opt/homebrew/include/SDL2', '/opt/local/include/SDL2'])
- incdirs.append('/usr/local/include/SDL2')
- else:
- incdirs.append('/usr/local/include/SDL')
- -
- incdirs.extend([ - incdirs.extend([
- #'/usr/X11/include', - #'/usr/X11/include',
@ -31,17 +15,17 @@ index 8d84683f..70df8f9c 100644
- '/opt/local/include/freetype2/freetype'] - '/opt/local/include/freetype2/freetype']
- ) - )
- #libdirs = ['/usr/local/lib', '/usr/X11/lib', '/opt/local/lib'] - #libdirs = ['/usr/local/lib', '/usr/X11/lib', '/opt/local/lib']
- libdirs = ['/usr/local/lib', '/opt/local/lib'] - libdirs = ['/usr/local/lib', '/opt/local/lib', '/opt/homebrew/lib']
+ incdirs = @buildinputs_include@ + incdirs = @buildinputs_include@
+ libdirs = @buildinputs_lib@ + libdirs = @buildinputs_lib@
for d in DEPS: for d in DEPS:
if isinstance(d, (list, tuple)): if isinstance(d, (list, tuple)):
diff --git a/buildconfig/config_unix.py b/buildconfig/config_unix.py diff --git a/buildconfig/config_unix.py b/buildconfig/config_unix.py
index f6a4ea4b..f7f5be76 100644 index 5c50bcdc..2fd69e2d 100644
--- a/buildconfig/config_unix.py --- a/buildconfig/config_unix.py
+++ b/buildconfig/config_unix.py +++ b/buildconfig/config_unix.py
@@ -224,18 +224,8 @@ def main(sdl2=False): @@ -210,18 +210,8 @@ def main():
if not DEPS[0].found: if not DEPS[0].found:
raise RuntimeError('Unable to run "sdl-config". Please make sure a development version of SDL is installed.') raise RuntimeError('Unable to run "sdl-config". Please make sure a development version of SDL is installed.')

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, cython, pytest, numpy }: { lib, buildPythonPackage, pythonOlder, fetchFromGitHub, cython, pytest, importlib-resources, numpy }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyjet"; pname = "pyjet";
@ -13,7 +13,11 @@ buildPythonPackage rec {
}; };
nativeBuildInputs = [ cython ]; nativeBuildInputs = [ cython ];
propagatedBuildInputs = [ numpy ]; propagatedBuildInputs = [
numpy
] ++ lib.optionals (pythonOlder "3.9") [
importlib-resources
];
checkInputs = [ pytest ]; checkInputs = [ pytest ];
checkPhase = '' checkPhase = ''

View File

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchPypi
, python
, cffi
, pkg-config
, wayland
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pywayland";
version = "0.4.7";
src = fetchPypi {
inherit pname version;
sha256 = "0IMNOPTmY22JCHccIVuZxDhVr41cDcKNkx8bp+5h2CU=";
};
nativeBuildInputs = [ pkg-config ];
propagatedNativeBuildInputs = [ cffi ];
buildInputs = [ wayland ];
propagatedBuildInputs = [ cffi ];
checkInputs = [ pytestCheckHook ];
postBuild = ''
${python.interpreter} pywayland/ffi_build.py
'';
# Tests need this to create sockets
preCheck = ''
export XDG_RUNTIME_DIR="$PWD"
'';
pythonImportsCheck = [ "pywayland" ];
meta = with lib; {
homepage = "https://github.com/flacjacket/pywayland";
description = "Python bindings to wayland using cffi";
license = licenses.ncsa;
maintainers = with maintainers; [ chvp ];
};
}

View File

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchPypi
, python
, cffi
, pkg-config
, libxkbcommon
, libinput
, pixman
, udev
, wlroots
, wayland
, pywayland
, xkbcommon
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pywlroots";
version = "0.14.9";
src = fetchPypi {
inherit pname version;
sha256 = "jzHh5ubonn6pCaOp+Dnr7tA9n5DdZ28hBM+03jZZlvc=";
};
nativeBuildInputs = [ pkg-config ];
propagatedNativeBuildInputs = [ cffi ];
buildInputs = [ libinput libxkbcommon pixman udev wayland wlroots ];
propagatedBuildInputs = [ cffi pywayland xkbcommon ];
checkInputs = [ pytestCheckHook ];
postBuild = ''
${python.interpreter} wlroots/ffi_build.py
'';
pythonImportsCheck = [ "wlroots" ];
meta = with lib; {
homepage = "https://github.com/flacjacket/pywlroots";
description = "Python bindings to wlroots using cffi";
license = licenses.ncsa;
maintainers = with maintainers; [ chvp ];
};
}

View File

@ -4,13 +4,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "skytemple-files"; pname = "skytemple-files";
version = "1.3.2"; version = "1.3.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "SkyTemple"; owner = "SkyTemple";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1g3d5p6ng4zl0ib7k4gj4zy7lp30d2il2k1m92pf5gghwfjwwfca"; sha256 = "01j6khn60mdmz32xkpqrzwdqibmpdpi2wvwzxgdnaim9sq0fdqws";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View File

@ -2,19 +2,19 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "skytemple-rust"; pname = "skytemple-rust";
version = "unstable-2021-05-30"; # Contains build bug fixes, but is otherwise identical to 0.0.1.post0 version = "unstable-2021-08-11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "SkyTemple"; owner = "SkyTemple";
repo = pname; repo = pname;
rev = "cff8b2930af6d25d41331fab8c04f56a4fd75e95"; rev = "e306e5edc096cb3fef25585d9ca5a2817543f1cd";
sha256 = "18y6wwvzyw062zlv3gcirr1hgld9d97ffyrvy0jvw8nr3b9h9x0i"; sha256 = "0ja231gsy9i1z6jsaywawz93rnyjhldngi5i787nhnf88zrwx9ml";
}; };
cargoDeps = rustPlatform.fetchCargoTarball { cargoDeps = rustPlatform.fetchCargoTarball {
inherit src; inherit src;
name = "${pname}-${version}"; name = "${pname}-${version}";
sha256 = "1ypcsf9gbq1bz29kfn7g4kg8741mxg1lfcbb14a0vfhjq4d6pnx9"; sha256 = "0gjvfblyv72m0nqv90m7qvbdnazsh5ind1pxwqz83vm4zjh9a873";
}; };
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
@ -27,6 +27,6 @@ buildPythonPackage rec {
homepage = "https://github.com/SkyTemple/skytemple-rust"; homepage = "https://github.com/SkyTemple/skytemple-rust";
description = "Binary Rust extensions for SkyTemple"; description = "Binary Rust extensions for SkyTemple";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ xfix ]; maintainers = with maintainers; [ xfix marius851000 ];
}; };
} }

View File

@ -1,4 +1,5 @@
{ lib { lib
, stdenv
, aiohttp , aiohttp
, buildPythonPackage , buildPythonPackage
, codecov , codecov
@ -51,7 +52,18 @@ buildPythonPackage rec {
# Exclude tests that requires network features # Exclude tests that requires network features
pytestFlagsArray = [ "--ignore=integration_tests" ]; pytestFlagsArray = [ "--ignore=integration_tests" ];
disabledTests = [ "test_start_raises_an_error_if_rtm_ws_url_is_not_returned" ];
disabledTests = [
"test_start_raises_an_error_if_rtm_ws_url_is_not_returned"
] ++ lib.optionals stdenv.isDarwin [
# these fail with `ConnectionResetError: [Errno 54] Connection reset by peer`
"test_issue_690_oauth_access"
"test_issue_690_oauth_v2_access"
"test_send"
"test_send_attachments"
"test_send_blocks"
"test_send_dict"
];
pythonImportsCheck = [ "slack" ]; pythonImportsCheck = [ "slack" ];

View File

@ -10,13 +10,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "translatepy"; pname = "translatepy";
version = "2.1"; version = "2.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Animenosekai"; owner = "Animenosekai";
repo = "translate"; repo = "translate";
rev = "v${version}"; rev = "v${version}";
sha256 = "0xj97s6zglvq2894wpq3xbjxgfkrfk2414vmcszap8h9j2zxz8gf"; sha256 = "rnt4nmDgQXSgzwNCcsZwbQn2bv83DFhL86kebeiSosc=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -29,6 +29,7 @@ buildPythonPackage rec {
checkInputs = [ pytestCheckHook ]; checkInputs = [ pytestCheckHook ];
disabledTestPaths = [ disabledTestPaths = [
# Requires network connection # Requires network connection
"tests/test_translate.py"
"tests/test_translators.py" "tests/test_translators.py"
]; ];
pythonImportsCheck = [ "translatepy" ]; pythonImportsCheck = [ "translatepy" ];

View File

@ -7,7 +7,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "unidecode"; pname = "unidecode";
version = "1.3.1"; version = "1.3.2";
disabled = pythonOlder "3.5"; disabled = pythonOlder "3.5";
@ -22,7 +22,9 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
pythonImportsCheck = [ "unidecode" ]; pythonImportsCheck = [
"unidecode"
];
meta = with lib; { meta = with lib; {
homepage = "https://pypi.python.org/pypi/Unidecode/"; homepage = "https://pypi.python.org/pypi/Unidecode/";

View File

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchPypi
, python
, cffi
, pkg-config
, libxkbcommon
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "xkbcommon";
version = "0.4";
src = fetchPypi {
inherit pname version;
sha256 = "V5LMaX5TPhk9x4ZA4MGFzDhUiC6NKPo4uTbW6Q7mdVw=";
};
nativeBuildInputs = [ pkg-config ];
propagatedNativeBuildInputs = [ cffi ];
buildInputs = [ libxkbcommon ];
propagatedBuildInputs = [ cffi ];
checkInputs = [ pytestCheckHook ];
postBuild = ''
${python.interpreter} xkbcommon/ffi_build.py
'';
pythonImportsCheck = [ "xkbcommon" ];
meta = with lib; {
homepage = "https://github.com/sde1000/python-xkbcommon";
description = "Python bindings for libxkbcommon using cffi";
license = licenses.mit;
maintainers = with maintainers; [ chvp ];
};
}

View File

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "zeroconf"; pname = "zeroconf";
version = "0.36.11"; version = "0.36.12";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "jstasiak"; owner = "jstasiak";
repo = "python-zeroconf"; repo = "python-zeroconf";
rev = version; rev = version;
sha256 = "sha256-MGaikOO4vdBRCR+jYHr38FGOdg2rjypK5z0UY5lThY4="; sha256 = "sha256-W66tL5uVcOhdahtYDYS8WYKXiz58UL6yEUp0uL9u5SI=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -56,15 +56,13 @@ with py.pkgs;
buildPythonApplication rec { buildPythonApplication rec {
pname = "checkov"; pname = "checkov";
version = "2.0.549"; version = "2.0.554";
disabled = python3.pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bridgecrewio"; owner = "bridgecrewio";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-nxvUxjqzBUPbOkMhdQhkdlMRGFj6vhMU3BjXpSwBb8s="; sha256 = "sha256-C1uTIngtuMs7TjjtAezPxtLkH5RhmCMoetbnp25BRbU=";
}; };
nativeBuildInputs = with py.pkgs; [ nativeBuildInputs = with py.pkgs; [

View File

@ -9,15 +9,15 @@
buildGoModule rec { buildGoModule rec {
pname = "buf"; pname = "buf";
version = "0.54.1"; version = "1.0.0-rc7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bufbuild"; owner = "bufbuild";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-v8n1K2YrN8o4IPA2u6Sg5zsOM08nppg29vlU6ycMj9U="; sha256 = "sha256-ufXz9+WI4NARkQg36mPhGncL7G9fWjDX9Ka/EJdsTvk=";
}; };
vendorSha256 = "sha256-WLQ8Bw/UgRVTFEKpDbv6VZkMHQm2tgxekH3J7Sd5vC8="; vendorSha256 = "sha256-wycrRCL7Mjx0QR5Y64WylpmDtKNh010mNxWAg6ekrds=";
patches = [ patches = [
# Skip a test that requires networking to be available to work. # Skip a test that requires networking to be available to work.
@ -47,9 +47,7 @@ buildGoModule rec {
for FILE in \ for FILE in \
"buf" \ "buf" \
"protoc-gen-buf-breaking" \ "protoc-gen-buf-breaking" \
"protoc-gen-buf-lint" \ "protoc-gen-buf-lint"; do
"protoc-gen-buf-check-breaking" \
"protoc-gen-buf-check-lint"; do
cp "$GOPATH/bin/$FILE" "$out/bin/" cp "$GOPATH/bin/$FILE" "$out/bin/"
done done
@ -63,6 +61,6 @@ buildGoModule rec {
changelog = "https://github.com/bufbuild/buf/releases/tag/v${version}"; changelog = "https://github.com/bufbuild/buf/releases/tag/v${version}";
description = "Create consistent Protobuf APIs that preserve compatibility and comply with design best-practices"; description = "Create consistent Protobuf APIs that preserve compatibility and comply with design best-practices";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ raboof jk ]; maintainers = with maintainers; [ raboof jk lrewega ];
}; };
} }

View File

@ -1,15 +1,15 @@
{ stdenv, coreutils, lib, installShellFiles, zlib, autoPatchelfHook, fetchurl }: { stdenv, coreutils, lib, installShellFiles, zlib, autoPatchelfHook, fetchurl }:
let let
version = "0.0.7"; version = "0.0.8";
assets = { assets = {
x86_64-darwin = { x86_64-darwin = {
asset = "scala-cli-x86_64-apple-darwin.gz"; asset = "scala-cli-x86_64-apple-darwin.gz";
sha256 = "0v6vlmw1zrzvbpa59y4cfv74mx56lyx109vk9cb942pyiv0ia6gf"; sha256 = "14bf1zwvfq86vh00qlf8jf4sb82p9jakrmwqhnv9p0x13lq56xm5";
}; };
x86_64-linux = { x86_64-linux = {
asset = "scala-cli-x86_64-pc-linux.gz"; asset = "scala-cli-x86_64-pc-linux.gz";
sha256 = "1xdkvjfw550lpjw5fsrv7mbnx5i8ix8lrxcd31yipm8p9g4vjcdn"; sha256 = "01dhcj6q9c87aqpz8vy1kwaa1qqq9bh43rkx2sabhnfrzj4vypjr";
}; };
}; };
in in

View File

@ -5,14 +5,14 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "sqlfluff"; pname = "sqlfluff";
version = "0.7.1"; version = "0.8.1";
disabled = python3.pythonOlder "3.6"; disabled = python3.pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-kNoUoelD4EiNWZlXvOrWNPX+wsLCwY3329rJf83l7Wg="; sha256 = "sha256-p2vRHJ7IDjGpAqWLkAHIjNCFRvUfpkvwVtixz8wWR8I=";
}; };
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
@ -28,6 +28,7 @@ python3.pkgs.buildPythonApplication rec {
pytest pytest
tblib tblib
toml toml
tqdm
typing-extensions typing-extensions
] ++ lib.optionals (pythonOlder "3.7") [ ] ++ lib.optionals (pythonOlder "3.7") [
dataclasses dataclasses

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, glib, util-linux, scowl }: { lib, stdenv, fetchFromGitHub, fetchpatch, pkg-config, glib, util-linux, scowl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "halfempty"; pname = "halfempty";
@ -16,6 +16,14 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
patches = [
(fetchpatch {
name = "fix-bash-specific-syntax.patch";
url = "https://github.com/googleprojectzero/halfempty/commit/ad15964d0fcaba12e5aca65c8935ebe3f37d7ea3.patch";
sha256 = "sha256:0hgdci0wwi5wyw8i57w0545cxjmsmswm1y6g4vhykap0y40zizav";
})
];
postPatch = '' postPatch = ''
substituteInPlace test/Makefile \ substituteInPlace test/Makefile \
--replace '/usr/share/dict/words' '${scowl}/share/dict/words.txt' --replace '/usr/share/dict/words' '${scowl}/share/dict/words.txt'

View File

@ -89,5 +89,8 @@ stdenv.mkDerivation rec {
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ ericdallo babariviere ]; maintainers = with maintainers; [ ericdallo babariviere ];
platforms = graalvm11-ce.meta.platforms; platforms = graalvm11-ce.meta.platforms;
# Depends on datalevin that is x86_64 only
# https://github.com/juji-io/datalevin/blob/bb7d9328f4739cddea5d272b5cd6d6dcb5345da6/native/src/java/datalevin/ni/Lib.java#L86-L102
broken = !stdenv.isx86_64;
}; };
} }

View File

@ -51,10 +51,10 @@ stdenv.mkDerivation rec {
runHook postInstall runHook postInstall
''; '';
# Auto strip cannot detect files missing extension. # Strip failed on darwin: strip: error: symbols referenced by indirect symbol table entries that can't be stripped
fixupPhase = '' fixupPhase = lib.optionalString stdenv.isLinux ''
runHook preFixup runHook preFixup
strip -s $out/parser $STRIP $out/parser
runHook postFixup runHook postFixup
''; '';
} }

View File

@ -3,6 +3,7 @@
{ {
tree-sitter-agda = lib.importJSON ./tree-sitter-agda.json; tree-sitter-agda = lib.importJSON ./tree-sitter-agda.json;
tree-sitter-bash = lib.importJSON ./tree-sitter-bash.json; tree-sitter-bash = lib.importJSON ./tree-sitter-bash.json;
tree-sitter-beancount = lib.importJSON ./tree-sitter-beancount.json;
tree-sitter-c = lib.importJSON ./tree-sitter-c.json; tree-sitter-c = lib.importJSON ./tree-sitter-c.json;
tree-sitter-c-sharp = lib.importJSON ./tree-sitter-c-sharp.json; tree-sitter-c-sharp = lib.importJSON ./tree-sitter-c-sharp.json;
tree-sitter-clojure = lib.importJSON ./tree-sitter-clojure.json; tree-sitter-clojure = lib.importJSON ./tree-sitter-clojure.json;

View File

@ -0,0 +1,11 @@
{
"url": "https://github.com/polarmutex/tree-sitter-beancount",
"rev": "79ae7c1f2654a2a6936b0f37bf754e5ff59c9186",
"date": "2021-09-07T00:09:23-04:00",
"path": "/nix/store/adv2yl8kr4pk6430iclkppirhb5ibcqc-tree-sitter-beancount",
"sha256": "1g2p2dnxm50l7npg2cbycwcfz9c9682bj02nrlycyjhwl4may9dn",
"fetchLFS": false,
"fetchSubmodules": false,
"deepClone": false,
"leaveDotGit": false
}

View File

@ -1,9 +1,9 @@
{ {
"url": "https://github.com/tree-sitter/tree-sitter-c-sharp", "url": "https://github.com/tree-sitter/tree-sitter-c-sharp",
"rev": "1b01d838cc2c0435eef59bc4ee9d0c77eea458d0", "rev": "69921685a7688361626600543a2beaf82b67a64d",
"date": "2021-10-07T21:04:41+01:00", "date": "2021-11-03T12:36:17+00:00",
"path": "/nix/store/ghx94r76acsnz4q11nhvfwf4pmslpwz8-tree-sitter-c-sharp", "path": "/nix/store/f4rd6avwf2flqr9yv0dvy9288qrgn2bs-tree-sitter-c-sharp",
"sha256": "03in0smvj6f12mmc744nk772myhrd5qjswfad1vvmmhd50y35ygx", "sha256": "18yzr0yvkbp5wf2slcfn04fc23jn0ray72ica0jyv92jkp5pxc03",
"fetchLFS": false, "fetchLFS": false,
"fetchSubmodules": false, "fetchSubmodules": false,
"deepClone": false, "deepClone": false,

View File

@ -1,9 +1,9 @@
{ {
"url": "https://github.com/tree-sitter/tree-sitter-cpp", "url": "https://github.com/tree-sitter/tree-sitter-cpp",
"rev": "f44509141e7e483323d2ec178f2d2e6c0fc041c1", "rev": "e8dcc9d2b404c542fd236ea5f7208f90be8a6e89",
"date": "2021-10-25T11:23:25-07:00", "date": "2021-10-28T08:16:36-05:00",
"path": "/nix/store/v6034ry75lfdwsiqydff601zla6xb7a2-tree-sitter-cpp", "path": "/nix/store/d08ymiv4qjs9hnc8b0yw700da47879wb-tree-sitter-cpp",
"sha256": "0hxcpdvyyig8njga1mxp4qcnbbnr1d0aiy27vahijwbh98b081nr", "sha256": "1h0q4prr8yf714abz16i2ym41sskmilmga521sxv9d75kqhyb3wl",
"fetchLFS": false, "fetchLFS": false,
"fetchSubmodules": false, "fetchSubmodules": false,
"deepClone": false, "deepClone": false,

View File

@ -1,9 +1,9 @@
{ {
"url": "https://github.com/tree-sitter/tree-sitter-haskell", "url": "https://github.com/tree-sitter/tree-sitter-haskell",
"rev": "bf7d643b494b7c7eed909ed7fbd8447231152cb0", "rev": "6668085e7d3dc6205a3ef27e6293988cf4a10419",
"date": "2021-09-09T20:07:38+02:00", "date": "2021-11-08T00:39:03+01:00",
"path": "/nix/store/nkx9qf63nwl1ql6gl3q1fm4ykqax1isx-tree-sitter-haskell", "path": "/nix/store/srhxv4hmg6if8diww64fi9spaanfkpy2-tree-sitter-haskell",
"sha256": "1wlp6kncjadhfz8y2wn90gkbqf35iidrn0y1ga360l5wyzx1mpid", "sha256": "0bw0hszac5krw52ywzdvgb9jm2s8669ym7sb6vivxihr46inwkr2",
"fetchLFS": false, "fetchLFS": false,
"fetchSubmodules": false, "fetchSubmodules": false,
"deepClone": false, "deepClone": false,

View File

@ -1,9 +1,9 @@
{ {
"url": "https://github.com/nvim-neorg/tree-sitter-norg", "url": "https://github.com/nvim-neorg/tree-sitter-norg",
"rev": "ff9ba2caf2c600f327370d516464d3222b9aa1f0", "rev": "995d7e0be4dc2a9655d2285405c0ef3fededf63c",
"date": "2021-10-14T12:18:22+02:00", "date": "2021-11-05T21:28:42+01:00",
"path": "/nix/store/4142dr4yy1jnbs7lf5kqmsn0rwyr1q7y-tree-sitter-norg", "path": "/nix/store/1l5dq21x6sln1gvixf20gx3pkadjad4d-tree-sitter-norg",
"sha256": "0n74ad636p8q046sw94jxmfd640vabnzqzqjbqypyfw4fx95zwkj", "sha256": "181y8p91hl5j7mrff0pmnx91d9vr24nvklgx12qvc0297vdp8c5v",
"fetchLFS": false, "fetchLFS": false,
"fetchSubmodules": false, "fetchSubmodules": false,
"deepClone": false, "deepClone": false,

View File

@ -1,9 +1,9 @@
{ {
"url": "https://github.com/stsewd/tree-sitter-rst", "url": "https://github.com/stsewd/tree-sitter-rst",
"rev": "632596b1fe5816315cafa90cdf8f8000e30c93e4", "rev": "a5514617ae3644effa80d4696be428e4a371c01a",
"date": "2021-10-01T17:00:56-05:00", "date": "2021-11-05T20:58:51-05:00",
"path": "/nix/store/pnbw1j9ynj4zgjqxjnhq9hgqp3nxm77j-tree-sitter-rst", "path": "/nix/store/is0j0cpd3i7q7liqlcrfdflabmm9rnlg-tree-sitter-rst",
"sha256": "1l831aw4a080qin7dkq04b28nnyxs1r8zqrbp92d7j4y2lz31dla", "sha256": "1bw0yry968qz4arzckxpyz5zkw6ajyirrxyf78m9lr1zmz1vnivy",
"fetchLFS": false, "fetchLFS": false,
"fetchSubmodules": false, "fetchSubmodules": false,
"deepClone": false, "deepClone": false,

View File

@ -1,9 +1,9 @@
{ {
"url": "https://github.com/Himujjal/tree-sitter-svelte", "url": "https://github.com/Himujjal/tree-sitter-svelte",
"rev": "c696a13a587b0595baf7998f1fb9e95c42750263", "rev": "98274d94ec33e994e8354d9ddfdef58cca471294",
"date": "2021-03-20T16:45:11+05:30", "date": "2021-10-28T16:53:33+05:30",
"path": "/nix/store/8krdxqwpi95ljrb5jgalwgygz3aljqr8-tree-sitter-svelte", "path": "/nix/store/q3dapi6k6zdnnr0lki2ic9l6cbxdi2rq-tree-sitter-svelte",
"sha256": "0ckmss5gmvffm6danlsvgh6gwvrlznxsqf6i6ipkn7k5lxg1awg3", "sha256": "1kav0h755sa1j9j930kjrykb17aih017mbi0a97ncjjrlc6nyak5",
"fetchLFS": false, "fetchLFS": false,
"fetchSubmodules": false, "fetchSubmodules": false,
"deepClone": false, "deepClone": false,

View File

@ -1,9 +1,9 @@
{ {
"url": "https://github.com/tree-sitter/tree-sitter-typescript", "url": "https://github.com/tree-sitter/tree-sitter-typescript",
"rev": "11f8f151327e99361c1ff6764599daeef8633615", "rev": "cc745b774e3986aa3a7dfd6b7a0fc01ddc853bf8",
"date": "2021-10-21T09:23:26-07:00", "date": "2021-10-29T14:55:07-07:00",
"path": "/nix/store/r7vpx7g7d1hdxzqyigmr3v9yp5cmmzsg-tree-sitter-typescript", "path": "/nix/store/c0a2j72pfsb7zw44jqlk73vrhvkzk2db-tree-sitter-typescript",
"sha256": "18gk00glysqapys883hq9v33ca9x6nzgy8lk26wa5pip3spzcsm0", "sha256": "0nc8wr04h0wz169p60x4zai37yd351qj9mim7099g1fmbd1w7hq9",
"fetchLFS": false, "fetchLFS": false,
"fetchSubmodules": false, "fetchSubmodules": false,
"deepClone": false, "deepClone": false,

View File

@ -70,6 +70,10 @@ let
# If you need a grammar that already exists in the official orga, # If you need a grammar that already exists in the official orga,
# make sure to give it a different name. # make sure to give it a different name.
otherGrammars = { otherGrammars = {
"tree-sitter-beancount" = {
orga = "polarmutex";
repo = "tree-sitter-beancount";
};
"tree-sitter-clojure" = { "tree-sitter-clojure" = {
orga = "sogaiu"; orga = "sogaiu";
repo = "tree-sitter-clojure"; repo = "tree-sitter-clojure";

View File

@ -1,19 +1,27 @@
{ lib { lib
, buildPythonPackage , python3
, click
, fetchFromGitHub , fetchFromGitHub
, pytestCheckHook
}: }:
buildPythonPackage rec { let
py = python3.override {
packageOverrides = self: super: {
# newest version doesn't support click >8.0 https://github.com/alanhamlett/pip-update-requirements/issues/38
click = self.callPackage ../../../development/python-modules/click/7.nix { };
};
};
inherit (py.pkgs) buildPythonApplication click pytestCheckHook;
in
buildPythonApplication rec {
pname = "pur"; pname = "pur";
version = "5.4.1"; version = "5.4.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "alanhamlett"; owner = "alanhamlett";
repo = "pip-update-requirements"; repo = "pip-update-requirements";
rev = version; rev = version;
sha256 = "sha256-a2wViLJW+UXgHcURxr4irFVkH8STH84AVcwQIkvH+Fg="; sha256 = "sha256-coJO9AYm0Qx0arMf/e+pZFG/VxK6bnxxXRgw7x7V2hY=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "shellharden"; pname = "shellharden";
version = "4.1.2"; version = "4.1.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "anordal"; owner = "anordal";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1003kgnql0z158d3rzz8s3i7s7rx9hjqqvp3li8xhzrgszvkgqk4"; sha256 = "04pgmkaqjb1lmlwjjipcrqh9qcyjjkr39vi3h5fl9sr71c8g7dnd";
}; };
cargoSha256 = "1h4wp9xs9nq90ml2km9gd0afrzri6fbgskz6d15jqykm2fw72l88"; cargoSha256 = "0bjqgw49msl288yfa7bl31bfa9kdy4zh1q3j0lyw4vvkv2r14pf5";
postPatch = "patchShebangs moduletests/run"; postPatch = "patchShebangs moduletests/run";

View File

@ -8,16 +8,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "stylua"; pname = "stylua";
version = "0.11.0"; version = "0.11.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "johnnymorganz"; owner = "johnnymorganz";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-mHmLwgAyLEWfhSVy7WmJN1Z5BdA+3hoHujbKn2Q9fxI="; sha256 = "sha256-+5c8baeToaT4k/2VSK/XQki0NPsWTnS6Ap3NpWvj+yI=";
}; };
cargoSha256 = "sha256-1aze1U6NrL8KPK5v5NYCdyTTqoczkg32xR5V0jApQWw="; cargoSha256 = "sha256-uIcP5ZNb8K5pySw0Qq46hev9VUbq8XVqmzBBGPagUfE=";
cargoBuildFlags = lib.optionals lua52Support [ "--features" "lua52" ] cargoBuildFlags = lib.optionals lua52Support [ "--features" "lua52" ]
++ lib.optionals luauSupport [ "--features" "luau" ]; ++ lib.optionals luauSupport [ "--features" "luau" ];

View File

@ -20,13 +20,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ddnet"; pname = "ddnet";
version = "15.5.4"; version = "15.6.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ddnet"; owner = "ddnet";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-vJMYPaLK2CK+nbojLstXgxqIUaf7jNynpklFgtIpvGM="; sha256 = "sha256-nWouBe1qptDHedrSw5KDuGYyT7Bvf3cfwMynAfQALVY=";
}; };
nativeBuildInputs = [ cmake ninja pkg-config ]; nativeBuildInputs = [ cmake ninja pkg-config ];

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "vhba"; pname = "vhba";
version = "20210418"; version = "20211023";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/cdemu/vhba-module-${version}.tar.xz"; url = "mirror://sourceforge/cdemu/vhba-module-${version}.tar.xz";
sha256 = "119zgav6caialmf3hr096wkf72l9h76sqc9w5dhx26kj4yp85g8q"; sha256 = "sha256-YAh7qqkozvoG1WhHBv7z1IcSrP75LLMq/FB6sZrevxA=";
}; };
makeFlags = [ "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" "INSTALL_MOD_PATH=$(out)" ]; makeFlags = [ "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" "INSTALL_MOD_PATH=$(out)" ];

View File

@ -4666,6 +4666,18 @@ final: prev:
meta.homepage = "https://github.com/kristijanhusak/orgmode.nvim/"; meta.homepage = "https://github.com/kristijanhusak/orgmode.nvim/";
}; };
package-info-nvim = buildVimPluginFrom2Nix {
pname = "package-info.nvim";
version = "2021-10-30";
src = fetchFromGitHub {
owner = "vuki656";
repo = "package-info.nvim";
rev = "0572250a6b69f01416399f2f581aa87c17e03810";
sha256 = "0z26i2h42vjsc5fkikfi6w7d7fnf6m3j5m7a73hi9rdbw389b2ay";
};
meta.homepage = "https://github.com/vuki656/package-info.nvim/";
};
packer-nvim = buildVimPluginFrom2Nix { packer-nvim = buildVimPluginFrom2Nix {
pname = "packer.nvim"; pname = "packer.nvim";
version = "2021-11-03"; version = "2021-11-03";
@ -5207,6 +5219,18 @@ final: prev:
meta.homepage = "https://github.com/saltstack/salt-vim/"; meta.homepage = "https://github.com/saltstack/salt-vim/";
}; };
SchemaStore-nvim = buildVimPluginFrom2Nix {
pname = "SchemaStore.nvim";
version = "2021-11-08";
src = fetchFromGitHub {
owner = "b0o";
repo = "SchemaStore.nvim";
rev = "29116d254c8fa4138cdbeac2beb9dedac6b52dcd";
sha256 = "0jdzkbj6p8d84w6hfpwcdc0qzdrwzp7gqdqxgwl6nwkwm10ahwgm";
};
meta.homepage = "https://github.com/b0o/SchemaStore.nvim/";
};
scrollbar-nvim = buildVimPluginFrom2Nix { scrollbar-nvim = buildVimPluginFrom2Nix {
pname = "scrollbar.nvim"; pname = "scrollbar.nvim";
version = "2021-06-04"; version = "2021-06-04";

View File

@ -36,6 +36,7 @@ artur-shaik/vim-javacomplete2
autozimu/LanguageClient-neovim autozimu/LanguageClient-neovim
axelf4/vim-strip-trailing-whitespace axelf4/vim-strip-trailing-whitespace
ayu-theme/ayu-vim ayu-theme/ayu-vim
b0o/SchemaStore.nvim@main
b3nj5m1n/kommentary@main b3nj5m1n/kommentary@main
bakpakin/fennel.vim bakpakin/fennel.vim
bazelbuild/vim-bazel bazelbuild/vim-bazel
@ -882,6 +883,7 @@ vmchale/dhall-vim
vn-ki/coc-clap vn-ki/coc-clap
voldikss/vim-floaterm voldikss/vim-floaterm
VundleVim/Vundle.vim VundleVim/Vundle.vim
vuki656/package-info.nvim
w0ng/vim-hybrid w0ng/vim-hybrid
wakatime/vim-wakatime wakatime/vim-wakatime
wannesm/wmgraphviz.vim wannesm/wmgraphviz.vim

View File

@ -198,8 +198,8 @@ let
''; '';
linkVimlPlugin = plugin: packageName: dir: '' linkVimlPlugin = plugin: packageName: dir: ''
mkdir -p $out/pack/${packageName}/${dir}/${lib.getName plugin} mkdir -p $out/pack/${packageName}/${dir}
ln -sf ${plugin}/${rtpPath}/* $out/pack/${packageName}/${dir}/${lib.getName plugin} ln -sf ${plugin}/${rtpPath} $out/pack/${packageName}/${dir}/${lib.getName plugin}
''; '';
link = pluginPath: if hasLuaModule pluginPath link = pluginPath: if hasLuaModule pluginPath

View File

@ -50,13 +50,13 @@ vscode-utils.buildVscodeMarketplaceExtension rec {
mktplcRef = { mktplcRef = {
name = "cpptools"; name = "cpptools";
publisher = "ms-vscode"; publisher = "ms-vscode";
version = "1.0.1"; version = "1.7.1";
}; };
vsix = fetchurl { vsix = fetchurl {
name = "${mktplcRef.publisher}-${mktplcRef.name}.zip"; name = "${mktplcRef.publisher}-${mktplcRef.name}.zip";
url = "https://github.com/microsoft/vscode-cpptools/releases/download/${mktplcRef.version}/cpptools-linux.vsix"; url = "https://github.com/microsoft/vscode-cpptools/releases/download/${mktplcRef.version}/cpptools-linux.vsix";
sha256 = "1lb5pza2ny1ydan19596amabs1np10nq08yqsfbvvfw7zbg4gnyc"; sha256 = "sha256-LqndG/vv8LgVPEX6dGkikDB6M6ISneo2UJ78izXVFbk=";
}; };
buildInputs = [ buildInputs = [
@ -77,8 +77,8 @@ vscode-utils.buildVscodeMarketplaceExtension rec {
touch "./install.lock" touch "./install.lock"
# Mono runtimes from nix package (used by generated `OpenDebugAD7`). # Mono runtimes from nix package (used by generated `OpenDebugAD7`).
mv ./debugAdapters/OpenDebugAD7 ./debugAdapters/OpenDebugAD7_orig mv ./debugAdapters/bin/OpenDebugAD7 ./debugAdapters/bin/OpenDebugAD7_orig
cp -p "${openDebugAD7Script}" "./debugAdapters/OpenDebugAD7" cp -p "${openDebugAD7Script}" "./debugAdapters/bin/OpenDebugAD7"
# Clang-format from nix package. # Clang-format from nix package.
mv ./LLVM/ ./LLVM_orig mv ./LLVM/ ./LLVM_orig

View File

@ -59,13 +59,13 @@ in vscode-utils.buildVscodeMarketplaceExtension rec {
mktplcRef = { mktplcRef = {
name = "python"; name = "python";
publisher = "ms-python"; publisher = "ms-python";
version = "2021.5.829140558"; version = "2021.11.1422169775";
}; };
vsix = fetchurl { vsix = fetchurl {
name = "${mktplcRef.publisher}-${mktplcRef.name}.zip"; name = "${mktplcRef.publisher}-${mktplcRef.name}.zip";
url = "https://github.com/microsoft/vscode-python/releases/download/${mktplcRef.version}/ms-python-release.vsix"; url = "https://github.com/microsoft/vscode-python/releases/download/${mktplcRef.version}/ms-python-release.vsix";
sha256 = "0y2HN4WGYUUXBfqp8Xb4oaA0hbLZmE3kDUXMBAOjvPQ="; sha256 = "sha256-Y8Wbpuieca/edIWqgq+lGSUMABOGvO/GuujGlEGmoKs=";
}; };
buildInputs = [ buildInputs = [

View File

@ -8,23 +8,15 @@ in
mktplcRef = { mktplcRef = {
name = "vscode-wakatime"; name = "vscode-wakatime";
publisher = "WakaTime"; publisher = "WakaTime";
version = "4.0.9"; version = "17.1.0";
sha256 = "0sm2fr9zbk1759r52dpnz9r7xbvxladlpinlf2i0hyaa06bhp3b1"; sha256 = "177q8angrn702pxrrpk1fzggzlnnaymq32v55qpjgjb74rhg4dzw";
}; };
postPatch = ''
mkdir wakatime-cli
ln -s ${wakatime}/bin/wakatime ./wakatime-cli/wakatime-cli
'';
meta = with lib; { meta = with lib; {
description = '' description = ''
Visual Studio Code plugin for automatic time tracking and metrics generated Visual Studio Code plugin for automatic time tracking and metrics generated
from your programming activity from your programming activity
''; '';
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [
eadwu
];
}; };
} }

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, pkg-config, libyaml }: { stdenv, lib, fetchFromGitHub, cmake, pkg-config, libyaml }:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "rewrite-tbd"; pname = "rewrite-tbd";
@ -13,4 +13,11 @@ stdenv.mkDerivation {
nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libyaml ]; buildInputs = [ libyaml ];
meta = with lib; {
homepage = "https://github.com/thefloweringash/rewrite-tbd/";
description = "Rewrite filepath in .tbd to Nix applicable format";
platforms = platforms.darwin;
license = licenses.mit;
};
} }

Some files were not shown because too many files have changed in this diff Show More