Merge master into staging-next

This commit is contained in:
github-actions[bot] 2023-05-02 18:01:20 +00:00 committed by GitHub
commit bdb79914d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
43 changed files with 2380 additions and 1202 deletions

View File

@ -181,6 +181,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- The option `i18n.inputMethod.fcitx5.enableRimeData` has been removed. Default RIME data is now included in `fcitx5-rime` by default, and can be customized using `fcitx5-rime.override { rimeDataPkgs = [ pkgs.rime-data, package2, ... ]; }`
- The udev hwdb.bin file is now built with systemd-hwdb rather than the [deprecated "udevadm hwdb"](https://github.com/systemd/systemd/pull/25714). This may impact mappings where the same key is defined in multiple matching entries. The updated behavior will select the latest definition in case of conflict. In general, this should be a positive change, as the hwdb source files are designed with this ordering in mind. As an example, the mapping of the HP Dev One keyboard scan code for "mute mic" is corrected by this update. This change may impact users who have worked-around previously incorrect mappings.
- Kime has been updated from 2.5.6 to 3.0.2 and the `i18n.inputMethod.kime.config` option has been removed. Users should use `daemonModules`, `iconColor`, and `extraConfig` options under `i18n.inputMethod.kime` instead.
- `tut` has been updated from 1.0.34 to 2.0.0, and now uses the TOML format for the configuration file instead of INI. Additional information can be found [here](https://github.com/RasmusLindroth/tut/releases/tag/2.0.0).

View File

@ -444,6 +444,7 @@
./services/desktops/pipewire/wireplumber.nix
./services/desktops/profile-sync-daemon.nix
./services/desktops/system-config-printer.nix
./services/desktops/system76-scheduler.nix
./services/desktops/telepathy.nix
./services/desktops/tumbler.nix
./services/desktops/zeitgeist.nix

View File

@ -0,0 +1,296 @@
{ config, lib, pkgs, ... }:
let
cfg = config.services.system76-scheduler;
inherit (builtins) concatStringsSep map toString attrNames;
inherit (lib) boolToString types mkOption literalExpression mdDoc optional mkIf mkMerge;
inherit (types) nullOr listOf bool int ints float str enum;
withDefaults = optionSpecs: defaults:
lib.genAttrs (attrNames optionSpecs) (name:
mkOption (optionSpecs.${name} // {
default = optionSpecs.${name}.default or defaults.${name} or null;
}));
latencyProfile = withDefaults {
latency = {
type = int;
description = mdDoc "`sched_latency_ns`.";
};
nr-latency = {
type = int;
description = mdDoc "`sched_nr_latency`.";
};
wakeup-granularity = {
type = float;
description = mdDoc "`sched_wakeup_granularity_ns`.";
};
bandwidth-size = {
type = int;
description = mdDoc "`sched_cfs_bandwidth_slice_us`.";
};
preempt = {
type = enum [ "none" "voluntary" "full" ];
description = mdDoc "Preemption mode.";
};
};
schedulerProfile = withDefaults {
nice = {
type = nullOr (ints.between (-20) 19);
description = mdDoc "Niceness.";
};
class = {
type = nullOr (enum [ "idle" "batch" "other" "rr" "fifo" ]);
example = literalExpression "\"batch\"";
description = mdDoc "CPU scheduler class.";
};
prio = {
type = nullOr (ints.between 1 99);
example = literalExpression "49";
description = mdDoc "CPU scheduler priority.";
};
ioClass = {
type = nullOr (enum [ "idle" "best-effort" "realtime" ]);
example = literalExpression "\"best-effort\"";
description = mdDoc "IO scheduler class.";
};
ioPrio = {
type = nullOr (ints.between 0 7);
example = literalExpression "4";
description = mdDoc "IO scheduler priority.";
};
matchers = {
type = nullOr (listOf str);
default = [];
example = literalExpression ''
[
"include cgroup=\"/user.slice/*.service\" parent=\"systemd\""
"emacs"
]
'';
description = mdDoc "Process matchers.";
};
};
cfsProfileToString = name: let
p = cfg.settings.cfsProfiles.${name};
in
"${name} latency=${toString p.latency} nr-latency=${toString p.nr-latency} wakeup-granularity=${toString p.wakeup-granularity} bandwidth-size=${toString p.bandwidth-size} preempt=\"${p.preempt}\"";
prioToString = class: prio: if prio == null then "\"${class}\"" else "(${class})${toString prio}";
schedulerProfileToString = name: a: indent:
concatStringsSep " "
(["${indent}${name}"]
++ (optional (a.nice != null) "nice=${toString a.nice}")
++ (optional (a.class != null) "sched=${prioToString a.class a.prio}")
++ (optional (a.ioClass != null) "io=${prioToString a.ioClass a.ioPrio}")
++ (optional ((builtins.length a.matchers) != 0) ("{\n${concatStringsSep "\n" (map (m: " ${indent}${m}") a.matchers)}\n${indent}}")));
in {
options = {
services.system76-scheduler = {
enable = lib.mkEnableOption (lib.mdDoc "system76-scheduler");
package = mkOption {
type = types.package;
default = config.boot.kernelPackages.system76-scheduler;
defaultText = literalExpression "config.boot.kernelPackages.system76-scheduler";
description = mdDoc "Which System76-Scheduler package to use.";
};
useStockConfig = mkOption {
type = bool;
default = true;
description = mdDoc ''
Use the (reasonable and featureful) stock configuration.
When this option is `true`, `services.system76-scheduler.settings`
are ignored.
'';
};
settings = {
cfsProfiles = {
enable = mkOption {
type = bool;
default = true;
description = mdDoc "Tweak CFS latency parameters when going on/off battery";
};
default = latencyProfile {
latency = 6;
nr-latency = 8;
wakeup-granularity = 1.0;
bandwidth-size = 5;
preempt = "voluntary";
};
responsive = latencyProfile {
latency = 4;
nr-latency = 10;
wakeup-granularity = 0.5;
bandwidth-size = 3;
preempt = "full";
};
};
processScheduler = {
enable = mkOption {
type = bool;
default = true;
description = mdDoc "Tweak scheduling of individual processes in real time.";
};
useExecsnoop = mkOption {
type = bool;
default = true;
description = mdDoc "Use execsnoop (otherwise poll the precess list periodically).";
};
refreshInterval = mkOption {
type = int;
default = 60;
description = mdDoc "Process list poll interval, in seconds";
};
foregroundBoost = {
enable = mkOption {
type = bool;
default = true;
description = mdDoc ''
Boost foreground process priorities.
(And de-boost background ones). Note that this option needs cooperation
from the desktop environment to work. On Gnome the client side is
implemented by the "System76 Scheduler" shell extension.
'';
};
foreground = schedulerProfile {
nice = 0;
ioClass = "best-effort";
ioPrio = 0;
};
background = schedulerProfile {
nice = 6;
ioClass = "idle";
};
};
pipewireBoost = {
enable = mkOption {
type = bool;
default = true;
description = mdDoc "Boost Pipewire client priorities.";
};
profile = schedulerProfile {
nice = -6;
ioClass = "best-effort";
ioPrio = 0;
};
};
};
};
assignments = mkOption {
type = types.attrsOf (types.submodule {
options = schedulerProfile { };
});
default = {};
example = literalExpression ''
{
nix-builds = {
nice = 15;
class = "batch";
ioClass = "idle";
matchers = [
"nix-daemon"
];
};
}
'';
description = mdDoc "Process profile assignments.";
};
exceptions = mkOption {
type = types.listOf str;
default = [];
example = literalExpression ''
[
"include descends=\"schedtool\""
"schedtool"
]
'';
description = mdDoc "Processes that are left alone.";
};
};
};
config = {
environment.systemPackages = [ cfg.package ];
services.dbus.packages = [ cfg.package ];
systemd.services.system76-scheduler = {
description = "Manage process priorities and CFS scheduler latencies for improved responsiveness on the desktop";
wantedBy = [ "multi-user.target" ];
path = [
# execsnoop needs those to extract kernel headers:
pkgs.kmod
pkgs.gnutar
pkgs.xz
];
serviceConfig = {
Type = "dbus";
BusName= "com.system76.Scheduler";
ExecStart = "${cfg.package}/bin/system76-scheduler daemon";
ExecReload = "${cfg.package}/bin/system76-scheduler daemon reload";
};
};
environment.etc = mkMerge [
(mkIf cfg.useStockConfig {
# No custom settings: just use stock configuration with a fix for Pipewire
"system76-scheduler/config.kdl".source = "${cfg.package}/data/config.kdl";
"system76-scheduler/process-scheduler/00-dist.kdl".source = "${cfg.package}/data/pop_os.kdl";
"system76-scheduler/process-scheduler/01-fix-pipewire-paths.kdl".source = ../../../../pkgs/os-specific/linux/system76-scheduler/01-fix-pipewire-paths.kdl;
})
(let
settings = cfg.settings;
cfsp = settings.cfsProfiles;
ps = settings.processScheduler;
in mkIf (!cfg.useStockConfig) {
"system76-scheduler/config.kdl".text = ''
version "2.0"
autogroup-enabled false
cfs-profiles enable=${boolToString cfsp.enable} {
${cfsProfileToString "default"}
${cfsProfileToString "responsive"}
}
process-scheduler enable=${boolToString ps.enable} {
execsnoop ${boolToString ps.useExecsnoop}
refresh-rate ${toString ps.refreshInterval}
assignments {
${if ps.foregroundBoost.enable then (schedulerProfileToString "foreground" ps.foregroundBoost.foreground " ") else ""}
${if ps.foregroundBoost.enable then (schedulerProfileToString "background" ps.foregroundBoost.background " ") else ""}
${if ps.pipewireBoost.enable then (schedulerProfileToString "pipewire" ps.pipewireBoost.profile " ") else ""}
}
}
'';
})
{
"system76-scheduler/process-scheduler/02-config.kdl".text =
"exceptions {\n${concatStringsSep "\n" (map (e: " ${e}") cfg.exceptions)}\n}\n"
+ "assignments {\n"
+ (concatStringsSep "\n" (map (name: schedulerProfileToString name cfg.assignments.${name} " ")
(attrNames cfg.assignments)))
+ "\n}\n";
}
];
};
meta = {
maintainers = [ lib.maintainers.cmm ];
};
}

View File

@ -160,7 +160,7 @@ let
echo "Generating hwdb database..."
# hwdb --update doesn't return error code even on errors!
res="$(${pkgs.buildPackages.udev}/bin/udevadm hwdb --update --root=$(pwd) 2>&1)"
res="$(${pkgs.buildPackages.systemd}/bin/systemd-hwdb --root=$(pwd) update 2>&1)"
echo "$res"
[ -z "$(echo "$res" | egrep '^Error')" ]
mv etc/udev/hwdb.bin $out

File diff suppressed because it is too large Load Diff

View File

@ -148,12 +148,12 @@
};
capnp = buildGrammar {
language = "capnp";
version = "0.0.0+rev=fc6e2ad";
version = "0.0.0+rev=7d5fa4e";
src = fetchFromGitHub {
owner = "amaanq";
repo = "tree-sitter-capnp";
rev = "fc6e2addf103861b9b3dffb82c543eb6b71061aa";
hash = "sha256-FKzh0c/mTURLss8mv/c/p3dNXQxE/r5P063GEM8un70=";
rev = "7d5fa4e94d3643ec15750106113be0d40f9fc1bb";
hash = "sha256-K83xouIGsv9EDLp4MSH9i6JE/GlAT72i3eJa58vR2gs=";
};
meta.homepage = "https://github.com/amaanq/tree-sitter-capnp";
};
@ -303,12 +303,12 @@
};
devicetree = buildGrammar {
language = "devicetree";
version = "0.0.0+rev=6428cee";
version = "0.0.0+rev=d2cc332";
src = fetchFromGitHub {
owner = "joelspadin";
repo = "tree-sitter-devicetree";
rev = "6428cee0e9d76fac3291796ced56ac14ecd036ee";
hash = "sha256-QU5lCnTe00Mj5IfrBBnGwvU5S3Gz9VL2FRTNy0FPnIo=";
rev = "d2cc332aeb814ea40e1e34ed6b9446324b32612a";
hash = "sha256-iDiG6pNfALxy7nKyjuHfI9HW5/KElW/6zYguPaiMrzY=";
};
meta.homepage = "https://github.com/joelspadin/tree-sitter-devicetree";
};
@ -436,12 +436,12 @@
};
erlang = buildGrammar {
language = "erlang";
version = "0.0.0+rev=abf5794";
version = "0.0.0+rev=7d083ca";
src = fetchFromGitHub {
owner = "WhatsApp";
repo = "tree-sitter-erlang";
rev = "abf5794511a912059b8234ea7e70d60b55df8805";
hash = "sha256-38Q2HB5Hj7qdNwMyyXt1eNTqYHefkfC9teJM6PRE22A=";
rev = "7d083ca431265a6a677c10e8ca68a908ab0c2bc8";
hash = "sha256-W08JXLPIjUBfHSaTEGbIKPStQr4jOVE1f9osjrWG82Q=";
};
meta.homepage = "https://github.com/WhatsApp/tree-sitter-erlang";
};
@ -579,12 +579,12 @@
};
gitcommit = buildGrammar {
language = "gitcommit";
version = "0.0.0+rev=04dcb2c";
version = "0.0.0+rev=735f02b";
src = fetchFromGitHub {
owner = "gbprod";
repo = "tree-sitter-gitcommit";
rev = "04dcb2cb9a4cf638252b8bd4a829f9acadf2cc4c";
hash = "sha256-plu1qzMfvMfSqapQ4q+ZYNULDM8mBwlNeOzHoSSC3Hc=";
rev = "735f02b12d9cdd9a8b90ac4b2dff8cdab6dd1e7b";
hash = "sha256-uWePpMTJNiR7uh9LpmSiIQUHNiVDF8i32nckPKBFH3g=";
};
meta.homepage = "https://github.com/gbprod/tree-sitter-gitcommit";
};
@ -612,12 +612,12 @@
};
glimmer = buildGrammar {
language = "glimmer";
version = "0.0.0+rev=21805f4";
version = "0.0.0+rev=d3031a8";
src = fetchFromGitHub {
owner = "alexlafroscia";
repo = "tree-sitter-glimmer";
rev = "21805f429c5b7536be9f5f61dcabb5d3a4173bec";
hash = "sha256-EMcPjnf0SPa8Jk0GkkLTsOEGqRVdjbUt/DklRmXOGUA=";
rev = "d3031a8294bf331600d5046b1d14e690a0d8ba0c";
hash = "sha256-YvftQHEwYxRyRIYHrnAjIqgx6O0FlFrnF9TwUE+RiqI=";
};
meta.homepage = "https://github.com/alexlafroscia/tree-sitter-glimmer";
};
@ -722,12 +722,12 @@
};
haskell = buildGrammar {
language = "haskell";
version = "0.0.0+rev=98fc7f5";
version = "0.0.0+rev=3241b68";
src = fetchFromGitHub {
owner = "tree-sitter";
repo = "tree-sitter-haskell";
rev = "98fc7f59049aeb713ab9b72a8ff25dcaaef81087";
hash = "sha256-BDvzmFIGABtkWEUbi74o3vPLsiwNWsQDNura867vYpU=";
rev = "3241b683cc1eaa466afb83b9a5592ab39caaa2fa";
hash = "sha256-kGUBAXskVPRQHMwffYLRGO6uD9PNFWZeXkXsmp0yfKA=";
};
meta.homepage = "https://github.com/tree-sitter/tree-sitter-haskell";
};
@ -788,34 +788,34 @@
};
html = buildGrammar {
language = "html";
version = "0.0.0+rev=594f23e";
version = "0.0.0+rev=86c253e";
src = fetchFromGitHub {
owner = "tree-sitter";
repo = "tree-sitter-html";
rev = "594f23eb6da580cf269a59d966db68f2cde7d0c8";
hash = "sha256-DgYcJjMCQ0C96l1J4if6FdArj5atxy3LsJr+SnZqiQo=";
rev = "86c253e675e7fdd1c0482efe0706f24bafbc3a7d";
hash = "sha256-mOJ1JUlsnFPH5jQcWdhWJkoZ0qOK1CTvmi/gEPzzeYk=";
};
meta.homepage = "https://github.com/tree-sitter/tree-sitter-html";
};
htmldjango = buildGrammar {
language = "htmldjango";
version = "0.0.0+rev=b2dba02";
version = "0.0.0+rev=11e73eb";
src = fetchFromGitHub {
owner = "interdependence";
repo = "tree-sitter-htmldjango";
rev = "b2dba02eddab66be669022320273d0dfe1ff923d";
hash = "sha256-FEsvr9i0Lys8CzDlm2lhdJEAQNnmqRSFjn4I+CcZYM8=";
rev = "11e73ebd8e73356badaad826a0534437b208b6e7";
hash = "sha256-xOWR5Lp9Ggkqmm5rutKrnMNXFASdyn6vPtxcY2mu2zs=";
};
meta.homepage = "https://github.com/interdependence/tree-sitter-htmldjango";
};
http = buildGrammar {
language = "http";
version = "0.0.0+rev=2c6c445";
version = "0.0.0+rev=f41d3e9";
src = fetchFromGitHub {
owner = "rest-nvim";
repo = "tree-sitter-http";
rev = "2c6c44574031263326cb1e51658bbc0c084326e7";
hash = "sha256-R81n6vb7JzZlnK17SkiwYeJeMs0xYTXx/qFdTvT8V5c=";
rev = "f41d3e97ad148f0b2c2d913e3834ccd5816fdc02";
hash = "sha256-yHsvrMPLL3zrmP/t8Bzfl9lR+SEkRy7RypmqM9sHZCk=";
};
meta.homepage = "https://github.com/rest-nvim/tree-sitter-http";
};
@ -830,14 +830,25 @@
};
meta.homepage = "https://github.com/justinmk/tree-sitter-ini";
};
janet_simple = buildGrammar {
language = "janet_simple";
version = "0.0.0+rev=bd9cbaf";
src = fetchFromGitHub {
owner = "sogaiu";
repo = "tree-sitter-janet-simple";
rev = "bd9cbaf1ea8b942dfd58e68df10c9a378ab3d2b6";
hash = "sha256-2FucTi1wATBcomyNx2oCqMJVmAqLWHJiPQ2+L0VtwUM=";
};
meta.homepage = "https://github.com/sogaiu/tree-sitter-janet-simple";
};
java = buildGrammar {
language = "java";
version = "0.0.0+rev=3c24aa9";
version = "0.0.0+rev=c194ee5";
src = fetchFromGitHub {
owner = "tree-sitter";
repo = "tree-sitter-java";
rev = "3c24aa9365985830421a3a7b6791b415961ea770";
hash = "sha256-06spTQhAIJvixfZ858vPKKv6FJ1AC4JElQzkugxfTuo=";
rev = "c194ee5e6ede5f26cf4799feead4a8f165dcf14d";
hash = "sha256-PNR1XajfELQuwYvCHm8778TzeUlxb9D+HrVF26lQk2E=";
};
meta.homepage = "https://github.com/tree-sitter/tree-sitter-java";
};
@ -876,12 +887,12 @@
};
json = buildGrammar {
language = "json";
version = "0.0.0+rev=7307675";
version = "0.0.0+rev=40a81c0";
src = fetchFromGitHub {
owner = "tree-sitter";
repo = "tree-sitter-json";
rev = "73076754005a460947cafe8e03a8cf5fa4fa2938";
hash = "sha256-wbE7CQ6l1wlhJdAoDVAj1QzyvlYnevbrlVCO0TMU7to=";
rev = "40a81c01a40ac48744e0c8ccabbaba1920441199";
hash = "sha256-fZNftzNavJQPQE4S1VLhRyGQRoJgbWA5xTPa8ZI5UX4=";
};
meta.homepage = "https://github.com/tree-sitter/tree-sitter-json";
};
@ -931,23 +942,23 @@
};
kdl = buildGrammar {
language = "kdl";
version = "0.0.0+rev=e36f054";
version = "0.0.0+rev=d118f93";
src = fetchFromGitHub {
owner = "amaanq";
repo = "tree-sitter-kdl";
rev = "e36f054a60c4d9e5ae29567d439fdb8790b53b30";
hash = "sha256-ZZLe7WBDIX1x1lmuHE1lmZ93YWXTW3iwPgXXbxXR/n4=";
rev = "d118f9376ef4f0461975289302fe74a28f073876";
hash = "sha256-FxY7wqksjSJiOffb7FBcsDQ0oMr94CeGreBV8MMtFr4=";
};
meta.homepage = "https://github.com/amaanq/tree-sitter-kdl";
};
kotlin = buildGrammar {
language = "kotlin";
version = "0.0.0+rev=c84d16e";
version = "0.0.0+rev=100d79f";
src = fetchFromGitHub {
owner = "fwcd";
repo = "tree-sitter-kotlin";
rev = "c84d16e7f75032cdd8c4ad986a76ca9e1fe4e639";
hash = "sha256-SvzWWsXlcT5aIpswhKA8xo7iRIDaDZkeUuPGyvfc2fk=";
rev = "100d79fd96b56a1b99099a8d2f3c114b8687acfb";
hash = "sha256-+TLeB6S5MwbbxPZSvDasxAfTPV3YyjtR0pUTlFkdphc=";
};
meta.homepage = "https://github.com/fwcd/tree-sitter-kotlin";
};
@ -975,12 +986,12 @@
};
ledger = buildGrammar {
language = "ledger";
version = "0.0.0+rev=f787ae6";
version = "0.0.0+rev=1cc4445";
src = fetchFromGitHub {
owner = "cbarrete";
repo = "tree-sitter-ledger";
rev = "f787ae635ca79589faa25477b94291a87e2d3e23";
hash = "sha256-9Sc22IYWhUUzCslna3mzePd7bRbtWDwiWKvAzLYubOQ=";
rev = "1cc4445908966046c1dd211d9ddaac4c3198bd1d";
hash = "sha256-GHxpVWvO9BWabBiYAyMeTt1+kQZmon3LeP9So2/voYw=";
};
meta.homepage = "https://github.com/cbarrete/tree-sitter-ledger";
};
@ -1019,15 +1030,26 @@
};
luap = buildGrammar {
language = "luap";
version = "0.0.0+rev=bfb38d2";
version = "0.0.0+rev=393915d";
src = fetchFromGitHub {
owner = "amaanq";
repo = "tree-sitter-luap";
rev = "bfb38d254f380362e26b5c559a4086ba6e92ba77";
hash = "sha256-HpKqesIa+x3EQGnWV07jv2uEW9A9TEN4bPNuecXEaFI=";
rev = "393915db4b16a792da9c60f52d11d93247d870b9";
hash = "sha256-FLRPzU1JI8PoI8vZAKXG6DtHcnSksXCwTHAS0fb4WsY=";
};
meta.homepage = "https://github.com/amaanq/tree-sitter-luap";
};
luau = buildGrammar {
language = "luau";
version = "0.0.0+rev=4f8fc20";
src = fetchFromGitHub {
owner = "amaanq";
repo = "tree-sitter-luau";
rev = "4f8fc207b3a25b07cba1d3b4066f2872dcfe201f";
hash = "sha256-vDkexlebgg/biif3MJ1c+OD8hy+4uvghIWZlqE9cQXg=";
};
meta.homepage = "https://github.com/amaanq/tree-sitter-luau";
};
m68k = buildGrammar {
language = "m68k";
version = "0.0.0+rev=d097b12";
@ -1311,12 +1333,12 @@
};
pony = buildGrammar {
language = "pony";
version = "0.0.0+rev=af8a2d4";
version = "0.0.0+rev=5fd795a";
src = fetchFromGitHub {
owner = "amaanq";
repo = "tree-sitter-pony";
rev = "af8a2d40ed813d818380e7798f16732f34d95bf6";
hash = "sha256-fgPnDU58qfZfRmBA2hBQt23TjJqiU6XobBYzRD7ZFz0=";
rev = "5fd795ae7597b568b0a356c5d243cc92162bc00c";
hash = "sha256-uwxqbWK3Zy5heGQ3aSX73X6wY0FY3ewqjsQXgDl8nb0=";
};
meta.homepage = "https://github.com/amaanq/tree-sitter-pony";
};
@ -1364,6 +1386,17 @@
};
meta.homepage = "https://github.com/zealot128/tree-sitter-pug";
};
puppet = buildGrammar {
language = "puppet";
version = "0.0.0+rev=5e1bb97";
src = fetchFromGitHub {
owner = "amaanq";
repo = "tree-sitter-puppet";
rev = "5e1bb979ea71efc0860d4bc56eb3b3f7a670d6ec";
hash = "sha256-7xqZ5nVAyflQ84Zah6M6yxpJ8qQooWl6tOodioXvsI8=";
};
meta.homepage = "https://github.com/amaanq/tree-sitter-puppet";
};
python = buildGrammar {
language = "python";
version = "0.0.0+rev=6282715";
@ -1520,12 +1553,12 @@
};
rust = buildGrammar {
language = "rust";
version = "0.0.0+rev=fbf9e50";
version = "0.0.0+rev=0a70e15";
src = fetchFromGitHub {
owner = "tree-sitter";
repo = "tree-sitter-rust";
rev = "fbf9e507d09d8b3c0bb9dfc4d46c31039a47dc4a";
hash = "sha256-hWooQfE7sWXfOkGai3hREoEulcwWT6XPT4xAc+dfjKk=";
rev = "0a70e15da977489d954c219af9b50b8a722630ee";
hash = "sha256-CrNY+4nsYQOzzVR7X+yuo4+5s6K3VHtVQyWfledKJ1U=";
};
meta.homepage = "https://github.com/tree-sitter/tree-sitter-rust";
};
@ -1542,12 +1575,12 @@
};
scheme = buildGrammar {
language = "scheme";
version = "0.0.0+rev=9a23ff3";
version = "0.0.0+rev=6abcfe3";
src = fetchFromGitHub {
owner = "6cdh";
repo = "tree-sitter-scheme";
rev = "9a23ff3df8f03da555f7679ab640a98a9e851c79";
hash = "sha256-qEJgMSS6+q3lqks2CzG3XLZrd0Pl3b8jJiD/GA5TBOc=";
rev = "6abcfe33d976ebe3e244ca80273c7e8a070441b5";
hash = "sha256-6lxpFk9YWVape/Oq2GFYcyNH8J38W+dmFdz+ykqBX0U=";
};
meta.homepage = "https://github.com/6cdh/tree-sitter-scheme";
};
@ -1575,12 +1608,12 @@
};
smali = buildGrammar {
language = "smali";
version = "0.0.0+rev=b002dce";
version = "0.0.0+rev=9bf8aa6";
src = fetchFromSourcehut {
owner = "~yotam";
repo = "tree-sitter-smali";
rev = "b002dceb9b91a6d6de45479ab4b2e9596ebbaaf3";
hash = "sha256-KZ5+3xqQkxAZcOY8UVxfycQWlaGHq9pv4MzjiIaVtLY=";
rev = "9bf8aa671a233ae2d2c6e9512c7144ce121b1fb6";
hash = "sha256-V5JnB1JT8vV5zA+OjM0a7fBGC8CEqyPcUbeD8NoRTSE=";
};
meta.homepage = "https://git.sr.ht/~yotam/tree-sitter-smali";
};
@ -1619,12 +1652,12 @@
};
sql = buildGrammar {
language = "sql";
version = "0.0.0+rev=8f1c49f";
version = "0.0.0+rev=9de72fb";
src = fetchFromGitHub {
owner = "derekstride";
repo = "tree-sitter-sql";
rev = "8f1c49febcb8944d39df8554d32c749b4f5f3158";
hash = "sha256-9/Otouynt5Cqh5UdeiMsTo+F22fBu1U+EuN7e+TYQy4=";
rev = "9de72fb40cd6d13a64c3aeeabc079c6b8dadb339";
hash = "sha256-WcKrYjOnWRf2ei4bAGH7zJJ/DEaaQ8lmAmO5LEkg17g=";
};
meta.homepage = "https://github.com/derekstride/tree-sitter-sql";
};
@ -1685,12 +1718,12 @@
};
swift = buildGrammar {
language = "swift";
version = "0.0.0+rev=05467af";
version = "0.0.0+rev=56ecc99";
src = fetchFromGitHub {
owner = "alex-pinkus";
repo = "tree-sitter-swift";
rev = "05467af73ac315fc80c7f3ef397e261f30395e2a";
hash = "sha256-4/5ZzxkMiv8qXCXM/M/+NBX9uMw46DnGTEFKbPgNNzU=";
rev = "56ecc996e5765054fc25cdae5fbddfd75a64287b";
hash = "sha256-GH0HpxAprOlOLv8zqsP1O0/RbIn93FfdgAHp56Pyw9g=";
};
generate = true;
meta.homepage = "https://github.com/alex-pinkus/tree-sitter-swift";
@ -1708,13 +1741,13 @@
};
t32 = buildGrammar {
language = "t32";
version = "0.0.0+rev=0802b36";
version = "0.0.0+rev=ff822fd";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "xasc";
repo = "tree-sitter-t32";
rev = "0802b3638a1c5022b4d55bdafa64f856ed43d7d6";
hash = "sha256-9c5EUgtvoXXZQY5AtahyfmG9SGxcjhrrOxWa0eyicqU=";
rev = "ff822fd77bb919854ba60d05f4d373d9d578d0e0";
hash = "sha256-jHVfyp8yLaxI+Aa4iH1fXpNIzIoGLdQwo7SvRGFKbFQ=";
};
meta.homepage = "https://codeberg.org/xasc/tree-sitter-t32";
};
@ -1810,12 +1843,12 @@
};
tsx = buildGrammar {
language = "tsx";
version = "0.0.0+rev=b66d19b";
version = "0.0.0+rev=286e90c";
src = fetchFromGitHub {
owner = "tree-sitter";
repo = "tree-sitter-typescript";
rev = "b66d19b9b6ec3edf3d8aff0c20646acbdaa0afb3";
hash = "sha256-YJrjxU2VmkVHTHta531fsJrx+K4Xih5kpFVEEqmvz34=";
rev = "286e90c32060032225f636a573d0e999f7766c97";
hash = "sha256-lg/FxjosZkhosllT0PyCKggV1Z2V4rPdKFD4agRLeBo=";
};
location = "tsx";
meta.homepage = "https://github.com/tree-sitter/tree-sitter-typescript";
@ -1844,12 +1877,12 @@
};
typescript = buildGrammar {
language = "typescript";
version = "0.0.0+rev=b66d19b";
version = "0.0.0+rev=286e90c";
src = fetchFromGitHub {
owner = "tree-sitter";
repo = "tree-sitter-typescript";
rev = "b66d19b9b6ec3edf3d8aff0c20646acbdaa0afb3";
hash = "sha256-YJrjxU2VmkVHTHta531fsJrx+K4Xih5kpFVEEqmvz34=";
rev = "286e90c32060032225f636a573d0e999f7766c97";
hash = "sha256-lg/FxjosZkhosllT0PyCKggV1Z2V4rPdKFD4agRLeBo=";
};
location = "typescript";
meta.homepage = "https://github.com/tree-sitter/tree-sitter-typescript";
@ -1934,12 +1967,12 @@
};
vimdoc = buildGrammar {
language = "vimdoc";
version = "0.0.0+rev=15c2fdc";
version = "0.0.0+rev=b3fca1b";
src = fetchFromGitHub {
owner = "neovim";
repo = "tree-sitter-vimdoc";
rev = "15c2fdcc57f51f1caef82fe75e1ffb733626dcae";
hash = "sha256-pke1yxPfZt4hykmT76sHpk/LOQHfcH/oII7oZyU8m6U=";
rev = "b3fca1b950ca9666bd1e891efe79470fb6dc403e";
hash = "sha256-u+w304+VJ0pinvzqNM59Xd0g5YWuOatOSn2avozqTSY=";
};
meta.homepage = "https://github.com/neovim/tree-sitter-vimdoc";
};
@ -2011,12 +2044,12 @@
};
zig = buildGrammar {
language = "zig";
version = "0.0.0+rev=9b84cb6";
version = "0.0.0+rev=0d08703";
src = fetchFromGitHub {
owner = "maxxnino";
repo = "tree-sitter-zig";
rev = "9b84cb66e7d480e7c0370f4e33e8325bac6ad09f";
hash = "sha256-IyVYRqSAqCxUK5ADXlTfNK9MhcdvDVwCJ2Y5VF/oYVs=";
rev = "0d08703e4c3f426ec61695d7617415fff97029bd";
hash = "sha256-a3W7eBUN4V3HD3YPr1+3tpuWQfIQy1Wu8qxCQx0hEnI=";
};
meta.homepage = "https://github.com/maxxnino/tree-sitter-zig";
};

View File

@ -780,6 +780,7 @@ https://github.com/jgdavey/tslime.vim/,,
https://github.com/Quramy/tsuquyomi/,,
https://github.com/folke/twilight.nvim/,,
https://github.com/leafgarland/typescript-vim/,,
https://github.com/jose-elias-alvarez/typescript.nvim/,,
https://github.com/SirVer/ultisnips/,,
https://github.com/mbbill/undotree/,,
https://github.com/chrisbra/unicode.vim/,,

View File

@ -7,10 +7,12 @@ vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
name = "lua";
publisher = "sumneko";
version = "3.5.6";
sha256 = "sha256-Unzs9rX/0MlQprSvScdBCCFMeLCaGzWsMbcFqSKY2XY=";
version = "3.6.19";
sha256 = "sha256-7f8zovJS1lNwrUryxgadrBbNRw/OwFqry57JWKY1D8E=";
};
# Running chmod in runtime will lock up extension
# indefinitely if the binary is in nix store.
patches = [ ./remove-chmod.patch ];
postInstall = ''

View File

@ -1,8 +1,6 @@
diff --git a/client/out/languageserver.js b/client/out/languageserver.js
index 6c7429c..6f53aa4 100644
--- a/client/out/languageserver.js
+++ b/client/out/languageserver.js
@@ -79,11 +79,9 @@ class LuaClient {
@@ -145,11 +145,9 @@
break;
case "linux":
command = this.context.asAbsolutePath(path.join('server', binDir ? binDir : 'bin-Linux', 'lua-language-server'));
@ -12,5 +10,5 @@ index 6c7429c..6f53aa4 100644
command = this.context.asAbsolutePath(path.join('server', binDir ? binDir : 'bin-macOS', 'lua-language-server'));
- yield fs.promises.chmod(command, '777');
break;
}
let serverOptions = {
default:
throw new Error(`Unsupported operating system "${platform}"!`);

View File

@ -363,7 +363,7 @@ checksum = "fdde5c9cd29ebd706ce1b35600920a33550e402fc998a2e53ad3b42c3c47a192"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.12",
"syn 2.0.15",
]
[[package]]
@ -588,9 +588,9 @@ checksum = "7439becb5fafc780b6f4de382b1a7a3e70234afe783854a4702ee8adbb838609"
[[package]]
name = "concurrent-queue"
version = "2.1.0"
version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c278839b831783b70278b14df4d45e1beb1aad306c07bb796637de9a0e323e8e"
checksum = "62ec6771ecfa0762d24683ee5a32ad78487a3d3afdc0fb8cae19d2c5deb50b7c"
dependencies = [
"crossbeam-utils",
]
@ -636,9 +636,9 @@ dependencies = [
[[package]]
name = "core-foundation-sys"
version = "0.8.3"
version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc"
checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa"
[[package]]
name = "core-graphics"
@ -688,9 +688,9 @@ dependencies = [
[[package]]
name = "crossbeam-channel"
version = "0.5.7"
version = "0.5.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf2b3e8478797446514c91ef04bafcb59faba183e621ad488df88983cc14128c"
checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200"
dependencies = [
"cfg-if 1.0.0",
"crossbeam-utils",
@ -1058,13 +1058,13 @@ dependencies = [
[[package]]
name = "errno"
version = "0.3.0"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "50d6a0976c999d473fe89ad888d5a284e55366d9dc9038b1ba2aa15128c4afa0"
checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a"
dependencies = [
"errno-dragonfly",
"libc",
"windows-sys 0.45.0",
"windows-sys 0.48.0",
]
[[package]]
@ -1098,9 +1098,9 @@ dependencies = [
[[package]]
name = "evalexpr"
version = "8.1.0"
version = "8.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aacfb566035f8cd02f6ec9247c242f3f9904a0b288ea383abcf4e95df6436a34"
checksum = "6aed2b80295745e5fed7a9e869bb8b592961584379df6fddcf0922877206974e"
[[package]]
name = "event-listener"
@ -1128,7 +1128,7 @@ dependencies = [
"flume",
"half",
"lebe",
"miniz_oxide",
"miniz_oxide 0.6.2",
"rayon-core",
"smallvec",
"zune-inflate",
@ -1179,6 +1179,15 @@ dependencies = [
"instant",
]
[[package]]
name = "fdeflate"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d329bdeac514ee06249dabc27877490f17f5d371ec693360768b838e19f3ae10"
dependencies = [
"simd-adler32",
]
[[package]]
name = "find-crate"
version = "0.6.3"
@ -1206,7 +1215,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a8a2db397cb1c8772f31494cb8917e48cd1e64f0fa7efac59fbd741a0a8ce841"
dependencies = [
"crc32fast",
"miniz_oxide",
"miniz_oxide 0.6.2",
]
[[package]]
@ -1234,7 +1243,7 @@ dependencies = [
"futures-sink",
"nanorand",
"pin-project",
"spin 0.9.7",
"spin 0.9.8",
]
[[package]]
@ -1302,7 +1311,7 @@ checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.12",
"syn 2.0.15",
]
[[package]]
@ -1411,9 +1420,9 @@ checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964"
[[package]]
name = "futures-lite"
version = "1.12.0"
version = "1.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7694489acd39452c77daa48516b894c153f192c3578d5a839b62c58099fcbf48"
checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce"
dependencies = [
"fastrand",
"futures-core",
@ -1432,7 +1441,7 @@ checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.12",
"syn 2.0.15",
]
[[package]]
@ -1516,9 +1525,9 @@ dependencies = [
[[package]]
name = "getrandom"
version = "0.2.8"
version = "0.2.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31"
checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4"
dependencies = [
"cfg-if 1.0.0",
"js-sys",
@ -1774,9 +1783,9 @@ dependencies = [
[[package]]
name = "h2"
version = "0.3.16"
version = "0.3.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5be7b54589b581f624f566bf5d8eb2bab1db736c51528720b6bd36b96b55924d"
checksum = "17f8a914c2987b688368b5138aa05321db91f4090cf26118185672ad588bce21"
dependencies = [
"bytes",
"fnv",
@ -1887,9 +1896,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
[[package]]
name = "hyper"
version = "0.14.25"
version = "0.14.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cc5e554ff619822309ffd57d8734d77cd5ce6238bc956f037ea06c58238c9899"
checksum = "ab302d72a6f11a3b910431ff93aae7e773078c769f0a3ef15fb9ec692ed147d4"
dependencies = [
"bytes",
"futures-channel",
@ -2016,13 +2025,13 @@ dependencies = [
[[package]]
name = "io-lifetimes"
version = "1.0.9"
version = "1.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09270fd4fa1111bc614ed2246c7ef56239a3063d5be0d1ec3b589c505d400aeb"
checksum = "9c66c74d2ae7e79a5a8f7ac924adbe38ee42a859c6539ad869eb51f0b52dc220"
dependencies = [
"hermit-abi 0.3.1",
"libc",
"windows-sys 0.45.0",
"windows-sys 0.48.0",
]
[[package]]
@ -2033,14 +2042,14 @@ checksum = "12b6ee2129af8d4fb011108c73d99a1b83a85977f23b82460c0ae2e25bb4b57f"
[[package]]
name = "is-terminal"
version = "0.4.6"
version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "256017f749ab3117e93acb91063009e1f1bb56d03965b14c2c8df4eb02c524d8"
checksum = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f"
dependencies = [
"hermit-abi 0.3.1",
"io-lifetimes",
"rustix",
"windows-sys 0.45.0",
"windows-sys 0.48.0",
]
[[package]]
@ -2157,9 +2166,9 @@ checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc"
[[package]]
name = "kurbo"
version = "0.9.2"
version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5174361704392c4a640258d5020e14ec820a8c1820d5ba67b2311962f411b52b"
checksum = "28a2d0c1781729f69dbea30f968608cadfaeb6582e5ce903a167a5216b53cd0f"
dependencies = [
"arrayvec 0.7.2",
]
@ -2215,9 +2224,9 @@ dependencies = [
[[package]]
name = "libavif-sys"
version = "0.14.1"
version = "0.14.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a8ed7ab954ad8e287cb69d8aadfa577a494b478864aaf7d89efefdad8c6922d5"
checksum = "2c7b9293d221c7d4b4290d4479c491a09b877943208593f1563d8521c4b55930"
dependencies = [
"cmake",
"libc",
@ -2227,9 +2236,9 @@ dependencies = [
[[package]]
name = "libc"
version = "0.2.140"
version = "0.2.141"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c"
checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5"
[[package]]
name = "libdav1d-sys"
@ -2281,9 +2290,9 @@ checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f"
[[package]]
name = "linux-raw-sys"
version = "0.3.1"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d59d8c75012853d2e872fb56bc8a2e53718e2cafe1a4c823143141c6d90c322f"
checksum = "9b085a4f2cde5781fc4b1717f2e86c62f5cda49de7ba99a7c2eae02b61c9064c"
[[package]]
name = "lock_api"
@ -2460,6 +2469,16 @@ dependencies = [
"adler",
]
[[package]]
name = "miniz_oxide"
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7"
dependencies = [
"adler",
"simd-adler32",
]
[[package]]
name = "mio"
version = "0.8.6"
@ -2636,9 +2655,9 @@ checksum = "0676bb32a98c1a483ce53e500a81ad9c3d5b3f7c920c28c24e9cb0980d0b5bc8"
[[package]]
name = "notan"
version = "0.9.4"
version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08d94d6b9c12dae32ed4c0d195b9767c77b3bbc6aeb05765b750dc0e4fb7f44e"
checksum = "4fe05ab2904de4bad18950790a346b21ace46399308a1257cc96727b42cdf465"
dependencies = [
"notan_app",
"notan_backend",
@ -2654,9 +2673,9 @@ dependencies = [
[[package]]
name = "notan_app"
version = "0.9.4"
version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e3270760bbc1945e953e12b0a73904200ea1d369806ce9dbdd75dd5aa12fabf8"
checksum = "5cf05fb9bd79b1a75b7d05f4d524b252ffd3b65e0334abc0988563b9e8ed3d22"
dependencies = [
"bytemuck",
"downcast-rs",
@ -2680,9 +2699,9 @@ dependencies = [
[[package]]
name = "notan_backend"
version = "0.9.4"
version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "46840ee15153745cf7c4c92aaeb94affb9ac2683725dcf5b484ec46b553467f2"
checksum = "157b87a240d02a8cacdfb3a6e916f2db19ab79c108dcb70de1af028f02852c4c"
dependencies = [
"notan_web",
"notan_winit",
@ -2690,18 +2709,18 @@ dependencies = [
[[package]]
name = "notan_core"
version = "0.9.4"
version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4b4b7defb83b378e903917b79c58427a1cb91cb2e22a8254fc559d2c2ba914e6"
checksum = "0d9b634a7f30f311802a031b3b02287365e48c10a14cb44f2576acfaa64f2e11"
dependencies = [
"web-sys",
]
[[package]]
name = "notan_draw"
version = "0.9.4"
version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28ab4cb11d4d00bc325045a53d2d1ae2dc449dfca80df7a663015bb4759e7bce"
checksum = "5e89627179eaa85bec2de5966562a89ba6cb5d72175eadb983421f463b25687b"
dependencies = [
"log",
"lyon",
@ -2717,9 +2736,9 @@ dependencies = [
[[package]]
name = "notan_egui"
version = "0.9.4"
version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77ccda210aa1e65395daf4987aae412309f83c3b6bfa2e5794de585687c4d138"
checksum = "4119d7b4cd389af870ae7ff9e9f9ab39ffc6766d5c65e52f1c5bc02d1393d69c"
dependencies = [
"bytemuck",
"egui",
@ -2731,9 +2750,9 @@ dependencies = [
[[package]]
name = "notan_glow"
version = "0.9.4"
version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "693f27c0f625dbb4225011a51c077ce32990643ba38ce0985ce625d2680d74d6"
checksum = "48961f4ccc256904221e4be862a57bc0963a20b2b30333c7eeffeae14ee4cf45"
dependencies = [
"bytemuck",
"glow",
@ -2748,9 +2767,9 @@ dependencies = [
[[package]]
name = "notan_glyph"
version = "0.9.4"
version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1153c4a4b416c42c1d63691dfde3c4af94cdfb37523ab292073c2b467282d5eb"
checksum = "c24760e1fa2ab081fc493ccd2f2a6946864d87b8806767dfd998eb7365aae3c4"
dependencies = [
"bytemuck",
"glyph_brush",
@ -2762,9 +2781,9 @@ dependencies = [
[[package]]
name = "notan_graphics"
version = "0.9.4"
version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "91c38da02cbe02a90aa76336796956914ecc89c541d4de9913965619ad1e198b"
checksum = "64b8437c9bb4f96b1fd18ae3e61a6b1a437ac32f3ccf078de531ab38cd6861ee"
dependencies = [
"bytemuck",
"glsl-layout",
@ -2777,9 +2796,9 @@ dependencies = [
[[package]]
name = "notan_input"
version = "0.9.4"
version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de23a07f8a1203487179bcf257a938ce87747c02d53b8c8c364d9a3f779c01d0"
checksum = "78c182ba310d14e24e39fdbbb523f8686d2bcd85a8e3415ac15a1b203383b320"
dependencies = [
"hashbrown 0.13.2",
"log",
@ -2789,9 +2808,9 @@ dependencies = [
[[package]]
name = "notan_macro"
version = "0.9.4"
version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94ce02dadae5862a47e1acfdd1f5bb8427829ab22ca0462374b241d5a308fcb6"
checksum = "cbf38df1753b05ffd6e4f3e6cf309f8f2c1f6d60d97b0b29f0da81da3fcd35b4"
dependencies = [
"cfg_aliases",
"glsl-to-spirv",
@ -2804,18 +2823,18 @@ dependencies = [
[[package]]
name = "notan_math"
version = "0.9.4"
version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5361d47f89ede17397790c8c81ae3ec789b2a18c8b0f1459146e003c116d9856"
checksum = "4768d6a1f20f635ae20dffde5f4d1d4d84bfd8caebe312e4c4ca7d134f2aae1d"
dependencies = [
"glam",
]
[[package]]
name = "notan_text"
version = "0.9.4"
version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c78ef6196517146ed3be9f21c93acff1457b80f8afb50387f573eeb5ffac7e41"
checksum = "db09dd4b60817fff7cc8852837e5dc97ea7520d894dff29d01f2d3b74480aa7e"
dependencies = [
"hashbrown 0.13.2",
"lazy_static",
@ -2829,9 +2848,9 @@ dependencies = [
[[package]]
name = "notan_utils"
version = "0.9.4"
version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "444beb25a698cb9a1df22f062062c232d8f0625f4cb20f47a0ba4c389ce65770"
checksum = "7293931f914054e89fd958112ad34f707ec5e89caedb29fdfafeb7f71744318b"
dependencies = [
"instant",
"log",
@ -2839,9 +2858,9 @@ dependencies = [
[[package]]
name = "notan_web"
version = "0.9.4"
version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2108fe65b2ac951ff34919f65c47065890164e70695e9d8a73837eca88590140"
checksum = "2efe6523a123951d028a30275d8891d6678fa41cfadd4b0b29182c1755f7152c"
dependencies = [
"console_error_panic_hook",
"futures-util",
@ -2858,9 +2877,9 @@ dependencies = [
[[package]]
name = "notan_winit"
version = "0.9.4"
version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "355289e0ca3284d3268a20580b4acd2b2d24c4a7e01360e188456b5b11700108"
checksum = "c407c236419054799047de0880e0ac2cec2d9666e2c2a006ee57424845aef396"
dependencies = [
"glutin",
"glutin-winit",
@ -3037,9 +3056,9 @@ checksum = "df3b9834c1e95694a05a828b59f55fa2afec6288359cda67146126b3f90a55d7"
[[package]]
name = "objc2"
version = "0.3.0-beta.3.patch-leaks.2"
version = "0.3.0-beta.3.patch-leaks.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e7d9bb2ee6b71d02b1b3554ed600d267ee9a2796acc9fa43fb7748e13fe072dd"
checksum = "7e01640f9f2cb1220bbe80325e179e532cb3379ebcd1bf2279d703c19fe3a468"
dependencies = [
"block2",
"objc-sys",
@ -3075,7 +3094,7 @@ dependencies = [
[[package]]
name = "oculante"
version = "0.6.58"
version = "0.6.63"
dependencies = [
"anyhow",
"arboard",
@ -3116,7 +3135,6 @@ dependencies = [
"strum_macros",
"tiff 0.9.0",
"tiny-skia 0.8.3",
"tonemap",
"turbojpeg",
"usvg",
"webbrowser",
@ -3211,9 +3229,9 @@ dependencies = [
[[package]]
name = "parking"
version = "2.0.0"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72"
checksum = "14f2252c834a40ed9bb5422029649578e63aa341ac401f74e719dd1afda8394e"
[[package]]
name = "parking_lot"
@ -3394,21 +3412,22 @@ dependencies = [
[[package]]
name = "png"
version = "0.17.7"
version = "0.17.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5d708eaf860a19b19ce538740d2b4bdeeb8337fa53f7738455e706623ad5c638"
checksum = "aaeebc51f9e7d2c150d3f3bfeb667f2aa985db5ef1e3d212847bdedb488beeaa"
dependencies = [
"bitflags",
"crc32fast",
"fdeflate",
"flate2",
"miniz_oxide",
"miniz_oxide 0.7.1",
]
[[package]]
name = "polling"
version = "2.6.0"
version = "2.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e1f879b2998099c2d69ab9605d145d5b661195627eccc680002c4918a7fb6fa"
checksum = "4be1c66a6add46bff50935c313dae30a5030cf8385c5206e8a95e9e9def974aa"
dependencies = [
"autocfg",
"bitflags",
@ -3417,7 +3436,7 @@ dependencies = [
"libc",
"log",
"pin-project-lite",
"windows-sys 0.45.0",
"windows-sys 0.48.0",
]
[[package]]
@ -3474,9 +3493,9 @@ checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068"
[[package]]
name = "proc-macro2"
version = "1.0.54"
version = "1.0.56"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e472a104799c74b514a57226160104aa483546de37e839ec50e3c2e41dd87534"
checksum = "2b63bdb0cd06f1f4dedf69b254734f9b45af66e4a031e42a7480257d9898b435"
dependencies = [
"unicode-ident",
]
@ -3577,9 +3596,9 @@ dependencies = [
[[package]]
name = "rav1e"
version = "0.6.3"
version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "277898094f0d03c6a609e491324102daf5080e71c06b4b25e5acf8b89d26c945"
checksum = "be22fc799d8dc5573ba290fd436cea91ccfc0c6b7e121750ea5939cc786429ec"
dependencies = [
"arbitrary",
"arg_enum_proc_macro",
@ -3750,9 +3769,9 @@ dependencies = [
[[package]]
name = "resvg"
version = "0.30.0"
version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3781eed5e82686ce0cc64b081b70920487ad709525b4555060a63d53636dd46f"
checksum = "84558b03726d979bf0444a5a88791cd451108fe45db699f3324388d700c048dc"
dependencies = [
"gif",
"jpeg-decoder",
@ -3876,16 +3895,16 @@ dependencies = [
[[package]]
name = "rustix"
version = "0.37.6"
version = "0.37.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d097081ed288dfe45699b72f5b5d648e5f15d64d900c7080273baa20c16a6849"
checksum = "722529a737f5a942fdbac3a46cee213053196737c5eaa3386d52e85b786f2659"
dependencies = [
"bitflags",
"errno",
"io-lifetimes",
"libc",
"linux-raw-sys",
"windows-sys 0.45.0",
"windows-sys 0.48.0",
]
[[package]]
@ -4033,29 +4052,29 @@ dependencies = [
[[package]]
name = "serde"
version = "1.0.159"
version = "1.0.160"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c04e8343c3daeec41f58990b9d77068df31209f2af111e059e9fe9646693065"
checksum = "bb2f3770c8bce3bcda7e149193a069a0f4365bda1fa5cd88e03bca26afc1216c"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
version = "1.0.159"
version = "1.0.160"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c614d17805b093df4b147b51339e7e44bf05ef59fba1e45d83500bcfb4d8585"
checksum = "291a097c63d8497e00160b166a967a4a79c64f3facdd01cbd7502231688d77df"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.12",
"syn 2.0.15",
]
[[package]]
name = "serde_json"
version = "1.0.95"
version = "1.0.96"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d721eca97ac802aa7777b701877c8004d950fc142651367300d21c1cc0194744"
checksum = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1"
dependencies = [
"itoa",
"ryu",
@ -4118,9 +4137,9 @@ dependencies = [
[[package]]
name = "simba"
version = "0.8.0"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "50582927ed6f77e4ac020c057f37a268fc6aebc29225050365aacbb9deeeddc4"
checksum = "061507c94fc6ab4ba1c9a0305018408e312e17c041eb63bef8aa726fa33aceae"
dependencies = [
"approx",
"num-complex",
@ -4220,9 +4239,9 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
[[package]]
name = "spin"
version = "0.9.7"
version = "0.9.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c0959fd6f767df20b231736396e4f602171e00d95205676286e79d4a4eb67bef"
checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
dependencies = [
"lock_api",
]
@ -4326,9 +4345,9 @@ dependencies = [
[[package]]
name = "syn"
version = "2.0.12"
version = "2.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "79d9531f94112cfc3e4c8f5f02cb2b58f72c97b7efd85f70203cc6d8efda5927"
checksum = "a34fcf3e8b60f57e6a14301a2e916d323af98b0ea63c599441eec8558660c822"
dependencies = [
"proc-macro2",
"quote",
@ -4393,7 +4412,7 @@ checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.12",
"syn 2.0.15",
]
[[package]]
@ -4578,12 +4597,6 @@ dependencies = [
"winnow",
]
[[package]]
name = "tonemap"
version = "0.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2d97478858c823077ed7bc79d6a84be4e0af8e9882b222e61a8a5dbae458f45d"
[[package]]
name = "tower-service"
version = "0.3.2"
@ -4754,9 +4767,9 @@ checksum = "e8db7427f936968176eaa7cdf81b7f98b980b18495ec28f1b5791ac3bfe3eea9"
[[package]]
name = "usvg"
version = "0.30.0"
version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "15cc6c2525931fafd8dd1b1169805c02b6ad8aeb85ca454413cc251df0592220"
checksum = "67a6cab2bc32b5a4310a06c7d3c6b51b5c7897b1f7c7d2bf73bf052f5754950f"
dependencies = [
"base64",
"log",
@ -4769,9 +4782,9 @@ dependencies = [
[[package]]
name = "usvg-parser"
version = "0.30.0"
version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8177e95723471c172d1163d4d6b28c0ede7a3ef6389a117b69ae323faf8b62a1"
checksum = "b2352a2c05655a7e4d3dca76cf65764efce35527472668bae5c6fc876b4c996d"
dependencies = [
"data-url",
"flate2",
@ -4786,9 +4799,9 @@ dependencies = [
[[package]]
name = "usvg-text-layout"
version = "0.30.0"
version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0accc97b136de1893848eede9b1b44e8e0acaaa687e65c64097335029fd72c54"
checksum = "392baafaaa861ff8c9863546f92a60c51380fc49aa185a6840fb2af564c73530"
dependencies = [
"fontdb",
"kurbo",
@ -4802,9 +4815,9 @@ dependencies = [
[[package]]
name = "usvg-tree"
version = "0.30.0"
version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a58ac99ef85e0a970d0b1cdb89b9327069d853876da8b64a2bd96fc0d25cad8c"
checksum = "f9cb92fe40e0ffb45fd01349187e276a695f6c676a016d72ba09510009594829"
dependencies = [
"kurbo",
"rctree",
@ -5045,9 +5058,9 @@ dependencies = [
[[package]]
name = "webbrowser"
version = "0.8.8"
version = "0.8.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "579cc485bd5ce5bfa0d738e4921dd0b956eca9800be1fd2e5257ebe95bc4617e"
checksum = "b692165700260bbd40fbc5ff23766c03e339fbaca907aeea5cb77bf0a553ca83"
dependencies = [
"core-foundation",
"dirs 4.0.0",
@ -5141,7 +5154,7 @@ version = "0.44.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e745dab35a0c4c77aa3ce42d595e13d2003d6902d6b08c9ef5fc326d08da12b"
dependencies = [
"windows-targets",
"windows-targets 0.42.2",
]
[[package]]
@ -5163,12 +5176,12 @@ version = "0.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7"
dependencies = [
"windows_aarch64_gnullvm",
"windows_aarch64_gnullvm 0.42.2",
"windows_aarch64_msvc 0.42.2",
"windows_i686_gnu 0.42.2",
"windows_i686_msvc 0.42.2",
"windows_x86_64_gnu 0.42.2",
"windows_x86_64_gnullvm",
"windows_x86_64_gnullvm 0.42.2",
"windows_x86_64_msvc 0.42.2",
]
@ -5178,7 +5191,16 @@ version = "0.45.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
dependencies = [
"windows-targets",
"windows-targets 0.42.2",
]
[[package]]
name = "windows-sys"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
dependencies = [
"windows-targets 0.48.0",
]
[[package]]
@ -5187,21 +5209,42 @@ version = "0.42.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071"
dependencies = [
"windows_aarch64_gnullvm",
"windows_aarch64_gnullvm 0.42.2",
"windows_aarch64_msvc 0.42.2",
"windows_i686_gnu 0.42.2",
"windows_i686_msvc 0.42.2",
"windows_x86_64_gnu 0.42.2",
"windows_x86_64_gnullvm",
"windows_x86_64_gnullvm 0.42.2",
"windows_x86_64_msvc 0.42.2",
]
[[package]]
name = "windows-targets"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5"
dependencies = [
"windows_aarch64_gnullvm 0.48.0",
"windows_aarch64_msvc 0.48.0",
"windows_i686_gnu 0.48.0",
"windows_i686_msvc 0.48.0",
"windows_x86_64_gnu 0.48.0",
"windows_x86_64_gnullvm 0.48.0",
"windows_x86_64_msvc 0.48.0",
]
[[package]]
name = "windows_aarch64_gnullvm"
version = "0.42.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
[[package]]
name = "windows_aarch64_gnullvm"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc"
[[package]]
name = "windows_aarch64_msvc"
version = "0.36.1"
@ -5214,6 +5257,12 @@ version = "0.42.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
[[package]]
name = "windows_aarch64_msvc"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3"
[[package]]
name = "windows_i686_gnu"
version = "0.36.1"
@ -5226,6 +5275,12 @@ version = "0.42.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
[[package]]
name = "windows_i686_gnu"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241"
[[package]]
name = "windows_i686_msvc"
version = "0.36.1"
@ -5238,6 +5293,12 @@ version = "0.42.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
[[package]]
name = "windows_i686_msvc"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00"
[[package]]
name = "windows_x86_64_gnu"
version = "0.36.1"
@ -5250,12 +5311,24 @@ version = "0.42.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
[[package]]
name = "windows_x86_64_gnu"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1"
[[package]]
name = "windows_x86_64_gnullvm"
version = "0.42.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
[[package]]
name = "windows_x86_64_gnullvm"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953"
[[package]]
name = "windows_x86_64_msvc"
version = "0.36.1"
@ -5268,6 +5341,12 @@ version = "0.42.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
[[package]]
name = "windows_x86_64_msvc"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"
[[package]]
name = "windres"
version = "0.2.2"

View File

@ -19,16 +19,18 @@
rustPlatform.buildRustPackage rec {
pname = "oculante";
version = "0.6.58";
version = "0.6.63";
src = fetchFromGitHub {
owner = "woelper";
repo = pname;
rev = version;
sha256 = "sha256-Cs7f6RSOoZFOtQWH67l3A6kv/o2lN5NOn+BEasV03RU=";
sha256 = "sha256-ynxGpx8LLcd4/n9hz/bbhpZUxqX1sPS7LFYPZ22hTxo=";
};
cargoLock.lockFile = ./Cargo.lock;
cargoLock = {
lockFile = ./Cargo.lock;
};
nativeBuildInputs = [
cmake
@ -63,6 +65,6 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/woelper/oculante";
changelog = "https://github.com/woelper/oculante/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ dit7ya ];
maintainers = with maintainers; [ dit7ya figsoda ];
};
}

View File

@ -0,0 +1,97 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, perl
, tcl
, tcllib
, tk
, expat
, bwidget
, python3
, texlive
, survex
, makeWrapper
, fmt
, proj
, wxGTK32
, vtk
, freetype
, libjpeg
, gettext
, libGL
, libGLU
, sqlite
, libtiff
, curl
, tkimg
}:
stdenv.mkDerivation rec {
pname = "therion";
version = "6.1.7";
src = fetchFromGitHub {
owner = "therion";
repo = "therion";
rev = "v${version}";
hash = "sha256-q+p1akGfzBeZejeYiJ8lrSbEIMTsX5YuIG/u35oh0JI=";
};
nativeBuildInputs = [
cmake
pkg-config
perl
python3
texlive.combined.scheme-tetex
makeWrapper
tcl.tclPackageHook
];
preConfigure = ''
export OUTDIR=$out
'';
cmakeFlags = [
"-DBUILD_THBOOK=OFF"
];
buildInputs = [
expat
tkimg
proj
wxGTK32
vtk
tk
freetype
libjpeg
gettext
libGL
libGLU
sqlite
libtiff
curl
fmt
tcl
tcllib
bwidget
];
fixupPhase = ''
runHook preFixup
wrapProgram $out/bin/therion \
--prefix PATH : ${lib.makeBinPath [ survex texlive.combined.scheme-tetex ]}
wrapProgram $out/bin/xtherion \
--prefix PATH : ${lib.makeBinPath [ tk ]}
runHook postFixup
'';
meta = with lib; {
description = "Therion cave surveying software";
homepage = "https://therion.speleo.sk/";
changelog = "https://github.com/therion/therion/blob/${src.rev}/CHANGES";
license = licenses.gpl2Only;
maintainers = with maintainers; [ matthewcroughan ];
};
}

View File

@ -331,7 +331,7 @@ let
buildPhase = let
buildCommand = target: ''
ninja -C "${buildPath}" -j$NIX_BUILD_CORES "${target}"
TERM=dumb ninja -C "${buildPath}" -j$NIX_BUILD_CORES "${target}"
(
source chrome/installer/linux/common/installer.include
PACKAGE=$packageName
@ -341,7 +341,11 @@ let
'';
targets = extraAttrs.buildTargets or [];
commands = map buildCommand targets;
in lib.concatStringsSep "\n" commands;
in ''
runHook preBuild
${lib.concatStringsSep "\n" commands}
runHook postBuild
'';
postFixup = ''
# Make sure that libGLESv2 and libvulkan are found by dlopen.

View File

@ -17,7 +17,7 @@ buildGoModule rec {
ldflags = [
"-w"
"-s"
"-X main.version=v${version}"
"-X main.version=${version}"
];
meta = with lib; {

View File

@ -0,0 +1,28 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "terraform-backend-git";
version = "0.1.4";
src = fetchFromGitHub {
owner = "plumber-cd";
repo = "terraform-backend-git";
rev = "v${version}";
hash = "sha256-nRh2eIVVBdb8jFfgmPoOk4y0TDoCeng50TRA+nphn58=";
};
vendorHash = "sha256-Y/4UgG/2Vp+gxBnGrNpAgRNfPZWJXhVo8TVa/VfOYt0=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Terraform HTTP Backend implementation that uses Git repository as storage";
homepage = "https://github.com/plumber-cd/terraform-backend-git";
changelog = "https://github.com/plumber-cd/terraform-backend-git/blob/${src.rev}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ blaggacao ];
};
}

View File

@ -17,14 +17,14 @@
let
pname = "qownnotes";
appname = "QOwnNotes";
version = "23.4.7";
version = "23.5.0";
in
stdenv.mkDerivation {
inherit pname appname version;
src = fetchurl {
url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz";
sha256 = "sha256-E9ap7TcICVwalPfScPEcn4lgNkDI2sPtdIgwRQkcOd0=";
sha256 = "sha256-W1bu3isEe1j7XTj+deLNk6Ncssy2UKG+eF36fe1FFWs=";
};
nativeBuildInputs = [

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "go-chromecast";
version = "0.2.12";
version = "0.3.1";
src = fetchFromGitHub {
owner = "vishen";
repo = pname;
rev = "v${version}";
sha256 = "sha256-h8qWwMaEhXnj6ZSrKAXBVbrMR0je41EoOtFeN9XlCuk=";
hash = "sha256-Kzo8iWj4mtnX1Jxm2sLsnmEOmpzScxWHZ/sLYYm3vQI=";
};
vendorSha256 = "sha256-PpMLHuJR6irp+QHhzguwGtBy30HM7DR0tNGiwB07M5E=";
vendorHash = "sha256-cEUlCR/xtPJJSWplV1COwV6UfzSmVArF4V0pJRk+/Og=";
ldflags = [ "-s" "-w" "-X main.version=${version}" "-X main.commit=${src.rev}" "-X main.date=unknown" ];
@ -20,6 +20,5 @@ buildGoModule rec {
description = "CLI for Google Chromecast, Home devices and Cast Groups";
license = licenses.asl20;
maintainers = with maintainers; [ marsam ];
broken = true; # build fails with go > 1.17
};
}

View File

@ -7,7 +7,7 @@ index cfcb0abbf..2ce564f6f 100644
RTLDRMOD hMod = NIL_RTLDRMOD;
- int rc = RTLdrLoadSystemEx(VBOX_ALSA_LIB, RTLDRLOAD_FLAGS_NO_UNLOAD, &hMod);
+ int rc = RTLdrLoad(VBOX_ALSA_LIB, &hMod);
+ int rc = RTLdrLoadEx(VBOX_ALSA_LIB, &hMod, RTLDRLOAD_FLAGS_NO_UNLOAD, nullptr);
if (RT_SUCCESS(rc))
{
for (uintptr_t i = 0; i < RT_ELEMENTS(SharedFuncs); i++)
@ -20,7 +20,7 @@ index a17fc93f9..148f5c39a 100644
RTLDRMOD hMod = NIL_RTLDRMOD;
- int rc = RTLdrLoadSystemEx(VBOX_PULSE_LIB, RTLDRLOAD_FLAGS_NO_UNLOAD, &hMod);
+ int rc = RTLdrLoad(VBOX_PULSE_LIB, &hMod);
+ int rc = RTLdrLoadEx(VBOX_PULSE_LIB, &hMod, RTLDRLOAD_FLAGS_NO_UNLOAD, nullptr);
if (RT_SUCCESS(rc))
{
for (unsigned i = 0; i < RT_ELEMENTS(g_aImportedFunctions); i++)

View File

@ -19,17 +19,17 @@ in
lib.checkListOfEnum "${pname}: theme variants" [ "default" "purple" "pink" "red" "orange" "yellow" "green" "teal" "grey" "all" ] themeVariants
lib.checkListOfEnum "${pname}: color variants" [ "standard" "light" "dark" ] colorVariants
lib.checkListOfEnum "${pname}: size variants" [ "standard" "compact" ] sizeVariants
lib.checkListOfEnum "${pname}: tweaks" [ "nord" "black" "dracula" "rimless" "normal" ] tweaks
lib.checkListOfEnum "${pname}: tweaks" [ "nord" "black" "dracula" "gruvbox" "rimless" "normal" ] tweaks
stdenvNoCC.mkDerivation rec {
inherit pname;
version = "2022.11.11";
version = "2023.04.11";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
hash = "sha256-3uiQYiseNEKDahjurjnDj9pakx1p94BfsR3LBO2dd/s=";
hash = "sha256-lVHDQmu9GLesasmI2GQ0hx4f2NtgaM4IlJk/hXe2XzY=";
};
nativeBuildInputs = [

View File

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, pkg-config
, gnome
, gtk3
@ -12,7 +11,6 @@
, gettext
, itstool
, vala
, python3
, libxml2
, libgee
, libgnome-games-support
@ -24,30 +22,17 @@
stdenv.mkDerivation rec {
pname = "gnome-nibbles";
version = "3.38.2";
version = "3.38.3";
src = fetchurl {
url = "mirror://gnome/sources/gnome-nibbles/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1naknfbciydbym79a0jq039xf0033z8gyln48c0qsbcfr2qn8yj5";
sha256 = "l1/eHYPHsVs5Lqx6NZFhKQ/IrrdgXBHnHO4MPDJrXmE=";
};
patches = [
# Fix build with recent Vala.
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-nibbles/-/commit/62964e9256fcac616109af874dbb2bd8342a9853.patch";
sha256 = "4VijELRxycS8rwi1HU9U3h9K/VtdQjJntfdtMN9Uz34=";
})
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-nibbles/-/commit/1b48446068608aff9b5edf1fdbd4b8c0d9f0be94.patch";
sha256 = "X0+Go5ae4F06WTPDYc2HIIax8X4RDgUGO6A6Qp8UifQ=";
})
];
nativeBuildInputs = [
meson
ninja
vala
python3
pkg-config
wrapGAppsHook
gettext

View File

@ -79,7 +79,7 @@ dependencies = [
[[package]]
name = "cxx"
version = "1.0.86"
version = "1.0.94"
dependencies = [
"cc",
"cxx-build",
@ -94,7 +94,7 @@ dependencies = [
[[package]]
name = "cxx-build"
version = "1.0.86"
version = "1.0.94"
dependencies = [
"cc",
"codespan-reporting",
@ -105,17 +105,17 @@ dependencies = [
"proc-macro2",
"quote",
"scratch",
"syn",
"syn 2.0.15",
]
[[package]]
name = "cxx-gen"
version = "0.7.86"
version = "0.7.94"
dependencies = [
"codespan-reporting",
"proc-macro2",
"quote",
"syn",
"syn 2.0.15",
]
[[package]]
@ -129,22 +129,22 @@ dependencies = [
[[package]]
name = "cxxbridge-cmd"
version = "1.0.86"
version = "1.0.94"
dependencies = [
"clap",
"codespan-reporting",
"proc-macro2",
"quote",
"syn",
"syn 2.0.15",
]
[[package]]
name = "cxxbridge-flags"
version = "1.0.86"
version = "1.0.94"
[[package]]
name = "cxxbridge-macro"
version = "1.0.86"
version = "1.0.94"
dependencies = [
"clang-ast",
"cxx",
@ -154,7 +154,7 @@ dependencies = [
"quote",
"serde",
"serde_json",
"syn",
"syn 2.0.15",
]
[[package]]
@ -256,18 +256,18 @@ checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160"
[[package]]
name = "proc-macro2"
version = "1.0.49"
version = "1.0.56"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57a8eca9f9c4ffde41714334dee777596264c7825420f521abc92b5b5deb63a5"
checksum = "2b63bdb0cd06f1f4dedf69b254734f9b45af66e4a031e42a7480257d9898b435"
dependencies = [
"unicode-ident",
]
[[package]]
name = "quote"
version = "1.0.23"
version = "1.0.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b"
checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc"
dependencies = [
"proc-macro2",
]
@ -307,7 +307,7 @@ checksum = "af487d118eecd09402d70a5d72551860e788df87b464af30e5ea6a38c75c541e"
dependencies = [
"proc-macro2",
"quote",
"syn",
"syn 1.0.107",
]
[[package]]
@ -338,6 +338,17 @@ dependencies = [
"unicode-ident",
]
[[package]]
name = "syn"
version = "2.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a34fcf3e8b60f57e6a14301a2e916d323af98b0ea63c599441eec8558660c822"
dependencies = [
"proc-macro2",
"quote",
"unicode-ident",
]
[[package]]
name = "termcolor"
version = "1.1.3"

View File

@ -2,13 +2,13 @@
rustPlatform.buildRustPackage rec {
pname = "cxx-rs";
version = "1.0.86";
version = "1.0.94";
src = fetchFromGitHub {
owner = "dtolnay";
repo = "cxx";
rev = version;
sha256 = "sha256-bysuvCapesU/HaNfTfMUas7g3clf8299HmCChpd7abY=";
sha256 = "sha256-h6TmQyxhoOhaAWBZr9rRPCf0BE2QMBIYm5uTVKD2paE=";
};
cargoLock = {

View File

@ -0,0 +1,28 @@
{ lib, fetchsvn, tcl, tcllib, tk, xorg }:
tcl.mkTclDerivation rec {
pname = "tkimg";
version = "623";
src = fetchsvn {
url = "svn://svn.code.sf.net/p/tkimg/code/trunk";
rev = version;
sha256 = "sha256-6GlkqYxXmMGjiJTZS2fQNVSimcKc1BZ/lvzvtkhty+o=";
};
configureFlags = [
"--with-tcl=${tcl}/lib"
"--with-tk=${tk}/lib"
"--with-tkinclude=${tk.dev}/include"
];
buildInputs = [ xorg.libX11 tcllib ];
meta = {
homepage = "https://sourceforge.net/projects/tkimg/";
description = "The Img package adds several image formats to Tcl/Tk";
maintainers = with lib.maintainers; [ matthewcroughan ];
license = lib.licenses.bsd3;
platforms = lib.platforms.unix;
};
}

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "maestro";
version = "1.26.1";
version = "1.27.0";
src = fetchurl {
url = "https://github.com/mobile-dev-inc/maestro/releases/download/cli-${version}/maestro.zip";
sha256 = "1hq4y8qwnw6mb962g2cp7a5qp8x95p6268d34hjpx0i2h40s9vrk";
sha256 = "1ldlc8qj8nzy44h6qwgz0xiwp3a6fm0wkl05sl1r20iv7sr92grz";
};
dontUnpack = true;

View File

@ -22,6 +22,7 @@
, "@tailwindcss/line-clamp"
, "@tailwindcss/typography"
, "@uppy/companion"
, "@volar/vue-language-server"
, "@vue/cli"
, {"@webassemblyjs/cli": "1.11.1"}
, {"@webassemblyjs/repl": "1.11.1"}

File diff suppressed because it is too large Load Diff

View File

@ -626,6 +626,10 @@ final: prev: {
};
};
volar = final."@volar/vue-language-server".override {
name = "volar";
};
wavedrom-cli = prev.wavedrom-cli.override {
nativeBuildInputs = [ pkgs.pkg-config final.node-pre-gyp ];
# These dependencies are required by

View File

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "cwl-upgrader";
version = "1.2.4";
version = "1.2.6";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "common-workflow-language";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-3pKnkU8lks3w+N7w2qST9jr4/CS6YzgnBVLTlgq1gf0=";
hash = "sha256-lVIy0aa+hqbi46NfwXCKWDRzszneyuyo6KXxAcr/xIA=";
};
postPatch = ''

View File

@ -1,38 +1,42 @@
{ lib, stdenv
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, numpy
, scikitimage
, openjpeg
, procps
, pytestCheckHook
, contextlib2
, mock
, importlib-resources
, isPy27
, lxml
, numpy
, openjpeg
, pytestCheckHook
, pythonOlder
, scikitimage
, setuptools
}:
buildPythonPackage rec {
pname = "glymur";
version = "0.9.3";
version = "0.12.4";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "quintusdias";
repo = pname;
rev = "v${version}";
sha256 = "1xlpax56qg5qqh0s19xidgvv2483sc684zj7rh6zw1m1z9m37drr";
rev = "refs/tags/v${version}";
hash = "sha256-H7aA1nHd8JI3+4dzZhu+GOv/0Y2KRdDkn6Fvc76ny/A=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
numpy
] ++ lib.optionals isPy27 [ contextlib2 mock importlib-resources ];
];
nativeCheckInputs = [
scikitimage
procps
pytestCheckHook
lxml
pytestCheckHook
scikitimage
];
postConfigure = ''
@ -45,13 +49,18 @@ buildPythonPackage rec {
# fsh systems by reading an .rc file and such, and is obviated by the patch
# in postConfigure
"tests/test_config.py"
"tests/test_tiff2jp2.py"
];
pythonImportsCheck = [
"glymur"
];
meta = with lib; {
description = "Tools for accessing JPEG2000 files";
homepage = "https://github.com/quintusdias/glymur";
changelog = "https://github.com/quintusdias/glymur/blob/v${version}/CHANGES.txt";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
maintainers = with maintainers; [ costrouc ];
};
}

View File

@ -1,46 +1,48 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, numpy
, scipy
, pandas
, matplotlib
, autograd
, autograd-gamma
, formulaic
, scikit-learn
, sybil
, flaky
, jinja2
, buildPythonPackage
, dill
, fetchFromGitHub
, flaky
, formulaic
, jinja2
, matplotlib
, numpy
, pandas
, psutil
, pytestCheckHook
, pythonOlder
, scikit-learn
, scipy
, sybil
}:
buildPythonPackage rec {
pname = "lifelines";
version = "0.27.4";
version = "0.27.7";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "CamDavidsonPilon";
repo = "lifelines";
rev = "v${version}";
hash = "sha256-KDoXplqkTsk85dmcTBhbj2GDcC4ry+2z5C2QHAnBTw4=";
rev = "refs/tags/v${version}";
hash = "sha256-6ulg3R59QHy31CXit8tddi6F0vPKVRZDIu0zdS19xu0=";
};
propagatedBuildInputs = [
numpy
scipy
pandas
matplotlib
autograd
autograd-gamma
formulaic
matplotlib
numpy
pandas
scipy
];
pythonImportsCheck = [ "lifelines" ];
checkInputs = [
nativeCheckInputs = [
dill
flaky
jinja2
@ -50,14 +52,23 @@ buildPythonPackage rec {
sybil
];
pythonImportsCheck = [
"lifelines"
];
disabledTestPaths = [
"lifelines/tests/test_estimation.py"
];
meta = {
homepage = "https://lifelines.readthedocs.io";
disabledTests = [
"test_datetimes_to_durations_with_different_frequencies"
];
meta = with lib; {
description = "Survival analysis in Python";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ swflint ];
homepage = "https://lifelines.readthedocs.io";
changelog = "https://github.com/CamDavidsonPilon/lifelines/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ swflint ];
};
}

View File

@ -1,46 +1,71 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, ansible
, ansible-core
, coreutils
, coverage
, pytest
, mock
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pytest-ansible";
version = "2.2.4";
version = "3.0.0";
format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "ansible";
repo = "pytest-ansible";
rev = "v${version}";
sha256 = "0vr015msciwzz20zplxalfmfx5hbg8rkf8vwjdg3z12fba8z8ks4";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-kxOp7ScpIIzEbM4VQa+3ByHzkPS8pzdYq82rggF9Fpk=";
};
patchPhase = ''
sed -i "s/'setuptools-markdown'//g" setup.py
postPatch = ''
substituteInPlace tests/conftest.py inventory \
--replace '/usr/bin/env' '${coreutils}/bin/env'
'';
buildInputs = [ pytest ];
buildInputs = [
pytest
];
# requires pandoc < 2.0
# buildInputs = [ setuptools-markdown ];
nativeCheckInputs = [ mock ];
propagatedBuildInputs = [ ansible ];
propagatedBuildInputs = [
ansible-core
];
# tests not included with release, even on github
doCheck = false;
nativeCheckInputs = [
coverage
pytestCheckHook
];
checkPhase = ''
HOME=$TMPDIR pytest tests/
preCheck = ''
export HOME=$TMPDIR
'';
pytestFlagsArray = [
"tests/"
];
disabledTests = [
# Host unreachable in the inventory
"test_become"
# [Errno -3] Temporary failure in name resolution
"test_connection_failure_v2"
"test_connection_failure_extra_inventory_v2"
];
pythonImportsCheck = [
"pytest_ansible"
];
meta = with lib; {
homepage = "https://github.com/jlaska/pytest-ansible";
description = "Plugin for py.test to simplify calling ansible modules from tests or fixtures";
homepage = "https://github.com/jlaska/pytest-ansible";
changelog = "https://github.com/ansible-community/pytest-ansible/releases/tag/v${version}";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
# https://github.com/ansible-community/pytest-ansible/blob/v2.2.4/setup.py#L124
broken = lib.versionAtLeast ansible.version "2.10";
maintainers = with maintainers; [ costrouc ];
};
}

View File

@ -26,7 +26,9 @@ stdenv.mkDerivation
patches = [
./kernel-5.18-pci_free_consistent-pci_alloc_consistent.patch
./kernel-6.1-set_termios-const-ktermios.patch
];
] ++ (lib.optional (lib.versionAtLeast kernel.version "6.2") [
./kernel-6.2-fix-pointer-type.patch
]);
patchFlags = [ "-p0" ];

View File

@ -0,0 +1,11 @@
--- ax99100_spi.c
+++ ax99100_spi.c
@@ -76,7 +76,7 @@ int spi_suspend_count;
static unsigned int spi_major = 241;
static unsigned int spi_min_count = 0;
/* device Class */
-static char *ax_devnode(struct device *dev, umode_t *mode)
+static char *ax_devnode(const struct device *dev, umode_t *mode)
{
return kasprintf(GFP_KERNEL, "%s", dev_name(dev));
}

View File

@ -54,6 +54,10 @@ stdenv.mkDerivation rec {
"-Ddocs-build=true"
];
preConfigure = ''
export KBUILD_BUILD_TIMESTAMP="$(date -u -d @$SOURCE_DATE_EPOCH)"
'';
doCheck = true;
meta = with lib; {

View File

@ -0,0 +1,8 @@
assignments {
sound-server {
// original config matches on /usr/bin/..., but this is NixOS
pipewire
pipewire-pulse
jackd
}
}

View File

@ -0,0 +1,47 @@
{ lib
, fetchFromGitHub
, rustPlatform
, llvm
, clang
, libclang
, pipewire
, pkg-config
, bcc
, dbus }:
let
version = "2.0.1";
in rustPlatform.buildRustPackage {
pname = "system76-scheduler";
inherit version;
src = fetchFromGitHub {
owner = "pop-os";
repo = "system76-scheduler";
rev = version;
hash = "sha256-o4noaLBXHDe7pMBHfQ85uzKJzwbBE5mkWq8h9l6iIZs=";
};
cargoSha256 = "sha256-hpFDAhOzm4v3lBWwAl/10pS5xvKCScdKsp5wpCeQ+FE=";
nativeBuildInputs = [ pkg-config llvm clang ];
buildInputs = [ dbus pipewire ];
LIBCLANG_PATH = "${libclang.lib}/lib";
EXECSNOOP_PATH = "${bcc}/bin/execsnoop";
# tests don't build
doCheck = false;
postInstall = ''
mkdir -p $out/data
install -D -m 0644 data/com.system76.Scheduler.conf $out/etc/dbus-1/system.d/com.system76.Scheduler.conf
install -D -m 0644 data/*.kdl $out/data/
'';
meta = with lib; {
description = "System76 Scheduler";
homepage = "https://github.com/pop-os/system76-scheduler";
license = licenses.mpl20;
platforms = [ "x86_64-linux" "x86-linux" "aarch64-linux" ];
maintainers = [ maintainers.cmm ];
};
}

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "fastnetmon-advanced";
version = "2.0.336";
version = "2.0.337";
src = fetchurl {
url = "https://repo.fastnetmon.com/fastnetmon_ubuntu_jammy/pool/fastnetmon/f/fastnetmon/fastnetmon_${version}_amd64.deb";
hash = "sha256-qbGYvBaIMnpoyfBVfcCY16vlOaYyE4MPdnkwWohBukA=";
hash = "sha256-lYXJ0Q0iUiWk/n/I71BsKnnoRJh3a2EJT3EWV4+pQbM=";
};
nativeBuildInputs = [
@ -21,6 +21,11 @@ stdenv.mkDerivation rec {
ar xf $src
tar xf data.tar.xz
# both clickhouse 2.0.0 and 2.3.0 libs are included, without versioning it will by
# default choose the first it finds, but we need 2.3.0 otherwise the fastnetmon
# binary will be missing symbols
rm -r opt/fastnetmon/libraries/libclickhouse_2_0_0
# unused libraries, which have additional dependencies
rm opt/fastnetmon/libraries/gcc1210/lib/libgccjit.so.0.0.1
rm opt/fastnetmon/libraries/poco_1_10_0/lib/libPocoCryptod.so.70
@ -38,6 +43,13 @@ stdenv.mkDerivation rec {
addAutoPatchelfSearchPath $out/libexec/fastnetmon/libraries
'';
doInstallCheck = true;
installCheckPhase = ''
set +o pipefail
$out/bin/fastnetmon 2>&1 | grep "Can't open log file"
$out/bin/fcli 2>&1 | grep "Please run this tool with root rights"
'';
meta = with lib; {
description = "A high performance DDoS detector / sensor - commercial edition";
homepage = "https://fastnetmon.com";

View File

@ -1,15 +1,16 @@
{ lib
, nix-update-script
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "synadm";
version = "0.40";
version = "0.41.2";
format = "setuptools";
src = python3.pkgs.fetchPypi {
inherit pname version;
hash = "sha256-iDG2wsC0820unKlKNDKwgCNC+SAWJm8ltSB4knmLqeQ=";
hash = "sha256-wSpgc1umBMLCc2ThfYSuNNnzqWXyEQM0XhTuOAQaiXg=";
};
propagatedBuildInputs = with python3.pkgs; [
@ -28,6 +29,8 @@ python3.pkgs.buildPythonApplication rec {
runHook postCheck
'';
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Command line admin tool for Synapse";
longDescription = ''
@ -35,6 +38,7 @@ python3.pkgs.buildPythonApplication rec {
conveniently issue commands available via its admin API's
(matrix-org/synapse@master/docs/admin_api)
'';
changelog = "https://github.com/JOJ0/synadm/releases/tag/v${version}";
homepage = "https://github.com/JOJ0/synadm";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ hexa ];

View File

@ -310,6 +310,10 @@ in
# top-level pkgs as an override either.
perl = super.perl.override { enableThreading = false; enableCrypt = false; };
};
# `gettext` comes with obsolete config.sub/config.guess that don't recognize LoongArch64.
extraNativeBuildInputs =
lib.optional (localSystem.isLoongArch64) prevStage.updateAutotoolsGnuConfigScriptsHook;
})
# First rebuild of gcc; this is linked against all sorts of junk
@ -387,6 +391,10 @@ in
'';
});
};
# `gettext` comes with obsolete config.sub/config.guess that don't recognize LoongArch64.
extraNativeBuildInputs =
lib.optional (localSystem.isLoongArch64) prevStage.updateAutotoolsGnuConfigScriptsHook;
})
# 2nd stdenv that contains our own rebuilt binutils and is used for
@ -469,9 +477,10 @@ in
};
# `gettext` comes with obsolete config.sub/config.guess that don't recognize LoongArch64.
# `libtool` comes with obsolete config.sub/config.guess that don't recognize Risc-V.
extraNativeBuildInputs =
lib.optional (localSystem.isRiscV) prevStage.updateAutotoolsGnuConfigScriptsHook;
lib.optional (localSystem.isLoongArch64 || localSystem.isRiscV) prevStage.updateAutotoolsGnuConfigScriptsHook;
})

View File

@ -5,25 +5,25 @@
buildGoModule rec {
pname = "routedns";
version = "0.1.5";
version = "0.1.20";
src = fetchFromGitHub {
owner = "folbricht";
repo = "routedns";
# https://github.com/folbricht/routedns/issues/237
rev = "02f14a567fee2a289810979446f5260b8a31bf73";
sha256 = "sha256-oImimNBz1qizUPD6qHi73fGKNCu5cii99GIUo21e+bs=";
rev = "v${version}";
hash = "sha256-whMSqGsZTr6tj9jbUzkNanR69xfmvXC257DsHooqlkE=";
};
vendorSha256 = "sha256-T6adpxJgOPGy+UOOlGAAf1gjk1wJxwOc9enfv9X3LBE=";
vendorHash = "sha256-XqrV/eBpKzFgNSG9yoP8iqzIEifXEMOCCfPbHo3YKZw=";
subPackages = [ "./cmd/routedns" ];
ldflags = [ "-s" "-w" ];
meta = with lib; {
homepage = "https://github.com/folbricht/routedns";
description = "DNS stub resolver, proxy and router";
license = licenses.bsd3;
maintainers = with maintainers; [ jsimonetti ];
platforms = platforms.linux;
};
}

View File

@ -6,16 +6,16 @@
buildGoModule rec {
pname = "naabu";
version = "2.1.5";
version = "2.1.6";
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = "naabu";
rev = "refs/tags/v${version}";
hash = "sha256-st1SYWSwoFs0tzb1O5jDzCEYVmD6aVWkJTQZFxp+XfY=";
hash = "sha256-STykmBsKLcuPhNrk/RHwvlkz9L+IwiALY7Iuvuu3dPM=";
};
vendorHash = "sha256-b2v9PCxiYA965u3Xzfs/gEo1cFFvwsZbsLN5DuABs/U=";
vendorHash = "sha256-yY5zVlZolc8NLiySBOwKIIa+UN/hsqe9/Pf6iLG1H38=";
buildInputs = [
libpcap

View File

@ -24064,6 +24064,8 @@ with pkgs;
tk-8_6 = callPackage ../development/libraries/tk/8.6.nix { };
tk-8_5 = callPackage ../development/libraries/tk/8.5.nix { tcl = tcl-8_5; };
tkimg = callPackage ../development/libraries/tkimg { };
tkrzw = callPackage ../development/libraries/tkrzw { };
tl-expected = callPackage ../development/libraries/tl-expected { };
@ -33905,7 +33907,7 @@ with pkgs;
robustirc-bridge = callPackage ../servers/irc/robustirc-bridge { };
routedns = callPackage ../tools/networking/routedns {
buildGoModule = buildGo118Module; # build fails with 1.19
buildGoModule = buildGo119Module; # build fails with 1.20
};
skrooge = libsForQt5.callPackage ../applications/office/skrooge { };
@ -39364,6 +39366,8 @@ with pkgs;
terraforming = callPackage ../applications/networking/cluster/terraforming { };
terraform-backend-git = callPackage ../applications/networking/cluster/terraform-backend-git { };
terraform-compliance = python3Packages.callPackage ../applications/networking/cluster/terraform-compliance { };
terraform-docs = callPackage ../applications/networking/cluster/terraform-docs { };
@ -39406,6 +39410,8 @@ with pkgs;
thermald = callPackage ../tools/system/thermald { };
therion = callPackage ../applications/misc/therion { };
throttled = callPackage ../tools/system/throttled { };
thinkfan = callPackage ../tools/system/thinkfan { };

View File

@ -502,6 +502,8 @@ in {
system76-io = callPackage ../os-specific/linux/system76-io { };
system76-scheduler = callPackage ../os-specific/linux/system76-scheduler { };
tmon = callPackage ../os-specific/linux/tmon { };
tp_smapi = callPackage ../os-specific/linux/tp_smapi { };