Merge staging-next into staging

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

9
.github/CODEOWNERS vendored
View File

@ -41,7 +41,7 @@
/pkgs/top-level/splice.nix @Ericson2314
/pkgs/top-level/release-cross.nix @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/build-support/cc-wrapper @Ericson2314
/pkgs/build-support/bintools-wrapper @Ericson2314
@ -305,13 +305,6 @@ nixos/modules/services/networking/networkmanager.nix @Janik-Haag
# terraform providers
/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
nixos/modules/services/misc/forgejo.nix @bendlas @emilylange
pkgs/applications/version-management/forgejo @bendlas @emilylange

View File

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

View File

@ -383,6 +383,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.
- 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.
- 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
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
{
meta.maintainers = with maintainers; [ nathan-gs ];
@ -46,6 +11,8 @@ in
options.services.ebusd = {
enable = mkEnableOption "ebusd, a daemon for communication with eBUS heating systems";
package = mkPackageOptionMD pkgs "ebusd" { };
device = mkOption {
type = types.str;
default = "";
@ -57,7 +24,8 @@ in
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
[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;
default = "https://cfg.ebusd.eu/";
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 = {
main = 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].
'';
};
network = 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].
'';
};
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].
'';
};
};
logs = let
# "all" must come first so it can be overridden by more specific areas
areas = [ "all" "main" "network" "bus" "update" "other" ];
levels = [ "none" "error" "notice" "info" "debug" ];
in listToAttrs (map (area: nameValuePair area (mkOption {
type = types.enum levels;
default = "notice";
example = "debug";
description = ''
Only write log for matching `AREA`s (${concatStringsSep "|" areas}) below or equal to `LEVEL` (${concatStringsSep "|" levels})
'';
})) areas);
mqtt = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Adds support for MQTT
'';
};
enable = mkEnableOption "support for MQTT";
host = mkOption {
type = types.str;
@ -179,13 +103,7 @@ in
'';
};
retain = mkOption {
type = types.bool;
default = false;
description = ''
Set the retain flag on all topics instead of only selected global ones
'';
};
retain = mkEnableOption "set the retain flag on all topics instead of only selected global ones";
user = mkOption {
type = types.str;
@ -200,7 +118,6 @@ in
The MQTT password.
'';
};
};
extraArguments = mkOption {
@ -210,25 +127,44 @@ in
Extra arguments to the ebus daemon
'';
};
};
config = mkIf (cfg.enable) {
config = let
usesDev = hasPrefix "/" cfg.device;
in mkIf cfg.enable {
systemd.services.ebusd = {
description = "EBUSd Service";
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
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;
Restart = "on-failure";
# Hardening
CapabilityBoundingSet = "";
DeviceAllow = lib.optionals usesDev [
cfg.device
] ;
DeviceAllow = optionals usesDev [ cfg.device ];
DevicePolicy = "closed";
LockPersonality = true;
MemoryDenyWriteExecute = false;
@ -254,9 +190,7 @@ in
RestrictNamespaces = true;
RestrictRealtime = true;
RestrictSUIDSGID = true;
SupplementaryGroups = [
"dialout"
];
SupplementaryGroups = [ "dialout" ];
SystemCallArchitectures = "native";
SystemCallFilter = [
"@system-service @pkey"
@ -265,6 +199,5 @@ in
UMask = "0077";
};
};
};
}

View File

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

View File

@ -9,7 +9,7 @@ let
configFile = format.generate "conduit.toml" cfg.settings;
in
{
meta.maintainers = with maintainers; [ pstn piegames ];
meta.maintainers = with maintainers; [ pstn ];
options.services.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
pname = "ledger-live-desktop";
version = "2.77.2";
version = "2.79.1";
src = fetchurl {
url = "https://download.live.ledger.com/${pname}-${version}-linux-x86_64.AppImage";
hash = "sha256-orIyfRs6TJgqGGLpl2tvoUtejsB0ni8xRK0SboP2LHw=";
hash = "sha256-zgs4uIK73CBp4hTbuO8LdcgvmUN3hYsnv61E+WGlpjg=";
};
appimageContents = appimageTools.extractType2 {

View File

@ -8,7 +8,7 @@
let
pname = "trezor-suite";
version = "24.3.2";
version = "24.4.3";
name = "${pname}-${version}";
suffix = {
@ -19,8 +19,8 @@ let
src = fetchurl {
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/: /-/'
aarch64-linux = "sha512-oj/UrUFTH0QZD2eTHdR/Lu6Tz6AIhbIBgPJD3jH1YJKgOZIzX21H0KSddMgu+iKPw2WmoKf0UP+qqf+yFs/mVQ==";
x86_64-linux = "sha512-RakNuSDKR0neO0IZwTVaARX9tWNDfJwOBFL3teUsNlcrur862I1c6NaaA/RxriujolDRI+wgG0twaUGEXXar5g==";
aarch64-linux = "sha512-EPpnEgE9euHGSo7CFMJg7hF3p5LqPc3zPxDQsNzyOI2lNv90vydtEmOm1fORj0MXbQsGLLS1nSzMH3vI6O9WmA==";
x86_64-linux = "sha512-FjHaomHjMSVwxO63NEEC5UjotzDlrX8yTGaz20RyoadClAUKIeVfeEt/5jDueFr2ZXfeLraRIQ0ywKm+wkC2EQ==";
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
};

View File

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

View File

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

View File

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

View File

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

View File

@ -2,7 +2,7 @@
let
versions =
if stdenv.isLinux then {
stable = "0.0.51";
stable = "0.0.52";
ptb = "0.0.81";
canary = "0.0.369";
development = "0.0.17";
@ -17,7 +17,7 @@ let
x86_64-linux = {
stable = fetchurl {
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 {
url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz";

View File

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

View File

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

View File

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

View File

@ -16,13 +16,13 @@ buildLua {
postPatch = ''
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
# 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
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";

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -18,7 +18,7 @@ stdenvNoCC.mkDerivation rec {
# reset_rot is only available in ffmpeg 5.0, see 5bcc61ce87922ecccaaa0bd303a7e195929859a8
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 = ''

View File

@ -15,9 +15,9 @@ buildNpmPackage rec {
};
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
substituteInPlace package.json --replace '"bin": "build/bin.mjs",' ""
substituteInPlace package.json --replace-fail '"bin": "build/bin.mjs",' ""
rm -rf src/bin.ts
'';

View File

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

View File

@ -9,13 +9,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "dk";
version = "2.1";
version = "2.2";
src = fetchFromBitbucket {
owner = "natemaia";
repo = "dk";
rev = "v${finalAttrs.version}";
hash = "sha256-bUt4Se4Gu7CZEdv1/VpU92ncq2MBKXG7T4Wpa/2rocI=";
hash = "sha256-u1fZTcfGLwKFeRADU55MFYDvtSOaOg5qtWB90xYpVuY=";
};
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 {
pname = "dune3d";
version = "1.0.0";
version = "1.1.0";
src = fetchFromGitHub {
owner = "dune3d";
repo = "dune3d";
rev = "v${version}";
hash = "sha256-y7jlqH1p2vCFTM14rFURxTkrWUT5hNkCseC3xB6bFFo=";
hash = "sha256-Z/kdOc/MbnnEyRsel3aZGndTAy1eCdAK0Wdta0HxaE4=";
};
nativeBuildInputs = [

View File

@ -46,13 +46,13 @@ let
in
stdenv'.mkDerivation (finalAttrs: {
pname = "fastfetch";
version = "2.10.2";
version = "2.11.0";
src = fetchFromGitHub {
owner = "fastfetch-cli";
repo = "fastfetch";
rev = finalAttrs.version;
hash = "sha256-1ok2HR9RapS+MF8zuNLhzMZMz0F2AQsKsxNqCT7QF/8=";
hash = "sha256-/j0dRnApP5PQV4qVkqM6WlFdSZHlBTheaoWXSd2YP5k=";
};
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
stdenv.mkDerivation (finalAttrs: {
pname = "gamescope";
version = "3.14.6";
version = "3.14.11";
src = fetchFromGitHub {
owner = "ValveSoftware";
repo = "gamescope";
rev = "refs/tags/${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-Nj66d42Ih4pD15cNuMe81sviUepVVzVX8BEP7O2p0o0=";
hash = "sha256-Ex4uJ50EiX9ZVzmndygxET0wZmPtPB4Ditjq5bdhKTQ=";
};
patches = [

View File

@ -9,13 +9,13 @@
buildGoModule rec {
pname = "grype";
version = "0.77.1";
version = "0.77.2";
src = fetchFromGitHub {
owner = "anchore";
repo = "grype";
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
# can delete .git afterwards and maintain better reproducibility of the src.
leaveDotGit = true;
@ -90,6 +90,8 @@ buildGoModule rec {
--replace-fail "TestAllNames" "SkipAllNames"
substituteInPlace test/cli/version_cmd_test.go \
--replace-fail "TestVersionCmdPrintsToStdout" "SkipVersionCmdPrintsToStdout"
substituteInPlace grype/presenter/sarif/presenter_test.go \
--replace-fail "Test_SarifIsValid" "SkipTest_SarifIsValid"
# segfault
rm grype/db/v5/namespace/cpe/namespace_test.go
@ -103,10 +105,9 @@ buildGoModule rec {
'';
meta = with lib; {
description = "Vulnerability scanner for container images and filesystems";
homepage = "https://github.com/anchore/grype";
changelog = "https://github.com/anchore/grype/releases/tag/v${version}";
description = "Vulnerability scanner for container images and filesystems";
mainProgram = "grype";
longDescription = ''
As a vulnerability scanner grype is able to scan the contents of a
container image or filesystem to find known vulnerabilities.
@ -117,5 +118,6 @@ buildGoModule rec {
jk
kashw2
];
mainProgram = "grype";
};
}

View File

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

View File

@ -2,13 +2,13 @@
buildGoModule rec {
name = "regal";
version = "0.21.2";
version = "0.21.3";
src = fetchFromGitHub {
owner = "StyraInc";
repo = "regal";
rev = "v${version}";
hash = "sha256-YGUXJ5rfzyLwqhOLBuIRdN1G0fTcrPmuIsYKS/CzzW4=";
hash = "sha256-MeEamVAETl+PJXJ2HpbhYdEG3kqvEeT5bGzRHyTrjcY=";
};
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 {
pname = "systemctl-tui";
version = "0.3.3";
version = "0.3.4";
src = fetchCrate {
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 [
darwin.apple_sdk.frameworks.AppKit

View File

@ -4,16 +4,16 @@
}:
rustPlatform.buildRustPackage rec {
pname = "typos-lsp";
version = "0.1.17";
version = "0.1.18";
src = fetchFromGitHub {
owner = "tekumara";
repo = "typos-lsp";
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
# see https://github.com/NixOS/nixpkgs/issues/145726

View File

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

View File

@ -1,6 +1,7 @@
{ lib
, rustPlatform
, fetchFromGitHub
, fetchpatch
, pkg-config
, libgit2
, zlib
@ -10,15 +11,24 @@
rustPlatform.buildRustPackage rec {
pname = "typstyle";
version = "0.11.13";
version = "0.11.16";
src = fetchFromGitHub {
owner = "Enter-tainer";
repo = "typstyle";
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 = {
lockFile = ./Cargo.lock;
outputHashes = {

View File

@ -7,13 +7,13 @@
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "vcpkg";
version = "2024.03.25";
version = "2024.04.26";
src = fetchFromGitHub {
owner = "microsoft";
repo = "vcpkg";
rev = finalAttrs.version;
hash = "sha256-HMK3sebq/9TuxHQ75+5UIMvN09cPWmq7TFBBwRY4X7o=";
hash = "sha256-Bu1sZhk8fqG5D7m/0QK3uI97stXx8l8y30lnffTr9h0=";
};
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 {
pname = "wpaperd";
version = "0.3.0";
version = "1.0.1";
src = fetchFromGitHub {
owner = "danyspin97";
repo = pname;
repo = "wpaperd";
rev = version;
sha256 = "cgjHCSBrkX3aoz42qBS/1JUGhc7sZKarKByntp7ubaQ=";
hash = "sha256-5riZ/6yjgsW++SUIyJP5rFG65tkjJKgtvDLIGaoiHN0=";
};
cargoHash = "sha256-EkCGLxUQeSCR88Y95Hog9TAjpYMmZHlOqEM//ENiCco=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
wayland
libGL
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; {
description = "Minimal wallpaper daemon for Wayland";
longDescription = ''
@ -41,7 +33,7 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/danyspin97/wpaperd";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ DPDmancul ];
maintainers = with maintainers; [ DPDmancul nu-nu-ko ];
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);
in stdenv.mkDerivation rec {
pname = "zxtune";
version = "5056";
version = "5060";
outputs = [ "out" ];
@ -49,7 +49,7 @@ in stdenv.mkDerivation rec {
owner = "zxtune";
repo = "zxtune";
rev = "r${version}";
hash = "sha256-zvLbgS8AFW4kkvTccGXcr1KEw3EH47XcHwzq6CKzusQ=";
hash = "sha256-mfObtcpBk9sltPckwjY/e5NwEILaxiPy/mbvmyQHeCo=";
};
passthru.updateScript = nix-update-script {

View File

@ -1,28 +1,36 @@
{ lib, stdenv, fetchurl }:
{ lib, stdenv, fetchzip }:
let
version = "4.003";
debianVersion = "dfsg-1";
in stdenv.mkDerivation {
name = "kanji-stroke-order-font-${version}";
font = "kanji-stroke-order";
version = "4.004";
in
stdenv.mkDerivation {
pname = "${font}-font";
inherit version;
src = fetchurl {
url = "https://salsa.debian.org/fonts-team/fonts-kanjistrokeorders/-/archive/debian/${version}_${debianVersion}/fonts-kanjistrokeorders-debian-${version}_${debianVersion}.tar.bz2";
sha256 = "1a8hxzkrfjz0h5gl9h0panzzsn7cldlklxryyzmpam23g32q6bg1";
src = fetchzip {
# https://github.com/NixOS/nixpkgs/issues/60157
url = "https://drive.google.com/uc?export=download&id=1snpD-IQmT6fGGQjEePHdDzE2aiwuKrz4#${font}.zip";
hash = "sha256-wQpurDS6APnpNMbMHofwW/UKeBF8FXeiCVx4wAOeRoE=";
stripRoot = false;
};
installPhase = ''
mkdir -p $out/share/fonts/kanji-stroke-order $out/share/doc/kanji-stroke-order
cp *.ttf $out/share/fonts/kanji-stroke-order
cp *.txt $out/share/doc/kanji-stroke-order
runHook preInstall
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; {
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 ];
maintainers = with maintainers; [ ptrhlm ];
maintainers = with maintainers; [ ptrhlm stephen-huan ];
platforms = platforms.all;
};
}

View File

@ -7,7 +7,7 @@
}:
stdenv.mkDerivation ({
pname = "hex-source-${pkg}";
pname = pkg;
inherit version;
dontBuild = 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 {
pname = "guile-lib";
version = "0.2.8";
version = "0.2.8.1";
src = fetchurl {
url = "mirror://savannah/${pname}/${pname}-${version}.tar.gz";
hash = "sha256-ZOkC7gy7LO4e+4Fow7+e1J4LMqiiPbhj6DvxSBfXZ9k=";
hash = "sha256-E3TC2Dnmoz0ZDNHavZx/h3U/g4T1W4ZvPhQhVcIrSbE=";
};
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 {
pname = "aiounifi";
version = "76";
version = "77";
pyproject = true;
disabled = pythonOlder "3.11";
@ -25,7 +25,7 @@ buildPythonPackage rec {
owner = "Kane610";
repo = "aiounifi";
rev = "refs/tags/v${version}";
hash = "sha256-N9N7sMHBiEhYUFok4bTSJZyp5pkJzj9pMxahY6FTx+I=";
hash = "sha256-c3UR/AwnQLm6h1jsM6mk6MOii2/xQzFcrci+oG4BsDs=";
};
postPatch = ''

View File

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

View File

@ -12,14 +12,14 @@
buildPythonPackage rec {
pname = "domeneshop";
version = "0.4.3";
version = "0.4.4";
pyproject = true;
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
hash = "sha256-kL0X1mEsmVWqnq5NgsMBxeAu48zjmi3muhZYryTCOMo=";
hash = "sha256-UCxIDnhIAkxZ1oQXYRyAMdGgUsUZ6AlYXwsxL49TFAg=";
};
nativeBuildInputs = [
@ -37,6 +37,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "domeneshop" ];
meta = with lib; {
changelog = "https://github.com/domeneshop/python-domeneshop/releases/tag/v${version}";
description = "Python library for working with the Domeneshop API";
homepage = "https://api.domeneshop.no/docs/";
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
, python-dateutil
, pythonOlder
, setuptools
, voluptuous
}:
buildPythonPackage rec {
pname = "env-canada";
version = "0.6.1";
format = "setuptools";
version = "0.6.2";
pyproject = true;
disabled = pythonOlder "3.8";
@ -24,10 +25,14 @@ buildPythonPackage rec {
owner = "michaeldavie";
repo = "env_canada";
rev = "refs/tags/v${version}";
hash = "sha256-6p4holWMAoaosmTL8AveRGuBS/MymC7usvK3I7CBEKQ=";
hash = "sha256-2lrZpjOdijE/udGRzUXT63xI+f9yI+04arfWdt6fMSA=";
};
propagatedBuildInputs = [
build-system = [
setuptools
];
dependencies = [
aiohttp
geopy
imageio

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,31 +1,31 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "puremagic";
version = "1.21";
format = "setuptools";
version = "1.22";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "cdgriffith";
repo = pname;
repo = "puremagic";
rev = "refs/tags/${version}";
hash = "sha256-ObJp3+gk1tf1+9wBpvzs0wwP7ptDlfGwX9b4wlCb1RI=";
hash = "sha256-48gtwH6NXj/n3mm313Im1ey4ZH9TbsSFwjsQuBGuqwA=";
};
nativeCheckInputs = [
pytestCheckHook
];
build-system = [ setuptools ];
pythonImportsCheck = [
"puremagic"
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "puremagic" ];
meta = with lib; {
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
, fetchPypi
, mock
, psutil
, pyopenssl
, pysendfile
, pythonOlder
{
lib,
buildPythonPackage,
fetchPypi,
mock,
psutil,
pyopenssl,
pysendfile,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "pyftpdlib";
version = "1.5.9";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@ -20,14 +22,12 @@ buildPythonPackage rec {
hash = "sha256-Mj1MQvFAau203xj69oD2TzLAgP9m9sJgkLpZL1v8Sg8=";
};
propagatedBuildInputs = [
pysendfile
];
build-system = [ setuptools ];
dependencies = [ pysendfile ];
passthru.optional-dependencies = {
ssl = [
pyopenssl
];
ssl = [ pyopenssl ];
};
nativeCheckInputs = [
@ -39,15 +39,14 @@ buildPythonPackage rec {
# on Hydra: https://hydra.nixos.org/build/84374861
doCheck = false;
pythonImportsCheck = [
"pyftpdlib"
];
pythonImportsCheck = [ "pyftpdlib" ];
meta = with lib; {
description = "Asynchronous FTP server library";
mainProgram = "ftpbench";
homepage = "https://github.com/giampaolo/pyftpdlib/";
changelog = "https://github.com/giampaolo/pyftpdlib/blob/release-${version}/HISTORY.rst";
license = licenses.mit;
maintainers = with maintainers; [ ];
mainProgram = "ftpbench";
};
}

View File

@ -1,31 +1,37 @@
{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, python
{
lib,
stdenv,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "pysendfile";
version = "2.0.1";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "05qf0m32isflln1zjgxlpw0wf469lj86vdwwqyizp1h94x5l22ji";
hash = "sha256-UQpBSycJhvujx5y3bZCkyRDHAb+0P/mDpdTpKEYFDhc=";
};
checkPhase = ''
# this test takes too long
sed -i 's/test_big_file/noop/' test/test_sendfile.py
${python.executable} test/test_sendfile.py
'';
build-system = [ setuptools ];
# Tests depend on asynchat and asyncore
doCheck = false;
pythonImportsCheck = [ "sendfile" ];
meta = with lib; {
broken = stdenv.isDarwin;
homepage = "https://github.com/giampaolo/pysendfile";
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;
maintainers = with maintainers; [ ];
broken = stdenv.isDarwin;
};
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -413,6 +413,7 @@ let
RcppZiggurat = [ pkgs.gsl ];
reprex = [ pkgs.which ];
rgdal = with pkgs; [ proj.dev gdal ];
Rhisat2 = [ pkgs.which pkgs.hostname ];
gdalcubes = [ pkgs.pkg-config ];
rgeos = [ pkgs.geos ];
Rglpk = [ pkgs.glpk ];
@ -533,6 +534,7 @@ let
Rbwa = [ pkgs.zlib.dev ];
trackViewer = [ pkgs.zlib.dev ];
themetagenomics = [ pkgs.zlib.dev ];
Rsymphony = [ pkgs.pkg-config ];
NanoMethViz = [ pkgs.zlib.dev ];
RcppMeCab = [ pkgs.pkg-config ];
HilbertVisGUI = with pkgs; [ pkg-config which ];
@ -562,6 +564,7 @@ let
deepSNV = 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 ];
mitoClone2 = with pkgs; [ xz.dev bzip2.dev zlib.dev ];
gpg = [ pkgs.gpgme ];
webp = [ pkgs.libwebp ];
RMark = [ pkgs.which ];
@ -618,7 +621,7 @@ let
mashr = [ pkgs.gsl ];
hadron = [ 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 ];
rswipl = with pkgs; [ ncurses.dev libxcrypt zlib.dev ];
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: {
PKGCONFIG_CFLAGS = "-I${pkgs.openssl.dev}/include";
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 }:
stdenvNoCC.mkDerivation rec {
version = "10.15.0";
version = "10.16.0";
pname = "checkstyle";
src = fetchurl {
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 ];

View File

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

View File

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

View File

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

View File

@ -11,16 +11,16 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-generate";
version = "0.20.0";
version = "0.21.0";
src = fetchFromGitHub {
owner = "cargo-generate";
repo = "cargo-generate";
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 ];

View File

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

View File

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

View File

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

View File

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

View File

@ -221,7 +221,7 @@ let
config = {
CONFIG_MODULES = "y";
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 {
pname = "evcc";
version = "0.124.10";
version = "0.126.1";
src = fetchFromGitHub {
owner = "evcc-io";
repo = "evcc";
rev = version;
hash = "sha256-NbM8Uev2qIIS6WriP7QnVUumF29rZSOCavouPkPmYpE=";
hash = "sha256-qNH1YdKQZptTGGOf/Nh4pBOpWCSgnq+JltF2OjlVGDk=";
};
vendorHash = "sha256-PZWMqv3R4Dq4cLtGNuvHCQ/GiYvlKJfSKEmBn0JYnb8=";
vendorHash = "sha256-jJOxFkoVBT1NrnhntHPa2/irjHD09zKbtNDQoyelJp4=";
npmDeps = fetchNpmDeps {
inherit src;
hash = "sha256-FWnRZ/NI49QZj8Uv6IbHc8IPAh3F5u4S6hY64B8+Uvk=";
hash = "sha256-KW2aVK3Ui5sGBcNhTsNXUr9HyHcm0iJxxzBUjrNWrqw=";
};
nativeBuildInputs = [

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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