Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2023-11-22 18:01:38 +00:00 committed by GitHub
commit 55dfa1c1ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
102 changed files with 4499 additions and 5090 deletions

7
.github/labeler.yml vendored
View File

@ -65,6 +65,13 @@
- pkgs/top-level/haskell-packages.nix - pkgs/top-level/haskell-packages.nix
- pkgs/top-level/release-haskell.nix - pkgs/top-level/release-haskell.nix
"6.topic: jupyter":
- pkgs/development/python-modules/jupyter*/**/*
- pkgs/development/python-modules/mkdocs-jupyter/*
- nixos/modules/services/development/jupyter/**/*
- pkgs/applications/editors/jupyter-kernels/**/*
- pkgs/applications/editors/jupyter/**/*
"6.topic: kernel": "6.topic: kernel":
- pkgs/build-support/kernel/**/* - pkgs/build-support/kernel/**/*
- pkgs/os-specific/linux/kernel/**/* - pkgs/os-specific/linux/kernel/**/*

View File

@ -14566,6 +14566,12 @@
name = "Philipp Rintz"; name = "Philipp Rintz";
matrix = "@philipp:srv.icu"; matrix = "@philipp:srv.icu";
}; };
prit342 = {
email = "prithak342@gmail.com";
github = "prit342";
githubId = 20863431;
name = "Prithak S.";
};
ProducerMatt = { ProducerMatt = {
name = "Matthew Pherigo"; name = "Matthew Pherigo";
email = "ProducerMatt42@gmail.com"; email = "ProducerMatt42@gmail.com";
@ -19403,6 +19409,12 @@
githubId = 168610; githubId = 168610;
name = "Ricardo M. Correia"; name = "Ricardo M. Correia";
}; };
wkral = {
email = "william.kral@gmail.com";
github = "wkral";
githubId = 105114;
name = "William Kral";
};
wladmis = { wladmis = {
email = "dev@wladmis.org"; email = "dev@wladmis.org";
github = "wladmis"; github = "wladmis";

View File

@ -401,6 +401,8 @@
- The `chrony` NixOS module now tracks the Real-Time Clock drift from the System Clock with `rtcfile` and automatically adjusts it with `rtcautotrim` when it exceeds the maximum error specified in `services.chrony.autotrimThreshold` (default 30 seconds). If you enabled `rtcsync` in `extraConfig`, you should remove RTC related options from `extraConfig`. If you do not want chrony configured to keep the RTC in check, you can set `services.chrony.enableRTCTrimming = false;` - The `chrony` NixOS module now tracks the Real-Time Clock drift from the System Clock with `rtcfile` and automatically adjusts it with `rtcautotrim` when it exceeds the maximum error specified in `services.chrony.autotrimThreshold` (default 30 seconds). If you enabled `rtcsync` in `extraConfig`, you should remove RTC related options from `extraConfig`. If you do not want chrony configured to keep the RTC in check, you can set `services.chrony.enableRTCTrimming = false;`
- `trilium-desktop` and `trilium-server` have been updated to [v0.61](https://github.com/zadam/trilium/releases/tag/v0.61.12). For existing installations, upgrading to this version is supported only after running v0.60.X at least once. If you are still on an older version, make sure to update to v0.60 (available in NixOS 23.05) first and only then to v0.61 (available in NixOS 23.11).
## Other Notable Changes {#sec-release-23.11-notable-changes} ## Other Notable Changes {#sec-release-23.11-notable-changes}
- A new option `system.switch.enable` was added. By default, this is option is - A new option `system.switch.enable` was added. By default, this is option is

View File

@ -52,6 +52,7 @@ let
"mikrotik" "mikrotik"
"minio" "minio"
"modemmanager" "modemmanager"
"mongodb"
"mysqld" "mysqld"
"nextcloud" "nextcloud"
"nginx" "nginx"

View File

@ -0,0 +1,68 @@
{ config, lib, pkgs, options }:
with lib;
let
cfg = config.services.prometheus.exporters.mongodb;
in
{
port = 9216;
extraOpts = {
uri = mkOption {
type = types.str;
default = "mongodb://localhost:27017/test";
example = "mongodb://localhost:27017/test";
description = lib.mdDoc "MongoDB URI to connect to.";
};
collStats = mkOption {
type = types.listOf types.str;
default = [ ];
example = [ "db1.coll1" "db2" ];
description = lib.mdDoc ''
List of comma separared databases.collections to get $collStats
'';
};
indexStats = mkOption {
type = types.listOf types.str;
default = [ ];
example = [ "db1.coll1" "db2" ];
description = lib.mdDoc ''
List of comma separared databases.collections to get $indexStats
'';
};
collector = mkOption {
type = types.listOf types.str;
default = [ ];
example = [ "diagnosticdata" "replicasetstatus" "dbstats" "topmetrics" "currentopmetrics" "indexstats" "dbstats" "profile" ];
description = lib.mdDoc "Enabled collectors";
};
collectAll = mkOption {
type = types.bool;
default = false;
description = lib.mdDoc ''
Enable all collectors. Same as specifying all --collector.<name>
'';
};
telemetryPath = mkOption {
type = types.str;
default = "/metrics";
example = "/metrics";
description = lib.mdDoc "Metrics expose path";
};
};
serviceOpts = {
serviceConfig = {
RuntimeDirectory = "prometheus-mongodb-exporter";
ExecStart = ''
${getExe pkgs.prometheus-mongodb-exporter} \
--mongodb.uri=${cfg.uri}
${if cfg.collectAll then "--collect-all" else concatMapStringsSep " " (x: "--collect.${x}") cfg.collector} \
--collector.collstats=${concatStringsSep "," cfg.collStats} \
--collector.indexstats=${concatStringsSep "," cfg.indexStats} \
--web.listen-address=${cfg.listenAddress}:${toString cfg.port} \
--web.telemetry-path=${cfg.telemetryPath} \
${escapeShellArgs cfg.extraFlags}
'';
};
};
}

View File

@ -177,189 +177,190 @@ in
{ {
###### interface ###### interface
options = { options.systemd = {
systemd.package = mkOption { package = mkPackageOption pkgs "systemd" {};
default = pkgs.systemd;
defaultText = literalExpression "pkgs.systemd";
type = types.package;
description = lib.mdDoc "The systemd package.";
};
systemd.units = mkOption { units = mkOption {
description = lib.mdDoc "Definition of systemd units."; description = "Definition of systemd units; see {manpage}`systemd.unit(5)`.";
default = {}; default = {};
type = systemdUtils.types.units; type = systemdUtils.types.units;
}; };
systemd.packages = mkOption { packages = mkOption {
default = []; default = [];
type = types.listOf types.package; type = types.listOf types.package;
example = literalExpression "[ pkgs.systemd-cryptsetup-generator ]"; example = literalExpression "[ pkgs.systemd-cryptsetup-generator ]";
description = lib.mdDoc "Packages providing systemd units and hooks."; description = "Packages providing systemd units and hooks.";
}; };
systemd.targets = mkOption { targets = mkOption {
default = {}; default = {};
type = systemdUtils.types.targets; type = systemdUtils.types.targets;
description = lib.mdDoc "Definition of systemd target units."; description = "Definition of systemd target units; see {manpage}`systemd.target(5)`";
}; };
systemd.services = mkOption { services = mkOption {
default = {}; default = {};
type = systemdUtils.types.services; type = systemdUtils.types.services;
description = lib.mdDoc "Definition of systemd service units."; description = "Definition of systemd service units; see {manpage}`systemd.service(5)`.";
}; };
systemd.sockets = mkOption { sockets = mkOption {
default = {}; default = {};
type = systemdUtils.types.sockets; type = systemdUtils.types.sockets;
description = lib.mdDoc "Definition of systemd socket units."; description = "Definition of systemd socket units; see {manpage}`systemd.socket(5)`.";
}; };
systemd.timers = mkOption { timers = mkOption {
default = {}; default = {};
type = systemdUtils.types.timers; type = systemdUtils.types.timers;
description = lib.mdDoc "Definition of systemd timer units."; description = "Definition of systemd timer units; see {manpage}`systemd.timer(5)`.";
}; };
systemd.paths = mkOption { paths = mkOption {
default = {}; default = {};
type = systemdUtils.types.paths; type = systemdUtils.types.paths;
description = lib.mdDoc "Definition of systemd path units."; description = "Definition of systemd path units; see {manpage}`systemd.path(5)`.";
}; };
systemd.mounts = mkOption { mounts = mkOption {
default = []; default = [];
type = systemdUtils.types.mounts; type = systemdUtils.types.mounts;
description = lib.mdDoc '' description = ''
Definition of systemd mount units. Definition of systemd mount units; see {manpage}`systemd.mount(5)`.
This is a list instead of an attrSet, because systemd mandates the names to be derived from
the 'where' attribute. This is a list instead of an attrSet, because systemd mandates
the names to be derived from the `where` attribute.
''; '';
}; };
systemd.automounts = mkOption { automounts = mkOption {
default = []; default = [];
type = systemdUtils.types.automounts; type = systemdUtils.types.automounts;
description = lib.mdDoc '' description = ''
Definition of systemd automount units. Definition of systemd automount units; see {manpage}`systemd.automount(5)`.
This is a list instead of an attrSet, because systemd mandates the names to be derived from
the 'where' attribute. This is a list instead of an attrSet, because systemd mandates
the names to be derived from the `where` attribute.
''; '';
}; };
systemd.slices = mkOption { slices = mkOption {
default = {}; default = {};
type = systemdUtils.types.slices; type = systemdUtils.types.slices;
description = lib.mdDoc "Definition of slice configurations."; description = "Definition of slice configurations; see {manpage}`systemd.slice(5)`.";
}; };
systemd.generators = mkOption { generators = mkOption {
type = types.attrsOf types.path; type = types.attrsOf types.path;
default = {}; default = {};
example = { systemd-gpt-auto-generator = "/dev/null"; }; example = { systemd-gpt-auto-generator = "/dev/null"; };
description = lib.mdDoc '' description = ''
Definition of systemd generators. Definition of systemd generators; see {manpage}`systemd.generator(5)`.
For each `NAME = VALUE` pair of the attrSet, a link is generated from For each `NAME = VALUE` pair of the attrSet, a link is generated from
`/etc/systemd/system-generators/NAME` to `VALUE`. `/etc/systemd/system-generators/NAME` to `VALUE`.
''; '';
}; };
systemd.shutdown = mkOption { shutdown = mkOption {
type = types.attrsOf types.path; type = types.attrsOf types.path;
default = {}; default = {};
description = lib.mdDoc '' description = ''
Definition of systemd shutdown executables. Definition of systemd shutdown executables.
For each `NAME = VALUE` pair of the attrSet, a link is generated from For each `NAME = VALUE` pair of the attrSet, a link is generated from
`/etc/systemd/system-shutdown/NAME` to `VALUE`. `/etc/systemd/system-shutdown/NAME` to `VALUE`.
''; '';
}; };
systemd.defaultUnit = mkOption { defaultUnit = mkOption {
default = "multi-user.target"; default = "multi-user.target";
type = types.str; type = types.str;
description = lib.mdDoc "Default unit started when the system boots."; description = ''
}; Default unit started when the system boots; see {manpage}`systemd.special(7)`.
systemd.ctrlAltDelUnit = mkOption {
default = "reboot.target";
type = types.str;
example = "poweroff.target";
description = lib.mdDoc ''
Target that should be started when Ctrl-Alt-Delete is pressed.
''; '';
}; };
systemd.globalEnvironment = mkOption { ctrlAltDelUnit = mkOption {
default = "reboot.target";
type = types.str;
example = "poweroff.target";
description = ''
Target that should be started when Ctrl-Alt-Delete is pressed;
see {manpage}`systemd.special(7)`.
'';
};
globalEnvironment = mkOption {
type = with types; attrsOf (nullOr (oneOf [ str path package ])); type = with types; attrsOf (nullOr (oneOf [ str path package ]));
default = {}; default = {};
example = { TZ = "CET"; }; example = { TZ = "CET"; };
description = lib.mdDoc '' description = ''
Environment variables passed to *all* systemd units. Environment variables passed to *all* systemd units.
''; '';
}; };
systemd.managerEnvironment = mkOption { managerEnvironment = mkOption {
type = with types; attrsOf (nullOr (oneOf [ str path package ])); type = with types; attrsOf (nullOr (oneOf [ str path package ]));
default = {}; default = {};
example = { SYSTEMD_LOG_LEVEL = "debug"; }; example = { SYSTEMD_LOG_LEVEL = "debug"; };
description = lib.mdDoc '' description = ''
Environment variables of PID 1. These variables are Environment variables of PID 1. These variables are
*not* passed to started units. *not* passed to started units.
''; '';
}; };
systemd.enableCgroupAccounting = mkOption { enableCgroupAccounting = mkOption {
default = true; default = true;
type = types.bool; type = types.bool;
description = lib.mdDoc '' description = ''
Whether to enable cgroup accounting. Whether to enable cgroup accounting; see {manpage}`cgroups(7)`.
''; '';
}; };
systemd.enableUnifiedCgroupHierarchy = mkOption { enableUnifiedCgroupHierarchy = mkOption {
default = true; default = true;
type = types.bool; type = types.bool;
description = lib.mdDoc '' description = ''
Whether to enable the unified cgroup hierarchy (cgroupsv2). Whether to enable the unified cgroup hierarchy (cgroupsv2); see {manpage}`cgroups(7)`.
''; '';
}; };
systemd.extraConfig = mkOption { extraConfig = mkOption {
default = ""; default = "";
type = types.lines; type = types.lines;
example = "DefaultLimitCORE=infinity"; example = "DefaultLimitCORE=infinity";
description = lib.mdDoc '' description = ''
Extra config options for systemd. See systemd-system.conf(5) man page Extra config options for systemd. See {manpage}`systemd-system.conf(5)` man page
for available options. for available options.
''; '';
}; };
systemd.sleep.extraConfig = mkOption { sleep.extraConfig = mkOption {
default = ""; default = "";
type = types.lines; type = types.lines;
example = "HibernateDelaySec=1h"; example = "HibernateDelaySec=1h";
description = lib.mdDoc '' description = ''
Extra config options for systemd sleep state logic. Extra config options for systemd sleep state logic.
See sleep.conf.d(5) man page for available options. See {manpage}`sleep.conf.d(5)` man page for available options.
''; '';
}; };
systemd.additionalUpstreamSystemUnits = mkOption { additionalUpstreamSystemUnits = mkOption {
default = [ ]; default = [ ];
type = types.listOf types.str; type = types.listOf types.str;
example = [ "debug-shell.service" "systemd-quotacheck.service" ]; example = [ "debug-shell.service" "systemd-quotacheck.service" ];
description = lib.mdDoc '' description = ''
Additional units shipped with systemd that shall be enabled. Additional units shipped with systemd that shall be enabled.
''; '';
}; };
systemd.suppressedSystemUnits = mkOption { suppressedSystemUnits = mkOption {
default = [ ]; default = [ ];
type = types.listOf types.str; type = types.listOf types.str;
example = [ "systemd-backlight@.service" ]; example = [ "systemd-backlight@.service" ];
description = lib.mdDoc '' description = ''
A list of units to skip when generating system systemd configuration directory. This has A list of units to skip when generating system systemd configuration directory. This has
priority over upstream units, {option}`systemd.units`, and priority over upstream units, {option}`systemd.units`, and
{option}`systemd.additionalUpstreamSystemUnits`. The main purpose of this is to {option}`systemd.additionalUpstreamSystemUnits`. The main purpose of this is to
@ -368,49 +369,56 @@ in
''; '';
}; };
systemd.watchdog.device = mkOption { watchdog.device = mkOption {
type = types.nullOr types.path; type = types.nullOr types.path;
default = null; default = null;
example = "/dev/watchdog"; example = "/dev/watchdog";
description = lib.mdDoc '' description = ''
The path to a hardware watchdog device which will be managed by systemd. The path to a hardware watchdog device which will be managed by systemd.
If not specified, systemd will default to /dev/watchdog. If not specified, systemd will default to `/dev/watchdog`.
''; '';
}; };
systemd.watchdog.runtimeTime = mkOption { watchdog.runtimeTime = mkOption {
type = types.nullOr types.str; type = types.nullOr types.str;
default = null; default = null;
example = "30s"; example = "30s";
description = lib.mdDoc '' description = ''
The amount of time which can elapse before a watchdog hardware device The amount of time which can elapse before a watchdog hardware device
will automatically reboot the system. Valid time units include "ms", will automatically reboot the system.
"s", "min", "h", "d", and "w".
Valid time units include "ms", "s", "min", "h", "d", and "w";
see {manpage}`systemd.time(7)`.
''; '';
}; };
systemd.watchdog.rebootTime = mkOption { watchdog.rebootTime = mkOption {
type = types.nullOr types.str; type = types.nullOr types.str;
default = null; default = null;
example = "10m"; example = "10m";
description = lib.mdDoc '' description = ''
The amount of time which can elapse after a reboot has been triggered The amount of time which can elapse after a reboot has been triggered
before a watchdog hardware device will automatically reboot the system. before a watchdog hardware device will automatically reboot the system.
Valid time units include "ms", "s", "min", "h", "d", and "w". If left If left `null`, systemd will use its default of 10 minutes;
`null`, systemd will use its default of `10min`; see also {command}`man see {manpage}`systemd-system.conf(5)`.
5 systemd-system.conf`.
Valid time units include "ms", "s", "min", "h", "d", and "w";
see also {manpage}`systemd.time(7)`.
''; '';
}; };
systemd.watchdog.kexecTime = mkOption { watchdog.kexecTime = mkOption {
type = types.nullOr types.str; type = types.nullOr types.str;
default = null; default = null;
example = "10m"; example = "10m";
description = lib.mdDoc '' description = ''
The amount of time which can elapse when kexec is being executed before The amount of time which can elapse when `kexec` is being executed before
a watchdog hardware device will automatically reboot the system. This a watchdog hardware device will automatically reboot the system. This
option should only be enabled if reloadTime is also enabled. Valid option should only be enabled if `reloadTime` is also enabled;
time units include "ms", "s", "min", "h", "d", and "w". see {manpage}`kexec(8)`.
Valid time units include "ms", "s", "min", "h", "d", and "w";
see also {manpage}`systemd.time(7)`.
''; '';
}; };
}; };
@ -493,32 +501,32 @@ in
"systemd/system.conf".text = '' "systemd/system.conf".text = ''
[Manager] [Manager]
ManagerEnvironment=${lib.concatStringsSep " " (lib.mapAttrsToList (n: v: "${n}=${lib.escapeShellArg v}") cfg.managerEnvironment)} ManagerEnvironment=${lib.concatStringsSep " " (lib.mapAttrsToList (n: v: "${n}=${lib.escapeShellArg v}") cfg.managerEnvironment)}
${optionalString config.systemd.enableCgroupAccounting '' ${optionalString cfg.enableCgroupAccounting ''
DefaultCPUAccounting=yes DefaultCPUAccounting=yes
DefaultIOAccounting=yes DefaultIOAccounting=yes
DefaultBlockIOAccounting=yes DefaultBlockIOAccounting=yes
DefaultIPAccounting=yes DefaultIPAccounting=yes
''} ''}
DefaultLimitCORE=infinity DefaultLimitCORE=infinity
${optionalString (config.systemd.watchdog.device != null) '' ${optionalString (cfg.watchdog.device != null) ''
WatchdogDevice=${config.systemd.watchdog.device} WatchdogDevice=${cfg.watchdog.device}
''} ''}
${optionalString (config.systemd.watchdog.runtimeTime != null) '' ${optionalString (cfg.watchdog.runtimeTime != null) ''
RuntimeWatchdogSec=${config.systemd.watchdog.runtimeTime} RuntimeWatchdogSec=${cfg.watchdog.runtimeTime}
''} ''}
${optionalString (config.systemd.watchdog.rebootTime != null) '' ${optionalString (cfg.watchdog.rebootTime != null) ''
RebootWatchdogSec=${config.systemd.watchdog.rebootTime} RebootWatchdogSec=${cfg.watchdog.rebootTime}
''} ''}
${optionalString (config.systemd.watchdog.kexecTime != null) '' ${optionalString (cfg.watchdog.kexecTime != null) ''
KExecWatchdogSec=${config.systemd.watchdog.kexecTime} KExecWatchdogSec=${cfg.watchdog.kexecTime}
''} ''}
${config.systemd.extraConfig} ${cfg.extraConfig}
''; '';
"systemd/sleep.conf".text = '' "systemd/sleep.conf".text = ''
[Sleep] [Sleep]
${config.systemd.sleep.extraConfig} ${cfg.sleep.extraConfig}
''; '';
"systemd/system-generators" = { source = hooks "generators" cfg.generators; }; "systemd/system-generators" = { source = hooks "generators" cfg.generators; };

View File

@ -98,7 +98,7 @@ self: let
''; '';
postInstall = (old.postInstall or "") + "\n" + '' postInstall = (old.postInstall or "") + "\n" + ''
./install.sh --prefix=$out ./install.sh "$out"
''; '';
meta = old.meta // { meta = old.meta // {

View File

@ -61,11 +61,7 @@
, wrapGAppsHook , wrapGAppsHook
# Boolean flags # Boolean flags
, nativeComp ? null , withNativeCompilation ? stdenv.buildPlatform.canExecute stdenv.hostPlatform
, withNativeCompilation ?
if nativeComp != null
then lib.warn "nativeComp option is deprecated and will be removed; use withNativeCompilation instead" nativeComp
else stdenv.buildPlatform.canExecute stdenv.hostPlatform
, noGui ? false , noGui ? false
, srcRepo ? true , srcRepo ? true
, withAcl ? false , withAcl ? false
@ -403,9 +399,6 @@ mkDerivation (finalAttrs: {
inherit withTreeSitter; inherit withTreeSitter;
pkgs = recurseIntoAttrs (emacsPackagesFor finalAttrs.finalPackage); pkgs = recurseIntoAttrs (emacsPackagesFor finalAttrs.finalPackage);
tests = { inherit (nixosTests) emacs-daemon; }; tests = { inherit (nixosTests) emacs-daemon; };
# Backwards compatibility aliases. Remove this at some point before 23.11 release cut-off.
nativeComp = builtins.trace "emacs.passthru: nativeComp was renamed to withNativeCompilation and will be removed in 23.11" withNativeCompilation;
treeSitter = builtins.trace "emacs.passthru: treeSitter was renamed to withTreeSitter and will be removed in 23.11" withTreeSitter;
}; };
meta = meta // { meta = meta // {

View File

@ -9,7 +9,6 @@
, pkg-config , pkg-config
, python3 , python3
, vala , vala
, vala-lint
, wrapGAppsHook , wrapGAppsHook
, cairo , cairo
, glib , glib
@ -41,7 +40,6 @@ stdenv.mkDerivation rec {
pkg-config pkg-config
python3 python3
vala vala
vala-lint
wrapGAppsHook wrapGAppsHook
]; ];

View File

@ -3,6 +3,7 @@
, runCommand , runCommand
, inkcut , inkcut
, callPackage , callPackage
, texlive
}: }:
{ {
@ -43,4 +44,8 @@
mkdir -p $out/share/inkscape/extensions mkdir -p $out/share/inkscape/extensions
cp ${inkcut}/share/inkscape/extensions/* $out/share/inkscape/extensions cp ${inkcut}/share/inkscape/extensions/* $out/share/inkscape/extensions
''); '');
textext = callPackage ./extensions/textext {
pdflatex = texlive.combined.scheme-basic;
lualatex = texlive.combined.scheme-basic;
};
} }

View File

@ -0,0 +1,125 @@
{ lib
, writeScript
, fetchFromGitHub
, substituteAll
, inkscape
, pdflatex
, lualatex
, python3
, wrapGAppsHook
, gobject-introspection
, gtk3
, gtksourceview3
}:
let
launchScript = writeScript "launch.sh" ''
cd $(dirname $0)
./__main__.py $*
'';
in
python3.pkgs.buildPythonApplication rec {
pname = "textext";
version = "1.8.1";
src = fetchFromGitHub {
owner = "textext";
repo = "textext";
rev = version;
sha256 = "sha256-Qzd39X0X3DdwZ3pIIGvEbNjl6dxjDf3idzjwCkp3WRg=";
};
patches = [
# Make sure we can point directly to pdflatex in the extension,
# instead of relying on the PATH (which might not have it)
(substituteAll {
src = ./fix-paths.patch;
inherit pdflatex lualatex;
})
# Since we are wrapping the extension, we need to change the interpreter
# from Python to Bash.
./interpreter.patch
];
nativeBuildInputs = [
wrapGAppsHook
gobject-introspection
];
buildInputs = [
gtk3
gtksourceview3
];
propagatedBuildInputs = [
python3.pkgs.pygobject3
# lxml, cssselect and numpy are required by inkex but is not inherited from inkscape when we use custom Python interpreter:
python3.pkgs.lxml
python3.pkgs.cssselect
python3.pkgs.numpy
];
# strictDeps do not play nicely with introspection setup hooks.
# https://github.com/NixOS/nixpkgs/issues/56943
strictDeps = false;
# TexText doesnt have a 'bdist_wheel' target.
dontUseSetuptoolsBuild = true;
# TexText doesnt have a 'test' target.
doCheck = false;
# Avoid wrapping two times by just using Pythons wrapping.
dontWrapGApps = true;
buildPhase = ''
runHook preBuild
mkdir dist
# source/setup.py creates a config file in HOME (that we ignore)
mkdir buildhome
export HOME=$(pwd)/buildhome
python setup.py \
--inkscape-executable=${inkscape}/bin/inkscape \
--pdflatex-executable=${pdflatex}/bin/pdflatex \
--lualatex-executable=${lualatex}/bin/lualatex \
--inkscape-extensions-path=dist
runHook postBuild
'';
installPhase = ''
runHook preInstall
mkdir -p $out/share/inkscape/extensions
cp -r dist/textext $out/share/inkscape/extensions
runHook postInstall
'';
preFixup = ''
# Prepare for wrapping
chmod +x "$out/share/inkscape/extensions/textext/__main__.py"
sed -i '1i#!/usr/bin/env python3' "$out/share/inkscape/extensions/textext/__main__.py"
# Include gobject-introspection typelibs in the wrapper.
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
postFixup = ''
# Wrap the project so it can find runtime dependencies.
wrapPythonProgramsIn "$out/share/inkscape/extensions/textext" "$out $pythonPath"
cp ${launchScript} $out/share/inkscape/extensions/textext/launch.sh
'';
meta = with lib; {
description = "Re-editable LaTeX graphics for Inkscape";
homepage = "https://textext.github.io/textext/";
license = licenses.bsd3;
maintainers = [ maintainers.raboof ];
platforms = platforms.all;
};
}

View File

@ -0,0 +1,19 @@
--- a/textext/base.py
+++ b/textext/base.py
@@ -95,7 +95,16 @@ class TexText(inkex.EffectExtension):
def __init__(self):
self.config = Settings(directory=defaults.textext_config_path)
+ # config.json is stored in ~/.config/inkscape/extensions/textext for
+ # the next invocation, but since that next invocation could be using
+ # a different latex derivation, make sure we overwrite the executable
+ # paths with updated ones:
+ self.config["pdflatex-executable"] = "@pdflatex@/bin/pdflatex";
+ self.config["lualatex-executable"] = "@lualatex@/bin/lualatex";
self.cache = Cache(directory=defaults.textext_config_path)
+ if "requirements_checker" in self.cache.values:
+ self.cache["requirements_checker"]["available_tex_to_pdf_converters"]["pdflatex"] = "@pdflatex@/bin/pdflatex";
+ self.cache["requirements_checker"]["available_tex_to_pdf_converters"]["lualatex"] = "@lualatex@/bin/lualatex";
previous_exit_code = self.cache.get("previous_exit_code", None)
if previous_exit_code is None:

View File

@ -0,0 +1,10 @@
--- a/textext/textext.inx
+++ b/textext/textext.inx
@@ -8,6 +8,6 @@
</effects-menu>
</effect>
<script>
- <command location="inx" interpreter="python">__main__.py</command>
+ <command location="inx" interpreter="shell">launch.sh</command>
</script>
</inkscape-extension>

View File

@ -15,16 +15,16 @@
buildGoModule rec { buildGoModule rec {
pname = "nwg-look"; pname = "nwg-look";
version = "0.2.4"; version = "0.2.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nwg-piotr"; owner = "nwg-piotr";
repo = "nwg-look"; repo = "nwg-look";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-wUI58qYkVYgES87HQ4octciDlOJ10oJldbUkFgxRUd4="; hash = "sha256-Gw0C5PCVwXuwXWF39P7pc8KdnmCYRH24zizShmniynM=";
}; };
vendorHash = "sha256-dev+TV6FITd29EfknwHDNI0gLao7gsC95Mg+3qQs93E="; vendorHash = "sha256-vHqnIkzsoQHiP6mmrwNetq6Pp5UB1CmX7mYvgsbvb0s=";
# Replace /usr/ directories with the packages output location # Replace /usr/ directories with the packages output location
# This means it references the correct path # This means it references the correct path

View File

@ -35,16 +35,16 @@ let
in in
buildNpmPackage rec { buildNpmPackage rec {
pname = "deltachat-desktop"; pname = "deltachat-desktop";
version = "1.41.1"; version = "1.41.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "deltachat"; owner = "deltachat";
repo = "deltachat-desktop"; repo = "deltachat-desktop";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-ITcBIm47OiGy/i6jnG6r1OoStjRPystOts6ViLioLNY="; hash = "sha256-T2EPCYQ2N414sUEqpXtx459sZZXOnHgXM0/dz3Wi9hw=";
}; };
npmDepsHash = "sha256-+t6m2kDUOh6kIkbZgol/CQciDTxUZSkTr1amPywrMb4="; npmDepsHash = "sha256-q60qrTN6H1AfJGhula8dzRwnKw2l+X0BOIvnKZh5t2s=";
nativeBuildInputs = [ nativeBuildInputs = [
makeWrapper makeWrapper

View File

@ -1,49 +1,70 @@
{ lib, stdenv, appimageTools, fetchurl, undmg }: { lib
, stdenv
, fetchurl
, fetchFromGitHub
, flutter
, makeDesktopItem
, pkg-config
, libayatana-appindicator
, undmg
}:
let let
pname = "localsend"; pname = "localsend";
version = "1.11.1"; version = "1.12.0";
hashes = { linux = flutter.buildFlutterApplication {
x86_64-linux = "sha256-K4M9cks0FNsCLIqQhSgUAz3tRMKng6JkZ/ZfwG2hZJA="; inherit pname version;
x86_64-darwin = "sha256-Cixo00I4BBAmUnszsz+CxPX3EY175UTufCmwQmIsEgg=";
};
srcs = rec { src = fetchFromGitHub {
x86_64-linux = fetchurl { owner = pname;
url = "https://github.com/localsend/localsend/releases/download/v${version}/LocalSend-${version}-linux-x86-64.AppImage"; repo = pname;
hash = hashes.x86_64-linux; rev = "v${version}";
hash = "sha256-mk0CLZP0x/mEixeAig7X41aFgQzs+kZkBJx6T//3ZKY=";
}; };
x86_64-darwin = fetchurl {
url = "https://github.com/localsend/localsend/releases/download/v${version}/LocalSend-${version}.dmg";
hash = hashes.x86_64-darwin;
};
aarch64-darwin = x86_64-darwin;
};
src = srcs.${stdenv.hostPlatform.system} or (throw "Unsupported system for package localsend: ${stdenv.hostPlatform.system}");
appimageContents = appimageTools.extract { inherit pname version src; }; sourceRoot = "source/app";
depsListFile = ./deps.json;
vendorHash = "sha256-fXzxT7KBi/WT2A5PEIx+B+UG4HWEbMPMsashVQsXdmU=";
linux = appimageTools.wrapType2 rec { nativeBuildInputs = [ pkg-config ];
inherit pname version src meta;
extraPkgs = p: [ p.ayatana-ido p.libayatana-appindicator p.libayatana-indicator p.libdbusmenu p.libepoxy ]; buildInputs = [ libayatana-appindicator ];
extraInstallCommands = '' postInstall = ''
mv $out/bin/${pname}-${version} $out/bin/${pname} mv $out/bin/localsend_app $out/bin/localsend
for s in 32 128 256 512; do
install -m 444 -D ${appimageContents}/org.localsend.localsend_app.desktop \ d=$out/share/icons/hicolor/''${s}x''${s}/apps
$out/share/applications/${pname}.desktop mkdir -p $d
substituteInPlace $out/share/applications/${pname}.desktop \ ln -s $out/app/data/flutter_assets/assets/img/logo-''${s}.png $d/localsend.png
--replace 'Exec=localsend_app' "Exec=$out/bin/localsend" done
mkdir -p $out/share/applications
install -m 444 -D ${appimageContents}/localsend.png \ cp $desktopItem/share/applications/*.desktop $out/share/applications
$out/share/icons/hicolor/256x256/apps/localsend.png substituteInPlace $out/share/applications/*.desktop --subst-var out
''; '';
desktopItem = makeDesktopItem {
name = "LocalSend";
exec = "@out@/bin/localsend_app";
icon = "localsend";
desktopName = "LocalSend";
startupWMClass = "localsend";
genericName = "An open source cross-platform alternative to AirDrop";
categories = [ "Network" ];
};
meta = meta // {
mainProgram = "localsend_app";
};
}; };
darwin = stdenv.mkDerivation { darwin = stdenv.mkDerivation {
inherit pname version src meta; inherit pname version;
src = fetchurl {
url = "https://github.com/localsend/localsend/releases/download/v${version}/LocalSend-${version}.dmg";
hash = "sha256-XKYc3lA7x0Tf1Mf3o7D2RYwYDRDVHoSb/lj9PhKzV5U=";
};
nativeBuildInputs = [ undmg ]; nativeBuildInputs = [ undmg ];
@ -53,16 +74,19 @@ let
mkdir -p $out/Applications mkdir -p $out/Applications
cp -r *.app $out/Applications cp -r *.app $out/Applications
''; '';
meta = meta // {
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
platforms = [ "x86_64-darwin" "aarch64-darwin" ];
};
}; };
meta = with lib; { meta = with lib; {
description = "An open source cross-platform alternative to AirDrop"; description = "An open source cross-platform alternative to AirDrop";
homepage = "https://localsend.org/"; homepage = "https://localsend.org/";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.mit; license = licenses.mit;
mainProgram = "localsend"; mainProgram = "localsend";
maintainers = with maintainers; [ sikmir ]; maintainers = with maintainers; [ sikmir ];
platforms = builtins.attrNames srcs;
}; };
in in
if stdenv.isDarwin if stdenv.isDarwin

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
#! /usr/bin/env nix-shell #! /usr/bin/env nix-shell
#! nix-shell -I nixpkgs=./. -i bash -p curl gnused #! nix-shell -I nixpkgs=./. -i bash -p curl gnused jq
set -eou pipefail set -eou pipefail
@ -16,10 +16,6 @@ fi
sed -i "s/version = \".*\"/version = \"${latestVersion}\"/" "$ROOT/default.nix" sed -i "s/version = \".*\"/version = \"${latestVersion}\"/" "$ROOT/default.nix"
LINUX_x64_URL="https://github.com/localsend/localsend/releases/download/v${latestVersion}/LocalSend-${latestVersion}-linux-x86-64.AppImage"
LINUX_X64_SHA=$(nix hash to-sri --type sha256 $(nix-prefetch-url ${LINUX_x64_URL}))
sed -i "0,/x86_64-linux/{s|x86_64-linux = \".*\"|x86_64-linux = \"${LINUX_X64_SHA}\"|}" "$ROOT/default.nix"
DARWIN_x64_URL="https://github.com/localsend/localsend/releases/download/v${latestVersion}/LocalSend-${latestVersion}.dmg" DARWIN_x64_URL="https://github.com/localsend/localsend/releases/download/v${latestVersion}/LocalSend-${latestVersion}.dmg"
DARWIN_X64_SHA=$(nix hash to-sri --type sha256 $(nix-prefetch-url ${DARWIN_x64_URL})) DARWIN_X64_SHA=$(nix hash to-sri --type sha256 $(nix-prefetch-url ${DARWIN_x64_URL}))
sed -i "0,/x86_64-darwin/{s|x86_64-darwin = \".*\"|x86_64-darwin = \"${DARWIN_X64_SHA}\"|}" "$ROOT/default.nix" sed -i "/darwin/,/hash/{s|hash = \".*\"|hash = \"${DARWIN_X64_SHA}\"|}" "$ROOT/default.nix"

View File

@ -1,17 +1,16 @@
{ lib, stdenv, fetchgit, curl, gnunet, jansson, libgcrypt, libmicrohttpd_0_9_72 { lib, stdenv, fetchgit, curl, gnunet, jansson, libgcrypt, libmicrohttpd_0_9_74
, qrencode, libsodium, libtool, libunistring, pkg-config, postgresql , qrencode, libsodium, libtool, libunistring, pkg-config, postgresql
, autoreconfHook, python39, recutils, wget, jq, gettext, texinfo , autoreconfHook, python39, recutils, wget, jq, gettext, texinfo
}: }:
let let
version = "0.9.2"; version = "0.9.3";
taler-wallet-core = fetchgit { taler-wallet-core = fetchgit {
url = "https://git.taler.net/wallet-core.git"; url = "https://git.taler.net/wallet-core.git";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-DTnwj/pkowR1b1+N94pnuLykD2O37Nh8AKhUIzY7NaU="; sha256 = "sha256-uwbgIzSjLN+KQCY134VfnCuBEtvCO3a6mEw++HoZDHs=";
}; };
in rec { in rec {
taler-exchange = stdenv.mkDerivation rec { taler-exchange = stdenv.mkDerivation rec {
pname = "taler-exchange"; pname = "taler-exchange";
@ -20,8 +19,12 @@ in rec {
src = fetchgit { src = fetchgit {
url = "https://git.taler.net/exchange.git"; url = "https://git.taler.net/exchange.git";
rev = "v${version}"; rev = "v${version}";
# REMOVEME: this should only be a problem for specifically v0.9.3
# When fetching submodules without deep clone we get the following error:
# "Server does not allow request for unadvertised object"
deepClone = true;
fetchSubmodules = true; fetchSubmodules = true;
sha256 = "sha256-c0cX38hDIZGVhHrD9LgDU70dF2AYuZmsakC8yDyZE54="; sha256 = "sha256-txWwW5vqTblNgVIXdDkpNNZOXpY0udMaz4Wog1GobzE=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -30,7 +33,7 @@ in rec {
]; ];
buildInputs = [ buildInputs = [
libgcrypt libgcrypt
libmicrohttpd_0_9_72 libmicrohttpd_0_9_74
jansson jansson
libsodium libsodium
postgresql postgresql
@ -40,11 +43,13 @@ in rec {
texinfo # Fix 'makeinfo' is missing on your system. texinfo # Fix 'makeinfo' is missing on your system.
libunistring libunistring
python39.pkgs.jinja2 python39.pkgs.jinja2
# jq is necessary for some tests and is checked by configure script
jq
]; ];
propagatedBuildInputs = [ gnunet ]; propagatedBuildInputs = [ gnunet ];
preConfigure = '' preConfigure = ''
./contrib/gana-update.sh ./contrib/gana-generate.sh
''; '';
enableParallelBuilding = true; enableParallelBuilding = true;
@ -78,7 +83,8 @@ in rec {
src = fetchgit { src = fetchgit {
url = "https://git.taler.net/merchant.git"; url = "https://git.taler.net/merchant.git";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-NPK8yhuTtZZiWE7OsUMdlb2aycegPzRFud41xHE9IL8="; fetchSubmodules = true;
sha256 = "sha256-HewCqyO/7nnIQY9Tgva0k1nTk2LuwLyGK/UUxvx9BG0=";
}; };
postUnpack = '' postUnpack = ''
ln -s ${taler-wallet-core}/spa.html $sourceRoot/contrib/ ln -s ${taler-wallet-core}/spa.html $sourceRoot/contrib/
@ -93,6 +99,14 @@ in rec {
]; ];
propagatedBuildInputs = [ gnunet ]; propagatedBuildInputs = [ gnunet ];
# From ./bootstrap
preAutoreconf = ''
cd contrib
find wallet-core/backoffice/ -type f -printf ' %p \\\n' | sort > Makefile.am.ext
truncate -s -2 Makefile.am.ext
cat Makefile.am.in Makefile.am.ext >> Makefile.am
cd ..
'';
configureFlags = [ configureFlags = [
"--with-gnunet=${gnunet}" "--with-gnunet=${gnunet}"
"--with-exchange=${taler-exchange}" "--with-exchange=${taler-exchange}"

View File

@ -7,13 +7,13 @@
let let
pname = "trilium-desktop"; pname = "trilium-desktop";
version = "0.60.4"; version = "0.61.14";
linuxSource.url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-${version}.tar.xz"; linuxSource.url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-${version}.tar.xz";
linuxSource.sha256 = "02vbghvi2sbh943rslgm712x9zccvpjab3jvr5b1bw4bq5fzppgq"; linuxSource.sha256 = "1yxkgbnajlzhc62g4siq1hs7vd5hkvmdg4zsk1wqijhp0f4iix3s";
darwinSource.url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-mac-x64-${version}.zip"; darwinSource.url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-mac-x64-${version}.zip";
darwinSource.sha256 = "0z6dk16xdzkiyxrm1yh3iz5351c8sdzvk8v5l3jdqy7davxw9f86"; darwinSource.sha256 = "1pvyy1k50n90ww3spm7bkmx0lzdi22na66mcpcwyls15r9kqb1ib";
meta = metaCommon // { meta = metaCommon // {
mainProgram = "trilium"; mainProgram = "trilium";

View File

@ -1,11 +1,11 @@
{ stdenv, lib, autoPatchelfHook, fetchurl, nixosTests { stdenv, autoPatchelfHook, fetchurl, nixosTests
, metaCommon }: , metaCommon }:
let let
serverSource.url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-server-${version}.tar.xz"; serverSource.url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-server-${version}.tar.xz";
serverSource.sha256 = "16xyxpxqvzhdq63wc2nzmfabpasypxwm474jf15y3q8kdrca9myv"; serverSource.sha256 = "0l49jnsgbzppc2sfh4fykidl0skzlc2kbgsyz0dcnh9g2i562fq9";
version = "0.60.4"; version = "0.61.14";
in stdenv.mkDerivation rec { in stdenv.mkDerivation {
pname = "trilium-server"; pname = "trilium-server";
inherit version; inherit version;
meta = metaCommon // { meta = metaCommon // {

View File

@ -25,14 +25,14 @@ let
}; };
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "16.1.43"; version = "16.1.45";
pname = "jmol"; pname = "jmol";
src = let src = let
baseVersion = "${lib.versions.major version}.${lib.versions.minor version}"; baseVersion = "${lib.versions.major version}.${lib.versions.minor version}";
in fetchurl { in fetchurl {
url = "mirror://sourceforge/jmol/Jmol/Version%20${baseVersion}/Jmol%20${version}/Jmol-${version}-binary.tar.gz"; url = "mirror://sourceforge/jmol/Jmol/Version%20${baseVersion}/Jmol%20${version}/Jmol-${version}-binary.tar.gz";
hash = "sha256-lqHlnAeJKbj2Xs9AeAKqdWMWkmD8xWR7f3+nJsBx2YE="; hash = "sha256-rLq0QrY1M0OptmRZ/dKUVssREnH1im9Ti89AbpsiFtg=";
}; };
patchPhase = '' patchPhase = ''

View File

@ -1,11 +1,11 @@
{ stdenv, fetchurl, lib, expat, octave, libxml2, texinfo, zip }: { stdenv, fetchurl, lib, expat, octave, libxml2, texinfo, zip }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gama"; pname = "gama";
version = "2.26"; version = "2.27";
src = fetchurl { src = fetchurl {
url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz"; url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
sha256 = "sha256-8zKPPpbp66tD2zMmcv2H5xeCSdDhUk0uYPhqwpGqx9Y="; sha256 = "sha256-k4s7TK/ym68v40KDzZoMMxDWFMRnsMuk6V/G9P/jM0E=";
}; };
buildInputs = [ expat ]; buildInputs = [ expat ];

View File

@ -1,12 +1,11 @@
{ mkDerivation, lib, fetchurl, qmake }: { mkDerivation, lib, fetchzip, qmake }:
mkDerivation rec { mkDerivation rec {
pname = "xflr5"; pname = "xflr5";
version = "6.47"; version = "6.61";
src = fetchzip {
src = fetchurl { url = "https://sourceforge.net/code-snapshots/svn/x/xf/xflr5/code/xflr5-code-r1481-tags-v6.61-xflr5.zip";
url = "mirror://sourceforge/xflr5/${pname}_v${version}_src.tar.gz"; sha256 = "sha256-voWnXiBo7+kBPiZLVpSiXyBsYJv/Phd3noA81SQ5Vtw=";
sha256 = "02x3r9iv3ndwxa65mxn9m5dlhcrnjiq7cffi6rmb456gs3v3dnav";
}; };
nativeBuildInputs = [ qmake ]; nativeBuildInputs = [ qmake ];

View File

@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl, fetchpatch, fetchFromGitLab, bundlerEnv { stdenv, lib, fetchurl, fetchpatch, fetchFromGitLab, bundlerEnv
, ruby_3_2, tzdata, git, nettools, nixosTests, nodejs, openssl , ruby_3_1, tzdata, git, nettools, nixosTests, nodejs, openssl
, gitlabEnterprise ? false, callPackage, yarn , gitlabEnterprise ? false, callPackage, yarn
, fixup_yarn_lock, replace, file, cacert, fetchYarnDeps, makeWrapper, pkg-config , fixup_yarn_lock, replace, file, cacert, fetchYarnDeps, makeWrapper, pkg-config
}: }:
@ -17,7 +17,7 @@ let
rubyEnv = bundlerEnv rec { rubyEnv = bundlerEnv rec {
name = "gitlab-env-${version}"; name = "gitlab-env-${version}";
ruby = ruby_3_2; ruby = ruby_3_1;
gemdir = ./rubyEnv; gemdir = ./rubyEnv;
gemset = gemset =
let x = import (gemdir + "/gemset.nix") src; let x = import (gemdir + "/gemset.nix") src;

View File

@ -3,7 +3,7 @@ source 'https://rubygems.org'
ruby '>= 2.5.0', '< 3.2.0' ruby '>= 2.5.0', '< 3.2.0'
gem 'bundler', '>= 1.12.0' gem 'bundler', '>= 1.12.0'
gem 'rails', '6.1.7.2' gem 'rails', '6.1.7.6'
gem 'globalid', '~> 0.4.2' if Gem.ruby_version < Gem::Version.new('2.6.0') gem 'globalid', '~> 0.4.2' if Gem.ruby_version < Gem::Version.new('2.6.0')
gem 'rouge', '~> 3.28.0' gem 'rouge', '~> 3.28.0'
gem 'request_store', '~> 1.5.0' gem 'request_store', '~> 1.5.0'
@ -13,10 +13,16 @@ gem 'roadie-rails', (Gem.ruby_version < Gem::Version.new('2.6.0') ? '~> 2.2.0' :
gem 'marcel' gem 'marcel'
gem "mail", "~> 2.7.1" gem "mail", "~> 2.7.1"
gem 'csv', '~> 3.2.0' gem 'csv', '~> 3.2.0'
gem 'nokogiri', (Gem.ruby_version < Gem::Version.new('2.6.0') ? '~> 1.12.5' : '~> 1.13.10') gem 'nokogiri', (if Gem.ruby_version < Gem::Version.new('2.6.0')
gem "rexml" '~> 1.12.5'
elsif Gem.ruby_version < Gem::Version.new('2.7.0')
'~> 1.13.10'
else
'~> 1.15.2'
end)
gem "rexml", require: false if Gem.ruby_version >= Gem::Version.new('3.0')
gem 'i18n', '~> 1.10.0' gem 'i18n', '~> 1.10.0'
gem 'rbpdf', '~> 1.21.0' gem 'rbpdf', '~> 1.21.3'
gem 'addressable' gem 'addressable'
gem 'rubyzip', '~> 2.3.0' gem 'rubyzip', '~> 2.3.0'
gem 'net-smtp', '~> 0.3.0' gem 'net-smtp', '~> 0.3.0'
@ -70,9 +76,10 @@ end
group :test do group :test do
gem "rails-dom-testing" gem "rails-dom-testing"
gem 'mocha', (Gem.ruby_version < Gem::Version.new('2.7.0') ? ['>= 1.4.0', '< 2.0.0'] : '>= 1.4.0') gem 'mocha', '>= 2.0.1'
gem 'simplecov', '~> 0.21.2', :require => false gem 'simplecov', '~> 0.21.2', :require => false
gem "ffi", platforms: [:mri, :mingw, :x64_mingw, :mswin] gem "ffi", platforms: [:mri, :mingw, :x64_mingw, :mswin]
# For running system tests
gem 'puma', (Gem.ruby_version < Gem::Version.new('2.7') ? '< 6.0.0' : '>= 0') gem 'puma', (Gem.ruby_version < Gem::Version.new('2.7') ? '< 6.0.0' : '>= 0')
gem 'capybara', (if Gem.ruby_version < Gem::Version.new('2.6') gem 'capybara', (if Gem.ruby_version < Gem::Version.new('2.6')
'~> 3.35.3' '~> 3.35.3'

View File

@ -1,28 +1,28 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
actioncable (6.1.7.2) actioncable (6.1.7.6)
actionpack (= 6.1.7.2) actionpack (= 6.1.7.6)
activesupport (= 6.1.7.2) activesupport (= 6.1.7.6)
nio4r (~> 2.0) nio4r (~> 2.0)
websocket-driver (>= 0.6.1) websocket-driver (>= 0.6.1)
actionmailbox (6.1.7.2) actionmailbox (6.1.7.6)
actionpack (= 6.1.7.2) actionpack (= 6.1.7.6)
activejob (= 6.1.7.2) activejob (= 6.1.7.6)
activerecord (= 6.1.7.2) activerecord (= 6.1.7.6)
activestorage (= 6.1.7.2) activestorage (= 6.1.7.6)
activesupport (= 6.1.7.2) activesupport (= 6.1.7.6)
mail (>= 2.7.1) mail (>= 2.7.1)
actionmailer (6.1.7.2) actionmailer (6.1.7.6)
actionpack (= 6.1.7.2) actionpack (= 6.1.7.6)
actionview (= 6.1.7.2) actionview (= 6.1.7.6)
activejob (= 6.1.7.2) activejob (= 6.1.7.6)
activesupport (= 6.1.7.2) activesupport (= 6.1.7.6)
mail (~> 2.5, >= 2.5.4) mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
actionpack (6.1.7.2) actionpack (6.1.7.6)
actionview (= 6.1.7.2) actionview (= 6.1.7.6)
activesupport (= 6.1.7.2) activesupport (= 6.1.7.6)
rack (~> 2.0, >= 2.0.9) rack (~> 2.0, >= 2.0.9)
rack-test (>= 0.6.3) rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
@ -30,40 +30,40 @@ GEM
actionpack-xml_parser (2.0.1) actionpack-xml_parser (2.0.1)
actionpack (>= 5.0) actionpack (>= 5.0)
railties (>= 5.0) railties (>= 5.0)
actiontext (6.1.7.2) actiontext (6.1.7.6)
actionpack (= 6.1.7.2) actionpack (= 6.1.7.6)
activerecord (= 6.1.7.2) activerecord (= 6.1.7.6)
activestorage (= 6.1.7.2) activestorage (= 6.1.7.6)
activesupport (= 6.1.7.2) activesupport (= 6.1.7.6)
nokogiri (>= 1.8.5) nokogiri (>= 1.8.5)
actionview (6.1.7.2) actionview (6.1.7.6)
activesupport (= 6.1.7.2) activesupport (= 6.1.7.6)
builder (~> 3.1) builder (~> 3.1)
erubi (~> 1.4) erubi (~> 1.4)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0)
activejob (6.1.7.2) activejob (6.1.7.6)
activesupport (= 6.1.7.2) activesupport (= 6.1.7.6)
globalid (>= 0.3.6) globalid (>= 0.3.6)
activemodel (6.1.7.2) activemodel (6.1.7.6)
activesupport (= 6.1.7.2) activesupport (= 6.1.7.6)
activerecord (6.1.7.2) activerecord (6.1.7.6)
activemodel (= 6.1.7.2) activemodel (= 6.1.7.6)
activesupport (= 6.1.7.2) activesupport (= 6.1.7.6)
activestorage (6.1.7.2) activestorage (6.1.7.6)
actionpack (= 6.1.7.2) actionpack (= 6.1.7.6)
activejob (= 6.1.7.2) activejob (= 6.1.7.6)
activerecord (= 6.1.7.2) activerecord (= 6.1.7.6)
activesupport (= 6.1.7.2) activesupport (= 6.1.7.6)
marcel (~> 1.0) marcel (~> 1.0)
mini_mime (>= 1.1.0) mini_mime (>= 1.1.0)
activesupport (6.1.7.2) activesupport (6.1.7.6)
concurrent-ruby (~> 1.0, >= 1.0.2) concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2) i18n (>= 1.6, < 2)
minitest (>= 5.1) minitest (>= 5.1)
tzinfo (~> 2.0) tzinfo (~> 2.0)
zeitwerk (~> 2.3) zeitwerk (~> 2.3)
addressable (2.8.4) addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0) public_suffix (>= 2.0.2, < 6.0)
ast (2.4.2) ast (2.4.2)
builder (3.2.4) builder (3.2.4)
@ -78,20 +78,20 @@ GEM
xpath (~> 3.2) xpath (~> 3.2)
childprocess (3.0.0) childprocess (3.0.0)
chunky_png (1.4.0) chunky_png (1.4.0)
commonmarker (0.23.9) commonmarker (0.23.10)
concurrent-ruby (1.2.2) concurrent-ruby (1.2.2)
crass (1.0.6) crass (1.0.6)
css_parser (1.14.0) css_parser (1.16.0)
addressable addressable
csv (3.2.6) csv (3.2.8)
deckar01-task_list (2.3.2) deckar01-task_list (2.3.2)
html-pipeline html-pipeline
digest (3.1.1) digest (3.1.1)
docile (1.4.0) docile (1.4.0)
erubi (1.12.0) erubi (1.12.0)
ffi (1.15.5) ffi (1.16.3)
globalid (1.1.0) globalid (1.2.1)
activesupport (>= 5.0) activesupport (>= 6.1)
html-pipeline (2.13.2) html-pipeline (2.13.2)
activesupport (>= 2) activesupport (>= 2)
nokogiri (>= 1.4) nokogiri (>= 1.4)
@ -101,7 +101,7 @@ GEM
listen (3.8.0) listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3) rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10) rb-inotify (~> 0.9, >= 0.9.10)
loofah (2.21.3) loofah (2.22.0)
crass (~> 1.0.2) crass (~> 1.0.2)
nokogiri (>= 1.12.0) nokogiri (>= 1.12.0)
mail (2.7.1) mail (2.7.1)
@ -110,10 +110,10 @@ GEM
matrix (0.4.2) matrix (0.4.2)
method_source (1.0.0) method_source (1.0.0)
mini_magick (4.11.0) mini_magick (4.11.0)
mini_mime (1.1.2) mini_mime (1.1.5)
mini_portile2 (2.8.2) mini_portile2 (2.8.5)
minitest (5.18.1) minitest (5.20.0)
mocha (2.0.4) mocha (2.1.0)
ruby2_keywords (>= 0.0.5) ruby2_keywords (>= 0.0.5)
mysql2 (0.5.5) mysql2 (0.5.5)
net-imap (0.2.3) net-imap (0.2.3)
@ -123,75 +123,75 @@ GEM
net-ldap (0.17.1) net-ldap (0.17.1)
net-pop (0.1.2) net-pop (0.1.2)
net-protocol net-protocol
net-protocol (0.2.1) net-protocol (0.2.2)
timeout timeout
net-smtp (0.3.3) net-smtp (0.3.3)
net-protocol net-protocol
nio4r (2.5.9) nio4r (2.6.1)
nokogiri (1.13.10) nokogiri (1.15.5)
mini_portile2 (~> 2.8.0) mini_portile2 (~> 2.8.2)
racc (~> 1.4)
nokogiri (1.13.10-x86_64-linux)
racc (~> 1.4) racc (~> 1.4)
parallel (1.23.0) parallel (1.23.0)
parser (3.2.2.3) parser (3.2.2.4)
ast (~> 2.4.1) ast (~> 2.4.1)
racc racc
pg (1.4.6) pg (1.4.6)
public_suffix (5.0.1) public_suffix (5.0.4)
puma (6.3.0) puma (6.4.0)
nio4r (~> 2.0) nio4r (~> 2.0)
racc (1.7.1) racc (1.7.3)
rack (2.2.7) rack (2.2.8)
rack-test (2.1.0) rack-test (2.1.0)
rack (>= 1.3) rack (>= 1.3)
rails (6.1.7.2) rails (6.1.7.6)
actioncable (= 6.1.7.2) actioncable (= 6.1.7.6)
actionmailbox (= 6.1.7.2) actionmailbox (= 6.1.7.6)
actionmailer (= 6.1.7.2) actionmailer (= 6.1.7.6)
actionpack (= 6.1.7.2) actionpack (= 6.1.7.6)
actiontext (= 6.1.7.2) actiontext (= 6.1.7.6)
actionview (= 6.1.7.2) actionview (= 6.1.7.6)
activejob (= 6.1.7.2) activejob (= 6.1.7.6)
activemodel (= 6.1.7.2) activemodel (= 6.1.7.6)
activerecord (= 6.1.7.2) activerecord (= 6.1.7.6)
activestorage (= 6.1.7.2) activestorage (= 6.1.7.6)
activesupport (= 6.1.7.2) activesupport (= 6.1.7.6)
bundler (>= 1.15.0) bundler (>= 1.15.0)
railties (= 6.1.7.2) railties (= 6.1.7.6)
sprockets-rails (>= 2.0.0) sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3) rails-dom-testing (2.2.0)
activesupport (>= 4.2.0) activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6) nokogiri (>= 1.6)
rails-html-sanitizer (1.5.0) rails-html-sanitizer (1.6.0)
loofah (~> 2.19, >= 2.19.1) loofah (~> 2.21)
railties (6.1.7.2) nokogiri (~> 1.14)
actionpack (= 6.1.7.2) railties (6.1.7.6)
activesupport (= 6.1.7.2) actionpack (= 6.1.7.6)
activesupport (= 6.1.7.6)
method_source method_source
rake (>= 12.2) rake (>= 12.2)
thor (~> 1.0) thor (~> 1.0)
rainbow (3.1.1) rainbow (3.1.1)
rake (13.0.6) rake (13.1.0)
rb-fsevent (0.11.2) rb-fsevent (0.11.2)
rb-inotify (0.10.1) rb-inotify (0.10.1)
ffi (~> 1.0) ffi (~> 1.0)
rbpdf (1.21.1) rbpdf (1.21.3)
htmlentities htmlentities
rbpdf-font (~> 1.19.0) rbpdf-font (~> 1.19.0)
rbpdf-font (1.19.1) rbpdf-font (1.19.1)
redcarpet (3.5.1) redcarpet (3.5.1)
regexp_parser (2.8.1) regexp_parser (2.8.2)
request_store (1.5.1) request_store (1.5.1)
rack (>= 1.4) rack (>= 1.4)
rexml (3.2.5) rexml (3.2.6)
roadie (5.1.0) roadie (5.2.0)
css_parser (~> 1.4) css_parser (~> 1.4)
nokogiri (~> 1.8) nokogiri (~> 1.15)
roadie-rails (3.0.0) roadie-rails (3.0.0)
railties (>= 5.1, < 7.1) railties (>= 5.1, < 7.1)
roadie (~> 5.0) roadie (~> 5.0)
rotp (6.2.2) rotp (6.3.0)
rouge (3.28.0) rouge (3.28.0)
rqrcode (2.2.0) rqrcode (2.2.0)
chunky_png (~> 1.0) chunky_png (~> 1.0)
@ -206,7 +206,7 @@ GEM
rubocop-ast (>= 1.16.0, < 2.0) rubocop-ast (>= 1.16.0, < 2.0)
ruby-progressbar (~> 1.7) ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0) unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.29.0) rubocop-ast (1.30.0)
parser (>= 3.2.1.0) parser (>= 3.2.1.0)
rubocop-performance (1.13.3) rubocop-performance (1.13.3)
rubocop (>= 1.7.0, < 2.0) rubocop (>= 1.7.0, < 2.0)
@ -218,7 +218,7 @@ GEM
ruby-progressbar (1.13.0) ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5) ruby2_keywords (0.0.5)
rubyzip (2.3.2) rubyzip (2.3.2)
sanitize (6.0.1) sanitize (6.1.0)
crass (~> 1.0.2) crass (~> 1.0.2)
nokogiri (>= 1.12.0) nokogiri (>= 1.12.0)
selenium-webdriver (3.142.7) selenium-webdriver (3.142.7)
@ -230,31 +230,31 @@ GEM
simplecov_json_formatter (~> 0.1) simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3) simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4) simplecov_json_formatter (0.1.4)
sprockets (4.2.0) sprockets (4.2.1)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4) rack (>= 2.2.4, < 4)
sprockets-rails (3.4.2) sprockets-rails (3.4.2)
actionpack (>= 5.2) actionpack (>= 5.2)
activesupport (>= 5.2) activesupport (>= 5.2)
sprockets (>= 3.0.0) sprockets (>= 3.0.0)
strscan (3.0.6) strscan (3.0.7)
thor (1.2.2) thor (1.3.0)
timeout (0.4.0) timeout (0.4.1)
tzinfo (2.0.6) tzinfo (2.0.6)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
unicode-display_width (2.4.2) unicode-display_width (2.5.0)
webdrivers (4.6.1) webdrivers (4.6.1)
nokogiri (~> 1.6) nokogiri (~> 1.6)
rubyzip (>= 1.3.0) rubyzip (>= 1.3.0)
selenium-webdriver (>= 3.0, < 4.0) selenium-webdriver (>= 3.0, < 4.0)
webrick (1.8.1) webrick (1.8.1)
websocket-driver (0.7.5) websocket-driver (0.7.6)
websocket-extensions (>= 0.1.0) websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5) websocket-extensions (0.1.5)
xpath (3.2.0) xpath (3.2.0)
nokogiri (~> 1.8) nokogiri (~> 1.8)
yard (0.9.34) yard (0.9.34)
zeitwerk (2.6.8) zeitwerk (2.6.12)
PLATFORMS PLATFORMS
ruby ruby
@ -275,18 +275,18 @@ DEPENDENCIES
marcel marcel
mini_magick (~> 4.11.0) mini_magick (~> 4.11.0)
mini_mime (~> 1.1.0) mini_mime (~> 1.1.0)
mocha (>= 1.4.0) mocha (>= 2.0.1)
mysql2 (~> 0.5.0) mysql2 (~> 0.5.0)
net-imap (~> 0.2.2) net-imap (~> 0.2.2)
net-ldap (~> 0.17.0) net-ldap (~> 0.17.0)
net-pop (~> 0.1.1) net-pop (~> 0.1.1)
net-smtp (~> 0.3.0) net-smtp (~> 0.3.0)
nokogiri (~> 1.13.10) nokogiri (~> 1.15.2)
pg (~> 1.4.2) pg (~> 1.4.2)
puma puma
rails (= 6.1.7.2) rails (= 6.1.7.6)
rails-dom-testing rails-dom-testing
rbpdf (~> 1.21.0) rbpdf (~> 1.21.3)
redcarpet (~> 3.5.1) redcarpet (~> 3.5.1)
request_store (~> 1.5.0) request_store (~> 1.5.0)
rexml rexml
@ -307,7 +307,7 @@ DEPENDENCIES
yard yard
RUBY VERSION RUBY VERSION
ruby 2.7.7p221 ruby 3.1.4p223
BUNDLED WITH BUNDLED WITH
2.3.26 2.4.12

View File

@ -1,7 +1,7 @@
{ lib, stdenv, fetchurl, bundlerEnv, ruby, defaultGemConfig, makeWrapper, nixosTests }: { lib, stdenv, fetchurl, bundlerEnv, ruby, defaultGemConfig, makeWrapper, nixosTests }:
let let
version = "5.0.5"; version = "5.0.6";
rubyEnv = bundlerEnv { rubyEnv = bundlerEnv {
name = "redmine-env-${version}"; name = "redmine-env-${version}";
@ -16,7 +16,7 @@ in
src = fetchurl { src = fetchurl {
url = "https://www.redmine.org/releases/${pname}-${version}.tar.gz"; url = "https://www.redmine.org/releases/${pname}-${version}.tar.gz";
sha256 = "sha256-qJrRxLub8CXmUnx3qxjI+vd0nJSpdcryz9u6AOsSpIE="; hash = "sha256-SI/gjzeo6xARQVkiqOp0O3842Kel+IIpUKNKN13PCO4=";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];

View File

@ -5,10 +5,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1y9lj7ra9xf4q4mryydmd498grsndqmz1zwasb4ai9gv62igvw3s"; sha256 = "1fdbks9byqqlkd6glj6lkz5f1z6948hh8fhv9x5pzqciralmz142";
type = "gem"; type = "gem";
}; };
version = "6.1.7.2"; version = "6.1.7.6";
}; };
actionmailbox = { actionmailbox = {
dependencies = ["actionpack" "activejob" "activerecord" "activestorage" "activesupport" "mail"]; dependencies = ["actionpack" "activejob" "activerecord" "activestorage" "activesupport" "mail"];
@ -16,10 +16,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0bzacsr93sxv90nljv3ajw54nmyz1v9k2v2wx1pxsi0jasqg5fvn"; sha256 = "1rfya6qgsl14cm9l2w7h7lg4znsyg3gqiskhqr8wn76sh0x2hln0";
type = "gem"; type = "gem";
}; };
version = "6.1.7.2"; version = "6.1.7.6";
}; };
actionmailer = { actionmailer = {
dependencies = ["actionpack" "actionview" "activejob" "activesupport" "mail" "rails-dom-testing"]; dependencies = ["actionpack" "actionview" "activejob" "activesupport" "mail" "rails-dom-testing"];
@ -27,10 +27,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1rjddp1a5l4amsbibhnf7g2rb69qvq0nc0a2dvr6r57bpkf82hj4"; sha256 = "0jr9jpf542svzqz8x68s08jnf30shxrrh7rq1a0s7jia5a5zx3qd";
type = "gem"; type = "gem";
}; };
version = "6.1.7.2"; version = "6.1.7.6";
}; };
actionpack = { actionpack = {
dependencies = ["actionview" "activesupport" "rack" "rack-test" "rails-dom-testing" "rails-html-sanitizer"]; dependencies = ["actionview" "activesupport" "rack" "rack-test" "rails-dom-testing" "rails-html-sanitizer"];
@ -38,10 +38,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0c2y6sqpan68lrx78pvhbxb2917m75s808r6cg1kyygwvg31niza"; sha256 = "0vf6ncs647psa9p23d2108zgmlf0pr7gcjr080yg5yf68gyhs53k";
type = "gem"; type = "gem";
}; };
version = "6.1.7.2"; version = "6.1.7.6";
}; };
actionpack-xml_parser = { actionpack-xml_parser = {
dependencies = ["actionpack" "railties"]; dependencies = ["actionpack" "railties"];
@ -60,10 +60,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1jx8wi961i34v7x0j3h4wjw3qbyx9bkzb598vg42kidzk2f90dyj"; sha256 = "1i8s3v6m8q3y17c40l6d3k2vs1mdqr0y1lfm7i6dfbj2y673lk9r";
type = "gem"; type = "gem";
}; };
version = "6.1.7.2"; version = "6.1.7.6";
}; };
actionview = { actionview = {
dependencies = ["activesupport" "builder" "erubi" "rails-dom-testing" "rails-html-sanitizer"]; dependencies = ["activesupport" "builder" "erubi" "rails-dom-testing" "rails-html-sanitizer"];
@ -71,10 +71,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "10g5gk8h4mfhvgqylzbf591fqf5p78ca35cb97p9bclpv9jfy0za"; sha256 = "1s4c1n5lv31sc7w4w74xz8gzyq3sann00bm4l7lxgy3vgi2wqkid";
type = "gem"; type = "gem";
}; };
version = "6.1.7.2"; version = "6.1.7.6";
}; };
activejob = { activejob = {
dependencies = ["activesupport" "globalid"]; dependencies = ["activesupport" "globalid"];
@ -82,10 +82,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0ililjwy4x52a6x5fidh1iyllf6vx49nz93fd2hxypc5bpryx9mz"; sha256 = "1641003plszig5ybhrqy90fv43l1vcai5h35qmhh9j12byk5hp26";
type = "gem"; type = "gem";
}; };
version = "6.1.7.2"; version = "6.1.7.6";
}; };
activemodel = { activemodel = {
dependencies = ["activesupport"]; dependencies = ["activesupport"];
@ -93,10 +93,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0nn17y72fhsynwn11bqg75bazqp6r1g8mpwwyv64harwvh3fh5qj"; sha256 = "148szdj5jlnfpv3nmy8cby8rxgpdvs43f3rzqby1f7a0l2knd3va";
type = "gem"; type = "gem";
}; };
version = "6.1.7.2"; version = "6.1.7.6";
}; };
activerecord = { activerecord = {
dependencies = ["activemodel" "activesupport"]; dependencies = ["activemodel" "activesupport"];
@ -104,10 +104,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1k69m3b0lb4jx20jx8vsvdqm1ki1r6riq9haabyddkcpvmgz1wh7"; sha256 = "0n7hg582ajdncilfk1kkw8qfdchymp2gqgkad1znlhlmclihsafr";
type = "gem"; type = "gem";
}; };
version = "6.1.7.2"; version = "6.1.7.6";
}; };
activestorage = { activestorage = {
dependencies = ["actionpack" "activejob" "activerecord" "activesupport" "marcel" "mini_mime"]; dependencies = ["actionpack" "activejob" "activerecord" "activesupport" "marcel" "mini_mime"];
@ -115,10 +115,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0c3cvc01azfkccg5hsl96wafsxb5hf1nva3cn8rif2mlwx17p8n3"; sha256 = "16pylwnqsbvq2wxhl7k1rnravbr3dgpjmnj0psz5gijgkydd52yc";
type = "gem"; type = "gem";
}; };
version = "6.1.7.2"; version = "6.1.7.6";
}; };
activesupport = { activesupport = {
dependencies = ["concurrent-ruby" "i18n" "minitest" "tzinfo" "zeitwerk"]; dependencies = ["concurrent-ruby" "i18n" "minitest" "tzinfo" "zeitwerk"];
@ -126,10 +126,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "14pjq2k761qaywaznpqq8ziivjk2ks1ma2cjwdflkxqgndxjmsr2"; sha256 = "1nhrdih0rk46i0s6x7nqhbypmj1hf23zl5gfl9xasb6k4r2a1dxk";
type = "gem"; type = "gem";
}; };
version = "6.1.7.2"; version = "6.1.7.6";
}; };
addressable = { addressable = {
dependencies = ["public_suffix"]; dependencies = ["public_suffix"];
@ -137,10 +137,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "15s8van7r2ad3dq6i03l3z4hqnvxcq75a3h72kxvf9an53sqma20"; sha256 = "05r1fwy487klqkya7vzia8hnklcxy4vr92m9dmni3prfwk6zpw33";
type = "gem"; type = "gem";
}; };
version = "2.8.4"; version = "2.8.5";
}; };
ast = { ast = {
groups = ["default" "test"]; groups = ["default" "test"];
@ -198,10 +198,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "074162raa8pc92q6833hgqdlfr3z5jgid9avdz5k25cnls2rqwrf"; sha256 = "1lb5slzbqrca49h0gaifg82xky5r7i9xgm4560pin1xl5fp15lzx";
type = "gem"; type = "gem";
}; };
version = "0.23.9"; version = "0.23.10";
}; };
concurrent-ruby = { concurrent-ruby = {
groups = ["common_mark" "default" "test"]; groups = ["common_mark" "default" "test"];
@ -229,20 +229,20 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "04q1vin8slr3k8mp76qz0wqgap6f9kdsbryvgfq9fljhrm463kpj"; sha256 = "18mii41bbl106rn940ah8v3xclj4yrxxa0bwlwp546244n9b83zp";
type = "gem"; type = "gem";
}; };
version = "1.14.0"; version = "1.16.0";
}; };
csv = { csv = {
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0l5f5cq8ki3h4djh7pb8yqdkywqd08vjy3vd64yqh7qd6pdwky6w"; sha256 = "1zmrgngggg4yvdbggdx9p3z4wcav4vxfigramxxvjh3hi7l12pig";
type = "gem"; type = "gem";
}; };
version = "3.2.6"; version = "3.2.8";
}; };
deckar01-task_list = { deckar01-task_list = {
dependencies = ["html-pipeline"]; dependencies = ["html-pipeline"];
@ -300,10 +300,10 @@
}]; }];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1862ydmclzy1a0cjbvm8dz7847d9rch495ib0zb64y84d3xd4bkg"; sha256 = "1yvii03hcgqj30maavddqamqy50h7y6xcn2wcyq72wn823zl4ckd";
type = "gem"; type = "gem";
}; };
version = "1.15.5"; version = "1.16.3";
}; };
globalid = { globalid = {
dependencies = ["activesupport"]; dependencies = ["activesupport"];
@ -311,10 +311,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0kqm5ndzaybpnpxqiqkc41k4ksyxl41ln8qqr6kb130cdxsf2dxk"; sha256 = "1sbw6b66r7cwdx3jhs46s4lr991969hvigkjpbdl7y3i31qpdgvh";
type = "gem"; type = "gem";
}; };
version = "1.1.0"; version = "1.2.1";
}; };
html-pipeline = { html-pipeline = {
dependencies = ["activesupport" "nokogiri"]; dependencies = ["activesupport" "nokogiri"];
@ -365,10 +365,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1p744kjpb5zk2ihklbykzii77alycjc04vpnm2ch2f3cp65imlj3"; sha256 = "1zkjqf37v2d7s11176cb35cl83wls5gm3adnfkn2zcc61h3nxmqh";
type = "gem"; type = "gem";
}; };
version = "2.21.3"; version = "2.22.0";
}; };
mail = { mail = {
dependencies = ["mini_mime"]; dependencies = ["mini_mime"];
@ -426,30 +426,30 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0lbim375gw2dk6383qirz13hgdmxlan0vc5da2l072j3qw6fqjm5"; sha256 = "1vycif7pjzkr29mfk4dlqv3disc5dn0va04lkwajlpr1wkibg0c6";
type = "gem"; type = "gem";
}; };
version = "1.1.2"; version = "1.1.5";
}; };
mini_portile2 = { mini_portile2 = {
groups = ["common_mark" "default" "test"]; groups = ["common_mark" "default" "test"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0z7f38iq37h376n9xbl4gajdrnwzq284c9v1py4imw3gri2d5cj6"; sha256 = "1kl9c3kdchjabrihdqfmcplk3lq4cw1rr9f378y6q22qwy5dndvs";
type = "gem"; type = "gem";
}; };
version = "2.8.2"; version = "2.8.5";
}; };
minitest = { minitest = {
groups = ["common_mark" "default" "test"]; groups = ["common_mark" "default" "test"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1kg9wh7jlc9zsr3hkhpzkbn0ynf4np5ap9m2d8xdrb8shy0y6pmb"; sha256 = "0bkmfi9mb49m0fkdhl2g38i3xxa02d411gg0m8x0gvbwfmmg5ym3";
type = "gem"; type = "gem";
}; };
version = "5.18.1"; version = "5.20.0";
}; };
mocha = { mocha = {
dependencies = ["ruby2_keywords"]; dependencies = ["ruby2_keywords"];
@ -457,10 +457,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "18xn9gm9yypavy9yck71fplan19hy5697mwd1rwzz7vizh3ip7bd"; sha256 = "0lsll8iba8612dypk718l9kx73m9syiscb2rhciljys1krc5g1zr";
type = "gem"; type = "gem";
}; };
version = "2.0.4"; version = "2.1.0";
}; };
mysql2 = { mysql2 = {
groups = ["default"]; groups = ["default"];
@ -518,10 +518,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0dxckrlw4q1lcn3qg4mimmjazmg9bma5gllv72f8js3p36fb3b91"; sha256 = "1a32l4x73hz200cm587bc29q8q9az278syw3x6fkc9d1lv5y0wxa";
type = "gem"; type = "gem";
}; };
version = "0.2.1"; version = "0.2.2";
}; };
net-smtp = { net-smtp = {
dependencies = ["net-protocol"]; dependencies = ["net-protocol"];
@ -539,10 +539,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0w9978zwjf1qhy3amkivab0f9syz6a7k0xgydjidaf7xc831d78f"; sha256 = "1y99dfzlb3kgzh7pfk8km0p5zjiblxyh5rm8yal9h523vi5awji8";
type = "gem"; type = "gem";
}; };
version = "2.5.9"; version = "2.6.1";
}; };
nokogiri = { nokogiri = {
dependencies = ["mini_portile2" "racc"]; dependencies = ["mini_portile2" "racc"];
@ -550,10 +550,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0n79k78c5vdcyl0m3y3l5x9kxl6xf5lgriwi2vd665qmdkr01vnk"; sha256 = "004ip9x9281fxhpipwi8di1sb1dnabscq9dy1p3cxgdwbniqqi12";
type = "gem"; type = "gem";
}; };
version = "1.13.10"; version = "1.15.5";
}; };
parallel = { parallel = {
groups = ["default" "test"]; groups = ["default" "test"];
@ -571,10 +571,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1swigds85jddb5gshll1g8lkmbcgbcp9bi1d4nigwvxki8smys0h"; sha256 = "0r69dbh6h6j4d54isany2ir4ni4gf2ysvk3k44awi6amz18nggpd";
type = "gem"; type = "gem";
}; };
version = "3.2.2.3"; version = "3.2.2.4";
}; };
pg = { pg = {
groups = ["default"]; groups = ["default"];
@ -599,10 +599,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0hz0bx2qs2pwb0bwazzsah03ilpf3aai8b7lk7s35jsfzwbkjq35"; sha256 = "1bni4qjrsh2q49pnmmd6if4iv3ak36bd2cckrs6npl111n769k9m";
type = "gem"; type = "gem";
}; };
version = "5.0.1"; version = "5.0.4";
}; };
puma = { puma = {
dependencies = ["nio4r"]; dependencies = ["nio4r"];
@ -610,30 +610,30 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1v7fmv0n4bhdcwh60dgza44iqai5pg34f5pzm4vh4i5fwx7mpqxh"; sha256 = "1y8jcw80zcxvdq0id329lzmp5pzx7hpac227d7sgjkblc89s3pfm";
type = "gem"; type = "gem";
}; };
version = "6.3.0"; version = "6.4.0";
}; };
racc = { racc = {
groups = ["common_mark" "default" "test"]; groups = ["common_mark" "default" "test"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "11v3l46mwnlzlc371wr3x6yylpgafgwdf0q7hc7c1lzx6r414r5g"; sha256 = "01b9662zd2x9bp4rdjfid07h09zxj7kvn7f5fghbqhzc625ap1dp";
type = "gem"; type = "gem";
}; };
version = "1.7.1"; version = "1.7.3";
}; };
rack = { rack = {
groups = ["default" "test"]; groups = ["default" "test"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "16w217k9z02c4hqizym8dkj6bqmmzx4qdvqpnskgzf174a5pwdxk"; sha256 = "15rdwbyk71c9nxvd527bvb8jxkcys8r3dj3vqra5b3sa63qs30vv";
type = "gem"; type = "gem";
}; };
version = "2.2.7"; version = "2.2.8";
}; };
rack-test = { rack-test = {
dependencies = ["rack"]; dependencies = ["rack"];
@ -652,32 +652,32 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1b7ggchi3d7pwzmj8jn9fhbazr5fr4dy304f0hz7kqbg23s9c1ym"; sha256 = "0gf5dqabzd0mf0q39a07kf0smdm2cv2z5swl3zr4cz50yb85zz3l";
type = "gem"; type = "gem";
}; };
version = "6.1.7.2"; version = "6.1.7.6";
}; };
rails-dom-testing = { rails-dom-testing = {
dependencies = ["activesupport" "nokogiri"]; dependencies = ["activesupport" "minitest" "nokogiri"];
groups = ["test"]; groups = ["test"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1lfq2a7kp2x64dzzi5p4cjcbiv62vxh9lyqk2f0rqq3fkzrw8h5i"; sha256 = "0fx9dx1ag0s1lr6lfr34lbx5i1bvn3bhyf3w3mx6h7yz90p725g5";
type = "gem"; type = "gem";
}; };
version = "2.0.3"; version = "2.2.0";
}; };
rails-html-sanitizer = { rails-html-sanitizer = {
dependencies = ["loofah"]; dependencies = ["loofah" "nokogiri"];
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0ygav4xyq943qqyhjmi3mzirn180j565mc9h5j4css59x1sn0cmz"; sha256 = "1pm4z853nyz1bhhqr7fzl44alnx4bjachcr6rh6qjj375sfz3sc6";
type = "gem"; type = "gem";
}; };
version = "1.5.0"; version = "1.6.0";
}; };
railties = { railties = {
dependencies = ["actionpack" "activesupport" "method_source" "rake" "thor"]; dependencies = ["actionpack" "activesupport" "method_source" "rake" "thor"];
@ -685,10 +685,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0mm3nf3y715ln6v8k6g4351ggkr1bcwc5637vr979yw8vsmdi42k"; sha256 = "1vq4ahyg9hraixxmmwwypdnpcylpvznvdxhj4xa23xk45wzbl3h7";
type = "gem"; type = "gem";
}; };
version = "6.1.7.2"; version = "6.1.7.6";
}; };
rainbow = { rainbow = {
groups = ["default" "test"]; groups = ["default" "test"];
@ -705,10 +705,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "15whn7p9nrkxangbs9hh75q585yfn66lv0v2mhj6q6dl6x8bzr2w"; sha256 = "1ilr853hawi09626axx0mps4rkkmxcs54mapz9jnqvpnlwd3wsmy";
type = "gem"; type = "gem";
}; };
version = "13.0.6"; version = "13.1.0";
}; };
rb-fsevent = { rb-fsevent = {
groups = ["default" "development"]; groups = ["default" "development"];
@ -737,10 +737,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1mwpwaj6h2wwg51sd0ai4j1gn8vsl5mkvbx9bivb9sp3iqh9vi6y"; sha256 = "0rb6zqx79fzi0gqdq8xbhp87yp1ldfmzh0kng6fph84qhmzs990n";
type = "gem"; type = "gem";
}; };
version = "1.21.1"; version = "1.21.3";
}; };
rbpdf-font = { rbpdf-font = {
groups = ["default"]; groups = ["default"];
@ -767,10 +767,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "136br91alxdwh1s85z912dwz23qlhm212vy6i3wkinz3z8mkxxl3"; sha256 = "1d9a5s3qrjdy50ll2s32gg3qmf10ryp3v2nr5k718kvfadp50ray";
type = "gem"; type = "gem";
}; };
version = "2.8.1"; version = "2.8.2";
}; };
request_store = { request_store = {
dependencies = ["rack"]; dependencies = ["rack"];
@ -788,10 +788,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "08ximcyfjy94pm1rhcx04ny1vx2sk0x4y185gzn86yfsbzwkng53"; sha256 = "05i8518ay14kjbma550mv0jm8a6di8yp5phzrd8rj44z9qnrlrp0";
type = "gem"; type = "gem";
}; };
version = "3.2.5"; version = "3.2.6";
}; };
roadie = { roadie = {
dependencies = ["css_parser" "nokogiri"]; dependencies = ["css_parser" "nokogiri"];
@ -799,10 +799,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0728slgr2rxx6v1mrh1416k1waj29szfa1jqpbiw3xrvgfpzvcm7"; sha256 = "1qs594ybaz0lh2sakh95syzvhva4jms8xyiwhgjfncf3ri0qxp7l";
type = "gem"; type = "gem";
}; };
version = "5.1.0"; version = "5.2.0";
}; };
roadie-rails = { roadie-rails = {
dependencies = ["railties" "roadie"]; dependencies = ["railties" "roadie"];
@ -820,10 +820,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "10mmzc85y7andsich586ndykw678qn1ns2wpjxrg0sc0gr4w3pig"; sha256 = "0m48hv6wpmmm6cjr6q92q78h1i610riml19k5h1dil2yws3h1m3m";
type = "gem"; type = "gem";
}; };
version = "6.2.2"; version = "6.3.0";
}; };
rouge = { rouge = {
groups = ["default"]; groups = ["default"];
@ -873,10 +873,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "188bs225kkhrb17dsf3likdahs2p1i1sqn0pr3pvlx50g6r2mnni"; sha256 = "1cs9cc5p9q70valk4na3lki4xs88b52486p2v46yx3q1n5969bgs";
type = "gem"; type = "gem";
}; };
version = "1.29.0"; version = "1.30.0";
}; };
rubocop-performance = { rubocop-performance = {
dependencies = ["rubocop" "rubocop-ast"]; dependencies = ["rubocop" "rubocop-ast"];
@ -936,10 +936,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1ga8yzc9zj45m92ycwnzhzahkwvc3dp3lym5m3f3880hs4jhh7l3"; sha256 = "0wsw05y0h1ln3x2kvcw26fs9ivryb4xbjrb4hsk2pishkhydkz4j";
type = "gem"; type = "gem";
}; };
version = "6.0.1"; version = "6.1.0";
}; };
selenium-webdriver = { selenium-webdriver = {
dependencies = ["childprocess" "rubyzip"]; dependencies = ["childprocess" "rubyzip"];
@ -989,10 +989,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0k0236g4h3ax7v6vp9k0l2fa0w6f1wqp7dn060zm4isw4n3k89sw"; sha256 = "15rzfzd9dca4v0mr0bbhsbwhygl0k9l24iqqlx0fijig5zfi66wm";
type = "gem"; type = "gem";
}; };
version = "4.2.0"; version = "4.2.1";
}; };
sprockets-rails = { sprockets-rails = {
dependencies = ["actionpack" "activesupport" "sprockets"]; dependencies = ["actionpack" "activesupport" "sprockets"];
@ -1010,30 +1010,30 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1d74lidgbvs0s7lrxvrjs5ljk6jfc970s3pr0djgmz0y6nzhx3nn"; sha256 = "0w2lc1mqia13x43ajzhih419r40ppddg936ydhawz57f63ab6fll";
type = "gem"; type = "gem";
}; };
version = "3.0.6"; version = "3.0.7";
}; };
thor = { thor = {
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0k7j2wn14h1pl4smibasw0bp66kg626drxb59z7rzflch99cd4rg"; sha256 = "1hx77jxkrwi66yvs10wfxqa8s25ds25ywgrrf66acm9nbfg7zp0s";
type = "gem"; type = "gem";
}; };
version = "1.2.2"; version = "1.3.0";
}; };
timeout = { timeout = {
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1d9cvm0f4zdpwa795v3zv4973y5zk59j7s1x3yn90jjrhcz1yvfd"; sha256 = "16mvvsmx90023wrhf8dxc1lpqh0m8alk65shb7xcya6a9gflw7vg";
type = "gem"; type = "gem";
}; };
version = "0.4.0"; version = "0.4.1";
}; };
tzinfo = { tzinfo = {
dependencies = ["concurrent-ruby"]; dependencies = ["concurrent-ruby"];
@ -1051,10 +1051,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1gi82k102q7bkmfi7ggn9ciypn897ylln1jk9q67kjhr39fj043a"; sha256 = "1d0azx233nags5jx3fqyr23qa2rhgzbhv8pxp46dgbg1mpf82xky";
type = "gem"; type = "gem";
}; };
version = "2.4.2"; version = "2.5.0";
}; };
webdrivers = { webdrivers = {
dependencies = ["nokogiri" "rubyzip" "selenium-webdriver"]; dependencies = ["nokogiri" "rubyzip" "selenium-webdriver"];
@ -1083,10 +1083,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0a3bwxd9v3ghrxzjc4vxmf4xa18c6m4xqy5wb0yk5c6b9psc7052"; sha256 = "1nyh873w4lvahcl8kzbjfca26656d5c6z3md4sbqg5y1gfz0157n";
type = "gem"; type = "gem";
}; };
version = "0.7.5"; version = "0.7.6";
}; };
websocket-extensions = { websocket-extensions = {
groups = ["default"]; groups = ["default"];
@ -1124,9 +1124,9 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0ck6bj7wa73dkdh13735jl06k6cfny98glxjkas82aivlmyzqqbk"; sha256 = "1gir0if4nryl1jhwi28669gjwhxb7gzrm1fcc8xzsch3bnbi47jn";
type = "gem"; type = "gem";
}; };
version = "2.6.8"; version = "2.6.12";
}; };
} }

View File

@ -2,11 +2,11 @@
buildKodiAddon rec { buildKodiAddon rec {
pname = "arrow"; pname = "arrow";
namespace = "script.module.arrow"; namespace = "script.module.arrow";
version = "1.0.3.1"; version = "1.2.3";
src = fetchzip { src = fetchzip {
url = "https://mirrors.kodi.tv/addons/nexus/script.module.arrow/script.module.arrow-${version}.zip"; url = "https://mirrors.kodi.tv/addons/nexus/script.module.arrow/script.module.arrow-${version}.zip";
sha256 = "sha256-dFCAHlWgslxsAVQAPP3aDM6Fw+I9PP0ITUVTKJY2QXU="; sha256 = "sha256-Et+9FJT1dRE1dFOrAQ70HJJcfylyLsiyay9wPJcSOXs=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -1,10 +1,24 @@
{ lib { lib
, stdenvNoCC }: , stdenvNoCC }:
let fileName = pathStr: lib.last (lib.splitString "/" pathStr); let
escapedList = with lib; concatMapStringsSep " " (s: "'${escape [ "'" ] s}'");
fileName = pathStr: lib.last (lib.splitString "/" pathStr);
scriptsDir = "$out/share/mpv/scripts";
in in
lib.makeOverridable ( lib.makeOverridable (
{ pname, scriptPath ? "${pname}.lua", ... }@args: { pname
, extraScripts ? []
, ... }@args:
let
# either passthru.scriptName, inferred from scriptPath, or from pname
scriptName = (args.passthru or {}).scriptName or (
if args ? scriptPath
then fileName args.scriptPath
else "${pname}.lua"
);
scriptPath = args.scriptPath or "./${scriptName}";
in
stdenvNoCC.mkDerivation (lib.attrsets.recursiveUpdate { stdenvNoCC.mkDerivation (lib.attrsets.recursiveUpdate {
dontBuild = true; dontBuild = true;
preferLocalBuild = true; preferLocalBuild = true;
@ -12,11 +26,12 @@ lib.makeOverridable (
outputHashMode = "recursive"; outputHashMode = "recursive";
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
install -m644 -Dt $out/share/mpv/scripts ${scriptPath} install -m644 -Dt "${scriptsDir}" \
${escapedList ([ scriptPath ] ++ extraScripts)}
runHook postInstall runHook postInstall
''; '';
passthru.scriptName = fileName scriptPath; passthru = { inherit scriptName; };
meta.platforms = lib.platforms.all; meta.platforms = lib.platforms.all;
} args) } args)
) )

View File

@ -15,8 +15,8 @@ buildLua rec {
hash = "sha256-yrcTxqpLnOI1Tq3khhflO3wzhyeTPuvKifyH5/P57Ns="; hash = "sha256-yrcTxqpLnOI1Tq3khhflO3wzhyeTPuvKifyH5/P57Ns=";
}; };
passthru.scriptName = "quality-menu.lua"; scriptPath = "quality-menu.lua";
scriptPath = if oscSupport then "*.lua" else passthru.scriptName; extraScripts = lib.optional oscSupport "quality-menu-osc.lua";
meta = with lib; { meta = with lib; {
description = "A userscript for MPV that allows you to change youtube video quality (ytdl-format) on the fly"; description = "A userscript for MPV that allows you to change youtube video quality (ytdl-format) on the fly";

View File

@ -15,7 +15,9 @@ buildLua rec {
postPatch = "patchShebangs concat_files.py"; postPatch = "patchShebangs concat_files.py";
dontBuild = false; dontBuild = false;
scriptPath = "mpv_thumbnail_script_{client_osc,server}.lua"; scriptPath = "mpv_thumbnail_script_client_osc.lua";
extraScripts = [ "mpv_thumbnail_script_server.lua" ];
passthru.scriptName = "mpv_thumbnail_script_{client_osc,server}.lua";
meta = with lib; { meta = with lib; {
description = "A lua script to show preview thumbnails in mpv's OSC seekbar"; description = "A lua script to show preview thumbnails in mpv's OSC seekbar";

View File

@ -5,9 +5,9 @@ version = 3
[[package]] [[package]]
name = "acpi_tables" name = "acpi_tables"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/rust-vmm/acpi_tables?branch=main#1029d22777f07b04849234bbe756da34a6df2913" source = "git+https://github.com/rust-vmm/acpi_tables?branch=main#1a733bf690ccc10bdfeacad33e3c9f6cce0008fd"
dependencies = [ dependencies = [
"zerocopy 0.6.1", "zerocopy",
] ]
[[package]] [[package]]
@ -34,6 +34,55 @@ dependencies = [
"memchr", "memchr",
] ]
[[package]]
name = "anstream"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163"
dependencies = [
"anstyle",
"anstyle-parse",
"anstyle-query",
"anstyle-wincon",
"colorchoice",
"is-terminal",
"utf8parse",
]
[[package]]
name = "anstyle"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3a30da5c5f2d5e72842e00bcb57657162cdabef0931f40e2deb9b4140440cecd"
[[package]]
name = "anstyle-parse"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333"
dependencies = [
"utf8parse",
]
[[package]]
name = "anstyle-query"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b"
dependencies = [
"windows-sys 0.48.0",
]
[[package]]
name = "anstyle-wincon"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c677ab05e09154296dd37acecd46420c17b9713e8366facafa8fc0885167cf4c"
dependencies = [
"anstyle",
"windows-sys 0.48.0",
]
[[package]] [[package]]
name = "anyhow" name = "anyhow"
version = "1.0.75" version = "1.0.75"
@ -75,41 +124,13 @@ dependencies = [
"vmm-sys-util", "vmm-sys-util",
] ]
[[package]]
name = "argh"
version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab257697eb9496bf75526f0217b5ed64636a9cfafa78b8365c71bd283fcef93e"
dependencies = [
"argh_derive",
"argh_shared",
]
[[package]]
name = "argh_derive"
version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b382dbd3288e053331f03399e1db106c9fb0d8562ad62cb04859ae926f324fa6"
dependencies = [
"argh_shared",
"proc-macro2",
"quote",
"syn 1.0.109",
]
[[package]]
name = "argh_shared"
version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "64cb94155d965e3d37ffbbe7cc5b82c3dd79dd33bd48e536f73d2cfb8d85506f"
[[package]] [[package]]
name = "async-broadcast" name = "async-broadcast"
version = "0.5.1" version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c48ccdbf6ca6b121e0f586cbc0e73ae440e56c67c30fa0873b4e110d9c26d2b" checksum = "7c48ccdbf6ca6b121e0f586cbc0e73ae440e56c67c30fa0873b4e110d9c26d2b"
dependencies = [ dependencies = [
"event-listener", "event-listener 2.5.3",
"futures-core", "futures-core",
] ]
@ -120,7 +141,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35"
dependencies = [ dependencies = [
"concurrent-queue", "concurrent-queue",
"event-listener", "event-listener 2.5.3",
"futures-core", "futures-core",
] ]
@ -164,7 +185,7 @@ dependencies = [
"log", "log",
"parking", "parking",
"polling", "polling",
"rustix 0.37.21", "rustix 0.37.25",
"slab", "slab",
"socket2", "socket2",
"waker-fn", "waker-fn",
@ -176,24 +197,23 @@ version = "2.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa24f727524730b077666307f2734b4a1a1c57acb79193127dcc8914d5242dd7" checksum = "fa24f727524730b077666307f2734b4a1a1c57acb79193127dcc8914d5242dd7"
dependencies = [ dependencies = [
"event-listener", "event-listener 2.5.3",
] ]
[[package]] [[package]]
name = "async-process" name = "async-process"
version = "1.7.0" version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a9d28b1d97e08915212e2e45310d47854eafa69600756fc735fb788f75199c9" checksum = "bf012553ce51eb7aa6dc2143804cc8252bd1cb681a1c5cb7fa94ca88682dee1d"
dependencies = [ dependencies = [
"async-io", "async-io",
"async-lock", "async-lock",
"autocfg", "async-signal",
"blocking", "blocking",
"cfg-if", "cfg-if",
"event-listener", "event-listener 3.0.0",
"futures-lite", "futures-lite",
"rustix 0.37.21", "rustix 0.38.8",
"signal-hook",
"windows-sys 0.48.0", "windows-sys 0.48.0",
] ]
@ -208,6 +228,25 @@ dependencies = [
"syn 2.0.31", "syn 2.0.31",
] ]
[[package]]
name = "async-signal"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c99f3cb3f9ff89f7d718fbb942c9eb91bedff12e396adf09a622dfe7ffec2bc2"
dependencies = [
"async-io",
"async-lock",
"atomic-waker",
"cfg-if",
"concurrent-queue",
"futures-core",
"futures-io",
"libc",
"signal-hook-registry",
"slab",
"windows-sys 0.48.0",
]
[[package]] [[package]]
name = "async-task" name = "async-task"
version = "4.4.0" version = "4.4.0"
@ -216,9 +255,9 @@ checksum = "ecc7ab41815b3c653ccd2978ec3255c81349336702dfdf62ee6f7069b12a3aae"
[[package]] [[package]]
name = "async-trait" name = "async-trait"
version = "0.1.73" version = "0.1.74"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc00ceb34980c03614e35a3a4e218276a0a824e911d07651cd0d858a51e8c0f0" checksum = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -227,9 +266,9 @@ dependencies = [
[[package]] [[package]]
name = "atomic-waker" name = "atomic-waker"
version = "1.1.1" version = "1.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1181e1e0d1fce796a03db1ae795d67167da795f9cf4a39c37589e85ef57f26d3" checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
[[package]] [[package]]
name = "autocfg" name = "autocfg"
@ -261,6 +300,17 @@ dependencies = [
"serde", "serde",
] ]
[[package]]
name = "bitfield-struct"
version = "0.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eac32db62a43cf33353ce30b4a208b08193ea2086a1c6c004acb0073c706a29d"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.31",
]
[[package]] [[package]]
name = "bitflags" name = "bitflags"
version = "1.3.2" version = "1.3.2"
@ -269,9 +319,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]] [[package]]
name = "bitflags" name = "bitflags"
version = "2.3.3" version = "2.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "630be753d4e58660abd17930c71b647fe46c27ea6b63cc59e1e3851406972e42" checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07"
[[package]] [[package]]
name = "block" name = "block"
@ -346,13 +396,42 @@ version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "clap"
version = "4.3.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1640e5cc7fb47dbb8338fd471b105e7ed6c3cb2aeb00c2e067127ffd3764a05d"
dependencies = [
"clap_builder",
]
[[package]]
name = "clap_builder"
version = "4.3.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "98c59138d527eeaf9b53f35a77fcc1fad9d883116070c63d5de1c7dc7b00c72b"
dependencies = [
"anstream",
"anstyle",
"clap_lex",
"once_cell",
"strsim",
"terminal_size",
]
[[package]]
name = "clap_lex"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b"
[[package]] [[package]]
name = "cloud-hypervisor" name = "cloud-hypervisor"
version = "35.0.0" version = "36.0.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"api_client", "api_client",
"argh", "clap",
"dhat", "dhat",
"dirs", "dirs",
"epoll", "epoll",
@ -377,6 +456,12 @@ dependencies = [
"zbus", "zbus",
] ]
[[package]]
name = "colorchoice"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7"
[[package]] [[package]]
name = "concurrent-queue" name = "concurrent-queue"
version = "2.2.0" version = "2.2.0"
@ -404,6 +489,15 @@ dependencies = [
"rustc_version", "rustc_version",
] ]
[[package]]
name = "crc32fast"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
dependencies = [
"cfg-if",
]
[[package]] [[package]]
name = "crc64" name = "crc64"
version = "1.0.0" version = "1.0.0"
@ -482,7 +576,7 @@ dependencies = [
"acpi_tables", "acpi_tables",
"anyhow", "anyhow",
"arch", "arch",
"bitflags 2.3.3", "bitflags 2.4.1",
"byteorder", "byteorder",
"event_monitor", "event_monitor",
"hypervisor", "hypervisor",
@ -549,9 +643,9 @@ dependencies = [
[[package]] [[package]]
name = "enumflags2" name = "enumflags2"
version = "0.7.7" version = "0.7.8"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c041f5090df68b32bcd905365fd51769c8b9d553fe87fde0b683534f10c01bd2" checksum = "5998b4f30320c9d93aed72f63af821bfdac50465b75428fce77b48ec482c3939"
dependencies = [ dependencies = [
"enumflags2_derive", "enumflags2_derive",
"serde", "serde",
@ -559,9 +653,9 @@ dependencies = [
[[package]] [[package]]
name = "enumflags2_derive" name = "enumflags2_derive"
version = "0.7.7" version = "0.7.8"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e9a1f9f7d83e59740248a6e14ecf93929ade55027844dfcea78beafccc15745" checksum = "f95e2801cd355d4a1a3e3953ce6ee5ae9603a5c833455343a8bfe3f44d418246"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -587,37 +681,43 @@ version = "4.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "74351c3392ea1ff6cd2628e0042d268ac2371cb613252ff383b6dfa50d22fa79" checksum = "74351c3392ea1ff6cd2628e0042d268ac2371cb613252ff383b6dfa50d22fa79"
dependencies = [ dependencies = [
"bitflags 2.3.3", "bitflags 2.4.1",
"libc", "libc",
] ]
[[package]]
name = "equivalent"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
[[package]] [[package]]
name = "errno" name = "errno"
version = "0.3.2" version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6b30f669a7961ef1631673d2766cc92f52d64f7ef354d4fe0ddfd30ed52f0f4f" checksum = "ac3e13f66a2f95e32a39eaa81f6b95d42878ca0e1db0c7543723dfe12557e860"
dependencies = [ dependencies = [
"errno-dragonfly",
"libc", "libc",
"windows-sys 0.48.0", "windows-sys 0.48.0",
] ]
[[package]]
name = "errno-dragonfly"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf"
dependencies = [
"cc",
"libc",
]
[[package]] [[package]]
name = "event-listener" name = "event-listener"
version = "2.5.3" version = "2.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0"
[[package]]
name = "event-listener"
version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "29e56284f00d94c1bc7fd3c77027b4623c88c1f53d8d2394c6199f2921dea325"
dependencies = [
"concurrent-queue",
"parking",
"pin-project-lite",
]
[[package]] [[package]]
name = "event_monitor" name = "event_monitor"
version = "0.1.0" version = "0.1.0"
@ -834,15 +934,15 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
[[package]] [[package]]
name = "hashbrown" name = "hashbrown"
version = "0.12.3" version = "0.14.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" checksum = "f93e7192158dbcda357bdec5fb5788eebf8bbac027f3f33e719d29135ae84156"
[[package]] [[package]]
name = "hermit-abi" name = "hermit-abi"
version = "0.3.2" version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7"
[[package]] [[package]]
name = "hex" name = "hex"
@ -864,6 +964,8 @@ dependencies = [
"byteorder", "byteorder",
"env_logger", "env_logger",
"iced-x86", "iced-x86",
"igvm",
"igvm_defs",
"kvm-bindings", "kvm-bindings",
"kvm-ioctls", "kvm-ioctls",
"libc", "libc",
@ -880,9 +982,9 @@ dependencies = [
[[package]] [[package]]
name = "iced-x86" name = "iced-x86"
version = "1.19.0" version = "1.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b7cc8d38244d84278262c8ebe6930cc44283d194cbabae2651f6112103802fb5" checksum = "cdd366a53278429c028367e0ba22a46cab6d565a57afb959f06e92c7a69e7828"
dependencies = [ dependencies = [
"lazy_static", "lazy_static",
] ]
@ -894,12 +996,39 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
[[package]] [[package]]
name = "indexmap" name = "igvm"
version = "1.9.3" version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "git+https://github.com/microsoft/igvm?branch=main#c1b0201d8286cb23b9f30cb16ba435484666cfa3"
checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
dependencies = [ dependencies = [
"autocfg", "bitfield-struct",
"crc32fast",
"hex",
"igvm_defs",
"open-enum",
"range_map_vec",
"thiserror",
"tracing",
"zerocopy",
]
[[package]]
name = "igvm_defs"
version = "0.1.0"
source = "git+https://github.com/microsoft/igvm?branch=main#c1b0201d8286cb23b9f30cb16ba435484666cfa3"
dependencies = [
"bitfield-struct",
"open-enum",
"static_assertions",
"zerocopy",
]
[[package]]
name = "indexmap"
version = "2.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8adf3ddd720272c6ea8bf59463c04e0f93d0bbf7c5439b691bca2987e0270897"
dependencies = [
"equivalent",
"hashbrown", "hashbrown",
] ]
@ -1118,19 +1247,19 @@ dependencies = [
[[package]] [[package]]
name = "mshv-bindings" name = "mshv-bindings"
version = "0.1.1" version = "0.1.1"
source = "git+https://github.com/rust-vmm/mshv?branch=main#c5a60508595dc504da469b89102b8b49e91714a9" source = "git+https://github.com/rust-vmm/mshv?branch=main#af397ea8514303d3a19d21d33730e867f7415ba9"
dependencies = [ dependencies = [
"libc", "libc",
"serde", "serde",
"serde_derive", "serde_derive",
"vmm-sys-util", "vmm-sys-util",
"zerocopy 0.7.1", "zerocopy",
] ]
[[package]] [[package]]
name = "mshv-ioctls" name = "mshv-ioctls"
version = "0.1.1" version = "0.1.1"
source = "git+https://github.com/rust-vmm/mshv?branch=main#c5a60508595dc504da469b89102b8b49e91714a9" source = "git+https://github.com/rust-vmm/mshv?branch=main#af397ea8514303d3a19d21d33730e867f7415ba9"
dependencies = [ dependencies = [
"libc", "libc",
"mshv-bindings", "mshv-bindings",
@ -1198,9 +1327,9 @@ checksum = "43794a0ace135be66a25d3ae77d41b91615fb68ae937f904090203e81f755b65"
[[package]] [[package]]
name = "num-traits" name = "num-traits"
version = "0.2.15" version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2"
dependencies = [ dependencies = [
"autocfg", "autocfg",
] ]
@ -1221,10 +1350,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"
[[package]] [[package]]
name = "openssl-src" name = "open-enum"
version = "300.1.3+3.1.2" version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cd2c101a165fff9935e34def4669595ab1c7847943c42be86e21503e482be107" checksum = "9807f1199cf84ec7cc801a79e5ee9aa5178e4762c6b9c7066c30b3cabdcd911e"
dependencies = [
"open-enum-derive",
]
[[package]]
name = "open-enum-derive"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "894ae443e59fecf7173ab3b963473f44193fa71b3c8953c61a5bd5f30880bb88"
dependencies = [
"proc-macro2",
"quote",
"syn 1.0.109",
]
[[package]]
name = "openssl-src"
version = "300.1.5+3.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "559068e4c12950d7dcaa1857a61725c0d38d4fc03ff8e070ab31a75d6e316491"
dependencies = [ dependencies = [
"cc", "cc",
] ]
@ -1264,9 +1413,9 @@ dependencies = [
[[package]] [[package]]
name = "parking" name = "parking"
version = "2.1.0" version = "2.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "14f2252c834a40ed9bb5422029649578e63aa341ac401f74e719dd1afda8394e" checksum = "e52c774a4c39359c1d1c52e43f73dd91a75a614652c825408eec30c95a9b2067"
[[package]] [[package]]
name = "parking_lot" name = "parking_lot"
@ -1318,9 +1467,9 @@ dependencies = [
[[package]] [[package]]
name = "paste" name = "paste"
version = "1.0.12" version = "1.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79" checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c"
[[package]] [[package]]
name = "pci" name = "pci"
@ -1349,7 +1498,7 @@ dependencies = [
name = "performance-metrics" name = "performance-metrics"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"argh", "clap",
"dirs", "dirs",
"serde", "serde",
"serde_json", "serde_json",
@ -1567,6 +1716,12 @@ dependencies = [
"getrandom", "getrandom",
] ]
[[package]]
name = "range_map_vec"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8edc89eaa583cf6bc4c6ef16a219f0a60d342ca3bf0eae793560038ac8af1795"
[[package]] [[package]]
name = "rate_limiter" name = "rate_limiter"
version = "0.1.0" version = "0.1.0"
@ -1607,9 +1762,9 @@ dependencies = [
[[package]] [[package]]
name = "regex" name = "regex"
version = "1.9.1" version = "1.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b2eae68fc220f7cf2532e4494aded17545fce192d59cd996e0fe7887f4ceb575" checksum = "12de2eff854e5fa4b1295edd650e227e9d8fb0c9e90b12e7f36d6a6811791a29"
dependencies = [ dependencies = [
"aho-corasick", "aho-corasick",
"memchr", "memchr",
@ -1668,9 +1823,9 @@ dependencies = [
[[package]] [[package]]
name = "rustix" name = "rustix"
version = "0.37.21" version = "0.37.25"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62f25693a73057a1b4cb56179dd3c7ea21a7c6c5ee7d85781f5749b46f34b79c" checksum = "d4eb579851244c2c03e7c24f501c3432bed80b8f720af1d6e5b0e0f01555a035"
dependencies = [ dependencies = [
"bitflags 1.3.2", "bitflags 1.3.2",
"errno", "errno",
@ -1686,7 +1841,7 @@ version = "0.38.8"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "19ed4fa021d81c8392ce04db050a3da9a60299050b7ae1cf482d862b54a7218f" checksum = "19ed4fa021d81c8392ce04db050a3da9a60299050b7ae1cf482d862b54a7218f"
dependencies = [ dependencies = [
"bitflags 2.3.3", "bitflags 2.4.1",
"errno", "errno",
"libc", "libc",
"linux-raw-sys 0.4.5", "linux-raw-sys 0.4.5",
@ -1707,18 +1862,18 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]] [[package]]
name = "seccompiler" name = "seccompiler"
version = "0.3.0" version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6f6575e3c2b3a0fe2ef3e53855b6a8dead7c29f783da5e123d378c8c6a89017e" checksum = "345a3e4dddf721a478089d4697b83c6c0a8f5bf16086f6c13397e4534eb6e2e5"
dependencies = [ dependencies = [
"libc", "libc",
] ]
[[package]] [[package]]
name = "semver" name = "semver"
version = "1.0.18" version = "1.0.20"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b0293b4b29daaf487284529cc2f5675b8e57c61f70167ba415a463651fd6a918" checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090"
[[package]] [[package]]
name = "serde" name = "serde"
@ -1764,9 +1919,9 @@ dependencies = [
[[package]] [[package]]
name = "serde_with" name = "serde_with"
version = "3.0.0" version = "3.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9f02d8aa6e3c385bf084924f660ce2a3a6bd333ba55b35e8590b321f35d88513" checksum = "64cd236ccc1b7a29e7e2739f27c0b2dd199804abc4290e32f59f3b68d6405c23"
dependencies = [ dependencies = [
"serde", "serde",
"serde_with_macros", "serde_with_macros",
@ -1774,9 +1929,9 @@ dependencies = [
[[package]] [[package]]
name = "serde_with_macros" name = "serde_with_macros"
version = "3.0.0" version = "3.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "edc7d5d3932fb12ce722ee5e64dd38c504efba37567f0c402f6ca728c3b8b070" checksum = "93634eb5f75a2323b16de4748022ac4297f9e76b6dced2be287a099f41b5e788"
dependencies = [ dependencies = [
"darling", "darling",
"proc-macro2", "proc-macro2",
@ -1790,9 +1945,9 @@ version = "0.1.0"
[[package]] [[package]]
name = "sha1" name = "sha1"
version = "0.10.5" version = "0.10.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"cpufeatures", "cpufeatures",
@ -1910,9 +2065,9 @@ dependencies = [
[[package]] [[package]]
name = "tempfile" name = "tempfile"
version = "3.7.1" version = "3.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc02fddf48964c42031a0b3fe0428320ecf3a73c401040fc0096f97794310651" checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"fastrand 2.0.0", "fastrand 2.0.0",
@ -1930,6 +2085,16 @@ dependencies = [
"winapi-util", "winapi-util",
] ]
[[package]]
name = "terminal_size"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e6bf6f19e9f8ed8d4048dc22981458ebcf406d67e94cd422e5ecd73d63b3237"
dependencies = [
"rustix 0.37.25",
"windows-sys 0.48.0",
]
[[package]] [[package]]
name = "test_infra" name = "test_infra"
version = "0.1.0" version = "0.1.0"
@ -1979,9 +2144,9 @@ checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b"
[[package]] [[package]]
name = "toml_edit" name = "toml_edit"
version = "0.19.8" version = "0.19.15"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "239410c8609e8125456927e6707163a3b1fdb40561e4b803bc041f466ccfdc13" checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421"
dependencies = [ dependencies = [
"indexmap", "indexmap",
"toml_datetime", "toml_datetime",
@ -2046,9 +2211,9 @@ dependencies = [
[[package]] [[package]]
name = "typenum" name = "typenum"
version = "1.16.0" version = "1.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
[[package]] [[package]]
name = "uds_windows" name = "uds_windows"
@ -2066,6 +2231,12 @@ version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c" checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c"
[[package]]
name = "utf8parse"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
[[package]] [[package]]
name = "uuid" name = "uuid"
version = "1.3.4" version = "1.3.4"
@ -2188,8 +2359,8 @@ dependencies = [
name = "vhost_user_block" name = "vhost_user_block"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"argh",
"block", "block",
"clap",
"env_logger", "env_logger",
"epoll", "epoll",
"libc", "libc",
@ -2207,7 +2378,7 @@ dependencies = [
name = "vhost_user_net" name = "vhost_user_net"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"argh", "clap",
"env_logger", "env_logger",
"epoll", "epoll",
"libc", "libc",
@ -2342,10 +2513,11 @@ dependencies = [
"anyhow", "anyhow",
"arc-swap", "arc-swap",
"arch", "arch",
"bitflags 2.3.3", "bitflags 2.4.1",
"block", "block",
"blocking", "blocking",
"cfg-if", "cfg-if",
"clap",
"devices", "devices",
"epoll", "epoll",
"event_monitor", "event_monitor",
@ -2383,7 +2555,7 @@ dependencies = [
"vm-virtio", "vm-virtio",
"vmm-sys-util", "vmm-sys-util",
"zbus", "zbus",
"zerocopy 0.6.1", "zerocopy",
] ]
[[package]] [[package]]
@ -2409,9 +2581,9 @@ dependencies = [
[[package]] [[package]]
name = "waker-fn" name = "waker-fn"
version = "1.1.0" version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca" checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690"
[[package]] [[package]]
name = "wasi" name = "wasi"
@ -2491,9 +2663,9 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
[[package]] [[package]]
name = "winapi-util" name = "winapi-util"
version = "0.1.5" version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596"
dependencies = [ dependencies = [
"winapi", "winapi",
] ]
@ -2638,9 +2810,9 @@ checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"
[[package]] [[package]]
name = "winnow" name = "winnow"
version = "0.4.9" version = "0.5.18"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "81a2094c43cc94775293eaa0e499fbc30048a6d824ac82c0351a8c0bf9112529" checksum = "176b6138793677221d420fd2f0aeeced263f197688b36484660da767bca2fa32"
dependencies = [ dependencies = [
"memchr", "memchr",
] ]
@ -2674,7 +2846,7 @@ dependencies = [
"byteorder", "byteorder",
"derivative", "derivative",
"enumflags2", "enumflags2",
"event-listener", "event-listener 2.5.3",
"futures-core", "futures-core",
"futures-sink", "futures-sink",
"futures-util", "futures-util",
@ -2723,40 +2895,19 @@ dependencies = [
[[package]] [[package]]
name = "zerocopy" name = "zerocopy"
version = "0.6.1" version = "0.7.21"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "332f188cc1bcf1fe1064b8c58d150f497e697f49774aa846f2dc949d9a25f236" checksum = "686b7e407015242119c33dab17b8f61ba6843534de936d94368856528eae4dcc"
dependencies = [ dependencies = [
"byteorder", "byteorder",
"zerocopy-derive 0.3.2", "zerocopy-derive",
]
[[package]]
name = "zerocopy"
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2f00a66029e63d181fa590cc5694cf2afbc0974a4604824e80017b1789f99c07"
dependencies = [
"byteorder",
"zerocopy-derive 0.7.1",
] ]
[[package]] [[package]]
name = "zerocopy-derive" name = "zerocopy-derive"
version = "0.3.2" version = "0.7.21"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6505e6815af7de1746a08f69c69606bb45695a17149517680f3b2149713b19a3" checksum = "020f3dfe25dfc38dfea49ce62d5d45ecdd7f0d8a724fa63eb36b6eba4ec76806"
dependencies = [
"proc-macro2",
"quote",
"syn 1.0.109",
]
[[package]]
name = "zerocopy-derive"
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e9c682f46403e5d567cb27b79f6279c145759528ba9450fe371f43b921b452bd"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",

View File

@ -2,23 +2,24 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cloud-hypervisor"; pname = "cloud-hypervisor";
version = "35.0"; version = "36.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cloud-hypervisor"; owner = "cloud-hypervisor";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-HZt5xfsP9l18S6nPyVhLNAs5vgDSVYOMFwThzCCon7E="; hash = "sha256-SgzohTW0tDn/O65rujZh7hsbvTeu4nQ0HvvXu9f92Vc=";
}; };
cargoLock = { cargoLock = {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = { outputHashes = {
"acpi_tables-0.1.0" = "sha256-OGJX05yNwE7zZzATs8y0EZ714+lB+FgSia0TygRwWAU="; "acpi_tables-0.1.0" = "sha256-FYjzwCSjuTUDCCQPC2ccDpwRRaG1eT5XgV/b8uSu8uc=";
"igvm-0.1.0" = "sha256-l+Qyhdy3b8h8hPLHg5M0os8aSkjM55hAP5nqi0AGmjo=";
"kvm-bindings-0.6.0" = "sha256-wGdAuPwsgRIqx9dh0m+hC9A/Akz9qg9BM+p06Fi5ACM="; "kvm-bindings-0.6.0" = "sha256-wGdAuPwsgRIqx9dh0m+hC9A/Akz9qg9BM+p06Fi5ACM=";
"kvm-ioctls-0.13.0" = "sha256-jHnFGwBWnAa2lRu4a5eRNy1Y26NX5MV8alJ86VR++QE="; "kvm-ioctls-0.13.0" = "sha256-jHnFGwBWnAa2lRu4a5eRNy1Y26NX5MV8alJ86VR++QE=";
"micro_http-0.1.0" = "sha256-wX35VsrO1vxQcGbOrP+yZm9vG0gcTZLe7gH7xuAa12w="; "micro_http-0.1.0" = "sha256-wX35VsrO1vxQcGbOrP+yZm9vG0gcTZLe7gH7xuAa12w=";
"mshv-bindings-0.1.1" = "sha256-8fEWawNeJ96CczFoJD3cqCsrROEvh8wJ4I0ForwzTJY="; "mshv-bindings-0.1.1" = "sha256-vyNaKp89THzZ/UpfocEwaCUzCuQnBMyv/icuZEghZEQ=";
"versionize_derive-0.1.4" = "sha256-oGuREJ5+FDs8ihmv99WmjIPpL2oPdOr4REk6+7cV/7o="; "versionize_derive-0.1.4" = "sha256-oGuREJ5+FDs8ihmv99WmjIPpL2oPdOr4REk6+7cV/7o=";
"vfio-bindings-0.4.0" = "sha256-hGhfOE9q9sf/tzPuaAHOca+JKCutcm1Myu1Tt9spaIQ="; "vfio-bindings-0.4.0" = "sha256-hGhfOE9q9sf/tzPuaAHOca+JKCutcm1Myu1Tt9spaIQ=";
"vfio_user-0.1.0" = "sha256-fAqvy3YTDKXQqtJR+R2nBCWIYe89zTwtbgvJfPLqs1Q="; "vfio_user-0.1.0" = "sha256-fAqvy3YTDKXQqtJR+R2nBCWIYe89zTwtbgvJfPLqs1Q=";

View File

@ -5,12 +5,12 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "crosvm"; pname = "crosvm";
version = "117.0"; version = "119.0";
src = fetchgit { src = fetchgit {
url = "https://chromium.googlesource.com/chromiumos/platform/crosvm"; url = "https://chromium.googlesource.com/chromiumos/platform/crosvm";
rev = "2ec6c2a0d6700b297bb53803c5065a50f8094c77"; rev = "b9977397be2ffc8154bf55983eb21495016d48b5";
sha256 = "PFQc6DNbZ6zIXooYKNSHAkHlDvDk09tgRX5KYRiZ2nA="; sha256 = "oaCWiyYWQQGERaUPSekUHsO8vaHzIA5ZdSebm/qRR7I=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
@ -26,7 +26,7 @@ rustPlatform.buildRustPackage rec {
separateDebugInfo = true; separateDebugInfo = true;
cargoHash = "sha256-yRujLgPaoKx/wkG3yMwQ5ndy9X5xDWSKtCr8DypXvEA="; cargoHash = "sha256-U/sF/0OWxA41iZsOTao8eeb98lluqOwcPwwA4emcSFc=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config protobuf python3 rustPlatform.bindgenHook wayland-scanner pkg-config protobuf python3 rustPlatform.bindgenHook wayland-scanner

View File

@ -10,11 +10,11 @@
}: }:
stdenvNoCC.mkDerivation (finalAttrs: { stdenvNoCC.mkDerivation (finalAttrs: {
pname = "tart"; pname = "tart";
version = "2.0.0"; version = "2.3.0";
src = fetchurl { src = fetchurl {
url = "https://github.com/cirruslabs/tart/releases/download/${finalAttrs.version}/tart.tar.gz"; url = "https://github.com/cirruslabs/tart/releases/download/${finalAttrs.version}/tart.tar.gz";
sha256 = "sha256-uDNB49HF++WTV28VkfZCt32zkp+h0W5xXAuqtaFTmPI="; sha256 = "sha256-LdzP0Vovda0W6uBg71dJlTxP+Qly+c2Shv3xrMmxYDg=";
}; };
sourceRoot = "."; sourceRoot = ".";

View File

@ -36,8 +36,8 @@ in customEmacsPackages.withPackages (epkgs: [ epkgs.evil epkgs.magit ])
self: self:
let let
inherit (self) emacs; inherit (self) emacs;
withNativeCompilation = emacs.withNativeCompilation or emacs.nativeComp or false; withNativeCompilation = emacs.withNativeCompilation or false;
withTreeSitter = emacs.withTreeSitter or emacs.treeSitter or false; withTreeSitter = emacs.withTreeSitter or false;
in in
packagesFun: # packages explicitly requested by the user packagesFun: # packages explicitly requested by the user
let let

View File

@ -2,13 +2,13 @@
buildDotnetModule rec { buildDotnetModule rec {
pname = "Boogie"; pname = "Boogie";
version = "3.0.5"; version = "3.0.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "boogie-org"; owner = "boogie-org";
repo = "boogie"; repo = "boogie";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-KciQakwus7cKjtfp5x8nDV7bbTXlzILcL3ivCJAV6Vk="; sha256 = "sha256-A/nshihI1DxV0mvYYDLPWTNQkuduppxNC7OyWuGNCD8=";
}; };
projectFile = [ "Source/Boogie.sln" ]; projectFile = [ "Source/Boogie.sln" ];

View File

@ -0,0 +1,84 @@
{ boost
, cmake
, fetchFromGitHub
, hidapi
, lib
, libsodium
, libusb1
, openssl
, pkg-config
, protobuf
, qrencode
, qt6
, readline
, stdenv
, testers
, tor
, unbound
, zxing-cpp
}:
stdenv.mkDerivation (finalAttrs: {
pname = "feather";
version = "2.5.2";
src = fetchFromGitHub {
owner = "feather-wallet";
repo = "feather";
rev = finalAttrs.version;
hash = "sha256-OSBG2W35GYlViwz5eXokpScrMTtPSaWAgEUNw2urm6w=";
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
pkg-config
qt6.wrapQtAppsHook
];
buildInputs = [
boost
hidapi
libsodium
libusb1
openssl
protobuf
qrencode
unbound
zxing-cpp
] ++ (with qt6; [
qtbase
qtmultimedia
qtsvg
qttools
qtwayland
qtwebsockets
]);
cmakeFlags = [
"-DProtobuf_INCLUDE_DIR=${lib.getDev protobuf}/include"
"-DProtobuf_PROTOC_EXECUTABLE=${lib.getExe protobuf}"
"-DReadline_INCLUDE_DIR=${lib.getDev readline}/include/readline"
"-DReadline_LIBRARY=${lib.getLib readline}/lib/libreadline.so"
"-DReadline_ROOT_DIR=${lib.getDev readline}"
"-DTOR_DIR=${lib.makeBinPath [ tor ]}"
"-DTOR_VERSION=${tor.version}"
];
passthru.tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
command = ''
QT_QPA_PLATFORM=minimal ${finalAttrs.finalPackage.meta.mainProgram} --version
'';
};
meta = with lib; {
description = "A free Monero desktop wallet";
homepage = "https://featherwallet.org/";
changelog = "https://featherwallet.org/changelog/#${finalAttrs.version}%20changelog";
platforms = platforms.linux;
license = licenses.bsd3;
mainProgram = "feather";
maintainers = with maintainers; [ surfaceflinger ];
};
})

View File

@ -0,0 +1,16 @@
{ jazz2
, lib
, runCommandLocal
}:
runCommandLocal "jazz2-content"
{
inherit (jazz2) version src;
meta = (builtins.removeAttrs jazz2.meta ["mainProgram"]) // {
description = "Assets needed for jazz2";
platforms = lib.platforms.all;
};
} ''
cp -r $src/Content $out
''

View File

@ -0,0 +1,55 @@
{ cmake
, fetchFromGitHub
, glfw
, jazz2-content
, lib
, libopenmpt
, libvorbis
, openal
, SDL2
, stdenv
, testers
, zlib
, graphicsLibrary ? "GLFW"
}:
assert lib.assertOneOf "graphicsLibrary" graphicsLibrary [ "SDL2" "GLFW" ];
stdenv.mkDerivation (finalAttrs: {
pname = "jazz2";
version = "2.2.2";
src = fetchFromGitHub {
owner = "deathkiller";
repo = "jazz2-native";
rev = finalAttrs.version;
hash = "sha256-1psMeuMV8GjS+uNlgtCvKpHgV9XW+vjviQTHBPjA4Lc=";
};
patches = [ ./nocontent.patch ];
nativeBuildInputs = [ cmake ];
buildInputs = [ libopenmpt libvorbis openal zlib ]
++ lib.optionals (graphicsLibrary == "GLFW") [ glfw ]
++ lib.optionals (graphicsLibrary == "SDL2") [ SDL2 ];
cmakeFlags = [
"-DLIBOPENMPT_INCLUDE_DIR=${lib.getDev libopenmpt}/include/libopenmpt"
"-DNCINE_DOWNLOAD_DEPENDENCIES=OFF"
"-DNCINE_OVERRIDE_CONTENT_PATH=${jazz2-content}"
] ++ lib.optionals (graphicsLibrary == "GLFW") [
"-DGLFW_INCLUDE_DIR=${glfw}/include/GLFW"
];
passthru.tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
};
meta = with lib; {
description = "Open-source Jazz Jackrabbit 2 reimplementation";
homepage = "https://github.com/deathkiller/jazz2-native";
license = licenses.gpl3Only;
mainProgram = "jazz2";
maintainers = with maintainers; [ surfaceflinger ];
platforms = platforms.linux;
};
})

View File

@ -0,0 +1,28 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "nilaway";
version = "unstable-2023-11-17";
src = fetchFromGitHub {
owner = "uber-go";
repo = "nilaway";
rev = "a267567c6ffff900df0c3394d031ee70079ec8df";
hash = "sha256-Ro1nSTEZcE9u4Ol6CSLBTiPrh72Ly9UcrXyvffzPfow=";
};
vendorHash = "sha256-kbVjkWW5D8jp5QFYGiyRuGFArRsQukJIR8xwaUUIUBs=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Static Analysis tool to detect potential Nil panics in Go code";
homepage = "https://github.com/uber-go/nilaway";
license = licenses.asl20;
maintainers = with maintainers; [ prit342 jk ];
mainProgram = "nilaway";
};
}

View File

@ -7,11 +7,11 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "txr"; pname = "txr";
version = "291"; version = "292";
src = fetchurl { src = fetchurl {
url = "https://www.kylheku.com/cgit/txr/snapshot/txr-${finalAttrs.version}.tar.bz2"; url = "https://www.kylheku.com/cgit/txr/snapshot/txr-${finalAttrs.version}.tar.bz2";
hash = "sha256-Btk3PanJa6hyoM+hfQq+EhIMaL2edyhfxx96Kpy+aaA="; hash = "sha256-tFqaQBCYur7b6U6SbthAGp0HVvIrfD63xMObzzI49Og=";
}; };
buildInputs = [ libffi ]; buildInputs = [ libffi ];

View File

@ -2,11 +2,11 @@
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "spleen"; pname = "spleen";
version = "2.0.0"; version = "2.0.1";
src = fetchurl { src = fetchurl {
url = "https://github.com/fcambus/spleen/releases/download/${version}/spleen-${version}.tar.gz"; url = "https://github.com/fcambus/spleen/releases/download/${version}/spleen-${version}.tar.gz";
hash = "sha256-d4d4s13UhwG4A9skemrIdZFUzl/Dq9XMC225ikS6Wgw="; hash = "sha256-N9kJrWaQN9eeNoOVJu9UN2+jcEbHqRWxV+X0DXNJLuA=";
}; };
nativeBuildInputs = [ xorg.mkfontscale ]; nativeBuildInputs = [ xorg.mkfontscale ];

View File

@ -11,9 +11,9 @@
mkXfceDerivation { mkXfceDerivation {
category = "apps"; category = "apps";
pname = "xfce4-dict"; pname = "xfce4-dict";
version = "0.8.5"; version = "0.8.6";
sha256 = "sha256-sU9V2cQUFG5571c7xrVSDCxanAbbnCUg2YLZ2uzoPJ0="; sha256 = "sha256-a7St9iH+jzwq/llrMJkuqwgQrDFEjqebs/N6Lxa3dkI=";
patches = [ ./configure-gio.patch ]; patches = [ ./configure-gio.patch ];

View File

@ -5,4 +5,5 @@
handy_window = callPackage ./handy-window { }; handy_window = callPackage ./handy-window { };
matrix = callPackage ./matrix { }; matrix = callPackage ./matrix { };
olm = callPackage ./olm { }; olm = callPackage ./olm { };
system_tray = callPackage ./system-tray { };
} }

View File

@ -0,0 +1,18 @@
{ libayatana-appindicator
}:
{ ... }:
{ preBuild ? ""
, ...
}:
{
preBuild = preBuild + ''
# $PUB_CACHE/hosted is a symlink to a store path.
mv $PUB_CACHE/hosted $PUB_CACHE/hosted_copy
cp -HR $PUB_CACHE/hosted_copy $PUB_CACHE/hosted
substituteInPlace $PUB_CACHE/hosted/pub.dev/system_tray-*/linux/tray.cc \
--replace "libappindicator3.so.1" "${libayatana-appindicator}/lib/libayatana-appindicator3.so.1"
'';
}

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,7 @@
{ lib { lib
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, pkg-config , pkg-config
, openssl , openssl
, gmp , gmp
@ -11,22 +12,27 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "scryer-prolog"; pname = "scryer-prolog";
version = "0.9.2"; version = "0.9.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mthom"; owner = "mthom";
repo = "scryer-prolog"; repo = "scryer-prolog";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-68wtRFkJh8OIdauSIyJ29en399TLnaRaRxw+5bkykxk="; hash = "sha256-0J69Zl+ONvR6T+xf2YeShwn3/JWOHyFHLpNFwmEaIOI=";
}; };
patches = [
(fetchpatch {
name = "cargo-lock-version-bump.patch";
url = "https://github.com/mthom/scryer-prolog/commit/d6fe5b5aaddb9886a8a34841a65cb28c317c2913.patch";
hash = "sha256-xkGsjVV/FcyZXGkI84FlqcRIuDM7isCCWZ1sbKql7es=";
})
];
cargoLock = { cargoLock = {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = { outputHashes = {
"dashu-0.3.1" = "sha256-bovPjLs98oj8/e/X/9GIYCzArzGfshjoeHU7IHdnq30=";
"libffi-3.2.0" = "sha256-GcNcXJCfiJp/7X5FXQJ/St0SmsPlCyeM8/s9FR+VE+M=";
"modular-bitfield-0.11.2" = "sha256-vcx+xt5owZVWOlKwudAr0EB1zlLLL5pVfWokw034BQI="; "modular-bitfield-0.11.2" = "sha256-vcx+xt5owZVWOlKwudAr0EB1zlLLL5pVfWokw034BQI=";
"num-modular-0.5.2" = "sha256-G4Kr3BMbXprC6tbG3mY/fOi2sQzaepOTeC4vDiOKWUM=";
}; };
}; };
@ -40,6 +46,6 @@ rustPlatform.buildRustPackage rec {
description = "A modern Prolog implementation written mostly in Rust"; description = "A modern Prolog implementation written mostly in Rust";
homepage = "https://github.com/mthom/scryer-prolog"; homepage = "https://github.com/mthom/scryer-prolog";
license = with licenses; [ bsd3 ]; license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ malbarbo ]; maintainers = with maintainers; [ malbarbo wkral ];
}; };
} }

View File

@ -73,8 +73,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/blacksphere/blackmagic"; homepage = "https://github.com/blacksphere/blackmagic";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = with maintainers; [ pjones emily sorki ]; maintainers = with maintainers; [ pjones emily sorki ];
# fails on darwin with platforms = platforms.unix;
# arm-none-eabi-gcc: error: unrecognized command line option '-iframework'
platforms = platforms.linux;
}; };
} }

View File

@ -9,7 +9,6 @@ set -u
out=${out:-/tmp} out=${out:-/tmp}
################################################################################ ################################################################################
export CFLAGS=$NIX_CFLAGS_COMPILE
export MAKEFLAGS="\ export MAKEFLAGS="\
${enableParallelBuilding:+-j${NIX_BUILD_CORES}}" ${enableParallelBuilding:+-j${NIX_BUILD_CORES}}"

View File

@ -34,13 +34,13 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnatcoll-${component}"; pname = "gnatcoll-${component}";
version = "23.0.0"; version = "24.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "AdaCore"; owner = "AdaCore";
repo = "gnatcoll-bindings"; repo = "gnatcoll-bindings";
rev = "v${version}"; rev = "v${version}";
sha256 = "1jnnfsvll4jh6ip0fww4mh2cm61h7dzpxz3zaa2psrc1w54x34nn"; sha256 = "00aakpmr67r72l1h3jpkaw83p1a2mjjvfk635yy5c1nss3ji1qjm";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -9,13 +9,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnatcoll-core"; pname = "gnatcoll-core";
version = "23.0.0"; version = "24.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "AdaCore"; owner = "AdaCore";
repo = "gnatcoll-core"; repo = "gnatcoll-core";
rev = "v${version}"; rev = "v${version}";
sha256 = "11q66xszqvpc9jyyzivcakik27d23yniahjdznb47wyqkxphm1dl"; sha256 = "1cks2w0inj9hvamsdxjriwxnx1igmx2khhr6kwxshsl30rs8nzvb";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -55,13 +55,13 @@ stdenv.mkDerivation rec {
if onlyExecutable if onlyExecutable
then builtins.replaceStrings [ "_" ] [ "-" ] component then builtins.replaceStrings [ "_" ] [ "-" ] component
else "gnatcoll-${component}"; else "gnatcoll-${component}";
version = "23.0.0"; version = "24.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "AdaCore"; owner = "AdaCore";
repo = "gnatcoll-db"; repo = "gnatcoll-db";
rev = "v${version}"; rev = "v${version}";
sha256 = "1j77ina17myahlsvbyiycgxkncd7ijc7jrvzwa4gagx0fwjk7prh"; sha256 = "0jq76s4s7q2x93jh8la6r0i3jkpvgsfj12vbbaqabh410xccyr3p";
}; };
# Link executables dynamically unless specified by the platform, # Link executables dynamically unless specified by the platform,

View File

@ -9,14 +9,14 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "xmlada"; pname = "xmlada";
version = "23.0.0"; version = "24.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
name = "xmlada-${version}-src"; name = "xmlada-${version}-src";
owner = "AdaCore"; owner = "AdaCore";
repo = "xmlada"; repo = "xmlada";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-covcSwlQQjRKTv0DdMEgahXXlch0TeKnvSyOsGO9+e0="; sha256 = "sha256-vvM7bdf3dAa3zKgxbGeAGlBT6fvafzmleimJHyRdlvc=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -2,6 +2,7 @@
mkDerivation, lib, mkDerivation, lib,
extra-cmake-modules, extra-cmake-modules,
kcoreaddons, ki18n, kpty, kservice, qtbase, kcoreaddons, ki18n, kpty, kservice, qtbase,
useSudo ? false
}: }:
mkDerivation { mkDerivation {
@ -11,5 +12,6 @@ mkDerivation {
propagatedBuildInputs = [ kpty ]; propagatedBuildInputs = [ kpty ];
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
patches = [ ./kdesu-search-for-wrapped-daemon-first.patch ]; patches = [ ./kdesu-search-for-wrapped-daemon-first.patch ];
cmakeFlags = lib.optionals useSudo [ "-DKDESU_USE_SUDO_DEFAULT=On" ];
meta.platforms = lib.platforms.linux ++ lib.platforms.freebsd; meta.platforms = lib.platforms.linux ++ lib.platforms.freebsd;
} }

View File

@ -203,7 +203,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d37875bd9915b7d67c2f117ea2c30a0989874d0b2cb694fe25403c85763c0c9e" checksum = "d37875bd9915b7d67c2f117ea2c30a0989874d0b2cb694fe25403c85763c0c9e"
dependencies = [ dependencies = [
"concurrent-queue", "concurrent-queue",
"event-listener 3.0.1", "event-listener 3.1.0",
"event-listener-strategy", "event-listener-strategy",
"futures-core", "futures-core",
"pin-project-lite", "pin-project-lite",
@ -224,9 +224,9 @@ dependencies = [
[[package]] [[package]]
name = "async-imap" name = "async-imap"
version = "0.9.3" version = "0.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e542b1682eba6b85a721daef0c58e79319ffd0c678565c07ac57c8071c548b5" checksum = "d736a74edf6c327b53dd9c932eae834253470ac5f0c55770e7e133bcbf986362"
dependencies = [ dependencies = [
"async-channel 2.1.0", "async-channel 2.1.0",
"base64 0.21.5", "base64 0.21.5",
@ -585,9 +585,9 @@ dependencies = [
[[package]] [[package]]
name = "cargo-platform" name = "cargo-platform"
version = "0.1.4" version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "12024c4645c97566567129c204f65d5815a8c9aecf30fcbe682b2fe034996d36" checksum = "e34637b3140142bdf929fb439e8aa4ebad7651ebf7b1080b3930aa16ac1459ff"
dependencies = [ dependencies = [
"serde", "serde",
] ]
@ -931,9 +931,9 @@ dependencies = [
[[package]] [[package]]
name = "crypto-bigint" name = "crypto-bigint"
version = "0.5.3" version = "0.5.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "740fe28e594155f10cfc383984cbefd529d7396050557148f79cb0f621204124" checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76"
dependencies = [ dependencies = [
"generic-array", "generic-array",
"rand_core 0.6.4", "rand_core 0.6.4",
@ -1087,7 +1087,7 @@ dependencies = [
[[package]] [[package]]
name = "deltachat" name = "deltachat"
version = "1.131.1" version = "1.131.6"
dependencies = [ dependencies = [
"ansi_term", "ansi_term",
"anyhow", "anyhow",
@ -1165,7 +1165,7 @@ dependencies = [
[[package]] [[package]]
name = "deltachat-jsonrpc" name = "deltachat-jsonrpc"
version = "1.131.1" version = "1.131.6"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"async-channel 2.1.0", "async-channel 2.1.0",
@ -1189,7 +1189,7 @@ dependencies = [
[[package]] [[package]]
name = "deltachat-repl" name = "deltachat-repl"
version = "1.131.1" version = "1.131.6"
dependencies = [ dependencies = [
"ansi_term", "ansi_term",
"anyhow", "anyhow",
@ -1204,7 +1204,7 @@ dependencies = [
[[package]] [[package]]
name = "deltachat-rpc-server" name = "deltachat-rpc-server"
version = "1.131.1" version = "1.131.6"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"deltachat", "deltachat",
@ -1229,7 +1229,7 @@ dependencies = [
[[package]] [[package]]
name = "deltachat_ffi" name = "deltachat_ffi"
version = "1.131.1" version = "1.131.6"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"deltachat", "deltachat",
@ -1479,15 +1479,15 @@ dependencies = [
[[package]] [[package]]
name = "ecdsa" name = "ecdsa"
version = "0.16.8" version = "0.16.9"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a4b1e0c257a9e9f25f90ff76d7a68360ed497ee519c8e428d1825ef0000799d4" checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca"
dependencies = [ dependencies = [
"der 0.7.8", "der 0.7.8",
"digest 0.10.7", "digest 0.10.7",
"elliptic-curve 0.13.6", "elliptic-curve 0.13.8",
"rfc6979 0.4.0", "rfc6979 0.4.0",
"signature 2.1.0", "signature 2.2.0",
"spki 0.7.2", "spki 0.7.2",
] ]
@ -1508,7 +1508,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53"
dependencies = [ dependencies = [
"pkcs8 0.10.2", "pkcs8 0.10.2",
"signature 2.1.0", "signature 2.2.0",
] ]
[[package]] [[package]]
@ -1528,14 +1528,15 @@ dependencies = [
[[package]] [[package]]
name = "ed25519-dalek" name = "ed25519-dalek"
version = "2.0.0" version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7277392b266383ef8396db7fdeb1e77b6c52fed775f5df15bb24f35b72156980" checksum = "1f628eaec48bfd21b865dc2950cfa014450c01d2fa2b69a86c2fd5844ec523c0"
dependencies = [ dependencies = [
"curve25519-dalek 4.1.1", "curve25519-dalek 4.1.1",
"ed25519 2.2.3", "ed25519 2.2.3",
"serde", "serde",
"sha2 0.10.8", "sha2 0.10.8",
"subtle",
"zeroize", "zeroize",
] ]
@ -1578,12 +1579,12 @@ dependencies = [
[[package]] [[package]]
name = "elliptic-curve" name = "elliptic-curve"
version = "0.13.6" version = "0.13.8"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d97ca172ae9dc9f9b779a6e3a65d308f2af74e5b8c921299075bdb4a0370e914" checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47"
dependencies = [ dependencies = [
"base16ct 0.2.0", "base16ct 0.2.0",
"crypto-bigint 0.5.3", "crypto-bigint 0.5.5",
"digest 0.10.7", "digest 0.10.7",
"ff 0.13.0", "ff 0.13.0",
"generic-array", "generic-array",
@ -1763,9 +1764,9 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
[[package]] [[package]]
name = "errno" name = "errno"
version = "0.3.6" version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c18ee0ed65a5f1f81cac6b1d213b69c35fa47d4252ad41f1486dbd8226fe36e" checksum = "f258a7194e7f7c2a7837a8913aeab7fd8c383457034fa20ce4dd3dcb813e8eb8"
dependencies = [ dependencies = [
"libc", "libc",
"windows-sys", "windows-sys",
@ -1798,9 +1799,9 @@ checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0"
[[package]] [[package]]
name = "event-listener" name = "event-listener"
version = "3.0.1" version = "3.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "01cec0252c2afff729ee6f00e903d479fba81784c8e2bd77447673471fdfaea1" checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2"
dependencies = [ dependencies = [
"concurrent-queue", "concurrent-queue",
"parking", "parking",
@ -1813,7 +1814,7 @@ version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d96b852f1345da36d551b9473fa1e2b1eb5c5195585c6c018118bc92a8d91160" checksum = "d96b852f1345da36d551b9473fa1e2b1eb5c5195585c6c018118bc92a8d91160"
dependencies = [ dependencies = [
"event-listener 3.0.1", "event-listener 3.1.0",
"pin-project-lite", "pin-project-lite",
] ]
@ -1899,9 +1900,9 @@ dependencies = [
[[package]] [[package]]
name = "fiat-crypto" name = "fiat-crypto"
version = "0.2.3" version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f69037fe1b785e84986b4f2cbcf647381876a00671d25ceef715d7812dd7e1dd" checksum = "27573eac26f4dd11e2b1916c3fe1baa56407c83c71a773a8ba17ec0bca03b6b7"
[[package]] [[package]]
name = "filetime" name = "filetime"
@ -2150,9 +2151,9 @@ dependencies = [
[[package]] [[package]]
name = "h2" name = "h2"
version = "0.3.21" version = "0.3.22"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "91fc23aa11be92976ef4729127f1a74adf36d8436f7816b185d18df956790833" checksum = "4d6250322ef6e60f93f9a2162799302cd6f68f79f6e5d85c8c16f14d1d958178"
dependencies = [ dependencies = [
"bytes", "bytes",
"fnv", "fnv",
@ -2160,7 +2161,7 @@ dependencies = [
"futures-sink", "futures-sink",
"futures-util", "futures-util",
"http", "http",
"indexmap 1.9.3", "indexmap",
"slab", "slab",
"tokio", "tokio",
"tokio-util", "tokio-util",
@ -2173,12 +2174,6 @@ version = "1.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7"
[[package]]
name = "hashbrown"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
[[package]] [[package]]
name = "hashbrown" name = "hashbrown"
version = "0.14.2" version = "0.14.2"
@ -2195,7 +2190,7 @@ version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7" checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7"
dependencies = [ dependencies = [
"hashbrown 0.14.2", "hashbrown",
] ]
[[package]] [[package]]
@ -2301,9 +2296,9 @@ dependencies = [
[[package]] [[package]]
name = "http" name = "http"
version = "0.2.10" version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f95b9abcae896730d42b78e09c155ed4ddf82c07b4de772c64aee5b2d8b7c150" checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb"
dependencies = [ dependencies = [
"bytes", "bytes",
"fnv", "fnv",
@ -2472,16 +2467,6 @@ dependencies = [
"nom", "nom",
] ]
[[package]]
name = "indexmap"
version = "1.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
dependencies = [
"autocfg",
"hashbrown 0.12.3",
]
[[package]] [[package]]
name = "indexmap" name = "indexmap"
version = "2.1.0" version = "2.1.0"
@ -2489,7 +2474,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f"
dependencies = [ dependencies = [
"equivalent", "equivalent",
"hashbrown 0.14.2", "hashbrown",
] ]
[[package]] [[package]]
@ -3175,8 +3160,8 @@ version = "0.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b" checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b"
dependencies = [ dependencies = [
"ecdsa 0.16.8", "ecdsa 0.16.9",
"elliptic-curve 0.13.6", "elliptic-curve 0.13.8",
"primeorder", "primeorder",
"sha2 0.10.8", "sha2 0.10.8",
] ]
@ -3198,8 +3183,8 @@ version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "70786f51bcc69f6a4c0360e063a4cac5419ef7c5cd5b3c99ad70f3be5ba79209" checksum = "70786f51bcc69f6a4c0360e063a4cac5419ef7c5cd5b3c99ad70f3be5ba79209"
dependencies = [ dependencies = [
"ecdsa 0.16.8", "ecdsa 0.16.9",
"elliptic-curve 0.13.6", "elliptic-curve 0.13.8",
"primeorder", "primeorder",
"sha2 0.10.8", "sha2 0.10.8",
] ]
@ -3296,8 +3281,8 @@ dependencies = [
"derive_builder", "derive_builder",
"des", "des",
"digest 0.10.7", "digest 0.10.7",
"ed25519-dalek 2.0.0", "ed25519-dalek 2.1.0",
"elliptic-curve 0.13.6", "elliptic-curve 0.13.8",
"flate2", "flate2",
"generic-array", "generic-array",
"hex", "hex",
@ -3316,7 +3301,7 @@ dependencies = [
"sha1", "sha1",
"sha2 0.10.8", "sha2 0.10.8",
"sha3", "sha3",
"signature 2.1.0", "signature 2.2.0",
"smallvec", "smallvec",
"thiserror", "thiserror",
"twofish", "twofish",
@ -3516,11 +3501,11 @@ dependencies = [
[[package]] [[package]]
name = "primeorder" name = "primeorder"
version = "0.13.3" version = "0.13.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c7dbe9ed3b56368bd99483eb32fe9c17fdd3730aebadc906918ce78d54c7eeb4" checksum = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6"
dependencies = [ dependencies = [
"elliptic-curve 0.13.6", "elliptic-curve 0.13.8",
] ]
[[package]] [[package]]
@ -4016,7 +4001,7 @@ dependencies = [
"pkcs1 0.7.5", "pkcs1 0.7.5",
"pkcs8 0.10.2", "pkcs8 0.10.2",
"rand_core 0.6.4", "rand_core 0.6.4",
"signature 2.1.0", "signature 2.2.0",
"spki 0.7.2", "spki 0.7.2",
"subtle", "subtle",
"zeroize", "zeroize",
@ -4074,9 +4059,9 @@ dependencies = [
[[package]] [[package]]
name = "rustix" name = "rustix"
version = "0.38.21" version = "0.38.25"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3" checksum = "dc99bc2d4f1fed22595588a013687477aedf3cdcfb26558c559edb67b4d9b22e"
dependencies = [ dependencies = [
"bitflags 2.4.1", "bitflags 2.4.1",
"errno", "errno",
@ -4087,9 +4072,9 @@ dependencies = [
[[package]] [[package]]
name = "rustls" name = "rustls"
version = "0.21.8" version = "0.21.9"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "446e14c5cda4f3f30fe71863c34ec70f5ac79d6087097ad0bb433e1be5edf04c" checksum = "629648aced5775d558af50b2b4c7b02983a04b312126d45eeead26e7caa498b9"
dependencies = [ dependencies = [
"ring 0.17.5", "ring 0.17.5",
"rustls-webpki", "rustls-webpki",
@ -4479,9 +4464,9 @@ dependencies = [
[[package]] [[package]]
name = "signature" name = "signature"
version = "2.1.0" version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e1788eed21689f9cf370582dfc467ef36ed9c707f073528ddafa8d83e3b8500" checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de"
dependencies = [ dependencies = [
"digest 0.10.7", "digest 0.10.7",
"rand_core 0.6.4", "rand_core 0.6.4",
@ -4743,9 +4728,9 @@ dependencies = [
[[package]] [[package]]
name = "termcolor" name = "termcolor"
version = "1.3.0" version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6093bad37da69aab9d123a8091e4be0aa4a03e4d601ec641c327398315f62b64" checksum = "ff1bc3d3f05aff0403e8ac0d92ced918ec05b666a43f83297ccef5bea8a3d449"
dependencies = [ dependencies = [
"winapi-util", "winapi-util",
] ]
@ -5014,7 +4999,7 @@ version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03" checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03"
dependencies = [ dependencies = [
"indexmap 2.1.0", "indexmap",
"serde", "serde",
"serde_spanned", "serde_spanned",
"toml_datetime", "toml_datetime",
@ -5094,9 +5079,9 @@ dependencies = [
[[package]] [[package]]
name = "tracing-log" name = "tracing-log"
version = "0.1.4" version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f751112709b4e791d8ce53e32c4ed2d353565a795ce84da2285393f41557bdf2" checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3"
dependencies = [ dependencies = [
"log", "log",
"once_cell", "once_cell",
@ -5105,9 +5090,9 @@ dependencies = [
[[package]] [[package]]
name = "tracing-subscriber" name = "tracing-subscriber"
version = "0.3.17" version = "0.3.18"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "30a651bc37f915e81f087d86e62a18eec5f79550c7faff886f7090b4ea757c77" checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b"
dependencies = [ dependencies = [
"matchers", "matchers",
"nu-ansi-term", "nu-ansi-term",
@ -5273,9 +5258,9 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
[[package]] [[package]]
name = "uuid" name = "uuid"
version = "1.5.0" version = "1.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "88ad59a7560b41a70d191093a945f0b87bc1deeda46fb237479708a1d6b6cdfc" checksum = "5e395fcf16a7a3d8127ec99782007af141946b4795001f876d54fb0d55978560"
dependencies = [ dependencies = [
"getrandom 0.2.11", "getrandom 0.2.11",
"serde", "serde",
@ -5694,18 +5679,18 @@ dependencies = [
[[package]] [[package]]
name = "zerocopy" name = "zerocopy"
version = "0.7.25" version = "0.7.26"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8cd369a67c0edfef15010f980c3cbe45d7f651deac2cd67ce097cd801de16557" checksum = "e97e415490559a91254a2979b4829267a57d2fcd741a98eee8b722fb57289aa0"
dependencies = [ dependencies = [
"zerocopy-derive", "zerocopy-derive",
] ]
[[package]] [[package]]
name = "zerocopy-derive" name = "zerocopy-derive"
version = "0.7.25" version = "0.7.26"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2f140bda219a26ccc0cdb03dba58af72590c53b22642577d88a927bc5c87d6b" checksum = "dd7e48ccf166952882ca8bd778a43502c64f33bf94c12ebe2a7f08e5a0f6689f"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -5714,9 +5699,9 @@ dependencies = [
[[package]] [[package]]
name = "zeroize" name = "zeroize"
version = "1.6.0" version = "1.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9" checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d"
dependencies = [ dependencies = [
"zeroize_derive", "zeroize_derive",
] ]

View File

@ -30,13 +30,13 @@ let
}; };
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "libdeltachat"; pname = "libdeltachat";
version = "1.131.1"; version = "1.131.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "deltachat"; owner = "deltachat";
repo = "deltachat-core-rust"; repo = "deltachat-core-rust";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-JXSZrlekvPVGKR+ritxk3Eru2DhtUN9UBtqUZ7G9/gg="; hash = "sha256-/LWWqa8f+ODP4LDIx9U9kRCFYI+5N6KztFDPbc2TiF0=";
}; };
patches = [ patches = [

View File

@ -38,12 +38,12 @@ stdenv.mkDerivation rec {
#hardeningDisable = [ "format" ]; #hardeningDisable = [ "format" ];
meta = { meta = with lib; {
description = "Library implementing attempt to create a tiff based interchange format for georeferenced raster imagery"; description = "Library implementing attempt to create a tiff based interchange format for georeferenced raster imagery";
homepage = "https://github.com/OSGeo/libgeotiff"; homepage = "https://github.com/OSGeo/libgeotiff";
changelog = "https://github.com/OSGeo/libgeotiff/blob/${src.rev}/libgeotiff/NEWS"; changelog = "https://github.com/OSGeo/libgeotiff/blob/${src.rev}/libgeotiff/NEWS";
license = lib.licenses.mit; license = licenses.mit;
maintainers = [lib.maintainers.marcweber]; maintainers = with maintainers; teams.geospatial.members ++ [ marcweber ];
platforms = with lib.platforms; linux ++ darwin; platforms = with platforms; linux ++ darwin;
}; };
} }

View File

@ -12,13 +12,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libgtop"; pname = "libgtop";
version = "2.41.1"; version = "2.41.2";
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "Q+qa0T98r5gwPmQXKxkb6blrqzQLAZ3u7HIlHuFA/js="; hash = "sha256-2QJs2KSNJ83/0zL41gqSdktWQk5SLEIM0ToB9A2vksM=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -0,0 +1,10 @@
{ callPackage, fetchurl }:
callPackage ./generic.nix ( rec {
version = "0.9.74";
src = fetchurl {
url = "mirror://gnu/libmicrohttpd/libmicrohttpd-${version}.tar.gz";
sha256 = "sha256-QgNdAmE3MyS/tDQBj0q4klFLECU9GvIy5BtMwsEeZQs=";
};
})

View File

@ -18,6 +18,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
cmakeFlags = [
(lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
];
# Install the extras headers # Install the extras headers
postInstall = '' postInstall = ''
cp -r $src/extras $out cp -r $src/extras $out

View File

@ -1,21 +1,27 @@
{ lib { lib
, fetchPypi
, buildPythonPackage , buildPythonPackage
, pythonOlder
, fetchFromGitHub
, chex
, jaxlib
, numpy , numpy
, tensorflow-probability , tensorflow-probability
, chex
, dm-haiku , dm-haiku
, pytestCheckHook , pytestCheckHook
, jaxlib
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "distrax"; pname = "distrax";
version = "0.1.4"; version = "0.1.5";
pyproject = true;
src = fetchPypi { disabled = pythonOlder "3.9";
inherit pname version;
hash = "sha256-klXT5wfnWUGMrf5sQhYqz7Foc/Ou5y4GIFgtTff1ZFQ="; src = fetchFromGitHub {
owner = "google-deepmind";
repo = "distrax";
rev = "refs/tags/v${version}";
hash = "sha256-A1aCL/I89Blg9sNmIWQru4QJteUTN6+bhgrEJPmCrM0=";
}; };
buildInputs = [ buildInputs = [
@ -34,6 +40,26 @@ buildPythonPackage rec {
"distrax" "distrax"
]; ];
disabledTests = [
# AssertionError on numerical values
# Reported upstream in https://github.com/google-deepmind/distrax/issues/267
"test_method_with_input_unnormalized_probs__with_device"
"test_method_with_input_unnormalized_probs__with_jit"
"test_method_with_input_unnormalized_probs__without_device"
"test_method_with_input_unnormalized_probs__without_jit"
"test_method_with_value_1d"
"test_nested_distributions__with_device"
"test_nested_distributions__without_device"
"test_nested_distributions__with_jit"
"test_nested_distributions__without_jit"
"test_stability__with_device"
"test_stability__with_jit"
"test_stability__without_device"
"test_stability__without_jit"
"test_von_mises_sample_gradient"
"test_von_mises_sample_moments"
];
disabledTestPaths = [ disabledTestPaths = [
# TypeErrors # TypeErrors
"distrax/_src/bijectors/tfp_compatible_bijector_test.py" "distrax/_src/bijectors/tfp_compatible_bijector_test.py"
@ -54,7 +80,5 @@ buildPythonPackage rec {
homepage = "https://github.com/deepmind/distrax"; homepage = "https://github.com/deepmind/distrax";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ onny ]; maintainers = with maintainers; [ onny ];
# Broken on all platforms (starting 2022-07-27)
broken = true;
}; };
} }

View File

@ -21,7 +21,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "holidays"; pname = "holidays";
version = "0.36"; version = "0.37";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -30,7 +30,7 @@ buildPythonPackage rec {
owner = "dr-prodigy"; owner = "dr-prodigy";
repo = "python-holidays"; repo = "python-holidays";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-pYlirojeHi10kUcjcvpfBYpIzbYmIlFgOLfy7WRhACU="; hash = "sha256-3IhyHLwTPLTcyZY/9dZFmIr7Ael8I3mZrXhqYaULwY8=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -2,11 +2,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "jplephem"; pname = "jplephem";
version = "2.19"; version = "2.20";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-wWJFTGVtblID/5cB2CZnH6+fMgnZccu2jdtGAD3/bc8="; hash = "sha256-u5htUI6kbGiTaomWiaZE21+grznJpQRCIImgA+yg4fo=";
}; };
propagatedBuildInputs = [ numpy ]; propagatedBuildInputs = [ numpy ];

View File

@ -35,13 +35,13 @@
let let
pname = "psycopg"; pname = "psycopg";
version = "3.1.12"; version = "3.1.13";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "psycopg"; owner = "psycopg";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-2fd21aSCjwSwk8G0uS3cPGzLZfPVoJl2V5dG+akfCrE="; hash = "sha256-N+x8RErlId1uBgXZjBBjtPxqJXGuXZEl78DKVKjhy9w=";
}; };
patches = [ patches = [
@ -51,12 +51,12 @@ let
libc = "${stdenv.cc.libc}/lib/libc.so.6"; libc = "${stdenv.cc.libc}/lib/libc.so.6";
}) })
# https://github.com/psycopg/psycopg/pull/669
# mark some tests as timing remove on next version update
(fetchpatch { (fetchpatch {
name = "mark_tests_as_timing.patch"; # fix environment variables leaking into test environment
url = "https://github.com/psycopg/psycopg/commit/00a3c640dd836328ba15931b400b012171f648c2.patch"; # https://github.com/psycopg/psycopg/pull/683
hash = "sha256-DoVZv1yy9gHOKl0AdVLir+C+UztJZVjboLhS5af2944="; # https://github.com/psycopg/psycopg/issues/681
url = "https://github.com/psycopg/psycopg/commit/f060855aa6126e811de243c7213d2caff9c88123.patch";
hash = "sha256-QsFxK8Qasw9kbNCUUCqbOHaf53kT5NONlr28vGoPda0=";
}) })
]; ];
@ -188,12 +188,13 @@ buildPythonPackage rec {
env = { env = {
postgresqlEnableTCP = 1; postgresqlEnableTCP = 1;
PGUSER = "psycopg"; PGUSER = "psycopg";
PGDATABASE = "psycopg";
}; };
preCheck = '' preCheck = ''
cd .. cd ..
'' + lib.optionalString (stdenv.isLinux) '' '' + lib.optionalString (stdenv.isLinux) ''
export PSYCOPG_TEST_DSN="host=127.0.0.1 user=$PGUSER" export PSYCOPG_TEST_DSN="host=/build/run/postgresql user=$PGUSER"
''; '';
disabledTests = [ disabledTests = [

View File

@ -9,7 +9,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytaglib"; pname = "pytaglib";
version = "2.0.0"; version = "2.1.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "supermihi"; owner = "supermihi";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-CEpyRxC9d7EuxupMQaX7WUCZ7lhyE6LhQY7Koe0NJ1A="; hash = "sha256-b3ODsG5rdSJ1Tq/0DARf99gHgWWGaArBFAjqeK3mvsY=";
}; };
buildInputs = [ buildInputs = [

View File

@ -12,14 +12,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytapo"; pname = "pytapo";
version = "3.3.6"; version = "3.3.16";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-kY1tPkzmUN5eb6YeUp/WSVmDloVSJbM5TXEFyfoXc/g="; hash = "sha256-omeJUF4bY/FfXMmBvpVo3dr7B/pUy8YXt0DPaSe3VkA=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -10,12 +10,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytest-order"; pname = "pytest-order";
version = "1.1.0"; version = "1.2.0";
format = "setuptools"; format = "setuptools";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-E50lswgmt47rtCci90fqsUxEuIBZ16cdT3nRSgVyaaU="; hash = "sha256-lE+GttRBqnsdqA+AHGq2W4S766Ry0KehLrQ7omZQEBo=";
}; };
buildInputs = [ pytest ]; buildInputs = [ pytest ];

View File

@ -21,7 +21,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "python-rtmidi"; pname = "python-rtmidi";
version = "1.5.7"; version = "1.5.8";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -29,7 +29,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
pname = "python_rtmidi"; pname = "python_rtmidi";
inherit version; inherit version;
hash = "sha256-3vsaSyrob/OYwjLFPu2lVOJKSfZ96ELnnOuos8p3N00="; hash = "sha256-f5reaLBorgkADstWKulSHaOiNDYa1USeg/xzRUTQBPo=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -8,7 +8,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "qasync"; pname = "qasync";
version = "0.26.1"; version = "0.27.0";
format = "pyproject"; format = "pyproject";
@ -16,7 +16,7 @@ buildPythonPackage rec {
owner = "CabbageDevelopment"; owner = "CabbageDevelopment";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-vtRmThXKxqof+Rz3Dngtc9tuwL1bPYFHDq4DBRCsrIU="; hash = "sha256-kU8QgcBZSzQQO3V4zKaIBuodUCQS4CLHOH7qHYU8ja0=";
}; };
postPatch = '' postPatch = ''

View File

@ -4,6 +4,7 @@
, chalice , chalice
, cherrypy , cherrypy
, django , django
, docker
, falcon , falcon
, fastapi , fastapi
, fetchFromGitHub , fetchFromGitHub
@ -18,6 +19,7 @@
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, sanic , sanic
, setuptools
, sanic-testing , sanic-testing
, slack-sdk , slack-sdk
, starlette , starlette
@ -30,8 +32,8 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "slack-bolt"; pname = "slack-bolt";
version = "1.18.0"; version = "1.18.1";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -39,7 +41,7 @@ buildPythonPackage rec {
owner = "slackapi"; owner = "slackapi";
repo = "bolt-python"; repo = "bolt-python";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-s9djd/MDNnyNkjkeApY6Fb1mhI6iop8RghaSJdi4eAs="; hash = "sha256-UwVStemFVA4hgqnSpCKpQGwLYG+p5z7MwFXXnIhrvNk=";
}; };
# The packaged pytest-runner version is too new as of 2023-07-27. It's not really needed anyway. Unfortunately, # The packaged pytest-runner version is too new as of 2023-07-27. It's not really needed anyway. Unfortunately,
@ -48,7 +50,13 @@ buildPythonPackage rec {
substituteInPlace setup.py --replace "pytest-runner==5.2" "" substituteInPlace setup.py --replace "pytest-runner==5.2" ""
''; '';
propagatedBuildInputs = [ slack-sdk ]; nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
slack-sdk
];
passthru.optional-dependencies = { passthru.optional-dependencies = {
async = [ async = [
@ -78,6 +86,7 @@ buildPythonPackage rec {
}; };
nativeCheckInputs = [ nativeCheckInputs = [
docker
pytest-asyncio pytest-asyncio
pytestCheckHook pytestCheckHook
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);

View File

@ -11,14 +11,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "symengine"; pname = "symengine";
version = "0.10.0"; version = "0.11.0";
format = "setuptools"; format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "symengine"; owner = "symengine";
repo = "symengine.py"; repo = "symengine.py";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-03lHip0iExfptrUe5ObA6xXrsfS4QJPrh1Z0v7q2lDI="; hash = "sha256-uUMcNnynE2itIwc7IGFwxveqLRL8f4dAAcaD6FUWJaY=";
}; };
postPatch = '' postPatch = ''

View File

@ -14,16 +14,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "tabula-py"; pname = "tabula-py";
version = "2.8.2"; version = "2.9.0";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "chezou"; owner = "chezou";
repo = pname; repo = "tabula-py";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-Zrq1i+HYXXNulyZ/fv00AgVd7ODj3rP9orLq5rT3ERU="; hash = "sha256-MGv2n8DoSjumD3lRcqwI0sEsaEDgs1n+st8DwZuZauo=";
}; };
postPatch = '' postPatch = ''

View File

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "twitchapi"; pname = "twitchapi";
version = "4.0.1"; version = "4.1.0";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "Teekeks"; owner = "Teekeks";
repo = "pyTwitchAPI"; repo = "pyTwitchAPI";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-WrZb734K51NYqlcMCRr8HO8E7XByioltd4vanTN8HUg="; hash = "sha256-aYYuHyILd3nT0jG59wJcRgSeri26YsC3NpwuQ9dsI1I=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -17,7 +17,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "yfinance"; pname = "yfinance";
version = "0.2.31"; version = "0.2.32";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "ranaroussi"; owner = "ranaroussi";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-GXnMzIjRx5c3O7J0bPjcdDvEIqTGMe002wYx28FLI6U="; hash = "sha256-sEEYi2qp3LcgBxN0tlbmOaCpkjiDO80lFIaY0qdbuoo=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -7,14 +7,14 @@
}: }:
let let
version = "23.0.0"; version = "24.0.0";
gprConfigKbSrc = fetchFromGitHub { gprConfigKbSrc = fetchFromGitHub {
name = "gprconfig-kb-${version}-src"; name = "gprconfig-kb-${version}-src";
owner = "AdaCore"; owner = "AdaCore";
repo = "gprconfig_kb"; repo = "gprconfig_kb";
rev = "v${version}"; rev = "v${version}";
sha256 = "1rhskq4r2plf3ia67k08misygnpr9knzw3kp3kyv5778lra8y6s2"; sha256 = "1vnjv2q63l8nq2w4wya75m40isvs78j5ss9b5ga3zx3cpdx3xh09";
}; };
in in
@ -27,7 +27,7 @@ stdenv.mkDerivation {
owner = "AdaCore"; owner = "AdaCore";
repo = "gprbuild"; repo = "gprbuild";
rev = "v${version}"; rev = "v${version}";
sha256 = "1ciaq4nh98vd7r5i11v353c1ms9s5yph0yxk4fkryc6bvkm4666x"; sha256 = "096a43453z2xknn6x4hyk2ldp2wh0qhfdfmzsrks50zqcvmkq4v7";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -41,12 +41,11 @@ stdenv.mkDerivation {
"LIBRARY_TYPE=relocatable" "LIBRARY_TYPE=relocatable"
]; ];
# Fixes gprbuild being linked statically always # Fixes gprbuild being linked statically always. Based on the AUR's patch:
patches = lib.optional (!stdenv.hostPlatform.isStatic) (fetchpatch { # https://aur.archlinux.org/cgit/aur.git/plain/0001-Makefile-build-relocatable-instead-of-static-binary.patch?h=gprbuild&id=bac524c76cd59c68fb91ef4dfcbe427357b9f850
name = "gprbuild-relocatable-build.patch"; patches = lib.optionals (!stdenv.hostPlatform.isStatic) [
url = "https://aur.archlinux.org/cgit/aur.git/plain/relocatable-build.patch?h=gprbuild&id=1d4e8a5cb982e79135a0aaa3ef87654bed1fe4f0"; ./gprbuild-relocatable-build.patch
sha256 = "1r3xsp1pk9h666mm8mdravkybmd5gv2f751x2ffb1kxnwq1rwiyn"; ];
});
buildFlags = [ "all" "libgpr.build" ]; buildFlags = [ "all" "libgpr.build" ];

View File

@ -0,0 +1,13 @@
diff --git a/Makefile b/Makefile
index 8c542078..e91cef5e 100644
--- a/Makefile
+++ b/Makefile
@@ -82,7 +82,7 @@ LIB_INSTALLER=gprinstall -p -f --target=$(TARGET) $(RBD) "--prefix=${prefix}"
CLEANER=gprclean -q $(RBD)
GPRBUILD_BUILDER=$(BUILDER) $(GPRBUILD_GPR) \
- -XLIBRARY_TYPE=static -XXMLADA_BUILD=static
+ -XLIBRARY_TYPE=relocatable -XXMLADA_BUILD=relocatable
LIBGPR_BUILDER=$(BUILDER) $(GPR_GPR) $(LIBGPR_OS)
LIBGPR_INSTALLER=$(LIB_INSTALLER) $(GPR_GPR) $(LIBGPR_OS) -XBUILD=${BUILD} \
--install-name=gpr \

View File

@ -2,14 +2,14 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cargo-mommy"; pname = "cargo-mommy";
version = "0.2.0"; version = "0.3.1";
src = fetchCrate { src = fetchCrate {
inherit pname version; inherit pname version;
sha256 = "sha256-/f6jHXwUJqAlqmVvvxfB4tvKkYwCmqI8GgPBHf5Qg1E="; hash = "sha256-2WR6xUYL/bLgZlI4ADbPAtdLq0y4MoVP8Loxdu/58Wc=";
}; };
cargoSha256 = "sha256-hj6oRuTlCxGq5SosVBkVwrG0Sgv5iDz5naCXPueYFqM="; cargoHash = "sha256-iQt6eTCcpzhFnrDkUmT4x7JX+Z7fWdW5ovbB/9Ui7Sw=";
meta = with lib; { meta = with lib; {
description = "Cargo wrapper that encourages you after running commands"; description = "Cargo wrapper that encourages you after running commands";

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "hyperrogue"; pname = "hyperrogue";
version = "12.1x"; version = "12.1y";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zenorogue"; owner = "zenorogue";
repo = "hyperrogue"; repo = "hyperrogue";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-MzeTNjGFL8l+8afndjpMqbEKD872ic+AqnpgY2VAPRA="; sha256 = "sha256-YCjDqpbb3OxJmek8KesCb3uACVCFYIAsaF3U1jO/CU4=";
}; };
CXXFLAGS = [ CXXFLAGS = [

View File

@ -1,20 +0,0 @@
{ jazz2
, lib
, runCommand
}:
runCommand "jazz2-content"
{
inherit (jazz2) version src;
preferLocalBuild = true;
meta = with lib; {
description = "Assets needed for jazz2";
homepage = "https://github.com/deathkiller/jazz2-native";
license = licenses.gpl3;
maintainers = with maintainers; [ surfaceflinger ];
};
} ''
cp -r $src/Content $out
''

View File

@ -1,47 +0,0 @@
{ cmake
, fetchFromGitHub
, glew
, glfw
, jazz2-content
, lib
, libGL
, libopenmpt
, libvorbis
, openal
, SDL2
, stdenv
, xorg
, zlib
}:
stdenv.mkDerivation rec {
pname = "jazz2";
version = "2.1.0";
src = fetchFromGitHub {
owner = "deathkiller";
repo = "jazz2-native";
rev = version;
sha256 = "nJha7+geP2Ov7ciEDzJ+XWdiF1jzv4Oeis1DwxcpJXo=";
};
patches = [ ./nocontent.patch ];
buildInputs = [ libGL SDL2 zlib glew glfw openal libvorbis libopenmpt xorg.libSM xorg.libICE xorg.libXext ];
nativeBuildInputs = [ cmake ];
cmakeFlags = [
"-DNCINE_DOWNLOAD_DEPENDENCIES=OFF"
"-DGLFW_INCLUDE_DIR=${glfw}/include/GLFW"
"-DLIBOPENMPT_INCLUDE_DIR=${libopenmpt.dev}/include/libopenmpt"
"-DNCINE_OVERRIDE_CONTENT_PATH=${jazz2-content}"
];
meta = with lib; {
description = "Open-source Jazz Jackrabbit 2 reimplementation";
homepage = "https://github.com/deathkiller/jazz2-native";
license = licenses.gpl3;
maintainers = with maintainers; [ surfaceflinger ];
platforms = platforms.linux;
};
}

View File

@ -44,6 +44,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/riscv-software-src/opensbi"; homepage = "https://github.com/riscv-software-src/opensbi";
license = licenses.bsd2; license = licenses.bsd2;
maintainers = with maintainers; [ ius nickcao zhaofengli ]; maintainers = with maintainers; [ ius nickcao zhaofengli ];
platforms = [ "riscv64-linux" ]; platforms = [ "riscv64-linux" "riscv32-linux" ];
}; };
} }

View File

@ -10,11 +10,11 @@ with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "corosync"; pname = "corosync";
version = "3.1.7"; version = "3.1.8";
src = fetchurl { src = fetchurl {
url = "http://build.clusterlabs.org/corosync/releases/${pname}-${version}.tar.gz"; url = "http://build.clusterlabs.org/corosync/releases/${pname}-${version}.tar.gz";
sha256 = "sha256-5lVrOjhZZfITMLk4Pc0XkPKKT3ngk5grQOouwj4KKfo="; sha256 = "sha256-cCNUT6O7NsALvKvZk1tyabQdiWc4oQjtMuqbnJsn7D0=";
}; };
nativeBuildInputs = [ makeWrapper pkg-config ]; nativeBuildInputs = [ makeWrapper pkg-config ];

View File

@ -7,16 +7,16 @@
buildNpmPackage rec { buildNpmPackage rec {
pname = "jellyfin-web"; pname = "jellyfin-web";
version = "10.8.11"; version = "10.8.12";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jellyfin"; owner = "jellyfin";
repo = "jellyfin-web"; repo = "jellyfin-web";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-Gl8eaC/AXBD956tAepwWVG3lSvL4rBCcgmkHeT/mrzM="; hash = "sha256-T5MACoNg6yADfM7eike3f6V/ELZXrZYP+3Cz6ea8WtQ=";
}; };
npmDepsHash = "sha256-HoRteA6KFCFxDdwGtDKrvwWCMYNfYQWlit52RAN1eAU="; npmDepsHash = "sha256-s+14x/jucCAxDWlQjCngjGtLB+4PCuO6R0qxP+SZ1+s=";
npmBuildScript = [ "build:production" ]; npmBuildScript = [ "build:production" ];

View File

@ -37,6 +37,14 @@ stdenv.mkDerivation rec {
hash = "sha256-Bg0EFgxk/sRwE8/7a/m8J4cTgooR4fobQil8pbWtkoc="; hash = "sha256-Bg0EFgxk/sRwE8/7a/m8J4cTgooR4fobQil8pbWtkoc=";
}; };
patches = [
(fetchpatch2 {
name = "no-hyperscan-fix.patch";
url = "https://github.com/rspamd/rspamd/commit/d907a95ac2e2cad6f7f65c4323f031f7931ae18b.patch";
hash = "sha256-bMmgiJSy0QrzvBAComzT0aM8UF8OKeV0VgMr0wwrM6w=";
})
];
hardeningEnable = [ "pie" ]; hardeningEnable = [ "pie" ];
nativeBuildInputs = [ cmake pkg-config perl ]; nativeBuildInputs = [ cmake pkg-config perl ];

View File

@ -0,0 +1,39 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "mongodb_exporter";
version = "0.39.0";
src = fetchFromGitHub {
owner = "percona";
repo = "mongodb_exporter";
rev = "v${version}";
hash = "sha256-QII93sd/Lh+m6S5HtDsOt2BUnqg+X8I24KoU+MAWWQU=";
};
vendorHash = "sha256-khNkh2LufCE3KdPYRCALz66X+Q1U+sTIILh4uDzhKiI=";
ldflags = [
"-s"
"-w"
"-X main.version=${version}"
"-X main.commit=${src.rev}"
"-X main.Branch=unknown"
"-X main.buildDate=unknown"
];
subPackages = [ "." ];
# those check depends on docker;
# nixpkgs doesn't have mongodb application available;
doCheck = false;
meta = with lib;
{
description = "A Prometheus exporter for MongoDB including sharding, replication and storage engines";
homepage = "https://github.com/percona/mongodb_exporter";
license = licenses.asl20;
maintainers = with maintainers; [ undefined-moe ];
mainProgram = "mongodb_exporter";
};
}

View File

@ -6,13 +6,13 @@
buildGo121Module rec { buildGo121Module rec {
pname = "ferretdb"; pname = "ferretdb";
version = "1.14.0"; version = "1.15.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "FerretDB"; owner = "FerretDB";
repo = "FerretDB"; repo = "FerretDB";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-x5In8cBRki3rHaAB+iSglL19UCD8DtITr5gjb8KKuAw="; hash = "sha256-J9pY84jaVsi31XdoAh3+fNgFNS88Nxxcs+hRV+bPn/M=";
}; };
postPatch = '' postPatch = ''
@ -20,7 +20,7 @@ buildGo121Module rec {
echo nixpkgs > build/version/package.txt echo nixpkgs > build/version/package.txt
''; '';
vendorHash = "sha256-0DFNDfJmBFpgzarg9FaGb8GV11LhA1N8oq0kSXIWxi8="; vendorHash = "sha256-NDLxf8aobamtR5/xn7YPgWQid4NZvj7v249tP1VGXfs=";
CGO_ENABLED = 0; CGO_ENABLED = 0;

View File

@ -5,16 +5,16 @@
buildGoModule rec { buildGoModule rec {
pname = "murex"; pname = "murex";
version = "5.1.2210"; version = "5.2.7610";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lmorg"; owner = "lmorg";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-N0sWTWZJT4hjivTreYfG5VkxiWgTjlH+/9VZD6YKQXY="; sha256 = "sha256-YyMt1V9Utar849+HPGLGJc25PvV7Q2pJehpFOOxlraY=";
}; };
vendorHash = "sha256-PClKzvpztpry8xsYLfWB/9s/qI5k2m8qHBxkxY0AJqI="; vendorHash = "sha256-qOItRqCIxoHigufI6b7j2VdBDo50qGDe+LAaccgDh5w=";
subPackages = [ "." ]; subPackages = [ "." ];

View File

@ -7,16 +7,16 @@
buildGoModule rec { buildGoModule rec {
pname = "kics"; pname = "kics";
version = "1.7.10"; version = "1.7.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Checkmarx"; owner = "Checkmarx";
repo = "kics"; repo = "kics";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-3guudT+PidrgHcJ6/lA/XWHmZXdvjGOhtpoO+9hkYOY="; hash = "sha256-knNPaxd9/ozQ1LU3O1AYeeRWrM4G7f5NdagD1zcwvQo=";
}; };
vendorHash = "sha256-gJu3B30IPp8A/xgtE5fzThQAtnFbbzr8ZwucAsObBxs="; vendorHash = "sha256-psyFivwS9d6+7S+1T7vonhofxHc0y2btXgc5HSu94Dg=";
subPackages = [ "cmd/console" ]; subPackages = [ "cmd/console" ];

View File

@ -21,13 +21,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "rpi-imager"; pname = "rpi-imager";
version = "1.8.1"; version = "1.8.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "raspberrypi"; owner = "raspberrypi";
repo = finalAttrs.pname; repo = finalAttrs.pname;
rev = "refs/tags/v${finalAttrs.version}"; rev = "refs/tags/v${finalAttrs.version}";
sha256 = "sha256-drHiZ0eYYvJg6/v3oEozGAbBKm1KLpec+kYZWwpT9yM="; sha256 = "sha256-+8jSKYy3w+S7BP7q+K5UYXa8Fp6uNEya47ssYkVCHH4=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -35,13 +35,13 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "micromamba"; pname = "micromamba";
version = "1.4.4"; version = "1.5.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mamba-org"; owner = "mamba-org";
repo = "mamba"; repo = "mamba";
rev = "micromamba-" + version; rev = "micromamba-" + version;
hash = "sha256-Z6hED0fiXzEKpVm8tUBR9ynqWCvHGXkXHzAXbbWlq9Y="; hash = "sha256-/9CzcnPd1D8jSl/pfl54+8/728r+GCqWFXahl47MJ3g=";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
@ -74,5 +74,6 @@ stdenv.mkDerivation rec {
license = licenses.bsd3; license = licenses.bsd3;
platforms = platforms.all; platforms = platforms.all;
maintainers = with maintainers; [ mausch ]; maintainers = with maintainers; [ mausch ];
mainProgram = "micromamba";
}; };
} }

View File

@ -113,6 +113,13 @@ let
hash = "sha256-s1ybRFCjQaSGj7LKu0Z5g7UiHqdJGeD+iPoQL0vaiS0="; hash = "sha256-s1ybRFCjQaSGj7LKu0Z5g7UiHqdJGeD+iPoQL0vaiS0=";
}; };
patch-rapidcheck-shared = fetchpatch2 {
# https://github.com/NixOS/nix/pull/9431
name = "fix-requires-non-existing-output.patch";
url = "https://github.com/NixOS/nix/commit/46131567da96ffac298b9ec54016b37114b0dfd5.patch";
hash = "sha256-lShYxYKRDWwBqCysAFmFBudhhAL1eendWcL8sEFLCGg=";
};
# Intentionally does not support overrideAttrs etc # Intentionally does not support overrideAttrs etc
# Use only for tests that are about the package relation to `pkgs` and/or NixOS. # Use only for tests that are about the package relation to `pkgs` and/or NixOS.
addTestsShallowly = tests: pkg: pkg // { addTestsShallowly = tests: pkg: pkg // {
@ -194,26 +201,41 @@ in lib.makeExtensible (self: ({
nix_2_14 = common { nix_2_14 = common {
version = "2.14.1"; version = "2.14.1";
hash = "sha256-5aCmGZbsFcLIckCDfvnPD4clGPQI7qYAqHYlttN/Wkg="; hash = "sha256-5aCmGZbsFcLIckCDfvnPD4clGPQI7qYAqHYlttN/Wkg=";
patches = [
patch-rapidcheck-shared
];
}; };
nix_2_15 = common { nix_2_15 = common {
version = "2.15.3"; version = "2.15.3";
hash = "sha256-sfFXbjC5iIdSAbctZIuFozxX0uux/KFBNr9oh33xINs="; hash = "sha256-sfFXbjC5iIdSAbctZIuFozxX0uux/KFBNr9oh33xINs=";
patches = [
patch-rapidcheck-shared
];
}; };
nix_2_16 = common { nix_2_16 = common {
version = "2.16.2"; version = "2.16.2";
hash = "sha256-VXIYCDkvAWeMoU0W2ZI0TeOszCZA1o8trz6YCPFD5ac="; hash = "sha256-VXIYCDkvAWeMoU0W2ZI0TeOszCZA1o8trz6YCPFD5ac=";
patches = [
patch-rapidcheck-shared
];
}; };
nix_2_17 = common { nix_2_17 = common {
version = "2.17.1"; version = "2.17.1";
hash = "sha256-Q5L+rHzjp0bYuR2ogg+YPCn6isjmlQ4CJVT0zpn/hFc="; hash = "sha256-Q5L+rHzjp0bYuR2ogg+YPCn6isjmlQ4CJVT0zpn/hFc=";
patches = [
patch-rapidcheck-shared
];
}; };
nix_2_18 = common { nix_2_18 = common {
version = "2.18.1"; version = "2.18.1";
hash = "sha256-WNmifcTsN9aG1ONkv+l2BC4sHZZxtNKy0keqBHXXQ7w="; hash = "sha256-WNmifcTsN9aG1ONkv+l2BC4sHZZxtNKy0keqBHXXQ7w=";
patches = [
patch-rapidcheck-shared
];
}; };
# The minimum Nix version supported by Nixpkgs # The minimum Nix version supported by Nixpkgs

View File

@ -7,16 +7,16 @@
buildGoModule rec { buildGoModule rec {
pname = "gopass-summon-provider"; pname = "gopass-summon-provider";
version = "1.15.8"; version = "1.15.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gopasspw"; owner = "gopasspw";
repo = "gopass-summon-provider"; repo = "gopass-summon-provider";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-7Oj/1h1468zz6r3+Cv5IaIFbkrs0dPteY0SRsOZ8UXI="; hash = "sha256-Ob/G1xDAgPlh2aM+TwbpycqhTodHNs97pvBpCWTYxXE=";
}; };
vendorHash = "sha256-IXY8w5TLXA3SIT2Jyjqt+pPtZ35zQnG0wY08OB1spDw="; vendorHash = "sha256-znmBV6sLx0g7zKkkv3S4TfVQu79ch5epq8l2uImF/Go=";
subPackages = [ "." ]; subPackages = [ "." ];

File diff suppressed because it is too large Load Diff

View File

@ -9,21 +9,16 @@ in
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "vaultwarden"; pname = "vaultwarden";
version = "1.30.0"; version = "1.30.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dani-garcia"; owner = "dani-garcia";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-mBKedJvb67FR4e8ZzdL8umg9XTgch1OWhbR1k46Lkn4="; hash = "sha256-9JCrEe0tla4v207XPgprLqP3g0BslpX8f7xa9aUhQcg=";
}; };
cargoLock = { cargoHash = "sha256-4KyBMOdTAHe5uD6X69gMd0aqIo4w2Rqrlg+25yY2B6o=";
lockFile = ./Cargo.lock;
outputHashes = {
"rocket-0.5.0-rc.3" = "sha256-E71cktkHCbmQyjkjWWJ20KfCm3B/h3jQ2TMluYhvCQw=";
};
};
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = with lib; [ openssl ] buildInputs = with lib; [ openssl ]

View File

@ -6,13 +6,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "zim-tools"; pname = "zim-tools";
version = "3.2.0"; version = "3.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "openzim"; owner = "openzim";
repo = "zim-tools"; repo = "zim-tools";
rev = version; rev = version;
sha256 = "sha256-E4E2ETuhlzBZKXMy2hNA66Vq1z2VzomgCsQp2y00XHQ="; sha256 = "sha256-kPUw13GVYZ1GLb4b4ch64GkJZtf6PW1gae8F/cgyG90=";
}; };
nativeBuildInputs = [ meson ninja pkg-config ]; nativeBuildInputs = [ meson ninja pkg-config ];

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