Merge staging-next-26.05 into staging-26.05

This commit is contained in:
nixpkgs-ci[bot] 2026-05-29 00:51:59 +00:00 committed by GitHub
commit 428deeec6c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
84 changed files with 1912 additions and 2293 deletions

View file

@ -899,6 +899,9 @@
"var-go-buildTestBinaries": [
"index.html#var-go-buildTestBinaries"
],
"var-meta-donationPage": [
"index.html#var-meta-donationPage"
],
"var-meta-identifiers-cpe": [
"index.html#var-meta-identifiers-cpe"
],

View file

@ -61,6 +61,12 @@ Release branch. Used to specify that a package is not going to receive updates t
The packages homepage. Example: `https://www.gnu.org/software/hello/manual/`
### `donationPage` {#var-meta-donationPage}
The package or project's donation page, if it exists. Example: `https://neovim.io/sponsors/`
Authoritative project URLs are preferred.
### `downloadPage` {#var-meta-downloadPage}
The page where a link to the current version can be found. Example: `https://ftp.gnu.org/gnu/hello/`

View file

@ -18248,6 +18248,12 @@
githubId = 16974598;
name = "Mike Playle";
};
mkannwischer = {
email = "matthias@kannwischer.eu";
github = "mkannwischer";
githubId = 3984960;
name = "Matthias Kannwischer";
};
mkez = {
email = "matias+nix@zwinger.fi";
github = "mk3z";
@ -19238,6 +19244,12 @@
name = "Naufal Fikri";
keys = [ { fingerprint = "1575 D651 E31EC 6117A CF0AA C1A3B 8BBC A515 8835"; } ];
};
naurissteins = {
name = "Nauris Steins";
email = "me@naurissteins.com";
github = "naurissteins";
githubId = 5653746;
};
naxdy = {
name = "Naxdy";
email = "naxdy@naxdy.org";

View file

@ -289,7 +289,6 @@
"node24"
]);
default = [
"node20"
"node24"
];
description = ''

View file

@ -207,6 +207,10 @@ in
AmbientCapabilities = "cap_net_bind_service";
};
};
services.fastnetmon-advanced.hostgroups = {
global = { };
};
})
(lib.mkIf (cfg.enable && cfg.enableAdvancedTrafficPersistence) {

View file

@ -380,6 +380,8 @@ in
MACHINE_LEARNING_WORKERS = "1";
MACHINE_LEARNING_WORKER_TIMEOUT = "120";
MACHINE_LEARNING_CACHE_FOLDER = "/var/cache/immich";
# TODO: drop when insightface no longer unconditionally imports matplotlib
MPLCONFIGDIR = "/var/cache/immich";
XDG_CACHE_HOME = "/var/cache/immich";
IMMICH_HOST = "localhost";
IMMICH_PORT = "3003";

View file

@ -62,7 +62,7 @@
bird.wait_for_unit("bird.service")
fnm.wait_until_succeeds('journalctl -eu fastnetmon.service | grep "BGP daemon restarted correctly"')
fnm.wait_until_succeeds("journalctl -eu gobgp.service | grep BGP_FSM_OPENCONFIRM")
fnm.wait_until_succeeds('journalctl -eu gobgp.service | grep "Peer Up"')
bird.wait_until_succeeds("birdc show protocol fnm | grep Estab")
fnm.wait_until_succeeds('journalctl -eu fastnetmon.service | grep "API server listening"')
fnm.succeed("fcli set blackhole 172.23.42.123")

View file

@ -1,10 +1,10 @@
{
"chromium": {
"version": "148.0.7778.178",
"version": "148.0.7778.215",
"chromedriver": {
"version": "148.0.7778.179",
"hash_darwin": "sha256-jDw+ON0X8rePW1HLBZ5FVKMibImBuW/Tp0EDZ/UjJlw=",
"hash_darwin_aarch64": "sha256-hNaaKMVy8sKNU444Uf78YI3ayUATrTBAr6/7Z3jewv0="
"version": "148.0.7778.216",
"hash_darwin": "sha256-gsK7Q3rwfQQ0iE5e/st/3gGtU+D8dGsTycffpEejmhw=",
"hash_darwin_aarch64": "sha256-zHASbRPnYf2q1qq8FsKnYrLwPjzoGk0tzLxB9SdTXFw="
},
"deps": {
"depot_tools": {
@ -21,8 +21,8 @@
"DEPS": {
"src": {
"url": "https://chromium.googlesource.com/chromium/src.git",
"rev": "d096af1c9e98c45c3596e59620622b1a049bfecb",
"hash": "sha256-XRalekzeALnDh9KiGqhYdhXvkGkjO3TOIZeqwpPLO+U=",
"rev": "7c855c70efe3f6ade6663c1520913fa7f63a0b2b",
"hash": "sha256-uDVYgSjxQ+xw8DHVd5UNkqnUrJ6P5ZWxL2tZToBhgQg=",
"recompress": true
},
"src/third_party/clang-format/script": {
@ -92,8 +92,8 @@
},
"src/third_party/angle": {
"url": "https://chromium.googlesource.com/angle/angle.git",
"rev": "50fd896fb21cca91f325812d01d1e971593efc73",
"hash": "sha256-HcfKm7UQmg3wMDOytmaYzm7Z7gRdOrRoqAKaE0ZdI4E="
"rev": "a101e2d1db6da927325273566fe8f5404fa3a9bd",
"hash": "sha256-uIqodvHxEY9xNse2IHNns2Mz9zLAUZSSIN7pAXB8cPs="
},
"src/third_party/angle/third_party/glmark2/src": {
"url": "https://chromium.googlesource.com/external/github.com/glmark2/glmark2",
@ -132,8 +132,8 @@
},
"src/third_party/dawn": {
"url": "https://dawn.googlesource.com/dawn.git",
"rev": "19696dd088b8ed5804e2f02a8f83f5afdb3e99e3",
"hash": "sha256-ihnVPCk9412UzCmoABWVUhiGaIdIYxiYMkk43KDqpg8="
"rev": "78a9030d63048d832c4b822839bffe38ad4f20e5",
"hash": "sha256-ZknkLN64TYAN5j9WsgtKlRBrAc3iCM084zpc8Zui8Ts="
},
"src/third_party/dawn/third_party/glfw3/src": {
"url": "https://chromium.googlesource.com/external/github.com/glfw/glfw",
@ -267,8 +267,8 @@
},
"src/third_party/devtools-frontend/src": {
"url": "https://chromium.googlesource.com/devtools/devtools-frontend",
"rev": "6efd6eb1d85fd67fdcc2385c54fa56c524bec3f7",
"hash": "sha256-1pr3+RK519m+wtcacJB3PcDTL+qSHlOn1ctxpoLzTf8="
"rev": "1fb83ff123c44ab59a480056c8c1ba3d33c2caf0",
"hash": "sha256-S6agM7HMZ2g2W6e9tYdLSXr0Lc6zeQF9hAYLIeImAYQ="
},
"src/third_party/dom_distiller_js/dist": {
"url": "https://chromium.googlesource.com/chromium/dom-distiller/dist.git",
@ -332,8 +332,8 @@
},
"src/third_party/freetype/src": {
"url": "https://chromium.googlesource.com/chromium/src/third_party/freetype2.git",
"rev": "99b479dc34728936b006679a31e12b8cf432fc55",
"hash": "sha256-H5RzBFYWIp/QYKyeBM2wfuX7FvXHPbhCAp7qne5Zvhw="
"rev": "6d9fc45fc4bca8aef0b8f65592520673638c3334",
"hash": "sha256-A21ONLz8HxoBkOL/jHfs5YwePmOnFyNdlNYSJa9wers="
},
"src/third_party/fxdiv/src": {
"url": "https://chromium.googlesource.com/external/github.com/Maratyszcza/FXdiv.git",
@ -342,8 +342,8 @@
},
"src/third_party/harfbuzz/src": {
"url": "https://chromium.googlesource.com/external/github.com/harfbuzz/harfbuzz.git",
"rev": "f027b8e9039f73bf803eae684fee2eb2d30e4180",
"hash": "sha256-HWb3QbPl+RE2oI/Jwv5BjKwv9UnJ8VcJvk+uGy9cAqM="
"rev": "67bb413f586f36ba44d740319cb7a28b3d283ea6",
"hash": "sha256-WCPEkbiiU8dENM+ik0KokW9Uxmz0xlsRFVVPPOEOZXw="
},
"src/third_party/ink/src": {
"url": "https://chromium.googlesource.com/external/github.com/google/ink.git",
@ -432,8 +432,8 @@
},
"src/third_party/libaom/source/libaom": {
"url": "https://aomedia.googlesource.com/aom.git",
"rev": "b63f30b6d30028a3d7d9c5223def8f3ad97dcc4c",
"hash": "sha256-LaBEcVcSB8WB9ZNRgPSiGaKdQL5f3wll2sPb9OhN5SE="
"rev": "343cee0a952f8c7d329e59ff3ac2c8bdbe70ec6a",
"hash": "sha256-H8Eu3BiUIiZcyReGDyFq9UvjdMJOX00ERjru8+I0zL8="
},
"src/third_party/crabbyavif/src": {
"url": "https://chromium.googlesource.com/external/github.com/webmproject/CrabbyAvif.git",
@ -612,8 +612,8 @@
},
"src/third_party/pdfium": {
"url": "https://pdfium.googlesource.com/pdfium.git",
"rev": "a78c62d93a8f514ea2cd98a70bd1d21226be9d93",
"hash": "sha256-qd3Oa/JFzoI5hKDY2/OQAzdr2z9srUj0H6oKz0R516U="
"rev": "72ea487e4399c44c3a53a48b104f9612ca772008",
"hash": "sha256-0VgmDPyF5k81nBXdo88CcIIbz6XRhaiADnG8gwDGZZk="
},
"src/third_party/perfetto": {
"url": "https://chromium.googlesource.com/external/github.com/google/perfetto.git",
@ -662,8 +662,8 @@
},
"src/third_party/skia": {
"url": "https://skia.googlesource.com/skia.git",
"rev": "a2888b27a98e4ff30085d4d2dba8a1a99baf6dfb",
"hash": "sha256-eOjFuMmXr9YtZ0e4yDB8JMjTrNWEg5OlTkAMGuHZIWE="
"rev": "03c3234e64f9fbbbcf6a7b9c79e94059df49dbfe",
"hash": "sha256-e0MSCbqv4u4995nowzipKorkn6mPpO7tf8+ygj3/nFY="
},
"src/third_party/smhasher/src": {
"url": "https://chromium.googlesource.com/external/smhasher.git",
@ -797,8 +797,8 @@
},
"src/third_party/webrtc": {
"url": "https://webrtc.googlesource.com/src.git",
"rev": "9a7f650bcd14f241d20f88f4e1ea3b7300de72ac",
"hash": "sha256-k5cHE4XURJQrPURmXk4MMNV5k8+ryKfjmsVTzARRro4="
"rev": "e3ee86921c57b9f8921045e77f098604803cb66c",
"hash": "sha256-n39HENOXmatsZLF6jdYRsb+wl2cM0i6ngT4Zbyu5ayE="
},
"src/third_party/wuffs/src": {
"url": "https://skia.googlesource.com/external/github.com/google/wuffs-mirror-release-c.git",
@ -822,13 +822,13 @@
},
"src/v8": {
"url": "https://chromium.googlesource.com/v8/v8.git",
"rev": "ad6e4525c418a92147c8247ef9d144ce4c242a38",
"hash": "sha256-+cQdsWTgIohd3yOCsNCprSr4Ctes77fWGdmPxN2tQlM="
"rev": "5e24a1fd6ffb840b93ee90a800897fcb4d60eeab",
"hash": "sha256-JcBGaXhqNRIA4NPPV4eANVM93wsQ9QxSLO/Ecz3wklU="
}
}
},
"ungoogled-chromium": {
"version": "148.0.7778.178",
"version": "148.0.7778.215",
"deps": {
"depot_tools": {
"rev": "41c40cfaec7ee3bf0423c59925d8b23982a601f1",
@ -840,16 +840,16 @@
"hash": "sha256-BTPD8WM1pVAMkFDlHekMdWFGyf63KdhKkKwsqikqoBQ="
},
"ungoogled-patches": {
"rev": "148.0.7778.178-1",
"hash": "sha256-s4zTU4rQUcrfpg7CWFdvEn3JYNqhHGsAFcYmQGS64fc="
"rev": "148.0.7778.215-1",
"hash": "sha256-Rp+PuyOQ26Cqiu+8sNlJkjp/3bO968NYNX1AgHOyYOA="
},
"npmHash": "sha256-JuVcY8iFRDWcPcP4Pg+qm5rnTXkiVfNsqSkXbDWqsE8="
},
"DEPS": {
"src": {
"url": "https://chromium.googlesource.com/chromium/src.git",
"rev": "d096af1c9e98c45c3596e59620622b1a049bfecb",
"hash": "sha256-XRalekzeALnDh9KiGqhYdhXvkGkjO3TOIZeqwpPLO+U=",
"rev": "7c855c70efe3f6ade6663c1520913fa7f63a0b2b",
"hash": "sha256-uDVYgSjxQ+xw8DHVd5UNkqnUrJ6P5ZWxL2tZToBhgQg=",
"recompress": true
},
"src/third_party/clang-format/script": {
@ -919,8 +919,8 @@
},
"src/third_party/angle": {
"url": "https://chromium.googlesource.com/angle/angle.git",
"rev": "50fd896fb21cca91f325812d01d1e971593efc73",
"hash": "sha256-HcfKm7UQmg3wMDOytmaYzm7Z7gRdOrRoqAKaE0ZdI4E="
"rev": "a101e2d1db6da927325273566fe8f5404fa3a9bd",
"hash": "sha256-uIqodvHxEY9xNse2IHNns2Mz9zLAUZSSIN7pAXB8cPs="
},
"src/third_party/angle/third_party/glmark2/src": {
"url": "https://chromium.googlesource.com/external/github.com/glmark2/glmark2",
@ -959,8 +959,8 @@
},
"src/third_party/dawn": {
"url": "https://dawn.googlesource.com/dawn.git",
"rev": "19696dd088b8ed5804e2f02a8f83f5afdb3e99e3",
"hash": "sha256-ihnVPCk9412UzCmoABWVUhiGaIdIYxiYMkk43KDqpg8="
"rev": "78a9030d63048d832c4b822839bffe38ad4f20e5",
"hash": "sha256-ZknkLN64TYAN5j9WsgtKlRBrAc3iCM084zpc8Zui8Ts="
},
"src/third_party/dawn/third_party/glfw3/src": {
"url": "https://chromium.googlesource.com/external/github.com/glfw/glfw",
@ -1094,8 +1094,8 @@
},
"src/third_party/devtools-frontend/src": {
"url": "https://chromium.googlesource.com/devtools/devtools-frontend",
"rev": "6efd6eb1d85fd67fdcc2385c54fa56c524bec3f7",
"hash": "sha256-1pr3+RK519m+wtcacJB3PcDTL+qSHlOn1ctxpoLzTf8="
"rev": "1fb83ff123c44ab59a480056c8c1ba3d33c2caf0",
"hash": "sha256-S6agM7HMZ2g2W6e9tYdLSXr0Lc6zeQF9hAYLIeImAYQ="
},
"src/third_party/dom_distiller_js/dist": {
"url": "https://chromium.googlesource.com/chromium/dom-distiller/dist.git",
@ -1159,8 +1159,8 @@
},
"src/third_party/freetype/src": {
"url": "https://chromium.googlesource.com/chromium/src/third_party/freetype2.git",
"rev": "99b479dc34728936b006679a31e12b8cf432fc55",
"hash": "sha256-H5RzBFYWIp/QYKyeBM2wfuX7FvXHPbhCAp7qne5Zvhw="
"rev": "6d9fc45fc4bca8aef0b8f65592520673638c3334",
"hash": "sha256-A21ONLz8HxoBkOL/jHfs5YwePmOnFyNdlNYSJa9wers="
},
"src/third_party/fxdiv/src": {
"url": "https://chromium.googlesource.com/external/github.com/Maratyszcza/FXdiv.git",
@ -1169,8 +1169,8 @@
},
"src/third_party/harfbuzz/src": {
"url": "https://chromium.googlesource.com/external/github.com/harfbuzz/harfbuzz.git",
"rev": "f027b8e9039f73bf803eae684fee2eb2d30e4180",
"hash": "sha256-HWb3QbPl+RE2oI/Jwv5BjKwv9UnJ8VcJvk+uGy9cAqM="
"rev": "67bb413f586f36ba44d740319cb7a28b3d283ea6",
"hash": "sha256-WCPEkbiiU8dENM+ik0KokW9Uxmz0xlsRFVVPPOEOZXw="
},
"src/third_party/ink/src": {
"url": "https://chromium.googlesource.com/external/github.com/google/ink.git",
@ -1259,8 +1259,8 @@
},
"src/third_party/libaom/source/libaom": {
"url": "https://aomedia.googlesource.com/aom.git",
"rev": "b63f30b6d30028a3d7d9c5223def8f3ad97dcc4c",
"hash": "sha256-LaBEcVcSB8WB9ZNRgPSiGaKdQL5f3wll2sPb9OhN5SE="
"rev": "343cee0a952f8c7d329e59ff3ac2c8bdbe70ec6a",
"hash": "sha256-H8Eu3BiUIiZcyReGDyFq9UvjdMJOX00ERjru8+I0zL8="
},
"src/third_party/crabbyavif/src": {
"url": "https://chromium.googlesource.com/external/github.com/webmproject/CrabbyAvif.git",
@ -1439,8 +1439,8 @@
},
"src/third_party/pdfium": {
"url": "https://pdfium.googlesource.com/pdfium.git",
"rev": "a78c62d93a8f514ea2cd98a70bd1d21226be9d93",
"hash": "sha256-qd3Oa/JFzoI5hKDY2/OQAzdr2z9srUj0H6oKz0R516U="
"rev": "72ea487e4399c44c3a53a48b104f9612ca772008",
"hash": "sha256-0VgmDPyF5k81nBXdo88CcIIbz6XRhaiADnG8gwDGZZk="
},
"src/third_party/perfetto": {
"url": "https://chromium.googlesource.com/external/github.com/google/perfetto.git",
@ -1489,8 +1489,8 @@
},
"src/third_party/skia": {
"url": "https://skia.googlesource.com/skia.git",
"rev": "a2888b27a98e4ff30085d4d2dba8a1a99baf6dfb",
"hash": "sha256-eOjFuMmXr9YtZ0e4yDB8JMjTrNWEg5OlTkAMGuHZIWE="
"rev": "03c3234e64f9fbbbcf6a7b9c79e94059df49dbfe",
"hash": "sha256-e0MSCbqv4u4995nowzipKorkn6mPpO7tf8+ygj3/nFY="
},
"src/third_party/smhasher/src": {
"url": "https://chromium.googlesource.com/external/smhasher.git",
@ -1624,8 +1624,8 @@
},
"src/third_party/webrtc": {
"url": "https://webrtc.googlesource.com/src.git",
"rev": "9a7f650bcd14f241d20f88f4e1ea3b7300de72ac",
"hash": "sha256-k5cHE4XURJQrPURmXk4MMNV5k8+ryKfjmsVTzARRro4="
"rev": "e3ee86921c57b9f8921045e77f098604803cb66c",
"hash": "sha256-n39HENOXmatsZLF6jdYRsb+wl2cM0i6ngT4Zbyu5ayE="
},
"src/third_party/wuffs/src": {
"url": "https://skia.googlesource.com/external/github.com/google/wuffs-mirror-release-c.git",
@ -1649,8 +1649,8 @@
},
"src/v8": {
"url": "https://chromium.googlesource.com/v8/v8.git",
"rev": "ad6e4525c418a92147c8247ef9d144ce4c242a38",
"hash": "sha256-+cQdsWTgIohd3yOCsNCprSr4Ctes77fWGdmPxN2tQlM="
"rev": "5e24a1fd6ffb840b93ee90a800897fcb4d60eeab",
"hash": "sha256-JcBGaXhqNRIA4NPPV4eANVM93wsQ9QxSLO/Ecz3wklU="
}
}
}

View file

@ -32,11 +32,14 @@ let
# FIXME: let's hope that upstream will fix this soon and we can drop this hack again.
# https://bugzilla.mozilla.org/show_bug.cgi?id=2040877
extraPostPatch =
lib.optionalString (lib.versionAtLeast version "151" && lib.versionOlder version "152")
''
echo https://hg.mozilla.org/releases/comm-release/rev/becfb8fb2c70f1603882a2787e2170d5d8013949 >> sourcestamp.txt
echo https://hg.mozilla.org/releases/mozilla-release/rev/fc12dc911f904307729760a817deb829cbf8feb4 >> sourcestamp.txt
'';
lib.optionalString (lib.versionAtLeast version "151" && lib.versionOlder version "152") ''
echo https://hg.mozilla.org/releases/comm-release/rev/becfb8fb2c70f1603882a2787e2170d5d8013949 >> sourcestamp.txt
echo https://hg.mozilla.org/releases/mozilla-release/rev/fc12dc911f904307729760a817deb829cbf8feb4 >> sourcestamp.txt
''
# https://bugzilla.mozilla.org/show_bug.cgi?id=2006630
+ lib.optionalString (lib.versionAtLeast version "140.8" && lib.versionOlder version "151") ''
find . -name .cargo-checksum.json | xargs sed 's/"[^"]*\.gitmodules":"[a-z0-9]*",//g' -i
'';
meta = {
changelog = "https://www.thunderbird.net/en-US/thunderbird/${version}/releasenotes/";
@ -88,8 +91,8 @@ rec {
thunderbird-140 = common {
applicationName = "Thunderbird ESR";
version = "140.7.2esr";
sha512 = "513bcaa496f987d0f3906aeb6fe3ea651331470646b0c58479c91bb2c8eb52e389bc8aa646437a03b611ab78bda1df7252545960ffe38086d1fc462e65421819";
version = "140.11.1esr";
sha512 = "93dfdd26e6f4c7dd2f7dcc2e4994980d017868341c60c93775721467abd9192b815f2de63928e7d10c965fc045ed72ca5b49ed6502a61e50104ee5cd00941d1e";
updateScript = callPackage ./update.nix {
attrPath = "thunderbirdPackages.thunderbird-140";

View file

@ -14,6 +14,7 @@
qtsvg,
xdg-utils,
replaceVars,
nodejs_22,
buildNpmPackage,
}:
@ -234,6 +235,7 @@ rec {
src = "${sources}/aw-server-rust/aw-webui";
nodejs = nodejs_22;
npmDepsHash = "sha256-fPk7UpKuO3nEN1w+cf9DIZIG1+XRUk6PJfVmtpC30XE=";
makeCacheWritable = true;

View file

@ -400,7 +400,7 @@ in
# https://github.com/moby/moby/tree/${mobyRev}/Dockerfile
docker_25 =
let
version = "25.0.13";
version = "25.0.16";
in
callPackage dockerGen {
inherit version;
@ -409,7 +409,7 @@ in
cliRev = "43987fca488a535d810c429f75743d8c7b63bf4f";
cliHash = "sha256-OwufdfuUPbPtgqfPeiKrQVkOOacU2g4ommHb770gV40=";
mobyRev = "v${version}";
mobyHash = "sha256-X+1QG/toJt+VNLktR5vun8sG3PRoTVBAcekFXxocJdU=";
mobyHash = "sha256-St5yLoxo8QUTu7PjNcblS/EzZm98T189RPl1y+pAyHA=";
runcRev = "v1.2.5";
runcHash = "sha256-J/QmOZxYnMPpzm87HhPTkYdt+fN+yeSUu2sv6aUeTY4=";
containerdRev = "v1.7.27";
@ -420,14 +420,14 @@ in
docker_29 =
let
version = "29.5.1";
version = "29.5.2";
in
callPackage dockerGen {
inherit version;
cliRev = "v${version}";
cliHash = "sha256-oobGr0UaeJL800hHx3K0tQs50HZbOn559WcLnSRiRhU=";
cliHash = "sha256-kHgDZVr6mAyCtZ6bSG9FWV0GhWDfXLXzHYFrmjFzO9w=";
mobyRev = "docker-v${version}";
mobyHash = "sha256-ghYEOWr5RUDm0YLyupaDSpLd+8gFqxp3VjCt+3lztcA=";
mobyHash = "sha256-lux7tTyF6vm5wuIXs+z3Ygd2v4JjgHbRvOXNA4kjNtg=";
runcRev = "v1.3.5";
runcHash = "sha256-Swphxbu/OLkUrfRjLMZIVGwYb7AN0xHdyxm0ysAVam0=";
containerdRev = "v2.2.3";

View file

@ -146,6 +146,10 @@ in
# Run any additional pnpm configuration commands that users provide.
${prePnpmInstall}
echo "Final pnpm config:"
pnpm config list
echo
# pnpm is going to warn us about using --force
# --force allows us to fetch all dependencies including ones that aren't meant for our host platform
pnpm install \

View file

@ -28,6 +28,11 @@ pnpmConfigHook() {
if versionAtLeast "$pnpmVersion" "11"; then
# pnpm 11 uses a different mechanism to manage package manager versions
export pnpm_config_pm_on_fail=ignore
# Disable lockfile verification against supply-chain policies. This is
# already done in fetchPnpmDeps, so if these checks failed there, we
# wouldn't be here in the first place
export pnpm_config_trust_lockfile=true
else
pnpm config set manage-package-manager-versions false
fi
@ -84,6 +89,10 @@ pnpmConfigHook() {
runHook prePnpmInstall
echo "Final pnpm config:"
pnpm config list
echo
if ! pnpm install \
--offline \
--ignore-scripts \

View file

@ -0,0 +1,53 @@
diff --git a/acl2.lisp b/acl2.lisp
index 036657d902..c2b7e4fad9 100644
--- a/acl2.lisp
+++ b/acl2.lisp
@@ -1963,11 +1963,7 @@ ACL2 from scratch.")
(* *my-most-positive-double-float*
*my-most-positive-double-float*)
(error () 0.0d0))
- 'double-float))
- #+sbcl
- (member :overflow
- (cadr (member :traps
- (sb-int:get-floating-point-modes)))))
+ 'double-float)))
(error "This Lisp is unsuitable for ACL2, because it failed ~%a check that ~
floating-point overflow causes an error."))
diff --git a/float-raw.lisp b/float-raw.lisp
index 1364491fdf..e6d0417971 100644
--- a/float-raw.lisp
+++ b/float-raw.lisp
@@ -46,13 +46,13 @@
; #.*infinity-double* and #.*negative-infinity-double*), so we do so, but we
; don't bother testing for Nan in LispWorks.
-; We return form unchanged in other than Allegro CL and LispWorks, because we
+; We return form unchanged in other than Allegro CL, LispWorks, and SBCL, because we
; already know that an error is signalled on overflow for other Lisps that host
; ACL2; see break-on-overflow-and-nan.
- #-(or allegro lispworks)
+ #-(or allegro lispworks sbcl)
(declare (ignore op))
- #-(or allegro lispworks)
+ #-(or allegro lispworks sbcl)
form
#+allegro
`(let ((result ,form))
@@ -65,6 +65,14 @@
(when (or (= result +1D++0) (= result -1D++0))
(error "Floating-point overflow for a call of ~s"
',op))
+ result)
+ #+sbcl
+ `(let ((result ,form))
+ (when (or (sb-ext:float-nan-p result)
+ (= result sb-ext:double-float-positive-infinity)
+ (= result sb-ext:double-float-negative-infinity))
+ (error "Floating-point exception for a call of ~s"
+ ',op))
result))
(defmacro defun-df-binary (name op)

View file

@ -62,6 +62,13 @@ stdenv.mkDerivation rec {
libssl = "${lib.getLib openssl}/lib/libssl${stdenv.hostPlatform.extensions.sharedLibrary}";
libcrypto = "${lib.getLib openssl}/lib/libcrypto${stdenv.hostPlatform.extensions.sharedLibrary}";
})
]
++ lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [
# ACL2 8.6 assumes SBCL can enable floating-point traps. On
# aarch64-linux, SBCL can leave :TRAPS NIL after enabling them, so use
# ACL2's existing exceptional-float checking path instead. See:
# https://github.com/acl2-devel/acl2-devel/commit/0632b37adffb6b5fd71d8438d519133281f837ec
./0002-sbcl-fp-trap-fallback.patch
];
# We need the timestamps on the source tree to be stable for certification to

View file

@ -3,7 +3,8 @@
lib,
stdenv,
libiconv,
texliveFull,
libxslt,
texliveBasic,
xercesc,
}:
@ -21,13 +22,13 @@ stdenv.mkDerivation (finalAttrs: {
postPatch =
lib.optionalString stdenv.cc.isClang ''
substituteInPlace makefile \
--replace "\$(CXX)" "\$(CXX) -std=c++98"
--replace-fail "\$(CXX)" "\$(CXX) -std=c++98"
''
+
# fix the doc build on TeX Live 2023
''
substituteInPlace Documentation/manual.tex \
--replace '\usepackage[utf8x]{inputenc}' '\usepackage[utf8]{inputenc}'
--replace-fail '\usepackage[utf8x]{inputenc}' '\usepackage[utf8]{inputenc}'
'';
outputs = [
@ -35,7 +36,13 @@ stdenv.mkDerivation (finalAttrs: {
"doc"
];
nativeBuildInputs = [ texliveFull ]; # scheme-full needed for ucs package
nativeBuildInputs = [
libxslt
(texliveBasic.withPackages (ps: [
ps.cm-super
ps.ucs
]))
];
buildInputs = [ xercesc ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
buildFlags = [

View file

@ -20,11 +20,11 @@ in
stdenv.mkDerivation (finalAttrs: {
pname = "dropbear";
version = "2025.89";
version = "2026.91";
src = fetchurl {
url = "https://matt.ucc.asn.au/dropbear/releases/dropbear-${finalAttrs.version}.tar.bz2";
sha256 = "sha256-DR98pxHPwzbcioXmcsq5z9giOgL+LaCkp661jJ4RNjQ=";
sha256 = "sha256-3vqSRHWr9rwedKvAAXPka/3IBL1Hyq+hT1pO8Mx22jQ=";
};
env.CFLAGS = lib.pipe (lib.attrNames dflags) [

View file

@ -9,11 +9,11 @@
stdenv.mkDerivation rec {
pname = "fastnetmon-advanced";
version = "2.0.372";
version = "2.0.380";
src = fetchurl {
url = "https://repo.fastnetmon.com/fastnetmon_ubuntu_jammy/pool/fastnetmon/f/fastnetmon/fastnetmon_${version}_amd64.deb";
hash = "sha256-FwYAbTBkk+AciDVxTIimswsB0M3gbzKX+03PD0fLMsY=";
url = "https://repo.fastnetmon.com/fastnetmon_ubuntu_noble/pool/fastnetmon/f/fastnetmon/fastnetmon_${version}_amd64.deb";
hash = "sha256-4hCrDaFat0kEbyzKg6nHdV+LlqCBYYJEojyvXyPYKD0=";
};
nativeBuildInputs = [

View file

@ -25,6 +25,10 @@ buildGoModule (finalAttrs: {
vendorHash = "sha256-sEGLnYC4gMo5jPCZxBXra3pmRigaq4bDcVFd52ru7rQ=";
subPackages = [
"cmd/fence"
];
ldflags = [
"-s"
"-w"

View file

@ -31,13 +31,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "flaresolverr";
version = "3.4.6";
version = "3.5.0";
src = fetchFromGitHub {
owner = "FlareSolverr";
repo = "FlareSolverr";
rev = "v${finalAttrs.version}";
hash = "sha256-DeFp76VwMGBAWOsI3S3jm1qNbPw554zJZfE7hotUedY=";
hash = "sha256-gOrfxFGNlxZWScfYEw7zfy7oVWhYEygYgP7mkO4cs/w=";
};
nativeBuildInputs = [ makeWrapper ];

View file

@ -231,7 +231,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = {
description = "GNU Project debugger";
mainProgram = "gdb";
mainProgram = "${targetPrefix}gdb";
longDescription = ''
GDB, the GNU Project debugger, allows you to see what is going
on `inside' another program while it executes -- or what another

View file

@ -10,7 +10,7 @@
buildGoModule (finalAttrs: {
pname = "gh";
version = "2.92.0";
version = "2.93.0";
__structuredAttrs = true;
@ -18,10 +18,10 @@ buildGoModule (finalAttrs: {
owner = "cli";
repo = "cli";
tag = "v${finalAttrs.version}";
hash = "sha256-/7EiX4ZZPhSNgY/D5OVOako/c0ujHq05GMj3UB11bqQ=";
hash = "sha256-r/+JFdMOUIb32St+VkUw+Q7Lb2L6IiPczmONFE4hwDw=";
};
vendorHash = "sha256-pBLRCIRjN3VoXbTFSq+R9/N3uAUCEjvPtk8LKKKS51s=";
vendorHash = "sha256-eMPcla1XKfq+zBb633Zz4cn820FWuEaRrXQJ1TQ8Lkg=";
nativeBuildInputs = [
installShellFiles

View file

@ -7,7 +7,7 @@
}:
let
version = "18.11.3";
version = "18.11.4";
package_version = "v${lib.versions.major version}";
gitaly_package = "gitlab.com/gitlab-org/gitaly/${package_version}";
@ -21,10 +21,10 @@ let
owner = "gitlab-org";
repo = "gitaly";
rev = "v${version}";
hash = "sha256-oFQevVXbxu9G4LF3BrC0EUUviypSwB4cKRjipdiO3jU=";
hash = "sha256-YQpNsSCjcMC1tpwLVN0fCB9T3vBFxp0TyrvxzJfTnFg=";
};
vendorHash = "sha256-123WUtoUaPIyDywcTKEhiZP2SYYHxAQoOPyCebsHYRI=";
vendorHash = "sha256-/RJnCcmUoqGy08MSGEVM/taV1qZK65kiZw19n6S3ZQ0=";
ldflags = [
"-X ${gitaly_package}/internal/version.version=${version}"

View file

@ -17,7 +17,7 @@
runtimeShell,
# List of Node.js runtimes the package should support
nodeRuntimes ? [
"node20"
# Node.js 20.x has reached EOL and is marked as insecure in Nixpkgs, thus omitted here
"node24"
],
nodejs_20,

View file

@ -11,17 +11,17 @@ let
in
buildGoModule (finalAttrs: {
pname = "gitlab-elasticsearch-indexer";
version = "5.14.1";
version = "5.14.7";
# nixpkgs-update: no auto update
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-elasticsearch-indexer";
rev = "v${finalAttrs.version}";
hash = "sha256-yYl2cSPY5hn1GSda5ioMD3rEectNMtYGstVpz73pi3Y=";
hash = "sha256-1fVBCem23X8u1NQ6ph37EiXRvMpzF/8Yac+VefAe9Yg=";
};
vendorHash = "sha256-yeVEQEXHGAkdkfcnjok8iOvVRxucObVAxhuACmyFDJw=";
vendorHash = "sha256-cUHXrUd+pSMiS6iSwKKA+o1B6ZHbaQYHYPeVk1Y6wYM=";
buildInputs = [ icu ];
nativeBuildInputs = [ pkg-config ];

View file

@ -6,14 +6,14 @@
buildGoModule (finalAttrs: {
pname = "gitlab-pages";
version = "18.11.3";
version = "18.11.4";
# nixpkgs-update: no auto update
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-pages";
rev = "v${finalAttrs.version}";
hash = "sha256-ozkrU3QF/LK0uqfF52dnm2MCga+vRD8dGsLNnze6E+Y=";
hash = "sha256-tE2PHWk12S482TjNhI0u7Afm0mPAgJWqcJiU5dgqN60=";
};
vendorHash = "sha256-PUW4cgAiM1GTtvja894OZ4pe0SWChf5JsL4/fkns2kI=";

View file

@ -8,14 +8,14 @@
buildGoModule (finalAttrs: {
pname = "gitlab-shell";
version = "14.49.0";
version = "14.50.0";
# nixpkgs-update: no auto update
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-shell";
rev = "v${finalAttrs.version}";
hash = "sha256-8PnFRwP5vctnOh6t45crxkoVF6Z03bfYry24KfFHCww=";
hash = "sha256-a9s+TCm5yKPjNh+BD9fm6iVA4H9KJiMyWNulY+7BKZo=";
};
buildInputs = [
@ -27,7 +27,7 @@ buildGoModule (finalAttrs: {
./remove-hardcoded-locations.patch
];
vendorHash = "sha256-JBKU134/Yyz49HWfU9Dw/EC4bI/o3Hs56Ou7wtzp5qM=";
vendorHash = "sha256-ceSnQQTtGdLb0QGR9fDbGC0NtRPGqkyXJ6b0TRXkjQM=";
subPackages = [
"cmd/gitlab-shell"

View file

@ -1,17 +1,17 @@
{
"version": "18.11.3",
"repo_hash": "sha256-QxaLdWErE+b4SpwHtxnCa2tqheWUfEixRcQwYD/A9s8=",
"version": "18.11.4",
"repo_hash": "sha256-ThtRXdUreorOIea5Izd+zKb88cC4nhitkzqT+Yf5UtU=",
"yarn_hash": "sha256-k8JHi0f/XfSV4kICyPW01Erk3YnKw33yeUWYrOaPdTM=",
"frontend_islands_yarn_hash": "sha256-EvGQin+5DqqIgM36jlVkVI49WcJzVvceYnkSS9ybfcY=",
"owner": "gitlab-org",
"repo": "gitlab",
"rev": "v18.11.3-ee",
"rev": "v18.11.4-ee",
"passthru": {
"GITALY_SERVER_VERSION": "18.11.3",
"GITLAB_KAS_VERSION": "18.11.3",
"GITLAB_PAGES_VERSION": "18.11.3",
"GITLAB_SHELL_VERSION": "14.49.0",
"GITLAB_ELASTICSEARCH_INDEXER_VERSION": "5.14.1",
"GITLAB_WORKHORSE_VERSION": "18.11.3"
"GITALY_SERVER_VERSION": "18.11.4",
"GITLAB_KAS_VERSION": "18.11.4",
"GITLAB_PAGES_VERSION": "18.11.4",
"GITLAB_SHELL_VERSION": "14.50.0",
"GITLAB_ELASTICSEARCH_INDEXER_VERSION": "5.14.7",
"GITLAB_WORKHORSE_VERSION": "18.11.4"
}
}

View file

@ -10,7 +10,7 @@ in
buildGoModule (finalAttrs: {
pname = "gitlab-workhorse";
version = "18.11.3";
version = "18.11.4";
# nixpkgs-update: no auto update
src = fetchFromGitLab {

View file

@ -765,3 +765,6 @@ gem "gitlab-cloud-connector", "~> 1.45", require: 'gitlab/cloud_connector', feat
gem "gvltools", "~> 0.4.0", feature_category: :shared # rubocop:todo Gemfile/MissingFeatureCategory -- https://gitlab.com/gitlab-org/gitlab/-/issues/581839
gem 'gitlab_query_language', '~> 0.26.0', feature_category: :integrations
# standard Gem, version increase to resolve vulnerabilities
gem "zlib", "~> 3.2", ">= 3.2.3", feature_category: :shared # rubocop:todo Gemfile/MissingFeatureCategory -- https://gitlab.com/gitlab-org/gitlab/-/work_items/596593

View file

@ -2174,6 +2174,7 @@ GEM
yard-solargraph (0.1.0)
yard (~> 0.9)
zeitwerk (2.6.18)
zlib (3.2.3)
PLATFORMS
ruby
@ -2553,6 +2554,7 @@ DEPENDENCIES
yajl-ruby (~> 1.4.3)
yard (~> 0.9)
zeitwerk (= 2.6.18)
zlib (~> 3.2, >= 3.2.3)
BUNDLED WITH
2.7.1

View file

@ -10473,4 +10473,14 @@ src: {
};
version = "2.6.18";
};
zlib = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "084w64p55s3l2rmbs6x84qbclhi451n8n2limdj1mwrjidlidlsv";
type = "gem";
};
version = "3.2.3";
};
}

View file

@ -18,13 +18,13 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "karakeep";
version = "0.31.0";
version = "0.32.0";
src = fetchFromGitHub {
owner = "karakeep-app";
repo = "karakeep";
tag = "cli/v${finalAttrs.version}";
hash = "sha256-++aNTkLOkwgkzRxg/WdrHfchXQwUUir0qqmb7WfdZJ0=";
hash = "sha256-P88DQi0T7tmBH7cjs8/Hz77bU0oG7u67XPoLsdePNhI=";
};
patches = [
@ -65,7 +65,7 @@ stdenv.mkDerivation (finalAttrs: {
};
fetcherVersion = 3;
hash = "sha256-+MbKG0h3cD0kZua0OkdQsUeTjAY4ysK41KXUSaOSKHA=";
hash = "sha256-aT4JPx3iYw4kw8GHXKWMnelSVT0q2S3PK8DgSCQCyKQ=";
};
buildPhase = ''
runHook preBuild

View file

@ -5,12 +5,6 @@ requirement.
---
--- a/package.json
+++ b/package.json
@@ -32,7 +32,7 @@
"turbo": "^2.1.2"
},
"prettier": "@karakeep/prettier-config",
@@ -40 +40 @@
- "packageManager": "pnpm@9.15.9",
+ "packageManager": "pnpm",
"pnpm": {
"patchedDependencies": {
"xcode@3.0.1": "patches/xcode@3.0.1.patch"

View file

@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
ninja,
pkg-config,
@ -18,16 +19,24 @@
}:
stdenv.mkDerivation (finalAttrs: {
version = "0.7.36";
version = "0.7.37";
pname = "libsolv";
src = fetchFromGitHub {
owner = "openSUSE";
repo = "libsolv";
rev = finalAttrs.version;
hash = "sha256-7a/vAdgW7ma2GHqv1LaQNFA7w1Hmzm6Q/HriNN6hlpE=";
hash = "sha256-hiumMnTJ3eP+acH2V0eNTM71Fw//IWQPechCA0+kH1s=";
};
patches = [
(fetchpatch {
name = "CVE-2026-9149";
url = "https://github.com/openSUSE/libsolv/commit/210386037c892a720972ad35a3d8f7073b4d763b.patch";
hash = "sha256-ju3xn78UGMR5usq1e1ovFTWnKW1TPDA77sNGx8yc8Z8=";
})
];
cmakeFlags = [
"-DENABLE_COMPLEX_DEPS=true"
(lib.cmakeBool "ENABLE_CONDA" withConda)

View file

@ -26,11 +26,11 @@
stdenv.mkDerivation rec {
pname = "liferea";
version = "1.16.9";
version = "1.16.10";
src = fetchurl {
url = "https://github.com/lwindolf/${pname}/releases/download/v${version}/${pname}-${version}.tar.bz2";
hash = "sha256-c4ySTlAfL1Ebs1+pLZd5KidO3UcF9HKhV/RpGLRSlcY=";
hash = "sha256-4cprlrp/vCaoUN4HwZFa+H1DW1S5q/byQcd+g/g427g=";
};
nativeBuildInputs = [

View file

@ -47,14 +47,14 @@ in
# as bootloader for various platforms and corresponding binary and helper files.
stdenv.mkDerivation (finalAttrs: {
pname = "limine";
version = "12.3.0";
version = "12.3.1";
# We don't use the Git source but the release tarball, as the source has a
# `./bootstrap` script performing network access to download resources.
# Packaging that in Nix is very cumbersome.
src = fetchurl {
url = "https://github.com/Limine-Bootloader/Limine/releases/download/v${finalAttrs.version}/limine-${finalAttrs.version}.tar.gz";
hash = "sha256-3lMqcsCC0jP/UMkXscsQPQjlL6rkuJ6WRJFpXZ+sJDw=";
hash = "sha256-orkotxbusV4giozDLkUZuLZAHNS4GZnfj+EXi5tSRWU=";
};
enableParallelBuilding = true;

View file

@ -0,0 +1,102 @@
diff --git i/src/common/types.ts w/src/common/types.ts
index 1e6f8172..7e8e8b22 100644
--- i/src/common/types.ts
+++ w/src/common/types.ts
@@ -84,7 +84,6 @@ export interface Config {
captureFrameQuality: number,
captureFrameFileNameFormat: 'timestamp' | 'index',
enableNativeHevc: boolean,
- enableUpdateCheck: boolean,
cleanupChoices: {
trashTmpFiles: boolean, askForCleanup: boolean, closeFile: boolean, cleanupAfterExport?: boolean | undefined,
},
diff --git i/src/main/configStore.ts w/src/main/configStore.ts
index 3a80d2aa..b95546a9 100644
--- i/src/main/configStore.ts
+++ w/src/main/configStore.ts
@@ -154,7 +154,6 @@ const defaults: Config = {
captureFrameQuality: 0.95,
captureFrameFileNameFormat: 'timestamp',
enableNativeHevc: true,
- enableUpdateCheck: true,
cleanupChoices: {
trashTmpFiles: true, askForCleanup: true, closeFile: true, cleanupAfterExport: false,
},
diff --git i/src/main/index.ts w/src/main/index.ts
index 9144ddae..9b23f6ea 100644
--- i/src/main/index.ts
+++ w/src/main/index.ts
@@ -30,7 +30,6 @@ import HttpServer from './httpServer.js';
import isDev from './isDev.js';
import isStoreBuild from './isStoreBuild.js';
import { getAboutPanelOptions } from './aboutPanel.js';
-import { checkNewVersion } from './updateChecker.js';
import * as i18nCommon from './i18nCommon.js';
import './i18n.js';
import type { ApiActionRequest } from '../common/types.js';
@@ -371,14 +370,6 @@ async function init() {
createWindow();
// will also updateMenu and set about panel options
await changeLanguage(language);
-
- const enableUpdateCheck = configStore.get('enableUpdateCheck');
-
- if (!disableNetworking && enableUpdateCheck && !isStoreBuild) {
- newVersion = await checkNewVersion();
- // newVersion = '1.2.3';
- if (newVersion) updateMenu();
- }
} catch (err) {
logger.error('Failed to initialize', err);
}
diff --git i/src/renderer/src/components/Settings.tsx w/src/renderer/src/components/Settings.tsx
index b91b562e..36f779db 100644
--- i/src/renderer/src/components/Settings.tsx
+++ w/src/renderer/src/components/Settings.tsx
@@ -76,7 +76,7 @@ function Settings({
}) {
const { t } = useTranslation();
- const { customOutDir, changeOutDir, keyframeCut, toggleKeyframeCut, timecodeFormat, setTimecodeFormat, invertCutSegments, setInvertCutSegments, askBeforeClose, setAskBeforeClose, enableImportChapters, setEnableImportChapters, enableAskForFileOpenAction, setEnableAskForFileOpenAction, autoSaveProjectFile, setAutoSaveProjectFile, invertTimelineScroll, setInvertTimelineScroll, language, setLanguage, hideNotifications, setHideNotifications, hideOsNotifications, setHideOsNotifications, autoLoadTimecode, setAutoLoadTimecode, enableAutoHtml5ify, setEnableAutoHtml5ify, customFfPath, setCustomFfPath, storeProjectInWorkingDir, mouseWheelZoomModifierKey, setMouseWheelZoomModifierKey, mouseWheelFrameSeekModifierKey, setMouseWheelFrameSeekModifierKey, mouseWheelKeyframeSeekModifierKey, setMouseWheelKeyframeSeekModifierKey, segmentMouseModifierKey, setSegmentMouseModifierKey, captureFrameMethod, setCaptureFrameMethod, captureFrameQuality, setCaptureFrameQuality, captureFrameFileNameFormat, setCaptureFrameFileNameFormat, enableNativeHevc, setEnableNativeHevc, enableUpdateCheck, setEnableUpdateCheck, allowMultipleInstances, setAllowMultipleInstances, preferStrongColors, setPreferStrongColors, treatInputFileModifiedTimeAsStart, setTreatInputFileModifiedTimeAsStart, treatOutputFileModifiedTimeAsStart, setTreatOutputFileModifiedTimeAsStart, exportConfirmEnabled, toggleExportConfirmEnabled, storeWindowBounds, setStoreWindowBounds, reducedMotion, setReducedMotion } = useUserSettings();
+ const { customOutDir, changeOutDir, keyframeCut, toggleKeyframeCut, timecodeFormat, setTimecodeFormat, invertCutSegments, setInvertCutSegments, askBeforeClose, setAskBeforeClose, enableImportChapters, setEnableImportChapters, enableAskForFileOpenAction, setEnableAskForFileOpenAction, autoSaveProjectFile, setAutoSaveProjectFile, invertTimelineScroll, setInvertTimelineScroll, language, setLanguage, hideNotifications, setHideNotifications, hideOsNotifications, setHideOsNotifications, autoLoadTimecode, setAutoLoadTimecode, enableAutoHtml5ify, setEnableAutoHtml5ify, customFfPath, setCustomFfPath, storeProjectInWorkingDir, mouseWheelZoomModifierKey, setMouseWheelZoomModifierKey, mouseWheelFrameSeekModifierKey, setMouseWheelFrameSeekModifierKey, mouseWheelKeyframeSeekModifierKey, setMouseWheelKeyframeSeekModifierKey, segmentMouseModifierKey, setSegmentMouseModifierKey, captureFrameMethod, setCaptureFrameMethod, captureFrameQuality, setCaptureFrameQuality, captureFrameFileNameFormat, setCaptureFrameFileNameFormat, enableNativeHevc, setEnableNativeHevc, allowMultipleInstances, setAllowMultipleInstances, preferStrongColors, setPreferStrongColors, treatInputFileModifiedTimeAsStart, setTreatInputFileModifiedTimeAsStart, treatOutputFileModifiedTimeAsStart, setTreatOutputFileModifiedTimeAsStart, exportConfirmEnabled, toggleExportConfirmEnabled, storeWindowBounds, setStoreWindowBounds, reducedMotion, setReducedMotion } = useUserSettings();
const onLangChange = useCallback<ChangeEventHandler<HTMLSelectElement>>((e) => {
const { value } = e.target;
@@ -204,7 +204,7 @@ function Settings({
<Row>
<KeyCell>{t('Check for updates on startup?')}</KeyCell>
<td>
- <Switch checked={enableUpdateCheck} onCheckedChange={setEnableUpdateCheck} />
+ (always disabled in nixpkgs build)
</td>
</Row>
)}
diff --git i/src/renderer/src/hooks/useUserSettingsRoot.ts w/src/renderer/src/hooks/useUserSettingsRoot.ts
index 4f8b8e0a..e67b1cd0 100644
--- i/src/renderer/src/hooks/useUserSettingsRoot.ts
+++ w/src/renderer/src/hooks/useUserSettingsRoot.ts
@@ -166,8 +166,6 @@ export default function useUserSettingsRoot() {
useEffect(() => safeSetConfig({ captureFrameFileNameFormat }), [captureFrameFileNameFormat]);
const [enableNativeHevc, setEnableNativeHevc] = useState(safeGetConfigInitial('enableNativeHevc'));
useEffect(() => safeSetConfig({ enableNativeHevc }), [enableNativeHevc]);
- const [enableUpdateCheck, setEnableUpdateCheck] = useState(safeGetConfigInitial('enableUpdateCheck'));
- useEffect(() => safeSetConfig({ enableUpdateCheck }), [enableUpdateCheck]);
const [cleanupChoices, setCleanupChoices] = useState(safeGetConfigInitial('cleanupChoices'));
useEffect(() => safeSetConfig({ cleanupChoices }), [cleanupChoices]);
const [allowMultipleInstances, setAllowMultipleInstances] = useState(safeGetConfigInitial('allowMultipleInstances'));
@@ -280,7 +278,6 @@ export default function useUserSettingsRoot() {
captureFrameQuality,
captureFrameFileNameFormat,
enableNativeHevc,
- enableUpdateCheck,
cleanupChoices,
allowMultipleInstances,
darkMode,
@@ -356,7 +353,6 @@ export default function useUserSettingsRoot() {
setCaptureFrameQuality,
setCaptureFrameFileNameFormat,
setEnableNativeHevc,
- setEnableUpdateCheck,
setCleanupChoices,
setAllowMultipleInstances,
toggleDarkMode,

View file

@ -0,0 +1,154 @@
{
"@esbuild/aix-ppc64@npm:0.25.12": "b2cc7e0cd348bc315907f6ce090ee545d4157a19fc44327ff0262ba9296f0fad19c57dd679b1b526a0a18f34f1971b128e15b41bca794c74a9b2c32238fdd537",
"@esbuild/aix-ppc64@npm:0.27.2": "9c18cc2e4a03339a55013aac05b4a3fc4b77e75715dc252d034aa3d43b754abc053a7601b95e31249f4b6e69b68db2f5e6cb04b0ed619f825f2f70daff1a78d7",
"@esbuild/android-arm64@npm:0.25.12": "f770937988ec42e289277abc03800ccf88902684dbda3013a8ab274bb9eca36d35619a75f0f0510e225bdb4c7cf9a426218c7d2641a98fed74287a52d60d8865",
"@esbuild/android-arm64@npm:0.27.2": "a318fc9ffcdad7fda8bb521af8b17f73d93d9a94b4cca9301fbf72cf3f5a6e945edd589a47388de70f3e9582655dcf5b5bb928a11e306368fae4a9106d5143d2",
"@esbuild/android-arm@npm:0.25.12": "7a5d507aa717d85470c595e11f3c03fbf4f0bffdd10d30f49e1a3f14c2553191f156b214eacd6911fa36719faef23c28be7d88ac876ec300995987964ea16e99",
"@esbuild/android-arm@npm:0.27.2": "01114275e096b9177ad2496730087ee081d6e65a75bc087457b527c5baac5a8ccb362435f45232532bf6f97de95e1790dbce127d55abd5e4152c7214682bf4d3",
"@esbuild/android-x64@npm:0.25.12": "cd459b0433b0541bae9ffafd274c57529125719a5b78f4ee92aa9f8a1f54b002a18d889bee19084a503c114412269ef4e740d21b4a2de811ec2a076e96b35f48",
"@esbuild/android-x64@npm:0.27.2": "e92c5b6919081a14c8882f1167cf90b4e4bba745ad6e9a23428f85a1cd5e79dfa3f1d2fc943686b237e4cd09fac52ad3b3791deab6a0419ee10859284d3834aa",
"@esbuild/darwin-arm64@npm:0.25.12": "067f4588b9b64c93742c4a8cec35282dd076583006ce8089aae3095fcae5b606a2f60d86caf0527be6009be234178fb83d360af82698e2017a6f9fb9345e084d",
"@esbuild/darwin-arm64@npm:0.27.2": "5e99db5037167bad4a095fc445b94a2ce02357870ed58b79e13ae6bc09b5cb33d7e03f925492df940f9e0ad685a889f02beec1431d8fbf4c7ced55b2f48f5659",
"@esbuild/darwin-x64@npm:0.25.12": "c29947d07adacadcb29092860b69d1b668d9c5abfaf525e2a7f3ece61c3f4e72a95c1c66ad0e80fbf31d01210ae4e8330d4ae6d9c6c9ad2b8aa159eb115f9a8d",
"@esbuild/darwin-x64@npm:0.27.2": "87f2fbc4cf11724ef805b17cbdc7b0a9498332bc4b61d55e110ecc3b09bc488b88c0bd140ea48924e9c97a2063cf7e440fef13dd56e415c46799619d61086910",
"@esbuild/freebsd-arm64@npm:0.25.12": "c51691aeb04e41c554a59cbb5ab8d917446f352aeec70e3d5a7f25409e9115ff2db930589052df3e7d60f03eff4c298bda89db62f2408d1a49b6a70e69c5d4a0",
"@esbuild/freebsd-arm64@npm:0.27.2": "1ffa23243b913e377a5b09fd97ad9f089be3695aafdd893b60bb7f9be479256d8b7546f0bc96c4e61133fe7aeeaf95a8e941e82a65d99008ff82c99bdec85eee",
"@esbuild/freebsd-x64@npm:0.25.12": "9b84c48176350811690751c34d1513005290641923a161f96cb433cbcbb8c072ecb92cef39ba641f48032071f74c6119e5f081b5788242109426c54f3ef1a01e",
"@esbuild/freebsd-x64@npm:0.27.2": "44f744b289cf9e115b0adfac1905818d756dfced14213bf144d9016d96f67575ef2a55526f76e29ee775fcfec7274ba3a5e6833f35ed79a4592d3f5eac278267",
"@esbuild/linux-arm64@npm:0.25.12": "1e9cc29569890f5944e7dbe2e597eb19d76e85fe07aef6253129b16800ccb5b33a79cea17873d7debdf681d34adf77e06ae99742fe06cab095f3db441b741b1e",
"@esbuild/linux-arm64@npm:0.27.2": "2b037d74eaff4e9b5a6076760ede873320707636a3495939687cdd0c2c7150883111273bc0a8663fa305c42f439f4748b5ad7f15a1a1ea9fa7db575d9faf2d1b",
"@esbuild/linux-arm@npm:0.25.12": "fcf091d6a51834c9a942ee33b568342990c7fa29d2ff338ce628a41bc415696d09bca7ef502c2b04518973010f73ab3d13e37096030db9c8d393ab29408f104b",
"@esbuild/linux-arm@npm:0.27.2": "28cfc3a9ca11fc899649e7a706fb4b2ee57999bd92e86c23726b3ed0f832732411dd0aa3e2bcdb4105759f83bc4e5adc98dc195aaafce736c910db4e43694702",
"@esbuild/linux-ia32@npm:0.25.12": "ccd563c3189e5f651b479dd80d3bebd9d5c4747ce7448bb80266c804c3141eb3514b8c70445d77301899c54c1ff8c74614f8423704fde475a5c67efe86713235",
"@esbuild/linux-ia32@npm:0.27.2": "ac6cc92b9be2ec6d9d483c53fc973e6381765b784a2e1b71fa93ea0cf976344c2e3e0bfda0140b0829b3ec4304d9b886692b2891e68c17d2121066d06e67f0ac",
"@esbuild/linux-loong64@npm:0.25.12": "6df2710d99d84006ad8151a9ca26861dbb97524a15e61f56eb1a5a76786865ad03be838fe3d414a72b239262364964528f3136c2965b3c442c7ed85090b145c4",
"@esbuild/linux-loong64@npm:0.27.2": "625f5b6c2218a3acb2cff8f7f02a53ca89d13925f8932260ddad01595c6907beda4a79e4b767b1101f5971049f88d3ec6ab29cf565b4d61d9b0d7277e2cb578d",
"@esbuild/linux-mips64el@npm:0.25.12": "883bd8c4afd70b8e372db8a6bdb429d419ae30253a63987ff824994958d8431b6e51ead05e6372b2a233e025ea57f6f65b04ebaff8308e39acf54bfa73a5cae2",
"@esbuild/linux-mips64el@npm:0.27.2": "0c62692cb3a297b37212dfde52a861861843a716f6b3bdb73da49ba249a4c001b989ea61dc4540c430fac59ce2f8fc45035cdfac80172c5ddaf1b9df8471aecf",
"@esbuild/linux-ppc64@npm:0.25.12": "71f8544a3b99b4c95d49604b66d144e9617ae9925914c1bd5bc6731d15d4e48e7f8e9bffd85835e1c93a88c3537b53f3e99b500e4dd2533af9483055b02f9d38",
"@esbuild/linux-ppc64@npm:0.27.2": "b804d2dd0a6a85fe1c731828c725731a55ab120d2cc16941d560b2e9af5c2ec51586914ce26a84a326a9d46fa61eb8bb1f843953fe29ddd43b3f3099c491b5ff",
"@esbuild/linux-riscv64@npm:0.25.12": "fe8048262c5c6a040c047a9b7ab8547b0e7a32ce50f622ea8dadc3ec22065676efbc9b36896ca96959f77839757319633a2d05af5f2de7b32389a03b80f027f1",
"@esbuild/linux-riscv64@npm:0.27.2": "03e67e7207a83801363e3637f9a35fb6224ed4dc23bbf6eca41904fc42f5a6806e1e591666bf48dbf62eba97d41ff4355413b14dcb2339007b22c693374c49f6",
"@esbuild/linux-s390x@npm:0.25.12": "e5c023be1dfd75c915453763f944db8ab3da4f60a00c2b0e6f3b9349bc6c51e5ac5ce928db56e8f316e910213adf2172efd1b37abe070f6cda0c28583d770bab",
"@esbuild/linux-s390x@npm:0.27.2": "eb24b9c0a4a1492e4ff34a87933f6a3b348739c12f864b408144efdf949871c1fbb02a1cca741bfa11fd08aebe585d046fd3311b462ce4c795e3064ba3912469",
"@esbuild/linux-x64@npm:0.25.12": "8b2c7f5e00c40058f5c150df267cd303eae5907822f196902cd8e64af70475e800a7f132ac6388aa2b77b877d6314147e67f3fb67d97c867adccd54a2a6caaf6",
"@esbuild/linux-x64@npm:0.27.2": "ed1542f203329521fb1f308696c76ba59ed4a4616a24e21bf4820685362bba209d5c44c2f4e66c88dc7b7399df9ace625454d4829ee529d076ccaf61566e11cf",
"@esbuild/netbsd-arm64@npm:0.25.12": "19bc5a1295697aa8787929472323494302d117ea1e592f17cfae443525c1e5917a5f77e6582fc1ec9de3a11a9e296bc12749c6b12cde0aab10695b5c25f29f73",
"@esbuild/netbsd-arm64@npm:0.27.2": "576dd082047077b9cc41fbeffd728821a4f3b80969c1d2d6c274301122c6de2050f484fd4e946777527b8a15bd2a5ac54f85ca7ab95ea72b5345177e6a888687",
"@esbuild/netbsd-x64@npm:0.25.12": "8eb2ff51aa39b43a021e4b51411789b6299fd0dc38b3896719684333e32fd42ed4508ab67dcc88435631e5333573a4848dbfeec12569de46c2318dcdb39ad3ab",
"@esbuild/netbsd-x64@npm:0.27.2": "f8994af3e2ff3c9a91e874e58698b66e6f8d4e72dbc0aaf749b74a79420954146ed053359b0a4c213918582cee187d8a371737a33cfb93e624b4d091e5a6c240",
"@esbuild/openbsd-arm64@npm:0.25.12": "5ff26a012d0d35673bc3800d28f284a62c310801a68c55b2d1ed8a7e09ef7568117fb8ab2d7ec7a6e7d73ce6a9e05150ee07335fc6447ba98658469b9da1cb2e",
"@esbuild/openbsd-arm64@npm:0.27.2": "f710da24beeb747ef3a11b9d99085a14f5c929f942fd9d9a05b7806d5ff1b85631bfa506eb7a6aed9fd01ec99bf91f24736f9f0e0eb6b7c0019fe0dddd2e615c",
"@esbuild/openbsd-x64@npm:0.25.12": "41dce65493548bc0dc411a6175e9fb109a93bbbf370ef444d1459698226ad2a3096ab7edd420c27eb3d15e6bbd0bc79357bd7c0a59c5527ace0fefac181638f8",
"@esbuild/openbsd-x64@npm:0.27.2": "62670fbe1f609c5362df7b45968ded512a0860e2ad8a4715a89993abfa2f9f08a28f1294c7857d80e6d3f713639a71d291c06a961b331de67ad350032d1b8e96",
"@esbuild/openharmony-arm64@npm:0.25.12": "b3e0502067e760e5b92d3180e20372cbb2dba8267fbb56206d50bdeccd8895feb408020b98c3f17054eea0f1fba365385850cb91d1f79a25dfa3751032278825",
"@esbuild/openharmony-arm64@npm:0.27.2": "e279efdc18301add96ea791ba9ef117cae05346688cd521fd225a60ad166add4bc995af985058e3b6ab9e65a7c49a79108a294d6aa26a1d1685ad0db194e2c56",
"@esbuild/sunos-x64@npm:0.25.12": "50ed9767e00ff74a1d98d94c5fe6027bc5e9e095a64735d1d0676ec72adc4b15b0095e97f5ac71602f2c5fcdcf3e9f6cfe005315e998d9d3e12ca93a2076b639",
"@esbuild/sunos-x64@npm:0.27.2": "7234302321d36576b5a9f027915417cddc195a67b19cdfb50e69c337ee0dd63a88be6b72d7ef299cd569d1af62e54774303d52d3d6b5e5858db975241ae467d6",
"@esbuild/win32-arm64@npm:0.25.12": "4969d20da28a0c783ada6116724f51a542fad81dab043c4f6f9b7c8f4a68be558f03beb29d75bd550ab6e63f720535ebacb9ce1760099be7a63d4e1ec8351e2b",
"@esbuild/win32-arm64@npm:0.27.2": "36620fddf79da3e8e527ef8331436929fa7a0b23c9b591af8f8573d80ed9c4ef45b24c6fa0abbb01d187dec497efa6c9d9d397d575afc1f28477e9ca16a48d73",
"@esbuild/win32-ia32@npm:0.25.12": "60ce7d21c5e01c8b0c8c2c4660ff6d890a32b1acf09f5499f950a86bc5c6da17eee760c6bb7a720a0429f7633bbb38b2db517e444408d8a6ff6fc76157310980",
"@esbuild/win32-ia32@npm:0.27.2": "96e8c1fa0ec2b5529ead2ba703e5da7644c138b2f9b6e285c05513f0455e99b2b0dcf399f01779fb384e22810e82f892491e44402772c62d3fe094b025bbdc0f",
"@esbuild/win32-x64@npm:0.25.12": "bbdc69d57d85a6b8af85731c0979186aba54eb34c8d1de5eab4aa1d8fd45e3b38b5426c287cedf43228bb0794a741d9b2c55284c7db7d79335bc33dc389e7bb3",
"@esbuild/win32-x64@npm:0.27.2": "1ed08bebd916c16003f3784276ae683ab41d34951a0c272f6e072b8067a2b4bacd6f6f75a8dcea375b8545e15891d305425cf7c8dd31f7deab56ef22cde4a1e2",
"@img/sharp-darwin-arm64@npm:0.33.5": "021e77a84b2239142d82c462babf4c0b39c9ae6b6fcd10cd3e86264c48ed8d0f2e5c22e3c8427440045a9b09e21e9ddce26218a5b7148be8fa996ac5328faf06",
"@img/sharp-darwin-arm64@npm:0.34.5": "0f872f02a49c87c1c844c9715a1c1e4449fab30c85711d948767d41ea1eba1cc7be8268b582d95513e66cff090ab520e4104dcf30cc6f598ee429b40e890eeec",
"@img/sharp-darwin-x64@npm:0.33.5": "3742294f45d94742402b8d5c268f336ed0fe2c280552711e727a258e076ad2a6ee0cfb8af235654c45c288f26a8d6b94a77c00fb36c2b5079f749ddc4896f1a2",
"@img/sharp-darwin-x64@npm:0.34.5": "a9c0b03ad1d1c3ce549770e0655a6ad87a6e80633d65f9a009a2e19d1f5fe7b79c3ec946412f16ce302db3dfe759a35007e60e1f7042cb3e2291b49ba8d58a6a",
"@img/sharp-libvips-darwin-arm64@npm:1.0.4": "370561095765f56fc9b7114de22fda777bfa484c8d8643220ad39c46796ae8b389587bcaaabbc956f2ba7cc27a62ce0aeaeeba75980b6809f79205e77706ebc5",
"@img/sharp-libvips-darwin-arm64@npm:1.2.4": "5076747c32a07caaf86e026f84a07378bd34eec6a6bc8843e5c09fc99e22f89e383d88824c0f527070efc33fb04569fa3f867038138faf8d76af1e4ecc0fc962",
"@img/sharp-libvips-darwin-x64@npm:1.0.4": "cf664e6eaef5eb1355a227b629ce977ed710125652197c20d18b30db70b62fb750fc40ef08e6e4890ba22ea2ac7aa6406b05c79333d34ff0d1dc892601876680",
"@img/sharp-libvips-darwin-x64@npm:1.2.4": "607213511370a700fda3ece08eb0a061a09483b595b75ce5e115c9d95efb6793d1e8e90d79873a9f526378f06f5fe5f3a8f0006cf76f7c7907985c8d4539f376",
"@img/sharp-libvips-linux-arm64@npm:1.0.4": "b1279af75dff01d94a573a4a2d79c5d54d9daaa9b581dc1af6e416647b66bd74c8ad35fd87862085c0e02fdde7951da3dbe7da2d80f1b43c0f217386e4816789",
"@img/sharp-libvips-linux-arm64@npm:1.2.4": "e078ef44f936609cb2b5fc01433e6c8f3babd5ab69fcc5f006504eb4664efa791438ea61e44c8f236eef55ba6ddb7bc41dc9b8b264fe689ff35fac428ce356a0",
"@img/sharp-libvips-linux-arm@npm:1.0.5": "a9b4ad7285240b6717ad50975a1f95d58dc4a8575e56b9a3c53e6d92f45c4d9a550a01ba08de8c8465805cb7db0ffe4019ebff0e7d6160ed72f60f46680fc987",
"@img/sharp-libvips-linux-arm@npm:1.2.4": "493a3d34f9ec5a2aa71cada3c2b0cc2428659cc2aaaf4d7b7f6065648da560cb62e1febd4d49fc48f814787dc431a2c7e94992a2e2334dc409b73ec658cd0c43",
"@img/sharp-libvips-linux-ppc64@npm:1.2.4": "d746268a804ff66f363823840ea84a91c2c24e0f28438812c66f659b29305efee2219f1bfd7569944e02b0783044c275000c13b4180c4b07af3786bd1991567c",
"@img/sharp-libvips-linux-riscv64@npm:1.2.4": "3bfb408d0e333593247aff9cbbcafa8bace4714a54a742d3b18a73dc506a1176c56fed63cc682c34ac27704e207e6a53a1c9c955395abcc4ef8af8ca12b4e09b",
"@img/sharp-libvips-linux-s390x@npm:1.0.4": "eb8d337e1d3fe45d3fd9d1df168f04692a1175f288d7fe81312c3d96fe09c5d16b25b757714296d392a35e22297874cad24d831529bc7ac8a1f75e8b98ded0f5",
"@img/sharp-libvips-linux-s390x@npm:1.2.4": "79cd9764df0e845779cbc80ebf8eb0571080bce69d935fa8cd9a28a3aa5c4601c0e762ac83b6b8df0050ab54048098f692087265f64b16efc61de0818c2eea1b",
"@img/sharp-libvips-linux-x64@npm:1.0.4": "0fc5c2a5b5651e2f72b909edf0cbb9f85ac398878b9f197c534b3d954c016e074adf20e6bb9e0b6636864569d4d8b04baad7c30790ee5764967707a192535d20",
"@img/sharp-libvips-linux-x64@npm:1.2.4": "da642063f7a8f7e2c26e0b5734c1a39e7f4ca0d4521d9c6c65d81112146c4ecb846e73602fa145cf2106cd8f426d84010bb3f0baf4a9cf41db1b7deb3b47f353",
"@img/sharp-libvips-linuxmusl-arm64@npm:1.0.4": "56f07b51656a293547973cd99f56d2bebb8034e2a8b129fba105ebbb33ccdaf4eea94f342edc20841d355ce2aac4c5f13ae349afdcb53c8a9ae09bf2e3312884",
"@img/sharp-libvips-linuxmusl-arm64@npm:1.2.4": "e0ca7280827d433d10655ea1491543be98994e75a7b33b158faa7b4f6c866462d2abed253378b2534b9fab351a0961f23baaf16b4e7441131df0e3d47068507c",
"@img/sharp-libvips-linuxmusl-x64@npm:1.0.4": "d6447348de2653aa14ebe21bec21cc7f97e00062d07aae02a5a6b6137e90198b5a951837c97f73318694bf7325825ba4ca20f226bca378332955ea19e63262d5",
"@img/sharp-libvips-linuxmusl-x64@npm:1.2.4": "876e3bde360cc6966bc3a703dd316f570b031085722c9c8bf27bb31050e30c8a10ef4a8fe2e66fefa0f4482db62044c47a1df25874c6330467e12a6983bb32d2",
"@img/sharp-linux-arm64@npm:0.33.5": "03d77e1f4e85fe34a0e4262fb0a0d9db6fc34f889f2e20ca69b809c94db487f8d6c02aea410b12ee4b79da5dcc717f94ce4fabfbb7838e6d99597dc206ccd0a2",
"@img/sharp-linux-arm64@npm:0.34.5": "933c217e432ae7280bee1ef2bc0b5f3225b5ff3cfed19c25607ed7ed909b16cfa4a59c14089dd020e9b789ffd544df09e9b471281a049c926cd337509fa35241",
"@img/sharp-linux-arm@npm:0.33.5": "8b33046a907d89026514515c69aa58e40b42defceddba4b1fd452bf62f34e9d2acd7c53661c014b966120ba94d25bac9d694642373f79de187cad9f90c71398b",
"@img/sharp-linux-arm@npm:0.34.5": "c20e85339d0e4e2116094293d9c1171407faa7a7b60d579cdc4af06d7b2ad4ff4976374593a2e525a08df4fc9df0dd9e80822a38764f07bc8d63e8d988ffa165",
"@img/sharp-linux-ppc64@npm:0.34.5": "8ded427067577bdd686534a0db30833d43b0c232c17d232d6608f0635f364241a6078ccdbbf54f5a48b773c95a05906a5ba20cc589c86959eb0e6329902c7cb4",
"@img/sharp-linux-riscv64@npm:0.34.5": "764ff0baa4275a4fd9376012893ca64b6cde601a208be216d38e2c6db3977d6f3e91e12342c7cb1cd3038b7108f8778bcfba85afaf097689907a4b932e79dc7a",
"@img/sharp-linux-s390x@npm:0.33.5": "d8597a3e1690959e51de0bfdfc3b21148dec6428e213eeaeb5515246ca0ee5b798ba1bf84168a0586549ac4732ffc8bbaa8ffdfad2565f8fdbb7cce97f0c51ca",
"@img/sharp-linux-s390x@npm:0.34.5": "a4e7cae17ebf95dd53e9dd845ae3e73c783f6c7da4a5aeddf7922dda09822c55327e892d2c8888dba097e666b97254b04df3cca99aeb9eb9fc57d73b20cc6b86",
"@img/sharp-linux-x64@npm:0.33.5": "822b4c2f84755ba4bc9ddf309c09bab73e7d14efda964b13ff765027e745448770f35333c9912492e724ae050e9d39d5436856a2d651aec435927b213bf2c14c",
"@img/sharp-linux-x64@npm:0.34.5": "2f4fc06e1d3544bf41296f2776b531d5aa0ab618e129cd928514a803e4a01202b8453c0321f7999619033c687571a7f50da454ff5ca04d41f31a7796a38e9a8b",
"@img/sharp-linuxmusl-arm64@npm:0.33.5": "cac8f10f634d9b0432389b35e47b30770a7b3f18c001bd47ca6b46e3ee80d1107a1525f8869b3d0657d4469fa1fc93b3464c0a7cbc70a48ab1317216e7ec8d20",
"@img/sharp-linuxmusl-arm64@npm:0.34.5": "2bd993173f42ab72df423f968b28cbd037e82f78cd469c3b6a7f4317e164f41f04cb9b106e35337e392a1fc4848aece67f0a765b346691133d7ad71146ef97ea",
"@img/sharp-linuxmusl-x64@npm:0.33.5": "17060fe2130b2a1f66ad57c31cc55b5321dc6fe2616980631f6f69a7cc841d408caa991aeb4f3aebf436a1824f6a675449dceb50b5441fe15b4aadb7e2b91b8b",
"@img/sharp-linuxmusl-x64@npm:0.34.5": "00a5c641a144ad177d3ece569da6c05d891ab6a5c6e0f0f7ef4f74ab132c72f20b07927e5ae9c9afe090d44cf36be2170b4dc1831d0976533c693091995bb486",
"@img/sharp-wasm32@npm:0.33.5": "90cf7629aaec6a32f33523a48c784cff3c8981c14607f3b750db82059571962a68b862efac59c87758ed3d35c8a82790cef731c6cc2ac7fae4bd92df17e67cd2",
"@img/sharp-wasm32@npm:0.34.5": "7c1ed71bd821c1ddb2aac32f128d4b173af97a33274f9e386c49ccedc31bd273ae0bf564626f068a61c8bb0de1f84a4b9211c7fd79a62d8170479a1887bc935c",
"@img/sharp-win32-arm64@npm:0.34.5": "07146b037ae4cdc7592b983bcee7b1c0199fa0fe14f9e3430a8ec6c46c056ba9bca0ee89d18e1aac4f43331dcaf464fe82bebf34e08d5bd1541ebd2d6345e518",
"@img/sharp-win32-ia32@npm:0.33.5": "fed0090aa909b8f20bf8bffba3f23c3c64b11ce9d765661b9a1e7f073c39662e26d85c65355fc41dc7c645c4f12f126d597c5f897a934d248c75e058f2db9a4d",
"@img/sharp-win32-ia32@npm:0.34.5": "d5887234959a32c9072043e8f14589ceec867f9fb0b440a5849750c2f0e79614962f566c44763ce560c52cd1e0d086ffac6299f91711477f1316d83f8b2151c1",
"@img/sharp-win32-x64@npm:0.33.5": "6355e896790b1a97628884e7aca731edab9cb17faa58084d6dccdabfd1d7030eaed9dce337fa7dc0db1a6f72cda23405da666ebb623fe646be501c46dc4a6237",
"@img/sharp-win32-x64@npm:0.34.5": "e10ab4421a46eecab0af903761679f27f91dde01ed4d533af4d77101d17e4f16b28628e91bbbcae63ec051606103f3cde21fd5055330130217277cb13242e7af",
"@parcel/watcher-android-arm64@npm:2.5.1": "e9c94ede3bd5c5d999d117d22ac8032a17f8ebc72db3eff04ccb2b4e6718db19f24bf29a66a610e03f4ee95e2cd7b2d30c15b1845eb897b971fec75dbdd76141",
"@parcel/watcher-darwin-arm64@npm:2.5.1": "0cab55a55c128ac5742388fc8dbfeb9877018509943801ce8a52b57bb6dca24189d025d38684b1e482cb7816368a52c6434dfe45d3997e2fd2509276f48774ea",
"@parcel/watcher-darwin-x64@npm:2.5.1": "bf07b8ca9a435fb885fb0ca6565204d2f2098d7f632faf26a6478bb39f538c73b50afca17c193dc189a80a864d85e40f924ec7f21a0e7ad7d0de6f97f7154134",
"@parcel/watcher-freebsd-x64@npm:2.5.1": "9f62b9da08e98bffb7cf91b557af209586e1d7dd654c56c5a58fc4b0bb61a9bb318116ed0048416d3341d3434b1fb3089bf6cfbfcd08e61333917bc59e691c1d",
"@parcel/watcher-linux-arm-glibc@npm:2.5.1": "07a55a0050e913c9781d009a05b3a0a49c77c2679ae9f98b2374a7e17c5401e2076a776c7bec88de58c71fef040c89aa97176dfa28a03abf8754e18e8d1109b4",
"@parcel/watcher-linux-arm-musl@npm:2.5.1": "f9cab0efa652276fb4bcb58845c9606f7aead1ec81f7c4ce2d237eec754bbd3101682c735b6a371dccf93f16fcfe0ea1beef5d43eb39e4505df7f29b73ea0004",
"@parcel/watcher-linux-arm64-glibc@npm:2.5.1": "ce22f303187aa03fa9d1f9609d2cd56cce6b62f0a60f14a65449adc25b7072d06118d956eb7ebb548210cf2d120cf5e987abe34e6515a5bfbd35b15643f40142",
"@parcel/watcher-linux-arm64-musl@npm:2.5.1": "7a0b32b7b784fe3e594452b6642adc3bb4ad78eae526f5e4c7cf061f428eef2e05e827334806cd230bc873903abb1f70886716a0353e653b3b784f09d2237956",
"@parcel/watcher-linux-x64-glibc@npm:2.5.1": "a6241bb57c409ab56ef944e8d64e057817f41a9335047d1e252aab4e4b10f64d8bc2620ae5c761b71551f3c4b494edd687a08c274a46ca2eb84ad34f6f4de9c0",
"@parcel/watcher-linux-x64-musl@npm:2.5.1": "a68cfcd10a50906ab228d7b906eced68faf6a42a29da5506d24d0dd91b9593a61605b91749d9b1e3ed9f257b845f48ba3df62572e40b4ff1f724d879865b225a",
"@parcel/watcher-win32-arm64@npm:2.5.1": "0f467a731cf9403b8bc7d35418d991596cf5e7898029796b4c769bcbb38cd07ae6ec05ef0f19298e5f11e73ec5198bc474d79b056bdfbaea513525725103d7dd",
"@parcel/watcher-win32-ia32@npm:2.5.1": "9ab5f3e9849a6077c8c2aba7bdf9030dea38f0ab9180792ecd30094520cddf16f3b68006f666845b86c5ef0e05c648364475c9ba151e0269561891ca3e276667",
"@parcel/watcher-win32-x64@npm:2.5.1": "e588d87d5b892484d252ac8e1ec3f4bf7a664d91f0d03dd93764be8db2c35f81879275908dcbec42b0e43bc99c7afdfd29fe687ec022bb2c8c4bc7edd29eaa15",
"@rollup/rollup-android-arm-eabi@npm:4.54.0": "decffa63d62dd35bdb26d8d0b1a74335b4202bc987203d5479a1a5b9db6920ddf4509a6fc1b13acaf9ecb72bb6ae9dd4546c52eef15b6306782ee639e553a345",
"@rollup/rollup-android-arm64@npm:4.54.0": "7031d838022e6b7a29d7e7f9dd1246f02630860bb2befd12e82710f93563c394b6c975630124659e1468231bccea4bb64f10f113391ef6e48eed9ac639e03d42",
"@rollup/rollup-darwin-arm64@npm:4.54.0": "9084277827c93f26e24fb9e47102364c9c0b42ec995124d4b7247c0369e45e55fc59af9721cd1c43eece57e0be4d2477cc108ae815e7711f8c5b8c516b0fbfd1",
"@rollup/rollup-darwin-x64@npm:4.54.0": "fb5a1f2f2e1a741cf15704c30a8a6eea8a8fe6c1b660f727046f2144e8976451f228761a53a5da64e65c20f5d20a70e3c0ceb40375383ec39bdc8ad2e38afc9d",
"@rollup/rollup-freebsd-arm64@npm:4.54.0": "972694e21dc228bada7966e6b5725f432cd6110067fe8267e0b5c927c4c2b465d071fac5b470084d76140b79a6d6727ec75eda66a3741869d585c4d8dd9e4a96",
"@rollup/rollup-freebsd-x64@npm:4.54.0": "93ee0dabcab1a48b0be3ced6ad06bc3005a351ab9630a46610d3127d36ca1a62896b8a507e565e54c9eee0ac4c462e74fe723b180b81bd7e8f5097c7eb00a69a",
"@rollup/rollup-linux-arm-gnueabihf@npm:4.54.0": "ac6795d6964fb63520608133b23e316041f30d96b2ab942761da6b403c113776b624bbe3b505ecc9a1d4c5867939fb1a73b63ff2790fd5b30ae4cc9784f5741d",
"@rollup/rollup-linux-arm-musleabihf@npm:4.54.0": "92192958aa6eb42e0bec35de1951909be38551cddb205ac3f374d679e5881e621a68cc2f918b66d2c3aec911f2515a7fb990dc29c1b4fadfe7bdb5b471d43f0b",
"@rollup/rollup-linux-arm64-gnu@npm:4.54.0": "71f11e6784898d6dbb838d4627361294557d176365bdfa203e614ddbb426a82c1b5fc421a963c32bd0e21466cfc029a853da1300934af64c7603d9ebf8225b51",
"@rollup/rollup-linux-arm64-musl@npm:4.54.0": "731ee5b23b73a45f81e73fd282961ad729f0967d2ff8c7b91f215e7cda89c77572419a63cf4bb200b161e0a4943eab66f29d9da13fa447dbf884cc7803839ee1",
"@rollup/rollup-linux-loong64-gnu@npm:4.54.0": "f94d4ac7df23b13e8a06e1ef35397c270ccf51e8b076ef0b83642c035f3ce4f07a9e2bbc27d21f7317f95426f08f89a95ca2c68d54cc34f5ae4fbac574def324",
"@rollup/rollup-linux-ppc64-gnu@npm:4.54.0": "5fe4f115fa1b2c8c6f5003edbc2daef0d5088d61f8035920729989aae38ad2dc9b13f544eb6d0c584428d277dbabe0cc4a870c0f5e9e5ed4dc4ceeae5c5cc947",
"@rollup/rollup-linux-riscv64-gnu@npm:4.54.0": "3a42d799a0996b9b38c0ae806f516fa27fc30ff620794bf460e5879e7a1b4b2f1545a6dda7e5c6dc773998763382cdeb1ac2123742f280abf16ff031c01b84cd",
"@rollup/rollup-linux-riscv64-musl@npm:4.54.0": "9e1ff8459d09f7aab892aa3a45b88098336ef9cfb9d80f1f564f648400dace91a345378237e7c0139f87a425ffc367fcc7c8f1c7120c85e44664c1ab43fca5e5",
"@rollup/rollup-linux-s390x-gnu@npm:4.54.0": "cf69118bb9551d614494089a58600299abb9cac927d7e4d510c216f6df962f792a8abec1526cbd7cb1ae2e054030f049f123270cf16a68668833fa99a623a1a0",
"@rollup/rollup-linux-x64-gnu@npm:4.54.0": "ff40bd306fd3f8589468c31ea9a391c50832971567fbd3c2f932754500dee7380276a98e5c370143aad5e9a8e491d070e523449931b0bd882d574fbd0faf22fc",
"@rollup/rollup-linux-x64-musl@npm:4.54.0": "c9e24edc69d66afa58e852ad0e0890b15153ecda9a2ee230e8d2b16688fe8050541aba85474d1522f064765784efea4c56d4094673a7797d1495eca651452815",
"@rollup/rollup-openharmony-arm64@npm:4.54.0": "5aa3df94a66f1887311c3a8b7710ae51c54b4191954870a931b5e4eed246ca4d2513378770c9e120b726df6a4e165526aa45cce57a35f1208f42e31abafff38a",
"@rollup/rollup-win32-arm64-msvc@npm:4.54.0": "4f161b3f02835ac5aa5d23312403552aa335f69f3a9f2ff8cf476a702d330aa815fe23c1745c2cd7a8516fb31bd0058df650f1eb6246b0bc4a1315afc1d45c02",
"@rollup/rollup-win32-ia32-msvc@npm:4.54.0": "ebfdb21a07447bddd64a4e06947b5a747a796f888ae9ac13019f58cc943f72ab10c6d87e7bbe6bb5135b71392c757a4c0daeb034af8f0a4be33659d4a7cee92c",
"@rollup/rollup-win32-x64-gnu@npm:4.54.0": "bac45fe931be6474e52eaa7cb0ad249fb16deac4bb84eed0f1da40e4071cd176f689235b79f343a50e8fe6312bffe0d4328900f1a5fb0b20b4601da4779f05df",
"@rollup/rollup-win32-x64-msvc@npm:4.54.0": "fb67bac7c9a08fc9802b6bea292ac352a32ed66c30459b838599d704ba49b506a1f20c65acd81629867c922eaca33211730a79dd7627bee903e3f142cffce9bc",
"@swc/core-darwin-arm64@npm:1.15.4": "55f4601bf5c1ab2b6aadbd6cbb41e42a68f2bf5d2416f31134060f19f921883678b1dd10612a01e49ff748f79da6791d2fbb41f3c8ed16c516556ad363310844",
"@swc/core-darwin-arm64@npm:1.15.8": "4458d26f6682bdbf88565d548a04f6e8ed81ea05691204703a511adf4d4ef1889883da727349b5e492b2e53a4f2969fd06ea34f84e32cc5a963ac25194d6caa1",
"@swc/core-darwin-x64@npm:1.15.4": "2c57b7bb5c250458ee2d6e7ff43b5c4ea541347a1ad900044a22c9a328a6cb771e1e41715d1d07c683cd3f7dc007622d05725793fce2b53b70fbbc87727c89e9",
"@swc/core-darwin-x64@npm:1.15.8": "4075f73359b4cda8d7bcc68a636fbff60db3dea0ef4813b7e1a5ebdaa2c1197b4f888f7565a411f77ee5e8fe2398e3f1c27dfe06b2b087e7004009aeefac2019",
"@swc/core-linux-arm-gnueabihf@npm:1.15.4": "cde521b23e53ab61d9dff41f4d36d210affaeda2b362726fb09f4f5b52c8d62c28f16b64d8d7a0b67dd9a7fc5858b0ae43c0b2ad3e92f8f3d53fcfbea826d1ea",
"@swc/core-linux-arm-gnueabihf@npm:1.15.8": "6b82976fd35007ac7be41a7d8529dbb0c93bfa858e532c6a8d3fd899c41ecc9976fa40746f6005cd48d82340fcdf0a426296bef248ac7b77334c3744141fa823",
"@swc/core-linux-arm64-gnu@npm:1.15.4": "cf582a0c8b20688afc37801b08b1e062f394feb89561d5f0400cbdc01184828c06581d9e996685601fdffe149f57a55d43f55d034893a7fac3842d654d431463",
"@swc/core-linux-arm64-gnu@npm:1.15.8": "ed3a8f363bc589886d44db58dabe6d53ce23d2cb8fe93a80fd05dd1ff46ebf438d2f1d38cf4144f4d5b89504dc73d15bd84540ac23b20d4aeb4f463de99c416a",
"@swc/core-linux-arm64-musl@npm:1.15.4": "bcbf617fdcd8cb9d3bd74f459a3bac3ec81ab8f0ece3f3a539bf660b953e55faf3e291d7bd7a2b1f8950b630856e1fef41a3c8210f2950865f999ecbb2fd16a9",
"@swc/core-linux-arm64-musl@npm:1.15.8": "b063f086e3e92f622fd8fb1585bf0cf0b49eb910361844a4bdb0d0165fdb906fe53051cfbcd92ccfcbfb13ae6c0d85f2c12e373a01df5a4136b513ae94d7f626",
"@swc/core-linux-x64-gnu@npm:1.15.4": "0bd748a2e119e34f4934d2c3423f6471b85ced20383f0ba567f53cceda0f3681423c2cbf7dbcf7148e57b181224174856a5fe677e294ec2ac1188387152ffc58",
"@swc/core-linux-x64-gnu@npm:1.15.8": "7028720f8aa475896f0468dcd77cc2512362082357e4e89d6e31ec559c87d25f0f9d7fc1702d59766217ea4ee7cfc0d1de817fde56958537f8f3ed9259673b55",
"@swc/core-linux-x64-musl@npm:1.15.4": "8a9a3f1f4109a4747335f24853ee54c55e029819aa23ea8a0297073ee363e5cc8f63c4a5938bee4753f4fd4290b8903e3b37026465c3fc473bc13449893c28ba",
"@swc/core-linux-x64-musl@npm:1.15.8": "be913db41e70ae8b9553a759f7a9cc80e50c4f521f058672471a182938c3789605c2122c77c32579d2b739ba4f91fa7e8beb8be31f87858e9b52e199c6644e0c",
"@swc/core-win32-arm64-msvc@npm:1.15.4": "ecf64654b4c9f0cce6644976c70dc8ef35ac60b8386eb63b50d36bb64c09d6d003b26c6bef8b4cc2a262eb76877ff2b378f630746d731a8f0f3473c9b38e8059",
"@swc/core-win32-arm64-msvc@npm:1.15.8": "7047d7250e10577921b9250985c8e4408767fca73963b594f1e747f64e77eb5e2a4d2067a58debca9d33b2fd69385fd56410d5dca0e15bb6957aec9475909809",
"@swc/core-win32-ia32-msvc@npm:1.15.4": "872338382531493403bc1ef57c8b9c390b5017ec875525e0d29aecf6cad342c7113571529ffc7f37fa3b23e691bba421444f472221e91b716353fcd5e8e8b000",
"@swc/core-win32-ia32-msvc@npm:1.15.8": "4992c3c2fe8fc0dd870319080b806e965278a07d23d0463b16b2c95d0299c0b2e03a1b7bb84c7da41002556b8a71f86b721037e743648321c2186d68bd2b4e32",
"@swc/core-win32-x64-msvc@npm:1.15.4": "4cb21d5da230c820fe759fac1bb3cfa33bb9ab29eafe5951fc3f31c65e26d895f6085b660c2649747ca81e37c3abeff4de016e23479723a5d1e57c5dfca743fc",
"@swc/core-win32-x64-msvc@npm:1.15.8": "4faf5a9cbbe7e7afc038aa26ec658e41614c06116265be1a938e91839b027e1a847a0a767d9821165693f84fb98700032ad92830fee875164b672ac2024a035f",
"dmg-license@npm:1.0.11": "36c0a7b030801b91216affa9b2bb00caa345b2327f298accb2263a80a0320ca305f90b99da68007d187c830c543410d58a0a2bbc229e8d169b0e1d1652ff42aa",
"iconv-corefoundation@npm:1.1.7": "0189733ef51a9f481379202cb1919f2677efc44aa014ba662a6fd99e47993e350eab0ff724ed18cda8011c9b78c4702b2d374f732955f1def3fd2a14a29d25c0"
}

View file

@ -0,0 +1,186 @@
{
lib,
fetchFromGitHub,
stdenv,
yarn-berry_4,
nodejs_24,
electron_39,
makeWrapper,
ffmpeg-headless,
copyDesktopItems,
makeDesktopItem,
imagemagick,
nix-update-script,
}:
let
yarn-berry = yarn-berry_4;
nodejs = nodejs_24;
electron = electron_39;
in
stdenv.mkDerivation (finalAttrs: {
pname = "losslesscut";
version = "3.68.0";
src = fetchFromGitHub {
owner = "mifi";
repo = "lossless-cut";
tag = "v${finalAttrs.version}";
hash = "sha256-LNh9F2aKxVegZTAPuEAqo2f78ynGMgnpwnDXEP1u2+M=";
};
patches = [
# fixes a few things that try to guess whether it's a dev build
./undev.patch
./yarn-4.14-support.patch
./disable-update-check.patch
# LosslessCut will retrieve a URL from mifi.no (the author's domain) and directly embed the HTML in the app.
# This was previously used to show a Ukraine flag, which I don't have strong opinions on.
# However, this effectively allows arbitrary code execution, which could be IP-gated. I can't allow that.
# This is also a form of telemetry; a ping every time the application is launched.
# See https://github.com/mifi/lossless-cut/issues/1055
./stub-load-mifi.patch
];
postPatch = ''
for f in src/main/ffmpeg.ts src/main/i18nCommon.ts; do
substituteInPlace "$f" \
--subst-var-by losslesscut_resources_path $out/share/losslesscut
done
'';
env = {
ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
ELECTRON_OVERRIDE_DIST_PATH = electron.dist;
NODE_ENV = "production";
};
strictDeps = true;
nativeBuildInputs = [
nodejs
yarn-berry.yarnBerryConfigHook
yarn-berry
makeWrapper
copyDesktopItems
imagemagick
];
desktopItems = [
(makeDesktopItem {
name = "losslesscut";
desktopName = "LosslessCut";
comment = "simple video editor to trim or cut videos";
exec = "losslesscut";
icon = "losslesscut";
mimeTypes = [
"video/mpeg"
"video/x-mpeg"
"video/msvideo"
"video/quicktime"
"video/x-anim"
"video/x-avi"
"video/x-ms-asf"
"video/x-ms-wmv"
"video/x-msvideo"
"video/x-nsv"
"video/x-flc"
"video/x-fli"
"video/x-flv"
"video/vnd.rn-realvideo"
"video/mp4"
"video/mp4v-es"
"video/mp2t"
"application/ogg"
"application/x-ogg"
"video/x-ogm+ogg"
"audio/x-vorbis+ogg"
"application/x-matroska"
"audio/x-matroska"
"video/x-matroska"
"video/webm"
];
terminal = false;
categories = [
"AudioVideo"
"AudioVideoEditing"
];
keywords = [
"trim"
"codec"
"cut"
"movie"
"mpeg"
"avi"
"h264"
"mkv"
"mp4"
];
startupWMClass = "losslesscut";
})
];
missingHashes = ./missing-hashes.json;
offlineCache = yarn-berry.fetchYarnBerryDeps {
inherit (finalAttrs) src missingHashes patches;
hash = "sha256-o0u9dAoo0sTEV+kjQg8TjRNAIcx8fqfk79HsDwAXriA=";
};
postConfigure = ''
cp -r ${electron.dist} electron-dist
chmod u+w -R electron-dist
'';
buildPhase = ''
runHook preBuild
yarn build
yarn electron-builder \
--dir \
-c.electronDist=electron-dist \
-c.electronVersion=${electron.version}
runHook postBuild
'';
installPhase = ''
runHook preInstall
mkdir -p $out/bin $out/share/applications
cp -a dist/*-unpacked/resources $out/share/losslesscut
ln -s -t $out/share/losslesscut/ ${lib.getExe' ffmpeg-headless "ffmpeg"} ${lib.getExe' ffmpeg-headless "ffprobe"}
makeWrapper ${lib.getExe electron} $out/bin/losslesscut \
--set-default ELECTRON_IS_DEV 0 \
--add-flags $out/share/losslesscut/app.asar \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}"
for size in 16 24 32 48 64 128 256 512; do
mkdir -p $out/share/icons/hicolor/"$size"x"$size"/apps
magick src/renderer/src/icon.svg -resize "$size"x"$size" $out/share/icons/hicolor/"$size"x"$size"/apps/losslesscut.png
done
runHook postInstall
'';
__structuredAttrs = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "Swiss army knife of lossless video/audio editing";
homepage = "https://losslesscut.app/";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [
shelvacu
ShamrockLee
];
mainProgram = "losslesscut";
sourceProvenance = with lib.sourceTypes; [
fromSource
binaryNativeCode # due to npm/yarn deps
];
};
})

View file

@ -0,0 +1,12 @@
diff --git i/src/renderer/src/mifi.ts w/src/renderer/src/mifi.ts
index c5e29bef..760da7b5 100644
--- i/src/renderer/src/mifi.ts
+++ w/src/renderer/src/mifi.ts
@@ -8,6 +8,7 @@ import { isMasBuild } from './util';
export async function loadMifiLink() {
+ return undefined;
try {
// In old versions: https://mifi.no/losslesscut/config.json
return await ky('https://losslesscut.mifi.no/config.json').json();

View file

@ -0,0 +1,51 @@
diff --git i/src/main/ffmpeg.ts w/src/main/ffmpeg.ts
index 3e2e71c9..11da9721 100644
--- i/src/main/ffmpeg.ts
+++ w/src/main/ffmpeg.ts
@@ -50,8 +50,8 @@ function getFfPath(cmd: string) {
if (customFfPath) return join(customFfPath, exeName);
- if (app.isPackaged) {
- return join(process.resourcesPath, exeName);
+ if (app.isPackaged || true) {
+ return join('@losslesscut_resources_path@', exeName);
}
// local dev
@@ -110,8 +110,6 @@ function getExecaOptions<T extends ExecaOptions>({ env, cancelSignal, ...rest }:
...rest,
env: {
...env,
- // https://github.com/mifi/lossless-cut/issues/1143#issuecomment-1500883489
- ...(isLinux && !isDev && !customFfPath && { LD_LIBRARY_PATH: process.resourcesPath }),
},
};
return execaOptions as T;
diff --git i/src/main/i18nCommon.ts w/src/main/i18nCommon.ts
index 431eb396..2c96a93f 100644
--- i/src/main/i18nCommon.ts
+++ w/src/main/i18nCommon.ts
@@ -16,8 +16,7 @@ export function setCustomLocalesPath(p: string) {
function getLangPath(subPath: string) {
if (customLocalesPath != null) return join(customLocalesPath, subPath);
- if (app.isPackaged) return join(process.resourcesPath, 'locales', subPath);
- return join('locales', subPath);
+ return join('@losslesscut_resources_path@', 'locales', subPath);
}
export const fallbackLng = 'en';
diff --git i/src/main/logger.ts w/src/main/logger.ts
index 80355d78..2536d83d 100644
--- i/src/main/logger.ts
+++ w/src/main/logger.ts
@@ -28,7 +28,7 @@ const createLogger = () => winston.createLogger({
),
});
-const logDirPath = app.isPackaged ? app.getPath('userData') : '.';
+const logDirPath = app.getPath('userData');
export const logFilePath = join(logDirPath, 'app.log');
const logger = createLogger();

View file

@ -0,0 +1,13 @@
diff --git i/yarn.lock w/yarn.lock
index 1e4550e7..6a2e770c 100644
--- i/yarn.lock
+++ w/yarn.lock
@@ -2,7 +2,7 @@
# Manual changes might be lost - proceed with caution!
__metadata:
- version: 8
+ version: 9
cacheKey: 10
"7zip-bin@npm:~5.2.0":

View file

@ -287,6 +287,7 @@ stdenv.mkDerivation (
'';
homepage = "https://neovim.io";
changelog = "https://github.com/neovim/neovim/releases/tag/${finalAttrs.src.tag}";
donationPage = "https://neovim.io/sponsors/";
mainProgram = "nvim";
# "Contributions committed before b17d96 by authors who did not sign the
# Contributor License Agreement (CLA) remain under the Vim license.

File diff suppressed because it is too large Load diff

View file

@ -20,19 +20,19 @@
stdenv.mkDerivation (finalAttrs: {
pname = "netease-cloud-music-gtk";
version = "2.5.2";
version = "2.5.3";
src = fetchFromGitHub {
owner = "gmg137";
repo = "netease-cloud-music-gtk";
tag = finalAttrs.version;
hash = "sha256-3vAEk4HwS7EiMv0DAYOvZ9dOlO0yMEUcaO2qCCWlpLs=";
hash = "sha256-yZOCUoAee2XSfO87SzTBjkZ4r2YzVC7mpqYULV5JPRE=";
};
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
outputHashes = {
"netease-cloud-music-api-1.5.1" = "sha256-PFzXm7jgNsEJiluBaNuhSF0kg/licDdbItMDWmfIBDk=";
"netease-cloud-music-api-1.5.2" = "sha256-7j5MLC++MPyuRvJRiUMWPV7OxWM2H+RD/hChuco3UTE=";
};
};

View file

@ -25,13 +25,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "nocturne";
version = "1.1.1";
version = "1.2.1";
src = fetchFromGitHub {
owner = "Jeffser";
repo = "Nocturne";
tag = finalAttrs.version;
hash = "sha256-7B9wtuxfsF6brtLkIEeWII4IvXwdJHnZ1Wr3uLfoqHU=";
hash = "sha256-CfrPmpkjcmKMB66kdFL4HqVukaIWAkIzOkwtBqZ65k4=";
};
__structuredAttrs = true;
@ -88,6 +88,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = {
description = "Adwaita Music Player and Library Manager";
homepage = "https://jeffser.com/nocturne/";
changelog = "https://github.com/Jeffser/Nocturne/releases";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ pbsds ];
mainProgram = "nocturne";

View file

@ -19,22 +19,16 @@ let
in
rustPlatform.buildRustPackage (finalAttrs: {
pname = "npins";
version = "0.4.0";
version = "0.4.1";
src = fetchFromGitHub {
owner = "andir";
repo = "npins";
tag = finalAttrs.version;
sha256 = "sha256-ksOXi7u4bpHyWNHwkUR62fdwKowPW5GqBS7MA7Apwh4=";
sha256 = "sha256-XzJaDf5tlrYGTMJ+eS9hH9l79S4JA8h2KfbvKHF14xY=";
};
cargoHash = "sha256-A93cFkBt+gHCuLAE7Zk8DRmsGoMwJkqtgHZd4lbpFs0=";
buildNoDefaultFeatures = true;
buildFeatures = [
"clap"
"crossterm"
"env_logger"
];
cargoHash = "sha256-Fiku3UULsm6HL1skjJA/UiW9VRFRWbnXULQFBiVDCJ0=";
nativeBuildInputs = [ makeWrapper ];
@ -50,6 +44,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
mainProgram = "npins";
homepage = "https://github.com/andir/npins";
license = lib.licenses.eupl12;
maintainers = with lib.maintainers; [ piegames ];
maintainers = with lib.maintainers; [
piegames
coca
];
};
})

View file

@ -130,6 +130,10 @@ stdenv.mkDerivation (finalAttrs: {
# can probably be re-added once https://github.com/cyrusimap/cyrus-sasl/pull/772
# has made it to a release
rm -f tests/scripts/test076-authid-rewrite
''
# FIXME: revert after this gets unconditional above (on staging* branch)
+ lib.optionalString stdenv.hostPlatform.isi686 ''
rm -f tests/scripts/test*-sync*
'';
doCheck = true;

View file

@ -137,6 +137,8 @@ stdenv.mkDerivation (finalAttrs: {
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
(lib.cmakeBool "CMAKE_MACOSX_RPATH" false)
(lib.cmakeFeature "CMAKE_INSTALL_NAME_DIR" "${placeholder "out"}/lib")
(lib.cmakeBool "CMAKE_BUILD_WITH_INSTALL_NAME_DIR" true)
];
strictDeps = true;

View file

@ -2,7 +2,7 @@
lib,
buildNpmPackage,
copyDesktopItems,
electron_39,
electron_41,
fetchFromGitHub,
jq,
makeDesktopItem,
@ -15,17 +15,17 @@ let
description = "Unofficial desktop application for the open-source design tool, Penpot";
icon = "penpot";
nodejs = nodejs_24;
electron = electron_39;
electron = electron_41;
in
buildNpmPackage rec {
pname = "penpot-desktop";
version = "0.23.0";
version = "0.23.1";
src = fetchFromGitHub {
owner = "author-more";
repo = "penpot-desktop";
tag = "v${version}";
hash = "sha256-2thLD8ECfHZMD3Yw/lQgnCqqEGxCE1AXsHGP9JKof+Q=";
hash = "sha256-/vRF5eqtjdmd2Qmb+OAgKfLJmh78S0WrLWA94SeOJQA=";
};
makeCacheWritable = true;
@ -33,7 +33,7 @@ buildNpmPackage rec {
"--engine-strict"
"--legacy-peer-deps"
];
npmDepsHash = "sha256-uyt9gmmytDwSCnXk9HUBwJoPMcqMt2wLwHHmY2Kx0yk=";
npmDepsHash = "sha256-hu2v2Dw2SRs4Egmsi5hb81vgnZDjQahLXyAYm/uaMao=";
# Do not run the default build script as it leads to errors caused by the electron-builder configuration
dontNpmBuild = true;

View file

@ -0,0 +1,33 @@
From 94fafae651077be5e7a6dfd29fc06327a2f218ed Mon Sep 17 00:00:00 2001
From: ppom <reaction@ppom.me>
Date: Thu, 28 May 2026 12:00:00 +0200
Subject: [PATCH] nftables: fix compilation on aarch64-linux
---
plugins/reaction-plugin-nftables/src/nft.rs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/plugins/reaction-plugin-nftables/src/nft.rs b/plugins/reaction-plugin-nftables/src/nft.rs
index c234f77..2ac49df 100644
--- a/plugins/reaction-plugin-nftables/src/nft.rs
+++ b/plugins/reaction-plugin-nftables/src/nft.rs
@@ -1,5 +1,6 @@
use std::{
ffi::{CStr, CString},
+ os::raw::c_char,
thread,
};
@@ -71,7 +72,7 @@ struct NftCommand {
ret: oneshot::Sender<Result<String, String>>,
}
-fn to_rust_string(c_ptr: *const i8) -> Option<String> {
+fn to_rust_string(c_ptr: *const c_char) -> Option<String> {
if c_ptr.is_null() {
None
} else {
--
GitLab

View file

@ -4,6 +4,7 @@
callPackage,
rustPlatform,
fetchFromGitLab,
fetchpatch,
versionCheckHook,
installShellFiles,
@ -13,17 +14,22 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "reaction";
version = "2.3.1";
version = "2.4.0";
src = fetchFromGitLab {
domain = "framagit.org";
owner = "ppom";
repo = "reaction";
rev = "c0868d6fe1d155de183a89729b5f3f0ede7be4a2"; # TODO: return to tagged release
hash = "sha256-QlSXZ2Wk1OXzAY2x6YjtW+xNchY+Ghb/6AsJgjfgoFE=";
tag = "v${finalAttrs.version}";
hash = "sha256-Y6scgbcwhg56SQ1DefNtdja+n89Gc5bJUHKHKn2EYwQ=";
};
cargoHash = "sha256-FYd7I93MAAzD6y0VMd9kMU7DAgS6v5CKt2KjrskaKeo=";
patches = [
# nftables: fix compilation on aarch64-linux; remove in 2.4.1
./nftables-aarch64-linux-compat.patch
];
cargoHash = "sha256-NAcMpASvphAqjBjbAPWLG5qZbSgdaFC3GvU25exCS3g=";
nativeBuildInputs = [ installShellFiles ];
@ -66,7 +72,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
passthru = {
inherit (callPackage ./plugins { }) mkReactionPlugin plugins;
updateScript = nix-update-script { };
tests = nixosTests.reaction;
tests = {
inherit (nixosTests) reaction;
}
// finalAttrs.passthru.plugins;
};
meta = {

View file

@ -12,7 +12,12 @@
rustPlatform.buildRustPackage (
{
pname = name;
inherit (reaction) version src cargoHash;
inherit (reaction)
version
src
patches
cargoHash
;
buildAndTestSubdir = "plugins/${name}";
meta = {

View file

@ -10,21 +10,16 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "sandhole";
version = "0.9.4";
version = "0.9.5";
src = fetchFromGitHub {
owner = "EpicEric";
repo = "sandhole";
tag = "v${finalAttrs.version}";
hash = "sha256-nACjMd1GGfopXTqkkJP3zOnFGqB4TeuJCoQWZXSnBiA=";
hash = "sha256-l+9DcqAxrrjLxs/7KxY6QlfIAlwMVjQztt4lgJJMsyI=";
};
cargoHash = "sha256-n3VoLQP6jmYJvo/6GRXaB/u9XfewlOOt/zKD9YbCQzU=";
# All integration tests require networking.
postPatch = ''
echo "fn main() {}" > tests/integration/main.rs
'';
cargoHash = "sha256-euWvpEjSW2JeDysBul5eR4M27LwkRSZDlsp57lMBpAE=";
nativeBuildInputs = [
cmake
@ -34,11 +29,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
strictDeps = true;
useNextest = true;
checkFlags = [
# Some unit tests require networking.
"--skip"
"login"
];
# Skip tests that require networking.
cargoTestFlags = [ "--profile=no-network" ];
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
@ -54,6 +46,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
license = lib.licenses.mit;
mainProgram = "sandhole";
maintainers = with lib.maintainers; [ EpicEric ];
platforms = lib.platforms.linux ++ lib.platforms.darwin;
platforms = lib.platforms.all;
};
})

View file

@ -0,0 +1,8 @@
{ python3Packages }:
(python3Packages.toPythonApplication python3Packages.slothy).overrideAttrs (old: {
__structuredAttrs = true;
meta = old.meta // {
mainProgram = "slothy-cli";
};
})

View file

@ -0,0 +1,69 @@
{
lib,
rustPlatform,
fetchFromGitHub,
makeWrapper,
nix-update-script,
pkg-config,
pam,
wayland,
libxkbcommon,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "veila";
version = "0.4.0";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "naurissteins";
repo = "Veila";
tag = finalAttrs.version;
hash = "sha256-SrYG5rvywiPEfIjTbZfXOlXqnmdn0fZcOR16fxHJ0Ns=";
};
cargoHash = "sha256-jcZ33dJwvK94YqMFpXb9QXURjtOGrY4QdZh0I9LTwUU=";
nativeBuildInputs = [
makeWrapper
pkg-config
];
buildInputs = [
pam
wayland
libxkbcommon
];
cargoBuildFlags = [ "--workspace" ];
postInstall = ''
pushd assets
for assetDir in fonts icons systemd themes; do
find "$assetDir" -type d -exec install -d "$out/share/veila/{}" ';'
find "$assetDir" -type f -exec install -Dm644 "{}" "$out/share/veila/{}" ';'
done
popd
wrapProgram "$out/bin/veila" \
--set VEILA_ASSET_DIR "$out/share/veila"
wrapProgram "$out/bin/veila-curtain" \
--set VEILA_ASSET_DIR "$out/share/veila"
wrapProgram "$out/bin/veilad" \
--set VEILA_ASSET_DIR "$out/share/veila" \
--set VEILA_CURTAIN_BIN "$out/bin/veila-curtain"
'';
passthru.updateScript = nix-update-script { };
meta = {
description = "Screen locker for Wayland compositors";
homepage = "https://naurissteins.com/veila";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ naurissteins ];
platforms = lib.platforms.linux;
mainProgram = "veila";
};
})

View file

@ -314,6 +314,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = {
description = "Cross-platform media player and streaming server";
homepage = "https://www.videolan.org/vlc/";
donationPage = "https://www.videolan.org/contribute.html#money";
license = lib.licenses.lgpl21Plus;
maintainers = [ ];
platforms = lib.platforms.linux;

View file

@ -60,7 +60,7 @@ in
stdenv.mkDerivation (finalAttrs: {
pname = "wireshark-${if withQt then "qt" else "cli"}";
version = "4.6.5";
version = "4.6.6";
outputs = [
"out"
@ -71,7 +71,7 @@ stdenv.mkDerivation (finalAttrs: {
repo = "wireshark";
owner = "wireshark";
tag = "v${finalAttrs.version}";
hash = "sha256-Zvrwxjp4LK2J3QnxmPxKKrU01YHQvPyp54UWzeGNCjA=";
hash = "sha256-ysSfCLnCakxsjLKt+UxzrcPWNXiqdvTlI/1dq56lMfA=";
};
patches = [

View file

@ -28,14 +28,14 @@ let
nodejs = nodejs_22;
pname = "zotero";
version = "9.0.2";
version = "9.0.4";
src = fetchFromGitHub {
owner = "zotero";
repo = "zotero";
tag = version;
fetchSubmodules = true;
hash = "sha256-OAPgJBSBHCyuy/VPlIeNwAM87cnyuHBuaMn6QKisTcA=";
hash = "sha256-YMaDCYdCNJQ8zXfCkV5tb3RA3foXRlKo2TWv6pgk8VM=";
};
pdf-js = buildNpmPackage {
@ -213,8 +213,8 @@ buildNpmPackage (finalAttrs: {
# Skip some flaky/failing tests
rm test/tests/retractionsTest.js
for test in \
"should use BrowserDownload for 403 when enforcing file type" \
"should use BrowserDownload for a JS redirect page" \
"should use BrowserRequest for 403 when enforcing file type" \
"should use BrowserRequest for a JS redirect page" \
"should throw error on broken symlink" \
"should switch dialog from add note to add/edit citation" \
"should vacuum the database with force option" \

View file

@ -17,6 +17,7 @@
case = case: out: { inherit case out; };
in
lib.switch coq.coq-version [
(case "9.2" "1.3.2+9.2")
(case "9.1" "1.3.1+9.1")
(case "9.0" "1.3.1+9.0")
(case "8.20" "1.3.1+8.20")
@ -83,6 +84,8 @@
release."1.3.1+9.0".sha256 = "sha256-186Z0/wCuGAjIvG1LoYBMPooaC6HmnKWowYXuR0y6bA=";
release."1.3.1+9.1".rev = "v1.3.1-9.1";
release."1.3.1+9.1".sha256 = "sha256-LtYbAR3jt+JbYcqP+m1n3AZhAWSMIeOZtmdSJwg7L1A=";
release."1.3.2+9.2".rev = "v1.3.2-9.2";
release."1.3.2+9.2".sha256 = "sha256-wpl6Uxy3M2xYuBZPLdsvkvBfXqzplHRrNjyePgLi2X4=";
mlPlugin = true;

View file

@ -16,8 +16,8 @@ let
);
v4 = {
version = "4.4.6";
hash = "sha256-IM+1+WJWHuUNHZCVs+eKlmaEkfbvay4vQ2I/GbV1fqk=";
version = "4.4.7";
hash = "sha256-A/75BOHNhoal0VLJPOoQmyBHF4BIVk8iZOdM3RBU6iE=";
};
v6 = {

View file

@ -1063,6 +1063,7 @@ stdenv.mkDerivation (
No matter if they were designed by some standards committee, the community or
a corporation.
'';
donationPage = "https://ffmpeg.org/donations.html";
license =
with lib.licenses;
[ lgpl21Plus ]

View file

@ -8,6 +8,7 @@
ethernet,
ipaddr,
logs,
lru,
lwt,
macaddr,
mirage-sleep,
@ -18,21 +19,20 @@
buildDunePackage (finalAttrs: {
pname = "arp";
version = "4.0.0";
version = "4.1.0";
src = fetchurl {
url = "https://github.com/mirage/arp/releases/download/v${finalAttrs.version}/arp-${finalAttrs.version}.tbz";
hash = "sha256-C2Bh/2NwZqCJEidCnkhwRMoW3AsbQtvwdFh9IiJkDaU=";
hash = "sha256-AvjxveUgSRBNhZQvCp1oa+JfEXSIronECk4nNos8hl0=";
};
minimalOCamlVersion = "4.08";
propagatedBuildInputs = [
cstruct
duration
ethernet
ipaddr
logs
lru
lwt
macaddr
mirage-sleep

View file

@ -1,7 +1,6 @@
{
lib,
buildDunePackage,
fetchpatch,
rpclib,
alcotest,
ppxlib,
@ -14,13 +13,6 @@ buildDunePackage {
inherit (rpclib) version src;
minimalOCamlVersion = "4.08";
patches = lib.optional (lib.versionAtLeast ppxlib.version "0.36") (fetchpatch {
url = "https://github.com/mirage/ocaml-rpc/commit/678b7c0e59f6add174f2a732861be21c3e9583d0.patch";
hash = "sha256-6Vl4/C02NQ/nPn+h9I/eT86R7GLZ/C8nSqBs4Ywzhwc=";
});
propagatedBuildInputs = [
ppxlib
rpclib

View file

@ -12,14 +12,13 @@
buildDunePackage (finalAttrs: {
pname = "rpclib";
version = "9.0.0";
version = "10.2.0";
minimalOCamlVersion = "4.08";
duneVersion = "3";
minimalOCamlVersion = "4.14";
src = fetchurl {
url = "https://github.com/mirage/ocaml-rpc/releases/download/${finalAttrs.version}/rpclib-${finalAttrs.version}.tbz";
hash = "sha256-ziPrdWwCjZN0vRmCMpa923wjfT8FVFLTDRz30VIW6WM=";
hash = "sha256-N+xKTdU/yy042EZBXTpFl21aeMFTHm2HbbJDbpRxcvM=";
};
buildInputs = [

View file

@ -10,7 +10,6 @@
buildDunePackage {
pname = "rpclib-lwt";
inherit (rpclib) version src;
duneVersion = "3";
propagatedBuildInputs = [
lwt

View file

@ -20,14 +20,14 @@
buildPythonPackage (finalAttrs: {
pname = "authlib";
version = "1.7.0";
version = "1.7.2";
pyproject = true;
src = fetchFromGitHub {
owner = "lepture";
repo = "authlib";
tag = "v${finalAttrs.version}";
hash = "sha256-vy1IOhwLkETSLSSHCWEgDOq79eZW+qEU9CJOHFMrBWE=";
hash = "sha256-FLSe9piZoFlOAutzoMcgygbsJsR8uSlZWqdNBU6D+aE=";
};
build-system = [ setuptools ];

View file

@ -45,18 +45,22 @@
buildPythonPackage rec {
pname = "diffusers";
version = "0.36.0";
version = "0.38.0";
pyproject = true;
src = fetchFromGitHub {
owner = "huggingface";
repo = "diffusers";
tag = "v${version}";
hash = "sha256-bDGiY1PR3JilEzkynUGE5IwDA+bgVQWW1jpGEfftI3U=";
hash = "sha256-FyXQJh4i/m9lAD2Sz45YWc+KIFMA+xQLb3ErudO9voY=";
};
build-system = [ setuptools ];
pythonRelaxDeps = [
"safetensors"
];
dependencies = [
filelock
huggingface-hub

View file

@ -28,6 +28,11 @@ buildPythonPackage rec {
hash = "sha256-U1RSKaLw/gDg4lMjkTwR/Wfb5wqQctML9CDZBILMBys=";
};
postPatch = ''
# type inference test output expectation changed slightly (don't ask me when it started...)
sed -i 's/builtins\.//g' tests/core/functional-utils/test_type_inference.py
'';
build-system = [ setuptools ];
propagatedBuildInputs = [

View file

@ -19,12 +19,13 @@ buildPythonPackage rec {
hash = "sha256-+mviKtCLlJhYV576Q07kcFJvtls5qohKSrqZtBqE/s4=";
};
postPatch = ''
substituteInPlace pyproject.toml --replace-fail 'bidict = "^0.21.4"' 'bidict = "^0.23"'
'';
nativeBuildInputs = [ poetry-core ];
pythonRelaxDeps = [
"bidict"
"bubop"
];
propagatedBuildInputs = [
bidict
bubop

View file

@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
python,
pytestCheckHook,
# build system
@ -44,6 +45,11 @@ buildPythonPackage (finalAttrs: {
pytest-mypy-plugins
];
# expose the installed package so pytest-mypy-plugins' mypy subprocess can resolve `import obspec`
preCheck = ''
export MYPYPATH=$out/${python.sitePackages}
'';
meta = {
description = "Object storage interface definitions for Python";
homepage = "http://developmentseed.org/obspec/";

View file

@ -0,0 +1,45 @@
{
lib,
buildPythonPackage,
lndir,
or-tools,
immutabledict,
numpy,
pandas,
protobuf,
}:
buildPythonPackage {
pname = "ortools";
inherit (or-tools) version;
format = "other";
src = or-tools.python;
dontBuild = true;
nativeBuildInputs = [ lndir ];
installPhase = ''
runHook preInstall
mkdir -p $out
lndir -silent $src $out
runHook postInstall
'';
propagatedBuildInputs = [
immutabledict
numpy
pandas
protobuf
];
pythonImportsCheck = [
"ortools"
"ortools.sat.python.cp_model"
];
meta = or-tools.meta // {
description = "Python bindings for Google's or-tools";
};
}

View file

@ -3,6 +3,7 @@
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
fetchzip,
replaceVars,
@ -19,7 +20,6 @@
onnxruntime,
tqdm,
pytestCheckHook,
requests,
}:
let
@ -61,6 +61,12 @@ buildPythonPackage {
(replaceVars ./setup-py-override-version-checking.patch {
inherit version;
})
# Fix type error in Immich which is caused by passing null to Path() when model_root_dir is the default null
(fetchpatch {
url = "https://github.com/RapidAI/RapidOCR/commit/57dfac08d8de63c4c00d21a1ab14a4a3b5c01975.patch";
stripLen = 1;
hash = "sha256-G49mTvBOm20BFOll4Pc0X397ZABT1tWMXd8nlDjBr7E=";
})
];
postPatch = ''

View file

@ -0,0 +1,66 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
gcc,
llvm,
ortools,
sympy,
unicorn,
}:
buildPythonPackage rec {
pname = "slothy";
version = "0.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "slothy-optimizer";
repo = "slothy";
tag = version;
hash = "sha256-1seD/wqAyEcv5HJFO8j53ARd64fddGropA6xk0dq2yk=";
};
build-system = [ setuptools ];
dependencies = [
ortools
sympy
unicorn
];
# slothy shells out to `gcc` and the llvm binutils at runtime; extend
# PATH at import time so the library works in a plain withPackages env.
postPatch = ''
substituteInPlace slothy/__init__.py \
--replace-fail 'from slothy.core.slothy import Slothy' \
'import os
os.environ["PATH"] = "${
lib.makeBinPath [
gcc
llvm
]
}" + os.pathsep + os.environ.get("PATH", "")
from slothy.core.slothy import Slothy'
'';
pythonRelaxDeps = true;
pythonImportsCheck = [ "slothy" ];
installCheckPhase = ''
runHook preInstallCheck
python3 test.py --silent --tests aarch64_simple0_a55
runHook postInstallCheck
'';
meta = {
description = "Assembly superoptimization via constraint solving";
homepage = "https://slothy-optimizer.github.io/slothy";
changelog = "https://github.com/slothy-optimizer/slothy/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ mkannwischer ];
platforms = lib.platforms.linux ++ lib.platforms.darwin;
};
}

View file

@ -9,8 +9,13 @@
setuptools-git-versioning,
setuptools,
writableTmpDirAsHomeHook,
stdenvNoCC,
}:
let
inherit (stdenvNoCC) targetPlatform;
systemDir = "${targetPlatform.parsed.kernel.name}-${targetPlatform.parsed.cpu.name}";
libExt = targetPlatform.extensions.sharedLibrary;
in
buildPythonPackage (finalAttrs: {
pname = "wasmtime";
version = "44.0.0";
@ -38,9 +43,8 @@ buildPythonPackage (finalAttrs: {
sed -i '/^backend-path = \[/,/^\]/d' pyproject.toml
# Use nixpkgs' wasmtime instead of downloading prebuilt C API artifacts.
mkdir -p wasmtime/linux-x86_64 wasmtime/linux-aarch64
ln -s ${lib.getLib pkgs.wasmtime}/lib/libwasmtime.so wasmtime/linux-x86_64/_libwasmtime.so
ln -s ${lib.getLib pkgs.wasmtime}/lib/libwasmtime.so wasmtime/linux-aarch64/_libwasmtime.so
mkdir -p wasmtime/${systemDir}
ln -s ${lib.getLib pkgs.wasmtime}/lib/libwasmtime${libExt} wasmtime/${systemDir}/_libwasmtime${libExt}
'';
build-system = [
@ -52,10 +56,8 @@ buildPythonPackage (finalAttrs: {
postInstall = ''
# Ensure the installed module can find the shared library at runtime
mkdir -p "$out/${python.sitePackages}/wasmtime/linux-x86_64"
mkdir -p "$out/${python.sitePackages}/wasmtime/linux-aarch64"
ln -sf ${lib.getLib pkgs.wasmtime}/lib/libwasmtime.so "$out/${python.sitePackages}/wasmtime/linux-x86_64/_libwasmtime.so"
ln -sf ${lib.getLib pkgs.wasmtime}/lib/libwasmtime.so "$out/${python.sitePackages}/wasmtime/linux-aarch64/_libwasmtime.so"
mkdir -p "$out/${python.sitePackages}/wasmtime/${systemDir}"
ln -sf ${lib.getLib pkgs.wasmtime}/lib/libwasmtime${libExt} "$out/${python.sitePackages}/wasmtime/${systemDir}/_libwasmtime${libExt}"
'';
nativeCheckInputs = [
@ -78,8 +80,11 @@ buildPythonPackage (finalAttrs: {
meta = {
description = "Python WebAssembly runtime powered by Wasmtime";
homepage = "https://github.com/bytecodealliance/wasmtime-py";
changelog = "https://github.com/bytecodealliance/wasmtime-py/releases/tag/{${finalAttrs.src.tag}}";
license = lib.licenses.asl20;
changelog = "https://github.com/bytecodealliance/wasmtime-py/releases/tag/${finalAttrs.src.tag}";
license = [
lib.licenses.asl20
lib.licenses.llvm-exception
];
maintainers = with lib.maintainers; [ fab ];
};
})

View file

@ -61,7 +61,7 @@ let
];
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
# https://www.electronjs.org/docs/latest/tutorial/electron-timelines
knownVulnerabilities = lib.optional (lib.versionOlder version "39.0.0") "Electron version ${version} is EOL";
knownVulnerabilities = lib.optional (lib.versionOlder version "40.0.0") "Electron version ${version} is EOL";
};
fetcher =

File diff suppressed because it is too large Load diff

View file

@ -26,8 +26,8 @@ let
hash = "sha256-jnDdxmSbGLw9iVzzqQjAKR6kw4A5rYcixH4Bja8enPw=";
};
"11" = {
version = "11.1.2";
hash = "sha256-v+TSssejIQVlu6YpKfnv5JPrXyRicgGhAupFFOroz4A=";
version = "11.4.0";
hash = "sha256-50EGpaDrJWn0WDUEQg6tX8HCY+QXoyFsqxy+DM3LTq4=";
};
};

View file

@ -185,6 +185,7 @@ let
meta = {
description = projectInfo.${pname}.description;
homepage = "https://invent.kde.org/${projectInfo.${pname}.repo_path}";
donationPage = "https://kde.org/donate/";
license = lib.filter (l: l != null) (map (l: licensesBySpdxId.${l}) licenseInfo.${pname});
teams = [ lib.teams.qt-kde ];
# Platforms are currently limited to what upstream tests in CI, but can be extended if there's interest.

View file

@ -11,11 +11,11 @@
stdenv.mkDerivation rec {
pname = "roundcube";
version = "1.7.0";
version = "1.7.1";
src = fetchurl {
url = "https://github.com/roundcube/roundcubemail/releases/download/${version}/roundcubemail-${version}-complete.tar.gz";
sha256 = "sha256-o0w2baK3okrUpjgrS7mmd8tYHuCL/GME0KmnIQmOepg=";
sha256 = "sha256-HgOCvO/WJ6sLYoXTGB3fultET9z21J8z9eoV+/l4ZO8=";
};
patches = [ ./0001-Don-t-resolve-symlinks-when-trying-to-find-INSTALL_P.patch ];

View file

@ -329,6 +329,7 @@ let
(listOf str)
str
];
donationPage = str;
downloadPage = str;
changelog = union [
(listOf str)

View file

@ -5263,10 +5263,7 @@ with pkgs;
in
{
electron_38 = electron_38-bin;
electron_39 = getElectronPkg {
src = electron-source.electron_39;
bin = electron_39-bin;
};
electron_39 = electron_39-bin;
electron_40 = getElectronPkg {
src = electron-source.electron_40;
bin = electron_40-bin;

View file

@ -12030,7 +12030,9 @@ self: super: with self; {
ormsgpack = callPackage ../development/python-modules/ormsgpack { };
ortools = (toPythonModule (pkgs.or-tools.override { python3 = self.python; })).python;
ortools = callPackage ../development/python-modules/ortools {
or-tools = pkgs.or-tools.override { python3 = self.python; };
};
oru = callPackage ../development/python-modules/oru { };
@ -18122,6 +18124,8 @@ self: super: with self; {
slob = callPackage ../development/python-modules/slob { };
slothy = callPackage ../development/python-modules/slothy { };
slovnet = callPackage ../development/python-modules/slovnet { };
slowapi = callPackage ../development/python-modules/slowapi { };