Merge master into staging-next

This commit is contained in:
nixpkgs-ci[bot]
2026-11-21 06:09:13 +00:00
committed by GitHub
55 changed files with 1246 additions and 284 deletions

View File

@@ -533,6 +533,8 @@
- Added the `prometheus-podman-exporter` package and an accompanying `prometheus.exporters.podman` service.
- `pkgsCross.mingw32`, `pkgsCross.mingwW64`, `pkgsCross.ucrt64` & `pkgsCross.ucrtAarch64` aliases now warn about deprecation in the next release.
## Nixpkgs Library {#sec-nixpkgs-release-26.11-lib}
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->

View File

@@ -179,7 +179,7 @@ $ nix-shell -p qemu --run 'qemu-aarch64 ./result/bin/hello'
Hello, world!
```
The same pattern works for other targets by substituting the `pkgsCross.*` attribute and the emulator package (e.g. `wine` for `pkgsCross.mingwW64`).
The same pattern works for other targets by substituting the `pkgsCross.*` attribute and the emulator package (e.g. `wine` for `pkgsCross.mingw-msvcrt-x86_64`).
#### My package fails to find a binutils command (`cc`/`ar`/`ld` etc.) {#cross-qa-fails-to-find-binutils}
Many packages assume that an unprefixed binutils (`cc`/`ar`/`ld` etc.) is available, but Nix doesn't provide one. It only provides a prefixed one, just as it only does for all the other binutils programs. It may be necessary to patch the package to fix the build system to use a prefix. For instance, instead of `cc`, use `${stdenv.cc.targetPrefix}cc`.

View File

@@ -368,11 +368,11 @@ rec {
};
# mingw-64 back compat
# TODO: Warn after 26.05, and remove after 26.11.
mingw32 = mingw-msvcrt-i686;
mingwW64 = mingw-msvcrt-x86_64;
ucrt64 = mingw-ucrt-x86_64;
ucrtAarch64 = mingw-ucrt-aarch64;
# TODO(27.05): remove
mingw32 = lib.warnOnInstantiate "mingw32 has been replaced by mingw-msvcrt-i686" mingw-msvcrt-i686;
mingwW64 = lib.warnOnInstantiate "mingwW64 has been replaced by mingw-msvcrt-x86_64" mingw-msvcrt-x86_64;
ucrt64 = lib.warnOnInstantiate "ucrt64 has been replaced by mingw-ucrt-x86_64" mingw-ucrt-x86_64;
ucrtAarch64 = lib.warnOnInstantiate "ucrtAarch64 has been replaced by mingw-ucrt-aarch64" mingw-ucrt-aarch64;
# Target the MSVC ABI
x86_64-windows = {

View File

@@ -12,8 +12,8 @@ let
optionalString
;
hello32 = "${pkgs.pkgsCross.mingw32.hello}/bin/hello.exe";
hello64 = "${pkgs.pkgsCross.mingwW64.hello}/bin/hello.exe";
hello32 = "${pkgs.pkgsCross.mingw-msvcrt-i686.hello}/bin/hello.exe";
hello64 = "${pkgs.pkgsCross.mingw-msvcrt-x86_64.hello}/bin/hello.exe";
makeWineTest = packageSet: exes: variant: rec {
name = "${packageSet}-${variant}";

View File

@@ -7,7 +7,7 @@
stdenv,
}:
# Used as a workaround for ucrtAarch64.
# Used as a workaround for mingw-ucrt-aarch64.
# compiler-rt due to pthread.h not being found during cross-build.
let

View File

@@ -59,7 +59,7 @@ in
;
pkgArches = [ pkgsi686Linux ];
geckos = [ gecko32 ];
mingwGccs = with pkgsCross; [ mingw32.buildPackages.gcc ];
mingwGccs = with pkgsCross; [ mingw-msvcrt-i686.buildPackages.gcc ];
monos = [ mono ];
platforms = [
"i686-linux"
@@ -77,7 +77,7 @@ in
if pkgs.stdenv.hostPlatform.isAarch64 then
[ llvm-mingw ]
else
with pkgsCross; [ mingwW64.buildPackages.gcc ];
with pkgsCross; [ mingw-msvcrt-x86_64.buildPackages.gcc ];
geckos = [ gecko64 ];
monos = [ mono ];
configureFlags =
@@ -104,8 +104,8 @@ in
gecko64
];
mingwGccs = with pkgsCross; [
mingw32.buildPackages.gcc
mingwW64.buildPackages.gcc
mingw-msvcrt-i686.buildPackages.gcc
mingw-msvcrt-x86_64.buildPackages.gcc
];
monos = [ mono ];
buildScript = replaceVars ./builder-wow.sh {
@@ -132,8 +132,8 @@ in
else
with pkgsCross;
[
mingw32.buildPackages.gcc
mingwW64.buildPackages.gcc
mingw-msvcrt-i686.buildPackages.gcc
mingw-msvcrt-x86_64.buildPackages.gcc
];
geckos = [ gecko64 ];
monos = [ mono ];

View File

@@ -345,13 +345,13 @@
"vendorHash": null
},
"dopplerhq_doppler": {
"hash": "sha256-LUdMe6iafRHDWBfXRV7qXs8F+Wx/xKb07Dn8U31T6Uc=",
"hash": "sha256-6ZKbJWVR+DwmIvOKxHPAI/i0YXM94+nj4hImJROVMLg=",
"homepage": "https://registry.terraform.io/providers/DopplerHQ/doppler",
"owner": "DopplerHQ",
"repo": "terraform-provider-doppler",
"rev": "v1.23.0",
"rev": "v1.23.2",
"spdx": "Apache-2.0",
"vendorHash": "sha256-B8mYLd4VdADWoQLWiCM85VQrBfDdlYQ0wkCp9eUBQ4U="
"vendorHash": "sha256-q6fNyM3U9nCWrtzTlVocO0haqGT5MOrPGdXodpJNDxc="
},
"drfaust92_bitbucket": {
"hash": "sha256-wtBEaJNccS9TvX97BskH4/2VF3tLFRXP8Q9r5r2L4HM=",
@@ -976,13 +976,13 @@
"vendorHash": "sha256-anDXIahFYXpKQtrKIUeq1WzKdqHssTzcOM79LdUAYPE="
},
"newrelic_newrelic": {
"hash": "sha256-BssV6o5jK1c3vQcyYUK8y3TRjXJLNpVXk2AGx88q4dU=",
"hash": "sha256-VDNupD9tG/xivYrB5ifNDpqaQmyGULwZCMYOU1nOsxI=",
"homepage": "https://registry.terraform.io/providers/newrelic/newrelic",
"owner": "newrelic",
"repo": "terraform-provider-newrelic",
"rev": "v3.101.12",
"rev": "v3.102.1",
"spdx": "MPL-2.0",
"vendorHash": "sha256-8FrnSlwS6udoI8Yjdq2+AshsDqYMUPSJhMGlm6YQrTI="
"vendorHash": "sha256-dfv1yokhbfdG6ikpPNKcqZXzmdyOTN14XAWULPTffZU="
},
"ns1-terraform_ns1": {
"hash": "sha256-6w0r6QXm16h4I4PFj80dJhTDbF4FPMjJalO0TfXGBEA=",

View File

@@ -113,7 +113,7 @@ stdenv.mkDerivation (finalAttrs: {
}
# Resolve the default runtime root to the nix store.
replaceInBundle 4 'homedir(),".cache","codex-runtimes")' 'homedir()&&"${finalAttrs.passthru.primaryRuntime}/lib")'
replaceInBundle 6 'homedir(),".cache","codex-runtimes")' 'homedir()&&"${finalAttrs.passthru.primaryRuntime}/lib")'
# Refuse to install or update it.
replaceInBundle 1 '="manual_install"}){' '="manual_install"}){throw Error("The Codex runtime is managed by Nix.");'

View File

@@ -1,30 +1,30 @@
{
"aarch64-darwin": {
"version": "26.1111.21308",
"version": "26.1117.41037",
"src": {
"url": "https://persistent.oaistatic.com/codex-app-prod/ChatGPT-darwin-arm64-26.1111.21308.zip",
"hash": "sha256-gYbjm7FmGZ9kiXnH4mwUiRkIkF2j9FS45vwsI6c5uuc="
"url": "https://persistent.oaistatic.com/codex-app-prod/ChatGPT-darwin-arm64-26.1117.41037.zip",
"hash": "sha256-vApC0Bqb3t4cHCuHYVGoGFYNax6vH0WuQC09IinDQiA="
}
},
"aarch64-linux": {
"version": "26.1111.21308",
"version": "26.1117.41037",
"src": {
"url": "https://persistent.oaistatic.com/codex-app-prod/linux/deb/pool/main/c/chatgpt/chatgpt_26.1111.21308_arm64.deb",
"hash": "sha256-xcWqCQlo73oosnyu09AzdIidfIJQdogU60yuXZudmiU="
"url": "https://persistent.oaistatic.com/codex-app-prod/linux/deb/pool/main/c/chatgpt/chatgpt_26.1117.41037_arm64.deb",
"hash": "sha256-cUFG6cZnsmob1OV2M8VEM0qe1Hw5mYm/2Yz3ZBQL3FM="
},
"primaryRuntime": null
},
"x86_64-linux": {
"version": "26.1111.21308",
"version": "26.1117.41037",
"src": {
"url": "https://persistent.oaistatic.com/codex-app-prod/linux/deb/pool/main/c/chatgpt/chatgpt_26.1111.21308_amd64.deb",
"hash": "sha256-S0Q7xVc1ChsZO8LxuuIHyeo8n7XZT3yUpdPbqotVI1I="
"url": "https://persistent.oaistatic.com/codex-app-prod/linux/deb/pool/main/c/chatgpt/chatgpt_26.1117.41037_amd64.deb",
"hash": "sha256-gw4lG2ykrUX+aQQSenkOjwD3wm7UyAOUc/cyPHxOJpI="
},
"primaryRuntime": {
"version": "26.1030.10813",
"version": "26.1119.11507",
"src": {
"url": "https://persistent.oaistatic.com/codex-primary-runtime/26.1030.10813/codex-primary-runtime-linux-x64-26.1030.10813.tar.xz",
"hash": "sha256-PP4SGXSACkAYYk7dIvQqDlfocoWQQgzVMG9v0Zfxe7I="
"url": "https://persistent.oaistatic.com/codex-primary-runtime/26.1119.11507/codex-primary-runtime-linux-x64-26.1119.11507.tar.xz",
"hash": "sha256-0vxX4MO9Fm++ofbjzFZf0UQygLDRplX3V8ldwg74lBQ="
}
}
}

View File

@@ -71,6 +71,10 @@ in
[ lib.sourceTypes.binaryNativeCode ]
else
[ lib.sourceTypes.binaryBytecode ];
knownVulnerabilities = [
# Fixed in 2026.3.0.1
"CVE-2026-111497; see https://github.com/NixOS/nixpkgs/issues/590447"
];
};
}).overrideAttrs
(attrs: {

View File

@@ -39,7 +39,7 @@ in
runCommand "cloudflared-${version}-runs-through-wine"
{
nativeBuildInputs = [ wine ];
exe = "${pkgsCross.mingw32.cloudflared}/bin/cloudflared.exe";
exe = "${pkgsCross.mingw-msvcrt-i686.cloudflared}/bin/cloudflared.exe";
}
''
export HOME="$(mktemp -d)"
@@ -52,7 +52,7 @@ in
runCommand "cloudflared-${version}-runs-through-wine64"
{
nativeBuildInputs = [ wine64 ];
exe = "${pkgsCross.mingwW64.cloudflared}/bin/cloudflared.exe";
exe = "${pkgsCross.mingw-msvcrt-x86_64.cloudflared}/bin/cloudflared.exe";
}
''
export HOME="$(mktemp -d)"

View File

@@ -72,7 +72,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
nativeBuildInputs = [
meson
ninja
pkgsCross.mingwW64.buildPackages.gcc
pkgsCross.mingw-msvcrt-x86_64.buildPackages.gcc
];
mesonFlags = [

View File

@@ -17,16 +17,16 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "dashy-ui";
version = "4.9.16";
version = "4.9.19";
src = fetchFromGitHub {
owner = "lissy93";
repo = "dashy";
tag = finalAttrs.version;
hash = "sha256-zEALkMEzbOd5gv4X4qYE6gXHKa+2FQ0sjwwrMdoKK74=";
hash = "sha256-2bKtOw2zw57mVwtbfThVXFEpJd9nssOuzjLTCv+J6Gg=";
};
yarnOfflineCache = fetchYarnDeps {
yarnLock = finalAttrs.src + "/yarn.lock";
hash = "sha256-YDjyUtdHVTIH+oMkTFiSOiTZ8l5u/kMyuLxFF532DX0=";
hash = "sha256-tEk0nvNhcCwTg2Mw1mZ/Q6r40Gj+nJt4r6qVui2XsnM=";
};
passthru = {

View File

@@ -19,8 +19,8 @@ stdenvNoCC.mkDerivation (
(final: prev: { threads = null; })
];
pkgsMingw32 = useWin32ThreadModel pkgsCross.mingw32;
pkgsMingwW64 = useWin32ThreadModel pkgsCross.mingwW64;
pkgsMingw32 = useWin32ThreadModel pkgsCross.mingw-msvcrt-i686;
pkgsMingwW64 = useWin32ThreadModel pkgsCross.mingw-msvcrt-x86_64;
dxvk32 =
if stdenvNoCC.hostPlatform.isDarwin then

View File

@@ -0,0 +1,24 @@
--- a/src/tls.rs
+++ b/src/tls.rs
@@ -100,14 +100,14 @@
/// Setup the rustls client configuration.
fn client_root_store() -> rustls::RootCertStore {
+ use rustls::pki_types::{pem::PemObject, CertificateDer};
+
let mut client_root_store = rustls::RootCertStore::empty();
- client_root_store.extend(webpki_roots::TLS_SERVER_ROOTS.iter().map(|ta| {
- rustls::pki_types::TrustAnchor {
- subject: ta.subject.into(),
- subject_public_key_info: ta.spki.into(),
- name_constraints: ta.name_constraints.map(|v| v.into()),
- }
- }));
+ let bundle = std::env::var_os("SSL_CERT_FILE")
+ .unwrap_or_else(|| "/etc/ssl/certs/ca-certificates.crt".into());
+ if let Ok(certs) = CertificateDer::pem_file_iter(bundle) {
+ client_root_store.add_parsable_certificates(certs.flatten());
+ }
client_root_store
}

View File

@@ -0,0 +1,70 @@
{
"@esbuild/aix-ppc64@npm:0.21.5": "1f48fea96ab4fbc2921756361bc8a0c4d0690f14dc2298a357aa3d436bcd1cd646d490e5d71c4e0fb46b9e04401bc93153d6886456dd0665b6758be643c95a16",
"@esbuild/android-arm64@npm:0.21.5": "7a4831b0886c165ed671f0094dcd491235fe503364a261379c84e2225a3c3230a06bce1d3a02316fa8a040b0ffede56c617746dc3b5550549ae3fb07095bb20d",
"@esbuild/android-arm@npm:0.21.5": "9fa871018a9f2198f40fde2c672fcb1b9d3ab5ee602644ea4cf68c548ee2c0b6c60ad851ce85219f84886fd29757d8c49bac28ea48a2a16708a088e32dfe673a",
"@esbuild/android-x64@npm:0.21.5": "24e477ccdaf1437cabe8710bc052a13b975a53617094a225e39823a1c562a71ef975d860ab895c129a813302495d85387143e27068e62fc897a2ac0335e4a2f6",
"@esbuild/darwin-arm64@npm:0.21.5": "67b0e4ebc870d0babb6721328f02b0e75eca5ee8f176220fa194ac5897ce76a27aa4f6d724389a74e1517670f70e766fe03c30875fdebeee5b1f7b22e99c5a1f",
"@esbuild/darwin-x64@npm:0.21.5": "a4b6df47edf4b1e91eeca9d7af18f538e25615e00763709a4cc24a8918e7ac93b9bfc2ef9f44086f16257d05ad99e23c1213a7a1397475d1a78f0a1e773af89a",
"@esbuild/freebsd-arm64@npm:0.21.5": "a4cf357807f2ea445b5191b8e5488070b567e2b534dba24ce6f8f1a332598ee0b9ffa41b3b0e55cd0cf57e2b56f0f1d84413faba182b81cb43bf19edf58a7654",
"@esbuild/freebsd-x64@npm:0.21.5": "8957c1345196e5dabd7d9f290b5292161f5d9955f269051fa7873118cfb5a20c31d70771ea3560b513f879d0948ba32fba915fb1b387571c4fbbb1fbeaf2dd87",
"@esbuild/linux-arm64@npm:0.21.5": "1b95b17ed94eb977e38ea9130e677551b7cf0ccccdb3f23a9f8b59b5d67400817c2a417e4f043295bd3f67796853da2a1b1a8ca201ffe745efb40a144dfdc99c",
"@esbuild/linux-arm@npm:0.21.5": "6bfcd098ada5e6117d028777e5cc58456c2f570157fa0a0dce30c9d05b8389b86f74bf6b862534bf6994d342946c98b6774e1820880fd289765864b668e94c17",
"@esbuild/linux-ia32@npm:0.21.5": "73c249c9918f0c9a9268ffe14fe745f5e7564b309dcea213da08a5e4367ffdfc8df4b004c70f80269dce0f653a3280cfdd8bf9a7a616b5b60649e4faea6e69b5",
"@esbuild/linux-loong64@npm:0.21.5": "60977efe24b3b6e1461d49da07dd57c1234992b9d2e6ac7d0dedfee538321d42be25e496ffb193121d3a6c6ca6ea6722b880e95695824dcc6643a3d9426b2296",
"@esbuild/linux-mips64el@npm:0.21.5": "20fb6c8f6e58f66cd4351034858b2ad85bda4144576b180979305cfabed43780a71934e9f176e476c719f14e37253b231a43d46638ad232989d5f4dd72ec6b75",
"@esbuild/linux-ppc64@npm:0.21.5": "69f2ef1d127f48bc14cec479ae1a96dbf5fea651e0a3f148486f73495d2acb91acdaa164cd80648844916f05e7f9f9665a1864dd394e7f9acf96bea70937e6b5",
"@esbuild/linux-riscv64@npm:0.21.5": "60c749d87c0f67cc67c5cc0d82aa597b7a807bc52510a16960337433bdbc8fa9f3c46eba98080106c0971e404e2250ca11c441bb4ae5b7a7d78b4095e3a70363",
"@esbuild/linux-s390x@npm:0.21.5": "a14ff0484b962b374fd1e4662a53f8dd8999ba39fcf891f15631dfb2802c8d18893d6e366c42d28d55885e5804b7d6252c0e3cee038c241285c9b537ef12b4ae",
"@esbuild/linux-x64@npm:0.21.5": "9e5663fcace9c8456e9934a9ed6e7428db4080024eef3bfeaf82d476120bd881382c958be2785463d6b44467b3d3f870d6cce09a9cb37bcef19afeb97814d674",
"@esbuild/netbsd-x64@npm:0.21.5": "3cb6115c4557d653c7ad6d2be5b4ed7a688b14d85b7b7108a1a57dda0b2cca3f8ed13560fa6639da8788f860b75eb714a17cfb7ba8f967e93bdf40c9b3a1cde1",
"@esbuild/openbsd-x64@npm:0.21.5": "1caf0b502d6e2612ffd3e62589de2b9cd48cd742818746011d437e2d5787df4984f7c17b7a536aa20f12d04e519c859d755a7b57e6db0ed277054bd9c1036e85",
"@esbuild/sunos-x64@npm:0.21.5": "676da7301c7c600bb7de2523ecf5d877128da3c125fd8136533f5be38ca15d9f800b2fbbd396ca37d44c5daa51b8124d8a4728bb18245cd2becb3191b897c45a",
"@esbuild/win32-arm64@npm:0.21.5": "9b2ab87429efd3c2697dc5c7948ea57b57757b6e4709469e773b73cd5fe4b7fda5912073f4c3bdf9d0346b8f3ae443367a63bcd51de24fb81b9f592712eb3366",
"@esbuild/win32-ia32@npm:0.21.5": "c1fe3276507d82202c464cd4809e67e6f151e29ed9de05c32d086dfe30207db15e646911ebc7f50df659891bfee292a25062792c589c2ff769be238c6b5fb8be",
"@esbuild/win32-x64@npm:0.21.5": "5d7b28baa9c22684d35ec0515f6d36f8f583f26733c8e84c7f78edf17b8a7d133819267486f2fd66f20ca3a810896f11c3c81106d745040c2f07ade314846bf1",
"@rollup/rollup-android-arm-eabi@npm:4.54.0": "80bcfa8dc61cc58090b705672b8bf17e1d13c0efdf358341a8f69113ae4c34c60497ec9d91218291f251ede046c1b7480c01fc874b1420ea531caa1c7d97ce74",
"@rollup/rollup-android-arm64@npm:4.54.0": "53e8acda550cb2cd2c15291f7cc5b1a7fd4592005acb590212a06ebff3beef517dcdf334c6c62d0aeabb6083590d3b28f1fa11d9dfde793501419a67808dbf01",
"@rollup/rollup-darwin-arm64@npm:4.54.0": "455d5d7518937d6872f68966b7e15613aec68e4177f0347edf362808fe75f1034c57eddc0aaa429457f875e145410421b234a3c17f897d03ec35cac65fd9a4c7",
"@rollup/rollup-darwin-x64@npm:4.54.0": "8a86651388b6f0181c988cc76f65818f9c2278501cb8414c9dfea1bcef301b4157a48bb6b39829dcfc68d425e24d0e91fdbeba3eea1390eb9dd71f46b989c783",
"@rollup/rollup-freebsd-arm64@npm:4.54.0": "a8dd4141140d7fd2af22a4757406c520fd8e07a89b2618b76471739faad1820c4dbd82bc1eedab35056718857479d50a68676a124dd797344d98f72fbd79cbb4",
"@rollup/rollup-freebsd-x64@npm:4.54.0": "9887658ddaaa27018c3367a112aa95b46610c6790d6c6e92da45e162308862e6d17c19c6f96f7de7055bae760b683f45f71987873d924345afe1b83a82bd219a",
"@rollup/rollup-linux-arm-gnueabihf@npm:4.54.0": "0116d9e983714d91582c0aeeebe79b73e6ddcd18a3ced3f769435de9d6b7e5dcd39a74bc49cfe8082a2e307197134a6481522f10d955a35e70de02b0beb9bbea",
"@rollup/rollup-linux-arm-musleabihf@npm:4.54.0": "fd074267fc825c23940bfd480bb6d4268c310d0dc12c2511d5c8d9fbde2210d79d068de8aac138966b7f9a6669312ac31d45f742c0d9fe252a21f57f8408a7cf",
"@rollup/rollup-linux-arm64-gnu@npm:4.54.0": "798068de6be19b645395ae6915451bd7fa7a4f0ae1627ed766769d21b701afb957dfdf49f610867794e3dcadfd8cffaf8a737249889d08f751a800f2efe5f6a0",
"@rollup/rollup-linux-arm64-musl@npm:4.54.0": "c840ed39b8628ac59ffb64e99e9378fe7ae134ce1e9bc3b4c5291869f7214826ec856bc304187c25b9df1365af826765b58328d1c0d011c15aaa6e6c22464cce",
"@rollup/rollup-linux-loong64-gnu@npm:4.54.0": "9ece9df1f8bb0ffaa67aeb28e7816e909764f71a5fbe8a6381e029fea8cec662bd9e2a1367e20d8a9d4b5dcf29a86ce1ec9f14c072bfe3810473477cd9414268",
"@rollup/rollup-linux-ppc64-gnu@npm:4.54.0": "796cc33071211cc87dc00e049abc9ace3995762e7ba09124e7cacb8c904d20448b9bddf4d42c8cc5025eedbeb021395d0cb0270dd8cba8ed27d39d2bafc1e68c",
"@rollup/rollup-linux-riscv64-gnu@npm:4.54.0": "746315fcfe0f78cd6c3a13b9225fdf82ea0df34ed38a5d32902a4aea320508487adab3be7dd8b731ea0f1d0f21e804a47449791a3dfb462da8c5803f40db0aec",
"@rollup/rollup-linux-riscv64-musl@npm:4.54.0": "474f6285bd7b9def88d673ad378fc3a074a088bd1fc244350bdbba267854bf87b8ffcfbc79f7b65a6e6d5ef917afd6983a68d1df07e45252b0b6e06783793897",
"@rollup/rollup-linux-s390x-gnu@npm:4.54.0": "fd858c7849bdd2c22bdb964538fa9fe7f6d3f6e3f0daad81005ef99826e4011acfb4c133a5547a21db4bb4c281ad687f806a4d71003c9ea1f11fa78c0a77f0ba",
"@rollup/rollup-linux-x64-gnu@npm:4.54.0": "6edd8b5f0b9f21e7bd88f62ef2f5637dd28ba3808476c8b4f9eb905388493e7deff35e747d24f78f76de5f47d7fafee5f790f1e6219692dc20b745fe5b2da17a",
"@rollup/rollup-linux-x64-musl@npm:4.54.0": "911acef8dd9ba6cb783a226f32da2d409547811928f3060402fdbd6f6bf806f4fab2a00940a54fda0bdb227571dae29d1c6cb4cc1a67d22c31c0730050fd5446",
"@rollup/rollup-openharmony-arm64@npm:4.54.0": "227568cee7f50894aaba2edb2e7dea765ff8f3bcb4525cafd826e438bc23129713d2dac9d6afa4e2cd39d2a660399c76aa0e6481c800f39c71e81013f777ab75",
"@rollup/rollup-win32-arm64-msvc@npm:4.54.0": "1b3e1bb7b544bcd139eadd7deb33b58c7f0facfb173bb8e2903c4da140749f8bc00a0251f83e1e3714d54667827f8e580b9649d397f45fc0a45a4da5af5ffd06",
"@rollup/rollup-win32-ia32-msvc@npm:4.54.0": "c057553eb3c3167bde8e4c8e3c07c594d2abc4e2272cb2c3317934aeb176239219f456bbbb64cc1e1a76b42214a353046e6cd5347e2455f0b9b15660b44b6f2d",
"@rollup/rollup-win32-x64-gnu@npm:4.54.0": "175266421a1fa18fd6ff7a8ede562747a0b6891d52a5577d2dd1d1621e3cc67f93a103662e559c40dd0ef3b03399cc9f2238ed54910d20b56e491a58117805e4",
"@rollup/rollup-win32-x64-msvc@npm:4.54.0": "7e400692f6fa12f251a97d9e73a0743f9d890afb27f3911a2504e2f28f36b25830f6188e532b6dd0ffafad538e1110d0c51712b2a166b56366f18a6142635214",
"@swc/core-darwin-arm64@npm:1.15.47": "cb8b833c26d81938760ffadadea95a377b515113d011d53b3660c41a4954eedafb59d122ab447d7e652ad1042c63648b434ff0eaa74457daacc940f959199a94",
"@swc/core-darwin-x64@npm:1.15.47": "1d5ce454b6da84254103884e8f0c3668dcdd6029c85d1e200cc168df6810d5a0d5057e9caa4332c593f9719f69f1c4c0eede6664eff262684276da1d2e52a259",
"@swc/core-linux-arm-gnueabihf@npm:1.15.47": "6c713884dfd85386036e6c517b705d186f67ce13b004eca8813a70783616213bb563b842ab854e076c66bdc234422f03127938152e992366bc52310ca94167ab",
"@swc/core-linux-arm64-gnu@npm:1.15.47": "e11c3708d486729f1516513fdde6c92d18927f1f42ee14820f7f7d3624bf183bf2d526fb78d8c069a5fce2a3f00c67488cb563c6aa25c2ba454bebca489963e7",
"@swc/core-linux-arm64-musl@npm:1.15.47": "7866ab292620db87a99ae369eb3655d2d60d3080cf5ecc1a5f78c5fff98c824e0a8618a069ccdd42e6e2392b09f7f36e0074a1cdc29c4923929eef9b4060ebfc",
"@swc/core-linux-ppc64-gnu@npm:1.15.47": "5e0d6689d5deb4c699a640ee2a3252cd83e5bdf464c99ef62f02f17ded888bddde469321b7dfbb060d41316cdd80780d1e4f4f0a88057e3b12f4ee2d3af73d58",
"@swc/core-linux-s390x-gnu@npm:1.15.47": "1368eeea809ac2f7c004ae53e8d1e849a918606f82092775a11c3b8f23e48da79080c1648d9fb58c02f97ae832430b8b0d40e467695e9651ca8dc693109149cc",
"@swc/core-linux-x64-gnu@npm:1.15.47": "7525736f5f5e593b2e3c796bc45ef55b317929677fcc6ff5be5644a46ae3243f44a26ef736e98026ed3b5ffb7b038b6179e87f9cd060d1dd1d1fccd2a143b2b9",
"@swc/core-linux-x64-musl@npm:1.15.47": "d5d500a0a8068bda66b8e1034208983e0c91fbc2a9601e75d9d837c1025643b46a94a4d20771a294f1f49eb6e5b147a9a3624062cf3c58a681ae89d6df13b390",
"@swc/core-win32-arm64-msvc@npm:1.15.47": "35463e6a8774fde7fb3f66a82648e6d4effd8e4b07ad3332a6b4918d02eca0017b82b1fc363cb0746cd8099f39dad2183eefe62c51ce0a116dec5167b7293683",
"@swc/core-win32-ia32-msvc@npm:1.15.47": "c46d9eece5c648da6c4c522281e26b0c90d53ac98473da34a45d423555b9103528ba918f1fce67f44168022255ce99fd3d7704ca5b952d486dcd91ff0f1ac0f3",
"@swc/core-win32-x64-msvc@npm:1.15.47": "aebaae3dd1aa889299e13448309b034b758cce80256d0b912046451847f2f98d8aa0e656dd0f6de5397c3fb9cf79261aa208274a7fbf9e48d049fef350ff4db8",
"@tauri-apps/cli-darwin-arm64@npm:2.9.6": "74b13c1b22a59c25dca7005ae141bed40f1e2f491d209cd6a19a4786b967f126996ed70c8da776deea2fd764a060dddbff8df882f5c9266e13bfaf98b74afb7f",
"@tauri-apps/cli-darwin-x64@npm:2.9.6": "a030ca4960bf3a2f319a63ec4e3c49ef47844daf76edcadc84f230c07a133de74e54d80804021bd564598a4207d741e6cce89f8e12adaa9c389b90017c1e3663",
"@tauri-apps/cli-linux-arm-gnueabihf@npm:2.9.6": "5f00de04ae6ae3dd72570afc887df52c7383ef87f80ec2cc0e0c845602ed82e73d97cf6b1b63791c7ecdde0c1591dad630c92c53beb08ca65492954535429b68",
"@tauri-apps/cli-linux-arm64-gnu@npm:2.9.6": "ef63449c40bf68308452f909778be2829b0662c4978042009d6194bea775bf30092d7448a6b5e7e563f6d38f3de8aa79577a45ab7d0ce9148f45502fbaf049d4",
"@tauri-apps/cli-linux-arm64-musl@npm:2.9.6": "a9b25a496ec008003c3621f15d05a85143d30a9070c1b1e90dbdfadfa1c2b9584416416a30564d4f51b96bbad06b5ee8ea65bf8b7cc790c4805a2de5cf1a2666",
"@tauri-apps/cli-linux-riscv64-gnu@npm:2.9.6": "af0810abb44b65f90e2b172b8ea1ed1afdc105080a1ab71d7ed64295d40653b25043697e3e4a6f236e39f0eb87c2ddd82d98062beb2e37390711f5ff3749ede2",
"@tauri-apps/cli-linux-x64-gnu@npm:2.9.6": "eca51615eed10b3e95ebca0d43c1736ee0e3e7a7d95915b780866511b7bbabce46d8eb70971c7e25641f17bf00666340e360cd22ab68fb7bf131bd37f2c7157b",
"@tauri-apps/cli-linux-x64-musl@npm:2.9.6": "0cfeb6a68d086e82446afe9d0fcb49e334ed672e235721d7ef2682f81f072005864bee7c2d9d188d60f7d9a559701aa3ef034ec1bfdaa82ab3150a4ac1562dd2",
"@tauri-apps/cli-win32-arm64-msvc@npm:2.9.6": "12eccbafc5a2eb032715d8e01143976721fa6ca36c89ee7ea9d32a9033085db14f342394715d642def1b0e2b476167586bbc62f9ab8783ed2cc451054599c437",
"@tauri-apps/cli-win32-ia32-msvc@npm:2.9.6": "4bffe07542bba886ea2f243204bc99116fdd83ae2634bbdaed46fc93aa1d4e7cb30c5c64a4000a32476e3ce96f9f46b3aca8b1d7509a20eb84d1e2393b4bc9bb",
"@tauri-apps/cli-win32-x64-msvc@npm:2.9.6": "58dfd7d694dd7580273ae539e2d039a22b5177dd17e381d92bcfac3e4b137c88559b036d2261a8662859ce002b33475de451c65915e15c706efe7702c2e5172d"
}

View File

@@ -0,0 +1,133 @@
--- a/monero-sys/build.rs
+++ b/monero-sys/build.rs
@@ -124,51 +124,19 @@
// Rerun if the patches directory or any patch files change
println!("cargo:rerun-if-changed=patches");
- // Apply embedded patches before building
- apply_patches().expect("Failed to apply our patches");
-
- // flush std::out
- std::io::stdout().flush().unwrap();
- std::io::stderr().flush().unwrap();
-
- let contrib_depends_dir = std::env::current_dir()
- .expect("current directory to be accessible")
- .join(MONERO_DEPENDS_DIR);
-
- // Use stable location in target/debug/monero-depends to avoid rebuilding deps unnecessarily
- let target_dir = find_workspace_target_dir();
- let stable_depends_dir = target_dir
- .join("debug")
- .join("monero-depends")
- .join(std::env::var("TARGET").expect("TARGET env var to be present"));
-
- let (contrib_depends_dir, target) =
- compile_dependencies(contrib_depends_dir, stable_depends_dir);
+ let target = std::env::var("TARGET").expect("TARGET env var to be present");
// Build with the monero library all dependencies required
let mut config = Config::new(MONERO_CPP_DIR);
- let toolchain_file = contrib_depends_dir
- .join(format!("{target}/share/toolchain.cmake"))
- .display()
- .to_string();
- config.define("CMAKE_TOOLCHAIN_FILE", toolchain_file.clone());
- println!("cargo:debug=Using toolchain file: {toolchain_file}");
-
- let depends_lib_dir = contrib_depends_dir.join(format!("{target}/lib"));
-
- println!(
- "cargo:rustc-link-search=native={}",
- depends_lib_dir.display()
- );
-
let output_directory = config
.build_target("wallet_api")
// Builds currently fail in Release mode
// .define("CMAKE_BUILD_TYPE", "Release")
// .define("CMAKE_RELEASE_TYPE", "Release")
// Force building static libraries
- .define("STATIC", "ON")
+ .define("STATIC", "OFF")
+ .define("MANUAL_SUBMODULES", "ON")
.define("BUILD_SHARED_LIBS", "OFF")
.define("BUILD_TESTS", "OFF")
.define("USE_DEVICE_TREZOR", "OFF")
@@ -184,17 +152,9 @@
.define("USE_DEVICE_LEDGER", "OFF")
.define("CMAKE_DISABLE_FIND_PACKAGE_HIDAPI", "ON")
.define("GTEST_HAS_ABSL", "OFF")
- .define("SODIUM_LIBRARY", "libsodium.a")
// Use lightweight crypto library
.define("MONERO_WALLET_CRYPTO_LIBRARY", "cn")
.define("CMAKE_CROSSCOMPILING", "OFF")
- .define(
- "SODIUM_INCLUDE_PATH",
- contrib_depends_dir
- .join(format!("{target}/include"))
- .display()
- .to_string(),
- ) // This is needed for libsodium.a to be found on mingw-w64
.build_arg("-Wno-dev") // Disable warnings we can't fix anyway
.build_arg(format!(
"-j{}",
@@ -367,12 +327,12 @@
println!("cargo:rustc-link-lib=static=mnemonics");
println!("cargo:rustc-link-lib=static=rpc_base");
- // Static linking for boost
- println!("cargo:rustc-link-lib=static=boost_serialization");
- println!("cargo:rustc-link-lib=static=boost_filesystem");
- println!("cargo:rustc-link-lib=static=boost_thread");
- println!("cargo:rustc-link-lib=static=boost_chrono");
- println!("cargo:rustc-link-lib=static=boost_program_options");
+ // Dynamic linking for boost
+ println!("cargo:rustc-link-lib=boost_serialization");
+ println!("cargo:rustc-link-lib=boost_filesystem");
+ println!("cargo:rustc-link-lib=boost_thread");
+ println!("cargo:rustc-link-lib=boost_chrono");
+ println!("cargo:rustc-link-lib=boost_program_options");
if target.contains("w64-mingw32") {
println!("cargo:rustc-link-lib=static=boost_locale");
@@ -383,16 +343,16 @@
println!("cargo:rustc-link-arg=-static-libgcc");
}
- // Link libsodium statically
- println!("cargo:rustc-link-lib=static=sodium");
+ // Link libsodium dynamically
+ println!("cargo:rustc-link-lib=sodium");
- // Link OpenSSL statically
- println!("cargo:rustc-link-lib=static=ssl"); // This is OpenSSL (libsll)
- println!("cargo:rustc-link-lib=static=crypto"); // This is OpenSSLs crypto library (libcrypto)
-
- // Link unbound statically
- println!("cargo:rustc-link-lib=static=unbound");
- println!("cargo:rustc-link-lib=static=expat"); // Expat is required by unbound
+ // Link OpenSSL dynamically
+ println!("cargo:rustc-link-lib=ssl"); // This is OpenSSL (libsll)
+ println!("cargo:rustc-link-lib=crypto"); // This is OpenSSLs crypto library (libcrypto)
+
+ // Link unbound dynamically
+ println!("cargo:rustc-link-lib=unbound");
+ println!("cargo:rustc-link-lib=expat"); // Expat is required by unbound
// println!("cargo:rustc-link-lib=static=nghttp2");
// println!("cargo:rustc-link-lib=static=event");
@@ -420,12 +380,6 @@
.include("monero/external/easylogging++") // Includes the easylogging++ headers
.include("monero/external")
.include("monero/contrib/epee/include") // Includes the epee headers for net/http_client.h
- .include(
- contrib_depends_dir
- .join(format!("{target}/include"))
- .display()
- .to_string(),
- )
.include(output_directory)
.flag("-fPIC") // Position independent code
.flag("-Wno-unused-parameter") // Suppress warnings from upstream Monero C++ headers

View File

@@ -1,53 +1,150 @@
{
lib,
fetchurl,
stdenv,
dpkg,
autoPatchelfHook,
rustPlatform,
fetchFromGitHub,
cargo-tauri,
cmake,
jq,
nodejs,
pkg-config,
substitute,
typeshare,
wrapGAppsHook3,
cairo,
gdk-pixbuf,
webkitgtk_4_1,
yarn-berry_4,
boost186,
expat,
glib-networking,
gtk3,
libsodium,
libsoup_3,
openssl,
unbound,
webkitgtk_4_1,
zeromq,
}:
stdenv.mkDerivation (finalAttrs: {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "eigenwallet";
version = "4.16.1";
version = "5.0.2";
src = fetchurl {
url = "https://github.com/eigenwallet/core/releases/download/${finalAttrs.version}/eigenwallet_${finalAttrs.version}_amd64.deb";
hash = "sha256-Hw7hlu+4S6V/3KD+c9yeV3u4SsEX4haLaBXk7u3uiws=";
src = fetchFromGitHub {
owner = "eigenwallet";
repo = "core";
tag = finalAttrs.version;
fetchSubmodules = true;
hash = "sha256-D1FRp44VKx1PngKFmoVKvoyyQ21cc8oqZxrLtHR5Ikw=";
# Remove after upstream updates to Yarn 4.15
# (packageManager in src-gui/package.json)
postFetch = ''
cd $out
patch -p1 < ${
(substitute {
src = ./yarn-fix.patch;
substitutions = [
"--replace-fail"
"YARN_LOCKFILE_VERSION_PLACEHOLDER"
yarn-berry_4.lockfileVersion
];
})
}
'';
};
cargoPatches = [
# Use the system CA store instead of compiled-in webpki-roots copies:
# electrum-client via OpenSSL, tokio-tungstenite via native-tls, and drop
# unused TLS from bdk 0.28 (electrum) and sqlx (SQLite only).
# https://github.com/NixOS/nixpkgs/issues/576544
./use-system-ca-store.patch
];
patches = [
./monero-sys-system-libs.patch
];
postPatch = ''
# libp2p-websocket has no option for system roots, so read SSL_CERT_FILE
# or the system bundle instead of webpki-roots
patch -d "$cargoDepsCopy"/*/libp2p-websocket-* -p1 \
< ${./libp2p-websocket-system-roots.patch}
# Apply the patches that monero-sys/build.rs embeds, in the same order
for p in $(grep -o '"patches/[^"]*\.patch"' monero-sys/build.rs | tr -d '"'); do
patch -p1 -d monero-sys/monero < monero-sys/$p
done
# The frontend is built in preBuild, and updater artifacts need a signing key
jq '.build.beforeBuildCommand = "" | .bundle.createUpdaterArtifacts = false' \
src-tauri/tauri.conf.json > tauri.conf.json.new
mv tauri.conf.json.new src-tauri/tauri.conf.json
'';
cargoHash = "sha256-C2N8lcpIcLq/phLbajWJJp7Oefu/mCcP/p/M/TF+foY=";
missingHashes = ./missing-hashes.json;
yarnOfflineCache = yarn-berry_4.fetchYarnBerryDeps {
src = "${finalAttrs.src}/src-gui";
inherit (finalAttrs) missingHashes;
hash = "sha256-YUy6khIu8RrbQENErttqxbisIqw7hO3XyPs9rC+oxTk=";
};
nativeBuildInputs = [
dpkg
autoPatchelfHook
cargo-tauri.hook
cmake
jq
nodejs
pkg-config
# FIXME: typeshare's doctests currently fail with the current rustc
(typeshare.overrideAttrs { doCheck = false; })
wrapGAppsHook3
yarn-berry_4
yarn-berry_4.yarnBerryConfigHook
];
buildInputs = [
cairo
gdk-pixbuf
webkitgtk_4_1
boost186
expat
glib-networking
gtk3
libsodium
libsoup_3
openssl
unbound
webkitgtk_4_1
zeromq
];
installPhase = ''
runHook preInstall
dontUseCmakeConfigure = true;
mkdir -p $out
mv {usr/bin,usr/share} $out
runHook postInstall
dontYarnBerryInstallDeps = true;
postConfigure = ''
pushd src-gui
yarnBerryConfigHook
popd
'';
preBuild = ''
pushd src-gui
typeshare --lang=typescript --output-file ./src/models/tauriModel.ts \
../swap/src ../monero-rpc-pool/src ../electrum-pool/src ../monero-sys/src \
../swap-core/src ../swap-p2p/src ../monero-oxide-ext/src
yarn run build
popd
'';
buildAndTestSubdir = "src-tauri";
doCheck = false;
passthru.updateScript = ./update.sh;
meta = {
description = "Protocol and desktop application for swapping Monero and Bitcoin";
homepage = "https://eigenwallet.org";
changelog = "https://github.com/eigenwallet/core/blob/${finalAttrs.version}/CHANGELOG.md";
maintainers = with lib.maintainers; [ JacoMalan1 ];
license = lib.licenses.gpl3Only;
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
platforms = [ "x86_64-linux" ];
mainProgram = "unstoppableswap-gui-rs";
};

View File

@@ -0,0 +1,54 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p bash cacert cargo coreutils curl diffutils git gnused jq nix nix-update yarn-berry_4.yarn-berry-fetcher
# shellcheck shell=bash
set -euo pipefail
pkgDir=$(dirname "$(readlink -f "$0")")
nixpkgs=$(readlink -f "$pkgDir/../../../..")
attr=eigenwallet
version=${1:-$(curl -sfL ${GITHUB_TOKEN:+-H "Authorization: Bearer $GITHUB_TOKEN"} \
https://api.github.com/repos/eigenwallet/core/releases/latest | jq -r .tag_name)}
cd "$nixpkgs"
nix-update "$attr" --version "$version" --src-only
src=$(nix-build -A "$attr.src" --no-out-link)
yarn-berry-fetcher missing-hashes "$src/src-gui/yarn.lock" > "$pkgDir/missing-hashes.json"
work=$(mktemp -d)
trap 'rm -rf "$work"' EXIT
cp -r --no-preserve=mode "$src" "$work/src"
cd "$work/src"
export GIT_CONFIG_GLOBAL=/dev/null GIT_CONFIG_NOSYSTEM=1
git init -q
git add -A
replace() {
grep -qF -- "$2" "$1" || {
echo "update.sh: '$2' not found in $1, update use-system-ca-store.patch by hand" >&2
exit 1
}
sed -i "s|$(printf '%s' "$2" | sed 's/[][\.*^$|]/\\&/g')|$3|" "$1"
}
replace Cargo.toml 'bdk = "0.28"' \
'bdk = { version = "0.28", default-features = false, features = ["std", "key-value-db"] }'
for f in bitcoin-wallet/Cargo.toml electrum-pool/Cargo.toml; do
replace "$f" 'features = ["use-rustls-ring"]' 'features = ["use-openssl"]'
done
replace swap-feed/Cargo.toml 'features = ["rustls-tls"]' 'features = ["native-tls"]'
for f in swap/Cargo.toml monero-sys/Cargo.toml monero-rpc-pool/Cargo.toml; do
replace "$f" '"runtime-tokio-rustls"' '"runtime-tokio"'
done
CARGO_HOME="$work/cargo-home" cargo metadata --format-version 1 > /dev/null
git diff > "$pkgDir/use-system-ca-store.patch"
cd "$nixpkgs"
nix-update "$attr" --version skip --subpackage yarnOfflineCache

View File

@@ -0,0 +1,486 @@
diff --git a/Cargo.lock b/Cargo.lock
index c9ae0ca..1e88e2d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -843,7 +843,6 @@ dependencies = [
"async-trait",
"bdk-macros",
"bitcoin 0.29.2",
- "electrum-client 0.12.1",
"getrandom 0.2.17",
"js-sys",
"log",
@@ -897,7 +896,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b59a3f7fbe678874fa34354097644a171276e02a49934c13b3d61c54610ddf39"
dependencies = [
"bdk_core",
- "electrum-client 0.24.1",
+ "electrum-client",
]
[[package]]
@@ -3018,24 +3017,6 @@ dependencies = [
"serde",
]
-[[package]]
-name = "electrum-client"
-version = "0.12.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a8e1e1e452aef3ee772d19cc6272ef642f22ce0f4a9fb715ffe98010934e2ae1"
-dependencies = [
- "bitcoin 0.29.2",
- "byteorder",
- "libc",
- "log",
- "rustls 0.20.9",
- "serde",
- "serde_json",
- "webpki 0.22.4",
- "webpki-roots 0.22.6",
- "winapi",
-]
-
[[package]]
name = "electrum-client"
version = "0.24.1"
@@ -3046,10 +3027,9 @@ dependencies = [
"byteorder",
"libc",
"log",
- "rustls 0.23.37",
+ "openssl",
"serde",
"serde_json",
- "webpki-roots 0.25.4",
"winapi",
]
@@ -4567,10 +4547,10 @@ dependencies = [
"hyper-util",
"log",
"rustls 0.23.37",
- "rustls-native-certs 0.8.3",
+ "rustls-native-certs",
"rustls-pki-types",
"tokio",
- "tokio-rustls 0.26.4",
+ "tokio-rustls",
"tower-service",
]
@@ -5955,7 +5935,7 @@ dependencies = [
"thiserror 1.0.69",
"tracing",
"url",
- "webpki-roots 0.25.4",
+ "webpki-roots",
]
[[package]]
@@ -6535,7 +6515,7 @@ dependencies = [
"sqlx",
"swap-serde",
"tokio",
- "tokio-rustls 0.26.4",
+ "tokio-rustls",
"tor-rtcompat",
"tower-http",
"tracing",
@@ -6788,10 +6768,10 @@ dependencies = [
"libc",
"log",
"openssl",
- "openssl-probe 0.2.1",
+ "openssl-probe",
"openssl-sys",
"schannel",
- "security-framework 3.7.0",
+ "security-framework",
"security-framework-sys",
"tempfile",
]
@@ -7305,12 +7285,6 @@ dependencies = [
"syn 2.0.117",
]
-[[package]]
-name = "openssl-probe"
-version = "0.1.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e"
-
[[package]]
name = "openssl-probe"
version = "0.2.1"
@@ -8812,14 +8786,14 @@ dependencies = [
"pin-project-lite",
"quinn",
"rustls 0.23.37",
- "rustls-native-certs 0.8.3",
+ "rustls-native-certs",
"rustls-pki-types",
"serde",
"serde_json",
"serde_urlencoded",
"sync_wrapper 1.0.2",
"tokio",
- "tokio-rustls 0.26.4",
+ "tokio-rustls",
"tokio-util",
"tower",
"tower-http",
@@ -8858,7 +8832,7 @@ dependencies = [
"serde_json",
"sync_wrapper 1.0.2",
"tokio",
- "tokio-rustls 0.26.4",
+ "tokio-rustls",
"tokio-util",
"tower",
"tower-http",
@@ -9100,31 +9074,6 @@ dependencies = [
"windows-sys 0.61.2",
]
-[[package]]
-name = "rustls"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7"
-dependencies = [
- "base64 0.13.1",
- "log",
- "ring 0.16.20",
- "sct 0.6.1",
- "webpki 0.21.4",
-]
-
-[[package]]
-name = "rustls"
-version = "0.20.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1b80e3dec595989ea8510028f30c408a4630db12c9cbb8de34203b89d6577e99"
-dependencies = [
- "log",
- "ring 0.16.20",
- "sct 0.7.1",
- "webpki 0.22.4",
-]
-
[[package]]
name = "rustls"
version = "0.21.12"
@@ -9134,7 +9083,7 @@ dependencies = [
"log",
"ring 0.17.14",
"rustls-webpki 0.101.7",
- "sct 0.7.1",
+ "sct",
]
[[package]]
@@ -9153,28 +9102,16 @@ dependencies = [
"zeroize",
]
-[[package]]
-name = "rustls-native-certs"
-version = "0.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a07b7c1885bd8ed3831c289b7870b13ef46fe0e856d288c30d9cc17d75a2092"
-dependencies = [
- "openssl-probe 0.1.6",
- "rustls 0.19.1",
- "schannel",
- "security-framework 2.11.1",
-]
-
[[package]]
name = "rustls-native-certs"
version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "612460d5f7bea540c490b2b6395d8e34a953e52b491accd6c86c8164c5932a63"
dependencies = [
- "openssl-probe 0.2.1",
+ "openssl-probe",
"rustls-pki-types",
"schannel",
- "security-framework 3.7.0",
+ "security-framework",
]
[[package]]
@@ -9208,10 +9145,10 @@ dependencies = [
"log",
"once_cell",
"rustls 0.23.37",
- "rustls-native-certs 0.8.3",
+ "rustls-native-certs",
"rustls-platform-verifier-android",
"rustls-webpki 0.103.10",
- "security-framework 3.7.0",
+ "security-framework",
"security-framework-sys",
"webpki-root-certs 0.26.11",
"windows-sys 0.59.0",
@@ -9229,10 +9166,10 @@ dependencies = [
"log",
"once_cell",
"rustls 0.23.37",
- "rustls-native-certs 0.8.3",
+ "rustls-native-certs",
"rustls-platform-verifier-android",
"rustls-webpki 0.103.10",
- "security-framework 3.7.0",
+ "security-framework",
"security-framework-sys",
"webpki-root-certs 1.0.6",
"windows-sys 0.61.2",
@@ -9433,16 +9370,6 @@ version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d68f2ec51b097e4c1a75b681a8bec621909b5e91f15bb7b840c4f2f7b01148b2"
-[[package]]
-name = "sct"
-version = "0.6.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce"
-dependencies = [
- "ring 0.16.20",
- "untrusted 0.7.1",
-]
-
[[package]]
name = "sct"
version = "0.7.1"
@@ -9579,19 +9506,6 @@ dependencies = [
"quote",
]
-[[package]]
-name = "security-framework"
-version = "2.11.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
-dependencies = [
- "bitflags 2.11.0",
- "core-foundation 0.9.4",
- "core-foundation-sys",
- "libc",
- "security-framework-sys",
-]
-
[[package]]
name = "security-framework"
version = "3.7.0"
@@ -10318,8 +10232,6 @@ dependencies = [
"once_cell",
"paste",
"percent-encoding",
- "rustls 0.21.12",
- "rustls-pemfile",
"serde",
"serde_json",
"sha2",
@@ -10330,7 +10242,6 @@ dependencies = [
"tokio-stream",
"tracing",
"url",
- "webpki-roots 0.25.4",
]
[[package]]
@@ -11926,17 +11837,6 @@ dependencies = [
"tokio",
]
-[[package]]
-name = "tokio-rustls"
-version = "0.22.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6"
-dependencies = [
- "rustls 0.19.1",
- "tokio",
- "webpki 0.21.4",
-]
-
[[package]]
name = "tokio-rustls"
version = "0.26.4"
@@ -11978,13 +11878,11 @@ checksum = "511de3f85caf1c98983545490c3d09685fa8eb634e57eec22bb4db271f46cbd8"
dependencies = [
"futures-util",
"log",
+ "native-tls",
"pin-project",
- "rustls 0.19.1",
"tokio",
- "tokio-rustls 0.22.0",
+ "tokio-native-tls",
"tungstenite",
- "webpki 0.21.4",
- "webpki-roots 0.21.1",
]
[[package]]
@@ -13421,14 +13319,12 @@ dependencies = [
"http 0.2.12",
"httparse",
"log",
+ "native-tls",
"rand 0.8.5",
- "rustls 0.19.1",
- "rustls-native-certs 0.5.0",
"sha-1",
"thiserror 1.0.69",
"url",
"utf-8",
- "webpki 0.21.4",
]
[[package]]
@@ -14261,26 +14157,6 @@ dependencies = [
"system-deps",
]
-[[package]]
-name = "webpki"
-version = "0.21.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea"
-dependencies = [
- "ring 0.16.20",
- "untrusted 0.7.1",
-]
-
-[[package]]
-name = "webpki"
-version = "0.22.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53"
-dependencies = [
- "ring 0.17.14",
- "untrusted 0.9.0",
-]
-
[[package]]
name = "webpki-root-certs"
version = "0.26.11"
@@ -14299,24 +14175,6 @@ dependencies = [
"rustls-pki-types",
]
-[[package]]
-name = "webpki-roots"
-version = "0.21.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aabe153544e473b775453675851ecc86863d2a81d786d741f6b76778f2a48940"
-dependencies = [
- "webpki 0.21.4",
-]
-
-[[package]]
-name = "webpki-roots"
-version = "0.22.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87"
-dependencies = [
- "webpki 0.22.4",
-]
-
[[package]]
name = "webpki-roots"
version = "0.25.4"
diff --git a/Cargo.toml b/Cargo.toml
index 720807c..7f690ca 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -33,7 +33,7 @@ members = [
[workspace.dependencies]
# Bitcoin Dev Kit
-bdk = "0.28"
+bdk = { version = "0.28", default-features = false, features = ["std", "key-value-db"] }
bdk_chain = "0.23.0"
bdk_core = "0.6.0"
bdk_electrum = { version = "0.23.0", default-features = false }
diff --git a/bitcoin-wallet/Cargo.toml b/bitcoin-wallet/Cargo.toml
index 8bf5f0f..c3e1ab5 100644
--- a/bitcoin-wallet/Cargo.toml
+++ b/bitcoin-wallet/Cargo.toml
@@ -10,7 +10,7 @@ backoff = { workspace = true }
bdk = { workspace = true }
bdk_chain = { workspace = true }
bdk_core = { workspace = true }
-bdk_electrum = { workspace = true, features = ["use-rustls-ring"] }
+bdk_electrum = { workspace = true, features = ["use-openssl"] }
bdk_wallet = { workspace = true, features = ["rusqlite", "test-utils"] }
bitcoin = { workspace = true }
derive_builder = "0.20.2"
diff --git a/electrum-pool/Cargo.toml b/electrum-pool/Cargo.toml
index 61fb96d..1585e29 100644
--- a/electrum-pool/Cargo.toml
+++ b/electrum-pool/Cargo.toml
@@ -5,7 +5,7 @@ authors = ["eigenwallet Team <help@unstoppableswap.net>"]
edition = "2024"
[dependencies]
-bdk_electrum = { workspace = true, features = ["use-rustls-ring"] }
+bdk_electrum = { workspace = true, features = ["use-openssl"] }
bitcoin = { workspace = true }
futures = { workspace = true }
once_cell = { workspace = true }
diff --git a/monero-rpc-pool/Cargo.toml b/monero-rpc-pool/Cargo.toml
index 4179a0c..f78a0f4 100644
--- a/monero-rpc-pool/Cargo.toml
+++ b/monero-rpc-pool/Cargo.toml
@@ -43,7 +43,7 @@ serde_json = { workspace = true }
typeshare = { workspace = true }
# Database
-sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "sqlite", "chrono", "migrate"] }
+sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite", "chrono", "migrate"] }
# Web framework and HTTP
axum = { version = "0.8.4", features = ["macros"] }
diff --git a/monero-sys/Cargo.toml b/monero-sys/Cargo.toml
index dbfbcf6..b51c8c8 100644
--- a/monero-sys/Cargo.toml
+++ b/monero-sys/Cargo.toml
@@ -9,7 +9,7 @@ backoff = { workspace = true }
chrono = { version = "0.4", features = ["serde"] }
cxx = "1.0.137"
serde = { workspace = true }
-sqlx = { version = "0.8", features = ["sqlite", "runtime-tokio-rustls", "macros", "chrono"] }
+sqlx = { version = "0.8", features = ["sqlite", "runtime-tokio", "macros", "chrono"] }
thiserror = "2.0.17"
tokio = { workspace = true, features = ["sync", "time", "rt"] }
tracing = { workspace = true }
diff --git a/swap-feed/Cargo.toml b/swap-feed/Cargo.toml
index cee153f..14db721 100644
--- a/swap-feed/Cargo.toml
+++ b/swap-feed/Cargo.toml
@@ -20,7 +20,7 @@ serde = { workspace = true }
serde_json = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true }
-tokio-tungstenite = { version = "0.15", features = ["rustls-tls"] }
+tokio-tungstenite = { version = "0.15", features = ["native-tls"] }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
url = { workspace = true }
diff --git a/swap/Cargo.toml b/swap/Cargo.toml
index d7c8182..7cc0343 100644
--- a/swap/Cargo.toml
+++ b/swap/Cargo.toml
@@ -118,7 +118,7 @@ strum = { workspace = true, features = ["derive"] }
typeshare = { workspace = true }
# Database
-sqlx = { version = "0.8", features = ["sqlite", "runtime-tokio-rustls"] }
+sqlx = { version = "0.8", features = ["sqlite", "runtime-tokio"] }
[dev-dependencies]
bitcoin-harness = { git = "https://github.com/eigenwallet/bitcoin-harness-rs", branch = "master" }

View File

@@ -0,0 +1,24 @@
diff --git a/src-gui/.yarnrc.yml b/src-gui/.yarnrc.yml
--- a/src-gui/.yarnrc.yml
+++ b/src-gui/.yarnrc.yml
@@ -1,3 +1,8 @@
nodeLinker: node-modules
npmMinimalAgeGate: 7d
+
+approvedGitRepositories:
+ - "**"
+
+enableScripts: true
diff --git a/src-gui/yarn.lock b/src-gui/yarn.lock
--- a/src-gui/yarn.lock
+++ b/src-gui/yarn.lock
@@ -2,7 +2,7 @@
# Manual changes might be lost - proceed with caution!
__metadata:
- version: 8
+ version: YARN_LOCKFILE_VERSION_PLACEHOLDER
cacheKey: 10c0
"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.27.1":

View File

@@ -146,7 +146,7 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = true;
# pkgsCross.mingwW64.pkg-config doesn't build
# pkgsCross.mingw-msvcrt-x86_64.pkg-config doesn't build
# makeWrapper doesn't cross-compile to windows #120726
postInstall = ''
substituteInPlace $dev/bin/freetype-config \

View File

@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch2,
cacert,
gitUpdater,
unstableGitUpdater,
@@ -47,6 +48,38 @@ let
rev = "v${version}";
hash = "sha256-L4GKXCFsKVxWXZJJeiAegXJySoS9+/V+/cuzEJEse+I=";
};
patches = [
(fetchpatch2 {
name = "CVE-2026-103227.patch";
url = "https://github.com/gpac/gpac/commit/24e52d0a6001671ab61310105a24e2874e289a24.patch?full_index=1";
hash = "sha256-vh7Sb81W3lFHz8SJBfDTaMZyI6bpBLpB8oP39EpBp3o=";
})
(fetchpatch2 {
name = "CVE-2026-124030.patch";
url = "https://github.com/gpac/gpac/commit/1359c4da9329cedceeb8fcfeab6d97e0927236e1.patch?full_index=1";
hash = "sha256-3W4jIehmw5WNavGJzYkulo8Oq8zna6uBc/k+1TrbuF8=";
})
(fetchpatch2 {
name = "CVE-2026-124031.patch";
url = "https://github.com/gpac/gpac/commit/43a8329a90ae2907716b593cc3746458516c7c39.patch?full_index=1";
hash = "sha256-ZUzxhLe/vqCT1xuliJLXMF4q5hedYMmQQCppmy1ilAk=";
})
(fetchpatch2 {
name = "CVE-2026-108538.patch";
url = "https://github.com/gpac/gpac/commit/563859e5f9f1640893267a7d4e0e185e81654734.patch?full_index=1";
hash = "sha256-L2WCfX0Ieue0+WY7Pu83wtM0REJa4mSxG8iQffQ/aIc=";
})
(fetchpatch2 {
name = "CVE-2026-128239.patch";
url = "https://github.com/gpac/gpac/commit/6ef6bc65dd2b9d4c2e78806b9c122c549f82298a.patch?full_index=1";
hash = "sha256-PKBaD9IojN3PFAY6Ccqd9BGFKRPiv+I7RffcJYvywcE=";
})
(fetchpatch2 {
name = "CVE-2026-128240.patch";
url = "https://github.com/gpac/gpac/commit/83585cafbb1292b075e3f59dcb4083706d724f35.patch?full_index=1";
hash = "sha256-osvBvF+DzRqx3mT32EXyVSd+mKS2pdszAeN9QcajtcQ=";
})
];
updateScript = gitUpdater {
rev-prefix = "v";
ignoredVersions = "^(abi|test)";
@@ -64,12 +97,13 @@ let
tagFormat = "v*";
tagPrefix = "v";
};
patches = [ ];
};
channelToUse = if releaseChannel == "unstable" then unstable else stable;
in
stdenv.mkDerivation (finalAttrs: {
pname = "gpac";
inherit (channelToUse) version src;
inherit (channelToUse) version src patches;
nativeBuildInputs = [
pkg-config

View File

@@ -19,7 +19,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
cmake
pkgsCross.mingwW64.buildPackages.gcc
pkgsCross.mingw-msvcrt-x86_64.buildPackages.gcc
];
cmakeFlags = [ (lib.cmakeFeature "CMAKE_TOOLCHAIN_FILE" "../windows.cmake") ];

View File

@@ -1,6 +1,6 @@
{
"version": "3.7.22",
"hash": "sha256-/fepgOVEBFfBW/VkVhihpPfe1GkO7EloKi7zWQavd+8=",
"version": "3.7.24",
"hash": "sha256-diVTuV+E9c2vAQgeeqBcjAqOKe318WtJYdDqJ9m6Pj4=",
"plugins": {
"io.github.jackgruber.backup": {
"name": "joplin-plugin-backup",

View File

@@ -14,7 +14,7 @@
# That is handled by the kiro-cli package, which wraps this one in an FHS env.
stdenv.mkDerivation (finalAttrs: {
pname = "kiro-cli-unwrapped";
version = "3.3.0";
version = "3.5.0";
__structuredAttrs = true;
@@ -23,17 +23,17 @@ stdenv.mkDerivation (finalAttrs: {
# Since 3.0, macOS ships as a single universal tarball.
darwin = fetchurl {
url = "https://desktop-release.q.us-east-1.amazonaws.com/${finalAttrs.version}/kirocli-universal-darwin.tar.gz";
hash = "sha256-PXOKl/HAwYHQD2YCnpkddu++I3SNIxHrdfIFyLnJx5c=";
hash = "sha256-byb1H+iy8m2wWORa0tT4vOd6SRZ7J9otzmcClSo2MNs=";
};
in
{
x86_64-linux = fetchurl {
url = "https://desktop-release.q.us-east-1.amazonaws.com/${finalAttrs.version}/kirocli-x86_64-linux.tar.gz";
hash = "sha256-uIFCqgJ4lQSsd/327oKfD0vcnOLl3QzHMIThBQA8j8M=";
hash = "sha256-mPAWt0azQtgzeg6TfKvsw4EDfi6SDqD/quZJ5R71nU4=";
};
aarch64-linux = fetchurl {
url = "https://desktop-release.q.us-east-1.amazonaws.com/${finalAttrs.version}/kirocli-aarch64-linux.tar.gz";
hash = "sha256-GHIPfcU2hImxZziMJ8R2gIkgMmGcT20JnP3cF2EeA54=";
hash = "sha256-NERP7gMpRANygsdi30/2kppR6CfdctQCy3qK++yzPn8=";
};
aarch64-darwin = darwin;
}

View File

@@ -47,7 +47,7 @@ buildGoModule (finalAttrs: {
passthru = {
tests = {
win = pkgsCross.mingwW64.ligolo-ng or null;
win = pkgsCross.mingw-msvcrt-x86_64.ligolo-ng or null;
linux64 = pkgsCross.gnu64.ligolo-ng or null;
};
updateScript = nix-update-script { };

View File

@@ -7,11 +7,11 @@
lilypond.overrideAttrs (
finalAttrs: prevAttrs: {
version = "2.27.4";
version = "2.27.5";
src = fetchzip {
url = "https://lilypond.org/download/sources/v${lib.versions.majorMinor finalAttrs.version}/lilypond-${finalAttrs.version}.tar.gz";
hash = "sha256-qQw8Z4v5/GPHHg1vPEfJU8nOprKdeMmYYdU2QDXIpH0=";
hash = "sha256-yA43ToU4zI8nnasZs7Jl6M325IYlEhklUs1rBjYCqCA=";
};
patches = [ ];

View File

@@ -1,14 +1,15 @@
{
lib,
stdenv,
rustPlatform,
fetchFromGitHub,
installShellFiles,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "little_boxes";
version = "1.12.1";
version = "1.14.0";
__structuredAttrs = true;
@@ -16,26 +17,28 @@ rustPlatform.buildRustPackage (finalAttrs: {
owner = "giodamelio";
repo = "little_boxes";
tag = "v${finalAttrs.version}";
hash = "sha256-ejFo+BYoXf889G/iLuKITwY3ephkEMS6nLtfi3PozHQ=";
hash = "sha256-JQrCKXN0yf9hQIbrdqmDFJs2f7tkxEWHqfqEisOinEc=";
};
cargoVendorDir = "vendor";
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
extrasPath=$(ls -d $releaseDir/build/little_boxes-*/out/)
installManPage $extrasPath/little_boxes.1
installShellCompletion --bash $extrasPath/little_boxes.bash
installShellCompletion --fish $extrasPath/little_boxes.fish
installShellCompletion --zsh $extrasPath/_little_boxes
installShellCompletion --nushell $extrasPath/little_boxes.nu
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
$out/bin/little_boxes man > little_boxes.1
installManPage little_boxes.1
installShellCompletion --cmd little_boxes \
--bash <($out/bin/little_boxes completions bash) \
--fish <($out/bin/little_boxes completions fish) \
--zsh <($out/bin/little_boxes completions zsh) \
--nushell <($out/bin/little_boxes completions nushell)
'';
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "Add boxes are input text";
longDescription = ''

View File

@@ -55,7 +55,7 @@ let
'';
});
me3-windows = pkgsCross.mingwW64.rustPlatform.buildRustPackage (final: {
me3-windows = pkgsCross.mingw-msvcrt-x86_64.rustPlatform.buildRustPackage (final: {
inherit cargoHash version src;
pname = "me3-windows";

View File

@@ -2,12 +2,12 @@ diff --git a/src/octoprint/server/api/settings.py b/src/octoprint/server/api/set
index c3e6cea10..ced2f8fa0 100644
--- a/src/octoprint/server/api/settings.py
+++ b/src/octoprint/server/api/settings.py
@@ -130,7 +130,7 @@ data["webcam"] = {
@@ -322,7 +322,7 @@ data["webcam"] = {
"webcamEnabled": s.getBoolean(["webcam", "webcamEnabled"]),
"snapshotTimeout": s.getInt(["webcam", "snapshotTimeout"]),
"timelapseEnabled": s.getBoolean(["webcam", "timelapseEnabled"]),
- "ffmpegPath": s.get(["webcam", "ffmpeg"]),
+ "ffmpegPath": "@ffmpeg@",
"ffmpegPathConfigured": bool(s.get(["webcam", "ffmpeg"])),
"ffmpegCommandline": s.get(["webcam", "ffmpegCommandline"]),
"bitrate": s.get(["webcam", "bitrate"]),
"ffmpegThreads": s.get(["webcam", "ffmpegThreads"]),

View File

@@ -4,9 +4,7 @@
callPackage,
lib,
fetchFromGitHub,
# OctoPrint requires Python >=3.7, <3.14, so it cannot use the default python3
# while that points at 3.14.
python313,
python3,
replaceVars,
nix-update-script,
nixosTests,
@@ -15,7 +13,7 @@
}:
let
py = python313.override {
py = python3.override {
self = py;
packageOverrides = lib.foldr lib.composeExtensions (self: super: { }) [
# Built-in dependency
@@ -77,14 +75,14 @@ let
(self: super: {
octoprint = self.buildPythonPackage rec {
pname = "OctoPrint";
version = "1.11.8";
version = "2.0.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "OctoPrint";
repo = "OctoPrint";
rev = version;
hash = "sha256-yTHzBqwVxAP6EokiWqD/SR6P2X4gIGyiyzNH0UzzDB4=";
hash = "sha256-VNKc+bsWd5Pjt7s6k1kiWuYPnoxRxKeFIH74mztF+n8=";
};
propagatedBuildInputs =
@@ -105,14 +103,11 @@ let
flask-login
flask-limiter
frozendict
itsdangerous
jinja2
libpass
limits
markdown
markupsafe
netaddr
netifaces
octoprint-filecheck
octoprint-firmwarecheck
packaging
@@ -126,7 +121,6 @@ let
pyyaml
regex
requests
rsa
sarge
semantic-version
sentry-sdk
@@ -140,8 +134,8 @@ let
wrapt
zeroconf
zipstream-ng
class-doc
pydantic
html-sanitizer
]
++ lib.optionals stdenv.hostPlatform.isDarwin [ py.pkgs.appdirs ]
++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ octoprint-pisupport ];

View File

@@ -12,18 +12,18 @@
}:
buildNpmPackage (finalAttrs: {
pname = "openlist-frontend";
version = "4.2.9";
version = "4.2.10";
src = fetchFromGitHub {
owner = "OpenListTeam";
repo = "OpenList-Frontend";
tag = "v${finalAttrs.version}";
hash = "sha256-x9FQ5k2YpNGwU3xa6utHz5csHC6PdHKHDUY/uc/RN10=";
hash = "sha256-vR+2vhmJKw8VeG5eLGlu6sIC+XrvgPyEW6M60FlP/Qc=";
};
i18n = fetchzip {
url = "https://github.com/OpenListTeam/OpenList-Frontend/releases/download/v${finalAttrs.version}/i18n.tar.gz";
hash = "sha256-RkIRLA8Zc90lYYnZfWwR+gxBl1jj81OpXVLL5qQJT+c=";
hash = "sha256-ekm55QngHhmOXcZpA0oFDD5CszrIr4Afr7VIiCz8n8Y=";
stripRoot = false;
};
@@ -41,7 +41,7 @@ buildNpmPackage (finalAttrs: {
inherit (finalAttrs) pname version src;
pnpm = openlistPnpm;
fetcherVersion = 4;
hash = "sha256-Hlz82KV41gpFx8BltxD/f4z0we4/KSMAtQdLo+V7WBM=";
hash = "sha256-nT5Zmh4MDnrY2FDiTpcAOcYFovmN4nJ8yQ4FBMmfrc8=";
};
npmConfigHook = pnpmConfigHook;

View File

@@ -12,13 +12,13 @@
buildGoModule (finalAttrs: {
pname = "openlist";
version = "4.2.9";
version = "4.2.10";
src = fetchFromGitHub {
owner = "OpenListTeam";
repo = "OpenList";
tag = "v${finalAttrs.version}";
hash = "sha256-zsbrS5kIKmuZkIrb+GD/34ij6hLoygZq9lfj4xYCuLM=";
hash = "sha256-8eh9bE+W746uTOWKby5dhwxe7PvxUcTsW4i+TU0UzPA=";
# 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;
@@ -34,7 +34,7 @@ buildGoModule (finalAttrs: {
frontend = callPackage ./frontend.nix { };
proxyVendor = true;
vendorHash = "sha256-3Ve8phO3GSnVu9FJWzPbIDBgLi76GsQXUkW5hyQ2Ho8=";
vendorHash = "sha256-mpbNdsTPDRnx1pmPFF9TdsedsEaVqhV3gPzUApwMfuY=";
nativeBuildInputs = [
installShellFiles

View File

@@ -13,6 +13,7 @@
libconfig,
testers,
owntracks-recorder,
nix-update-script,
}:
let
lua = lua5_2_compat;
@@ -20,13 +21,13 @@ in
stdenv.mkDerivation (finalAttrs: {
pname = "owntracks-recorder";
version = "1.0.1";
version = "1.0.7";
src = fetchFromGitHub {
owner = "owntracks";
repo = "recorder";
rev = finalAttrs.version;
hash = "sha256-/nLt8R8s3k6MQhtMXOLUDluuU7eNwZGYh5/km8tXtiE=";
hash = "sha256-kob2hKz8sgMhJbZP7kE7Seo4n2+TAw0a8Pd2c73ptJs=";
};
nativeBuildInputs = [
@@ -44,6 +45,10 @@ stdenv.mkDerivation (finalAttrs: {
(lib.getDev libsodium)
];
# Upstream only links in `libm` when `WITH_LUA = no`, and otherwise expects lua's pkg-config to provide it.
# The lua pkg-config in nixpkgs doesn't provide it, so we have to link it in explictily.
makeFlags = [ "LIBLM=yes" ];
configurePhase = ''
runHook preConfigure
@@ -71,10 +76,14 @@ stdenv.mkDerivation (finalAttrs: {
runHook postInstall
'';
passthru.tests.version = testers.testVersion {
package = owntracks-recorder;
command = "ocat --version";
version = finalAttrs.version;
passthru = {
tests.version = testers.testVersion {
package = owntracks-recorder;
command = "ocat --version";
version = finalAttrs.version;
};
updateScript = nix-update-script { };
};
meta = {

View File

@@ -1,17 +1,17 @@
{
"audio_service": "sha256-BIcWJweiioTVjUjskj8VwoEhO9oWNYRvpScZTvFU/9k=",
"audio_service_mpris": "sha256-g+RP5iCXAyjTLs9xqfFS5Qa+SAMm9alYRuGmoRuEN20=",
"audio_session": "sha256-9k8a7j8TJmxSl44KfXuUTBFgX71jXV4E9HdV+wTyJLg=",
"cached_network_image_ce": "sha256-/E03G8UmQoPCyCT/upWirsQ0ul4KspDIeAPICX1yawA=",
"cached_network_image_platform_interface_ce": "sha256-/E03G8UmQoPCyCT/upWirsQ0ul4KspDIeAPICX1yawA=",
"canvas_danmaku": "sha256-IVIhIzK49yFqIT6MDo4KIzI3fEs8GfwvtiLcHd109ko=",
"canvas_danmaku": "sha256-PMm/gtQc8ZNDgp5mFrVGnF6KF7L6Uio/Qr2sncUkcSc=",
"catcher_2": "sha256-CQ2l8iB+/YCrMtEZhCgsUmCl/C1buAj696PQ7KdIGQo=",
"chat_bottom_container": "sha256-QnNfpuL5AX46Q/XIZP7xtn2sIXKT65IRqOYq36QU524=",
"dlna_dart": "sha256-I1mDwDKCuIG12tgZlml1+NJT0J8oW/NvvUA/4s585LU=",
"chat_bottom_container": "sha256-d2vY20yyuTraHegr4JE9pHo5EvvtkyHxhJZO3PguIo0=",
"extended_nested_scroll_view": "sha256-HZ4NJbkSBhvNet4i8ZtOI1ThBgWx+I17Dd/UbSERZkk=",
"flutter_html": "sha256-+AsTeOCEVWSCHm9o+3igt1xVFNaDFycJsqbF6c59RWY=",
"flutter_inappwebview_android": "sha256-9BD8Lv89jK5JgFuqGo6NmQmCYDZPmDJWMN4rLjr2j2w=",
"flutter_inappwebview_windows": "sha256-9BD8Lv89jK5JgFuqGo6NmQmCYDZPmDJWMN4rLjr2j2w=",
"flutter_smart_dialog": "sha256-9B6YeziiIC1bJlr+1ydz7tyYJFbfYYuDTKw85B+CK9o=",
"flutter_smart_dialog": "sha256-cLCjQofYAIutsvZv5nIsW+SFWX3K5koZJuvlIx3Ilnc=",
"flutter_sortable_wrap": "sha256-bDlCD33ZMDj2OmgvXE/eq3NYGDsiJMg23+YYkPQvBYA=",
"font_awesome_flutter": "sha256-EcrAmglNHxm16gWTi4nYbTfKx0CCprllIyvlvYlz8wY=",
"get": "sha256-FUrFaVizlm8atBMRWCtWiKchyZ60hpLK1jEJzo7I2Cs=",

View File

@@ -19,7 +19,7 @@ let
flutter = flutter347;
srcInfo = lib.importJSON ./src-info.json;
description = "Third-party Bilibili client developed in Flutter";
version = "2.2.0.2";
version = "2.2.1";
in
flutter.buildFlutterApplication {
pname = "piliplus";

View File

@@ -24,11 +24,11 @@
"dependency": "transitive",
"description": {
"name": "android_file_picker",
"sha256": "868183c959e754e915954d8074c20cfa4cfdb4684b35ecc08378437be1a542d8",
"sha256": "e7e02f9bab7e014e5b47e4cef135a8f5c66f5c14fd90986e415e758f6a1762e1",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "2.1.3"
"version": "2.1.6"
},
"ansicolor": {
"dependency": "transitive",
@@ -54,11 +54,11 @@
"dependency": "transitive",
"description": {
"name": "app_links_linux",
"sha256": "9ccb5802085a1e57bb07b6256fd1d61a78c7ec104944d4965e62938b4fefd9cb",
"sha256": "734aa57a2f65d1b35c3643384ccfbe668730157a08479bfa488e10a9da847853",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "1.0.4"
"version": "1.0.5"
},
"app_links_platform_interface": {
"dependency": "transitive",
@@ -84,11 +84,11 @@
"dependency": "direct main",
"description": {
"name": "archive",
"sha256": "de5ac590b8155e4e676088d714bd41ea620449a6adc0f7950c5073874b287ddb",
"sha256": "2fda90592c0afd219c5e285618a98da835cd10df38372666093d25dfe457a2d0",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "4.6.0"
"version": "4.7.1"
},
"args": {
"dependency": "transitive",
@@ -134,12 +134,13 @@
"audio_service_mpris": {
"dependency": "direct main",
"description": {
"name": "audio_service_mpris",
"sha256": "c30403539b027a6331ac5e2031d00046d7a0a5a0df88cd70665ed509cc1e6903",
"url": "https://pub.dev"
"path": ".",
"ref": "piliplus",
"resolved-ref": "9a60ad52c7102c82dc919bfd082f17fd8e7b62d7",
"url": "https://github.com/Tobiichi-Origuchi/audio-service-mpris.git"
},
"source": "hosted",
"version": "1.0.0-beta.2"
"source": "git",
"version": "1.0.0-beta.3"
},
"audio_service_platform_interface": {
"dependency": "transitive",
@@ -299,7 +300,7 @@
"description": {
"path": ".",
"ref": "main",
"resolved-ref": "275046d8647a6a26cba1d0dadb9e28688cb3dbf1",
"resolved-ref": "435063d093bdc0dde70616a2c30552411c9e13e0",
"url": "https://github.com/bggRGjQaUbCoE/canvas_danmaku.git"
},
"source": "git",
@@ -331,11 +332,11 @@
"description": {
"path": "packages/chat_bottom_container",
"ref": "dev",
"resolved-ref": "a39a5b2a0d108c33608fabd054ea97334d21ad6f",
"resolved-ref": "8a04b5fff08ac1267c59eec35d2299dca04fe92b",
"url": "https://github.com/bggRGjQaUbCoE/flutter_chat_packages.git"
},
"source": "git",
"version": "0.5.2"
"version": "0.5.4"
},
"checked_yaml": {
"dependency": "transitive",
@@ -381,21 +382,21 @@
"dependency": "transitive",
"description": {
"name": "cnativeapi",
"sha256": "15c23cf1713a98ceba66d1068e9470621a47e10429c843884ad70ad3600071be",
"sha256": "c43703998995e132b0656d2b8a95ed2bedc6b22ccee2c827bcdc075e0330e319",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "0.5.7"
"version": "0.5.10"
},
"code_assets": {
"dependency": "transitive",
"description": {
"name": "code_assets",
"sha256": "828110d598123b5ea96c00c9f3c72105bf79f8ee36c20a39b26209ade421ec57",
"sha256": "1ef22a0be3af9370bd9481ac76db114db92bfe75d5ca2b2d7bc911764478a4d9",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "2.1.0"
"version": "2.2.0"
},
"collection": {
"dependency": "direct main",
@@ -481,11 +482,11 @@
"dependency": "direct main",
"description": {
"name": "cupertino_ui",
"sha256": "e003b87afde18cb396ec15928c7894063d64af04462c68df9a1404c461316dd2",
"sha256": "369e39a1c5c030a6212589c3da1809920b1c2cfade7b02aade7695bfa4b88c3a",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "1.1.5"
"version": "1.1.6"
},
"dart_style": {
"dependency": "transitive",
@@ -560,13 +561,12 @@
"dlna_dart": {
"dependency": "direct main",
"description": {
"path": ".",
"ref": "master",
"resolved-ref": "fe347512768400a4309dd73269f104ba65668f07",
"url": "https://github.com/suconghou/dlna-dart.git"
"name": "dlna_dart",
"sha256": "9518eb36fa6b24eb1c237baa98c4c6d1a39e5a100b1a9d47651271ea7311413f",
"url": "https://pub.dev"
},
"source": "git",
"version": "0.1.1"
"source": "hosted",
"version": "0.1.2"
},
"dynamic_color": {
"dependency": "direct main",
@@ -663,31 +663,31 @@
"dependency": "direct main",
"description": {
"name": "file_picker",
"sha256": "c64036857780d7125f011d543f89eedcb5df61da473668bace4eee9ab875284d",
"sha256": "079dc46b753abbddb7f77cd87e6ed9ecc62902580707514568321bdf8e050a86",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "13.3.2"
"version": "13.3.3"
},
"file_picker_darwin": {
"dependency": "transitive",
"description": {
"name": "file_picker_darwin",
"sha256": "daeb0219f6279c73eb9c63ae9a566beef04ae13d59b8feba0be2a7f3b258d3d4",
"sha256": "b7d3a6bd26a18c503d29070fc2d7b26fbfe918d08a6bcd984b6e806ff5ad923f",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "2.4.2"
"version": "2.5.1"
},
"file_picker_linux": {
"dependency": "transitive",
"description": {
"name": "file_picker_linux",
"sha256": "eb00de71b123e91d3c61f389a05b8cc90f9cbe7e4c88da30ebe2f0442b281b61",
"sha256": "9215ee8c672508cdd9a325202669f849e1baac883658626b3abed5d7777e6a4b",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "2.0.3"
"version": "2.0.4"
},
"file_picker_platform_interface": {
"dependency": "transitive",
@@ -703,11 +703,11 @@
"dependency": "transitive",
"description": {
"name": "file_picker_web",
"sha256": "a2288008280aabe371aff029466b3405e60838e0a1d714767488c59b926c8b8c",
"sha256": "50749a6da2984fc29609e102ad4d80fd1d07e6895150f8e4922086167d9d45d8",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "4.2.0"
"version": "4.2.1"
},
"file_selector_linux": {
"dependency": "transitive",
@@ -763,11 +763,11 @@
"dependency": "direct main",
"description": {
"name": "fl_chart",
"sha256": "5ed69b8be550c6276c8f0bc25c09704fb061018ed1b1681867ad18fcf477e7b7",
"sha256": "9f11b0b87a6b1843f5ca666ade4a62c08da1a6b7f9efeb91bb2c6f3fa6e31a9a",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "1.3.0"
"version": "1.3.1"
},
"flex_seed_scheme": {
"dependency": "direct main",
@@ -939,11 +939,11 @@
"description": {
"path": ".",
"ref": "main",
"resolved-ref": "5a1be84314e8c53efa3b7324cd8dc535fefe931a",
"resolved-ref": "2991ccd510b2eebfea5f394a289737b184dac74a",
"url": "https://github.com/bggRGjQaUbCoE/flutter_smart_dialog.git"
},
"source": "git",
"version": "5.3.0"
"version": "5.3.1"
},
"flutter_sortable_wrap": {
"dependency": "direct main",
@@ -970,11 +970,11 @@
"dependency": "direct main",
"description": {
"name": "flutter_svg",
"sha256": "100c19dcc4ff60083e95a44a6f44f3a1bb887d353c5d86f6a9b688aa3cb46236",
"sha256": "455a22036f8d1b7c74f53283c8644d6af2f6f7c9ec72c7b06a2ff70fb3954a54",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "2.3.2"
"version": "2.4.0"
},
"flutter_test": {
"dependency": "direct dev",
@@ -1044,11 +1044,11 @@
"dependency": "direct main",
"description": {
"name": "hive_ce",
"sha256": "8b6eea82b06a7e2bb298a6a279139c45838b82491a66f3972bf609d48681392a",
"sha256": "c2692c07b780d5eaec78c4f9317e9bfbb952700ef60bfdbca9e52c496300b967",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "2.22.0"
"version": "2.23.3"
},
"hooks": {
"dependency": "transitive",
@@ -1114,41 +1114,41 @@
"dependency": "transitive",
"description": {
"name": "image",
"sha256": "89ed75b2f8231fe676808c5564f9590d728024ded7ac782a7ed8474f1c95b72a",
"sha256": "19d2aafa92672df0edf30303c1aa82e6c74ef4e7cdc8676198ecbf5693941de0",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "4.12.0"
"version": "4.13.0"
},
"image_cropper": {
"dependency": "direct main",
"description": {
"name": "image_cropper",
"sha256": "95782c9068ff09b95a5ece6a2b5fb31b18d8e544d79ebfa7bdafc08df39b3440",
"sha256": "4fb175bb30130389331a406da82e5c9bd31a866585cbb1e11e6e21a7e24b0ef2",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "12.2.1"
"version": "13.0.0"
},
"image_cropper_for_web": {
"dependency": "transitive",
"description": {
"name": "image_cropper_for_web",
"sha256": "e09749714bc24c4e3b31fbafa2e5b7229b0ff23e8b14d4ba44bd723b77611a0f",
"sha256": "ad4be36317d5aab9fddf4b99e4d316c06bcf75155f76d18cb814522de2b393d4",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "7.0.0"
"version": "8.0.1"
},
"image_cropper_platform_interface": {
"dependency": "transitive",
"description": {
"name": "image_cropper_platform_interface",
"sha256": "886a30ec199362cdcc2fbb053b8e53347fbfb9dbbdaa94f9ff85622609f5e7ff",
"sha256": "4e4d874a7e71321d94fae45cb6ea5562043c828e3c71d4031b902301ff73c5ff",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "8.0.0"
"version": "9.0.0"
},
"image_picker": {
"dependency": "direct main",
@@ -1184,11 +1184,11 @@
"dependency": "transitive",
"description": {
"name": "image_picker_ios",
"sha256": "b8f508306db2bf71141aba2de4ec13456338bf01e13f034bd2594f341a5f8eb2",
"sha256": "f4e5650a81b268af3886bc789216ff6d56bdfa79934f93f1a5a8a303b8f60f77",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "0.8.13+14"
"version": "0.8.13+15"
},
"image_picker_linux": {
"dependency": "transitive",
@@ -1254,21 +1254,21 @@
"dependency": "transitive",
"description": {
"name": "isolate_channel",
"sha256": "a9d3d620695bc984244dafae00b95e4319d6974b2d77f4b9e1eb4f2efe099094",
"sha256": "bd56e1bb2787bed914158c2696943dc7254732bfea2c207aafca6bc930580fd4",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "0.6.1"
"version": "0.6.2"
},
"jni": {
"dependency": "direct main",
"description": {
"name": "jni",
"sha256": "d8df6dab6847855512fe44dd9032b0bbe34dda7bf7597e41d30750879779813f",
"sha256": "2e91e6087291affd10b31b6c872f3e3ac7dc5d93b51b5ba485d930c8f08bde6c",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "1.1.1"
"version": "1.1.2"
},
"jni_flutter": {
"dependency": "transitive",
@@ -1445,11 +1445,11 @@
"dependency": "direct main",
"description": {
"name": "material_ui",
"sha256": "feb289df1e5f9ed9522f9fe3d909432a7f7bc76943f16abad09f80a16cd25196",
"sha256": "474c135fd46b56ff1d35ca982155e8863d28fbc6464d1192acf4ee53a738680e",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "1.9.0"
"version": "1.11.0"
},
"media_kit": {
"dependency": "direct main",
@@ -1583,31 +1583,31 @@
"dependency": "transitive",
"description": {
"name": "native_toolchain_c",
"sha256": "90eaad8059ebc2004a63810a4696ea9acdb02473e47ed3b6b3bafb100ac77e31",
"sha256": "120b6fc66acd8a5ddeaeb1e59b78836bb3ec9919bd9d9dfb1e2401985710c2c0",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "0.19.5"
"version": "0.19.6"
},
"nativeapi": {
"dependency": "direct main",
"description": {
"name": "nativeapi",
"sha256": "c6155e67d3565b6b36947c376b420f84f0939ce893a2d2a0cf6108441df6dd2e",
"sha256": "118045bb549cb6fabad472a3a22a537e7310bbf20097350f5027808b4a5853ce",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "0.5.7"
"version": "0.5.10"
},
"nativeapi_flutter": {
"dependency": "transitive",
"description": {
"name": "nativeapi_flutter",
"sha256": "ddde55e8460e744ae30f51dfdbed4bac2d9f53bcafe71acf595539b5eff87871",
"sha256": "357a405c69212f5157da1bd3be183a53c2b841d0de0eb51f4a3947913712aec4",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "0.5.7"
"version": "0.5.10"
},
"nm": {
"dependency": "direct main",
@@ -1623,11 +1623,11 @@
"dependency": "transitive",
"description": {
"name": "objective_c",
"sha256": "5c80c2ad6e2c0397de5db38c6d653e69616a3397e13aa7633bf39eb668f2041b",
"sha256": "c965d264fd4b0b4dd402dce9d049b70656bf98d3ca108b9bc55d2544ceadbe5e",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "9.6.2"
"version": "9.6.4"
},
"octo_image": {
"dependency": "transitive",
@@ -2014,21 +2014,21 @@
"dependency": "transitive",
"description": {
"name": "shared_preferences_android",
"sha256": "33b38b07d9ac7d16aff0426c61418752fd3e7a8c7dc8be786c875d6ce673b002",
"sha256": "137dedccacb394b8f470d6c9b435ffc3d33faaa6ce2949c4f54a61007d64396d",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "2.5.4"
"version": "2.5.5"
},
"shared_preferences_foundation": {
"dependency": "transitive",
"description": {
"name": "shared_preferences_foundation",
"sha256": "4e396ac6f8751ab7d2d6e27f22f32c8350b07006028d534f5221503382f1fa69",
"sha256": "89435cb71ecb1ad1bf29ef73a381f871a06f433d4182b7e2ba7243b02b2c544b",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "2.6.1"
"version": "2.6.2"
},
"shared_preferences_linux": {
"dependency": "transitive",
@@ -2161,11 +2161,11 @@
"dependency": "direct main",
"description": {
"name": "synchronized",
"sha256": "b3d516dbd3757ff2a458735e4f6cbac9ff261f576f6e87bcb17feabb39e657c5",
"sha256": "a77637ebe1460f3b48cac89a790d2eb634f0a8593cab0d3f340c6db174ba9b94",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "3.5.0"
"version": "3.6.1+1"
},
"term_glyph": {
"dependency": "transitive",
@@ -2191,11 +2191,11 @@
"dependency": "direct main",
"description": {
"name": "tray_manager",
"sha256": "bc433331d714919a8d40b6575c084be78de56dbe2327c11ce995fca4ec51bbff",
"sha256": "30c67f4f27a9b2ad56606b369b75256fd9ef25851b66788597d4df3fbbfa536a",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "0.8.2"
"version": "0.8.3"
},
"typed_data": {
"dependency": "transitive",
@@ -2321,21 +2321,21 @@
"dependency": "transitive",
"description": {
"name": "vector_graphics",
"sha256": "82885f6ac633044e7a4e4d8d745724a67aa0dc50af5d8a81ec29379f63c29035",
"sha256": "06081e4f2d8f17c306aa58989520694b463ad411bc7c7b93e76afa3e41ca17ac",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "1.2.6"
"version": "1.3.1"
},
"vector_graphics_codec": {
"dependency": "transitive",
"description": {
"name": "vector_graphics_codec",
"sha256": "99fd9fbd34d9f9a32efd7b6a6aae14125d8237b10403b422a6a6dfeac2806146",
"sha256": "023f3afd1b08d040406e7ccc324f5173c04762a59e374f29d04cef00a4940742",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "1.1.13"
"version": "1.2.0"
},
"vector_graphics_compiler": {
"dependency": "transitive",
@@ -2442,21 +2442,21 @@
"dependency": "direct main",
"description": {
"name": "webview_all_linux",
"sha256": "323defb2cb47fb895128901fa28bfe90181a24b27dafec39549690489ca7b178",
"sha256": "5ed68a90df7aac70d0ab31e6dce7c2eb1057a3182ab02bca113a134e4d8735f4",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "1.4.10"
"version": "1.5.0"
},
"webview_platform_interface": {
"dependency": "direct main",
"description": {
"name": "webview_platform_interface",
"sha256": "942a83228679c16e8aabb9fff1e3dbc6fdf842517d0f566699f10a567b681b9a",
"sha256": "28ab96929ac123a1afc5d2b23efac6756298b1a21c6d095e08a1976e75246ce9",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "1.4.10"
"version": "1.5.0"
},
"win32": {
"dependency": "direct main",
@@ -2492,11 +2492,11 @@
"dependency": "transitive",
"description": {
"name": "windows_file_picker",
"sha256": "18452aa293de3b6961c6d05b0e71b4be7bb90c67635abdd3aa5c4e75dd875072",
"sha256": "cd1be37ada0abcfaa55bddb7410e8515844e35cd77669c35d9a28a15722299d8",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "2.0.1"
"version": "2.0.2"
},
"xdg_directories": {
"dependency": "transitive",

View File

@@ -1,6 +1,6 @@
{
"rev": "d9e9626f1a3f89cd9ca85e18f61aaba02634e12a",
"revCount": 5598,
"commitDate": 1793691286,
"hash": "sha256-UuJ3kmYqXGZ9HOii1oCvecm12SNwjrnpOzvhnETSihA="
"rev": "217fb54f51f6764176319bbdedab2a7522d75401",
"revCount": 5655,
"commitDate": 1794643483,
"hash": "sha256-IhW0TKDf7Pfr7zD65SEF3eXzKwrkvBLX+7XhWEyiyD8="
}

View File

@@ -89,6 +89,10 @@ in
[ lib.sourceTypes.binaryNativeCode ]
else
[ lib.sourceTypes.binaryBytecode ];
knownVulnerabilities = [
# Fixed in 2026.3.0.1
"CVE-2026-111497; see https://github.com/NixOS/nixpkgs/issues/590447"
];
};
}).overrideAttrs
(attrs: {

View File

@@ -88,7 +88,7 @@ stdenv.mkDerivation (finalAttrs: {
''
+ lib.optionalString withWindowsGuestSupport ''
ln -s "${virtio-win}" $out/share/virtio-win
ln -s "${pkgsCross.mingwW64.rhsrvany}/bin/" $out/share/virt-tools
ln -s "${pkgsCross.mingw-msvcrt-x86_64.rhsrvany}/bin/" $out/share/virt-tools
'';
env.PKG_CONFIG_BASH_COMPLETION_COMPLETIONSDIR = "${placeholder "out"}/share/bash-completion/completions";

View File

@@ -0,0 +1,41 @@
diff --git a/Source/WebCore/platform/gstreamer/WebKitFliteSourceGStreamer.cpp b/Source/WebCore/platform/gstreamer/WebKitFliteSourceGStreamer.cpp
index 0fe35c4888df..e7f10e2b1b9e 100644
--- a/Source/WebCore/platform/gstreamer/WebKitFliteSourceGStreamer.cpp
+++ b/Source/WebCore/platform/gstreamer/WebKitFliteSourceGStreamer.cpp
@@ -62,24 +62,24 @@ static const FliteLibrary* fliteLibrary()
static std::once_flag onceFlag;
std::call_once(onceFlag, [] {
FliteLibrary loaded {
- reinterpret_cast<decltype(&flite_init)>(fliteSymbol("libflite.so.1", "flite_init")),
- reinterpret_cast<decltype(&flite_add_lang)>(fliteSymbol("libflite.so.1", "flite_add_lang")),
- reinterpret_cast<decltype(&flite_text_to_wave)>(fliteSymbol("libflite.so.1", "flite_text_to_wave")),
- reinterpret_cast<decltype(&cst_wave_resample)>(fliteSymbol("libflite.so.1", "cst_wave_resample")),
- reinterpret_cast<decltype(&delete_voice)>(fliteSymbol("libflite.so.1", "delete_voice")),
- reinterpret_cast<decltype(&delete_wave)>(fliteSymbol("libflite.so.1", "delete_wave")),
- reinterpret_cast<void (*)(cst_voice*)>(fliteSymbol("libflite_usenglish.so.1", "usenglish_init")),
- reinterpret_cast<cst_lexicon* (*)()>(fliteSymbol("libflite_cmulex.so.1", "cmulex_init")),
+ reinterpret_cast<decltype(&flite_init)>(fliteSymbol("@fliteLib@/libflite.so.1", "flite_init")),
+ reinterpret_cast<decltype(&flite_add_lang)>(fliteSymbol("@fliteLib@/libflite.so.1", "flite_add_lang")),
+ reinterpret_cast<decltype(&flite_text_to_wave)>(fliteSymbol("@fliteLib@/libflite.so.1", "flite_text_to_wave")),
+ reinterpret_cast<decltype(&cst_wave_resample)>(fliteSymbol("@fliteLib@/libflite.so.1", "cst_wave_resample")),
+ reinterpret_cast<decltype(&delete_voice)>(fliteSymbol("@fliteLib@/libflite.so.1", "delete_voice")),
+ reinterpret_cast<decltype(&delete_wave)>(fliteSymbol("@fliteLib@/libflite.so.1", "delete_wave")),
+ reinterpret_cast<void (*)(cst_voice*)>(fliteSymbol("@fliteLib@/libflite_usenglish.so.1", "usenglish_init")),
+ reinterpret_cast<cst_lexicon* (*)()>(fliteSymbol("@fliteLib@/libflite_cmulex.so.1", "cmulex_init")),
{ }
};
if (!loaded.init || !loaded.addLang || !loaded.textToWave || !loaded.waveResample || !loaded.deleteVoice || !loaded.deleteWave || !loaded.usenglishInit || !loaded.cmulexInit)
return;
static constexpr std::array<std::pair<const char*, const char*>, 4> voices { {
- { "libflite_cmu_us_kal.so.1", "register_cmu_us_kal" },
- { "libflite_cmu_us_slt.so.1", "register_cmu_us_slt" },
- { "libflite_cmu_us_rms.so.1", "register_cmu_us_rms" },
- { "libflite_cmu_us_awb.so.1", "register_cmu_us_awb" },
+ { "@fliteLib@/libflite_cmu_us_kal.so.1", "register_cmu_us_kal" },
+ { "@fliteLib@/libflite_cmu_us_slt.so.1", "register_cmu_us_slt" },
+ { "@fliteLib@/libflite_cmu_us_rms.so.1", "register_cmu_us_rms" },
+ { "@fliteLib@/libflite_cmu_us_awb.so.1", "register_cmu_us_awb" },
} };
for (auto [voiceLibrary, registerFunction] : voices) {
if (auto function = reinterpret_cast<cst_voice* (*)(const char*)>(fliteSymbol(voiceLibrary, registerFunction)))

View File

@@ -86,7 +86,7 @@ in
# https://webkitgtk.org/2024/10/04/webkitgtk-2.46.html recommends building with clang.
clangStdenv.mkDerivation (finalAttrs: {
pname = "webkitgtk";
version = "2.54.2";
version = "2.54.3";
name = "webkitgtk-${finalAttrs.version}+abi=${abiVersion}";
outputs = [
@@ -101,7 +101,7 @@ clangStdenv.mkDerivation (finalAttrs: {
src = fetchurl {
url = "https://webkitgtk.org/releases/webkitgtk-${finalAttrs.version}.tar.xz";
hash = "sha256-p2NFs5G+9iEftats+rLoayhdGM2hfLua3llfElK4YGU=";
hash = "sha256-J3nBtG+Idi6EAGUCcboURS3E4ws3BZmBVS2LVit9CGI=";
};
patches = lib.optionals clangStdenv.hostPlatform.isLinux [
@@ -110,6 +110,12 @@ clangStdenv.mkDerivation (finalAttrs: {
inherit (addDriverRunpath) driverLink;
})
# WebKit uses `dlopen` instead of linking against flite
# See: https://commits.webkit.org/324648@main
(replaceVars ./fix-flite-dlopen-paths.patch {
fliteLib = "${lib.getLib flite}/lib";
})
# Workaround to fix cross-compilation for RiscV
# error: ‘toB3Type’ was not declared in this scope
# See: https://bugs.webkit.org/show_bug.cgi?id=271371

View File

@@ -33,14 +33,14 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "wezterm";
version = "0-unstable-2026-11-08";
version = "0-unstable-2026-11-20";
src = fetchFromGitHub {
owner = "wezterm";
repo = "wezterm";
rev = "458a100c1bf4134d36cb5c42dd90e4c8266d9e1a";
rev = "ee6f3044d09f83f21a32aead8dac2bc2a32e7fcb";
fetchSubmodules = true;
hash = "sha256-mi+KIahT+w8itvt0Q6uY2Oc0dHAfYio/WV1cJMXSAoE=";
hash = "sha256-Yk+GadCT6XbnZtl5YbvPec08oDo9Vf5PbZ/mr8xzpxI=";
};
postPatch = ''
@@ -63,7 +63,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
# https://github.com/wezterm/wezterm/blob/main/nix/flake.nix#L134
auditable = false;
cargoHash = "sha256-GiHuJkkcPKoQpzVKDlbI2eZVj+5Fns/CHKxRtBw39WU=";
cargoHash = "sha256-mzP4cd8ufA9Q7/nYN0ptmqoSmgi4BypWlfHx8KxOCNI=";
nativeBuildInputs = [
installShellFiles

View File

@@ -6,13 +6,13 @@
buildGoModule rec {
pname = "wiki-go";
version = "1.9.3";
version = "1.9.6";
src = fetchFromGitHub {
owner = "leomoon-studios";
repo = "wiki-go";
tag = "v${version}";
hash = "sha256-R2z5+A1vY0N6RsFapUWj7kJwHYEuJuzX1dVZPaYIbks=";
hash = "sha256-xi29T2fVctxj+QZ47MtW9JEEObIFrGD+vrJnd2CS4W4=";
};
vendorHash = null;

View File

@@ -47,7 +47,7 @@ buildNpmPackage (finalAttrs: {
npmDepsHash = "sha256-38hDI0z3lrdSvMTUZAotIuT7Kt/NZcl8UdrYpum1i1M=";
makeCacheWritable = true;
guest-server = pkgsCross.mingwW64.callPackage ./guest-server.nix {
guest-server = pkgsCross.mingw-msvcrt-x86_64.callPackage ./guest-server.nix {
winboat = finalAttrs.finalPackage;
};
passthru = {

View File

@@ -79,7 +79,7 @@ stdenv.mkDerivation (finalAttrs: {
EOF
''
# There is broken and complicated logic when setting X265_LATEST_TAG for
# mingwW64 builds. This bypasses the logic by setting it at the end of the
# mingw-msvcrt-x86_64 builds. This bypasses the logic by setting it at the end of the
# file
+ lib.optionalString stdenv.hostPlatform.isMinGW ''
echo 'set(X265_LATEST_TAG "${finalAttrs.version}")' >> ./cmake/Version.cmake

View File

@@ -19,16 +19,16 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "zeroclaw";
version = "0.8.4";
version = "0.8.7";
src = fetchFromGitHub {
owner = "zeroclaw-labs";
repo = "zeroclaw";
tag = "v${finalAttrs.version}";
hash = "sha256-6WAF826aftGuZjSHM/upWYmmVVjMS+vS+Kg4NetvjJc=";
hash = "sha256-ntONOqywlcJXLO4/v+212xUn637ipnw7Fi1ejfpstNo=";
};
cargoHash = "sha256-Pycl0MMyxWtfcssoFhvDT4UQJuVVBDNzN536eBFlND4=";
cargoHash = "sha256-FY77N8KhBmfm9IwNvpb6G49gj4f8lqGKlb91i6CfeqA=";
# zerocode is a separate workspace member and expects the daemon beside it.
cargoBuildFlags = [
@@ -46,7 +46,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
npmDeps = fetchNpmDeps {
inherit (finalAttrs) src;
sourceRoot = "${finalAttrs.src.name}/web";
hash = "sha256-0CsPPy5a/jTr8nImwvTwStTgHm9wZbFBwCZVHKPZCvE=";
hash = "sha256-xwp8rzQeZf51W4c/F//HlpYHi18Z61TeGuKD3DjUltk=";
};
npmRoot = "web";

View File

@@ -100,9 +100,12 @@ stdenv.mkDerivation (finalAttrs: {
libxmlb
libfyaml
curl
bash-completion
]
# only used by appstream-compose
++ lib.optionals stdenv.hostPlatform.isLinux [
cairo
pango
bash-completion
vips
wayland
]
@@ -112,7 +115,8 @@ stdenv.mkDerivation (finalAttrs: {
mesonFlags = [
(lib.mesonBool "apidocs" false)
(lib.mesonBool "compose" true)
# uses Linux-specific APIs
(lib.mesonBool "compose" stdenv.hostPlatform.isLinux)
(lib.mesonBool "docs" false)
(lib.mesonBool "gir" withIntrospection)
(lib.mesonBool "systemd" withSystemd)
@@ -141,5 +145,6 @@ stdenv.mkDerivation (finalAttrs: {
mainProgram = "appstreamcli";
platforms = lib.platforms.unix;
pkgConfigModules = [ "appstream" ];
maintainers = with lib.maintainers; [ eclairevoyant ];
};
})

View File

@@ -44,6 +44,14 @@ let
hash = "sha256-DcPZl6rOuP6aycK+1EHUgPX4YWDAH+ctAZtOI48QO2Q=";
excludes = [ "test/catalogs/test.sh" ];
})
(fetchpatch {
name = "CVE-2026-76781.patch";
url = "https://gitlab.gnome.org/GNOME/libxml2/-/commit/c63248941708bc1d2e3a4292954593312212f6ca.patch";
hash = "sha256-Xz6quAmfKi0tsr3FLpF6w7S1aJUzKhPJ4EW7ig2aL8g=";
# other files are only test related and don't apply cleanly
includes = [ "catalog.c" ];
})
];
freezeUpdateScript = true;
extraMeta = {

View File

@@ -1,46 +0,0 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
poetry-core,
more-itertools,
pytestCheckHook,
}:
buildPythonPackage {
pname = "class-doc";
version = "0.2.6";
pyproject = true;
src = fetchFromGitHub {
owner = "danields761";
repo = "class-doc";
rev = "9b122d85ce667d096ebee75a49350bbdbd48686d"; # no 0.2.6 version tag
hash = "sha256-4Sn/TuBvBpl1nvJBg327+sVrjGavkYKEYP32DwLWako=";
};
patches = [
# https://github.com/danields761/class-doc/pull/2
(fetchpatch {
name = "poetry-to-poetry-core.patch";
url = "https://github.com/danields761/class-doc/commit/03b224ad0a6190c30e4932fa2ccd4a7f0c5c4b5d.patch";
hash = "sha256-shWPRaZkvtJ1Ae17aCOm6eLs905jxwq84SWOrChEs7M=";
})
];
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ more-itertools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "class_doc" ];
meta = {
description = "Extract attributes docstrings defined in various ways";
homepage = "https://github.com/danields761/class-doc";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ gador ];
};
}

View File

@@ -6,13 +6,24 @@
let
testedSystems = lib.filterAttrs (
name: value:
let
platform = lib.systems.elaborate value;
in
platform.isLinux || platform.isWindows
) lib.systems.examples;
# TODO(27.05): remove the remove attrs once aliases are deprecated
testedSystems =
lib.filterAttrs
(
name: value:
let
platform = lib.systems.elaborate value;
in
platform.isLinux || platform.isWindows
)
(
lib.removeAttrs (lib.systems.examples) [
"mingw32"
"mingwW64"
"ucrt64"
"ucrtAarch64"
]
);
getExecutable =
pkgs: pkgFun: exec:
@@ -198,7 +209,7 @@ let
pkgs.pkgsCross.s390.stdenv
pkgs.pkgsCross.mips64el-linux-gnuabi64.stdenv
pkgs.pkgsCross.mips64el-linux-gnuabin32.stdenv
pkgs.pkgsCross.mingwW64.stdenv
pkgs.pkgsCross.mingw-msvcrt-x86_64.stdenv
# Uses the expression that is used by the most cross-compiled GHCs
pkgs.pkgsCross.riscv64.haskell.compiler.native-bignum.ghc948

View File

@@ -174,6 +174,7 @@ mapAliases {
chromeprint = throw "'chromaprint' was removed as it depended on m2r which was removed."; # Added 2026-05-27
cirq-rigetti = throw "cirq-rigetti was removed because it is no longer provided by upstream"; # added 2025-09-13
claripy = throw "'claripy' has been merged into 'angr'"; # Added 2026-09-27
class-doc = throw "'class-doc' has been removed as its no longer used and no longer updated '"; # Added 2026-11-18
class-registry = throw "'class-registry' has been renamed to/replaced by 'phx-class-registry'"; # Converted to throw 2025-10-29
cmd2_4 = cmd2; # added 2026-11-14
ColanderAlchemy = throw "'ColanderAlchemy' has been renamed to/replaced by 'colanderalchemy'"; # Converted to throw 2025-10-29

View File

@@ -3226,8 +3226,6 @@ self: super: with self; {
clarifai-protocol = callPackage ../development/python-modules/clarifai-protocol { };
class-doc = callPackage ../development/python-modules/class-doc { };
classify-imports = callPackage ../development/python-modules/classify-imports { };
claude-agent-sdk = callPackage ../development/python-modules/claude-agent-sdk { };

View File

@@ -455,8 +455,8 @@ let
};
};
ucrt64.haskell.packages.ghc912 = {
inherit (packagePlatforms pkgs.pkgsCross.ucrt64.haskell.packages.ghc912)
mingw-ucrt-x86_64.haskell.packages.ghc912 = {
inherit (packagePlatforms pkgs.pkgsCross.mingw-ucrt-x86_64.haskell.packages.ghc912)
ghc
# hello # executables don't build yet
microlens