Merge master into staging-next

This commit is contained in:
github-actions[bot] 2024-05-03 12:01:32 +00:00 committed by GitHub
commit ae736c738d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
431 changed files with 1696 additions and 3266 deletions

9
.github/CODEOWNERS vendored
View file

@ -41,7 +41,7 @@
/pkgs/top-level/splice.nix @Ericson2314 /pkgs/top-level/splice.nix @Ericson2314
/pkgs/top-level/release-cross.nix @Ericson2314 /pkgs/top-level/release-cross.nix @Ericson2314
/pkgs/stdenv/generic @Ericson2314 /pkgs/stdenv/generic @Ericson2314
/pkgs/stdenv/generic/check-meta.nix @Ericson2314 @piegamesde /pkgs/stdenv/generic/check-meta.nix @Ericson2314
/pkgs/stdenv/cross @Ericson2314 /pkgs/stdenv/cross @Ericson2314
/pkgs/build-support/cc-wrapper @Ericson2314 /pkgs/build-support/cc-wrapper @Ericson2314
/pkgs/build-support/bintools-wrapper @Ericson2314 /pkgs/build-support/bintools-wrapper @Ericson2314
@ -305,13 +305,6 @@ nixos/modules/services/networking/networkmanager.nix @Janik-Haag
# terraform providers # terraform providers
/pkgs/applications/networking/cluster/terraform-providers @zowoq /pkgs/applications/networking/cluster/terraform-providers @zowoq
# Matrix
/pkgs/servers/heisenbridge @piegamesde
/pkgs/servers/matrix-conduit @piegamesde
/nixos/modules/services/misc/heisenbridge.nix @piegamesde
/nixos/modules/services/misc/matrix-conduit.nix @piegamesde
/nixos/tests/matrix-conduit.nix @piegamesde
# Forgejo # Forgejo
nixos/modules/services/misc/forgejo.nix @bendlas @emilylange nixos/modules/services/misc/forgejo.nix @bendlas @emilylange
pkgs/applications/version-management/forgejo @bendlas @emilylange pkgs/applications/version-management/forgejo @bendlas @emilylange

View file

@ -9070,6 +9070,12 @@
githubId = 6789916; githubId = 6789916;
name = "Jason Odoom"; name = "Jason Odoom";
}; };
javaes = {
email = "jan+dev@vanesdonk.de";
github = "javaes";
githubId = 1131529;
name = "Jan van Esdonk";
};
javaguirre = { javaguirre = {
email = "contacto@javaguirre.net"; email = "contacto@javaguirre.net";
github = "javaguirre"; github = "javaguirre";

View file

@ -380,6 +380,8 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m
- `halloy` package was updated past 2024.5 which introduced a breaking change by switching the config format from YAML to TOML. See https://github.com/squidowl/halloy/releases/tag/2024.5 for details. - `halloy` package was updated past 2024.5 which introduced a breaking change by switching the config format from YAML to TOML. See https://github.com/squidowl/halloy/releases/tag/2024.5 for details.
- The `wpaperd` package has a breaking change moving to 1.0.1, previous version 0.3.0 had 2 different configuration files, one for wpaperd and one for the wallpapers. Remove the former and move the latter (`wallpaper.toml`) to `config.toml`.
- Ada packages (libraries and tools) have been moved into the `gnatPackages` scope. `gnatPackages` uses the default GNAT compiler, `gnat12Packages` and `gnat13Packages` use the respective matching compiler version. - Ada packages (libraries and tools) have been moved into the `gnatPackages` scope. `gnatPackages` uses the default GNAT compiler, `gnat12Packages` and `gnat13Packages` use the respective matching compiler version.
- Paths provided as `restartTriggers` and `reloadTriggers` for systemd units will now be copied into the nix store to make the behavior consistent. - Paths provided as `restartTriggers` and `reloadTriggers` for systemd units will now be copied into the nix store to make the behavior consistent.

View file

@ -4,41 +4,6 @@ with lib;
let let
cfg = config.services.ebusd; cfg = config.services.ebusd;
package = pkgs.ebusd;
arguments = [
"${package}/bin/ebusd"
"--foreground"
"--updatecheck=off"
"--device=${cfg.device}"
"--port=${toString cfg.port}"
"--configpath=${cfg.configpath}"
"--scanconfig=${cfg.scanconfig}"
"--log=all:${cfg.logs.all}"
"--log=main:${cfg.logs.main}"
"--log=network:${cfg.logs.network}"
"--log=bus:${cfg.logs.bus}"
"--log=update:${cfg.logs.update}"
"--log=other:${cfg.logs.other}"
] ++ lib.optionals cfg.readonly [
"--readonly"
] ++ lib.optionals cfg.mqtt.enable [
"--mqtthost=${cfg.mqtt.host}"
"--mqttport=${toString cfg.mqtt.port}"
"--mqttuser=${cfg.mqtt.user}"
"--mqttpass=${cfg.mqtt.password}"
] ++ lib.optionals cfg.mqtt.home-assistant [
"--mqttint=${package}/etc/ebusd/mqtt-hassio.cfg"
"--mqttjson"
] ++ lib.optionals cfg.mqtt.retain [
"--mqttretain"
] ++ cfg.extraArguments;
usesDev = hasPrefix "/" cfg.device;
command = concatStringsSep " " arguments;
in in
{ {
meta.maintainers = with maintainers; [ nathan-gs ]; meta.maintainers = with maintainers; [ nathan-gs ];
@ -46,6 +11,8 @@ in
options.services.ebusd = { options.services.ebusd = {
enable = mkEnableOption "ebusd, a daemon for communication with eBUS heating systems"; enable = mkEnableOption "ebusd, a daemon for communication with eBUS heating systems";
package = mkPackageOptionMD pkgs "ebusd" { };
device = mkOption { device = mkOption {
type = types.str; type = types.str;
default = ""; default = "";
@ -57,7 +24,8 @@ in
ens:DEVICE for enhanced high speed serial device (only adapter v3 and newer with firmware since 20220731), ens:DEVICE for enhanced high speed serial device (only adapter v3 and newer with firmware since 20220731),
DEVICE for serial device (normal speed, for all other serial adapters like adapter v2 as well as adapter v3 in non-enhanced mode), or DEVICE for serial device (normal speed, for all other serial adapters like adapter v2 as well as adapter v3 in non-enhanced mode), or
[udp:]IP:PORT for network device. [udp:]IP:PORT for network device.
https://github.com/john30/ebusd/wiki/2.-Run#device-options
Source: <https://github.com/john30/ebusd/wiki/2.-Run#device-options>
''; '';
}; };
@ -81,7 +49,7 @@ in
type = types.str; type = types.str;
default = "https://cfg.ebusd.eu/"; default = "https://cfg.ebusd.eu/";
description = '' description = ''
Read CSV config files from PATH (local folder or HTTPS URL) [https://cfg.ebusd.eu/] Directory to read CSV config files from. This can be a local folder or a URL.
''; '';
}; };
@ -95,65 +63,21 @@ in
''; '';
}; };
logs = { logs = let
main = mkOption { # "all" must come first so it can be overridden by more specific areas
type = types.enum [ "none" "error" "notice" "info" "debug"]; areas = [ "all" "main" "network" "bus" "update" "other" ];
default = "info"; levels = [ "none" "error" "notice" "info" "debug" ];
description = '' in listToAttrs (map (area: nameValuePair area (mkOption {
Only write log for matching AREAs (main|network|bus|update|other|all) below or equal to LEVEL (none|error|notice|info|debug) [all:notice]. type = types.enum levels;
''; default = "notice";
}; example = "debug";
description = ''
network = mkOption { Only write log for matching `AREA`s (${concatStringsSep "|" areas}) below or equal to `LEVEL` (${concatStringsSep "|" levels})
type = types.enum [ "none" "error" "notice" "info" "debug"]; '';
default = "info"; })) areas);
description = ''
Only write log for matching AREAs (main|network|bus|update|other|all) below or equal to LEVEL (none|error|notice|info|debug) [all:notice].
'';
};
bus = mkOption {
type = types.enum [ "none" "error" "notice" "info" "debug"];
default = "info";
description = ''
Only write log for matching AREAs (main|network|bus|update|other|all) below or equal to LEVEL (none|error|notice|info|debug) [all:notice].
'';
};
update = mkOption {
type = types.enum [ "none" "error" "notice" "info" "debug"];
default = "info";
description = ''
Only write log for matching AREAs (main|network|bus|update|other|all) below or equal to LEVEL (none|error|notice|info|debug) [all:notice].
'';
};
other = mkOption {
type = types.enum [ "none" "error" "notice" "info" "debug"];
default = "info";
description = ''
Only write log for matching AREAs (main|network|bus|update|other|all) below or equal to LEVEL (none|error|notice|info|debug) [all:notice].
'';
};
all = mkOption {
type = types.enum [ "none" "error" "notice" "info" "debug"];
default = "info";
description = ''
Only write log for matching AREAs (main|network|bus|update|other|all) below or equal to LEVEL (none|error|notice|info|debug) [all:notice].
'';
};
};
mqtt = { mqtt = {
enable = mkEnableOption "support for MQTT";
enable = mkOption {
type = types.bool;
default = false;
description = ''
Adds support for MQTT
'';
};
host = mkOption { host = mkOption {
type = types.str; type = types.str;
@ -179,13 +103,7 @@ in
''; '';
}; };
retain = mkOption { retain = mkEnableOption "set the retain flag on all topics instead of only selected global ones";
type = types.bool;
default = false;
description = ''
Set the retain flag on all topics instead of only selected global ones
'';
};
user = mkOption { user = mkOption {
type = types.str; type = types.str;
@ -200,7 +118,6 @@ in
The MQTT password. The MQTT password.
''; '';
}; };
}; };
extraArguments = mkOption { extraArguments = mkOption {
@ -210,25 +127,44 @@ in
Extra arguments to the ebus daemon Extra arguments to the ebus daemon
''; '';
}; };
}; };
config = mkIf (cfg.enable) { config = let
usesDev = hasPrefix "/" cfg.device;
in mkIf cfg.enable {
systemd.services.ebusd = { systemd.services.ebusd = {
description = "EBUSd Service"; description = "EBUSd Service";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = [ "network.target" ]; after = [ "network.target" ];
serviceConfig = { serviceConfig = {
ExecStart = command; ExecStart = let
args = cli.toGNUCommandLineShell { } (foldr (a: b: a // b) { } [
{
inherit (cfg) device port configpath scanconfig readonly;
foreground = true;
updatecheck = "off";
log = mapAttrsToList (name: value: "${name}:${value}") cfg.logs;
mqttretain = cfg.mqtt.retain;
}
(optionalAttrs cfg.mqtt.enable {
mqtthost = cfg.mqtt.host;
mqttport = cfg.mqtt.port;
mqttuser = cfg.mqtt.user;
mqttpass = cfg.mqtt.password;
})
(optionalAttrs cfg.mqtt.home-assistant {
mqttint = "${cfg.package}/etc/ebusd/mqtt-hassio.cfg";
mqttjson = true;
})
]);
in "${cfg.package}/bin/ebusd ${args} ${escapeShellArgs cfg.extraArguments}";
DynamicUser = true; DynamicUser = true;
Restart = "on-failure"; Restart = "on-failure";
# Hardening # Hardening
CapabilityBoundingSet = ""; CapabilityBoundingSet = "";
DeviceAllow = lib.optionals usesDev [ DeviceAllow = optionals usesDev [ cfg.device ];
cfg.device
] ;
DevicePolicy = "closed"; DevicePolicy = "closed";
LockPersonality = true; LockPersonality = true;
MemoryDenyWriteExecute = false; MemoryDenyWriteExecute = false;
@ -254,9 +190,7 @@ in
RestrictNamespaces = true; RestrictNamespaces = true;
RestrictRealtime = true; RestrictRealtime = true;
RestrictSUIDSGID = true; RestrictSUIDSGID = true;
SupplementaryGroups = [ SupplementaryGroups = [ "dialout" ];
"dialout"
];
SystemCallArchitectures = "native"; SystemCallArchitectures = "native";
SystemCallFilter = [ SystemCallFilter = [
"@system-service @pkey" "@system-service @pkey"
@ -265,6 +199,5 @@ in
UMask = "0077"; UMask = "0077";
}; };
}; };
}; };
} }

View file

@ -41,6 +41,10 @@ in {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
stopIfChanged = false; stopIfChanged = false;
preStart = ''
${lib.getExe pkgs.promtail} -config.file=${prettyJSON cfg.configuration} -check-syntax
'';
serviceConfig = { serviceConfig = {
Restart = "on-failure"; Restart = "on-failure";
TimeoutStopSec = 10; TimeoutStopSec = 10;

View file

@ -9,7 +9,7 @@ let
configFile = format.generate "conduit.toml" cfg.settings; configFile = format.generate "conduit.toml" cfg.settings;
in in
{ {
meta.maintainers = with maintainers; [ pstn piegames ]; meta.maintainers = with maintainers; [ pstn ];
options.services.matrix-conduit = { options.services.matrix-conduit = {
enable = mkEnableOption "matrix-conduit"; enable = mkEnableOption "matrix-conduit";

View file

@ -210,5 +210,5 @@ in
}; };
}; };
meta.maintainers = [ lib.maintainers.piegames ]; meta.maintainers = [ ];
} }

View file

@ -2,11 +2,11 @@
let let
pname = "ledger-live-desktop"; pname = "ledger-live-desktop";
version = "2.77.2"; version = "2.79.1";
src = fetchurl { src = fetchurl {
url = "https://download.live.ledger.com/${pname}-${version}-linux-x86_64.AppImage"; url = "https://download.live.ledger.com/${pname}-${version}-linux-x86_64.AppImage";
hash = "sha256-orIyfRs6TJgqGGLpl2tvoUtejsB0ni8xRK0SboP2LHw="; hash = "sha256-zgs4uIK73CBp4hTbuO8LdcgvmUN3hYsnv61E+WGlpjg=";
}; };
appimageContents = appimageTools.extractType2 { appimageContents = appimageTools.extractType2 {

View file

@ -8,7 +8,7 @@
let let
pname = "trezor-suite"; pname = "trezor-suite";
version = "24.3.2"; version = "24.4.3";
name = "${pname}-${version}"; name = "${pname}-${version}";
suffix = { suffix = {
@ -19,8 +19,8 @@ let
src = fetchurl { src = fetchurl {
url = "https://github.com/trezor/${pname}/releases/download/v${version}/Trezor-Suite-${version}-${suffix}.AppImage"; url = "https://github.com/trezor/${pname}/releases/download/v${version}/Trezor-Suite-${version}-${suffix}.AppImage";
hash = { # curl -Lfs https://github.com/trezor/trezor-suite/releases/latest/download/latest-linux{-arm64,}.yml | grep ^sha512 | sed 's/: /-/' hash = { # curl -Lfs https://github.com/trezor/trezor-suite/releases/latest/download/latest-linux{-arm64,}.yml | grep ^sha512 | sed 's/: /-/'
aarch64-linux = "sha512-oj/UrUFTH0QZD2eTHdR/Lu6Tz6AIhbIBgPJD3jH1YJKgOZIzX21H0KSddMgu+iKPw2WmoKf0UP+qqf+yFs/mVQ=="; aarch64-linux = "sha512-EPpnEgE9euHGSo7CFMJg7hF3p5LqPc3zPxDQsNzyOI2lNv90vydtEmOm1fORj0MXbQsGLLS1nSzMH3vI6O9WmA==";
x86_64-linux = "sha512-RakNuSDKR0neO0IZwTVaARX9tWNDfJwOBFL3teUsNlcrur862I1c6NaaA/RxriujolDRI+wgG0twaUGEXXar5g=="; x86_64-linux = "sha512-FjHaomHjMSVwxO63NEEC5UjotzDlrX8yTGaz20RyoadClAUKIeVfeEt/5jDueFr2ZXfeLraRIQ0ywKm+wkC2EQ==";
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
}; };

View file

@ -14,13 +14,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "focuswriter"; pname = "focuswriter";
version = "1.8.6"; version = "1.8.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gottcode"; owner = "gottcode";
repo = "focuswriter"; repo = "focuswriter";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-z3DQaMgaTjzj2Oh1QI7A5v9G7GxjlGj/7jInxH/tDaY="; hash = "sha256-op76oHVo6yCpXzRFYAYXMCEslCgDA6jXPcgWdTeGJ+E=";
}; };
nativeBuildInputs = [ pkg-config cmake qttools wrapQtAppsHook ]; nativeBuildInputs = [ pkg-config cmake qttools wrapQtAppsHook ];

View file

@ -90,8 +90,8 @@ let
mktplcRef = { mktplcRef = {
publisher = "42Crunch"; publisher = "42Crunch";
name = "vscode-openapi"; name = "vscode-openapi";
version = "4.25.1"; version = "4.25.3";
sha256 = "+hKQUJp9c0oyhePFmQEXAqtqKL3fkQ1nhopUPnhRZc4="; hash = "sha256-1kz/M2od2gLSFgqW6LsPHgtm+BwXA+0+7z3HyqNmsOg=";
}; };
meta = { meta = {
changelog = "https://marketplace.visualstudio.com/items/42Crunch.vscode-openapi/changelog"; changelog = "https://marketplace.visualstudio.com/items/42Crunch.vscode-openapi/changelog";

View file

@ -1,12 +1,12 @@
{ lib, appimageTools, fetchurl }: { lib, appimageTools, fetchurl }:
let let
version = "1.7.8"; version = "2.0.0";
pname = "lunatask"; pname = "lunatask";
src = fetchurl { src = fetchurl {
url = "https://lunatask.app/download/Lunatask-${version}.AppImage"; url = "https://lunatask.app/download/Lunatask-${version}.AppImage";
sha256 = "sha256-DhTWD9uL7zKWiRfeLYKxPtmAy1yR20wjlVA+N33YgpQ="; sha256 = "sha256-rRE7VE6Fugqbbv/fTIZGuWDQmTP1tRDiKrb6VcpsBjk=";
}; };
appimageContents = appimageTools.extractType2 { appimageContents = appimageTools.extractType2 {

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "kubecolor"; pname = "kubecolor";
version = "0.3.1"; version = "0.3.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-1gEEmF9RRMwFAvmhLwidkVh+lnibs6x5ZHy/nJRum9E="; sha256 = "sha256-9fL1zuhQ1B8QpJXcGVxg8mqIQoM5ZhwuE000rDcrrw0=";
}; };
vendorHash = "sha256-Gzz+mCEMQCcLwTiGMB8/nXk7HDAEGkEapC/VOyXrn/Q="; vendorHash = "sha256-Gzz+mCEMQCcLwTiGMB8/nXk7HDAEGkEapC/VOyXrn/Q=";

View file

@ -2,7 +2,7 @@
let let
versions = versions =
if stdenv.isLinux then { if stdenv.isLinux then {
stable = "0.0.51"; stable = "0.0.52";
ptb = "0.0.81"; ptb = "0.0.81";
canary = "0.0.369"; canary = "0.0.369";
development = "0.0.17"; development = "0.0.17";
@ -17,7 +17,7 @@ let
x86_64-linux = { x86_64-linux = {
stable = fetchurl { stable = fetchurl {
url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz"; url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz";
hash = "sha256-w8zLeaqJXdbI67X/UDxSLQxZei5eraa/BkMZa+GDpYk="; hash = "sha256-5cJzedEuxdGizgUenB+DjFf+MwYk8uTH4tjiWzur+q8=";
}; };
ptb = fetchurl { ptb = fetchurl {
url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz"; url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz";

View file

@ -70,11 +70,11 @@ in
mkDerivation rec { mkDerivation rec {
pname = "recoll"; pname = "recoll";
version = "1.37.4"; version = "1.37.5";
src = fetchurl { src = fetchurl {
url = "https://www.lesbonscomptes.com/${pname}/${pname}-${version}.tar.gz"; url = "https://www.lesbonscomptes.com/${pname}/${pname}-${version}.tar.gz";
hash = "sha256-MQnXamW7L4hyMbZDmU7XAcLv5roHcfhFGzni8YbDtq0="; hash = "sha256-vv2AMt6ufrfxRX2yF28X3E500MYP9hnGfDb3I9RdMVU=";
}; };
configureFlags = [ configureFlags = [

View file

@ -12,13 +12,13 @@
buildPythonApplication rec { buildPythonApplication rec {
pname = "git-machete"; pname = "git-machete";
version = "3.25.0"; version = "3.25.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "virtuslab"; owner = "virtuslab";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-tLEuSwM8X0+oQDB9fmj5OQsC7iA906EQZz3yvB6rXfk="; hash = "sha256-uTbDrSR2Aqeq73PI0dghCkOQS7QPFb/I9Yrl3wIH9ZQ=";
}; };
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];

View file

@ -22,14 +22,14 @@ buildLua {
postPatch = '' postPatch = ''
substituteInPlace convert_script.lua \ substituteInPlace convert_script.lua \
--replace 'mkvpropedit_exe = "mkvpropedit"' \ --replace-fail 'mkvpropedit_exe = "mkvpropedit"' \
'mkvpropedit_exe = "${mkvtoolnix-cli}/bin/mkvpropedit"' \ 'mkvpropedit_exe = "${lib.getExe' mkvtoolnix-cli "mkvpropedit"}"' \
--replace 'mkvmerge_exe = "mkvmerge"' \ --replace-fail 'mkvmerge_exe = "mkvmerge"' \
'mkvmerge_exe = "${mkvtoolnix-cli}/bin/mkvmerge"' \ 'mkvmerge_exe = "${lib.getExe' mkvtoolnix-cli "mkvmerge"}"' \
--replace 'yad_exe = "yad"' \ --replace-fail 'yad_exe = "yad"' \
'yad_exe = "${yad}/bin/yad"' \ 'yad_exe = "${lib.getExe yad}"' \
--replace 'notify_send_exe = "notify-send"' \ --replace-fail 'notify_send_exe = "notify-send"' \
'notify_send_exe = "${libnotify}/bin/notify-send"' \ 'notify_send_exe = "${lib.getExe libnotify}"' \
''; '';
scriptPath = "convert_script.lua"; scriptPath = "convert_script.lua";

View file

@ -16,13 +16,13 @@ buildLua {
postPatch = '' postPatch = ''
substituteInPlace cutter.lua \ substituteInPlace cutter.lua \
--replace '~/.config/mpv/scripts/c_concat.sh' '${placeholder "out"}/share/mpv/scripts/c_concat.sh' --replace-fail '~/.config/mpv/scripts/c_concat.sh' '${placeholder "out"}/share/mpv/scripts/c_concat.sh'
# needs to be ran separately so that we can replace everything, and not every single mention explicitly # needs to be ran separately so that we can replace everything, and not every single mention explicitly
# original script places them in the scripts folder, just spawning unnecessary errors # original script places them in the scripts folder, just spawning unnecessary errors
# i know that hardcoding .config and especially the .mpv directory isn't best practice, but I didn't want to deviate too much from upstream # i know that hardcoding .config and especially the .mpv directory isn't best practice, but I didn't want to deviate too much from upstream
substituteInPlace cutter.lua \ substituteInPlace cutter.lua \
--replace '~/.config/mpv/scripts' "''${XDG_CONFIG_HOME:-~/.config}/mpv/cutter" --replace-fail '~/.config/mpv/scripts' "''${XDG_CONFIG_HOME:-~/.config}/mpv/cutter"
''; '';
passthru.scriptName = "cutter.lua"; passthru.scriptName = "cutter.lua";

View file

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
buildInputs = [ glib mpv-unwrapped ffmpeg ]; buildInputs = [ glib mpv-unwrapped ffmpeg ];
postPatch = '' postPatch = ''
substituteInPlace Makefile --replace 'PKG_CONFIG =' 'PKG_CONFIG ?=' substituteInPlace Makefile --replace-fail 'PKG_CONFIG =' 'PKG_CONFIG ?='
''; '';
installFlags = [ "SCRIPTS_DIR=${placeholder "out"}/share/mpv/scripts" ]; installFlags = [ "SCRIPTS_DIR=${placeholder "out"}/share/mpv/scripts" ];

View file

@ -14,8 +14,8 @@ buildLua rec {
postPatch = '' postPatch = ''
substituteInPlace playlistmanager.lua \ substituteInPlace playlistmanager.lua \
--replace 'youtube_dl_executable = "youtube-dl",' \ --replace-fail 'youtube_dl_executable = "yt-dlp",' \
'youtube_dl_executable = "${lib.getBin yt-dlp}/bin/yt-dlp"', 'youtube_dl_executable = "${lib.getExe yt-dlp}"',
''; '';
meta = with lib; { meta = with lib; {

View file

@ -23,11 +23,11 @@ buildLua rec {
postPatch = '' postPatch = ''
substituteInPlace utils/forvo.lua \ substituteInPlace utils/forvo.lua \
--replace "'curl" "'${curl}/bin/curl" --replace-fail "'curl" "'${lib.getExe curl}"
substituteInPlace platform/nix.lua \ substituteInPlace platform/nix.lua \
--replace "'curl" "'${curl}/bin/curl" \ --replace-fail "'curl" "'${lib.getExe curl}" \
--replace "'wl-copy" "'${wl-clipboard}/bin/wl-copy" \ --replace-fail "'wl-copy" "'${lib.getExe' wl-clipboard "wl-copy"}" \
--replace "'xclip" "'${xclip}/bin/xclip" --replace-fail "'xclip" "'${lib.getExe xclip}"
''; '';
installPhase = '' installPhase = ''

View file

@ -28,8 +28,8 @@ buildLua {
postPatch = '' postPatch = ''
substituteInPlace sponsorblock.lua \ substituteInPlace sponsorblock.lua \
--replace "python3" "${python3}/bin/python3" \ --replace-fail "python3" "${lib.getExe python3}" \
--replace 'mp.find_config_file("scripts")' "\"$out/share/mpv/scripts\"" --replace-fail 'mp.find_config_file("scripts")' "\"$out/share/mpv/scripts\""
''; '';
extraScripts = [ "sponsorblock_shared" ]; extraScripts = [ "sponsorblock_shared" ];

View file

@ -13,7 +13,7 @@ buildLua {
passthru.updateScript = unstableGitUpdater {}; passthru.updateScript = unstableGitUpdater {};
passthru.extraWrapperArgs = [ passthru.extraWrapperArgs = [
"--prefix" "PATH" ":" "${lib.getBin mpv-unwrapped}/bin" "--prefix" "PATH" ":" (lib.makeBinPath [ mpv-unwrapped ])
]; ];
meta = { meta = {

View file

@ -18,7 +18,7 @@ stdenvNoCC.mkDerivation rec {
# reset_rot is only available in ffmpeg 5.0, see 5bcc61ce87922ecccaaa0bd303a7e195929859a8 # reset_rot is only available in ffmpeg 5.0, see 5bcc61ce87922ecccaaa0bd303a7e195929859a8
postPatch = lib.optionalString (lib.versionOlder ffmpeg.version "5.0") '' postPatch = lib.optionalString (lib.versionOlder ffmpeg.version "5.0") ''
substituteInPlace 360plugin.lua --replace ":reset_rot=1:" ":" substituteInPlace 360plugin.lua --replace-fail ":reset_rot=1:" ":"
''; '';
installPhase = '' installPhase = ''

View file

@ -15,9 +15,9 @@ buildNpmPackage rec {
}; };
postPatch = '' postPatch = ''
substituteInPlace src/webtorrent.ts --replace "node_path: 'node'" "node_path: '${nodejs}/bin/node'" substituteInPlace src/webtorrent.ts --replace-fail "node_path: 'node'" "node_path: '${lib.getExe nodejs}'"
# This executable is just for telling non-Nix users how to install # This executable is just for telling non-Nix users how to install
substituteInPlace package.json --replace '"bin": "build/bin.mjs",' "" substituteInPlace package.json --replace-fail '"bin": "build/bin.mjs",' ""
rm -rf src/bin.ts rm -rf src/bin.ts
''; '';

View file

@ -13,7 +13,7 @@ buildLua rec {
postPatch = '' postPatch = ''
substituteInPlace youtube-upnext.lua \ substituteInPlace youtube-upnext.lua \
--replace '"curl"' '"${lib.getExe curl}"' --replace-fail '"curl"' '"${lib.getExe curl}"'
''; '';
passthru.updateScript = unstableGitUpdater { }; passthru.updateScript = unstableGitUpdater { };

View file

@ -9,13 +9,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "dk"; pname = "dk";
version = "2.1"; version = "2.2";
src = fetchFromBitbucket { src = fetchFromBitbucket {
owner = "natemaia"; owner = "natemaia";
repo = "dk"; repo = "dk";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-bUt4Se4Gu7CZEdv1/VpU92ncq2MBKXG7T4Wpa/2rocI="; hash = "sha256-u1fZTcfGLwKFeRADU55MFYDvtSOaOg5qtWB90xYpVuY=";
}; };
buildInputs = [ buildInputs = [

View file

@ -0,0 +1,33 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "cent";
version = "1.3.3";
src = fetchFromGitHub {
owner = "xm1k3";
repo = "cent";
rev = "refs/tags/v${version}";
hash = "sha256-E3gAtrgWVucV3cD31ntgtdTDkhmqJHOiFwaUdVJj0jQ=";
};
vendorHash = "sha256-LvI9FJFXBnEXNsX3qp2Sl58ccIJtYDGSEtNUwNW/Pp0=";
ldflags = [
"-s"
"-w"
];
meta = with lib; {
description = "Tool to handle Nuclei community templates";
homepage = "https://github.com/xm1k3/cent";
changelog = "https://github.com/xm1k3/cent/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ ];
mainProgram = "cent";
};
}

View file

@ -21,13 +21,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "dune3d"; pname = "dune3d";
version = "1.0.0"; version = "1.1.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dune3d"; owner = "dune3d";
repo = "dune3d"; repo = "dune3d";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-y7jlqH1p2vCFTM14rFURxTkrWUT5hNkCseC3xB6bFFo="; hash = "sha256-Z/kdOc/MbnnEyRsel3aZGndTAy1eCdAK0Wdta0HxaE4=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -46,13 +46,13 @@ let
in in
stdenv'.mkDerivation (finalAttrs: { stdenv'.mkDerivation (finalAttrs: {
pname = "fastfetch"; pname = "fastfetch";
version = "2.10.2"; version = "2.11.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fastfetch-cli"; owner = "fastfetch-cli";
repo = "fastfetch"; repo = "fastfetch";
rev = finalAttrs.version; rev = finalAttrs.version;
hash = "sha256-1ok2HR9RapS+MF8zuNLhzMZMz0F2AQsKsxNqCT7QF/8="; hash = "sha256-/j0dRnApP5PQV4qVkqM6WlFdSZHlBTheaoWXSd2YP5k=";
}; };
outputs = [ "out" "man" ]; outputs = [ "out" "man" ];

View file

@ -0,0 +1,32 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "galah";
version = "0-unstable-2024-04-28";
src = fetchFromGitHub {
owner = "0x4D31";
repo = "galah";
rev = "69346522df6e5849ca808546d40f1ee0a70f56d8";
hash = "sha256-9Muo08AYtpMmLvpWl2W/WbvyFl8h364BzDbmcJteIAg=";
};
vendorHash = "sha256-+I4K5T6fQcS7KJexFGxpjq5QUX9VnopK8i81veeP6Cw=";
ldflags = [
"-s"
"-w"
];
meta = with lib; {
description = "LLM-powered web honeypot using the OpenAI API";
homepage = "https://github.com/0x4D31/galah";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
mainProgram = "galah";
};
}

View file

@ -44,14 +44,14 @@ let
in in
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "gamescope"; pname = "gamescope";
version = "3.14.6"; version = "3.14.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ValveSoftware"; owner = "ValveSoftware";
repo = "gamescope"; repo = "gamescope";
rev = "refs/tags/${finalAttrs.version}"; rev = "refs/tags/${finalAttrs.version}";
fetchSubmodules = true; fetchSubmodules = true;
hash = "sha256-Nj66d42Ih4pD15cNuMe81sviUepVVzVX8BEP7O2p0o0="; hash = "sha256-Ex4uJ50EiX9ZVzmndygxET0wZmPtPB4Ditjq5bdhKTQ=";
}; };
patches = [ patches = [

View file

@ -9,13 +9,13 @@
buildGoModule rec { buildGoModule rec {
pname = "grype"; pname = "grype";
version = "0.77.1"; version = "0.77.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "anchore"; owner = "anchore";
repo = "grype"; repo = "grype";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-Qfoo05MicnQ1shbEV/Rrz9TDrMBDvWBr0U/ZqnlnLTI="; hash = "sha256-opDuyuh7rtdFVfxKHyLUAf4ySqiSg0bAUW0dV+PHXFA=";
# populate values that require us to use git. By doing this in postFetch we # populate values that require us to use git. By doing this in postFetch we
# can delete .git afterwards and maintain better reproducibility of the src. # can delete .git afterwards and maintain better reproducibility of the src.
leaveDotGit = true; leaveDotGit = true;
@ -90,6 +90,8 @@ buildGoModule rec {
--replace-fail "TestAllNames" "SkipAllNames" --replace-fail "TestAllNames" "SkipAllNames"
substituteInPlace test/cli/version_cmd_test.go \ substituteInPlace test/cli/version_cmd_test.go \
--replace-fail "TestVersionCmdPrintsToStdout" "SkipVersionCmdPrintsToStdout" --replace-fail "TestVersionCmdPrintsToStdout" "SkipVersionCmdPrintsToStdout"
substituteInPlace grype/presenter/sarif/presenter_test.go \
--replace-fail "Test_SarifIsValid" "SkipTest_SarifIsValid"
# segfault # segfault
rm grype/db/v5/namespace/cpe/namespace_test.go rm grype/db/v5/namespace/cpe/namespace_test.go
@ -103,10 +105,9 @@ buildGoModule rec {
''; '';
meta = with lib; { meta = with lib; {
description = "Vulnerability scanner for container images and filesystems";
homepage = "https://github.com/anchore/grype"; homepage = "https://github.com/anchore/grype";
changelog = "https://github.com/anchore/grype/releases/tag/v${version}"; changelog = "https://github.com/anchore/grype/releases/tag/v${version}";
description = "Vulnerability scanner for container images and filesystems";
mainProgram = "grype";
longDescription = '' longDescription = ''
As a vulnerability scanner grype is able to scan the contents of a As a vulnerability scanner grype is able to scan the contents of a
container image or filesystem to find known vulnerabilities. container image or filesystem to find known vulnerabilities.
@ -117,5 +118,6 @@ buildGoModule rec {
jk jk
kashw2 kashw2
]; ];
mainProgram = "grype";
}; };
} }

View file

@ -72,13 +72,13 @@ let
in in
effectiveStdenv.mkDerivation (finalAttrs: { effectiveStdenv.mkDerivation (finalAttrs: {
pname = "llama-cpp"; pname = "llama-cpp";
version = "2746"; version = "2781";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ggerganov"; owner = "ggerganov";
repo = "llama.cpp"; repo = "llama.cpp";
rev = "refs/tags/b${finalAttrs.version}"; rev = "refs/tags/b${finalAttrs.version}";
hash = "sha256-KrIeZEq6RAz3N47wgtQjlfNzoGcTh3DqOhYBOxJPGzs="; hash = "sha256-a+Ji8h0Yh52pGnDsrJSgfG5kdMDAmhEQ6YKdtZRc7S8=";
leaveDotGit = true; leaveDotGit = true;
postFetch = '' postFetch = ''
git -C "$out" rev-parse --short HEAD > $out/COMMIT git -C "$out" rev-parse --short HEAD > $out/COMMIT

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
name = "regal"; name = "regal";
version = "0.21.2"; version = "0.21.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "StyraInc"; owner = "StyraInc";
repo = "regal"; repo = "regal";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-YGUXJ5rfzyLwqhOLBuIRdN1G0fTcrPmuIsYKS/CzzW4="; hash = "sha256-MeEamVAETl+PJXJ2HpbhYdEG3kqvEeT5bGzRHyTrjcY=";
}; };
vendorHash = "sha256-5rj2dCWya24VUmIFf0oJQop80trq9NnqqFlBW/A6opk="; vendorHash = "sha256-5rj2dCWya24VUmIFf0oJQop80trq9NnqqFlBW/A6opk=";

View file

@ -0,0 +1,82 @@
{
lib,
SDL2,
darwin,
fetchFromGitHub,
flac,
fluidsynth,
libmodplug,
libogg,
libvorbis,
mpg123,
opusfile,
pkg-config,
smpeg2,
stdenv,
timidity,
}:
let
inherit (darwin.apple_sdk.frameworks) CoreServices AudioUnit AudioToolbox;
in
stdenv.mkDerivation (finalAttrs: {
pname = "SDL2_mixer";
version = "2.8.0";
src = fetchFromGitHub {
owner = "libsdl-org";
repo = "SDL_mixer";
rev = "release-${finalAttrs.version}";
hash = "sha256-jLKawxnwP5dJglUhgHfWgmKh27i32Rr4LcJQdpXasco=";
};
nativeBuildInputs = [
SDL2
pkg-config
];
buildInputs = lib.optionals stdenv.isDarwin [
AudioToolbox
AudioUnit
CoreServices
];
propagatedBuildInputs = [
SDL2
flac
fluidsynth
libmodplug
libogg
libvorbis
mpg123
opusfile
smpeg2
# MIDI patterns
timidity
];
outputs = [ "out" "dev" ];
strictDeps = true;
configureFlags = [
(lib.enableFeature false "music-ogg-shared")
(lib.enableFeature false "music-flac-shared")
(lib.enableFeature false "music-mod-modplug-shared")
(lib.enableFeature false "music-mp3-mpg123-shared")
(lib.enableFeature false "music-opus-shared")
(lib.enableFeature false "music-midi-fluidsynth-shared")
(lib.enableFeature (!stdenv.isDarwin) "sdltest")
(lib.enableFeature (!stdenv.isDarwin) "smpegtest")
# override default path to allow MIDI files to be played
(lib.withFeatureAs true "timidity-cfg" "${timidity}/share/timidity/timidity.cfg")
];
meta = {
homepage = "https://github.com/libsdl-org/SDL_mixer";
description = "SDL multi-channel audio mixer library";
license = lib.licenses.zlib;
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.unix;
};
})

View file

@ -0,0 +1,40 @@
# SDL2_mixer_2_0 pinned for lzwolf
{
SDL2_mixer,
fetchFromGitHub,
fetchpatch,
lzwolf,
timidity,
}:
let
attrset = {
version = "2.0.4";
src = fetchFromGitHub {
owner = "libsdl-org";
repo = "SDL_mixer";
rev = "release-${attrset.version}";
hash = "sha256-vo9twUGeK2emDiGd9kSGuA/X8TxVmQrRFFm71zawWYM=";
};
patches = [
# These patches fix incompatible function pointer conversion errors with clang 16.
(fetchpatch {
url = "https://github.com/libsdl-org/SDL_mixer/commit/4119ec3fe838d38d2433f4432cd18926bda5d093.patch";
stripLen = 2;
hash = "sha256-Ug1EEZIRcV8+e1MeMsGHuTW7Zn6j4szqujP8IkIq2VM=";
})
# Based on https://github.com/libsdl-org/SDL_mixer/commit/64ab759111ddb1b033bcce64e1a04e0cba6e498f
./SDL_mixer-2.0-incompatible-pointer-comparison-fix.patch
];
# fix default path to timidity.cfg so MIDI files could be played
postPatch = ''
substituteInPlace timidity/options.h \
--replace "/usr/share/timidity" "${timidity}/share/timidity"
'';
passthru.tests.lzwolf = lzwolf;
};
in SDL2_mixer.overrideAttrs(_: attrset)

View file

@ -0,0 +1,25 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "slumber";
version = "1.0.1";
# This release tarball includes source code for the tree-sitter grammars,
# which is not ordinarily part of the repository.
src = fetchFromGitHub {
owner = "LucasPickering";
repo = "slumber";
rev = "v${version}";
hash = "sha256-FXw3hVVY/f49leo9t+z52+Ti9XGk6UJDtd0VpQDQb/o=";
};
cargoHash = "sha256-odLFfq3qjCQUNDauFtlOaKrsYVspAIxAc/pRSEZyIwo=";
meta = with lib; {
description = "Terminal-based HTTP/REST client";
homepage = "https://slumber.lucaspickering.me";
license = licenses.mit;
mainProgram = "slumber";
maintainers = with maintainers; [ javaes ];
broken = stdenv.isDarwin || stdenv.isAarch64;
};
}

View file

@ -0,0 +1,37 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, coin-utils
, CoinMP
, gfortran
, libtool
, glpk
, osi
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "symphony";
version = "5.7.2";
outputs = [ "out" ];
src = fetchFromGitHub {
owner = "coin-or";
repo = "SYMPHONY";
rev = "releases/${version}";
sha256 = "sha256-OdTUMG3iVhjhw5uKtUnsLCZ4DfMjYHm8+/ozfmw7J6c=";
};
nativeBuildInputs = [ libtool pkg-config glpk gfortran CoinMP osi coin-utils ];
meta = {
description = "SYMPHONY is an open-source solver, callable library, and development framework for mixed-integer linear programs (MILPs) written in C with a number of unique features";
homepage = "https://www.coin-or.org/SYMPHONY/index.htm";
changelog = "https://github.com/coin-or/SYMPHONY/blob/${version}/CHANGELOG.md";
platforms = [ "x86_64-linux" ];
license = lib.licenses.epl20;
maintainers = with lib.maintainers; [ b-rodrigues ];
};
}

View file

@ -7,14 +7,14 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "systemctl-tui"; pname = "systemctl-tui";
version = "0.3.3"; version = "0.3.4";
src = fetchCrate { src = fetchCrate {
inherit pname version; inherit pname version;
hash = "sha256-oFXLxWS2G+CkG0yuJLkA34SqoGGcXU/eZmFMRYw+Gzo="; hash = "sha256-yEBh8A0mWXVBkbemPEhvSNgsP+YF/WiLYKMkOPCa6e4=";
}; };
cargoHash = "sha256-MKxeRQupgAxA2ui8qSK8BvhxqqgjJarD8pY9wmk8MvA="; cargoHash = "sha256-IaDAQ9EHkcwwI2z0c8YNIgbjs2zwMblHbCKF0E92+V8=";
buildInputs = lib.optionals stdenv.isDarwin [ buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.AppKit darwin.apple_sdk.frameworks.AppKit

View file

@ -4,16 +4,16 @@
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "typos-lsp"; pname = "typos-lsp";
version = "0.1.17"; version = "0.1.18";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tekumara"; owner = "tekumara";
repo = "typos-lsp"; repo = "typos-lsp";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-Q/V9WabxtsUQ69r7qHzslko8anWyuB3VqVRQJ6gl9O8="; hash = "sha256-6ELn2Q7pAUgnwe8+vAUbuRjaKFWvbGZ1SMfXQ1qKp5c=";
}; };
cargoHash = "sha256-Rus79FpYBgz1CPK4n805Au0ncom8rhD3zD82a2DyR3k="; cargoHash = "sha256-UDID+dI8ETP084WR482uWli2++bI4mRiMvpFpWUlvZE=";
# fix for compilation on aarch64 # fix for compilation on aarch64
# see https://github.com/NixOS/nixpkgs/issues/145726 # see https://github.com/NixOS/nixpkgs/issues/145726

View file

@ -3649,7 +3649,7 @@ dependencies = [
[[package]] [[package]]
name = "typstyle" name = "typstyle"
version = "0.11.13" version = "0.11.16"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",

View file

@ -1,6 +1,7 @@
{ lib { lib
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, pkg-config , pkg-config
, libgit2 , libgit2
, zlib , zlib
@ -10,15 +11,24 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "typstyle"; pname = "typstyle";
version = "0.11.13"; version = "0.11.16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Enter-tainer"; owner = "Enter-tainer";
repo = "typstyle"; repo = "typstyle";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-xJoL/YgdkORQf+U/1E2OVk6pD/IuXxJJTw+Xufonjd0="; hash = "sha256-ZmGrdAHbU4PQgd9haoVEZ8Wn8Scujm9bJAtvO2+aPoQ=";
}; };
patches = [
(fetchpatch {
# Trim whitespace patch
name = "whitespace-trim.patch";
url = "https://github.com/Enter-tainer/typstyle/commit/127b7362f5938e091e2e5a33976ad3f63b6e4ee3.patch";
hash = "sha256-Xzo51bgpEUKP7WDQ7BFNAZsyofPcPDIJMWOf4S+GGvI=";
})
];
cargoLock = { cargoLock = {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = { outputHashes = {

View file

@ -7,13 +7,13 @@
stdenvNoCC.mkDerivation (finalAttrs: { stdenvNoCC.mkDerivation (finalAttrs: {
pname = "vcpkg"; pname = "vcpkg";
version = "2024.03.25"; version = "2024.04.26";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "microsoft"; owner = "microsoft";
repo = "vcpkg"; repo = "vcpkg";
rev = finalAttrs.version; rev = finalAttrs.version;
hash = "sha256-HMK3sebq/9TuxHQ75+5UIMvN09cPWmq7TFBBwRY4X7o="; hash = "sha256-Bu1sZhk8fqG5D7m/0QK3uI97stXx8l8y30lnffTr9h0=";
}; };
installPhase = let installPhase = let

View file

@ -1,35 +1,27 @@
{ lib, rustPlatform, fetchFromGitHub, pkg-config, libxkbcommon }: { lib, rustPlatform, fetchFromGitHub, pkg-config, libxkbcommon, wayland, libGL }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "wpaperd"; pname = "wpaperd";
version = "0.3.0"; version = "1.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "danyspin97"; owner = "danyspin97";
repo = pname; repo = "wpaperd";
rev = version; rev = version;
sha256 = "cgjHCSBrkX3aoz42qBS/1JUGhc7sZKarKByntp7ubaQ="; hash = "sha256-5riZ/6yjgsW++SUIyJP5rFG65tkjJKgtvDLIGaoiHN0=";
}; };
cargoHash = "sha256-EkCGLxUQeSCR88Y95Hog9TAjpYMmZHlOqEM//ENiCco=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
]; ];
buildInputs = [ buildInputs = [
wayland
libGL
libxkbcommon libxkbcommon
]; ];
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"smithay-client-toolkit-0.16.0" = "iPDL7pxTez4EnIBaUH25lLSWpu3RRL2QBF9pfdTDsP8=";
};
};
postPatch = ''
rm Cargo.lock
ln -s ${./Cargo.lock} Cargo.lock
'';
meta = with lib; { meta = with lib; {
description = "Minimal wallpaper daemon for Wayland"; description = "Minimal wallpaper daemon for Wayland";
longDescription = '' longDescription = ''
@ -41,7 +33,7 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/danyspin97/wpaperd"; homepage = "https://github.com/danyspin97/wpaperd";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ DPDmancul ]; maintainers = with maintainers; [ DPDmancul nu-nu-ko ];
mainProgram = "wpaperd"; mainProgram = "wpaperd";
}; };
} }

View file

@ -0,0 +1,55 @@
{
lib,
fetchFromGitHub,
fetchpatch,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "xnlinkfinder";
version = "6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "xnl-h4ck3r";
repo = "xnLinkFinder";
rev = "refs/tags/v${version}";
hash = "sha256-UMHMWHLJOhEeR+vO4YE3aNzdsvMAXPpQHQgdFf1QeMY=";
};
patches = [
# Clean-up setup.py
(fetchpatch {
name = "clean-up.patch";
url = "https://github.com/xnl-h4ck3r/xnLinkFinder/commit/8ef5e2ecf4c627b389cb7bb526f10fffe84acc13.patch";
hash = "sha256-14j3dFgehhPdqAe4e9FsB8sD66hKnNaPmDJRV1mQTDo=";
})
];
build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
beautifulsoup4
html5lib
lxml
psutil
pyyaml
requests
termcolor
urllib3
];
# Project has no test
doCheck = false;
pythonImportsCheck = [ "xnLinkFinder" ];
meta = with lib; {
description = "Tool to discover endpoints, potential parameters, and a target specific wordlist for a given target";
homepage = "https://github.com/xnl-h4ck3r/xnLinkFinder";
changelog = "https://github.com/xnl-h4ck3r/xnLinkFinder/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "xnLinkFinder";
};
}

View file

@ -41,7 +41,7 @@ let
++ lib.optional withQt (if (supportWayland) then qt5.qtwayland else qt5.qtbase); ++ lib.optional withQt (if (supportWayland) then qt5.qtwayland else qt5.qtbase);
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "zxtune"; pname = "zxtune";
version = "5056"; version = "5060";
outputs = [ "out" ]; outputs = [ "out" ];
@ -49,7 +49,7 @@ in stdenv.mkDerivation rec {
owner = "zxtune"; owner = "zxtune";
repo = "zxtune"; repo = "zxtune";
rev = "r${version}"; rev = "r${version}";
hash = "sha256-zvLbgS8AFW4kkvTccGXcr1KEw3EH47XcHwzq6CKzusQ="; hash = "sha256-mfObtcpBk9sltPckwjY/e5NwEILaxiPy/mbvmyQHeCo=";
}; };
passthru.updateScript = nix-update-script { passthru.updateScript = nix-update-script {

View file

@ -1,28 +1,36 @@
{ lib, stdenv, fetchurl }: { lib, stdenv, fetchzip }:
let let
version = "4.003"; font = "kanji-stroke-order";
debianVersion = "dfsg-1"; version = "4.004";
in stdenv.mkDerivation { in
name = "kanji-stroke-order-font-${version}"; stdenv.mkDerivation {
pname = "${font}-font";
inherit version;
src = fetchurl { src = fetchzip {
url = "https://salsa.debian.org/fonts-team/fonts-kanjistrokeorders/-/archive/debian/${version}_${debianVersion}/fonts-kanjistrokeorders-debian-${version}_${debianVersion}.tar.bz2"; # https://github.com/NixOS/nixpkgs/issues/60157
sha256 = "1a8hxzkrfjz0h5gl9h0panzzsn7cldlklxryyzmpam23g32q6bg1"; url = "https://drive.google.com/uc?export=download&id=1snpD-IQmT6fGGQjEePHdDzE2aiwuKrz4#${font}.zip";
hash = "sha256-wQpurDS6APnpNMbMHofwW/UKeBF8FXeiCVx4wAOeRoE=";
stripRoot = false;
}; };
installPhase = '' installPhase = ''
mkdir -p $out/share/fonts/kanji-stroke-order $out/share/doc/kanji-stroke-order runHook preInstall
cp *.ttf $out/share/fonts/kanji-stroke-order
cp *.txt $out/share/doc/kanji-stroke-order install -Dm644 *.ttf -t $out/share/fonts/${font}
install -Dm644 *.txt -t $out/share/doc/${font}
install -Dm644 *.pdf -t $out/share/doc/${font}
runHook postInstall
''; '';
meta = with lib; { meta = with lib; {
description = "Font containing stroke order diagrams for over 6500 kanji, 180 kana and other characters"; description = "Font containing stroke order diagrams for over 6500 kanji, 180 kana and other characters";
homepage = "https://sites.google.com/site/nihilistorguk/"; homepage = "https://www.nihilist.org.uk/";
license = [ licenses.bsd3 ]; license = [ licenses.bsd3 ];
maintainers = with maintainers; [ ptrhlm ]; maintainers = with maintainers; [ ptrhlm stephen-huan ];
platforms = platforms.all; platforms = platforms.all;
}; };
} }

View file

@ -7,7 +7,7 @@
}: }:
stdenv.mkDerivation ({ stdenv.mkDerivation ({
pname = "hex-source-${pkg}"; pname = pkg;
inherit version; inherit version;
dontBuild = true; dontBuild = true;
dontConfigure = true; dontConfigure = true;

View file

@ -0,0 +1,48 @@
{ lib, mkCoqDerivation, coq, version ? null
, equations
, mathcomp-ssreflect
, mathcomp-analysis
, extructures
, deriving
}:
(mkCoqDerivation {
pname = "ssprove";
owner = "SSProve";
inherit version;
defaultVersion = with lib.versions; lib.switch [coq.coq-version mathcomp-ssreflect.version] [
{ cases = [(range "8.18" "8.19") (range "2.1.0" "2.2.0")]; out = "0.2.0"; }
# This is the original dependency:
# { cases = ["8.17" "1.18.0"]; out = "0.1.0"; }
# But it is not loadable. The math-comp nixpkgs configuration
# will always only output version 1.18.0 for Coq 8.17.
# Hence, the Coq 8.17 and math-comp 1.17.0 must be explicitly set
# to load it.
# (This version is not on the math-comp CI and hence not checked.)
{ cases = ["8.17" "1.17.0"]; out = "0.1.0"; }
] null;
releaseRev = v: "v${v}";
release."0.2.0".sha256 = "sha256-GDkWH0LUsW165vAUoYC5of9ndr0MbfBtmrPhsJVXi3o=";
release."0.1.0".sha256 = "sha256-Yj+k+mBsudi3d6bRVlZLyM4UqQnzAX5tHvxtKoIuNTE=";
propagatedBuildInputs = [equations
mathcomp-ssreflect
mathcomp-analysis
extructures
deriving];
meta = with lib; {
description = "SSProve: A Foundational Framework for Modular Cryptographic Proofs in Coq";
license = licenses.mit;
maintainers = [ {
name = "Sebastian Ertel";
email = "sebastian.ertel@gmail.com";
github = "sertel";
githubId = 3703100;
} ];
};
})

View file

@ -9,11 +9,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "guile-lib"; pname = "guile-lib";
version = "0.2.8"; version = "0.2.8.1";
src = fetchurl { src = fetchurl {
url = "mirror://savannah/${pname}/${pname}-${version}.tar.gz"; url = "mirror://savannah/${pname}/${pname}-${version}.tar.gz";
hash = "sha256-ZOkC7gy7LO4e+4Fow7+e1J4LMqiiPbhj6DvxSBfXZ9k="; hash = "sha256-E3TC2Dnmoz0ZDNHavZx/h3U/g4T1W4ZvPhQhVcIrSbE=";
}; };
strictDeps = true; strictDeps = true;

View file

@ -1,34 +0,0 @@
{ fetchurl
, fetchpatch
, lzwolf
, SDL2_mixer
, timidity
}:
SDL2_mixer.overrideAttrs(oa: rec {
version = "2.0.4";
src = fetchurl {
url = "https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${version}.tar.gz";
sha256 = "0694vsz5bjkcdgfdra6x9fq8vpzrl8m6q96gh58df7065hw5mkxl";
};
patches = [
# These patches fix incompatible function pointer conversion errors with clang 16.
(fetchpatch {
url = "https://github.com/libsdl-org/SDL_mixer/commit/4119ec3fe838d38d2433f4432cd18926bda5d093.patch";
stripLen = 2;
hash = "sha256-Ug1EEZIRcV8+e1MeMsGHuTW7Zn6j4szqujP8IkIq2VM=";
})
# Based on https://github.com/libsdl-org/SDL_mixer/commit/64ab759111ddb1b033bcce64e1a04e0cba6e498f
./SDL_mixer-2.0-incompatible-pointer-comparison-fix.patch
];
# fix default path to timidity.cfg so MIDI files could be played
postPatch = ''
substituteInPlace timidity/options.h \
--replace "/usr/share/timidity" "${timidity}/share/timidity"
'';
passthru.tests.lzwolf = lzwolf;
})

View file

@ -1,74 +0,0 @@
{ lib, stdenv
, fetchurl
, pkg-config
, AudioToolbox
, AudioUnit
, CoreServices
, SDL2
, flac
, fluidsynth
, libmodplug
, libogg
, libvorbis
, mpg123
, opusfile
, smpeg2
, timidity
}:
stdenv.mkDerivation rec {
pname = "SDL2_mixer";
version = "2.8.0";
src = fetchurl {
url = "https://www.libsdl.org/projects/SDL_mixer/release/${pname}-${version}.tar.gz";
sha256 = "sha256-HPs0yHsm29vHr9aMT1RcARarX5C7/sxa6+Kpy0uzFUk=";
};
configureFlags = [
"--disable-music-ogg-shared"
"--disable-music-flac-shared"
"--disable-music-mod-modplug-shared"
"--disable-music-mp3-mpg123-shared"
"--disable-music-opus-shared"
"--disable-music-midi-fluidsynth-shared"
# override default path to allow MIDI files to be played
"--with-timidity-cfg=${timidity}/share/timidity/timidity.cfg"
] ++ lib.optionals stdenv.isDarwin [
"--disable-sdltest"
"--disable-smpegtest"
];
nativeBuildInputs = [ pkg-config ];
buildInputs = lib.optionals stdenv.isDarwin [
AudioToolbox
AudioUnit
CoreServices
];
propagatedBuildInputs = [
SDL2
flac
fluidsynth
libmodplug
libogg
libvorbis
mpg123
opusfile
smpeg2
# MIDI patterns
timidity
];
outputs = [ "out" "dev" ];
meta = with lib; {
description = "SDL multi-channel audio mixer library";
platforms = platforms.unix;
homepage = "https://github.com/libsdl-org/SDL_mixer";
maintainers = with maintainers; [ ];
license = licenses.zlib;
};
}

View file

@ -16,7 +16,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiounifi"; pname = "aiounifi";
version = "76"; version = "77";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.11"; disabled = pythonOlder "3.11";
@ -25,7 +25,7 @@ buildPythonPackage rec {
owner = "Kane610"; owner = "Kane610";
repo = "aiounifi"; repo = "aiounifi";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-N9N7sMHBiEhYUFok4bTSJZyp5pkJzj9pMxahY6FTx+I="; hash = "sha256-c3UR/AwnQLm6h1jsM6mk6MOii2/xQzFcrci+oG4BsDs=";
}; };
postPatch = '' postPatch = ''

View file

@ -1,18 +1,19 @@
{ lib {
, async-interrupt lib,
, async-timeout async-interrupt,
, bleak async-timeout,
, bleak-retry-connector bleak,
, buildPythonPackage bleak-retry-connector,
, fetchFromGitHub buildPythonPackage,
, poetry-core fetchFromGitHub,
, pytestCheckHook poetry-core,
, pythonOlder pytestCheckHook,
pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "airthings-ble"; pname = "airthings-ble";
version = "0.7.1"; version = "0.8.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -21,7 +22,7 @@ buildPythonPackage rec {
owner = "vincegio"; owner = "vincegio";
repo = "airthings-ble"; repo = "airthings-ble";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-BeOrGRVxvfQR1xqIpOp4tOTvlqTKCZHUjVKDqVjVnYM="; hash = "sha256-BgjfvKrVpw/cP93JCloZKq+PIyS/w7/v6+obfgDT64A=";
}; };
postPatch = '' postPatch = ''
@ -29,25 +30,17 @@ buildPythonPackage rec {
--replace-fail "-v -Wdefault --cov=airthings_ble --cov-report=term-missing:skip-covered" "" --replace-fail "-v -Wdefault --cov=airthings_ble --cov-report=term-missing:skip-covered" ""
''; '';
nativeBuildInputs = [ build-system = [ poetry-core ];
poetry-core
];
propagatedBuildInputs = [ dependencies = [
async-interrupt async-interrupt
bleak bleak
bleak-retry-connector bleak-retry-connector
] ++ lib.optionals (pythonOlder "3.11") [ ] ++ lib.optionals (pythonOlder "3.11") [ async-timeout ];
async-timeout
];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "airthings_ble" ];
"airthings_ble"
];
meta = with lib; { meta = with lib; {
description = "Library for Airthings BLE devices"; description = "Library for Airthings BLE devices";

View file

@ -12,14 +12,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "domeneshop"; pname = "domeneshop";
version = "0.4.3"; version = "0.4.4";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.4"; disabled = pythonOlder "3.4";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-kL0X1mEsmVWqnq5NgsMBxeAu48zjmi3muhZYryTCOMo="; hash = "sha256-UCxIDnhIAkxZ1oQXYRyAMdGgUsUZ6AlYXwsxL49TFAg=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -37,6 +37,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "domeneshop" ]; pythonImportsCheck = [ "domeneshop" ];
meta = with lib; { meta = with lib; {
changelog = "https://github.com/domeneshop/python-domeneshop/releases/tag/v${version}";
description = "Python library for working with the Domeneshop API"; description = "Python library for working with the Domeneshop API";
homepage = "https://api.domeneshop.no/docs/"; homepage = "https://api.domeneshop.no/docs/";
license = licenses.mit; license = licenses.mit;

View file

@ -0,0 +1,61 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pythonOlder,
numpy,
imageio,
cairosvg,
imageio-ffmpeg,
pwkit,
}:
buildPythonPackage rec {
pname = "drawsvg";
version = "2.3.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "cduck";
repo = "drawsvg";
rev = "refs/tags/${version}";
hash = "sha256-LoA5yYeHO4GqS3dk7EMg1ZC42HBgmM6rSfigWMc4yUQ=";
};
build-system = [ setuptools ];
passthru.optional-dependencies = {
all = [
numpy
imageio
cairosvg
imageio-ffmpeg
pwkit
];
raster = [
numpy
imageio
cairosvg
imageio-ffmpeg
];
color = [
pwkit
numpy
];
};
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "drawsvg" ];
meta = with lib; {
description = "Programmatically generate SVG (vector) images, animations, and interactive Jupyter widgets";
homepage = "https://github.com/cduck/drawsvg";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -10,13 +10,14 @@
, pytestCheckHook , pytestCheckHook
, python-dateutil , python-dateutil
, pythonOlder , pythonOlder
, setuptools
, voluptuous , voluptuous
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "env-canada"; pname = "env-canada";
version = "0.6.1"; version = "0.6.2";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -24,10 +25,14 @@ buildPythonPackage rec {
owner = "michaeldavie"; owner = "michaeldavie";
repo = "env_canada"; repo = "env_canada";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-6p4holWMAoaosmTL8AveRGuBS/MymC7usvK3I7CBEKQ="; hash = "sha256-2lrZpjOdijE/udGRzUXT63xI+f9yI+04arfWdt6fMSA=";
}; };
propagatedBuildInputs = [ build-system = [
setuptools
];
dependencies = [
aiohttp aiohttp
geopy geopy
imageio imageio

View file

@ -1,17 +1,17 @@
{ lib {
, aiohttp lib,
, buildPythonPackage aiohttp,
, fetchFromGitHub buildPythonPackage,
, requests fetchFromGitHub,
, pytestCheckHook pytestCheckHook,
, pythonOlder pythonOlder,
, setuptools setuptools,
, wheel setuptools-scm,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "heatzypy"; pname = "heatzypy";
version = "2.2.0"; version = "2.5.4";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.11"; disabled = pythonOlder "3.11";
@ -20,30 +20,20 @@ buildPythonPackage rec {
owner = "Cyr-ius"; owner = "Cyr-ius";
repo = "heatzypy"; repo = "heatzypy";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-Q6v1Ob1PY8tpMnd8hchepq983dsZ6lJPCKz83RRwL3w="; hash = "sha256-A01e3duNQmVv9vyOs6+gF/BdevLiYi/uXSq5bKmuRao=";
}; };
postPatch = '' build-system = [
substituteInPlace pyproject.toml \
--replace "replace_by_workflow" "${version}"
'';
nativeBuildInputs = [
setuptools setuptools
wheel setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [ aiohttp ];
aiohttp
requests
];
# Module has no tests # Module has no tests
doCheck = false; doCheck = false;
pythonImportsCheck = [ pythonImportsCheck = [ "heatzypy" ];
"heatzypy"
];
meta = with lib; { meta = with lib; {
description = "Module to interact with Heatzy devices"; description = "Module to interact with Heatzy devices";

View file

@ -1,13 +1,14 @@
{ lib {
, buildPythonPackage lib,
, fetchFromGitHub buildPythonPackage,
, pythonOlder fetchFromGitHub,
, setuptools pythonOlder,
setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "hstspreload"; pname = "hstspreload";
version = "2024.4.1"; version = "2024.5.1";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -16,19 +17,15 @@ buildPythonPackage rec {
owner = "sethmlarson"; owner = "sethmlarson";
repo = "hstspreload"; repo = "hstspreload";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-kbcUf06tgVgr5qu5YSCwHtlBVzUEEqF1A/D+4RCnUcc="; hash = "sha256-Ut2VhU2+o4wm4WY4zz/25EyDLvrYoBu3iVFkx3FZVYo=";
}; };
build-system = [ build-system = [ setuptools ];
setuptools
];
# Tests require network connection # Tests require network connection
doCheck = false; doCheck = false;
pythonImportsCheck = [ pythonImportsCheck = [ "hstspreload" ];
"hstspreload"
];
meta = with lib; { meta = with lib; {
description = "Chromium HSTS Preload list as a Python package and updated daily"; description = "Chromium HSTS Preload list as a Python package and updated daily";

View file

@ -16,7 +16,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "lacuscore"; pname = "lacuscore";
version = "1.9.2"; version = "1.9.3";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -25,7 +25,7 @@ buildPythonPackage rec {
owner = "ail-project"; owner = "ail-project";
repo = "LacusCore"; repo = "LacusCore";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-vfhRbbutNuZW/oI/eCJUXydCn47ThOlWRz2NJJrE3Tw="; hash = "sha256-jfbDg74vHwOFvbOETPSaApFCpzw9Khu8PgGpsoAwSGc=";
}; };
pythonRelaxDeps = [ pythonRelaxDeps = [

View file

@ -44,7 +44,7 @@ in
buildPythonPackage rec { buildPythonPackage rec {
pname = "llama-index-core"; pname = "llama-index-core";
version = "0.10.33"; version = "0.10.34";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -53,7 +53,7 @@ buildPythonPackage rec {
owner = "run-llama"; owner = "run-llama";
repo = "llama_index"; repo = "llama_index";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-UlKZX7qWb8/XeqxNTW9PawKauwZRsMjsFP+xXI1CyeE="; hash = "sha256-KOoTN+ERJZHOer82lLBTWzWW5MIoJaqOmhoa3HYk0fs=";
}; };
sourceRoot = "${src.name}/${pname}"; sourceRoot = "${src.name}/${pname}";

View file

@ -1,19 +1,21 @@
{ lib {
, buildPythonPackage lib,
, fetchPypi buildPythonPackage,
, pythonOlder fetchPypi,
, setuptools importlib-metadata,
, importlib-metadata mypy-extensions,
, mypy-extensions pytestCheckHook,
, typing-extensions pythonAtLeast,
, pytestCheckHook pythonOlder,
, pytz pytz,
setuptools,
typing-extensions,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "logilab-common"; pname = "logilab-common";
version = "2.0.0"; version = "2.0.0";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -22,17 +24,18 @@ buildPythonPackage rec {
hash = "sha256-ojvR2k3Wpj5Ej0OS57I4aFX/cGFVeL/PmT7riCTelws="; hash = "sha256-ojvR2k3Wpj5Ej0OS57I4aFX/cGFVeL/PmT7riCTelws=";
}; };
nativeBuildInputs = [ postPatch = lib.optionals (pythonAtLeast "3.12") ''
setuptools substituteInPlace logilab/common/testlib.py \
]; --replace-fail "_TextTestResult" "TextTestResult"
'';
propagatedBuildInputs = [ build-system = [ setuptools ];
dependencies = [
setuptools setuptools
mypy-extensions mypy-extensions
typing-extensions typing-extensions
] ++ lib.optionals (pythonOlder "3.8") [ ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
importlib-metadata
];
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
@ -44,10 +47,11 @@ buildPythonPackage rec {
''; '';
meta = with lib; { meta = with lib; {
description = "Python packages and modules used by Logilab "; description = "Python packages and modules used by Logilab";
mainProgram = "logilab-pytest";
homepage = "https://logilab-common.readthedocs.io/"; homepage = "https://logilab-common.readthedocs.io/";
changelog = "https://forge.extranet.logilab.fr/open-source/logilab-common/-/blob/branch/default/CHANGELOG.md"; changelog = "https://forge.extranet.logilab.fr/open-source/logilab-common/-/blob/branch/default/CHANGELOG.md";
license = licenses.lgpl21Plus; license = licenses.lgpl21Plus;
maintainers = with maintainers; [ ];
mainProgram = "logilab-pytest";
}; };
} }

View file

@ -14,7 +14,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "mkdocs-rss-plugin"; pname = "mkdocs-rss-plugin";
version = "1.12.1"; version = "1.12.2";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "Guts"; owner = "Guts";
repo = "mkdocs-rss-plugin"; repo = "mkdocs-rss-plugin";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-cLQfhMYW/9Eb+IamQIC7fZRTm/ORD8xbcrmKkSkUrMs="; hash = "sha256-CeVt4Vkr3tGvWsDQtw8eAaRS5jBeDei0TrS5rViSCaI=";
}; };
postPatch = '' postPatch = ''

View file

@ -12,7 +12,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "mkdocstrings-python"; pname = "mkdocstrings-python";
version = "1.9.2"; version = "1.10.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "mkdocstrings"; owner = "mkdocstrings";
repo = "python"; repo = "python";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-UJSDnkdohFn+U7i5fYiRVMLZZ8Nyb0fdihBZl2z2RBc="; hash = "sha256-sKRheGIR//kmiznHKsVGd35oSvGHgoocsbYCzDRv2Zs=";
}; };
build-system = [ pdm-backend ]; build-system = [ pdm-backend ];

View file

@ -21,7 +21,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "playwrightcapture"; pname = "playwrightcapture";
version = "1.24.6"; version = "1.24.7";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -30,7 +30,7 @@ buildPythonPackage rec {
owner = "Lookyloo"; owner = "Lookyloo";
repo = "PlaywrightCapture"; repo = "PlaywrightCapture";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-DFMnlFN9CooQ7HBiw6Ur6KMTMrEw6JxkT6IxlVU+PdY="; hash = "sha256-mCwV5rgJLns4LvCVwnGAJeqs426GK/8rfp93YKH34VA=";
}; };
pythonRelaxDeps = [ pythonRelaxDeps = [

View file

@ -1,31 +1,31 @@
{ lib {
, buildPythonPackage lib,
, fetchFromGitHub buildPythonPackage,
, pytestCheckHook fetchFromGitHub,
, pythonOlder pytestCheckHook,
pythonOlder,
setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "puremagic"; pname = "puremagic";
version = "1.21"; version = "1.22";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cdgriffith"; owner = "cdgriffith";
repo = pname; repo = "puremagic";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-ObJp3+gk1tf1+9wBpvzs0wwP7ptDlfGwX9b4wlCb1RI="; hash = "sha256-48gtwH6NXj/n3mm313Im1ey4ZH9TbsSFwjsQuBGuqwA=";
}; };
nativeCheckInputs = [ build-system = [ setuptools ];
pytestCheckHook
];
pythonImportsCheck = [ nativeCheckInputs = [ pytestCheckHook ];
"puremagic"
]; pythonImportsCheck = [ "puremagic" ];
meta = with lib; { meta = with lib; {
description = "Implementation of magic file detection"; description = "Implementation of magic file detection";

View file

@ -0,0 +1,40 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
numpy,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "pwkit";
version = "1.2.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "pkgw";
repo = "pwkit";
rev = "refs/tags/pwkit@${version}";
hash = "sha256-bQno1SIbxAJ1TL068eshfFgAkRXFmbGu2GTbv1BRGU0=";
};
build-system = [ setuptools ];
dependencies = [ numpy ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "pwkit" ];
meta = with lib; {
description = "Miscellaneous science/astronomy tools";
homepage = "https://github.com/pkgw/pwkit/";
changelog = "https://github.com/pkgw/pwkit/blob/${src.rev}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -1,17 +1,19 @@
{ lib {
, buildPythonPackage lib,
, fetchPypi buildPythonPackage,
, mock fetchPypi,
, psutil mock,
, pyopenssl psutil,
, pysendfile pyopenssl,
, pythonOlder pysendfile,
pythonOlder,
setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyftpdlib"; pname = "pyftpdlib";
version = "1.5.9"; version = "1.5.9";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -20,14 +22,12 @@ buildPythonPackage rec {
hash = "sha256-Mj1MQvFAau203xj69oD2TzLAgP9m9sJgkLpZL1v8Sg8="; hash = "sha256-Mj1MQvFAau203xj69oD2TzLAgP9m9sJgkLpZL1v8Sg8=";
}; };
propagatedBuildInputs = [ build-system = [ setuptools ];
pysendfile
]; dependencies = [ pysendfile ];
passthru.optional-dependencies = { passthru.optional-dependencies = {
ssl = [ ssl = [ pyopenssl ];
pyopenssl
];
}; };
nativeCheckInputs = [ nativeCheckInputs = [
@ -39,15 +39,14 @@ buildPythonPackage rec {
# on Hydra: https://hydra.nixos.org/build/84374861 # on Hydra: https://hydra.nixos.org/build/84374861
doCheck = false; doCheck = false;
pythonImportsCheck = [ pythonImportsCheck = [ "pyftpdlib" ];
"pyftpdlib"
];
meta = with lib; { meta = with lib; {
description = "Asynchronous FTP server library"; description = "Asynchronous FTP server library";
mainProgram = "ftpbench";
homepage = "https://github.com/giampaolo/pyftpdlib/"; homepage = "https://github.com/giampaolo/pyftpdlib/";
changelog = "https://github.com/giampaolo/pyftpdlib/blob/release-${version}/HISTORY.rst";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ ];
mainProgram = "ftpbench";
}; };
} }

View file

@ -1,31 +1,37 @@
{ stdenv {
, lib lib,
, buildPythonPackage stdenv,
, fetchPypi buildPythonPackage,
, python fetchPypi,
pythonOlder,
setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pysendfile"; pname = "pysendfile";
version = "2.0.1"; version = "2.0.1";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "05qf0m32isflln1zjgxlpw0wf469lj86vdwwqyizp1h94x5l22ji"; hash = "sha256-UQpBSycJhvujx5y3bZCkyRDHAb+0P/mDpdTpKEYFDhc=";
}; };
checkPhase = '' build-system = [ setuptools ];
# this test takes too long
sed -i 's/test_big_file/noop/' test/test_sendfile.py # Tests depend on asynchat and asyncore
${python.executable} test/test_sendfile.py doCheck = false;
'';
pythonImportsCheck = [ "sendfile" ];
meta = with lib; { meta = with lib; {
broken = stdenv.isDarwin;
homepage = "https://github.com/giampaolo/pysendfile";
description = "A Python interface to sendfile(2)"; description = "A Python interface to sendfile(2)";
homepage = "https://github.com/giampaolo/pysendfile";
changelog = "https://github.com/giampaolo/pysendfile/blob/release-${version}/HISTORY.rst";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ ];
broken = stdenv.isDarwin;
}; };
} }

View file

@ -1,30 +1,29 @@
{ lib {
, adal lib,
, buildPythonPackage adal,
, fetchPypi buildPythonPackage,
, pyjwt fetchPypi,
, pythonOlder pyjwt,
, setuptools pythonOlder,
, sqlalchemy setuptools,
sqlalchemy,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "roadlib"; pname = "roadlib";
version = "0.23.0"; version = "0.24.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-0hDiuF0dBRyR2B9dp4c7/jsC6li8uOduQBbhs6fFLfU="; hash = "sha256-+5vR2iTFu50PJIsj4sW6McH1sg3yyEIwk15W8Jk0GKA=";
}; };
nativeBuildInputs = [ build-system = [ setuptools ];
setuptools
];
propagatedBuildInputs = [ dependencies = [
adal adal
pyjwt pyjwt
sqlalchemy sqlalchemy
@ -33,9 +32,7 @@ buildPythonPackage rec {
# Module has no test # Module has no test
doCheck = false; doCheck = false;
pythonImportsCheck = [ pythonImportsCheck = [ "roadtools.roadlib" ];
"roadtools.roadlib"
];
meta = with lib; { meta = with lib; {
description = "ROADtools common components library"; description = "ROADtools common components library";

View file

@ -1,34 +1,33 @@
{ lib {
, buildPythonPackage lib,
, fetchPypi buildPythonPackage,
, pycryptodomex fetchPypi,
, pyotp pycryptodomex,
, pythonOlder pyotp,
, requests pythonOlder,
, roadlib requests,
, selenium roadlib,
, selenium-wire selenium,
, setuptools selenium-wire,
, signxml setuptools,
signxml,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "roadtx"; pname = "roadtx";
version = "1.7.0"; version = "1.8.1";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-qnumJbuBH+ajzfG+bLTrYPvB5uNnL8dJsTZoT2vo6g0="; hash = "sha256-hhxmwD1+mZtU/VmB8yXeQESh0AGtjhdpDXRG3+mYfEk=";
}; };
nativeBuildInputs = [ build-system = [ setuptools ];
setuptools
];
propagatedBuildInputs = [ dependencies = [
pycryptodomex pycryptodomex
pyotp pyotp
requests requests
@ -38,9 +37,7 @@ buildPythonPackage rec {
signxml signxml
]; ];
pythonImportsCheck = [ pythonImportsCheck = [ "roadtools.roadtx" ];
"roadtools.roadtx"
];
meta = with lib; { meta = with lib; {
description = "ROADtools Token eXchange"; description = "ROADtools Token eXchange";

View file

@ -1,12 +1,12 @@
{ lib {
, antlr4-python3-runtime lib,
, buildPythonPackage antlr4-python3-runtime,
, fetchFromGitHub buildPythonPackage,
, pythonOlder fetchFromGitHub,
, setuptools pytestCheckHook,
, pytestCheckHook pythonOlder,
, wheel setuptools,
, six six,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -25,26 +25,19 @@ buildPythonPackage rec {
postPatch = '' postPatch = ''
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace "antlr4-python3-runtime~=" "antlr4-python3-runtime>=" --replace-fail "antlr4-python3-runtime~=" "antlr4-python3-runtime>="
''; '';
nativeBuildInputs = [ build-system = [ setuptools ];
setuptools
wheel
];
propagatedBuildInputs = [ dependencies = [
antlr4-python3-runtime antlr4-python3-runtime
six six
]; ];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "stix2patterns" ];
"stix2patterns"
];
disabledTestPaths = [ disabledTestPaths = [
# Exception: Could not deserialize ATN with version (expected 4) # Exception: Could not deserialize ATN with version (expected 4)

View file

@ -7,14 +7,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "ucsmsdk"; pname = "ucsmsdk";
version = "0.9.16"; version = "0.9.17";
format = "setuptools"; format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "CiscoUcs"; owner = "CiscoUcs";
repo = "ucsmsdk"; repo = "ucsmsdk";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-9ksHA8uvBv370/6Umt5iz/4F8VsDDI9X8kVc5Lv0RVk="; hash = "sha256-Ejn99MArKZjCHsl81WSHfpWV3Kz/mBrItIa0tPVProU=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "yamale"; pname = "yamale";
version = "5.2.0"; version = "5.2.1";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "23andMe"; owner = "23andMe";
repo = "yamale"; repo = "yamale";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-UTtase1b8Zjaixhp/g0tLtT6QZS4cyaSHcFz+h9Qoos="; hash = "sha256-iiiQAZ050FintRSV3l2zfikTNmphhJgrn+4tUHORiSk=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View file

@ -13,12 +13,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "yq"; pname = "yq";
version = "3.4.1"; version = "3.4.3";
format = "setuptools"; format = "setuptools";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-tVjatvFcA+JKHESHiVALINbzB+6cpMk2E4fzZYFjAA0="; hash = "sha256-ulhqGm8wz3BbL5IgZxLfIoHNMgKAIQ57e4Cty48lbjs=";
}; };
patches = [ patches = [

View file

@ -413,6 +413,7 @@ let
RcppZiggurat = [ pkgs.gsl ]; RcppZiggurat = [ pkgs.gsl ];
reprex = [ pkgs.which ]; reprex = [ pkgs.which ];
rgdal = with pkgs; [ proj.dev gdal ]; rgdal = with pkgs; [ proj.dev gdal ];
Rhisat2 = [ pkgs.which pkgs.hostname ];
gdalcubes = [ pkgs.pkg-config ]; gdalcubes = [ pkgs.pkg-config ];
rgeos = [ pkgs.geos ]; rgeos = [ pkgs.geos ];
Rglpk = [ pkgs.glpk ]; Rglpk = [ pkgs.glpk ];
@ -533,6 +534,7 @@ let
Rbwa = [ pkgs.zlib.dev ]; Rbwa = [ pkgs.zlib.dev ];
trackViewer = [ pkgs.zlib.dev ]; trackViewer = [ pkgs.zlib.dev ];
themetagenomics = [ pkgs.zlib.dev ]; themetagenomics = [ pkgs.zlib.dev ];
Rsymphony = [ pkgs.pkg-config ];
NanoMethViz = [ pkgs.zlib.dev ]; NanoMethViz = [ pkgs.zlib.dev ];
RcppMeCab = [ pkgs.pkg-config ]; RcppMeCab = [ pkgs.pkg-config ];
HilbertVisGUI = with pkgs; [ pkg-config which ]; HilbertVisGUI = with pkgs; [ pkg-config which ];
@ -562,6 +564,7 @@ let
deepSNV = with pkgs; [ xz.dev bzip2.dev zlib.dev ]; deepSNV = with pkgs; [ xz.dev bzip2.dev zlib.dev ];
epialleleR = with pkgs; [ xz.dev bzip2.dev zlib.dev ]; epialleleR = with pkgs; [ xz.dev bzip2.dev zlib.dev ];
gdalraster = with pkgs; [ gdal proj.dev sqlite.dev ]; gdalraster = with pkgs; [ gdal proj.dev sqlite.dev ];
mitoClone2 = with pkgs; [ xz.dev bzip2.dev zlib.dev ];
gpg = [ pkgs.gpgme ]; gpg = [ pkgs.gpgme ];
webp = [ pkgs.libwebp ]; webp = [ pkgs.libwebp ];
RMark = [ pkgs.which ]; RMark = [ pkgs.which ];
@ -618,7 +621,7 @@ let
mashr = [ pkgs.gsl ]; mashr = [ pkgs.gsl ];
hadron = [ pkgs.gsl ]; hadron = [ pkgs.gsl ];
AMOUNTAIN = [ pkgs.gsl ]; AMOUNTAIN = [ pkgs.gsl ];
Rsymphony = with pkgs; [ pkg-config doxygen graphviz subversion ]; Rsymphony = with pkgs; [ symphony doxygen graphviz subversion cgl clp];
tcltk2 = with pkgs; [ tcl tk ]; tcltk2 = with pkgs; [ tcl tk ];
rswipl = with pkgs; [ ncurses.dev libxcrypt zlib.dev ]; rswipl = with pkgs; [ ncurses.dev libxcrypt zlib.dev ];
tikzDevice = with pkgs; [ which texliveMedium ]; tikzDevice = with pkgs; [ which texliveMedium ];
@ -1271,6 +1274,17 @@ let
''; '';
}); });
# backported patch from 1.9
Rhisat2= old.Rhisat2.overrideAttrs (attrs: {
patches = [ (pkgs.fetchpatch {
url = "https://github.com/fmicompbio/Rhisat2/commit/a0f27b018831b39f080f99e6db8a4b876fd56fc3.patch";
sha256 = "sha256-FbYkP/WFmbfQmxArkHgushgVgY0XSypbK8Z5ivQK8k4=";
}) ];
env = (attrs.env or { }) // {
NIX_CFLAGS_COMPILE = attrs.env.NIX_CFLAGS_COMPILE + " -w";
};
});
s2 = old.s2.overrideAttrs (attrs: { s2 = old.s2.overrideAttrs (attrs: {
PKGCONFIG_CFLAGS = "-I${pkgs.openssl.dev}/include"; PKGCONFIG_CFLAGS = "-I${pkgs.openssl.dev}/include";
PKGCONFIG_LIBS = "-Wl,-rpath,${lib.getLib pkgs.openssl}/lib -L${lib.getLib pkgs.openssl}/lib -lssl -lcrypto"; PKGCONFIG_LIBS = "-Wl,-rpath,${lib.getLib pkgs.openssl}/lib -L${lib.getLib pkgs.openssl}/lib -lssl -lcrypto";

View file

@ -1,12 +1,12 @@
{ lib, stdenvNoCC, fetchurl, makeBinaryWrapper, jre }: { lib, stdenvNoCC, fetchurl, makeBinaryWrapper, jre }:
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
version = "10.15.0"; version = "10.16.0";
pname = "checkstyle"; pname = "checkstyle";
src = fetchurl { src = fetchurl {
url = "https://github.com/checkstyle/checkstyle/releases/download/checkstyle-${version}/checkstyle-${version}-all.jar"; url = "https://github.com/checkstyle/checkstyle/releases/download/checkstyle-${version}/checkstyle-${version}-all.jar";
sha256 = "sha256-9p9JXjkkCHGCdNIs/Kh/I/JdU6xOVuc8Ff1WZERxiM4="; sha256 = "sha256-0Hmg7WnLAGy9YOipW7Oe6KQDxRiRqZ5eI3bKQGU0aQQ=";
}; };
nativeBuildInputs = [ makeBinaryWrapper ]; nativeBuildInputs = [ makeBinaryWrapper ];

View file

@ -1,12 +1,12 @@
{ lib, stdenv, fetchurl, unzip }: { lib, stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "4.3.2"; version = "4.3.3";
pname = "randoop"; pname = "randoop";
src = fetchurl { src = fetchurl {
url = "https://github.com/randoop/randoop/releases/download/v${version}/${pname}-${version}.zip"; url = "https://github.com/randoop/randoop/releases/download/v${version}/${pname}-${version}.zip";
sha256 = "sha256-lcYI0Yns/R5VeOUG68Xe8h1BO8wlKvL1CZIqzWkgsqo="; sha256 = "sha256-x9kAoVa4wvUp3gpg9GCodvjwql3CBtn5EqJIZYSSqVI=";
}; };
nativeBuildInputs = [ unzip ]; nativeBuildInputs = [ unzip ];

View file

@ -11,13 +11,13 @@ assert enableWasmEval && stdenv.isDarwin -> builtins.throw "building with wasm o
buildGoModule rec { buildGoModule rec {
pname = "open-policy-agent"; pname = "open-policy-agent";
version = "0.64.0"; version = "0.64.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "open-policy-agent"; owner = "open-policy-agent";
repo = "opa"; repo = "opa";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-BguL9ph7lNzOJs9s2l7jt/SjmD5Wy0MPrwIiEXL/Ip4="; hash = "sha256-IIW6AXv5x+uQGCZulPPB7IhRlCq7Ww76qUhMHg3Fx7g=";
}; };
vendorHash = null; vendorHash = null;

View file

@ -7,16 +7,16 @@
buildGoModule rec { buildGoModule rec {
pname = "rain"; pname = "rain";
version = "1.8.5"; version = "1.8.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "aws-cloudformation"; owner = "aws-cloudformation";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-AI7P5X9LNjXUQBkYTE0PCQ0xvK1CscVjnauoNVYp3GY="; sha256 = "sha256-wQ767MgLSdcNm3Z1HL8VgmUk2tMFmIyACMaMhPr4lmY=";
}; };
vendorHash = "sha256-CD7W+y/vQwWe7JFTl8+Zl7IKE88+Mu+Vvdr7Q1S+90w="; vendorHash = "sha256-SXgyxf8pqSZzlMoOissGLBfeXueY4aSkCcd7ahT2KMA=";
subPackages = [ "cmd/rain" ]; subPackages = [ "cmd/rain" ];

View file

@ -11,16 +11,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cargo-generate"; pname = "cargo-generate";
version = "0.20.0"; version = "0.21.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cargo-generate"; owner = "cargo-generate";
repo = "cargo-generate"; repo = "cargo-generate";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-k4bTuTRZMWx8mMi/hdAr4YPCWqe39fG8nkmHH2D80ew="; sha256 = "sha256-utJYgbmCLi7rWKsRDZqJDCtEbVijAjnMqpYoALKO+Ho=";
}; };
cargoHash = "sha256-wi1Y1eU+v9Q/4nkLNCUluPlDGfz6ld8nuVWR9orkDV4="; cargoHash = "sha256-9rgdpoXNKaw850EnK6jDwT+jba/B/66PqQackx2knuk=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

View file

@ -13,14 +13,14 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "rust-analyzer-unwrapped"; pname = "rust-analyzer-unwrapped";
version = "2024-04-08"; version = "2024-04-29";
cargoSha256 = "sha256-lVVHp8kbi3bnDQ0lCZugGSNznJduXPftGDq7ByxXWgc="; cargoSha256 = "sha256-OvkaBWkq5c3amvDZj51iOXUrfevBMhbCaKGHmrA/23E=";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rust-lang"; owner = "rust-lang";
repo = "rust-analyzer"; repo = "rust-analyzer";
rev = version; rev = version;
sha256 = "sha256-St7ZQrkrr5lmQX9wC1ZJAFxL8W7alswnyZk9d1se3Us="; sha256 = "sha256-zttBYGaoHpZfqWHQ8OI5f9OkGHCHb8tDBMySwsYNa2U=";
}; };
cargoBuildFlags = [ "--bin" "rust-analyzer" "--bin" "rust-analyzer-proc-macro-srv" ]; cargoBuildFlags = [ "--bin" "rust-analyzer" "--bin" "rust-analyzer-proc-macro-srv" ];

View file

@ -7,18 +7,18 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "ttfb"; pname = "ttfb";
version = "1.11.0"; version = "1.12.0";
src = fetchCrate { src = fetchCrate {
inherit pname version; inherit pname version;
hash = "sha256-38mhwYfWoMZzdbkgv65hBpX23wCpAWwiahuzO5xRpmA="; hash = "sha256-Cdup65w31wF1RZu0g4/msHfLESrNTcuCU5kxkk0gnW8=";
}; };
buildInputs = lib.optionals stdenv.isDarwin [ buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security darwin.apple_sdk.frameworks.Security
]; ];
cargoHash = "sha256-Gqv4XvG3aYMRdMP1mzUlsCPN+NMLHq2nf283KBQCems=="; cargoHash = "sha256-U8CG0GqnUwya+ZK0qXtOFZ/MbbqSvB5egX7XJKtl88g=";
# The bin feature activates all dependencies of the binary. Otherwise, # The bin feature activates all dependencies of the binary. Otherwise,
# only the library is build. # only the library is build.

View file

@ -11,13 +11,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "doomretro"; pname = "doomretro";
version = "5.3"; version = "5.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bradharding"; owner = "bradharding";
repo = "doomretro"; repo = "doomretro";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-LCCBtsDEyjzsPS5ADPzsup714p84MO65FQDVjAHhSts="; hash = "sha256-IOv58BmJvJtO7MMbrvf52MPYI0zjmPuRK7mcTwmBEY0=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -7,11 +7,11 @@
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "utm"; pname = "utm";
version = "4.4.5"; version = "4.5.2";
src = fetchurl { src = fetchurl {
url = "https://github.com/utmapp/UTM/releases/download/v${version}/UTM.dmg"; url = "https://github.com/utmapp/UTM/releases/download/v${version}/UTM.dmg";
hash = "sha256-FlIPSWqY2V1akd/InS6BPEBfc8pomJ8jgDns7wvaOm8="; hash = "sha256-pBRmtHXnw9BoFeaCCokk5hulChdEFl9dENbL8zzXMzs=";
}; };
nativeBuildInputs = [ undmg makeWrapper ]; nativeBuildInputs = [ undmg makeWrapper ];
@ -57,7 +57,7 @@ stdenvNoCC.mkDerivation rec {
See https://docs.getutm.app/ for more information. See https://docs.getutm.app/ for more information.
''; '';
homepage = "https://mac.getutm.app/"; homepage = "https://mac.getutm.app/";
changelog = "https://github.com/utmapp/${pname}/releases/tag/v${version}"; changelog = "https://github.com/utmapp/utm/releases/tag/v${version}";
mainProgram = "UTM"; mainProgram = "UTM";
license = licenses.asl20; license = licenses.asl20;
platforms = platforms.darwin; # 11.3 is the minimum supported version as of UTM 4. platforms = platforms.darwin; # 11.3 is the minimum supported version as of UTM 4.

View file

@ -221,7 +221,7 @@ let
config = { config = {
CONFIG_MODULES = "y"; CONFIG_MODULES = "y";
CONFIG_FW_LOADER = "m"; CONFIG_FW_LOADER = "m";
CONFIG_RUST = lib.mkIf withRust "y"; CONFIG_RUST = if withRust then "y" else "n";
}; };
}); });

View file

@ -21,20 +21,20 @@ in
buildGoModule rec { buildGoModule rec {
pname = "evcc"; pname = "evcc";
version = "0.124.10"; version = "0.126.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "evcc-io"; owner = "evcc-io";
repo = "evcc"; repo = "evcc";
rev = version; rev = version;
hash = "sha256-NbM8Uev2qIIS6WriP7QnVUumF29rZSOCavouPkPmYpE="; hash = "sha256-qNH1YdKQZptTGGOf/Nh4pBOpWCSgnq+JltF2OjlVGDk=";
}; };
vendorHash = "sha256-PZWMqv3R4Dq4cLtGNuvHCQ/GiYvlKJfSKEmBn0JYnb8="; vendorHash = "sha256-jJOxFkoVBT1NrnhntHPa2/irjHD09zKbtNDQoyelJp4=";
npmDeps = fetchNpmDeps { npmDeps = fetchNpmDeps {
inherit src; inherit src;
hash = "sha256-FWnRZ/NI49QZj8Uv6IbHc8IPAh3F5u4S6hY64B8+Uvk="; hash = "sha256-KW2aVK3Ui5sGBcNhTsNXUr9HyHcm0iJxxzBUjrNWrqw=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -69,7 +69,7 @@ rustPlatform.buildRustPackage rec {
description = "A Matrix homeserver written in Rust"; description = "A Matrix homeserver written in Rust";
homepage = "https://conduit.rs/"; homepage = "https://conduit.rs/";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ pstn piegames pimeys ]; maintainers = with maintainers; [ pstn pimeys ];
mainProgram = "conduit"; mainProgram = "conduit";
}; };
} }

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "neo4j"; pname = "neo4j";
version = "5.18.1"; version = "5.19.0";
src = fetchurl { src = fetchurl {
url = "https://neo4j.com/artifact.php?name=neo4j-community-${version}-unix.tar.gz"; url = "https://neo4j.com/artifact.php?name=neo4j-community-${version}-unix.tar.gz";
hash = "sha256-jNi8SK1Z8k6ZSc9aa+L+PhAKyes0Tv6mFuoKspZBEIk="; hash = "sha256-MPTrMVbr3XkFzid1FGyAK5sRBMCMMxsdbKEmqv9aANk=";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];

View file

@ -60,13 +60,13 @@ let
in in
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "openvscode-server"; pname = "openvscode-server";
version = "1.88.0"; version = "1.88.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gitpod-io"; owner = "gitpod-io";
repo = "openvscode-server"; repo = "openvscode-server";
rev = "openvscode-server-v${finalAttrs.version}"; rev = "openvscode-server-v${finalAttrs.version}";
hash = "sha256-cZ/q8EUPZ4YqKpwH/XvXzE8pMHKGO93ADqhGHbqJBF8="; hash = "sha256-Yc16L13Z8AmsGoSFbvy+4+KBdHxvqLMwZLeU2/dAQVU=";
}; };
yarnCache = stdenv.mkDerivation { yarnCache = stdenv.mkDerivation {
@ -89,7 +89,7 @@ stdenv.mkDerivation (finalAttrs: {
outputHashMode = "recursive"; outputHashMode = "recursive";
outputHashAlgo = "sha256"; outputHashAlgo = "sha256";
outputHash = "sha256-Zy8YPY+vEF9Y5ol4xWk9UMkHUQ0hY8n+mcXfm8iVbys="; outputHash = "sha256-89c6GYLT2RzHqwxBKegYqB6g5rEJ6/nH53cnfV7b0Ts=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -7,12 +7,12 @@
, stdenv , stdenv
}: }:
let let
version = "23.3.13"; version = "23.3.14";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "redpanda-data"; owner = "redpanda-data";
repo = "redpanda"; repo = "redpanda";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-5JbC9FEF0h9nExrb4IGnc5lzStf7FyQ9imkz6ekRyJg="; sha256 = "sha256-xFXcxtWTVRg+ZgxKfIU32JF0hRXzsLMwS9fSwge3/bc=";
}; };
server = callPackage ./server.nix { inherit src version; }; server = callPackage ./server.nix { inherit src version; };
in in
@ -21,7 +21,7 @@ buildGoModule rec {
inherit doCheck src version; inherit doCheck src version;
modRoot = "./src/go/rpk"; modRoot = "./src/go/rpk";
runVend = false; runVend = false;
vendorHash = "sha256-B//qmqxS3g9u2yir8Z3iV2fjQ4XXPAjFujeOZjdt8PE="; vendorHash = "sha256-Gm4zimkI77mKO5/Q4ylE4SOJayOetu2QU4bftQy5UjE=";
ldflags = [ ldflags = [
''-X "github.com/redpanda-data/redpanda/src/go/rpk/pkg/cli/cmd/version.version=${version}"'' ''-X "github.com/redpanda-data/redpanda/src/go/rpk/pkg/cli/cmd/version.version=${version}"''

View file

@ -8,16 +8,16 @@
buildNpmPackage rec { buildNpmPackage rec {
pname = "zigbee2mqtt"; pname = "zigbee2mqtt";
version = "1.36.1"; version = "1.37.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Koenkk"; owner = "Koenkk";
repo = "zigbee2mqtt"; repo = "zigbee2mqtt";
rev = version; rev = version;
hash = "sha256-LZ25EWO4cOVnF0bWFKwGfnX7kpzNafp1X6+/JYxn6Ek="; hash = "sha256-YYwnIWZJowIWCUY6PNRd3xWfzoHcSrFiAa3lEE7Vvw8=";
}; };
npmDepsHash = "sha256-6EorAqPLusWAEfTePn+O+tgZcv3g82mkPs2hSHPRRfo="; npmDepsHash = "sha256-tba/VGybkC+eQwtPhAL98+shFOSH8lIbkSQ/KHggDqM=";
buildInputs = [ buildInputs = [
systemdMinimal systemdMinimal

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "A small daemon for disabling trackpads while typing"; description = "A small daemon for disabling trackpads while typing";
homepage = "https://github.com/BlueDragonX/dispad"; homepage = "https://github.com/BlueDragonX/dispad";
license = licenses.gpl2; license = licenses.gpl2Plus;
maintainers = with maintainers; [ zimbatm ]; maintainers = with maintainers; [ zimbatm ];
platforms = platforms.linux; platforms = platforms.linux;
mainProgram = "dispad"; mainProgram = "dispad";

View file

@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
description = "Mouse wheel configuration tool for XFree86/Xorg"; description = "Mouse wheel configuration tool for XFree86/Xorg";
maintainers = with maintainers; [ jhillyerd ]; maintainers = with maintainers; [ jhillyerd ];
platforms = platforms.linux; platforms = platforms.linux;
license = licenses.gpl2; license = licenses.gpl2Only;
mainProgram = "imwheel"; mainProgram = "imwheel";
}; };
} }

View file

@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
and settings are stored in a human-readable config file. and settings are stored in a human-readable config file.
''; '';
homepage = "https://github.com/l3ib/nitrogen"; homepage = "https://github.com/l3ib/nitrogen";
license = lib.licenses.gpl2; license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux; platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.auntie ]; maintainers = [ lib.maintainers.auntie ];
mainProgram = "nitrogen"; mainProgram = "nitrogen";

View file

@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "NX X server based on Xnest"; description = "NX X server based on Xnest";
homepage = "https://github.com/ArcticaProject/nx-libs"; homepage = "https://github.com/ArcticaProject/nx-libs";
license = lib.licenses.gpl2; license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ ]; maintainers = with lib.maintainers; [ ];
platforms = lib.platforms.linux; platforms = lib.platforms.linux;
}; };

View file

@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "Simple background setter with 200 lines of code"; description = "Simple background setter with 200 lines of code";
homepage = "https://github.com/onur-ozkan/sbs"; homepage = "https://github.com/onur-ozkan/sbs";
license = licenses.gpl2; license = licenses.gpl2Only;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ onur-ozkan ]; maintainers = with maintainers; [ onur-ozkan ];
mainProgram = "sbs"; mainProgram = "sbs";

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