Merge master into staging-next

This commit is contained in:
github-actions[bot] 2024-10-20 00:15:48 +00:00 committed by GitHub
commit 1b6b0d4cac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
56 changed files with 2534 additions and 1059 deletions

View File

@ -275,6 +275,8 @@
- The logrotate service has received hardening and now requires enabling `allowNetworking`, if logrotate needs to access the network. - The logrotate service has received hardening and now requires enabling `allowNetworking`, if logrotate needs to access the network.
- `mautrix-whatsapp` has been updated to version 0.11.0, which is a major rewrite of the bridge. Config file changes are required.
- qBittorrent has been updated to major version 5, which drops support for Qt 5. - qBittorrent has been updated to major version 5, which drops support for Qt 5.
The `qbittorrent-qt5` package has been removed. The `qbittorrent-qt5` package has been removed.

View File

@ -79,6 +79,7 @@ in {
kio-fuse # fuse interface for KIO kio-fuse # fuse interface for KIO
kpackage # provides kpackagetool tool kpackage # provides kpackagetool tool
kservice # provides kbuildsycoca6 tool kservice # provides kbuildsycoca6 tool
kunifiedpush # provides a background service and a KCM
kwallet # provides helper service kwallet # provides helper service
kwallet-pam # provides helper service kwallet-pam # provides helper service
kwalletmanager # provides KCMs and stuff kwalletmanager # provides KCMs and stuff

View File

@ -11,7 +11,7 @@ vscode-utils.buildVscodeMarketplaceExtension {
name = "tinymist"; name = "tinymist";
publisher = "myriad-dreamin"; publisher = "myriad-dreamin";
inherit (tinymist) version; inherit (tinymist) version;
hash = "sha256-CQVujtl1SFcUmEG7O1cvN2gr6v3kcWMMZz+oYEkclKI="; hash = "sha256-NQ7LsX8/1h7sSI5mPdDgu4MVc29iNJ1vl0K7fMCBmlc=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -1,4 +1,5 @@
{ lib { lib
, stdenv
, fetchFromGitLab , fetchFromGitLab
, mkDerivation , mkDerivation
, cmake , cmake
@ -20,18 +21,19 @@
, qtwebengine , qtwebengine
, solid , solid
, taglib , taglib
, wrapQtAppsHook
}: }:
mkDerivation rec { stdenv.mkDerivation rec {
pname = "tellico"; pname = "tellico";
version = "3.5.5"; version = "4.0.1";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "invent.kde.org"; domain = "invent.kde.org";
owner = "office"; owner = "office";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-0I4oDMLYWomAF+wpPeA1NQk4nnhUV1RT6IYKJdOUcas="; hash = "sha256-5oP/uGUw1oYnrnOU83Pocr9YdwAU+DaUaGHg+6NzmRU=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -39,6 +41,7 @@ mkDerivation rec {
extra-cmake-modules extra-cmake-modules
kdoctools kdoctools
makeWrapper makeWrapper
wrapQtAppsHook
]; ];
buildInputs = [ buildInputs = [

View File

@ -8,16 +8,16 @@
buildGoModule rec { buildGoModule rec {
pname = "helmfile"; pname = "helmfile";
version = "0.168.0"; version = "0.169.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "helmfile"; owner = "helmfile";
repo = "helmfile"; repo = "helmfile";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-qpYTYOzQWhjuVANOPpLDsYZyhvRl6FnNQz5ssDZHohw="; hash = "sha256-HGdNCGCJ8LsXyRSinNu1EDy9XuI7mTHONAgti2SETWw=";
}; };
vendorHash = "sha256-pCP5PxxOLlqQBmqufpo6G69v4M+NxMpTlIUY6TnclVA="; vendorHash = "sha256-zWgza1eiO4UF/RL2Z4R4bvO+tgcN1KT8nBZor/plY+A=";
proxyVendor = true; # darwin/linux hash mismatch proxyVendor = true; # darwin/linux hash mismatch

View File

@ -1,19 +1,20 @@
{ lib {
, stdenv lib,
, fetchFromGitHub stdenvNoCC,
, kdePackages fetchFromGitHub,
, nix-update-script kdePackages,
nix-update-script,
}: }:
stdenv.mkDerivation (finalAttrs: { stdenvNoCC.mkDerivation (finalAttrs: {
pname = "application-title-bar"; pname = "application-title-bar";
version = "0.7.3"; version = "0.7.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "antroids"; owner = "antroids";
repo = "application-title-bar"; repo = "application-title-bar";
rev = "v${finalAttrs.version}"; rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-kvFUz0m222jTGrkqLyYmnW0o4MXU9lLAsyk6QBAJHr8="; hash = "sha256-mC7aHZzrahCqLStoc5diiKXpP2LOaK5EwpFVte+qZS4=";
}; };
propagatedUserEnvPkgs = with kdePackages; [ kconfig ]; propagatedUserEnvPkgs = with kdePackages; [ kconfig ];

View File

@ -3,17 +3,18 @@
stdenv, stdenv,
fetchFromGitHub, fetchFromGitHub,
installShellFiles, installShellFiles,
versionCheckHook,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "await"; pname = "await";
version = "1.0.2"; version = "1.0.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "slavaGanzin"; owner = "slavaGanzin";
repo = "await"; repo = "await";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-qvSRuRLZnUptXYknyRn4GgmYtj9BnI8flN6EhadbKMw="; hash = "sha256-0U9eLQDvHnRUJt46AI4bDWZfGynqjaWs9teidWP3RsA=";
}; };
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
@ -30,11 +31,16 @@ stdenv.mkDerivation rec {
install -Dm755 await -t $out/bin install -Dm755 await -t $out/bin
install -Dm444 LICENSE -t $out/share/licenses/await install -Dm444 LICENSE -t $out/share/licenses/await
install -Dm444 README.md -t $out/share/doc/await install -Dm444 README.md -t $out/share/doc/await
installShellCompletion --cmd await autocomplete.{bash,fish,zsh} installShellCompletion --cmd await autocompletions/await.{bash,fish,zsh}
runHook postInstall runHook postInstall
''; '';
nativeInstallCheckInputs = [
versionCheckHook
];
doInstallCheck = true;
meta = with lib; { meta = with lib; {
description = "Small binary that runs a list of commands in parallel and awaits termination"; description = "Small binary that runs a list of commands in parallel and awaits termination";
homepage = "https://await-cli.app"; homepage = "https://await-cli.app";

View File

@ -1,132 +0,0 @@
new file mode 100644
index 000000000..eee1d09d6
--- /dev/null
+++ b/scripts/libppp-compat.h
@@ -0,0 +1,127 @@
+/* Copyright (C) Eivind Naess, eivnaes@yahoo.com */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef __LIBPPP_COMPAT_H__
+#define __LIBPPP_COMPAT_H__
+
+/* Define USE_EAPTLS compile with EAP TLS support against older pppd headers,
+ * pppd >= 2.5.0 use PPP_WITH_EAPTLS and is defined in pppdconf.h */
+#define USE_EAPTLS 1
+
+/* Define INET6 to compile with IPv6 support against older pppd headers,
+ * pppd >= 2.5.0 use PPP_WITH_IPV6CP and is defined in pppdconf.h */
+#define INET6 1
+
+/* PPP < 2.5.0 defines and exports VERSION which overlaps with current package VERSION define.
+ * this silly macro magic is to work around that. */
+#undef VERSION
+#include <pppd/pppd.h>
+
+#ifndef PPPD_VERSION
+#define PPPD_VERSION VERSION
+#endif
+
+#include <pppd/fsm.h>
+#include <pppd/ccp.h>
+#include <pppd/eui64.h>
+#include <pppd/ipcp.h>
+#include <pppd/ipv6cp.h>
+#include <pppd/eap.h>
+#include <pppd/upap.h>
+
+#ifdef HAVE_PPPD_CHAP_H
+#include <pppd/chap.h>
+#endif
+
+#ifdef HAVE_PPPD_CHAP_NEW_H
+#include <pppd/chap-new.h>
+#endif
+
+#ifdef HAVE_PPPD_CHAP_MS_H
+#include <pppd/chap_ms.h>
+#endif
+
+#ifndef PPP_PROTO_CHAP
+#define PPP_PROTO_CHAP 0xc223
+#endif
+
+#ifndef PPP_PROTO_EAP
+#define PPP_PROTO_EAP 0xc227
+#endif
+
+
+#if WITH_PPP_VERSION < PPP_VERSION(2,5,0)
+
+static inline bool
+debug_on (void)
+{
+ return debug;
+}
+
+static inline const char
+*ppp_ipparam (void)
+{
+ return ipparam;
+}
+
+static inline int
+ppp_ifunit (void)
+{
+ return ifunit;
+}
+
+static inline const char *
+ppp_ifname (void)
+{
+ return ifname;
+}
+
+static inline int
+ppp_get_mtu (int idx)
+{
+ return netif_get_mtu(idx);
+}
+
+typedef enum ppp_notify
+{
+ NF_PID_CHANGE,
+ NF_PHASE_CHANGE,
+ NF_EXIT,
+ NF_SIGNALED,
+ NF_IP_UP,
+ NF_IP_DOWN,
+ NF_IPV6_UP,
+ NF_IPV6_DOWN,
+ NF_AUTH_UP,
+ NF_LINK_DOWN,
+ NF_FORK,
+ NF_MAX_NOTIFY
+} ppp_notify_t;
+
+typedef void (ppp_notify_fn) (void *ctx, int arg);
+
+static inline void
+ppp_add_notify (ppp_notify_t type, ppp_notify_fn *func, void *ctx)
+{
+ struct notifier **list[NF_MAX_NOTIFY] = {
+ [NF_PID_CHANGE ] = &pidchange,
+ [NF_PHASE_CHANGE] = &phasechange,
+ [NF_EXIT ] = &exitnotify,
+ [NF_SIGNALED ] = &sigreceived,
+ [NF_IP_UP ] = &ip_up_notifier,
+ [NF_IP_DOWN ] = &ip_down_notifier,
+ [NF_IPV6_UP ] = &ipv6_up_notifier,
+ [NF_IPV6_DOWN ] = &ipv6_down_notifier,
+ [NF_AUTH_UP ] = &auth_up_notifier,
+ [NF_LINK_DOWN ] = &link_down_notifier,
+ [NF_FORK ] = &fork_notifier,
+ };
+
+ struct notifier **notify = list[type];
+ if (notify) {
+ add_notifier(notify, func, ctx);
+ }
+}
+
+#endif /* #if WITH_PPP_VERSION < PPP_VERSION(2,5,0) */
+#endif /* #if__LIBPPP_COMPAT_H__ */

View File

@ -62,18 +62,14 @@ assert lib.asserts.assertOneOf "firewallType" firewallType [ "iptables" "nftable
assert lib.asserts.assertOneOf "dnsType" dnsType [ "internal" "systemd-resolved" ]; assert lib.asserts.assertOneOf "dnsType" dnsType [ "internal" "systemd-resolved" ];
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "connman"; pname = "connman";
version = "1.42"; version = "1.43";
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/network/connman/connman-${finalAttrs.version}.tar.xz"; url = "mirror://kernel/linux/network/connman/connman-${finalAttrs.version}.tar.xz";
hash = "sha256-o+a65G/Age8una48qk92Sd6JLD3mIsICg6wMqBQjwqo="; hash = "sha256-ElfOvjJ+eQC34rhMD7MwqpCBXkVYmM0vlB9DCO0r47w=";
}; };
patches = [ patches = optionals stdenv.hostPlatform.isMusl [
# simply the middle section of upstream commit a48864a2e5d2a725dfc6eef567108bc13b43857f
# dist tarball is broken, hence this patch as a workaround
./create-libppp-compat.h.patch
] ++ optionals stdenv.hostPlatform.isMusl [
# Fix Musl build by avoiding a Glibc-only API. # Fix Musl build by avoiding a Glibc-only API.
(fetchurl { (fetchurl {
url = "https://git.alpinelinux.org/aports/plain/community/connman/libresolv.patch?id=e393ea84386878cbde3cccadd36a30396e357d1e"; url = "https://git.alpinelinux.org/aports/plain/community/connman/libresolv.patch?id=e393ea84386878cbde3cccadd36a30396e357d1e";

View File

@ -19,16 +19,16 @@ let
in in
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "deno"; pname = "deno";
version = "2.0.0"; version = "2.0.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "denoland"; owner = "denoland";
repo = "deno"; repo = "deno";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-3PfAjn2zWgxJOYgKwR7lvXu+rIENIHBMPwMM6dWNgR4="; hash = "sha256-nbwLkkO1ucRmlgGDRCJLHPpu4lk0xLQvz3wWpq7rics=";
}; };
cargoHash = "sha256-3r5B9yWXKO/8ah+Etflws8RnlRTAdaaC5HZMlZduyHE="; cargoHash = "sha256-y/hAEu8c/CFS4mfp4f/pvPJRz4cxGoi39uIUbn5J+Pw=";
postPatch = '' postPatch = ''
# upstream uses lld on aarch64-darwin for faster builds # upstream uses lld on aarch64-darwin for faster builds

View File

@ -1,5 +1,5 @@
{ lib { lib
, python311 , python3
, fetchPypi , fetchPypi
, wrapGAppsHook3 , wrapGAppsHook3
, gtk3 , gtk3
@ -8,16 +8,15 @@
, argyllcms , argyllcms
}: }:
# wxPython-4.2.1 requires python < 3.12 python3.pkgs.buildPythonApplication rec {
python311.pkgs.buildPythonApplication rec {
pname = "displaycal"; pname = "displaycal";
version = "3.9.12"; version = "3.9.14";
format = "setuptools"; format = "setuptools";
src = fetchPypi { src = fetchPypi {
pname = "DisplayCAL"; pname = "DisplayCAL";
inherit version; inherit version;
hash = "sha256-0NZ+fr3ilnyWE6+Xa8xqpccNe7WVvvQfQEYvdQ8rf/Q="; hash = "sha256-2I5fiWgS9n7IY/ZayWBvEaP0uNIAXfvkyqQe2vLFPJw=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -25,7 +24,7 @@ python311.pkgs.buildPythonApplication rec {
gtk3 gtk3
]; ];
propagatedBuildInputs = with python311.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
build build
certifi certifi
wxpython wxpython

View File

@ -0,0 +1,40 @@
{
lib,
python3,
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
pname = "dnsdiag";
version = "2.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "farrokhi";
repo = "dnsdiag";
rev = "refs/tags/v${version}";
hash = "sha256-qUbHwbLPDyy24GNu3dDJQKV3B71q1ODNMyRFIWwyRuo=";
};
build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
cryptography
cymruwhois
dnspython
h2
httpx
];
# Project has no tests
doCheck = false;
meta = {
description = "DNS Measurement, Troubleshooting and Security Auditing Toolset";
homepage = "https://github.com/farrokhi/dnsdiag";
changelog = "https://github.com/farrokhi/dnsdiag/releases/tag/v${version}";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "dnsdiag";
};
}

View File

@ -6,13 +6,13 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "gersemi"; pname = "gersemi";
version = "0.15.1"; version = "0.16.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "BlankSpruce"; owner = "BlankSpruce";
repo = "gersemi"; repo = "gersemi";
rev = version; rev = version;
hash = "sha256-MyiGmMITD6TlZ98qsSDalQWOWnpqelTrXKn6MmBGYS0="; hash = "sha256-B2mDtMLJTriSeeH0SLQ7qP/PyaNE5eTQ/mgm4S5B8g0=";
}; };
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [

View File

@ -6,15 +6,14 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "gitxray"; pname = "gitxray";
version = "1.0.15-unstable-2024-09-20"; version = "1.0.16";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kulkansecurity"; owner = "kulkansecurity";
repo = "gitxray"; repo = "gitxray";
# https://github.com/kulkansecurity/gitxray/issues/1 rev = "refs/tags/${version}";
rev = "7e02f8c789f1c8bf3f4df6c1c301d1a666cedd1c"; hash = "sha256-sBDKRHNhRG0SUd9G0+iiKOB+lqzISi92itbZIT+j4ME=";
hash = "sha256-ucXHfclvaAbSi2HtrhkR2iW0r7jWq9yHqROwRAowOhA=";
}; };
build-system = with python3.pkgs; [ setuptools ]; build-system = with python3.pkgs; [ setuptools ];

View File

@ -0,0 +1,33 @@
{
buildGoModule,
fetchFromGitHub,
lib,
}:
buildGoModule rec {
pname = "goose-lang";
version = "0.9.1";
src = fetchFromGitHub {
owner = "goose-lang";
repo = "goose";
rev = "v${version}";
hash = "sha256-P26Q21MWrne1pB3/EvLYp2i8Xw7oG9Waer2hhHyco1A=";
};
vendorHash = "sha256-HCJ8v3TSv4UrkOsRuENWVz5Z7zQ1UsOygx0Mo7MELzY=";
ldflags = [
"-s"
"-w"
];
meta = {
description = "Goose converts a small subset of Go to Coq";
homepage = "https://github.com/goose-lang/goose";
changelog = "https://github.com/goose-lang/goose/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ stepbrobd ];
mainProgram = "goose";
};
}

View File

@ -7,13 +7,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "highs"; pname = "highs";
version = "1.7.2"; version = "1.8.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ERGO-Code"; owner = "ERGO-Code";
repo = "HiGHS"; repo = "HiGHS";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-q18TfKbZyTZzzPZ8z3U57Yt8q2PSvbkg3qqqiPMgy5Q="; hash = "sha256-3ACo6V6Y99XPe4dvurWflNGPjHy3irURv4jYHMrgSms=";
}; };
strictDeps = true; strictDeps = true;

View File

@ -8,13 +8,13 @@
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "metacubexd"; pname = "metacubexd";
version = "1.151.0"; version = "1.168.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "MetaCubeX"; owner = "MetaCubeX";
repo = "metacubexd"; repo = "metacubexd";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-H6zMEicE9RT84NJmmcihw46TDOSE0HhUoIRIrpNxM+c="; hash = "sha256-HTHqf4R3eD+LlI9qmSz4id0SPVgid8Qp4P9JZzXGKlk=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: {
pnpmDeps = pnpm.fetchDeps { pnpmDeps = pnpm.fetchDeps {
inherit (finalAttrs) pname version src; inherit (finalAttrs) pname version src;
hash = "sha256-XwIcwvTcB4vO5tqJ/jdqgkTrkmN3H0e3q5eDNOvUrcA="; hash = "sha256-yH7L3lb/7mfz73pWBvPCSvAlQ8hlZu+u6yLEZql8D/4=";
}; };
buildPhase = '' buildPhase = ''

View File

@ -19,7 +19,7 @@ stdenvNoCC.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "https://github.com/ThaUnknown/miru/releases/download/v${version}/mac-Miru-${version}-mac.zip"; url = "https://github.com/ThaUnknown/miru/releases/download/v${version}/mac-Miru-${version}-mac.zip";
hash = "sha256-Pqf6lgogk3j6Bi78x6lCVlOjhR8BhoFbhRa7l3YkqP0="; hash = "sha256-odMJ5OCXDajm4z+oHCqtpew+U73ymghmDa/F019dAcY=";
}; };
sourceRoot = "."; sourceRoot = ".";

View File

@ -19,7 +19,7 @@ appimageTools.wrapType2 rec {
src = fetchurl { src = fetchurl {
url = "https://github.com/ThaUnknown/miru/releases/download/v${version}/linux-Miru-${version}.AppImage"; url = "https://github.com/ThaUnknown/miru/releases/download/v${version}/linux-Miru-${version}.AppImage";
name = "${pname}-${version}.AppImage"; name = "${pname}-${version}.AppImage";
hash = "sha256-Kk8rdhKNLARG5zngWXRjcfoe9Fc6VHYre7FMkHLPMIo="; hash = "sha256-yfavGhH/QROChWB0MxYt8+dssYo0+/1bV+h2Ce951RE=";
}; };
extraInstallCommands = extraInstallCommands =

View File

@ -5,7 +5,7 @@
}: }:
let let
pname = "miru"; pname = "miru";
version = "5.5.0"; version = "5.5.6";
meta = with lib; { meta = with lib; {
description = "Stream anime torrents, real-time with no waiting for downloads"; description = "Stream anime torrents, real-time with no waiting for downloads";
homepage = "https://miru.watch"; homepage = "https://miru.watch";

View File

@ -6,7 +6,7 @@
installShellFiles, installShellFiles,
}: }:
let let
version = "0.27.4"; version = "0.27.5";
in in
buildGoModule { buildGoModule {
pname = "step-cli"; pname = "step-cli";
@ -16,7 +16,7 @@ buildGoModule {
owner = "smallstep"; owner = "smallstep";
repo = "cli"; repo = "cli";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-dMqJZ8UWJ6umJZAkcvSYQNh8e8ktPeqw1QHYagE2CvA="; hash = "sha256-5WtXJOyVUkjuJdUJ2Q4wAVDMLQ0lZI6461bZVR26h1A=";
}; };
ldflags = [ ldflags = [
@ -30,7 +30,7 @@ buildGoModule {
rm command/certificate/remote_test.go rm command/certificate/remote_test.go
''; '';
vendorHash = "sha256-t4L+nw2KJ+79drVRJseNjzO4/qczeOL2dmcd2mlXFVQ="; vendorHash = "sha256-7N+0sp1/vl2VWZWT4R6XMiji7g/qPz68JMnZaNIUl+Y=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];

File diff suppressed because it is too large Load Diff

View File

@ -10,22 +10,22 @@
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage {
pname = "tdf"; pname = "tdf";
version = "0-unstable-2024-05-29"; version = "0-unstable-2024-10-09";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "itsjunetime"; owner = "itsjunetime";
repo = "tdf"; repo = "tdf";
fetchSubmodules = true; fetchSubmodules = true;
rev = "017596a8b0745a6da7c3c75a5f55073b82202a5c"; rev = "f6d339923bc71d3f637f24bf0c6eef6dacb61bf9";
hash = "sha256-H0xdDvWDSkvIy4vFWKiVFP03CogswIZMQ393BeEy2BQ="; hash = "sha256-C1S5u1EsOYvUE1CqreeBg7Z5Oj+mzCf0zPdZBz0LNLw=";
}; };
cargoLock = { cargoLock = {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = { outputHashes = {
"ratatui-0.26.3" = "sha256-lRQQJqt9UKZ2OzvrNzq/FqDvU6CgPPDAB2QDB7TR1V4="; "ratatui-0.28.1" = "sha256-riVdXpHW5J1f4YY2A32YLpwydxn/kJ1cHRdm7CCdoN8=";
"ratatui-image-1.0.0" = "sha256-0lrFmXPljKKNIbLNhQsuCv7HhJOJ234HSfUPj4XSeXY="; "ratatui-image-2.0.1" = "sha256-ZFd7ABeyuO270vWEZEE685Bil6sq3RndqoD7TSU8qmU=";
"vb64-0.1.2" = "sha256-VvObgaJhHNah3exVQInFa5mhHjzEg0MaFqQdnCE5Pp8="; "vb64-0.1.2" = "sha256-Ypb59Rtn0ZkP6fwqIqOEeiNLcmzB368CkViIVCxpCI8=";
}; };
}; };

View File

@ -0,0 +1,41 @@
{
lib,
python3,
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
pname = "termineter";
version = "1.0.6";
pyproject = true;
src = fetchFromGitHub {
owner = "rsmusllp";
repo = "termineter";
rev = "refs/tags/v${version}";
hash = "sha256-sJN1FNUCpQUMJNM6F2+v0NmGqu4LVYcsffwzl3Hr1CU=";
};
build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
crcelk
pluginbase
pyasn1
pyserial
smoke-zephyr
tabulate
termcolor
];
pythonImportsCheck = [ "termineter" ];
meta = {
description = "Smart Meter Security Testing Framework";
homepage = "https://github.com/rsmusllp/termineter";
changelog = "https://github.com/rsmusllp/termineter/releases/tag/v${version}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "termineter";
};
}

File diff suppressed because it is too large Load Diff

View File

@ -17,19 +17,19 @@ rustPlatform.buildRustPackage rec {
pname = "tinymist"; pname = "tinymist";
# Please update the corresponding vscode extension when updating # Please update the corresponding vscode extension when updating
# this derivation. # this derivation.
version = "0.11.32"; version = "0.12.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Myriad-Dreamin"; owner = "Myriad-Dreamin";
repo = "tinymist"; repo = "tinymist";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-xXrE4LOzcR4TCoBD7jbS1Ba7kBLBPiF3GI0wjq5GXWA="; hash = "sha256-z0JfHEG01q83iHAQA/Ke/DPhKQYwkWv9HRpeUdXmTxs=";
}; };
cargoLock = { cargoLock = {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = { outputHashes = {
"typst-0.11.1" = "sha256-dQf4qYaOni/jwIjRVXXCZLTn6ox3v6EyhCbaONqNtcw="; "typst-0.12.0" = "sha256-E2wSVHqY3SymCwKgbLsASJYaWfrbF8acH15B2STEBF8=";
"typst-syntax-0.7.0" = "sha256-yrtOmlFAKOqAmhCP7n0HQCOQpU3DWyms5foCdUb9QTg="; "typst-syntax-0.7.0" = "sha256-yrtOmlFAKOqAmhCP7n0HQCOQpU3DWyms5foCdUb9QTg=";
"typstfmt_lib-0.2.7" = "sha256-LBYsTCjZ+U+lgd7Z3H1sBcWwseoHsuepPd66bWgfvhI="; "typstfmt_lib-0.2.7" = "sha256-LBYsTCjZ+U+lgd7Z3H1sBcWwseoHsuepPd66bWgfvhI=";
}; };
@ -53,14 +53,10 @@ rustPlatform.buildRustPackage rec {
checkFlags = [ checkFlags = [
"--skip=e2e" "--skip=e2e"
# Fails because of missing `creation_timestamp` field
# https://github.com/NixOS/nixpkgs/pull/328756#issuecomment-2241322796
"--skip=test_config_update"
# Require internet access # Require internet access
"--skip=docs::tests::cetz" "--skip=docs::package::tests::cetz"
"--skip=docs::tests::tidy" "--skip=docs::package::tests::tidy"
"--skip=docs::tests::touying" "--skip=docs::package::tests::touying"
]; ];
nativeInstallCheckInputs = [ nativeInstallCheckInputs = [

View File

@ -1,18 +1,19 @@
{ {
lib, lib,
python3Packages, python3Packages,
fetchPypi, fetchFromGitHub,
}: }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "tocpdf"; pname = "tocpdf";
version = "0.3.3"; version = "0.3.9";
pyproject = true; pyproject = true;
src = fetchPypi { src = fetchFromGitHub {
pname = "tocPDF"; owner = "kszenes";
inherit version; repo = "tocPDF";
hash = "sha256-B+UcvyjWceVErf1uDyGGTGwKBCGHmSOF19Vbk15cPp8="; rev = "v${version}";
hash = "sha256-RaNMhEgJ2pSL9BvK1d2Z8AsUPhARaRtEiCnt/2E2uNs=";
}; };
build-system = with python3Packages; [ build-system = with python3Packages; [
@ -27,14 +28,21 @@ python3Packages.buildPythonApplication rec {
tqdm tqdm
]; ];
# no test nativeCheckInputs = with python3Packages; [
doCheck = false; pytestCheckHook
];
disabledTests = [
# touches network
"test_read_toc"
];
pythonImportsCheck = [ "tocPDF" ]; pythonImportsCheck = [ "tocPDF" ];
meta = { meta = {
description = "Automatic CLI tool for generating outline of PDFs based on the table of contents"; description = "Automatic CLI tool for generating outline of PDFs based on the table of contents";
homepage = "https://github.com/kszenes/tocPDF"; homepage = "https://github.com/kszenes/tocPDF";
changelog = "https://github.com/kszenes/tocPDF/releases/tag/v${version}";
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dansbandit ]; maintainers = with lib.maintainers; [ dansbandit ];
mainProgram = "tocPDF"; mainProgram = "tocPDF";

View File

@ -8,22 +8,22 @@
, CoreFoundation , CoreFoundation
, SystemConfiguration , SystemConfiguration
, Security , Security
, withLLVM ? !stdenv.hostPlatform.isDarwin , withLLVM ? false
, withSinglepass ? !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) , withSinglepass ? !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64)
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "wasmer"; pname = "wasmer";
version = "4.3.5"; version = "4.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "wasmerio"; owner = "wasmerio";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-hEhU3o/SLHWV9zmgCtW+7K/2ev+oGAnrZmlyNtoeSV4="; hash = "sha256-zKo7d7LAfdGb7hC8RK7YH4lhk7RbivS+hNZDyQyHYM8=";
}; };
cargoHash = "sha256-xyR5pnwMGE5K4o7X0Q2JEervSgR5LK1vqpOa3Mm6xkU="; cargoHash = "sha256-tajvVMRfBHefU0kVro830HeJSdgJEKPmEQm7X0+4+Kc=";
nativeBuildInputs = [ nativeBuildInputs = [
rustPlatform.bindgenHook rustPlatform.bindgenHook
@ -69,5 +69,8 @@ rustPlatform.buildRustPackage rec {
homepage = "https://wasmer.io/"; homepage = "https://wasmer.io/";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ Br1ght0ne shamilton nickcao ]; maintainers = with maintainers; [ Br1ght0ne shamilton nickcao ];
# error: multiple fields are never read
# --> lib/compiler-llvm/src/translator/intrinsics.rs:141:9
broken = withLLVM;
}; };
} }

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "jna"; pname = "jna";
version = "5.14.0"; version = "5.15.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "java-native-access"; owner = "java-native-access";
repo = "jna"; repo = "jna";
rev = finalAttrs.version; rev = finalAttrs.version;
hash = "sha256-a5l9khKLWfvTHv53utfbw344/UNQOnIU93+wZNQ0ji4="; hash = "sha256-PadOJtoH+guPBQ/j6nIBp7BokNz23OQhaYpcFl/wbpQ=";
}; };
nativeBuildInputs = [ ant jdk stripJavaArchivesHook ]; nativeBuildInputs = [ ant jdk stripJavaArchivesHook ];

View File

@ -2,11 +2,11 @@
tcl.mkTclDerivation rec { tcl.mkTclDerivation rec {
pname = "bwidget"; pname = "bwidget";
version = "1.9.16"; version = "1.10.0";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/tcllib/bwidget-${version}.tar.gz"; url = "mirror://sourceforge/tcllib/bwidget-${version}.tar.gz";
sha256 = "sha256-v+ADY3S4QpPSNiCn9t2oZXGBPQx63+2YPB8zflzoGuA="; sha256 = "sha256-61sCvsua+Iv3SldHhd4eMpzzCjZ5EVMJOnkRT6xRw60=";
}; };
dontBuild = true; dontBuild = true;

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "qtpbfimageplugin"; pname = "qtpbfimageplugin";
version = "3.1"; version = "3.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tumic0"; owner = "tumic0";
repo = "QtPBFImagePlugin"; repo = "QtPBFImagePlugin";
rev = version; rev = version;
sha256 = "sha256-7DaJvpApdnh5+9vd0spUDorwzpzLEaJ8477qE8nJLOc="; sha256 = "sha256-RbGVjwVIwO6Rj/hbNEowtZLqJdtkTfnq5YdnEYnbkTM=";
}; };
nativeBuildInputs = [ qmake ]; nativeBuildInputs = [ qmake ];

View File

@ -21,7 +21,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiohomekit"; pname = "aiohomekit";
version = "3.2.3"; version = "3.2.4";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.10"; disabled = pythonOlder "3.10";
@ -30,7 +30,7 @@ buildPythonPackage rec {
owner = "Jc2k"; owner = "Jc2k";
repo = "aiohomekit"; repo = "aiohomekit";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-gWuFCL78hcOflXlDwYDSu3+G/F8D5najtoTgKKzod1Y="; hash = "sha256-9TvpdsWmNXz7UAh0BCgjdRWLKCP2FdE8TIjvyDXydLU=";
}; };
build-system = [ poetry-core ]; build-system = [ poetry-core ];

View File

@ -0,0 +1,36 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "crcelk";
version = "1.3";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "zeroSteiner";
repo = "crcelk";
rev = "refs/tags/v${version}";
hash = "sha256-eJt0qcG0ejTQJyjOSi6Au2jH801KOMnk7f6cLbd7ADw=";
};
build-system = [ setuptools ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "crcelk" ];
meta = {
description = "Implementation of the CRC algorithm";
homepage = "https://github.com/zeroSteiner/crcelk";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}

View File

@ -0,0 +1,48 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
python-memcached,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "cymruwhois";
version = "1.6";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "JustinAzoff";
repo = "python-cymruwhois";
rev = "refs/tags/${version}";
hash = "sha256-d9m668JYI9mxUycoVWyaDCR7SOca+ebymZxWtgSPWNU=";
};
build-system = [ setuptools ];
optional-dependencies = {
CACHE = [ python-memcached ];
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "cymruwhois" ];
disabledTests = [
# Tests require network access
"test_asn"
# AssertionError
"test_doctest"
];
meta = {
description = "Python client for the whois.cymru.com service";
homepage = "https://github.com/JustinAzoff/python-cymruwhois";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}

View File

@ -1,7 +1,7 @@
{ {
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchPypi, fetchFromGitHub,
pythonOlder, pythonOlder,
async-timeout, async-timeout,
setuptools, setuptools,
@ -9,19 +9,21 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "ha-ffmpeg"; pname = "ha-ffmpeg";
version = "3.2.0"; version = "3.2.1";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "home-assistant-libs";
hash = "sha256-FW8WlrhVL+ryupHAKii8fKBku/6uxdw1uLCKUszkP50="; repo = "ha-ffmpeg";
rev = "refs/tags/${version}";
hash = "sha256-Yu23kRChPbq/9sKvu9uY4qtKXX7CVNagZX9Z6ZzDqcw=";
}; };
nativeBuildInputs = [ setuptools ]; build-system = [ setuptools ];
propagatedBuildInputs = [ async-timeout ]; dependencies = [ async-timeout ];
# only manual tests # only manual tests
doCheck = false; doCheck = false;

View File

@ -23,23 +23,23 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "libcst"; pname = "libcst";
version = "1.4.0"; version = "1.5.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "instagram"; owner = "Instagram";
repo = "libcst"; repo = "LibCST";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-H0YO8ILWOyhYdosNRWQQ9wziFk0syKSG3vF2zuYkL2k="; hash = "sha256-0r2xQ8QVmA4I6eZHBWd/U1fQ8nK5rdblIoMACudOYPY=";
}; };
cargoDeps = rustPlatform.fetchCargoTarball { cargoDeps = rustPlatform.fetchCargoTarball {
inherit src; inherit src;
sourceRoot = "${src.name}/${cargoRoot}"; sourceRoot = "${src.name}/${cargoRoot}";
name = "${pname}-${version}"; name = "${pname}-${version}";
hash = "sha256-AcqHn3A7WCVyVnOBD96k4pxokhzgmCWOipK/DrIAQkU="; hash = "sha256-mexXuOsL1+F/GL2wMf/pwK7bJLFRgPtPSYE4W3E0VQ0=";
}; };
cargoRoot = "native"; cargoRoot = "native";
@ -92,7 +92,7 @@ buildPythonPackage rec {
meta = { meta = {
description = "Concrete Syntax Tree (CST) parser and serializer library for Python"; description = "Concrete Syntax Tree (CST) parser and serializer library for Python";
homepage = "https://github.com/Instagram/libcst"; homepage = "https://github.com/Instagram/LibCST";
changelog = "https://github.com/Instagram/LibCST/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/Instagram/LibCST/blob/v${version}/CHANGELOG.md";
license = with lib.licenses; [ license = with lib.licenses; [
mit mit

View File

@ -33,7 +33,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "meshtastic"; pname = "meshtastic";
version = "2.5.2"; version = "2.5.3";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -42,7 +42,7 @@ buildPythonPackage rec {
owner = "meshtastic"; owner = "meshtastic";
repo = "Meshtastic-python"; repo = "Meshtastic-python";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-k2i6oZudY59CmFt5qlWCCtZgywcbLHR9OUYIannSZ20="; hash = "sha256-6U/oAVqzNsKFgNtQPzDovoWR23J0Ax0ssCIUjjRVeR4=";
}; };
pythonRelaxDeps = [ pythonRelaxDeps = [

View File

@ -8,13 +8,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "mplhep-data"; pname = "mplhep-data";
version = "0.0.3"; version = "0.0.4";
format = "pyproject"; format = "pyproject";
src = fetchPypi { src = fetchPypi {
pname = "mplhep_data"; pname = "mplhep_data";
inherit version; inherit version;
hash = "sha256-tU0lfz9TyTpELNp6ZoHOJnJ34JFzwLQf14gg94Mhdy8="; hash = "sha256-zR8606+dv/M67550BtITDWJKC9HVqllw/HE6ZCEWWk4=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -19,7 +19,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "nibe"; pname = "nibe";
version = "2.12.0"; version = "2.13.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -28,7 +28,7 @@ buildPythonPackage rec {
owner = "yozik04"; owner = "yozik04";
repo = "nibe"; repo = "nibe";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-Sqwwk++iA/PsAKZRkUPjXuzgSrhnH4N02c072pIVEyw="; hash = "sha256-azAVvVAlG74wgH/96+sc6S9XQLRFZgR4aU6d4gy43PQ=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];
@ -53,7 +53,7 @@ buildPythonPackage rec {
aresponses aresponses
pytest-asyncio pytest-asyncio
pytestCheckHook pytestCheckHook
]; ] ++ lib.flatten (builtins.attrValues optional-dependencies);
pythonImportsCheck = [ "nibe" ]; pythonImportsCheck = [ "nibe" ];

View File

@ -17,7 +17,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "plugwise"; pname = "plugwise";
version = "1.4.2"; version = "1.4.3";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.11"; disabled = pythonOlder "3.11";
@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "plugwise"; owner = "plugwise";
repo = "python-plugwise"; repo = "python-plugwise";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-JzHDmespyQ4+I7+6vbu/jqK70b71FJvoO0wDR6MnIaw="; hash = "sha256-eeytJ9X2ChcQDbAfTUPokMl/qKVSU6PUuI/a30xJ6WU=";
}; };
postPatch = '' postPatch = ''

View File

@ -11,14 +11,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "publicsuffixlist"; pname = "publicsuffixlist";
version = "1.0.2.20241017"; version = "1.0.2.20241019";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-OHp7MYu9eo3hWQFKChuB1Yw8Lqal8NXJoERAVv1pS78="; hash = "sha256-OvnRc+PV0rJxTgN4nPf9znsJtMTVU16nKTwdDA140Wc=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View File

@ -13,7 +13,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pysqueezebox"; pname = "pysqueezebox";
version = "0.9.4"; version = "10.0.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.10"; disabled = pythonOlder "3.10";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "rajlaud"; owner = "rajlaud";
repo = "pysqueezebox"; repo = "pysqueezebox";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-xi+mjrEF581NL8iRlEijKEO1CgXUr+u5hgq6UJWfoXA="; hash = "sha256-p9EwzkKkNi/jGMXx4sPTSpPk3Uq3Na8WElolNryu2N4=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View File

@ -1,29 +1,33 @@
{ {
lib, lib,
buildPythonPackage, buildPythonPackage,
enum-compat,
fetchFromGitHub, fetchFromGitHub,
pytestCheckHook, pytestCheckHook,
unicodecsv, unicodecsv,
pythonOlder,
setuptools,
six, six,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "python-registry"; pname = "python-registry";
version = "1.4"; version = "1.4";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "williballenthin"; owner = "williballenthin";
repo = pname; repo = "python-registry";
rev = version; rev = "refs/tags/${version}";
sha256 = "0gwx5jcribgmmbz0ikhz8iphz7yj2d2nmk24nkdrjd3y5irly11s"; hash = "sha256-OgRPcyx+NJnbtETMakUT0p8Pb0Qfzgj+qvWtmJksnT8=";
}; };
propagatedBuildInputs = [ pythonRemoveDeps = [ "enum-compat" ];
enum-compat
unicodecsv build-system = [ setuptools ];
];
dependencies = [ unicodecsv ];
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
@ -35,8 +39,9 @@ buildPythonPackage rec {
pythonImportsCheck = [ "Registry" ]; pythonImportsCheck = [ "Registry" ];
meta = with lib; { meta = with lib; {
description = "Pure Python parser for Windows Registry hives"; description = "Module to parse the Windows Registry hives";
homepage = "https://github.com/williballenthin/python-registry"; homepage = "https://github.com/williballenthin/python-registry";
changelog = "https://github.com/williballenthin/python-registry/releases/tag/${version}";
license = licenses.asl20; license = licenses.asl20;
maintainers = [ ]; maintainers = [ ];
}; };

View File

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "robotframework"; pname = "robotframework";
version = "7.1"; version = "7.1.1";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "robotframework"; owner = "robotframework";
repo = "robotframework"; repo = "robotframework";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-nzkgJdSWbFcAnAqRTq4+Wy1lqdz+Xxf2i4RKnj/A5SA="; hash = "sha256-AJMJb8FN+KynxJXI7s7PwyM/+UpXCtWTcRK/fhCg+io=";
}; };
nativeBuildInputs = [ setuptools ]; nativeBuildInputs = [ setuptools ];

View File

@ -0,0 +1,42 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pythonOlder,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "smoke-zephyr";
version = "2.0.1";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "zeroSteiner";
repo = "smoke-zephyr";
rev = "refs/tags/v${version}";
hash = "sha256-XZj8sxEWYv5z1x7LKb0T3L7MWSZbWr7lAIyjWekN+WY=";
};
postPatch = ''
substituteInPlace tests/utilities.py \
--replace-fail "assertEquals" "assertEqual"
'';
build-system = [ setuptools ];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "smoke_zephyr" ];
meta = {
description = "Python utility collection";
homepage = "https://github.com/zeroSteiner/smoke-zephyr";
changelog = "https://github.com/zeroSteiner/smoke-zephyr/releases/tag/v${version}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
}

View File

@ -17,7 +17,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "spotifyaio"; pname = "spotifyaio";
version = "0.6.0"; version = "0.7.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.11"; disabled = pythonOlder "3.11";
@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "joostlek"; owner = "joostlek";
repo = "python-spotify"; repo = "python-spotify";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-petG4uqySkrThs77zp6pl6bdP0Zeea5QEngDhbqdx6Y="; hash = "sha256-SWI2lXJ+JeoYsVaripSuL9pz5m9nRj+1986s3cEgVjE=";
}; };
build-system = [ poetry-core ]; build-system = [ poetry-core ];

View File

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "tencentcloud-sdk-python"; pname = "tencentcloud-sdk-python";
version = "3.0.1251"; version = "3.0.1252";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "TencentCloud"; owner = "TencentCloud";
repo = "tencentcloud-sdk-python"; repo = "tencentcloud-sdk-python";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-zLC0jpxRrdsZ9vP8x0ayqMcPE197jwCIL2OrJjS2Wuk="; hash = "sha256-syJOzoaCB1opTN3IRQE7hXe+2G6gm8IxV3KA/3HTFME=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View File

@ -7,12 +7,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "types-html5lib"; pname = "types-html5lib";
version = "1.1.11.20240806"; version = "1.1.11.20241018";
pyproject = true; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-gGDcmLr2PWeWp2W7vICf/596OD9uOprdUm+BTAhlRe8="; hash = "sha256-mAQlVf942eOlHHfJGLEEGsu362xAVAjYqeFQ/1vsyvo=";
}; };
nativeBuildInputs = [ setuptools ]; nativeBuildInputs = [ setuptools ];

View File

@ -1,20 +1,21 @@
{ coreutils {
, fetchFromGitHub coreutils,
, gnused fetchFromGitHub,
, lib gnused,
, maven lib,
, makeWrapper maven,
, openjdk makeWrapper,
openjdk,
}: }:
let let
version = "1.6.57"; version = "1.6.65";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Card-Forge"; owner = "Card-Forge";
repo = "forge"; repo = "forge";
rev = "forge-${version}"; rev = "forge-${version}";
hash = "sha256-pxnnqLfyblbIgIRZZrx8Y8K43zUv9mu7PzZ7zltpEUQ="; hash = "sha256-MCJl3nBHbX/O24bzD4aQ12eMWxYY2qJC5vomvtsIBek=";
}; };
# launch4j downloads and runs a native binary during the package phase. # launch4j downloads and runs a native binary during the package phase.
@ -25,7 +26,7 @@ maven.buildMavenPackage {
pname = "forge-mtg"; pname = "forge-mtg";
inherit version src patches; inherit version src patches;
mvnHash = "sha256-QK9g0tG75lIhEtf4jW03N32YbD9Fe5iI0JTuqmCTtnE="; mvnHash = "sha256-ouF0Ja3oGrlUCcT0PzI5i9FQ+oLdEhE/LvhJ0QGErvI=";
doCheck = false; # Needs a running Xorg doCheck = false; # Needs a running Xorg
@ -50,7 +51,13 @@ maven.buildMavenPackage {
for commandToInstall in forge forge-adventure forge-adventure-editor; do for commandToInstall in forge forge-adventure forge-adventure-editor; do
chmod 555 $out/share/forge/$commandToInstall.sh chmod 555 $out/share/forge/$commandToInstall.sh
makeWrapper $out/share/forge/$commandToInstall.sh $out/bin/$commandToInstall \ makeWrapper $out/share/forge/$commandToInstall.sh $out/bin/$commandToInstall \
--prefix PATH : ${lib.makeBinPath [ coreutils openjdk gnused ]} \ --prefix PATH : ${
lib.makeBinPath [
coreutils
openjdk
gnused
]
} \
--set JAVA_HOME ${openjdk}/lib/openjdk \ --set JAVA_HOME ${openjdk}/lib/openjdk \
--set SENTRY_DSN "" --set SENTRY_DSN ""
done done

View File

@ -1,21 +1,18 @@
{ {
lib, lib,
mkKdeDerivation, mkKdeDerivation,
fetchFromGitLab, fetchurl,
qtwebsockets, qtwebsockets,
kdeclarative, kdeclarative,
kpackage, kpackage,
}: }:
mkKdeDerivation { mkKdeDerivation rec {
pname = "kunifiedpush"; pname = "kunifiedpush";
version = "unstable-2024-02-19"; version = "1.0.0";
src = fetchFromGitLab { src = fetchurl {
domain = "invent.kde.org"; url = "mirror://kde/stable/kunifiedpush/kunifiedpush-${version}.tar.xz";
owner = "libraries"; sha256 = "sha256-Ld66ITBtAwcRTsUKLDgVnsYjWfn8bN1Y2jCjafvVUM8=";
repo = "kunifiedpush";
rev = "b89a31fb4f333a4e5d6c475a030147c8bdcffec6";
hash = "sha256-bhlsEP7cLuA6Rj6nrpp5iC3uolc02twNMLsWl+d/BXo=";
}; };
extraBuildInputs = [ extraBuildInputs = [

View File

@ -6,12 +6,12 @@
stdenvNoCC.mkDerivation (finalAttrs: { stdenvNoCC.mkDerivation (finalAttrs: {
pname = "bartender"; pname = "bartender";
version = "5.1.8"; version = "5.2.3";
src = fetchurl { src = fetchurl {
name = "Bartender ${lib.versions.major finalAttrs.version}.dmg"; name = "Bartender ${lib.versions.major finalAttrs.version}.dmg";
url = "https://www.macbartender.com/B2/updates/${builtins.replaceStrings [ "." ] [ "-" ] finalAttrs.version}/Bartender%20${lib.versions.major finalAttrs.version}.dmg"; url = "https://www.macbartender.com/B2/updates/${builtins.replaceStrings [ "." ] [ "-" ] finalAttrs.version}/Bartender%20${lib.versions.major finalAttrs.version}.dmg";
hash = "sha256-8ypSGbgnfbUv1zZlEihBjiW3UEwU8GwBT4FGiuEpLfU="; hash = "sha256-G1XL6o5Rk/U5SsT/Q5vWaVSg0qerfzVizjFmudWAI3E=";
}; };
dontPatch = true; dontPatch = true;

View File

@ -13,19 +13,19 @@
buildGoModule rec { buildGoModule rec {
pname = "mautrix-whatsapp"; pname = "mautrix-whatsapp";
version = "0.10.9"; version = "0.11.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mautrix"; owner = "mautrix";
repo = "whatsapp"; repo = "whatsapp";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-iVILI6OGndnxIVmgNcIwHA64tkv9V3OTH3YtrCyeYx4="; hash = "sha256-D9ed2/3ymUmZotnD8AZngPGQtzr8+R7xfbcdQLb3EKU=";
}; };
buildInputs = lib.optional (!withGoolm) olm; buildInputs = lib.optional (!withGoolm) olm;
tags = lib.optional withGoolm "goolm"; tags = lib.optional withGoolm "goolm";
vendorHash = "sha256-DpgkSXSLF+U6zIzJ4AF2uTcFWQQYsRgkaUTG9F+bnVk="; vendorHash = "sha256-qd8dGJe3h6JG6B9pZbJXHk3NwYddfHXzprSH20jn9Bk=";
doCheck = false; doCheck = false;

View File

@ -182,7 +182,7 @@ stdenv.mkDerivation (finalAttrs: {
connector-c = finalAttrs.finalPackage; connector-c = finalAttrs.finalPackage;
server = finalAttrs.finalPackage; server = finalAttrs.finalPackage;
mysqlVersion = lib.versions.majorMinor finalAttrs.version; mysqlVersion = lib.versions.majorMinor finalAttrs.version;
tests = nixosTests.mysql.percona-server_lts; tests.percona-server = nixosTests.mysql.percona-server_8_0;
}; };
meta = with lib; { meta = with lib; {

View File

@ -204,7 +204,7 @@ stdenv.mkDerivation (finalAttrs: {
connector-c = finalAttrs.finalPackage; connector-c = finalAttrs.finalPackage;
server = finalAttrs.finalPackage; server = finalAttrs.finalPackage;
mysqlVersion = lib.versions.majorMinor finalAttrs.version; mysqlVersion = lib.versions.majorMinor finalAttrs.version;
tests = nixosTests.mysql.percona-server_innovation; tests.percona-server = nixosTests.mysql.percona-server_8_4;
}; };
meta = with lib; { meta = with lib; {

View File

@ -14,11 +14,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "monit"; pname = "monit";
version = "5.34.0"; version = "5.34.2";
src = fetchurl { src = fetchurl {
url = "https://mmonit.com/monit/dist/monit-${version}.tar.gz"; url = "https://mmonit.com/monit/dist/monit-${version}.tar.gz";
sha256 = "sha256-N/UUzYlzu84QTLhRf/P8UEBSoINwPu4NDoc9smuRmCA="; sha256 = "sha256-KRyj2JjptCW20MF2hyj+zWwc9MJox52xX9omKFrVuDI=";
}; };
nativeBuildInputs = [ bison flex ] ++ nativeBuildInputs = [ bison flex ] ++

View File

@ -2654,6 +2654,8 @@ self: super: with self; {
crccheck = callPackage ../development/python-modules/crccheck { }; crccheck = callPackage ../development/python-modules/crccheck { };
crcelk = callPackage ../development/python-modules/crcelk { };
crcmod = callPackage ../development/python-modules/crcmod { }; crcmod = callPackage ../development/python-modules/crcmod { };
credstash = callPackage ../development/python-modules/credstash { }; credstash = callPackage ../development/python-modules/credstash { };
@ -2804,6 +2806,8 @@ self: super: with self; {
cymem = callPackage ../development/python-modules/cymem { }; cymem = callPackage ../development/python-modules/cymem { };
cymruwhois = callPackage ../development/python-modules/cymruwhois { };
cypari2 = callPackage ../development/python-modules/cypari2 { }; cypari2 = callPackage ../development/python-modules/cypari2 { };
cypherpunkpay = callPackage ../development/python-modules/cypherpunkpay { }; cypherpunkpay = callPackage ../development/python-modules/cypherpunkpay { };
@ -14527,6 +14531,8 @@ self: super: with self; {
smmap = callPackage ../development/python-modules/smmap { }; smmap = callPackage ../development/python-modules/smmap { };
smoke-zephyr = callPackage ../development/python-modules/smoke-zephyr { };
smpplib = callPackage ../development/python-modules/smpplib { }; smpplib = callPackage ../development/python-modules/smpplib { };
smpp-pdu = callPackage ../development/python-modules/smpp-pdu { }; smpp-pdu = callPackage ../development/python-modules/smpp-pdu { };