From ee1604d8c702d110c5fc6f9de1543c8a291505b8 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron <886074+teto@users.noreply.github.com> Date: Sun, 24 Mar 2024 17:32:36 +0100 Subject: [PATCH 001/226] networking.wireguard: generate leaner units --- .../modules/services/networking/wireguard.nix | 36 +++++++++---------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/nixos/modules/services/networking/wireguard.nix b/nixos/modules/services/networking/wireguard.nix index d36be87daf60..6d0438261256 100644 --- a/nixos/modules/services/networking/wireguard.nix +++ b/nixos/modules/services/networking/wireguard.nix @@ -472,29 +472,27 @@ let RemainAfterExit = true; }; - script = '' - ${optionalString (!config.boot.isContainer) "modprobe wireguard || true"} - - ${values.preSetup} - - ${ipPreMove} link add dev "${name}" type wireguard - ${optionalString (values.interfaceNamespace != null && values.interfaceNamespace != values.socketNamespace) ''${ipPreMove} link set "${name}" netns "${ns}"''} - ${optionalString (values.mtu != null) ''${ipPostMove} link set "${name}" mtu ${toString values.mtu}''} - - ${concatMapStringsSep "\n" (ip: + script = concatStringsSep "\n" ( + optional (!config.boot.isContainer) "modprobe wireguard || true" + ++ [ + values.preSetup + ''${ipPreMove} link add dev "${name}" type wireguard'' + ] + ++ optional (values.interfaceNamespace != null && values.interfaceNamespace != values.socketNamespace) ''${ipPreMove} link set "${name}" netns "${ns}"'' + ++ optional (values.mtu != null) ''${ipPostMove} link set "${name}" mtu ${toString values.mtu}'' + ++ (map (ip: ''${ipPostMove} address add "${ip}" dev "${name}"'' - ) values.ips} - - ${concatStringsSep " " ( + ) values.ips) + ++ [ + (concatStringsSep " " ( [ ''${wg} set "${name}" private-key "${privKey}"'' ] ++ optional (values.listenPort != null) ''listen-port "${toString values.listenPort}"'' ++ optional (values.fwMark != null) ''fwmark "${values.fwMark}"'' - )} - - ${ipPostMove} link set up dev "${name}" - - ${values.postSetup} - ''; + )) + ''${ipPostMove} link set up dev "${name}"'' + values.postSetup + ] + ); postStop = '' ${ipPostMove} link del dev "${name}" From 4392e5a53cba868164811553e63a9fd30ec656b7 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 23 May 2024 23:05:45 -0400 Subject: [PATCH 002/226] overrideSDK: handle propagated lists of inputs Improves `overrideSDK` compatibility with https://github.com/oxalica/rust-overlay. --- pkgs/stdenv/darwin/override-sdk.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/stdenv/darwin/override-sdk.nix b/pkgs/stdenv/darwin/override-sdk.nix index 6de67537b499..7cdaf18bcc9d 100644 --- a/pkgs/stdenv/darwin/override-sdk.nix +++ b/pkgs/stdenv/darwin/override-sdk.nix @@ -287,6 +287,7 @@ let replacements = lib.pipe propagatedInputs [ (lib.filter (pkg: pkg != null)) + lib.flatten (map (dep: { name = builtins.unsafeDiscardStringContext dep; value = getReplacement newPackages dep; @@ -311,6 +312,7 @@ let let mapPackageDeps = lib.flip lib.pipe [ (lib.filter (pkg: pkg != null)) + lib.flatten (map (pkg: { key = builtins.unsafeDiscardStringContext pkg; package = pkg; From fc97c1c9d7f9e206079ac70ae67bc6a1df43870f Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Wed, 29 May 2024 02:05:57 +0200 Subject: [PATCH 003/226] ntp: 4.2.8p17 -> 4.2.8p18 Changes: https://www.ntp.org/documentation/4.2.8-series/release/ --- pkgs/tools/networking/ntp/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/ntp/default.nix b/pkgs/tools/networking/ntp/default.nix index 1a081993bbd6..39ca53fec607 100644 --- a/pkgs/tools/networking/ntp/default.nix +++ b/pkgs/tools/networking/ntp/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "ntp"; - version = "4.2.8p17"; + version = "4.2.8p18"; src = fetchurl { url = "https://archive.ntp.org/ntp4/ntp-${lib.versions.majorMinor version}/ntp-${version}.tar.gz"; - hash = "sha256-ED3ScuambFuN8H3OXpoCVV/NbxOXvft4IjcyjonTqGY="; + hash = "sha256-z4TF8/saKVKElCYk2CP/+mNBROCWz8T5lprJjvX0aOU="; }; configureFlags = [ From 14296c45a33ce0890fe468f6e736c97c8ddde447 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 10:13:33 +0200 Subject: [PATCH 004/226] python312Packages.pydaikin: 2.11.1 -> 2.13.0 Diff: https://github.com/fredrike/pydaikin/compare/refs/tags/v2.11.1...v2.13.0 Changelog: https://github.com/fredrike/pydaikin/releases/tag/v2.13.0 --- .../python-modules/pydaikin/default.nix | 30 +++++++++++-------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/pydaikin/default.nix b/pkgs/development/python-modules/pydaikin/default.nix index c551f3db5588..4693e97e7627 100644 --- a/pkgs/development/python-modules/pydaikin/default.nix +++ b/pkgs/development/python-modules/pydaikin/default.nix @@ -2,33 +2,38 @@ lib, aiohttp, buildPythonPackage, - fetchFromBitbucket, + fetchFromGitHub, freezegun, netifaces, pytest-aiohttp, pytestCheckHook, pythonOlder, urllib3, + setuptools, + tenacity, }: buildPythonPackage rec { pname = "pydaikin"; - version = "2.11.1"; - format = "setuptools"; + version = "2.13.0"; + pyproject = true; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.11"; - src = fetchFromBitbucket { - owner = "mustang51"; - repo = pname; - rev = "v${version}"; - hash = "sha256-IBrd4PH8EzVVVFQtJdJ8bTMLEzfh7MYMe79yuCrhmww="; + src = fetchFromGitHub { + owner = "fredrike"; + repo = "pydaikin"; + rev = "refs/tags/v${version}"; + hash = "sha256-t4SyFAgrLpXlDx464OHBWT8b+vGfIGZH6lKjX0k6tNw="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ aiohttp netifaces urllib3 + tenacity ]; doCheck = false; # tests fail and upstream does not seem to run them either @@ -43,9 +48,10 @@ buildPythonPackage rec { meta = with lib; { description = "Python Daikin HVAC appliances interface"; - mainProgram = "pydaikin"; - homepage = "https://bitbucket.org/mustang51/pydaikin"; + homepage = "https://github.com/fredrike/pydaikin"; + changelog = "https://github.com/fredrike/pydaikin/releases/tag/v${version}"; license = with licenses; [ gpl3Only ]; maintainers = with maintainers; [ fab ]; + mainProgram = "pydaikin"; }; } From e68ac7fa2afcf78e565c4fc3f3c9901818db96b7 Mon Sep 17 00:00:00 2001 From: Euan Kemp Date: Fri, 21 Jun 2024 01:20:01 +0900 Subject: [PATCH 005/226] pkgs/anki: 24.04 -> 24.06.2 Rote update, manually verified the output anki binary works correctly for my decks --- pkgs/games/anki/Cargo.lock | 319 ++++++++++++++++++++++-------------- pkgs/games/anki/default.nix | 8 +- 2 files changed, 199 insertions(+), 128 deletions(-) diff --git a/pkgs/games/anki/Cargo.lock b/pkgs/games/anki/Cargo.lock index 0d67118170d1..9219317f2cea 100644 --- a/pkgs/games/anki/Cargo.lock +++ b/pkgs/games/anki/Cargo.lock @@ -144,6 +144,7 @@ dependencies = [ "regex", "reqwest", "rusqlite", + "rustls-pemfile 2.1.2", "scopeguard", "serde", "serde-aux", @@ -394,9 +395,9 @@ dependencies = [ [[package]] name = "async-trait" -version = "0.1.77" +version = "0.1.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c980ee35e870bd1a4d2c8294d4c04d0499e67bca1e4b5cefcc693c2fa00caea9" +checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" dependencies = [ "proc-macro2", "quote", @@ -511,6 +512,12 @@ version = "0.21.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + [[package]] name = "base64ct" version = "1.6.0" @@ -615,9 +622,9 @@ checksum = "8ea184aa71bb362a1157c896979544cc23974e08fd265f29ea96b59f0b4a555b" [[package]] name = "burn" -version = "0.12.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6b703e5dae87b2146649b64af54688ff86e16cf69fd19d28c43c8f9656d7d7c" +checksum = "e041d5f4eef703500763e599050cba419cd90d464172d71e3d5397baebbf1d8a" dependencies = [ "burn-core", "burn-train", @@ -625,21 +632,22 @@ dependencies = [ [[package]] name = "burn-autodiff" -version = "0.12.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f306e1b2e480fa0960c3130a68ca5e0fa54b3e33ed2fda7cf2121434703dd771" +checksum = "1e23c815bc728ac60343b8820fb71e9b4a2c0cb283bfd58828246caacabe6eff" dependencies = [ "burn-common", "burn-tensor", "derive-new", + "log", "spin 0.9.8", ] [[package]] name = "burn-candle" -version = "0.12.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc87b644a2d83cc1b7c05d1176e9e24fb6394272256ab9ab8324ff7c4fe0e6a0" +checksum = "5d319a88254df7e9740154c32e862d721d29e5f782c0fdf7004f6b9ed5c8369f" dependencies = [ "burn-tensor", "candle-core", @@ -649,13 +657,13 @@ dependencies = [ [[package]] name = "burn-common" -version = "0.12.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1267068969f094323b62693df0c3b45d3b08a0568f3c3467e6a5c3207e6807c8" +checksum = "a14cddb7f93dc985637e21f068a343acdfc4d62232fb11101f88c2739abad249" dependencies = [ "async-trait", "derive-new", - "getrandom 0.2.12", + "getrandom 0.2.14", "rand 0.8.5", "serde", "spin 0.9.8", @@ -665,9 +673,9 @@ dependencies = [ [[package]] name = "burn-compute" -version = "0.12.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1b51588cf7c84976f6241a9ac5f77857712b8bf443dab77296c260785033fe8" +checksum = "cbe641bbe653d04fb070a80946f3db13485e04d7d12104aab9287a1d55b3493c" dependencies = [ "burn-common", "derive-new", @@ -683,9 +691,9 @@ dependencies = [ [[package]] name = "burn-core" -version = "0.12.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b11d8fd1e8c656eee1a0bb503b798c4583904dcaf7a369cbb8fdfd3acc3d0ab" +checksum = "9f3532e2f722bca39aefa69aea2b8e6cf2c3bf70f95ba8421b557082d89ea476" dependencies = [ "bincode", "burn-autodiff", @@ -693,7 +701,6 @@ dependencies = [ "burn-common", "burn-dataset", "burn-derive", - "burn-fusion", "burn-ndarray", "burn-tch", "burn-tensor", @@ -702,8 +709,8 @@ dependencies = [ "flate2", "half", "hashbrown 0.14.3", - "libm", "log", + "num-traits", "rand 0.8.5", "rmp-serde", "serde", @@ -713,9 +720,9 @@ dependencies = [ [[package]] name = "burn-dataset" -version = "0.12.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6050891281ae38ee9dc24d1d5badd084247717b15e3dcdae562a81456a41c6e" +checksum = "ebb03147d7c50f31c673ee7f672543caddd56bc5de906810db23e396ca062054" dependencies = [ "csv", "derive-new", @@ -739,9 +746,9 @@ dependencies = [ [[package]] name = "burn-derive" -version = "0.12.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70f149de5f32baa3f2191c374edab71e5a323bade05eb6092c702aed76cdcb7b" +checksum = "7dbf7e7f4154821f1a74c709ed2191304701e6f56b6221aec8585b8a16d16ae5" dependencies = [ "derive-new", "proc-macro2", @@ -751,9 +758,9 @@ dependencies = [ [[package]] name = "burn-fusion" -version = "0.12.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f512f780beaefca46088c4e4a80595511fbc3b35545118281fbf49f1fca767b4" +checksum = "934015329ca3b41a6a6bc7b6a4eedcda04d899085e0b3273e7fb330358c15cf8" dependencies = [ "burn-common", "burn-tensor", @@ -765,10 +772,31 @@ dependencies = [ ] [[package]] -name = "burn-ndarray" -version = "0.12.1" +name = "burn-jit" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aef9fb0b72a1c0a112ed51e35284fb663d3ba3fd98f3a3bfa32db39fd24ae4d" +checksum = "d257cec36c1b4404c79355492a0c32d0775ed5d7826241051323eb88f1e633dc" +dependencies = [ + "burn-common", + "burn-compute", + "burn-fusion", + "burn-tensor", + "bytemuck", + "derive-new", + "hashbrown 0.14.3", + "log", + "num-traits", + "rand 0.8.5", + "serde", + "spin 0.9.8", + "text_placeholder", +] + +[[package]] +name = "burn-ndarray" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f3a7d13e0116b4e442bda45aa9eb8a4cc3b70cf7d67197b13d539753275428c" dependencies = [ "burn-autodiff", "burn-common", @@ -785,9 +813,9 @@ dependencies = [ [[package]] name = "burn-tch" -version = "0.12.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d7aec36d836c5a11714480089738120899e2c91f6fe2e23abd09ec4a68a803" +checksum = "3ee78099b81128ba1122c645344cb7126c1fadfc05b284150efd94731001f0a7" dependencies = [ "burn-tensor", "half", @@ -798,15 +826,14 @@ dependencies = [ [[package]] name = "burn-tensor" -version = "0.12.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad09aeb0f2428a4ee91f9876a7d71cef6feb1fcacdab6389362dd878ec5f9b27" +checksum = "b9395b25136b8fff2ca293dc30e8ca915cc811ed48ffbb147063b6c9c7fcba6a" dependencies = [ "burn-common", "derive-new", "half", "hashbrown 0.14.3", - "libm", "num-traits", "rand 0.8.5", "rand_distr", @@ -815,9 +842,9 @@ dependencies = [ [[package]] name = "burn-train" -version = "0.12.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd5536e98b23dd5047728f288e61e8a4d9fbffef6f55086d3483c2464758508d" +checksum = "da95f83ed597cdb313fb0e18b389f88b96d5bcd1a37620adc969fe2934d486ff" dependencies = [ "burn-core", "derive-new", @@ -830,24 +857,21 @@ dependencies = [ [[package]] name = "burn-wgpu" -version = "0.12.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "231d2deb14a02838c29dd5e90d1a87a9578d76bda7b02d5c7a77e5440ef6ae95" +checksum = "6377670147b65387c807938b4f77a0b149b154ecc8b749f66ad068d345efac14" dependencies = [ "burn-common", "burn-compute", + "burn-fusion", + "burn-jit", "burn-tensor", "bytemuck", "derive-new", "futures-intrusive", "hashbrown 0.14.3", "log", - "num-traits", "pollster", - "rand 0.8.5", - "serde", - "spin 0.9.8", - "text_placeholder", "wgpu", ] @@ -912,9 +936,9 @@ checksum = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c" [[package]] name = "candle-core" -version = "0.3.3" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db8659ea87ee8197d2fc627348916cce0561330ee7ae3874e771691d3cecb2f" +checksum = "6f1b20174c1707e20f4cb364a355b449803c03e9b0c9193324623cf9787a4e00" dependencies = [ "byteorder", "gemm", @@ -961,6 +985,12 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +[[package]] +name = "cfg_aliases" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" + [[package]] name = "chrono" version = "0.4.34" @@ -1105,10 +1135,35 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] -name = "com-rs" -version = "0.2.1" +name = "com" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf43edc576402991846b093a7ca18a3477e0ef9c588cde84964b5d3e43016642" +checksum = "7e17887fd17353b65b1b2ef1c526c83e26cd72e74f598a8dc1bee13a48f3d9f6" +dependencies = [ + "com_macros", +] + +[[package]] +name = "com_macros" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d375883580a668c7481ea6631fc1a8863e33cc335bf56bfad8d7e6d4b04b13a5" +dependencies = [ + "com_macros_support", + "proc-macro2", + "syn 1.0.109", +] + +[[package]] +name = "com_macros_support" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad899a1087a9296d5644792d7cb72b8e34c1bec8e7d4fbc002230169a6e8710c" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] [[package]] name = "concurrent-queue" @@ -1303,9 +1358,9 @@ dependencies = [ [[package]] name = "d3d12" -version = "0.7.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e16e44ab292b1dddfdaf7be62cfd8877df52f2f3fde5858d95bab606be259f20" +checksum = "3e3d747f100290a1ca24b752186f61f6637e1deffe3bf6320de6fcb29510a307" dependencies = [ "bitflags 2.4.2", "libloading 0.8.1", @@ -1699,9 +1754,6 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55ac459de2512911e4b674ce33cf20befaba382d05b62b008afc1c8b57cbf181" dependencies = [ - "futures-core", - "futures-sink", - "nanorand", "spin 0.9.8", ] @@ -1793,9 +1845,9 @@ dependencies = [ [[package]] name = "fsrs" -version = "0.5.5" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84a04c31041078628c5ce7310be96c987bf7f33a3f8815fa0fcdb084eb31feba" +checksum = "70cec685337af48789e58cea6ef59ee9f01289d1083428b03fe14e76b98c817c" dependencies = [ "burn", "itertools 0.12.1", @@ -2108,9 +2160,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.12" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" +checksum = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c" dependencies = [ "cfg-if", "js-sys", @@ -2259,11 +2311,10 @@ dependencies = [ [[package]] name = "gpu-allocator" -version = "0.23.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40fe17c8a05d60c38c0a4e5a3c802f2f1ceb66b76c67d96ffb34bef0475a7fad" +checksum = "6f56f6318968d03c18e1bcf4857ff88c61157e9da8e47c5f29055d60e1228884" dependencies = [ - "backtrace", "log", "presser", "thiserror", @@ -2293,9 +2344,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.24" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb2c4422095b67ee78da96fbb51a4cc413b3b25883c7717ff7ca1ab31022c9c9" +checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" dependencies = [ "bytes", "fnv", @@ -2312,9 +2363,9 @@ dependencies = [ [[package]] name = "half" -version = "2.4.0" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5eceaaeec696539ddaf7b333340f1af35a5aa87ae3e4f3ead0532f72affab2e" +checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888" dependencies = [ "bytemuck", "cfg-if", @@ -2370,14 +2421,14 @@ dependencies = [ [[package]] name = "hassle-rs" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1397650ee315e8891a0df210707f0fc61771b0cc518c3023896064c5407cb3b0" +checksum = "af2a7e73e1f34c48da31fb668a907f250794837e08faa144fd24f0b8b741e890" dependencies = [ - "bitflags 1.3.2", - "com-rs", + "bitflags 2.4.2", + "com", "libc", - "libloading 0.7.4", + "libloading 0.8.1", "thiserror", "widestring", "winapi", @@ -2569,7 +2620,7 @@ dependencies = [ "futures-util", "http", "hyper", - "rustls 0.21.10", + "rustls 0.21.11", "tokio", "tokio-rustls", ] @@ -2799,6 +2850,12 @@ version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" +[[package]] +name = "jni-sys" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" + [[package]] name = "jpeg-decoder" version = "0.3.1" @@ -3005,9 +3062,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.20" +version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" +checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" [[package]] name = "lzma-sys" @@ -3292,9 +3349,9 @@ checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" [[package]] name = "naga" -version = "0.14.2" +version = "0.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae585df4b6514cf8842ac0f1ab4992edc975892704835b549cf818dc0191249e" +checksum = "50e3524642f53d9af419ab5e8dd29d3ba155708267667c2f3f06c88c9e130843" dependencies = [ "bit-set", "bitflags 2.4.2", @@ -3310,15 +3367,6 @@ dependencies = [ "unicode-xid", ] -[[package]] -name = "nanorand" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a51313c5820b0b02bd422f4b44776fbf47961755c74ce64afc73bfad10226c3" -dependencies = [ - "getrandom 0.2.12", -] - [[package]] name = "native-tls" version = "0.2.11" @@ -3362,6 +3410,15 @@ dependencies = [ "rand_distr", ] +[[package]] +name = "ndk-sys" +version = "0.5.0+25.2.9519653" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c196769dd60fd4f363e11d948139556a344e79d451aeb2fa2fd040738ef7691" +dependencies = [ + "jni-sys", +] + [[package]] name = "new_debug_unreachable" version = "1.0.4" @@ -3652,7 +3709,7 @@ dependencies = [ "cbc", "cipher", "des", - "getrandom 0.2.12", + "getrandom 0.2.14", "hmac", "lazy_static", "rc2", @@ -4058,9 +4115,9 @@ checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" [[package]] name = "proc-macro2" -version = "1.0.78" +version = "1.0.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" +checksum = "3d1597b0c024618f09a9c3b8655b7e430397a36d23fdafec26d6965e9eec3eba" dependencies = [ "unicode-ident", ] @@ -4361,7 +4418,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.12", + "getrandom 0.2.14", ] [[package]] @@ -4400,9 +4457,9 @@ dependencies = [ [[package]] name = "raw-window-handle" -version = "0.5.2" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2ff9a1f06a88b01621b7ae906ef0211290d1c8a168a15542486a8f61c0833b9" +checksum = "8cc3bcbdb1ddfc11e700e62968e6b4cc9c75bb466464ad28fb61c5b2c964418b" [[package]] name = "rawpointer" @@ -4412,9 +4469,9 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" [[package]] name = "rayon" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4963ed1bc86e4f3ee217022bd855b297cef07fb9eac5dfa1f788b220b49b3bd" +checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" dependencies = [ "either", "rayon-core", @@ -4472,7 +4529,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" dependencies = [ - "getrandom 0.2.12", + "getrandom 0.2.14", "libredox", "thiserror", ] @@ -4553,9 +4610,9 @@ dependencies = [ "once_cell", "percent-encoding", "pin-project-lite", - "rustls 0.21.10", + "rustls 0.21.11", "rustls-native-certs", - "rustls-pemfile", + "rustls-pemfile 1.0.4", "serde", "serde_json", "serde_urlencoded", @@ -4605,7 +4662,7 @@ checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" dependencies = [ "cc", "cfg-if", - "getrandom 0.2.12", + "getrandom 0.2.14", "libc", "spin 0.9.8", "untrusted 0.9.0", @@ -4705,9 +4762,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.21.10" +version = "0.21.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" +checksum = "7fecbfb7b1444f477b345853b1fce097a2c6fb637b2bfb87e6bc5db0f043fae4" dependencies = [ "log", "ring 0.17.8", @@ -4717,9 +4774,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.22.2" +version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e87c9956bd9807afa1f77e0f7594af32566e830e088a5576d27c5b6f30f49d41" +checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" dependencies = [ "log", "ring 0.17.8", @@ -4736,7 +4793,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" dependencies = [ "openssl-probe", - "rustls-pemfile", + "rustls-pemfile 1.0.4", "schannel", "security-framework", ] @@ -4750,6 +4807,16 @@ dependencies = [ "base64 0.21.7", ] +[[package]] +name = "rustls-pemfile" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29993a25686778eb88d4189742cd713c9bce943bc54251a33509dc63cbacf73d" +dependencies = [ + "base64 0.22.1", + "rustls-pki-types", +] + [[package]] name = "rustls-pki-types" version = "1.3.1" @@ -4957,9 +5024,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.114" +version = "1.0.116" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0" +checksum = "3e17db7126d17feb94eb3fad46bf1a96b034e8aacbc2e775fe81505f8b0b2813" dependencies = [ "itoa", "ryu", @@ -5203,12 +5270,11 @@ dependencies = [ [[package]] name = "spirv" -version = "0.2.0+1.5.4" +version = "0.3.0+sdk-1.3.268.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "246bfa38fe3db3f1dfc8ca5a2cdeb7348c78be2112740cc0ec8ef18b6d94f830" +checksum = "eda41003dc44290527a59b13432d4a0379379fa074b70174882adfbdfd917844" dependencies = [ - "bitflags 1.3.2", - "num-traits", + "bitflags 2.4.2", ] [[package]] @@ -5465,18 +5531,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.57" +version = "1.0.59" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b" +checksum = "f0126ad08bff79f29fc3ae6a55cc72352056dfff61e3ff8bb7129476d44b23aa" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.57" +version = "1.0.59" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81" +checksum = "d1cd413b5d558b4c5bf3680e324a6fa5014e7b7c067a51e69dbdf47eb7148b66" dependencies = [ "proc-macro2", "quote", @@ -5623,7 +5689,7 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" dependencies = [ - "rustls 0.21.10", + "rustls 0.21.11", "tokio", ] @@ -6103,7 +6169,7 @@ dependencies = [ "flate2", "log", "once_cell", - "rustls 0.22.2", + "rustls 0.22.4", "rustls-pki-types", "rustls-webpki 0.102.2", "serde", @@ -6148,11 +6214,11 @@ dependencies = [ [[package]] name = "uuid" -version = "1.7.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f00cc9702ca12d3c81455259621e676d0f7251cec66a21e98fe2e9a37db93b2a" +checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0" dependencies = [ - "getrandom 0.2.12", + "getrandom 0.2.14", "rand 0.8.5", ] @@ -6216,7 +6282,7 @@ dependencies = [ "mime_guess", "percent-encoding", "pin-project", - "rustls-pemfile", + "rustls-pemfile 1.0.4", "scoped-tls", "serde", "serde_json", @@ -6331,9 +6397,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.64" +version = "0.3.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" +checksum = "96565907687f7aceb35bc5fc03770a8a0471d82e479f25832f54a0e3f4b28446" dependencies = [ "js-sys", "wasm-bindgen", @@ -6372,13 +6438,13 @@ checksum = "53a85b86a771b1c87058196170769dd264f66c0782acf1ae6cc51bfd64b39082" [[package]] name = "wgpu" -version = "0.18.0" +version = "0.19.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30e7d227c9f961f2061c26f4cb0fbd4df0ef37e056edd0931783599d6c94ef24" +checksum = "cbd7311dbd2abcfebaabf1841a2824ed7c8be443a0f29166e5d3c6a53a762c01" dependencies = [ "arrayvec", "cfg-if", - "flume", + "cfg_aliases", "js-sys", "log", "naga", @@ -6397,16 +6463,19 @@ dependencies = [ [[package]] name = "wgpu-core" -version = "0.18.1" +version = "0.19.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef91c1d62d1e9e81c79e600131a258edf75c9531cbdbde09c44a011a47312726" +checksum = "28b94525fc99ba9e5c9a9e24764f2bc29bad0911a7446c12f446a8277369bf3a" dependencies = [ "arrayvec", "bit-vec", "bitflags 2.4.2", + "cfg_aliases", "codespan-reporting", + "indexmap", "log", "naga", + "once_cell", "parking_lot", "profiling", "raw-window-handle", @@ -6420,9 +6489,9 @@ dependencies = [ [[package]] name = "wgpu-hal" -version = "0.18.1" +version = "0.19.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b84ecc802da3eb67b4cf3dd9ea6fe45bbb47ef13e6c49c5c3240868a9cc6cdd9" +checksum = "fc1a4924366df7ab41a5d8546d6534f1f33231aa5b3f72b9930e300f254e39c3" dependencies = [ "android_system_properties", "arrayvec", @@ -6430,6 +6499,7 @@ dependencies = [ "bit-set", "bitflags 2.4.2", "block", + "cfg_aliases", "core-graphics-types", "d3d12", "glow", @@ -6445,6 +6515,7 @@ dependencies = [ "log", "metal", "naga", + "ndk-sys", "objc", "once_cell", "parking_lot", @@ -6463,9 +6534,9 @@ dependencies = [ [[package]] name = "wgpu-types" -version = "0.18.0" +version = "0.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d5ed5f0edf0de351fe311c53304986315ce866f394a2e6df0c4b3c70774bcdd" +checksum = "b671ff9fb03f78b46ff176494ee1ebe7d603393f42664be55b64dc8d53969805" dependencies = [ "bitflags 2.4.2", "js-sys", diff --git a/pkgs/games/anki/default.nix b/pkgs/games/anki/default.nix index 9247337621bf..a9443ea48c1e 100644 --- a/pkgs/games/anki/default.nix +++ b/pkgs/games/anki/default.nix @@ -28,14 +28,14 @@ let pname = "anki"; - version = "24.04"; - rev = "429bc9e14cefb597646a0e1beac6ef140f226b6f"; + version = "24.06.2"; + rev = "33a923797afc9655c3b4f79847e1705a1f998d03"; src = fetchFromGitHub { owner = "ankitects"; repo = "anki"; rev = version; - hash = "sha256-H/Y6ZEJ7meprk4SWIPkoABs6AV1CzbK2l22jEnMSvyk="; + hash = "sha256-jn8MxyDPVk36neHyiuvwOQQ+x7x4JPOR8BnNutTRmnY="; fetchSubmodules = true; }; @@ -50,7 +50,7 @@ let yarnOfflineCache = fetchYarnDeps { yarnLock = "${src}/yarn.lock"; - hash = "sha256-7yBN6si1Q+xvyosP7YnOw9ZfGcLZdy5ukXXFvvI20Js="; + hash = "sha256-wyrVoaDdCkSe5z6C7EAw04G87s6tQ1cfc2d6ygGU0DM="; }; anki-build-python = python3.withPackages (ps: with ps; [ From 5ea0207b73c8dc314be4982a45355860b235adb2 Mon Sep 17 00:00:00 2001 From: Jonathan Davies Date: Sun, 23 Jun 2024 21:54:04 +0100 Subject: [PATCH 006/226] nixos/nats: Implemented configuration verification --- nixos/modules/services/networking/nats.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/nats.nix b/nixos/modules/services/networking/nats.nix index f159ef068b56..4851daae4dba 100644 --- a/nixos/modules/services/networking/nats.nix +++ b/nixos/modules/services/networking/nats.nix @@ -10,6 +10,13 @@ let configFile = format.generate "nats.conf" cfg.settings; + validateConfig = file: + pkgs.runCommand "validate-nats-conf" { + nativeBuildInputs = [ pkgs.nats-server ]; + } '' + nats-server --config "${configFile}" -t + ln -s "${configFile}" "$out" + ''; in { ### Interface @@ -104,7 +111,7 @@ in { }) { Type = "simple"; - ExecStart = "${pkgs.nats-server}/bin/nats-server -c ${configFile}"; + ExecStart = "${pkgs.nats-server}/bin/nats-server -c ${validateConfig configFile}"; ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; ExecStop = "${pkgs.coreutils}/bin/kill -SIGINT $MAINPID"; Restart = "on-failure"; From e542b7432fe08339c94c91fb2a5033765cf558f3 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Tue, 25 Jun 2024 07:50:03 +0200 Subject: [PATCH 007/226] pebble: fix version info --- pkgs/tools/admin/pebble/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/admin/pebble/default.nix b/pkgs/tools/admin/pebble/default.nix index 384cc0f3d928..35f064f78aae 100644 --- a/pkgs/tools/admin/pebble/default.nix +++ b/pkgs/tools/admin/pebble/default.nix @@ -18,6 +18,11 @@ buildGoModule rec { vendorHash = null; + ldflags = [ + "-s" "-w" + "-X main.version=${version}" + ]; + passthru.tests = { smoke-test = nixosTests.acme; }; @@ -26,8 +31,10 @@ buildGoModule rec { # ca/ca.go:374:67: 9223372038 (untyped int constant) overflows uint broken = stdenv.hostPlatform.is32bit; homepage = "https://github.com/letsencrypt/pebble"; - description = "Miniature version of Boulder, Pebble is a small RFC 8555 ACME test server not suited for a production CA"; + description = "Small RFC 8555 ACME test server"; + longDescription = "Miniature version of Boulder, Pebble is a small RFC 8555 ACME test server not suited for a production CA"; license = [ lib.licenses.mpl20 ]; + mainProgram = "pebble"; maintainers = lib.teams.acme.members; }; } From 38572248116762d34783858425d0947153753651 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Tue, 25 Jun 2024 07:50:17 +0200 Subject: [PATCH 008/226] pebble: 2.4.0 -> 2.6.0 --- pkgs/tools/admin/pebble/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/admin/pebble/default.nix b/pkgs/tools/admin/pebble/default.nix index 35f064f78aae..703ca1ff6c86 100644 --- a/pkgs/tools/admin/pebble/default.nix +++ b/pkgs/tools/admin/pebble/default.nix @@ -7,13 +7,13 @@ buildGoModule rec { pname = "pebble"; - version = "2.4.0"; + version = "2.6.0"; src = fetchFromGitHub { owner = "letsencrypt"; repo = pname; rev = "v${version}"; - sha256 = "0sh67bzq3hlagk73w2kp45viq15g2rcxm760jk9fqshamq784m6m"; + hash = "sha256-YPU/bl7h6rOWg+5ut0Thn2UupeKpJ7u4KXc2svIeZEM="; }; vendorHash = null; @@ -28,8 +28,6 @@ buildGoModule rec { }; meta = { - # ca/ca.go:374:67: 9223372038 (untyped int constant) overflows uint - broken = stdenv.hostPlatform.is32bit; homepage = "https://github.com/letsencrypt/pebble"; description = "Small RFC 8555 ACME test server"; longDescription = "Miniature version of Boulder, Pebble is a small RFC 8555 ACME test server not suited for a production CA"; From f2b128f5b5dbb199c34796aeaffefb145c02252f Mon Sep 17 00:00:00 2001 From: qubitnano <146656568+qubitnano@users.noreply.github.com> Date: Sat, 29 Jun 2024 09:36:24 -0400 Subject: [PATCH 009/226] handbrake: 1.8.0 -> 1.8.1 --- pkgs/applications/video/handbrake/default.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/video/handbrake/default.nix b/pkgs/applications/video/handbrake/default.nix index f9761bd85bb5..4a45138aa555 100644 --- a/pkgs/applications/video/handbrake/default.nix +++ b/pkgs/applications/video/handbrake/default.nix @@ -90,14 +90,14 @@ }: let - version = "1.8.0"; + version = "1.8.1"; src = fetchFromGitHub { owner = "HandBrake"; repo = "HandBrake"; # uses version commit for logic in version.txt - rev = "5edf59c1da54fe1c9a487d09e8f52561fe49cb2a"; - hash = "sha256-gr2UhqPY5mZOP8KBvk9yydl4AkTlqE83hYAcLwSv1Is="; + rev = "e9ff2bdf1ac670eb9c6d6170e27c999c05535127"; + hash = "sha256-grbT+oRIyLnyJowhdqw7qGRg11HzWGIU9yTwUQhCWtg="; }; # Handbrake maintains a set of ffmpeg patches. In particular, these @@ -105,10 +105,10 @@ let # https://github.com/HandBrake/HandBrake/issues/4029 # base ffmpeg version is specified in: # https://github.com/HandBrake/HandBrake/blob/master/contrib/ffmpeg/module.defs - ffmpeg-version = "7.0"; + ffmpeg-version = "7.0.1"; ffmpeg-hb = (ffmpeg_7-full.override { version = ffmpeg-version; - hash = "sha256-RdDfv+0y90XpgjIRvTjsemKyGunzDbsh4j4WiE9rfyM="; + hash = "sha256-HiCT6bvLx4zmJ6ffutoimdz5ENQ55CRF64WBT3HeXMA="; }).overrideAttrs (old: { patches = (old.patches or [ ]) ++ [ "${src}/contrib/ffmpeg/A01-mov-read-name-track-tag-written-by-movenc.patch" @@ -133,8 +133,7 @@ let "${src}/contrib/ffmpeg/A16-amfenc-HDR-metadata.patch" "${src}/contrib/ffmpeg/A17-av1dec-dovi-rpu.patch" "${src}/contrib/ffmpeg/A18-avformat-mov-add-support-audio-fallback-track-ref.patch" - "${src}/contrib/ffmpeg/A19-mov-ignore-old-infe-box.patch" - "${src}/contrib/ffmpeg/A20-mov-free-infe-on-failure.patch" + "${src}/contrib/ffmpeg/A19-fix-qsv-on-gcc-14.patch" ]; }); From 482e7aeeb52c381cd206e9c9e8e3f1742a49b429 Mon Sep 17 00:00:00 2001 From: laniusv0 Date: Wed, 3 Jul 2024 18:05:07 +0200 Subject: [PATCH 010/226] maintainers: add vcele --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 53a84402ce22..b921fb0b280d 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -20963,6 +20963,12 @@ githubId = 8889722; name = "Vitomir Čanadi"; }; + vcele = { + email = "ejycebfx@duck.com"; + github = "Vcele"; + githubId = 101071881; + name = "Victor"; + }; vcunat = { name = "Vladimír Čunát"; # vcunat@gmail.com predominated in commits before 2019/03 From 69a367c4ab96d8c4491d0fa715ff94013db9889c Mon Sep 17 00:00:00 2001 From: Pyrox Date: Sun, 23 Jun 2024 20:51:48 -0400 Subject: [PATCH 011/226] python3Packages.scrapy-deltafetch: update dependencies and cleanup Just cleans up the code to be more in line with modern Nix standards, and removes bsddb3 as a dependency since it's no longer used by this package. --- .../scrapy-deltafetch/default.nix | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/scrapy-deltafetch/default.nix b/pkgs/development/python-modules/scrapy-deltafetch/default.nix index 1a7a426af6a3..fa2c1ab63c40 100644 --- a/pkgs/development/python-modules/scrapy-deltafetch/default.nix +++ b/pkgs/development/python-modules/scrapy-deltafetch/default.nix @@ -3,32 +3,31 @@ fetchPypi, buildPythonPackage, scrapy, - bsddb3, + setuptools, }: buildPythonPackage rec { pname = "scrapy-deltafetch"; version = "2.0.1"; - format = "setuptools"; + pyproject = true; src = fetchPypi { inherit pname version; - sha256 = "13f7968bd0ffae133e2a1dede215e683b8c95285f046260603a5c3e25f2d57b0"; + hash = "sha256-E/eWi9D/rhM+Kh3t4hXmg7jJUoXwRiYGA6XD4l8tV7A="; }; - propagatedBuildInputs = [ - bsddb3 - scrapy - ]; + dependencies = [ scrapy ]; + + build-system = [ setuptools ]; # no tests doCheck = false; pythonImportsCheck = [ "scrapy_deltafetch" ]; - meta = with lib; { + meta = { description = "Scrapy spider middleware to ignore requests to pages containing items seen in previous crawls"; homepage = "https://github.com/scrapy-plugins/scrapy-deltafetch"; - license = licenses.bsd3; - maintainers = with maintainers; [ evanjs ]; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ evanjs ]; }; } From dd782463b9e221dd6065da9ae826bb50bfc93ece Mon Sep 17 00:00:00 2001 From: DSeeLP <46624152+DSeeLP@users.noreply.github.com> Date: Wed, 10 Jul 2024 18:52:19 +0200 Subject: [PATCH 012/226] renderdoc: pin to python 3.11 Pin to Python 3.11 since shiboken2 is not compatible with Python 3.12. --- pkgs/development/tools/renderdoc/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/renderdoc/default.nix b/pkgs/development/tools/renderdoc/default.nix index 843e4fe2c675..5a8e6a66a6d1 100644 --- a/pkgs/development/tools/renderdoc/default.nix +++ b/pkgs/development/tools/renderdoc/default.nix @@ -11,8 +11,8 @@ , vulkan-loader , libglvnd , xorg -, python3 -, python3Packages +, python311 +, python311Packages , bison , pcre , automake @@ -42,8 +42,8 @@ mkDerivation rec { }; buildInputs = [ - qtbase qtsvg xorg.libpthreadstubs xorg.libXdmcp qtx11extras vulkan-loader python3 - ] ++ (with python3Packages; [ + qtbase qtsvg xorg.libpthreadstubs xorg.libXdmcp qtx11extras vulkan-loader python311 + ] ++ (with python311Packages; [ pyside2 pyside2-tools shiboken2 ]) ++ lib.optional waylandSupport wayland; From 11b3d86444abd59a9066ce02f596751be48090cd Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 Jul 2024 09:16:40 +0000 Subject: [PATCH 013/226] wootility: 4.6.20 -> 4.6.21 --- pkgs/tools/misc/wootility/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/wootility/default.nix b/pkgs/tools/misc/wootility/default.nix index 7a6343470f4a..e23f161f9024 100644 --- a/pkgs/tools/misc/wootility/default.nix +++ b/pkgs/tools/misc/wootility/default.nix @@ -6,10 +6,10 @@ let pname = "wootility"; - version = "4.6.20"; + version = "4.6.21"; src = fetchurl { url = "https://s3.eu-west-2.amazonaws.com/wooting-update/wootility-lekker-linux-latest/wootility-lekker-${version}.AppImage"; - sha256 = "sha256-JodmF3TThPpXXx1eOnYmYAJ4x5Ylcf35bw3R++5/Buk="; + sha256 = "sha256-ockTQLZWbYvsLzv+D0exD5W/yMaIdse4/JQshbkVzAU="; }; in From bea3a3f50c29836b0c6b6f3a29bbe4fbc734996e Mon Sep 17 00:00:00 2001 From: Matteo Pacini Date: Sun, 7 Jul 2024 21:54:26 +0100 Subject: [PATCH 014/226] miru: added passthru.updateScript --- pkgs/by-name/mi/miru/darwin.nix | 8 ++++- pkgs/by-name/mi/miru/linux.nix | 10 ++++-- pkgs/by-name/mi/miru/package.nix | 21 +++++++++++-- pkgs/by-name/mi/miru/update.sh | 52 ++++++++++++++++++++++++++++++++ 4 files changed, 86 insertions(+), 5 deletions(-) create mode 100755 pkgs/by-name/mi/miru/update.sh diff --git a/pkgs/by-name/mi/miru/darwin.nix b/pkgs/by-name/mi/miru/darwin.nix index c93a20453bba..e9939f35cb41 100644 --- a/pkgs/by-name/mi/miru/darwin.nix +++ b/pkgs/by-name/mi/miru/darwin.nix @@ -7,9 +7,15 @@ pname, version, meta, + passthru, }: stdenvNoCC.mkDerivation rec { - inherit pname version meta; + inherit + pname + version + meta + passthru + ; src = fetchurl { url = "https://github.com/ThaUnknown/miru/releases/download/v${version}/mac-Miru-${version}-mac.zip"; diff --git a/pkgs/by-name/mi/miru/linux.nix b/pkgs/by-name/mi/miru/linux.nix index 43f59abd1a8b..aa36804c3089 100644 --- a/pkgs/by-name/mi/miru/linux.nix +++ b/pkgs/by-name/mi/miru/linux.nix @@ -5,15 +5,21 @@ pname, version, meta, + passthru, }: appimageTools.wrapType2 rec { - inherit pname version meta; + inherit + pname + version + meta + passthru + ; src = fetchurl { url = "https://github.com/ThaUnknown/miru/releases/download/v${version}/linux-Miru-${version}.AppImage"; name = "${pname}-${version}.AppImage"; - sha256 = "sha256-wnqCKnZKt0Fj8TasdRVzI558W7aIB5FLkcDEiZfz3ZQ="; + hash = "sha256-wnqCKnZKt0Fj8TasdRVzI558W7aIB5FLkcDEiZfz3ZQ="; }; extraInstallCommands = diff --git a/pkgs/by-name/mi/miru/package.nix b/pkgs/by-name/mi/miru/package.nix index 0b7a2e1d8755..a63389875d34 100644 --- a/pkgs/by-name/mi/miru/package.nix +++ b/pkgs/by-name/mi/miru/package.nix @@ -32,8 +32,25 @@ let instead of flat out closing MPV. ''; }; + passthru = { + updateScript = ./update.sh; + }; in if stdenv.isDarwin then - callPackage ./darwin.nix { inherit pname version meta; } + callPackage ./darwin.nix { + inherit + pname + version + meta + passthru + ; + } else - callPackage ./linux.nix { inherit pname version meta; } + callPackage ./linux.nix { + inherit + pname + version + meta + passthru + ; + } diff --git a/pkgs/by-name/mi/miru/update.sh b/pkgs/by-name/mi/miru/update.sh new file mode 100755 index 000000000000..e2d2cba736a6 --- /dev/null +++ b/pkgs/by-name/mi/miru/update.sh @@ -0,0 +1,52 @@ +#!/usr/bin/env nix-shell +#!nix-shell -i bash -p curl jq gnused + +set -euo pipefail + +ROOT="$(dirname "$(readlink -f "$0")")" +if [[ ! "$(basename $ROOT)" == "miru" || ! -f "$ROOT/package.nix" ]]; then + echo "error: Not in the miru folder" >&2 + exit 1 +fi + +PACKAGE_NIX="$ROOT/package.nix" +LINUX_NIX="$ROOT/linux.nix" +DARWIN_NIX="$ROOT/darwin.nix" + +MIRU_LATEST_VER="$(curl -s ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} "https://api.github.com/repos/ThaUnknown/miru/releases/latest" | jq -r .tag_name | sed 's/^v//')" +MIRU_CURRENT_VER="$(grep -oP 'version = "\K[^"]+' "$PACKAGE_NIX")" + +if [[ "$MIRU_LATEST_VER" == "null" ]]; then + echo "error: could not fetch miru latest version from GitHub API" >&2 + exit 1 +fi + +if [[ "$MIRU_LATEST_VER" == "$MIRU_CURRENT_VER" ]]; then + echo "miru is up-to-date" + exit 0 +fi + +get_hash() { + # $1: URL + nix-hash --to-sri --type sha256 "$(nix-prefetch-url --type sha256 "$1")" +} + +replace_hash_in_file() { + # $1: file + # $2: new hash + sed -i "s#hash = \".*\"#hash = \"$2\"#g" "$1" +} + +replace_version_in_file() { + # $1: file + # $2: new version + sed -i "s#version = \".*\";#version = \"$2\";#g" "$1" +} + +MIRU_LINUX_HASH="$(get_hash "https://github.com/ThaUnknown/miru/releases/download/v${MIRU_LATEST_VER}/linux-Miru-${MIRU_LATEST_VER}.AppImage")" +MIRU_DARWIN_HASH="$(get_hash "https://github.com/ThaUnknown/miru/releases/download/v${MIRU_LATEST_VER}/mac-Miru-${MIRU_LATEST_VER}-mac.zip")" + +replace_hash_in_file "$LINUX_NIX" "$MIRU_LINUX_HASH" +replace_hash_in_file "$DARWIN_NIX" "$MIRU_DARWIN_HASH" + +replace_version_in_file "$PACKAGE_NIX" "$MIRU_LATEST_VER" From a04915fe1780f869cc9d86db3f7e798d9ad91683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Tue, 9 Jul 2024 15:11:00 +0200 Subject: [PATCH 015/226] pnpm_9: 9.4.0 -> 9.6.0 --- pkgs/development/tools/pnpm/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/pnpm/default.nix b/pkgs/development/tools/pnpm/default.nix index 6ef6fb3c5f72..f3cc4c206bd5 100644 --- a/pkgs/development/tools/pnpm/default.nix +++ b/pkgs/development/tools/pnpm/default.nix @@ -8,8 +8,8 @@ let hash = "sha256-aR/hdu6pqKgN8g5JdvPftEoEhBzriFY4/iomF0+B5l4="; }; "9" = { - version = "9.4.0"; - hash = "sha256-tv0L/aVV5+WErX5WswxosB1aBPnuk5ifS5PKhHPEnHQ="; + version = "9.6.0"; + hash = "sha256-2uD36CLFayCXm7WWXjtzuL2rtri47xIdpthXUIWZyjU="; }; }; From 1d8ea76d5407dc316225b8aa254fa8c3cdbab0f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Fri, 19 Jul 2024 12:18:40 +0200 Subject: [PATCH 016/226] pnpm_8: 8.15.8 -> 8.15.9 --- pkgs/development/tools/pnpm/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/pnpm/default.nix b/pkgs/development/tools/pnpm/default.nix index f3cc4c206bd5..48f0bb804050 100644 --- a/pkgs/development/tools/pnpm/default.nix +++ b/pkgs/development/tools/pnpm/default.nix @@ -4,8 +4,8 @@ let variants = { "8" = { - version = "8.15.8"; - hash = "sha256-aR/hdu6pqKgN8g5JdvPftEoEhBzriFY4/iomF0+B5l4="; + version = "8.15.9"; + hash = "sha256-2qJ6C1QbxjUyP/lsLe2ZVGf/n+bWn/ZwIVWKqa2dzDY="; }; "9" = { version = "9.6.0"; From 82816bac618021fcad28b954f21184de84bc9ea1 Mon Sep 17 00:00:00 2001 From: Gavin John <> Date: Thu, 11 Jul 2024 16:59:00 -0400 Subject: [PATCH 017/226] immersed-vr: Add pandapip1 as maintainer --- pkgs/by-name/im/immersed-vr/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/im/immersed-vr/package.nix b/pkgs/by-name/im/immersed-vr/package.nix index eb4b4ad08cff..f057d192ca97 100644 --- a/pkgs/by-name/im/immersed-vr/package.nix +++ b/pkgs/by-name/im/immersed-vr/package.nix @@ -26,7 +26,7 @@ let description = "VR coworking platform"; homepage = "https://immersed.com"; license = licenses.unfree; - maintainers = with maintainers; [ haruki7049 ]; + maintainers = with maintainers; [ haruki7049 pandapip1 ]; platforms = builtins.attrNames sources; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; }; From f73ef0768048adba78e38bd5d670d63f6e8503bb Mon Sep 17 00:00:00 2001 From: Gavin John <> Date: Thu, 11 Jul 2024 16:59:15 -0400 Subject: [PATCH 018/226] nixos/immersed-vr: init module --- nixos/modules/module-list.nix | 1 + nixos/modules/programs/immersed-vr.nix | 34 ++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 nixos/modules/programs/immersed-vr.nix diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index 30a11980b7b6..0df92c7193a8 100644 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -213,6 +213,7 @@ ./programs/iay.nix ./programs/iftop.nix ./programs/i3lock.nix + ./programs/immersed-vr.nix ./programs/iotop.nix ./programs/java.nix ./programs/joycond-cemuhook.nix diff --git a/nixos/modules/programs/immersed-vr.nix b/nixos/modules/programs/immersed-vr.nix new file mode 100644 index 000000000000..57edb3cbaea0 --- /dev/null +++ b/nixos/modules/programs/immersed-vr.nix @@ -0,0 +1,34 @@ +{ + config, + lib, + pkgs, + ... +}: + +let + cfg = config.programs.immersed-vr; +in +{ + + options = { + programs.immersed-vr = { + enable = lib.mkEnableOption "immersed-vr"; + + package = lib.mkPackageOption pkgs "immersed-vr" {}; + }; + }; + + config = lib.mkIf cfg.enable { + boot = { + kernelModules = [ "v4l2loopback" "snd-aloop" ]; + extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ]; + extraModprobeConfig = '' + options v4l2loopback exclusive_caps=1 card_label="v4l2loopback Virtual Camera" + ''; + }; + + environment.systemPackages = [ cfg.package ]; + }; + + meta.maintainers = pkgs.immersed-vr.meta.maintainers; +} From 467f7b25f68e412ce9bae60352e079a3308e369e Mon Sep 17 00:00:00 2001 From: Gavin John <> Date: Thu, 11 Jul 2024 17:01:05 -0400 Subject: [PATCH 019/226] nixos/doc/rl-2411: Document programs.immersed-vr --- nixos/doc/manual/release-notes/rl-2411.section.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/doc/manual/release-notes/rl-2411.section.md b/nixos/doc/manual/release-notes/rl-2411.section.md index 1c3865b5f834..8661fb1438f2 100644 --- a/nixos/doc/manual/release-notes/rl-2411.section.md +++ b/nixos/doc/manual/release-notes/rl-2411.section.md @@ -36,6 +36,8 @@ - [ddns-updater](https://github.com/qdm12/ddns-updater), a service to update DNS records periodically with WebUI for many DNS providers. Available as [services.ddns-updater](#opt-services.ddns-updater.enable). +- [Immersed VR](https://immersed.com/), a closed-source coworking platform. Available as [programs.immersed-vr](#opt-programs.immersed-vr.enable). + - [Renovate](https://github.com/renovatebot/renovate), a dependency updating tool for various git forges and language ecosystems. Available as [services.renovate](#opt-services.renovate.enable). - [Music Assistant](https://music-assistant.io/), a music library manager for your offline and online music sources which can easily stream your favourite music to a wide range of supported players. Available as [services.music-assistant](#opt-services.music-assistant.enable). From 0e2263158bc09f92fd19e7eaa691fb837a2522d9 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 23 Jul 2024 17:19:46 +0000 Subject: [PATCH 020/226] microsoft-edge: 126.0.2592.102 -> 126.0.2592.113 --- .../networking/browsers/microsoft-edge/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/networking/browsers/microsoft-edge/default.nix b/pkgs/applications/networking/browsers/microsoft-edge/default.nix index 44e71b4c9e2a..9e36c187aa94 100644 --- a/pkgs/applications/networking/browsers/microsoft-edge/default.nix +++ b/pkgs/applications/networking/browsers/microsoft-edge/default.nix @@ -1,20 +1,20 @@ { beta = import ./browser.nix { channel = "beta"; - version = "127.0.2651.49"; + version = "127.0.2651.61"; revision = "1"; - hash = "sha256-fMB7CuC5u8RNbbtFEZWFIIBwZTPkTP9LVs7DCXltGEA="; + hash = "sha256-M67QOKZF4+dGCdyKfe5EF5K4A6bip2/a4J1k7+v3QMQ="; }; dev = import ./browser.nix { channel = "dev"; - version = "128.0.2677.1"; + version = "128.0.2708.0"; revision = "1"; - hash = "sha256-aKrNs44FZNhC/fGT1UvyE2Fx8Q53ahAu91Bu86E49o8="; + hash = "sha256-QFtVQTcbiF165/Xqmo8kAoo4kQegqqzMVcr8mQiraH8="; }; stable = import ./browser.nix { channel = "stable"; - version = "126.0.2592.102"; + version = "126.0.2592.113"; revision = "1"; - hash = "sha256-xCjtsZoetxlOV77VSbt09cGbpfHUYhTA6WXuZAvD/a4="; + hash = "sha256-wSNXCUTG9eCnqe5Ir8pE8Z7zuY2KsDgTLKKTAQeXS2s="; }; } From f21d4e7004ae3a2eaa9f6cf3f768981ece245fed Mon Sep 17 00:00:00 2001 From: laniusv0 Date: Wed, 3 Jul 2024 18:09:01 +0200 Subject: [PATCH 021/226] mongocxx: 3.8.1 -> 3.10.2 add stenv override in top-level --- .../libraries/mongocxx/default.nix | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/pkgs/development/libraries/mongocxx/default.nix b/pkgs/development/libraries/mongocxx/default.nix index a17e7f8d037f..5659043e2f62 100644 --- a/pkgs/development/libraries/mongocxx/default.nix +++ b/pkgs/development/libraries/mongocxx/default.nix @@ -1,5 +1,5 @@ { lib -, stdenv +, pkgs , fetchFromGitHub , mongoc , openssl @@ -7,23 +7,26 @@ , cmake , validatePkgConfig , testers +, darwin }: +let stdenv = if pkgs.stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else pkgs.stdenv; in + stdenv.mkDerivation (finalAttrs: { pname = "mongocxx"; - version = "3.8.1"; + version = "3.10.2"; src = fetchFromGitHub { owner = "mongodb"; repo = "mongo-cxx-driver"; rev = "refs/tags/r${finalAttrs.version}"; - hash = "sha256-fBZg69jsvXzhllpcPBGXkjYyvUQImnGNkb2Ek5Oi0p4="; + hash = "sha256-nGLE0vyCe3PaNJf3duXdBfAhTdRvdeQ+OCwcaSDxi5Y="; }; postPatch = '' - substituteInPlace src/bsoncxx/config/CMakeLists.txt \ - src/mongocxx/config/CMakeLists.txt \ - --replace "\\\''${prefix}/" "" + substituteInPlace src/bsoncxx/cmake/libbsoncxx.pc.in \ + src/mongocxx/cmake/libmongocxx.pc.in \ + --replace "\''${prefix}/" "" ''; nativeBuildInputs = [ @@ -35,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: { mongoc openssl cyrus_sasl - ]; + ] ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security; cmakeFlags = [ "-DCMAKE_CXX_STANDARD=20" @@ -49,7 +52,7 @@ stdenv.mkDerivation (finalAttrs: { description = "Official C++ client library for MongoDB"; homepage = "http://mongocxx.org"; license = licenses.asl20; - maintainers = with maintainers; [ adriandole ]; + maintainers = with maintainers; [ adriandole vcele ]; pkgConfigModules = [ "libmongocxx" "libbsoncxx" ]; platforms = platforms.all; badPlatforms = [ "x86_64-darwin" ]; # needs sdk >= 10.14 From a21dedffd03f99c2b0a1d91b814347c2c68c70d3 Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Wed, 24 Jul 2024 17:50:43 -0400 Subject: [PATCH 022/226] fastapi-cli: refactor to use python3Packages.fastapi-cli Previously there were essentially two copies of the same expression in tree. --- pkgs/by-name/fa/fastapi-cli/package.nix | 44 ++----------------------- 1 file changed, 3 insertions(+), 41 deletions(-) diff --git a/pkgs/by-name/fa/fastapi-cli/package.nix b/pkgs/by-name/fa/fastapi-cli/package.nix index f940531aa46c..0c274ad6f138 100644 --- a/pkgs/by-name/fa/fastapi-cli/package.nix +++ b/pkgs/by-name/fa/fastapi-cli/package.nix @@ -1,42 +1,4 @@ -{ - lib, - python3, - fetchFromGitHub, -}: +{ python3 }: -python3.pkgs.buildPythonApplication rec { - pname = "fastapi-cli"; - version = "0.0.4"; - pyproject = true; - - src = fetchFromGitHub { - owner = "tiangolo"; - repo = "fastapi-cli"; - rev = "refs/tags/${version}"; - hash = "sha256-eWvZn7ZeLnQZAvGOzY77o6oO5y+QV2cx+peBov9YpJE="; - }; - - build-system = [ python3.pkgs.pdm-backend ]; - - dependencies = with python3.pkgs; [ - rich - typer - ]; - - optional-dependencies = with python3.pkgs; { - standard = [ - fastapi - uvicorn - ]; - }; - - pythonImportsCheck = [ "fastapi_cli" ]; - - meta = { - description = "Run and manage FastAPI apps from the command line with FastAPI CLI"; - homepage = "https://github.com/tiangolo/fastapi-cli"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ drupol ]; - mainProgram = "fastapi-cli"; - }; -} +with python3.pkgs; +toPythonApplication fastapi-cli From eaaf0eba0b6f6687c79b6c6ba289999740968fe7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 25 Jul 2024 04:30:48 +0000 Subject: [PATCH 023/226] lilypond: 2.24.3 -> 2.24.4 --- pkgs/misc/lilypond/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/misc/lilypond/default.nix b/pkgs/misc/lilypond/default.nix index 97e131beb163..327882951d29 100644 --- a/pkgs/misc/lilypond/default.nix +++ b/pkgs/misc/lilypond/default.nix @@ -8,11 +8,11 @@ stdenv.mkDerivation rec { pname = "lilypond"; - version = "2.24.3"; + version = "2.24.4"; src = fetchurl { url = "http://lilypond.org/download/sources/v${lib.versions.majorMinor version}/lilypond-${version}.tar.gz"; - sha256 = "sha256-3wBfdu969aTNdKEPjnEVJ4t/p58UAYk3tlwQlJjsRL4="; + sha256 = "sha256-6W+gNXHHnyDhl5ZTr6vb5O5Cdlo9n9FJU/DNnupReBw="; }; postInstall = '' From 4a79f0bce26d4f978ff45b1992aeff59aa37bd4a Mon Sep 17 00:00:00 2001 From: Ivan Trubach Date: Thu, 25 Jul 2024 11:37:23 +0300 Subject: [PATCH 024/226] lutok: update meta.description --- pkgs/by-name/lu/lutok/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/lu/lutok/package.nix b/pkgs/by-name/lu/lutok/package.nix index a09724b5348f..144854abb9e4 100644 --- a/pkgs/by-name/lu/lutok/package.nix +++ b/pkgs/by-name/lu/lutok/package.nix @@ -77,7 +77,7 @@ lib.fix ( __structuredAttrs = true; meta = { - description = "Libraries to write tests in C, C++, and shell"; + description = "Lightweight C++ API for Lua"; homepage = "https://github.com/freebsd/lutok/"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ reckenrode ]; From 4ea4381e8973c339a048a6aeb89c78b4f2c9c476 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 25 Jul 2024 11:53:56 +0000 Subject: [PATCH 025/226] infisical: 0.25.0 -> 0.26.1 --- pkgs/development/tools/infisical/default.nix | 2 +- pkgs/development/tools/infisical/hashes.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/tools/infisical/default.nix b/pkgs/development/tools/infisical/default.nix index 0bfbb401b3cf..0c548eb22060 100644 --- a/pkgs/development/tools/infisical/default.nix +++ b/pkgs/development/tools/infisical/default.nix @@ -15,7 +15,7 @@ let buildHashes = builtins.fromJSON (builtins.readFile ./hashes.json); # the version of infisical - version = "0.25.0"; + version = "0.26.1"; # the platform-specific, statically linked binary src = diff --git a/pkgs/development/tools/infisical/hashes.json b/pkgs/development/tools/infisical/hashes.json index 5454f7a7a9d6..d167f6c7bfb0 100644 --- a/pkgs/development/tools/infisical/hashes.json +++ b/pkgs/development/tools/infisical/hashes.json @@ -1,6 +1,6 @@ { "_comment": "@generated by pkgs/development/tools/infisical/update.sh" -, "x86_64-linux": "sha256-BpOobdWp+pt9zb/OemrUGXv9TbGlzNWjQM3Oe+55W8Q=" -, "x86_64-darwin": "sha256-Lr8B6TI9kffQHLgYtoctcVFHdBPTU6DcMETqxaqVNqU=" -, "aarch64-linux": "sha256-Jq6NOhZR57Thbq2cnHjJXVU00zhZF8UCJTCEBo6DT64=" -, "aarch64-darwin": "sha256-6htS81iK3L90mWS/exTHg8C7agPx5XH+6VBj+AN4X0o=" +, "x86_64-linux": "sha256-53Nk24THJ16elOTuPkXohxvLeSn1cXyI8PIogpg7b2g=" +, "x86_64-darwin": "sha256-iO/WPfLSmYQJRuuPSfXbrb1p75czP4FQkc3ryQ/PWF4=" +, "aarch64-linux": "sha256-7FCxF6M9J6NYTeXw98uu3GjWsXsTZ+eQdKgbutGKDtI=" +, "aarch64-darwin": "sha256-lV2jye63ZWlMIa41+xbfe39kBHKwnXtNsBlM+WZvWhQ=" } From 76cf9b6df23bef2860a0bca229cea26a254313be Mon Sep 17 00:00:00 2001 From: Jaakko Paju <36770267+JPaju@users.noreply.github.com> Date: Thu, 25 Jul 2024 18:34:36 +0300 Subject: [PATCH 026/226] metals: 1.3.3 -> 1.3.4 --- pkgs/development/tools/language-servers/metals/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/language-servers/metals/default.nix b/pkgs/development/tools/language-servers/metals/default.nix index ece5a56044c1..d17e4fe88e75 100644 --- a/pkgs/development/tools/language-servers/metals/default.nix +++ b/pkgs/development/tools/language-servers/metals/default.nix @@ -2,7 +2,7 @@ stdenv.mkDerivation rec { pname = "metals"; - version = "1.3.3"; + version = "1.3.4"; deps = stdenv.mkDerivation { name = "${pname}-deps-${version}"; @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { ''; outputHashMode = "recursive"; outputHashAlgo = "sha256"; - outputHash = "sha256-OFpnfAR1BuY0QFCR8Zf210IEMgVDVLQnHNSCM2FbBxk="; + outputHash = "sha256-g3nOqqoNjZ/lURPO3NVXqmlIbFtwRgKCaz7CJXU1Ups="; }; nativeBuildInputs = [ makeWrapper setJavaClassPath ]; From a715d72582851723c11a8126f9c1c378dd252bb4 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Thu, 25 Jul 2024 21:47:59 +0200 Subject: [PATCH 027/226] haguichi: 1.4.6 -> 1.5.0 --- pkgs/tools/networking/haguichi/default.nix | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/networking/haguichi/default.nix b/pkgs/tools/networking/haguichi/default.nix index ad1ad4a9a6d1..76927c4985e1 100644 --- a/pkgs/tools/networking/haguichi/default.nix +++ b/pkgs/tools/networking/haguichi/default.nix @@ -1,26 +1,29 @@ { stdenv , lib , fetchFromGitHub +, libadwaita +, libgee +, libportal-gtk4 , meson , ninja , pkg-config , python3 , vala -, wrapGAppsHook3 +, wrapGAppsHook4 , desktop-file-utils , glib -, gtk3 +, gtk4 }: stdenv.mkDerivation rec { pname = "haguichi"; - version = "1.4.6"; + version = "1.5.0"; src = fetchFromGitHub { owner = "ztefn"; repo = "haguichi"; rev = version; - hash = "sha256-H/Aw8zJOioOLWxiM/pMb+QSIoEp3zIkLb26S6QN3hv0="; + hash = "sha256-Rhag2P4GAO9qhcajwDHIkgzKZqNii/SgvFwCI6Kc8XE="; }; nativeBuildInputs = [ @@ -29,15 +32,18 @@ stdenv.mkDerivation rec { pkg-config python3 vala - wrapGAppsHook3 + wrapGAppsHook4 desktop-file-utils # for update-desktop-database glib # for glib-compile-resources - gtk3 # for gtk-update-icon-cache + gtk4 # for gtk-update-icon-cache ]; buildInputs = [ + libadwaita + libgee + libportal-gtk4 glib - gtk3 + gtk4 ]; postPatch = '' From f30c8b032c58b7efcb76ec45f178504ec2123f96 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Thu, 25 Jul 2024 21:55:15 +0200 Subject: [PATCH 028/226] haguichi: Modernise - nixfmt-rfc-style formatting - finalAttrs pattern - no meta-wide with lib - refs/tags rev - meta.changelog - reorder some things --- pkgs/tools/networking/haguichi/default.nix | 60 ++++++++++++---------- 1 file changed, 32 insertions(+), 28 deletions(-) diff --git a/pkgs/tools/networking/haguichi/default.nix b/pkgs/tools/networking/haguichi/default.nix index 76927c4985e1..d6bb1a1a8769 100644 --- a/pkgs/tools/networking/haguichi/default.nix +++ b/pkgs/tools/networking/haguichi/default.nix @@ -1,31 +1,38 @@ -{ stdenv -, lib -, fetchFromGitHub -, libadwaita -, libgee -, libportal-gtk4 -, meson -, ninja -, pkg-config -, python3 -, vala -, wrapGAppsHook4 -, desktop-file-utils -, glib -, gtk4 +{ + stdenv, + lib, + fetchFromGitHub, + desktop-file-utils, + glib, + gtk4, + libadwaita, + libgee, + libportal-gtk4, + meson, + ninja, + pkg-config, + python3, + vala, + wrapGAppsHook4, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "haguichi"; version = "1.5.0"; src = fetchFromGitHub { owner = "ztefn"; repo = "haguichi"; - rev = version; + rev = "refs/tags/${finalAttrs.version}"; hash = "sha256-Rhag2P4GAO9qhcajwDHIkgzKZqNii/SgvFwCI6Kc8XE="; }; + postPatch = '' + patchShebangs meson_post_install.py + ''; + + strictDeps = true; + nativeBuildInputs = [ meson ninja @@ -39,25 +46,22 @@ stdenv.mkDerivation rec { ]; buildInputs = [ + glib + gtk4 libadwaita libgee libportal-gtk4 - glib - gtk4 ]; - postPatch = '' - patchShebangs meson_post_install.py - ''; - passthru.updateScript = ./update.sh; - meta = with lib; { + meta = { description = "Graphical frontend for Hamachi on Linux"; mainProgram = "haguichi"; homepage = "https://haguichi.net/"; - license = licenses.gpl3Plus; - platforms = platforms.linux; - maintainers = with maintainers; [ OPNA2608 ]; + changelog = "https://haguichi.net/news/release${lib.strings.replaceStrings ["."] [""] finalAttrs.version}"; + license = lib.licenses.gpl3Plus; + platforms = lib.platforms.linux; + maintainers = with lib.maintainers; [ OPNA2608 ]; }; -} +}) From 9e0f47d6dc7b2cf5ed845f3df61ee8dd3c31074d Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Wed, 19 Jun 2024 10:07:52 -0300 Subject: [PATCH 029/226] qmplay2: prepare to by-name migration - get rid of libsForQt5 indirection - postFixup instead of postInstall - meta.mainProgram --- pkgs/applications/video/qmplay2/default.nix | 65 +++++++++++---------- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 36 insertions(+), 31 deletions(-) diff --git a/pkgs/applications/video/qmplay2/default.nix b/pkgs/applications/video/qmplay2/default.nix index 167b5e8601e2..5832ac7bf92e 100644 --- a/pkgs/applications/video/qmplay2/default.nix +++ b/pkgs/applications/video/qmplay2/default.nix @@ -1,27 +1,26 @@ -{ lib -, stdenv -, fetchFromGitHub -, alsa-lib -, cmake -, ffmpeg -, fribidi -, game-music-emu -, libXdmcp -, libXv -, libass -, libcddb -, libcdio -, libpulseaudio -, libsidplayfp -, libva -, libxcb -, pkg-config -, qtbase -, qttools -, taglib -, vulkan-headers -, vulkan-tools -, wrapQtAppsHook +{ + lib, + alsa-lib, + cmake, + fetchFromGitHub, + ffmpeg, + fribidi, + game-music-emu, + libXdmcp, + libXv, + libass, + libcddb, + libcdio, + libpulseaudio, + libsidplayfp, + libva, + libxcb, + pkg-config, + qt5, + stdenv, + taglib, + vulkan-headers, + vulkan-tools, }: stdenv.mkDerivation (finalAttrs: { @@ -39,7 +38,9 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake pkg-config - wrapQtAppsHook + ] + ++ [ + qt5.wrapQtAppsHook ]; buildInputs = [ @@ -56,16 +57,19 @@ stdenv.mkDerivation (finalAttrs: { libsidplayfp libva libxcb - qtbase - qttools taglib vulkan-headers vulkan-tools + ] + ++ [ + qt5.qtbase + qt5.qttools ]; - postInstall = '' - # Because we think it is better to use only lowercase letters! - ln -s $out/bin/QMPlay2 $out/bin/qmplay2 + # Because we think it is better to use only lowercase letters! + # But sometimes we come across case-insensitive filesystems... + postFixup = '' + [ -e $out/bin/qmplay2 ] || ln -s $out/bin/QMPlay2 $out/bin/qmplay2 ''; meta = { @@ -79,6 +83,7 @@ stdenv.mkDerivation (finalAttrs: { ''; changelog = "https://github.com/zaps166/QMPlay2/releases/tag/${finalAttrs.version}"; license = lib.licenses.lgpl3Plus; + mainProgram = "qmplay2"; maintainers = with lib.maintainers; [ AndersonTorres kashw2 ]; platforms = lib.platforms.linux; }; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 84cae899cd6d..a3e2a3bc2536 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -33407,7 +33407,7 @@ with pkgs; qmediathekview = libsForQt5.callPackage ../applications/video/qmediathekview { }; - qmplay2 = libsForQt5.callPackage ../applications/video/qmplay2 { }; + qmplay2 = callPackage ../applications/video/qmplay2 { }; qmidiarp = callPackage ../applications/audio/qmidiarp { }; From 8d69d772441358c0dcab782f241996dd8849107f Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Wed, 19 Jun 2024 10:10:10 -0300 Subject: [PATCH 030/226] qmplay2: migrate to by-name --- .../qmplay2/default.nix => by-name/qm/qmplay2/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 2 deletions(-) rename pkgs/{applications/video/qmplay2/default.nix => by-name/qm/qmplay2/package.nix} (100%) diff --git a/pkgs/applications/video/qmplay2/default.nix b/pkgs/by-name/qm/qmplay2/package.nix similarity index 100% rename from pkgs/applications/video/qmplay2/default.nix rename to pkgs/by-name/qm/qmplay2/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a3e2a3bc2536..6f6a027b1077 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -33407,8 +33407,6 @@ with pkgs; qmediathekview = libsForQt5.callPackage ../applications/video/qmediathekview { }; - qmplay2 = callPackage ../applications/video/qmplay2 { }; - qmidiarp = callPackage ../applications/audio/qmidiarp { }; qmidinet = libsForQt5.callPackage ../applications/audio/qmidinet { }; From 02dfdf731e801a6181ff4838d48c0da9ada02075 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Wed, 19 Jun 2024 12:50:40 -0300 Subject: [PATCH 031/226] qmplay2: detach sources acquisition to `sources.nix` Because it uses fetchSubmodules, and maybe in the future it will become discouraged. --- pkgs/by-name/qm/qmplay2/package.nix | 16 +++++----------- pkgs/by-name/qm/qmplay2/sources.nix | 21 +++++++++++++++++++++ 2 files changed, 26 insertions(+), 11 deletions(-) create mode 100644 pkgs/by-name/qm/qmplay2/sources.nix diff --git a/pkgs/by-name/qm/qmplay2/package.nix b/pkgs/by-name/qm/qmplay2/package.nix index 5832ac7bf92e..9c2697827421 100644 --- a/pkgs/by-name/qm/qmplay2/package.nix +++ b/pkgs/by-name/qm/qmplay2/package.nix @@ -1,8 +1,8 @@ { lib, alsa-lib, + callPackage, cmake, - fetchFromGitHub, ffmpeg, fribidi, game-music-emu, @@ -23,17 +23,11 @@ vulkan-tools, }: +let + sources = callPackage ./sources.nix { }; +in stdenv.mkDerivation (finalAttrs: { - pname = "qmplay2"; - version = "24.04.07"; - - src = fetchFromGitHub { - owner = "zaps166"; - repo = "QMPlay2"; - rev = finalAttrs.version; - fetchSubmodules = true; - hash = "sha256-WIDGApvl+aaB3Vdv0sHY+FHWqzreWWd3/xOLV11YfxM="; - }; + inherit (sources.qmplay2) pname version src; nativeBuildInputs = [ cmake diff --git a/pkgs/by-name/qm/qmplay2/sources.nix b/pkgs/by-name/qm/qmplay2/sources.nix new file mode 100644 index 000000000000..e32b640a6e47 --- /dev/null +++ b/pkgs/by-name/qm/qmplay2/sources.nix @@ -0,0 +1,21 @@ +{ + fetchFromGitHub, +}: + +{ + qmplay2 = let + self = { + pname = "qmplay2"; + version = "24.04.07"; + + src = fetchFromGitHub { + owner = "zaps166"; + repo = "QMPlay2"; + rev = self.version; + fetchSubmodules = true; + hash = "sha256-WIDGApvl+aaB3Vdv0sHY+FHWqzreWWd3/xOLV11YfxM="; + }; + }; + in + self; +} From 365e7e5d07f3b2962ab87ed28fcf74204577a712 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Mon, 22 Jul 2024 23:37:48 -0300 Subject: [PATCH 032/226] qmplay2: fetch submodules directly (get rid of fetchSubmodules) --- pkgs/by-name/qm/qmplay2/package.nix | 11 +++++++++++ pkgs/by-name/qm/qmplay2/sources.nix | 15 +++++++++++++-- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/qm/qmplay2/package.nix b/pkgs/by-name/qm/qmplay2/package.nix index 9c2697827421..f28084047c7c 100644 --- a/pkgs/by-name/qm/qmplay2/package.nix +++ b/pkgs/by-name/qm/qmplay2/package.nix @@ -29,6 +29,13 @@ in stdenv.mkDerivation (finalAttrs: { inherit (sources.qmplay2) pname version src; + postPatch = '' + pushd src + cp -va ${sources.qmvk.src}/* qmvk/ + chmod --recursive 744 qmvk + popd + ''; + nativeBuildInputs = [ cmake pkg-config @@ -66,6 +73,10 @@ stdenv.mkDerivation (finalAttrs: { [ -e $out/bin/qmplay2 ] || ln -s $out/bin/QMPlay2 $out/bin/qmplay2 ''; + passthru = { + inherit sources; + }; + meta = { homepage = "https://github.com/zaps166/QMPlay2/"; description = "Qt-based Multimedia player"; diff --git a/pkgs/by-name/qm/qmplay2/sources.nix b/pkgs/by-name/qm/qmplay2/sources.nix index e32b640a6e47..1cd64fae7f98 100644 --- a/pkgs/by-name/qm/qmplay2/sources.nix +++ b/pkgs/by-name/qm/qmplay2/sources.nix @@ -12,10 +12,21 @@ owner = "zaps166"; repo = "QMPlay2"; rev = self.version; - fetchSubmodules = true; - hash = "sha256-WIDGApvl+aaB3Vdv0sHY+FHWqzreWWd3/xOLV11YfxM="; + hash = "sha256-achnbloKJq4t7xwJ7Qn0bAEGjuLx8wiZK7+BOLYZaN0="; }; }; in self; + + qmvk = { + pname = "qmvk"; + version = "0-unstable-2024-03-30"; + + src = fetchFromGitHub { + owner = "zaps166"; + repo = "QmVk"; + rev = "50826653f34140afd03ccb7e8032715092b34446"; + hash = "sha256-p2yt0PE5j9+YGOj3T1y/z9N3djbXzxh7h27xHCMnAwo="; + }; + }; } From eec12ba4fd4a88ac0a219b8c4b72e1b092bf3efc Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Fri, 26 Jul 2024 09:23:08 -0300 Subject: [PATCH 033/226] qmplay2: create symlink at postInstall --- pkgs/by-name/qm/qmplay2/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/qm/qmplay2/package.nix b/pkgs/by-name/qm/qmplay2/package.nix index f28084047c7c..89275e9f7d49 100644 --- a/pkgs/by-name/qm/qmplay2/package.nix +++ b/pkgs/by-name/qm/qmplay2/package.nix @@ -69,7 +69,7 @@ stdenv.mkDerivation (finalAttrs: { # Because we think it is better to use only lowercase letters! # But sometimes we come across case-insensitive filesystems... - postFixup = '' + postInstall = '' [ -e $out/bin/qmplay2 ] || ln -s $out/bin/QMPlay2 $out/bin/qmplay2 ''; From 3900d02aa87758b00c758040b489433d8ae48afb Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Wed, 3 Jul 2024 14:25:52 -0300 Subject: [PATCH 034/226] qmplay2: set strictDeps --- pkgs/by-name/qm/qmplay2/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/qm/qmplay2/package.nix b/pkgs/by-name/qm/qmplay2/package.nix index 89275e9f7d49..48bee1bf7bb9 100644 --- a/pkgs/by-name/qm/qmplay2/package.nix +++ b/pkgs/by-name/qm/qmplay2/package.nix @@ -67,6 +67,8 @@ stdenv.mkDerivation (finalAttrs: { qt5.qttools ]; + strictDeps = true; + # Because we think it is better to use only lowercase letters! # But sometimes we come across case-insensitive filesystems... postInstall = '' From f667a7e27034b8ad5e9ab96eefd315d2c5980c0a Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Thu, 25 Jul 2024 22:04:51 -0300 Subject: [PATCH 035/226] qmplay2: delete changelog link Until a better idea for an unbreakable reference template appears. (Maybe a local file ref?) --- pkgs/by-name/qm/qmplay2/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/qm/qmplay2/package.nix b/pkgs/by-name/qm/qmplay2/package.nix index 48bee1bf7bb9..05b0861bc003 100644 --- a/pkgs/by-name/qm/qmplay2/package.nix +++ b/pkgs/by-name/qm/qmplay2/package.nix @@ -88,7 +88,6 @@ stdenv.mkDerivation (finalAttrs: { files, Rayman 2 music and chiptunes. It contains YouTube and MyFreeMP3 browser. ''; - changelog = "https://github.com/zaps166/QMPlay2/releases/tag/${finalAttrs.version}"; license = lib.licenses.lgpl3Plus; mainProgram = "qmplay2"; maintainers = with lib.maintainers; [ AndersonTorres kashw2 ]; From 1c9d7a12dc700779746d30b3965f5884a61e00ee Mon Sep 17 00:00:00 2001 From: qubitnano <146656568+qubitnano@users.noreply.github.com> Date: Thu, 25 Jul 2024 19:42:44 -0400 Subject: [PATCH 036/226] unifi8: 8.2.93 -> 8.3.32 --- pkgs/servers/unifi/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/unifi/default.nix b/pkgs/servers/unifi/default.nix index 1f186bb14e21..1caad13bc76c 100644 --- a/pkgs/servers/unifi/default.nix +++ b/pkgs/servers/unifi/default.nix @@ -52,8 +52,8 @@ in rec { }; unifi8 = generic { - version = "8.2.93"; - suffix = "-1c329ecd26"; - sha256 = "sha256-7zcRxflEvPRxH7MtudOqumeUpSzAaEIbjaaJVpr2Gbc="; + version = "8.3.32"; + suffix = "-896f48ed11"; + sha256 = "sha256-pqylClAEQtkEExIPOY1pRiymmYFvWxOOcqy+iCkWx5w="; }; } From 466acbdd5088727d690420132c59250a78a01d51 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Fri, 26 Jul 2024 12:34:18 -0300 Subject: [PATCH 037/226] qmplay2: fix longDescription Grammar and punctuation. --- pkgs/by-name/qm/qmplay2/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/qm/qmplay2/package.nix b/pkgs/by-name/qm/qmplay2/package.nix index 05b0861bc003..345df6cf9420 100644 --- a/pkgs/by-name/qm/qmplay2/package.nix +++ b/pkgs/by-name/qm/qmplay2/package.nix @@ -84,9 +84,9 @@ stdenv.mkDerivation (finalAttrs: { description = "Qt-based Multimedia player"; longDescription = '' QMPlay2 is a video and audio player. It can play all formats supported by - FFmpeg, libmodplug (including J2B and SFX). It also supports Audio CD, raw - files, Rayman 2 music and chiptunes. It contains YouTube and MyFreeMP3 - browser. + FFmpeg and libmodplug (including J2B and SFX). It also supports Audio CD, + raw files, Rayman 2 music, and chiptunes. It also contains YouTube and + MyFreeMP3 browser. ''; license = lib.licenses.lgpl3Plus; mainProgram = "qmplay2"; From 5a499e703f2f5dafc6a1130c952574b15f7a39a8 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Mon, 22 Jul 2024 23:39:44 -0300 Subject: [PATCH 038/226] qmplay2: 24.04.07 -> 24.05.23 --- pkgs/by-name/qm/qmplay2/package.nix | 22 +++++++++++++++++++--- pkgs/by-name/qm/qmplay2/sources.nix | 10 +++++----- pkgs/top-level/all-packages.nix | 3 +++ 3 files changed, 27 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/qm/qmplay2/package.nix b/pkgs/by-name/qm/qmplay2/package.nix index 345df6cf9420..49258cc9bbf0 100644 --- a/pkgs/by-name/qm/qmplay2/package.nix +++ b/pkgs/by-name/qm/qmplay2/package.nix @@ -15,19 +15,25 @@ libsidplayfp, libva, libxcb, + ninja, pkg-config, qt5, + qt6, stdenv, taglib, vulkan-headers, vulkan-tools, + # Configurable options + qtVersion ? "6", # Can be 5 or 6 }: let sources = callPackage ./sources.nix { }; in +assert lib.elem qtVersion [ "5" "6" ]; stdenv.mkDerivation (finalAttrs: { - inherit (sources.qmplay2) pname version src; + pname = sources.qmplay2.pname + "-qt" + qtVersion; + inherit (sources.qmplay2) version src; postPatch = '' pushd src @@ -38,9 +44,13 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake + ninja pkg-config ] - ++ [ + ++ lib.optionals (qtVersion == "6") [ + qt6.wrapQtAppsHook + ] + ++ lib.optionals (qtVersion == "5") [ qt5.wrapQtAppsHook ]; @@ -62,7 +72,13 @@ stdenv.mkDerivation (finalAttrs: { vulkan-headers vulkan-tools ] - ++ [ + ++ lib.optionals (qtVersion == "6") [ + qt6.qt5compat + qt6.qtbase + qt6.qtsvg + qt6.qttools + ] + ++ lib.optionals (qtVersion == "5") [ qt5.qtbase qt5.qttools ]; diff --git a/pkgs/by-name/qm/qmplay2/sources.nix b/pkgs/by-name/qm/qmplay2/sources.nix index 1cd64fae7f98..e15de30ad5f2 100644 --- a/pkgs/by-name/qm/qmplay2/sources.nix +++ b/pkgs/by-name/qm/qmplay2/sources.nix @@ -6,13 +6,13 @@ qmplay2 = let self = { pname = "qmplay2"; - version = "24.04.07"; + version = "24.05.23"; src = fetchFromGitHub { owner = "zaps166"; repo = "QMPlay2"; rev = self.version; - hash = "sha256-achnbloKJq4t7xwJ7Qn0bAEGjuLx8wiZK7+BOLYZaN0="; + hash = "sha256-qh3Xaph8Siu6sLFdgEhCBmsgbtjllQXjVKTAdrlTmwA="; }; }; in @@ -20,13 +20,13 @@ qmvk = { pname = "qmvk"; - version = "0-unstable-2024-03-30"; + version = "0-unstable-2024-04-19"; src = fetchFromGitHub { owner = "zaps166"; repo = "QmVk"; - rev = "50826653f34140afd03ccb7e8032715092b34446"; - hash = "sha256-p2yt0PE5j9+YGOj3T1y/z9N3djbXzxh7h27xHCMnAwo="; + rev = "5c5c2942255820b6343afdfeea0405cd3b36870e"; + hash = "sha256-viFM9N5PiSCgkGlxtrLFCVDIML/QyPiaPRX77RW2NNw="; }; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6f6a027b1077..6132f56fff68 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -33407,6 +33407,9 @@ with pkgs; qmediathekview = libsForQt5.callPackage ../applications/video/qmediathekview { }; + qmplay2-qt5 = qmplay2.override { qtVersion = "5"; }; + qmplay2-qt6 = qmplay2.override { qtVersion = "6"; }; + qmidiarp = callPackage ../applications/audio/qmidiarp { }; qmidinet = libsForQt5.callPackage ../applications/audio/qmidinet { }; From 644bdba6d08fa164e640fe6ff5ec539f54d0faf7 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Wed, 3 Jul 2024 16:07:25 -0300 Subject: [PATCH 039/226] qmplay2: 24.05.23 -> 24.06.16 --- pkgs/by-name/qm/qmplay2/sources.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/qm/qmplay2/sources.nix b/pkgs/by-name/qm/qmplay2/sources.nix index e15de30ad5f2..2eccd42a878a 100644 --- a/pkgs/by-name/qm/qmplay2/sources.nix +++ b/pkgs/by-name/qm/qmplay2/sources.nix @@ -6,13 +6,13 @@ qmplay2 = let self = { pname = "qmplay2"; - version = "24.05.23"; + version = "24.06.16"; src = fetchFromGitHub { owner = "zaps166"; repo = "QMPlay2"; rev = self.version; - hash = "sha256-qh3Xaph8Siu6sLFdgEhCBmsgbtjllQXjVKTAdrlTmwA="; + hash = "sha256-HoFyC/OFmthUYfyo6//+KmBIq06MPb5GmDekJbnsz5o="; }; }; in From fb86fc7d25c76dc3a5460c79a2c370732c821b98 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Fri, 26 Jul 2024 09:18:34 -0300 Subject: [PATCH 040/226] qmplay2: nixfmt-rfc-style (Can someone explain what happened with buildInputs??) --- pkgs/by-name/qm/qmplay2/package.nix | 86 +++++++++++++++-------------- pkgs/by-name/qm/qmplay2/sources.nix | 27 +++++---- 2 files changed, 58 insertions(+), 55 deletions(-) diff --git a/pkgs/by-name/qm/qmplay2/package.nix b/pkgs/by-name/qm/qmplay2/package.nix index 49258cc9bbf0..b1c87c6993f6 100644 --- a/pkgs/by-name/qm/qmplay2/package.nix +++ b/pkgs/by-name/qm/qmplay2/package.nix @@ -30,7 +30,10 @@ let sources = callPackage ./sources.nix { }; in -assert lib.elem qtVersion [ "5" "6" ]; +assert lib.elem qtVersion [ + "5" + "6" +]; stdenv.mkDerivation (finalAttrs: { pname = sources.qmplay2.pname + "-qt" + qtVersion; inherit (sources.qmplay2) version src; @@ -42,46 +45,44 @@ stdenv.mkDerivation (finalAttrs: { popd ''; - nativeBuildInputs = [ - cmake - ninja - pkg-config - ] - ++ lib.optionals (qtVersion == "6") [ - qt6.wrapQtAppsHook - ] - ++ lib.optionals (qtVersion == "5") [ - qt5.wrapQtAppsHook - ]; + nativeBuildInputs = + [ + cmake + ninja + pkg-config + ] + ++ lib.optionals (qtVersion == "6") [ qt6.wrapQtAppsHook ] + ++ lib.optionals (qtVersion == "5") [ qt5.wrapQtAppsHook ]; - buildInputs = [ - alsa-lib - ffmpeg - fribidi - game-music-emu - libXdmcp - libXv - libass - libcddb - libcdio - libpulseaudio - libsidplayfp - libva - libxcb - taglib - vulkan-headers - vulkan-tools - ] - ++ lib.optionals (qtVersion == "6") [ - qt6.qt5compat - qt6.qtbase - qt6.qtsvg - qt6.qttools - ] - ++ lib.optionals (qtVersion == "5") [ - qt5.qtbase - qt5.qttools - ]; + buildInputs = + [ + alsa-lib + ffmpeg + fribidi + game-music-emu + libXdmcp + libXv + libass + libcddb + libcdio + libpulseaudio + libsidplayfp + libva + libxcb + taglib + vulkan-headers + vulkan-tools + ] + ++ lib.optionals (qtVersion == "6") [ + qt6.qt5compat + qt6.qtbase + qt6.qtsvg + qt6.qttools + ] + ++ lib.optionals (qtVersion == "5") [ + qt5.qtbase + qt5.qttools + ]; strictDeps = true; @@ -106,7 +107,10 @@ stdenv.mkDerivation (finalAttrs: { ''; license = lib.licenses.lgpl3Plus; mainProgram = "qmplay2"; - maintainers = with lib.maintainers; [ AndersonTorres kashw2 ]; + maintainers = with lib.maintainers; [ + AndersonTorres + kashw2 + ]; platforms = lib.platforms.linux; }; }) diff --git a/pkgs/by-name/qm/qmplay2/sources.nix b/pkgs/by-name/qm/qmplay2/sources.nix index 2eccd42a878a..e3cb9a89f2d6 100644 --- a/pkgs/by-name/qm/qmplay2/sources.nix +++ b/pkgs/by-name/qm/qmplay2/sources.nix @@ -1,21 +1,20 @@ -{ - fetchFromGitHub, -}: +{ fetchFromGitHub }: { - qmplay2 = let - self = { - pname = "qmplay2"; - version = "24.06.16"; + qmplay2 = + let + self = { + pname = "qmplay2"; + version = "24.06.16"; - src = fetchFromGitHub { - owner = "zaps166"; - repo = "QMPlay2"; - rev = self.version; - hash = "sha256-HoFyC/OFmthUYfyo6//+KmBIq06MPb5GmDekJbnsz5o="; + src = fetchFromGitHub { + owner = "zaps166"; + repo = "QMPlay2"; + rev = self.version; + hash = "sha256-HoFyC/OFmthUYfyo6//+KmBIq06MPb5GmDekJbnsz5o="; + }; }; - }; - in + in self; qmvk = { From 130ab4295c9b282c2d295d8c17566aa6b6d9460c Mon Sep 17 00:00:00 2001 From: Varun Narravula Date: Fri, 26 Jul 2024 12:21:26 -0700 Subject: [PATCH 041/226] armcord: package from source --- .../instant-messengers/armcord/default.nix | 164 ++++++------------ 1 file changed, 53 insertions(+), 111 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/armcord/default.nix b/pkgs/applications/networking/instant-messengers/armcord/default.nix index f7336df2612f..b2be77f2dba3 100644 --- a/pkgs/applications/networking/instant-messengers/armcord/default.nix +++ b/pkgs/applications/networking/instant-messengers/armcord/default.nix @@ -1,139 +1,81 @@ { lib , stdenv -, fetchurl -, autoPatchelfHook -, dpkg -, makeShellWrapper -, wrapGAppsHook3 -, alsa-lib -, at-spi2-atk -, at-spi2-core -, atk -, cairo -, cups -, dbus -, expat -, ffmpeg -, fontconfig -, freetype -, gdk-pixbuf -, glib -, gtk3 -, libappindicator-gtk3 -, libdrm -, libnotify -, libpulseaudio -, libsecret -, libuuid -, libxkbcommon -, mesa -, nss -, pango -, systemd -, xdg-utils -, xorg -, wayland -, pipewire +, fetchFromGitHub +, pnpm +, nodejs +, electron_30 +, makeWrapper +, copyDesktopItems +, makeDesktopItem }: - stdenv.mkDerivation rec { pname = "armcord"; version = "3.2.7"; - src = - let - base = "https://github.com/ArmCord/ArmCord/releases/download"; - in - { - x86_64-linux = fetchurl { - url = "${base}/v${version}/ArmCord_${version}_amd64.deb"; - hash = "sha256-TFgO9ddz/Svi4QfugjTTejpV/m+xc1548cokzhVgwkw="; - }; - aarch64-linux = fetchurl { - url = "${base}/v${version}/ArmCord_${version}_arm64.deb"; - hash = "sha256-AJ4TSG3ry2P40vzK1fsaWgQ/O0z9r3z8+0uxSmddZKo="; - }; - }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); + src = fetchFromGitHub { + owner = "ArmCord"; + repo = "ArmCord"; + rev = "v${version}"; + hash = "sha256-+o/w3bYW3IR3APo7HppSMOTl+cU+01J+p1L0YrYgsUU="; + }; - nativeBuildInputs = [ autoPatchelfHook dpkg makeShellWrapper wrapGAppsHook3 ]; + nativeBuildInputs = [ pnpm.configHook nodejs makeWrapper copyDesktopItems ]; - dontWrapGApps = true; + pnpmDeps = pnpm.fetchDeps { + inherit pname version src; + hash = "sha256-UJ3E/2+MspgVbRT7s6K4lGDvTQbWD3bwyICbJjctwDI="; + }; - buildInputs = [ - alsa-lib - at-spi2-atk - at-spi2-core - atk - cairo - cups - dbus - expat - ffmpeg - fontconfig - freetype - gdk-pixbuf - glib - gtk3 - pango - systemd - mesa # for libgbm - nss - libuuid - libdrm - libnotify - libsecret - libpulseaudio - libxkbcommon - libappindicator-gtk3 - xorg.libX11 - xorg.libxcb - xorg.libXcomposite - xorg.libXcursor - xorg.libXdamage - xorg.libXext - xorg.libXfixes - xorg.libXi - xorg.libXrandr - xorg.libXrender - xorg.libXScrnSaver - xorg.libxshmfence - xorg.libXtst - wayland - pipewire - ]; + ELECTRON_SKIP_BINARY_DOWNLOAD = "1"; - sourceRoot = "."; - unpackCmd = "dpkg-deb -x $src ."; + buildPhase = '' + runHook preBuild + + pnpm build + + npm exec electron-builder -- \ + --dir \ + -c.electronDist="${electron_30}/libexec/electron" \ + -c.electronVersion="${electron_30.version}" + + runHook postBuild + ''; installPhase = '' runHook preInstall - mkdir -p "$out/bin" - cp -R "opt" "$out" - cp -R "usr/share" "$out/share" - chmod -R g-w "$out" + mkdir -p "$out/share/lib/armcord" + cp -r ./dist/*-unpacked/{locales,resources{,.pak}} "$out/share/lib/armcord" - # use makeShellWrapper (instead of the makeBinaryWrapper provided by wrapGAppsHook3) for proper shell variable expansion - # see https://github.com/NixOS/nixpkgs/issues/172583 - makeShellWrapper $out/opt/ArmCord/armcord $out/bin/armcord \ + install -Dm644 "build/icon.png" "$out/share/icons/hicolor/256x256/apps/armcord.png" + + makeShellWrapper "${lib.getExe electron_30}" "$out/bin/armcord" \ + --add-flags "$out/share/lib/armcord/resources/app.asar" \ "''${gappsWrapperArgs[@]}" \ - --prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/" \ - --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland --enable-features=UseOzonePlatform --enable-features=WebRTCPipeWireCapturer }}" \ - --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath buildInputs}" \ - --suffix PATH : ${lib.makeBinPath [ xdg-utils ]} - - # Fix desktop link - substituteInPlace $out/share/applications/armcord.desktop \ - --replace /opt/ArmCord/ $out/bin/ + --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \ + --set-default ELECTRON_IS_DEV 0 \ + --inherit-argv0 runHook postInstall ''; + desktopItems = [ + (makeDesktopItem { + name = "armcord"; + desktopName = "ArmCord"; + exec = "${placeholder "out"}/bin/armcord %U"; + icon = "armcord"; + comment = meta.description; + categories = [ "Network" ]; + startupWMClass = "ArmCord"; + terminal = false; + }) + ]; + meta = with lib; { description = "Lightweight, alternative desktop client for Discord"; homepage = "https://armcord.app"; downloadPage = "https://github.com/ArmCord/ArmCord"; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.osl3; maintainers = with maintainers; [ wrmilling ]; platforms = [ "x86_64-linux" "aarch64-linux" ]; From b7cba6a511e630149216f65555df82f3ebd1a933 Mon Sep 17 00:00:00 2001 From: Varun Narravula Date: Fri, 26 Jul 2024 12:22:12 -0700 Subject: [PATCH 042/226] armcord: add water-sucks as maintainer --- .../networking/instant-messengers/armcord/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/instant-messengers/armcord/default.nix b/pkgs/applications/networking/instant-messengers/armcord/default.nix index b2be77f2dba3..7055a998d1fc 100644 --- a/pkgs/applications/networking/instant-messengers/armcord/default.nix +++ b/pkgs/applications/networking/instant-messengers/armcord/default.nix @@ -77,7 +77,7 @@ stdenv.mkDerivation rec { homepage = "https://armcord.app"; downloadPage = "https://github.com/ArmCord/ArmCord"; license = licenses.osl3; - maintainers = with maintainers; [ wrmilling ]; + maintainers = with maintainers; [ wrmilling water-sucks ]; platforms = [ "x86_64-linux" "aarch64-linux" ]; mainProgram = "armcord"; }; From 87ba2715acfb753a84c17546166a6fceb4db9554 Mon Sep 17 00:00:00 2001 From: Honnip Date: Sat, 27 Jul 2024 08:35:22 +0900 Subject: [PATCH 043/226] deno: 1.45.2 -> 1.45.4 --- pkgs/development/web/deno/default.nix | 6 +++--- pkgs/development/web/deno/librusty_v8.nix | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/development/web/deno/default.nix b/pkgs/development/web/deno/default.nix index 854c17f7a099..f4cd4f91e071 100644 --- a/pkgs/development/web/deno/default.nix +++ b/pkgs/development/web/deno/default.nix @@ -13,16 +13,16 @@ }: rustPlatform.buildRustPackage rec { pname = "deno"; - version = "1.45.2"; + version = "1.45.4"; src = fetchFromGitHub { owner = "denoland"; repo = pname; rev = "v${version}"; - hash = "sha256-9VEKv6GHcvrSjmJKE6tLY8/Lu9bWWw+vI57OwkQzuHs="; + hash = "sha256-bD7BGTzzW9PdIFWI8UwEZ4neODKBIkJ8hL3Hek2x/d4="; }; - cargoHash = "sha256-XdT12nH0mYHbGqt613N+/r1nkTLLddFIEiXimoIixi4="; + cargoHash = "sha256-7i3D+cOpb+HVP2dDQXFoXWviZbmI7zKnntjStldGbYo="; postPatch = '' # upstream uses lld on aarch64-darwin for faster builds diff --git a/pkgs/development/web/deno/librusty_v8.nix b/pkgs/development/web/deno/librusty_v8.nix index 1e4991b0b3ee..43bd7d9ef9fa 100644 --- a/pkgs/development/web/deno/librusty_v8.nix +++ b/pkgs/development/web/deno/librusty_v8.nix @@ -13,11 +13,11 @@ let }; in fetch_librusty_v8 { - version = "0.97.0"; + version = "0.99.0"; shas = { - x86_64-linux = "sha256-6dWSE9EsihouhRTEnly5UJFcKXwR7GhoYJtOvgVHhXk="; - aarch64-linux = "sha256-8IkFEnzpGuDHfHkRuybZ7rLhxOcI2y1p+3jlV45eqho="; - x86_64-darwin = "sha256-UmmgJH//lbqgQuhcL3NSaJnyaACZmLf8I5Gg/dubdh8="; - aarch64-darwin = "sha256-L8CR4oSTnxP5wo3aIoVXmgXDp/FHAs45ErLtEcno9AU="; + x86_64-linux = "sha256-rXAxKDTDB7tU5T6tf7XQUEAbDD2PXfzU+0bgA6WOsOQ="; + aarch64-linux = "sha256-4V3EtxH+rGsJzam57OByLlB0D1xtnSz+1P34EfaIry4="; + x86_64-darwin = "sha256-fYo8B9uMS6ElPA+4A3wLQvuLH2dqar6hGhpOTvnKK7s="; + aarch64-darwin = "sha256-vh/fitDe3s0AoncO9nlJPNTMLQhWuJnYzFHsYdmERrU="; }; } From 47b3b812c9e46a6cc7353e615b6e12827d35503e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 27 Jul 2024 06:34:49 +0000 Subject: [PATCH 044/226] buildah-unwrapped: 1.36.0 -> 1.37.0 --- pkgs/development/tools/buildah/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/buildah/default.nix b/pkgs/development/tools/buildah/default.nix index 531e87df84bc..ff31e38d56a8 100644 --- a/pkgs/development/tools/buildah/default.nix +++ b/pkgs/development/tools/buildah/default.nix @@ -17,13 +17,13 @@ buildGoModule rec { pname = "buildah"; - version = "1.36.0"; + version = "1.37.0"; src = fetchFromGitHub { owner = "containers"; repo = "buildah"; rev = "v${version}"; - hash = "sha256-Ttz1D/jFbxFfpbT2VAkcao2AFwFRD8PLrH8yDSYt3AI="; + hash = "sha256-WT1ij2jDEKavYREYYYKl6H27QOuGDAxnWSz+mbvJ5UA="; }; outputs = [ "out" "man" ]; From 1bfc705287d5b9bf65a07c4a7b46ff75217efd13 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 27 Jul 2024 16:22:32 +0000 Subject: [PATCH 045/226] hyprland-per-window-layout: 2.11 -> 2.12 --- pkgs/tools/wayland/hyprland-per-window-layout/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/wayland/hyprland-per-window-layout/default.nix b/pkgs/tools/wayland/hyprland-per-window-layout/default.nix index daf5c906a24c..d1f90a85e5da 100644 --- a/pkgs/tools/wayland/hyprland-per-window-layout/default.nix +++ b/pkgs/tools/wayland/hyprland-per-window-layout/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "hyprland-per-window-layout"; - version = "2.11"; + version = "2.12"; src = fetchFromGitHub { owner = "coffebar"; repo = pname; rev = version; - hash = "sha256-euq+RRUeoKFmEmNJ6dOI01SAp6XywaspmGG5wCspkiA="; + hash = "sha256-iDRNlE+NFu8doFDTXxyFhMCm5IUVt1zdfHFqG1WeXHc="; }; - cargoHash = "sha256-sK1X3CNZ1PTNaLcGVAx4pk9EXDSfSjptJDwC73DFq7w="; + cargoHash = "sha256-k5GKi9LIHiqJGmoj8M52+Seww7cNirp49VKI4Y2SMqw="; meta = with lib; { description = "Per window keyboard layout (language) for Hyprland wayland compositor"; From 40ff23c50efb9dc88a8fc0b9605701ecfd57c8a8 Mon Sep 17 00:00:00 2001 From: qubitnano <146656568+qubitnano@users.noreply.github.com> Date: Thu, 11 Jul 2024 18:39:07 -0400 Subject: [PATCH 046/226] _2ship2harkinian: 1.0.1 -> 1.0.2 --- pkgs/by-name/_2/_2ship2harkinian/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/_2/_2ship2harkinian/package.nix b/pkgs/by-name/_2/_2ship2harkinian/package.nix index 38212172c085..da601ad0227f 100644 --- a/pkgs/by-name/_2/_2ship2harkinian/package.nix +++ b/pkgs/by-name/_2/_2ship2harkinian/package.nix @@ -96,13 +96,13 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "2ship2harkinian"; - version = "1.0.1"; + version = "1.0.2"; src = fetchFromGitHub { owner = "HarbourMasters"; repo = "2ship2harkinian"; - rev = finalAttrs.version; - hash = "sha256-czPAmqlXfhOjOYYssDuKt2YDlMlkruNx8EDXo1ksb14="; + rev = "refs/tags/${finalAttrs.version}"; + hash = "sha256-1iSFzroKxwFpsIGNMetSlQKTKRWCy7QtgCTepFdSeY8="; fetchSubmodules = true; }; From c1351171180cd7ddea5fd8c262389ae124a98626 Mon Sep 17 00:00:00 2001 From: qubitnano <146656568+qubitnano@users.noreply.github.com> Date: Thu, 11 Jul 2024 18:38:37 -0400 Subject: [PATCH 047/226] _2ship2harkinian: reorganize --- pkgs/by-name/_2/_2ship2harkinian/package.nix | 153 ++++++++++--------- 1 file changed, 77 insertions(+), 76 deletions(-) diff --git a/pkgs/by-name/_2/_2ship2harkinian/package.nix b/pkgs/by-name/_2/_2ship2harkinian/package.nix index da601ad0227f..583e2864a112 100644 --- a/pkgs/by-name/_2/_2ship2harkinian/package.nix +++ b/pkgs/by-name/_2/_2ship2harkinian/package.nix @@ -1,33 +1,41 @@ { - stdenv, - cmake, - lsb-release, - ninja, lib, - fetchFromGitHub, - fetchurl, - copyDesktopItems, - makeDesktopItem, - python3, + stdenv, SDL2, - pkg-config, - libpulseaudio, - libpng, - imagemagick, - zenity, - makeWrapper, - imgui, - stormlib, - libzip, - nlohmann_json, - tinyxml-2, - spdlog, + cmake, + copyDesktopItems, + fetchFromGitHub, fetchpatch, + fetchurl, + imagemagick, + imgui, + libpng, + libpulseaudio, + libzip, + lsb-release, + makeDesktopItem, + makeWrapper, + ninja, + nlohmann_json, + pkg-config, + python3, + spdlog, + stormlib, + tinyxml-2, writeTextFile, + zenity, }: let + # This would get fetched at build time otherwise, see: + # https://github.com/HarbourMasters/2ship2harkinian/blob/1.0.2/mm/CMakeLists.txt#L708 + gamecontrollerdb = fetchurl { + name = "gamecontrollerdb.txt"; + url = "https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/b1759cf84028aab89caa1c395e198c340b8dfd89/gamecontrollerdb.txt"; + hash = "sha256-7C5EkqBIhLGNJuhi3832y0ffW5Ep7iuTYXb1bL5h2Js="; + }; + # 2ship needs a specific imgui version imgui' = imgui.overrideAttrs rec { version = "1.90.6"; @@ -39,40 +47,6 @@ let }; }; - # Apply 2ship's patch for stormlib - stormlib' = stormlib.overrideAttrs (prev: rec { - version = "9.25"; - src = fetchFromGitHub { - owner = "ladislav-zezula"; - repo = "StormLib"; - rev = "v${version}"; - hash = "sha256-HTi2FKzKCbRaP13XERUmHkJgw8IfKaRJvsK3+YxFFdc="; - }; - buildInputs = prev.buildInputs ++ [ pkg-config ]; - patches = (prev.patches or [ ]) ++ [ - (fetchpatch { - name = "stormlib-optimizations.patch"; - url = "https://github.com/briaguya-ai/StormLib/commit/ff338b230544f8b2bb68d2fbe075175ed2fd758c.patch"; - hash = "sha256-Jbnsu5E6PkBifcx/yULMVC//ab7tszYgktS09Azs5+4="; - }) - ]; - }); - - # This would get fetched at build time otherwise, see: - # https://github.com/HarbourMasters/Shipwright/blob/e46c60a7a1396374e23f7a1f7122ddf9efcadff7/soh/CMakeLists.txt#L736 - gamecontrollerdb = fetchurl { - name = "gamecontrollerdb.txt"; - url = "https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/30cb02c07001234f021eadf64035ef07753c1263/gamecontrollerdb.txt"; - hash = "sha256-Q/OUrvoLY4fF/EJBmQC57y5b3D0Rmlyd9zAmB7U8SUU="; - }; - - thread_pool = fetchFromGitHub { - owner = "bshoshany"; - repo = "thread-pool"; - rev = "v4.1.0"; - hash = "sha256-zhRFEmPYNFLqQCfvdAaG5VBNle9Qm8FepIIIrT9sh88="; - }; - libgfxd = fetchFromGitHub { owner = "glankk"; repo = "libgfxd"; @@ -93,6 +67,33 @@ let url = "https://raw.githubusercontent.com/nothings/stb/0bc88af4de5fb022db643c2d8e549a0927749354/stb_image.h"; hash = "sha256-xUsVponmofMsdeLsI6+kQuPg436JS3PBl00IZ5sg3Vw="; }; + + # Apply 2ship's patch for stormlib + stormlib' = stormlib.overrideAttrs (prev: rec { + version = "9.25"; + src = fetchFromGitHub { + owner = "ladislav-zezula"; + repo = "StormLib"; + rev = "v${version}"; + hash = "sha256-HTi2FKzKCbRaP13XERUmHkJgw8IfKaRJvsK3+YxFFdc="; + }; + buildInputs = prev.buildInputs ++ [ pkg-config ]; + patches = (prev.patches or [ ]) ++ [ + (fetchpatch { + name = "stormlib-optimizations.patch"; + url = "https://github.com/briaguya-ai/StormLib/commit/ff338b230544f8b2bb68d2fbe075175ed2fd758c.patch"; + hash = "sha256-Jbnsu5E6PkBifcx/yULMVC//ab7tszYgktS09Azs5+4="; + }) + ]; + }); + + thread_pool = fetchFromGitHub { + owner = "bshoshany"; + repo = "thread-pool"; + rev = "v4.1.0"; + hash = "sha256-zhRFEmPYNFLqQCfvdAaG5VBNle9Qm8FepIIIrT9sh88="; + }; + in stdenv.mkDerivation (finalAttrs: { pname = "2ship2harkinian"; @@ -106,38 +107,43 @@ stdenv.mkDerivation (finalAttrs: { fetchSubmodules = true; }; + patches = [ + # remove fetching stb as we will patch our own + ./0001-deps.patch + ]; + nativeBuildInputs = [ cmake + copyDesktopItems + imagemagick + lsb-release + makeWrapper ninja pkg-config - lsb-release python3 - imagemagick - copyDesktopItems - makeWrapper ]; buildInputs = [ SDL2 - libpulseaudio - libpng - zenity imgui' - stormlib' + libpng + libpulseaudio libzip nlohmann_json - tinyxml-2 spdlog + stormlib' + tinyxml-2 + zenity ]; cmakeFlags = [ - "-DCMAKE_INSTALL_PREFIX=${placeholder "out"}/2s2h" - "-DFETCHCONTENT_SOURCE_DIR_IMGUI=${imgui'.src}" - "-DFETCHCONTENT_SOURCE_DIR_STORMLIB=${stormlib'}" - "-DFETCHCONTENT_SOURCE_DIR_LIBGFXD=${libgfxd}" - "-DFETCHCONTENT_SOURCE_DIR_THREADPOOL=${thread_pool}" - (lib.cmakeFeature "CMAKE_BUILD_TYPE" "Release") (lib.cmakeBool "NON_PORTABLE" true) + (lib.cmakeFeature "CMAKE_BUILD_TYPE" "Release") + (lib.cmakeFeature "CMAKE_INSTALL_PREFIX" "${placeholder "out"}/2s2h") + (lib.cmakeFeature "FETCHCONTENT_SOURCE_DIR_IMGUI" "${imgui'.src}") + (lib.cmakeFeature "FETCHCONTENT_SOURCE_DIR_LIBGFXD" "${libgfxd}") + (lib.cmakeFeature "FETCHCONTENT_SOURCE_DIR_STORMLIB" "${stormlib'}") + (lib.cmakeFeature "FETCHCONTENT_SOURCE_DIR_THREADPOOL" "${thread_pool}") ]; dontAddPrefix = true; @@ -158,11 +164,6 @@ stdenv.mkDerivation (finalAttrs: { --replace-fail "\''${STB_DIR}" "/build/source/stb" ''; - patches = [ - # remove fetching stb as we will patch our own - ./0001-deps.patch - ]; - postBuild = '' cp ${gamecontrollerdb} ${gamecontrollerdb.name} pushd ../OTRExporter @@ -181,7 +182,7 @@ stdenv.mkDerivation (finalAttrs: { install -Dm644 ../mm/linux/2s2hIcon.png $out/share/pixmaps/2s2h.png ''; - fixupPhase = '' + postFixup = '' wrapProgram $out/2s2h/2s2h.elf --prefix PATH ":" ${lib.makeBinPath [ zenity ]} ''; From 2203c6b5e3f52e44b73b895f83e441857c151a08 Mon Sep 17 00:00:00 2001 From: Luna Simons Date: Sun, 28 Jul 2024 12:42:32 +0200 Subject: [PATCH 048/226] redocly: 1.18.0 -> 1.18.1 --- pkgs/by-name/re/redocly/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/re/redocly/package.nix b/pkgs/by-name/re/redocly/package.nix index 77cabb05fa1f..198d50270259 100644 --- a/pkgs/by-name/re/redocly/package.nix +++ b/pkgs/by-name/re/redocly/package.nix @@ -8,16 +8,16 @@ buildNpmPackage rec { pname = "redocly"; - version = "1.18.0"; + version = "1.18.1"; src = fetchFromGitHub { owner = "Redocly"; repo = "redocly-cli"; rev = "@redocly/cli@${version}"; - hash = "sha256-Wcnq6hOgZb/HjTL1vb70d69LwFqRsBrgWHKyjYnauEg="; + hash = "sha256-Y09tGm3Sje8gd+6tUyBTCt7HjL2CQ/vo/ExLDnywvcQ="; }; - npmDepsHash = "sha256-mHwabPif4B1kzqA5Y9WBEr17c3tg0IsBGcRcWnQqGD0="; + npmDepsHash = "sha256-WzMFKMW/YyAH3ZoOeIcXIum15cJmPGp96xSYb9QCaWI="; npmBuildScript = "prepare"; From f74f40b53696edf02a14d9232b1a8690e3ec9215 Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Mon, 22 Jul 2024 20:29:38 +0200 Subject: [PATCH 049/226] python312Packages.pyside6: allow optional dependencies for darwin This commit refactors `pyside6` by: - adding LLVM_INSTALL_DIR environment variable to let `pyside6` find the libclang library - add required darwin frameworks - use a `symlinkJoin` construct of all qt6 dependencies so `pyside6` finds the dependencies on darwin. This is necessary, because `pyside6` on macos expects all dependencies to be under the same directory - remove the optional module `Designer` from the darwin python bindings, since it causes linker failures. The benefit of this change is that `pyside6` now includes almost all the python bindings for Qt (except Designer and qtwebengine) on darwin. This also adds the following modules to the `x86_64-linux` binding: - qtpositioning - qtlocation - qtshadertools - qtserialport - qtserialbus - qtgraphs Signed-off-by: Florian Brandes --- .../python-modules/pyside6/default.nix | 107 +++++++++++++----- 1 file changed, 76 insertions(+), 31 deletions(-) diff --git a/pkgs/development/python-modules/pyside6/default.nix b/pkgs/development/python-modules/pyside6/default.nix index 870fb5cd71fb..824150b2ae03 100644 --- a/pkgs/development/python-modules/pyside6/default.nix +++ b/pkgs/development/python-modules/pyside6/default.nix @@ -2,11 +2,54 @@ lib, stdenv, cmake, + cups, ninja, python, moveBuildTree, shiboken6, + llvmPackages, + symlinkJoin, + libGL, + darwin, }: +let + packages = with python.pkgs.qt6; [ + # required + python.pkgs.ninja + python.pkgs.packaging + python.pkgs.setuptools + qtbase + + # optional + qt3d + qtcharts + qtconnectivity + qtdatavis3d + qtdeclarative + qthttpserver + qtmultimedia + qtnetworkauth + qtquick3d + qtremoteobjects + qtscxml + qtsensors + qtspeech + qtsvg + qtwebchannel + qtwebsockets + qtpositioning + qtlocation + qtshadertools + qtserialport + qtserialbus + qtgraphs + qttools + ]; + qt_linked = symlinkJoin { + name = "qt_linked"; + paths = packages; + }; +in stdenv.mkDerivation (finalAttrs: { pname = "pyside6"; @@ -15,16 +58,27 @@ stdenv.mkDerivation (finalAttrs: { sourceRoot = "pyside-setup-everywhere-src-${finalAttrs.version}/sources/pyside6"; - # FIXME: cmake/Macros/PySideModules.cmake supposes that all Qt frameworks on macOS + # cmake/Macros/PySideModules.cmake supposes that all Qt frameworks on macOS # reside in the same directory as QtCore.framework, which is not true for Nix. - postPatch = lib.optionalString stdenv.isLinux '' + # We therefore symLink all required and optional Qt modules in one directory tree ("qt_linked"). + # Also we remove "Designer" from darwin build, due to linking failure + postPatch = + '' # Don't ignore optional Qt modules substituteInPlace cmake/PySideHelpers.cmake \ --replace-fail \ 'string(FIND "''${_module_dir}" "''${_core_abs_dir}" found_basepath)' \ 'set (found_basepath 0)' + '' + + lib.optionalString stdenv.isDarwin '' + substituteInPlace cmake/PySideHelpers.cmake \ + --replace-fail \ + "Designer" "" ''; + # "Couldn't find libclang.dylib You will likely need to add it manually to PATH to ensure the build succeeds." + env = lib.optionalAttrs stdenv.isDarwin { LLVM_INSTALL_DIR = "${llvmPackages.libclang.lib}/lib"; }; + nativeBuildInputs = [ cmake ninja @@ -32,35 +86,26 @@ stdenv.mkDerivation (finalAttrs: { ] ++ lib.optionals stdenv.isDarwin [ moveBuildTree ]; buildInputs = - with python.pkgs.qt6; - [ - # required - qtbase - python.pkgs.ninja - python.pkgs.packaging - python.pkgs.setuptools - ] - ++ lib.optionals stdenv.isLinux [ - # optional - qt3d - qtcharts - qtconnectivity - qtdatavis3d - qtdeclarative - qthttpserver - qtmultimedia - qtnetworkauth - qtquick3d - qtremoteobjects - qtscxml - qtsensors - qtspeech - qtsvg - qttools - qtwebchannel - qtwebengine - qtwebsockets - ]; + if stdenv.isLinux then + # qtwebengine fails under darwin + # see https://github.com/NixOS/nixpkgs/pull/312987 + packages ++ [ python.pkgs.qt6.qtwebengine ] + else + with darwin.apple_sdk_11_0.frameworks; + [ + qt_linked + libGL + cups + # frameworks + IOKit + DiskArbitration + CoreBluetooth + EventKit + AVFoundation + Contacts + AGL + AppKit + ]; propagatedBuildInputs = [ shiboken6 ]; From 20418bec25c28575bd2c0fb69a9b4dd81597a633 Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Mon, 22 Jul 2024 21:20:51 +0200 Subject: [PATCH 050/226] python312Packages.pyside6: format Signed-off-by: Florian Brandes --- .../python-modules/pyside6/default.nix | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/pyside6/default.nix b/pkgs/development/python-modules/pyside6/default.nix index 824150b2ae03..29fa3d39c7b4 100644 --- a/pkgs/development/python-modules/pyside6/default.nix +++ b/pkgs/development/python-modules/pyside6/default.nix @@ -64,17 +64,17 @@ stdenv.mkDerivation (finalAttrs: { # Also we remove "Designer" from darwin build, due to linking failure postPatch = '' - # Don't ignore optional Qt modules - substituteInPlace cmake/PySideHelpers.cmake \ - --replace-fail \ - 'string(FIND "''${_module_dir}" "''${_core_abs_dir}" found_basepath)' \ - 'set (found_basepath 0)' - '' - + lib.optionalString stdenv.isDarwin '' - substituteInPlace cmake/PySideHelpers.cmake \ - --replace-fail \ - "Designer" "" - ''; + # Don't ignore optional Qt modules + substituteInPlace cmake/PySideHelpers.cmake \ + --replace-fail \ + 'string(FIND "''${_module_dir}" "''${_core_abs_dir}" found_basepath)' \ + 'set (found_basepath 0)' + '' + + lib.optionalString stdenv.isDarwin '' + substituteInPlace cmake/PySideHelpers.cmake \ + --replace-fail \ + "Designer" "" + ''; # "Couldn't find libclang.dylib You will likely need to add it manually to PATH to ensure the build succeeds." env = lib.optionalAttrs stdenv.isDarwin { LLVM_INSTALL_DIR = "${llvmPackages.libclang.lib}/lib"; }; From c40ce90d28e607d3b967963a0240c43d1210dbc5 Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Mon, 22 Jul 2024 21:27:42 +0200 Subject: [PATCH 051/226] python312Packages.pyside6: add pythonImportsCheck Signed-off-by: Florian Brandes --- pkgs/development/python-modules/pyside6/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/pyside6/default.nix b/pkgs/development/python-modules/pyside6/default.nix index 29fa3d39c7b4..2dc0078c369a 100644 --- a/pkgs/development/python-modules/pyside6/default.nix +++ b/pkgs/development/python-modules/pyside6/default.nix @@ -5,6 +5,7 @@ cups, ninja, python, + pythonImportsCheckHook, moveBuildTree, shiboken6, llvmPackages, @@ -83,6 +84,7 @@ stdenv.mkDerivation (finalAttrs: { cmake ninja python + pythonImportsCheckHook ] ++ lib.optionals stdenv.isDarwin [ moveBuildTree ]; buildInputs = @@ -119,6 +121,8 @@ stdenv.mkDerivation (finalAttrs: { cp -r PySide6.egg-info $out/${python.sitePackages}/ ''; + pythonImportsCheck = [ "PySide6" ]; + meta = { description = "Python bindings for Qt"; license = with lib.licenses; [ From 96a5271f928ed1ce9f2837bb5f582dae7a23b921 Mon Sep 17 00:00:00 2001 From: Bintang Adiputra Pratama Date: Mon, 29 Jul 2024 20:05:27 +0700 Subject: [PATCH 052/226] keymapper: 4.4.4 -> 4.5.2 --- pkgs/tools/inputmethods/keymapper/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/inputmethods/keymapper/default.nix b/pkgs/tools/inputmethods/keymapper/default.nix index 191ffc14a8ad..add1176f82c1 100644 --- a/pkgs/tools/inputmethods/keymapper/default.nix +++ b/pkgs/tools/inputmethods/keymapper/default.nix @@ -15,13 +15,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "keymapper"; - version = "4.4.4"; + version = "4.5.2"; src = fetchFromGitHub { owner = "houmain"; repo = "keymapper"; rev = finalAttrs.version; - hash = "sha256-TNUln6K8iECtucCLZ7NIFqVsHX/FS32otabxmuRANq8="; + hash = "sha256-qBYezQdm1ZKSB+eylJYxiP891t77sA4I9IlTAsfDyC4="; }; # all the following must be in nativeBuildInputs From 5d705a6a3bc2489d830c420b64e130c28eedd062 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Fri, 26 Jul 2024 03:16:45 +0200 Subject: [PATCH 053/226] python312Packages.textx: 3.0.0 -> 4.0.1 --- .../python-modules/textx/default.nix | 72 +++++++++++-------- .../python-modules/textx/tests.nix | 6 ++ 2 files changed, 48 insertions(+), 30 deletions(-) diff --git a/pkgs/development/python-modules/textx/default.nix b/pkgs/development/python-modules/textx/default.nix index b3edc047da93..ea0f56717d52 100644 --- a/pkgs/development/python-modules/textx/default.nix +++ b/pkgs/development/python-modules/textx/default.nix @@ -14,41 +14,30 @@ html5lib, jinja2, psutil, + flit-core, }: let textx = buildPythonPackage rec { pname = "textx"; - version = "3.0.0"; - format = "setuptools"; + version = "4.0.1"; + pyproject = true; src = fetchFromGitHub { owner = pname; repo = pname; rev = version; - hash = "sha256-uZlO82dKtWQQR5+Q7dWk3+ZoUzAjDJ8qzC4UMLCtnBk="; + hash = "sha256-qiKOG6B7yWWzkL7bmcRAVv6AOHKTWmrlrsJlXD5RoaQ="; }; - postPatch = '' - substituteInPlace setup.cfg --replace "click >=7.0, <8.0" "click >=7.0" - ''; - outputs = [ "out" "testout" ]; - nativeBuildInputs = [ - mkdocs - twine - ]; + build-system = [ flit-core ]; - propagatedBuildInputs = [ - arpeggio - click - future - setuptools - ]; + dependencies = [ arpeggio ]; postInstall = '' # FileNotFoundError: [Errno 2] No such file or directory: '$out/lib/python3.10/site-packages/textx/textx.tx @@ -88,16 +77,19 @@ let textx-data-dsl = buildPythonPackage rec { pname = "textx-data-dsl"; version = "1.0.0"; + pyproject = true; + inherit (textx) src; - # `format` isn't included in the output of `mk-python-derivation`. - # So can't inherit format: `error: attribute 'format' missing`. - format = "setuptools"; pathToSourceRoot = "tests/functional/registration/projects/data_dsl"; sourceRoot = "${src.name}/" + pathToSourceRoot; - propagatedBuildInputs = [ + + build-system = [ flit-core ]; + + dependencies = [ textx textx-types-dsl ]; + meta = with lib; { inherit (textx.meta) license maintainers; description = "Sample textX language for testing"; @@ -108,14 +100,19 @@ let textx-flow-codegen = buildPythonPackage rec { pname = "textx-flow-codegen"; version = "1.0.0"; + pyproject = true; + inherit (textx) src; - format = "setuptools"; + pathToSourceRoot = "tests/functional/registration/projects/flow_codegen"; sourceRoot = "${src.name}/" + pathToSourceRoot; - propagatedBuildInputs = [ - click + + build-system = [ flit-core ]; + dependencies = [ textx + click ]; + meta = with lib; { inherit (textx.meta) license maintainers; description = "Sample textX language for testing"; @@ -126,11 +123,16 @@ let textx-flow-dsl = buildPythonPackage rec { pname = "textx-flow-dsl"; version = "1.0.0"; + pyproject = true; + inherit (textx) src; - format = "setuptools"; + pathToSourceRoot = "tests/functional/registration/projects/flow_dsl"; sourceRoot = "${src.name}/" + pathToSourceRoot; - propagatedBuildInputs = [ textx ]; + + build-system = [ flit-core ]; + dependencies = [ textx ]; + meta = with lib; { inherit (textx.meta) license maintainers; description = "Sample textX language for testing"; @@ -141,11 +143,16 @@ let textx-types-dsl = buildPythonPackage rec { pname = "textx-types-dsl"; version = "1.0.0"; + pyproject = true; + inherit (textx) src; - format = "setuptools"; + pathToSourceRoot = "tests/functional/registration/projects/types_dsl"; sourceRoot = "${src.name}/" + pathToSourceRoot; - propagatedBuildInputs = [ textx ]; + + build-system = [ flit-core ]; + dependencies = [ textx ]; + meta = with lib; { inherit (textx.meta) license maintainers; description = "Sample textX language for testing"; @@ -156,11 +163,16 @@ let textx-example-project = buildPythonPackage rec { pname = "textx-example-project"; version = "1.0.0"; + pyproject = true; + inherit (textx) src; - format = "setuptools"; + pathToSourceRoot = "tests/functional/subcommands/example_project"; sourceRoot = "${src.name}/" + pathToSourceRoot; - propagatedBuildInputs = [ textx ]; + + build-system = [ flit-core ]; + dependencies = [ textx ]; + meta = with lib; { inherit (textx.meta) license maintainers; description = "Sample textX sub-command for testing"; diff --git a/pkgs/development/python-modules/textx/tests.nix b/pkgs/development/python-modules/textx/tests.nix index b991c8ed25c9..ff1c888d2dbb 100644 --- a/pkgs/development/python-modules/textx/tests.nix +++ b/pkgs/development/python-modules/textx/tests.nix @@ -1,6 +1,7 @@ { lib, buildPythonPackage, + attrs, click, gprof2dot, html5lib, @@ -20,6 +21,7 @@ buildPythonPackage { pname = "textx-tests"; inherit (textx) version; + pyproject = false; srcs = textx.testout; @@ -27,6 +29,7 @@ buildPythonPackage { dontInstall = true; nativeCheckInputs = [ + attrs click gprof2dot html5lib @@ -43,6 +46,9 @@ buildPythonPackage { ]; pytestFlagsArray = [ "tests/functional" ]; + disabledTests = [ + "test_examples" # assertion error: 0 == 12 + ]; meta = with lib; { inherit (textx.meta) license maintainers; From 5acc10275598559799669413c28f8c04353f8035 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Tue, 30 Jul 2024 01:01:27 +0200 Subject: [PATCH 054/226] strictdoc: relax dep for textx --- pkgs/by-name/st/strictdoc/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/st/strictdoc/package.nix b/pkgs/by-name/st/strictdoc/package.nix index 668addd1ab4d..e543f6ed5017 100644 --- a/pkgs/by-name/st/strictdoc/package.nix +++ b/pkgs/by-name/st/strictdoc/package.nix @@ -60,6 +60,7 @@ python3.pkgs.buildPythonApplication rec { "python-datauri" "xlsxwriter" "lxml" + "textx" ]; pythonImportsCheck = [ "strictdoc" ]; From 4ac9a94b6e59af24cabe89b9f2b754bd0a007ef8 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 29 Jul 2024 13:30:36 +0200 Subject: [PATCH 055/226] serie: init at 0.1.0 Signed-off-by: Matthias Beyer --- pkgs/by-name/se/serie/package.nix | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pkgs/by-name/se/serie/package.nix diff --git a/pkgs/by-name/se/serie/package.nix b/pkgs/by-name/se/serie/package.nix new file mode 100644 index 000000000000..2bd45a2292bd --- /dev/null +++ b/pkgs/by-name/se/serie/package.nix @@ -0,0 +1,40 @@ +{ + lib, + stdenv, + fetchFromGitHub, + rustPlatform, + darwin, +}: + +rustPlatform.buildRustPackage rec { + pname = "serie"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "lusingander"; + repo = "serie"; + rev = "v${version}"; + hash = "sha256-81DXu5SSL5TWtnIDBWCWlatRtEL00h4vOnRA0HuTInQ="; + }; + + cargoHash = "sha256-Vx3UGsWvudW33CFGU8rS+QCANxG7aXBf0zkYJxcUVps="; + + buildInputs = lib.optionals stdenv.isDarwin ( + with darwin.apple_sdk.frameworks; + [ + CoreGraphics + AppKit + ] + ); + + # requires a git repository + doCheck = false; + + meta = with lib; { + description = "A rich git commit graph in your terminal, like magic"; + homepage = "https://github.com/lusingander/serie"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ matthiasbeyer ]; + mainProgram = "serie"; + }; +} From 948120925e5f9b40d90d2848508d9b10a946ff6f Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 30 Jul 2024 08:12:47 +0200 Subject: [PATCH 056/226] serie: 0.1.0 -> 0.1.1 Signed-off-by: Matthias Beyer --- pkgs/by-name/se/serie/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/se/serie/package.nix b/pkgs/by-name/se/serie/package.nix index 2bd45a2292bd..c3271e7ffee3 100644 --- a/pkgs/by-name/se/serie/package.nix +++ b/pkgs/by-name/se/serie/package.nix @@ -8,16 +8,16 @@ rustPlatform.buildRustPackage rec { pname = "serie"; - version = "0.1.0"; + version = "0.1.1"; src = fetchFromGitHub { owner = "lusingander"; repo = "serie"; rev = "v${version}"; - hash = "sha256-81DXu5SSL5TWtnIDBWCWlatRtEL00h4vOnRA0HuTInQ="; + hash = "sha256-PlWnkkrn+j6GyyBo6ehszXxDexyW4rjIfpCj1ZARBPc="; }; - cargoHash = "sha256-Vx3UGsWvudW33CFGU8rS+QCANxG7aXBf0zkYJxcUVps="; + cargoHash = "sha256-kKOjLLpWmgtfIYWrlX/6SRUy7NOX6A/W/Oy3kMGR3eg="; buildInputs = lib.optionals stdenv.isDarwin ( with darwin.apple_sdk.frameworks; From 50ee2b98cfd94fba2aead3e04a33b8f938000784 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 30 Jul 2024 09:20:30 +0000 Subject: [PATCH 057/226] garnet: 1.0.15 -> 1.0.16 --- pkgs/by-name/ga/garnet/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ga/garnet/package.nix b/pkgs/by-name/ga/garnet/package.nix index 45d46d5bebaa..4e038635492c 100644 --- a/pkgs/by-name/ga/garnet/package.nix +++ b/pkgs/by-name/ga/garnet/package.nix @@ -7,13 +7,13 @@ }: buildDotnetModule rec { pname = "garnet"; - version = "1.0.15"; + version = "1.0.16"; src = fetchFromGitHub { owner = "microsoft"; repo = "garnet"; rev = "v${version}"; - hash = "sha256-SpkhOztUh28N853+6BBQnVRBgphxJARLJXQzmXJwPyY="; + hash = "sha256-0c6iJMSB9ThJVookibZL5CoAhrVMtY6oHYn92nN0114="; }; projectFile = "main/GarnetServer/GarnetServer.csproj"; From 62bfaf2f8f9906d645c05172b4ffd71e888010fc Mon Sep 17 00:00:00 2001 From: Philipp Arras Date: Tue, 30 Jul 2024 13:24:38 +0200 Subject: [PATCH 058/226] python3Packages.nuclear: 2.2.5 -> 2.3.1 --- pkgs/development/python-modules/nuclear/default.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/nuclear/default.nix b/pkgs/development/python-modules/nuclear/default.nix index ac7d35419835..5daade948aa8 100644 --- a/pkgs/development/python-modules/nuclear/default.nix +++ b/pkgs/development/python-modules/nuclear/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "nuclear"; - version = "2.2.5"; + version = "2.3.1"; pyproject = true; src = fetchFromGitHub { owner = "igrek51"; repo = "nuclear"; rev = version; - hash = "sha256-JuO7BKmlQE6bWKqy1QvX5U4A9YkKu/4ouTSJh9R7JGo="; + hash = "sha256-UeU803SYMBLSWXjuxtWP2R2dBumRom+qsj2ljTiYFm0="; }; build-system = [ setuptools ]; @@ -39,10 +39,6 @@ buildPythonPackage rec { # Disabled because test tries to install bash in a non-NixOS way "tests/autocomplete/test_bash_install.py" ]; - disabledTests = [ - # Setting the time zone in nix sandbox does not work - to be investigated - "test_context_logger" - ]; pythonImportsCheck = [ "nuclear" ]; meta = with lib; { From e9a3870a3b7d7f7394ff5a0d8cc84ec443f2bc6b Mon Sep 17 00:00:00 2001 From: Philipp Arras Date: Tue, 30 Jul 2024 13:24:59 +0200 Subject: [PATCH 059/226] python3Packages.wat: 0.1.2 -> 0.3.0 --- pkgs/development/python-modules/wat/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/wat/default.nix b/pkgs/development/python-modules/wat/default.nix index 7ea81661648f..4231336c31ce 100644 --- a/pkgs/development/python-modules/wat/default.nix +++ b/pkgs/development/python-modules/wat/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "wat"; - version = "0.1.2"; + version = "0.3.0"; pyproject = true; src = fetchFromGitHub { owner = "igrek51"; repo = "wat"; rev = version; - hash = "sha256-ibbWM2L/GoJVg8RxtsBSBn/qA+KIkC5+wq5YH6mtiUs="; + hash = "sha256-WCMMj4KtfWOp6LsS4XHD/M/iepstVasHknEvEUTMMM8="; }; build-system = [ setuptools ]; From 453bb3cdb940fb1e1408a229f488d35ff2a7fc3f Mon Sep 17 00:00:00 2001 From: t4ccer Date: Thu, 21 Mar 2024 20:14:19 -0600 Subject: [PATCH 060/226] aiken: init at 1.0.29-alpha --- pkgs/by-name/ai/aiken/package.nix | 44 +++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 pkgs/by-name/ai/aiken/package.nix diff --git a/pkgs/by-name/ai/aiken/package.nix b/pkgs/by-name/ai/aiken/package.nix new file mode 100644 index 000000000000..3ebdb3706b55 --- /dev/null +++ b/pkgs/by-name/ai/aiken/package.nix @@ -0,0 +1,44 @@ +{ + lib, + openssl, + pkg-config, + rustPlatform, + fetchFromGitHub, + darwin, + stdenv, +}: + +rustPlatform.buildRustPackage rec { + pname = "aiken"; + version = "1.0.29-alpha"; # all releases are 'alpha' + + src = fetchFromGitHub { + owner = "aiken-lang"; + repo = "aiken"; + rev = "v${version}"; + hash = "sha256-fikXypc9HKil4Ut4jdgQtTTy/CHEogEpDprwdTgd9b4="; + }; + + cargoHash = "sha256-UWDPXnq2k/PoogrfuW93ieRW8AfuNIEfri9Jo6gHkdg="; + + buildInputs = + [ openssl ] + ++ lib.optionals stdenv.isDarwin ( + with darwin.apple_sdk.frameworks; + [ + Security + CoreServices + SystemConfiguration + ] + ); + + nativeBuildInputs = [ pkg-config ]; + + meta = { + description = "Modern smart contract platform for Cardano"; + homepage = "https://aiken-lang.org"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ t4ccer ]; + mainProgram = "aiken"; + }; +} From eeacf85fb9e459ccac88b56a9ec60157c3c15218 Mon Sep 17 00:00:00 2001 From: Robert Rose Date: Tue, 30 Jul 2024 10:25:57 +0200 Subject: [PATCH 061/226] k3s: add airgap images to passthru attributes The k3s update script filters the assets of a corresponding release for airgap images archives and provides these as passthru attributes of the k3s derivation. We use zstd archives, as these offer the best compression ratios and decompression speed. Furthermore, the `airgapImages` passthru provides the images archive that matches the host platform architecture, however, this only works for aarch64 and x86_64. In addition, a txt file listing all container images of a release is made available via a passthru attribute. The airgap images archives can be combined nicely with the `services.k3s.images` option, e.g. to pre-provision k3s nodes for environments without Internet connectivity. --- nixos/tests/k3s/airgap-images.nix | 44 +++++++ .../cluster/k3s/1_28/images-versions.json | 18 +++ .../networking/cluster/k3s/1_28/versions.nix | 1 + .../cluster/k3s/1_29/images-versions.json | 18 +++ .../networking/cluster/k3s/1_29/versions.nix | 1 + .../cluster/k3s/1_30/images-versions.json | 18 +++ .../networking/cluster/k3s/1_30/versions.nix | 1 + .../networking/cluster/k3s/builder.nix | 121 ++++++++++++------ .../networking/cluster/k3s/update-script.sh | 19 +++ 9 files changed, 201 insertions(+), 40 deletions(-) create mode 100644 nixos/tests/k3s/airgap-images.nix create mode 100644 pkgs/applications/networking/cluster/k3s/1_28/images-versions.json create mode 100644 pkgs/applications/networking/cluster/k3s/1_29/images-versions.json create mode 100644 pkgs/applications/networking/cluster/k3s/1_30/images-versions.json diff --git a/nixos/tests/k3s/airgap-images.nix b/nixos/tests/k3s/airgap-images.nix new file mode 100644 index 000000000000..4d2052997e1d --- /dev/null +++ b/nixos/tests/k3s/airgap-images.nix @@ -0,0 +1,44 @@ +# A test that imports k3s airgapped images and verifies that all expected images are present +import ../make-test-python.nix ( + { lib, k3s, ... }: + { + name = "${k3s.name}-airgap-images"; + meta.maintainers = lib.teams.k3s.members; + + nodes.machine = + { pkgs, ... }: + { + # k3s uses enough resources the default vm fails. + virtualisation.memorySize = 1536; + virtualisation.diskSize = 4096; + + services.k3s = { + enable = true; + role = "server"; + package = k3s; + # Slightly reduce resource usage + extraFlags = [ + "--disable coredns" + "--disable local-storage" + "--disable metrics-server" + "--disable servicelb" + "--disable traefik" + ]; + images = [ k3s.airgapImages ]; + }; + }; + + testScript = '' + import json + + start_all() + machine.wait_for_unit("k3s") + machine.wait_until_succeeds("journalctl -r --no-pager -u k3s | grep \"Imported images from /var/lib/rancher/k3s/agent/images/\"", timeout=60) + images = json.loads(machine.succeed("crictl img -o json")) + image_names = [i["repoTags"][0] for i in images["images"]] + with open("${k3s.imagesList}") as expected_images: + for line in expected_images: + assert line.rstrip() in image_names, f"The image {line.rstrip()} is not present in the airgap images archive" + ''; + } +) diff --git a/pkgs/applications/networking/cluster/k3s/1_28/images-versions.json b/pkgs/applications/networking/cluster/k3s/1_28/images-versions.json new file mode 100644 index 000000000000..76bcc7ee7e0a --- /dev/null +++ b/pkgs/applications/networking/cluster/k3s/1_28/images-versions.json @@ -0,0 +1,18 @@ +{ + "airgap-images-amd64": { + "url": "https://github.com/k3s-io/k3s/releases/download/v1.28.11%2Bk3s2/k3s-airgap-images-amd64.tar.zst", + "sha256": "199nxfxwr52cddk2ljchhxaigyi0al3lzyc0jy2am4aljlm0jivy" + }, + "airgap-images-arm": { + "url": "https://github.com/k3s-io/k3s/releases/download/v1.28.11%2Bk3s2/k3s-airgap-images-arm.tar.zst", + "sha256": "02riiiwwr0h3zhlxxmjn5p8ws354rr2gk44x3kz9d7sxqn17sz4w" + }, + "airgap-images-arm64": { + "url": "https://github.com/k3s-io/k3s/releases/download/v1.28.11%2Bk3s2/k3s-airgap-images-arm64.tar.zst", + "sha256": "0bs9wj33appb9xpsb2v1xz4xck4qq6g74flnc0mxf9warwr4988r" + }, + "images-list": { + "url": "https://github.com/k3s-io/k3s/releases/download/v1.28.11%2Bk3s2/k3s-images.txt", + "sha256": "0245zra2h8756kq2v8nwl6gji749xlvy1y1bkab8vz5b0vpqhfxy" + } +} diff --git a/pkgs/applications/networking/cluster/k3s/1_28/versions.nix b/pkgs/applications/networking/cluster/k3s/1_28/versions.nix index 50be2b0ce4b7..2312cc22cbe9 100644 --- a/pkgs/applications/networking/cluster/k3s/1_28/versions.nix +++ b/pkgs/applications/networking/cluster/k3s/1_28/versions.nix @@ -4,6 +4,7 @@ k3sRepoSha256 = "1k1k3qmxc7n2h2i0g52ad4gnpq0qrvxnl7p2y0g9dss1ancgqwsd"; k3sVendorHash = "sha256-tzcMcsTmY8lG+9EyYkzYJm1YU/8tGpxpH7oZ4Jl/yNU="; chartVersions = import ./chart-versions.nix; + imagesVersions = builtins.fromJSON (builtins.readFile ./images-versions.json); k3sRootVersion = "0.12.2"; k3sRootSha256 = "1gjynvr350qni5mskgm7pcc7alss4gms4jmkiv453vs8mmma9c9k"; k3sCNIVersion = "1.4.0-k3s2"; diff --git a/pkgs/applications/networking/cluster/k3s/1_29/images-versions.json b/pkgs/applications/networking/cluster/k3s/1_29/images-versions.json new file mode 100644 index 000000000000..fdf9d967d516 --- /dev/null +++ b/pkgs/applications/networking/cluster/k3s/1_29/images-versions.json @@ -0,0 +1,18 @@ +{ + "airgap-images-amd64": { + "url": "https://github.com/k3s-io/k3s/releases/download/v1.29.6%2Bk3s2/k3s-airgap-images-amd64.tar.zst", + "sha256": "1d1adpjxxgkflm4xqzynsib67pga85r1qmhkhh540nl0rppbq7gr" + }, + "airgap-images-arm": { + "url": "https://github.com/k3s-io/k3s/releases/download/v1.29.6%2Bk3s2/k3s-airgap-images-arm.tar.zst", + "sha256": "07c085y5qy8h5ja2ms3np61d7wkp6gic82snx70qlsm5fm3ak3z7" + }, + "airgap-images-arm64": { + "url": "https://github.com/k3s-io/k3s/releases/download/v1.29.6%2Bk3s2/k3s-airgap-images-arm64.tar.zst", + "sha256": "0ljajvz0n0mmwkdl1rwpwqmhgxqivakdpfyaqsascdzfk0qpv5gp" + }, + "images-list": { + "url": "https://github.com/k3s-io/k3s/releases/download/v1.29.6%2Bk3s2/k3s-images.txt", + "sha256": "0245zra2h8756kq2v8nwl6gji749xlvy1y1bkab8vz5b0vpqhfxy" + } +} diff --git a/pkgs/applications/networking/cluster/k3s/1_29/versions.nix b/pkgs/applications/networking/cluster/k3s/1_29/versions.nix index 73d9f0587e73..4b05d0a07f72 100644 --- a/pkgs/applications/networking/cluster/k3s/1_29/versions.nix +++ b/pkgs/applications/networking/cluster/k3s/1_29/versions.nix @@ -4,6 +4,7 @@ k3sRepoSha256 = "0wagfh4vbvyi62np6zx7b4p6myn0xavw691y78rnbl32jckiy14f"; k3sVendorHash = "sha256-o36gf3q7Vv+RoY681cL44rU2QFrdFW3EbRpw3dLcVTI="; chartVersions = import ./chart-versions.nix; + imagesVersions = builtins.fromJSON (builtins.readFile ./images-versions.json); k3sRootVersion = "0.13.0"; k3sRootSha256 = "1jq5f0lm08abx5ikarf92z56fvx4kjpy2nmzaazblb34lajw87vj"; k3sCNIVersion = "1.4.0-k3s2"; diff --git a/pkgs/applications/networking/cluster/k3s/1_30/images-versions.json b/pkgs/applications/networking/cluster/k3s/1_30/images-versions.json new file mode 100644 index 000000000000..1d4819006cb2 --- /dev/null +++ b/pkgs/applications/networking/cluster/k3s/1_30/images-versions.json @@ -0,0 +1,18 @@ +{ + "airgap-images-amd64": { + "url": "https://github.com/k3s-io/k3s/releases/download/v1.30.2%2Bk3s2/k3s-airgap-images-amd64.tar.zst", + "sha256": "1d1adpjxxgkflm4xqzynsib67pga85r1qmhkhh540nl0rppbq7gr" + }, + "airgap-images-arm": { + "url": "https://github.com/k3s-io/k3s/releases/download/v1.30.2%2Bk3s2/k3s-airgap-images-arm.tar.zst", + "sha256": "1hjhlj4b5ddaqhpmqbbvhvgzryi5j84i8bmpl3yij87yjkz3kld7" + }, + "airgap-images-arm64": { + "url": "https://github.com/k3s-io/k3s/releases/download/v1.30.2%2Bk3s2/k3s-airgap-images-arm64.tar.zst", + "sha256": "1r9rd70qp8x57j3hdpgwgkzchykphw0x4yd8c1jwjfaqm5df1w0d" + }, + "images-list": { + "url": "https://github.com/k3s-io/k3s/releases/download/v1.30.2%2Bk3s2/k3s-images.txt", + "sha256": "0245zra2h8756kq2v8nwl6gji749xlvy1y1bkab8vz5b0vpqhfxy" + } +} diff --git a/pkgs/applications/networking/cluster/k3s/1_30/versions.nix b/pkgs/applications/networking/cluster/k3s/1_30/versions.nix index 0db569674389..2646c3454136 100644 --- a/pkgs/applications/networking/cluster/k3s/1_30/versions.nix +++ b/pkgs/applications/networking/cluster/k3s/1_30/versions.nix @@ -4,6 +4,7 @@ k3sRepoSha256 = "0hy0f44hj5n5nscr0p52dbklvj2ki2vs7k0cgh1r8xlg4p6fn1b0"; k3sVendorHash = "sha256-Mj9Q3TgqZoJluG4/nyuw2WHnB3OJ+/mlV7duzWt1B1A="; chartVersions = import ./chart-versions.nix; + imagesVersions = builtins.fromJSON (builtins.readFile ./images-versions.json); k3sRootVersion = "0.13.0"; k3sRootSha256 = "1jq5f0lm08abx5ikarf92z56fvx4kjpy2nmzaazblb34lajw87vj"; k3sCNIVersion = "1.4.0-k3s2"; diff --git a/pkgs/applications/networking/cluster/k3s/builder.nix b/pkgs/applications/networking/cluster/k3s/builder.nix index eeff2578efb7..e0288c21fc99 100644 --- a/pkgs/applications/networking/cluster/k3s/builder.nix +++ b/pkgs/applications/networking/cluster/k3s/builder.nix @@ -12,6 +12,8 @@ lib: # Based on the traefik charts here: https://github.com/k3s-io/k3s/blob/d71ab6317e22dd34673faa307a412a37a16767f6/scripts/download#L29-L32 # see also https://github.com/k3s-io/k3s/blob/d71ab6317e22dd34673faa307a412a37a16767f6/manifests/traefik.yaml#L8 chartVersions, + # Air gap container images that are released as assets with every k3s release + imagesVersions, # taken from ./scripts/version.sh VERSION_CNIPLUGINS https://github.com/k3s-io/k3s/blob/v1.23.3%2Bk3s1/scripts/version.sh#L45 k3sCNIVersion, k3sCNISha256 ? lib.fakeHash, @@ -30,41 +32,42 @@ lib: # It is likely we will have to split out additional builders for additional # versions in the future, or customize this one further. { - lib, - makeWrapper, - socat, - iptables, - iproute2, - ipset, + bash, bridge-utils, btrfs-progs, - conntrack-tools, buildGoModule, - runc, - rsync, - kmod, - libseccomp, - pkg-config, + conntrack-tools, + coreutils, ethtool, - util-linux, fetchFromGitHub, + fetchgit, fetchurl, fetchzip, - fetchgit, - zstd, - yq-go, - sqlite, - nixosTests, - pkgsBuildBuild, - go, - runCommand, - bash, - procps, - coreutils, - gnugrep, findutils, + gnugrep, gnused, + go, + iproute2, + ipset, + iptables, + kmod, + lib, + libseccomp, + makeWrapper, + nixosTests, + pkg-config, + pkgsBuildBuild, + procps, + rsync, + runc, + runCommand, + socat, + sqlite, + stdenv, systemd, + util-linux, + yq-go, + zstd, }: # k3s is a kinda weird derivation. One of the main points of k3s is the @@ -122,6 +125,39 @@ let traefikChart = fetchurl chartVersions.traefik; traefik-crdChart = fetchurl chartVersions.traefik-crd; + mutFirstChar = + f: s: + let + firstChar = f (lib.substring 0 1 s); + rest = lib.substring 1 (-1) s; + in + firstChar + rest; + + kebabToCamel = + s: + mutFirstChar lib.toLower (lib.concatMapStrings (mutFirstChar lib.toUpper) (lib.splitString "-" s)); + + # finds the images archive for the desired architecture, aborts in case no suitable archive is found + findImagesArchive = + arch: + let + imagesVersionsNames = builtins.attrNames imagesVersions; + in + lib.findFirst ( + n: lib.hasInfix arch n + ) (abort "k3s: no airgap images for ${arch} available") imagesVersionsNames; + + # a shortcut that provides the images archive for the host platform. Currently only supports + # aarch64 (arm64) and x86_64 (amd64), aborts on other architectures. + airgapImages = fetchurl ( + if stdenv.isAarch64 then + imagesVersions.${findImagesArchive "arm64"} + else if stdenv.isx86_64 then + imagesVersions.${findImagesArchive "amd64"} + else + abort "k3s: airgap images cannot be found automatically for architecture ${stdenv.hostPlatform.linuxArch}, consider using an image archive with an explicit architecture." + ); + # so, k3s is a complicated thing to package # This derivation attempts to avoid including any random binaries from the # internet. k3s-root is _mostly_ binaries built to be bundled in k3s (which @@ -417,21 +453,26 @@ buildGoModule rec { runHook postInstallCheck ''; - passthru = { - k3sCNIPlugins = k3sCNIPlugins; - k3sContainerd = k3sContainerd; - k3sRepo = k3sRepo; - k3sRoot = k3sRoot; - k3sServer = k3sServer; - mkTests = - version: - let - k3s_version = "k3s_" + lib.replaceStrings [ "." ] [ "_" ] (lib.versions.majorMinor version); - in - lib.mapAttrs (name: value: nixosTests.k3s.${name}.${k3s_version}) nixosTests.k3s; - tests = passthru.mkTests k3sVersion; - updateScript = updateScript; - }; + passthru = + { + inherit airgapImages; + k3sCNIPlugins = k3sCNIPlugins; + k3sContainerd = k3sContainerd; + k3sRepo = k3sRepo; + k3sRoot = k3sRoot; + k3sServer = k3sServer; + mkTests = + version: + let + k3s_version = "k3s_" + lib.replaceStrings [ "." ] [ "_" ] (lib.versions.majorMinor version); + in + lib.mapAttrs (name: value: nixosTests.k3s.${name}.${k3s_version}) nixosTests.k3s; + tests = passthru.mkTests k3sVersion; + updateScript = updateScript; + } + // (lib.mapAttrs' ( + name: _: lib.nameValuePair (kebabToCamel name) (fetchurl imagesVersions.${name}) + ) imagesVersions); meta = baseMeta; } diff --git a/pkgs/applications/networking/cluster/k3s/update-script.sh b/pkgs/applications/networking/cluster/k3s/update-script.sh index ca7d21bff478..9eab8ce08f81 100755 --- a/pkgs/applications/networking/cluster/k3s/update-script.sh +++ b/pkgs/applications/networking/cluster/k3s/update-script.sh @@ -69,6 +69,24 @@ cat > chart-versions.nix.update < images-versions.json + FILE_GO_MOD=${WORKDIR}/go.mod curl --silent https://raw.githubusercontent.com/k3s-io/k3s/${K3S_COMMIT}/go.mod > $FILE_GO_MOD @@ -105,6 +123,7 @@ cat >versions.nix < Date: Tue, 30 Jul 2024 11:37:20 +0200 Subject: [PATCH 062/226] nixos/k3s: add test for airgap images import Add a nixos test that imports the airgap images archive and checks whether all expected images are successfully loaded by k3s. --- .../modules/services/cluster/k3s/default.nix | 6 ++- nixos/tests/k3s/airgap-images.nix | 38 +++++++++---------- nixos/tests/k3s/default.nix | 3 ++ 3 files changed, 26 insertions(+), 21 deletions(-) diff --git a/nixos/modules/services/cluster/k3s/default.nix b/nixos/modules/services/cluster/k3s/default.nix index 6c7513f60b26..70ff44943971 100644 --- a/nixos/modules/services/cluster/k3s/default.nix +++ b/nixos/modules/services/cluster/k3s/default.nix @@ -351,12 +351,16 @@ in sha256 = "0imblp0kw9vkcr7sp962jmj20fpmb3hvd3hmf4cs4x04klnq3k90"; finalImageTag = "21.1.2-debian-11-r0"; }) + + config.services.k3s.package.airgapImages ] ''; description = '' List of derivations that provide container images. All images are linked to {file}`${imageDir}` before k3s starts and consequently imported - by the k3s agent. This option only makes sense on nodes with an enabled agent. + by the k3s agent. Consider importing the k3s airgap images archive of the k3s package in + use, if you want to pre-provision this node with all k3s container images. This option + only makes sense on nodes with an enabled agent. ''; }; diff --git a/nixos/tests/k3s/airgap-images.nix b/nixos/tests/k3s/airgap-images.nix index 4d2052997e1d..1dbe8890fe73 100644 --- a/nixos/tests/k3s/airgap-images.nix +++ b/nixos/tests/k3s/airgap-images.nix @@ -5,28 +5,26 @@ import ../make-test-python.nix ( name = "${k3s.name}-airgap-images"; meta.maintainers = lib.teams.k3s.members; - nodes.machine = - { pkgs, ... }: - { - # k3s uses enough resources the default vm fails. - virtualisation.memorySize = 1536; - virtualisation.diskSize = 4096; + nodes.machine = _: { + # k3s uses enough resources the default vm fails. + virtualisation.memorySize = 1536; + virtualisation.diskSize = 4096; - services.k3s = { - enable = true; - role = "server"; - package = k3s; - # Slightly reduce resource usage - extraFlags = [ - "--disable coredns" - "--disable local-storage" - "--disable metrics-server" - "--disable servicelb" - "--disable traefik" - ]; - images = [ k3s.airgapImages ]; - }; + services.k3s = { + enable = true; + role = "server"; + package = k3s; + # Slightly reduce resource usage + extraFlags = [ + "--disable coredns" + "--disable local-storage" + "--disable metrics-server" + "--disable servicelb" + "--disable traefik" + ]; + images = [ k3s.airgapImages ]; }; + }; testScript = '' import json diff --git a/nixos/tests/k3s/default.nix b/nixos/tests/k3s/default.nix index eb1d7646c45e..06f34c03d5a3 100644 --- a/nixos/tests/k3s/default.nix +++ b/nixos/tests/k3s/default.nix @@ -7,6 +7,9 @@ let allK3s = lib.filterAttrs (n: _: lib.strings.hasPrefix "k3s_" n) pkgs; in { + airgap-images = lib.mapAttrs ( + _: k3s: import ./airgap-images.nix { inherit system pkgs k3s; } + ) allK3s; auto-deploy = lib.mapAttrs (_: k3s: import ./auto-deploy.nix { inherit system pkgs k3s; }) allK3s; etcd = lib.mapAttrs ( _: k3s: From 5af67404149106f33d1c8486f091c909e5098cca Mon Sep 17 00:00:00 2001 From: Shawn8901 Date: Mon, 29 Jul 2024 22:51:34 +0200 Subject: [PATCH 063/226] linux_xanmod: 6.6.42 -> 6.6.43 --- pkgs/os-specific/linux/kernel/xanmod-kernels.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix index ba5daf6887aa..1fcd84f14b6c 100644 --- a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix +++ b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix @@ -6,8 +6,8 @@ let # NOTE: When updating these, please also take a look at the changes done to # kernel config in the xanmod version commit ltsVariant = { - version = "6.6.42"; - hash = "sha256-0YqvOObUHP2S8Jf1H+fzAZ+wOMoFt1BLxWilqt6ohVg="; + version = "6.6.43"; + hash = "sha256-4o8qdAkqFjlRFS2k2zW9weSB1JQ5BFuDdcv26v9qYoA="; variant = "lts"; }; From f8766a076245f8af0a1297468900f9a5979eb29f Mon Sep 17 00:00:00 2001 From: Shawn8901 Date: Mon, 29 Jul 2024 22:48:54 +0200 Subject: [PATCH 064/226] linux_xanmod_latest: 6.9.11 -> 6.9.12 --- pkgs/os-specific/linux/kernel/xanmod-kernels.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix index 1fcd84f14b6c..32dd8a6a70d2 100644 --- a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix +++ b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix @@ -12,8 +12,8 @@ let }; mainVariant = { - version = "6.9.11"; - hash = "sha256-c6Mkk37SFoC9hJfh/iQqyNzGJJjN0W28VLta/nayCgc="; + version = "6.9.12"; + hash = "sha256-ysnu/6q2Zc0b+MNRdjQDLNmmjU+nWKpb/CcPOSSmotM="; variant = "main"; }; From 1f9c83a6b1bd76350a75d559a85c4a8b7713250b Mon Sep 17 00:00:00 2001 From: Freya Arbjerg Date: Wed, 31 Jul 2024 00:16:47 +0200 Subject: [PATCH 065/226] poptracker: 0.26.1 -> 0.27.0 --- pkgs/by-name/po/poptracker/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/po/poptracker/package.nix b/pkgs/by-name/po/poptracker/package.nix index efb1a1fcf5f5..8020e5da4f60 100644 --- a/pkgs/by-name/po/poptracker/package.nix +++ b/pkgs/by-name/po/poptracker/package.nix @@ -16,13 +16,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "poptracker"; - version = "0.26.1"; + version = "0.27.0"; src = fetchFromGitHub { owner = "black-sliver"; repo = "PopTracker"; rev = "v${finalAttrs.version}"; - hash = "sha256-NeUIU+vXML9lP+JL7MJyGNxZB0ggAngOpf8mMgOE+r8="; + hash = "sha256-Tz3rVbaHw5RfFKuLih4BEEnn3uNeLrtDQpBD2yYUzkM="; fetchSubmodules = true; }; From a1d89d55031f7d498a16b93866c0d97c97c3fd25 Mon Sep 17 00:00:00 2001 From: Ivan Mincik Date: Sat, 8 Jun 2024 23:21:44 +0200 Subject: [PATCH 066/226] python3Packages.rtree: add geospatial team to maintainers --- pkgs/development/python-modules/rtree/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/rtree/default.nix b/pkgs/development/python-modules/rtree/default.nix index 296d141d564a..382998464285 100644 --- a/pkgs/development/python-modules/rtree/default.nix +++ b/pkgs/development/python-modules/rtree/default.nix @@ -49,6 +49,6 @@ buildPythonPackage rec { homepage = "https://github.com/Toblerity/rtree"; changelog = "https://github.com/Toblerity/rtree/blob/${version}/CHANGES.rst"; license = licenses.mit; - maintainers = with maintainers; [ bgamari ]; + maintainers = with maintainers; teams.geospatial.members ++ [ bgamari ]; }; } From 69cbd04283605f6ff02da61b5259c79c91f9adc0 Mon Sep 17 00:00:00 2001 From: redyf Date: Wed, 31 Jul 2024 11:29:56 -0300 Subject: [PATCH 067/226] bruno: 1.22.0 -> 1.23.0 https://github.com/usebruno/bruno/releases/tag/v1.23.0 --- pkgs/by-name/br/bruno/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/br/bruno/package.nix b/pkgs/by-name/br/bruno/package.nix index 751dc2fbc74c..fc10b7e034e3 100644 --- a/pkgs/by-name/br/bruno/package.nix +++ b/pkgs/by-name/br/bruno/package.nix @@ -28,13 +28,13 @@ let in buildNpmPackage' rec { pname = "bruno"; - version = "1.22.0"; + version = "1.23.0"; src = fetchFromGitHub { owner = "usebruno"; repo = "bruno"; rev = "v${version}"; - hash = "sha256-RcMmW1+XbQSVeaYnK7y8/WdQLYOIozyt9OCDAsSZ3HU="; + hash = "sha256-zbQlmxrvA2rZLEGmhj7MkVP5SmJdhhL9F3wRrB97DJs="; postFetch = '' ${lib.getExe npm-lockfile-fix} $out/package-lock.json From 8a10b16cfa1c4a591845aa94f14dab971cf6601a Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Tue, 23 Jul 2024 10:02:07 +0200 Subject: [PATCH 068/226] python312Packages.outdated: init at 0.2.2 Signed-off-by: Florian Brandes --- .../python-modules/outdated/default.nix | 40 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 42 insertions(+) create mode 100644 pkgs/development/python-modules/outdated/default.nix diff --git a/pkgs/development/python-modules/outdated/default.nix b/pkgs/development/python-modules/outdated/default.nix new file mode 100644 index 000000000000..3331966bb31f --- /dev/null +++ b/pkgs/development/python-modules/outdated/default.nix @@ -0,0 +1,40 @@ +{ + buildPythonPackage, + fetchFromGitHub, + lib, + littleutils, + requests, + setuptools-scm, +}: + +buildPythonPackage rec { + pname = "outdated"; + version = "0.2.2"; + pyproject = true; + + src = fetchFromGitHub { + owner = "alexmojaki"; + repo = "outdated"; + rev = "refs/tags/v${version}"; + hash = "sha256-5VpPmgIcVtY97F0Hb0m9MuSW0zjaUJ18ATA4GBRw+jc="; + }; + + build-system = [ setuptools-scm ]; + + dependencies = [ + littleutils + requests + ]; + + # checks rely on internet connection + doCheck = false; + + pythonImportsCheck = [ "outdated" ]; + + meta = { + description = "Mini-library which, given a package name and a version, checks if it's the latest version available on PyPI"; + homepage = "https://github.com/alexmojaki/outdated"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ gador ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8a07033929d9..ba10b663c882 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9629,6 +9629,8 @@ self: super: with self; { outcome = callPackage ../development/python-modules/outcome { }; + outdated = callPackage ../development/python-modules/outdated { }; + outspin = callPackage ../development/python-modules/outspin { }; ovh = callPackage ../development/python-modules/ovh { }; From 585b762ec388044506b8521991c426cc08f6066c Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Tue, 23 Jul 2024 10:04:19 +0200 Subject: [PATCH 069/226] python312Packages.datasalad: init at 0.2.1 Signed-off-by: Florian Brandes --- .../python-modules/datasalad/default.nix | 46 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 48 insertions(+) create mode 100644 pkgs/development/python-modules/datasalad/default.nix diff --git a/pkgs/development/python-modules/datasalad/default.nix b/pkgs/development/python-modules/datasalad/default.nix new file mode 100644 index 000000000000..66303c1ff0cd --- /dev/null +++ b/pkgs/development/python-modules/datasalad/default.nix @@ -0,0 +1,46 @@ +{ + buildPythonPackage, + fetchFromGitHub, + hatchling, + hatch-vcs, + lib, + more-itertools, + psutil, + pytestCheckHook, + unzip, +}: + +buildPythonPackage rec { + pname = "datasalad"; + version = "0.2.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "datalad"; + repo = "datasalad"; + rev = "refs/tags/v${version}"; + hash = "sha256-qgHWTokNBzJcBbEPCA/YfklzqyX1lM2yro7ElqBfrig="; + }; + + build-system = [ + hatchling + hatch-vcs + ]; + + nativeCheckInputs = [ + pytestCheckHook + more-itertools + psutil + unzip + ]; + + pythonImportsCheck = [ "datasalad" ]; + + meta = { + description = "Pure-Python library with a collection of utilities for working with Git and git-annex"; + changelog = "https://github.com/datalad/datasalad/blob/main/CHANGELOG.md"; + homepage = "https://github.com/datalad/datasalad"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ gador ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ba10b663c882..ddaa073d14db 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2843,6 +2843,8 @@ self: super: with self; { dataproperty = callPackage ../development/python-modules/dataproperty { }; + datasalad = callPackage ../development/python-modules/datasalad { }; + dataset = callPackage ../development/python-modules/dataset { }; datasets = callPackage ../development/python-modules/datasets { }; From dddc92274547d0c3d63a7553877d8ac4f9c48318 Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Tue, 23 Jul 2024 14:29:31 +0200 Subject: [PATCH 070/226] python312Packages.datalad-next: init at 1.5.0 Signed-off-by: Florian Brandes --- .../python-modules/datalad-next/default.nix | 106 ++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 108 insertions(+) create mode 100644 pkgs/development/python-modules/datalad-next/default.nix diff --git a/pkgs/development/python-modules/datalad-next/default.nix b/pkgs/development/python-modules/datalad-next/default.nix new file mode 100644 index 000000000000..23192114502f --- /dev/null +++ b/pkgs/development/python-modules/datalad-next/default.nix @@ -0,0 +1,106 @@ +{ + annexremote, + buildPythonPackage, + datalad, + datasalad, + fetchFromGitHub, + git, + git-annex, + humanize, + lib, + more-itertools, + psutil, + pytestCheckHook, + setuptools, + openssh, + unzip, + webdavclient3, +}: + +buildPythonPackage rec { + pname = "datalad-next"; + version = "1.5.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "datalad"; + repo = "datalad-next"; + rev = "refs/tags/${version}"; + hash = "sha256-fqP6nG2ncDRg48kvlsmPjNBOzfQp9+7wTcGvsYVrRzA="; + }; + + nativeBuildInputs = [ git ]; + + build-system = [ setuptools ]; + + dependencies = [ + annexremote + datasalad + datalad + humanize + more-itertools + ]; + + preCheck = '' + export HOME=$TMPDIR + ''; + + nativeCheckInputs = [ + pytestCheckHook + webdavclient3 + psutil + git-annex + datalad + openssh + unzip + ]; + + disabledTests = [ + # remotes available after datalad-next install (through `console_scripts`), but not yet in $PATH during test + "test_uncurl_addurl_unredirected" + "test_uncurl" + "test_uncurl_ria_access" + "test_uncurl_store" + "test_uncurl_remove" + "test_uncurl_testremote" + "test_replace_add_archive_content" + "test_annex_remote" + "test_export_remote" + "test_annex_remote_autorepush" + "test_export_remote_autorepush" + "test_typeweb_annex" + "test_typeweb_annex_uncompressed" + "test_typeweb_export" + "test_submodule_url" + "test_uncurl_progress_reporting_to_annex" + "test_archivist_retrieval" + "test_archivist_retrieval_legacy" + + # hardcoded /bin path + "test_auto_if_wanted_data_transfer_path_restriction" + + # requires internet access + "test_push_wanted" + "test_auto_data_transfer" + "test_http_url_operations" + "test_transparent_decompression" + "test_compressed_file_stay_compressed" + "test_ls_file_collection_tarfile" + "test_iter_tar" + ]; + + disabledTestPaths = [ + # requires internet access + "datalad_next/commands/tests/test_download.py" + "datalad_next/archive_operations/tests/test_tarfile.py" + ]; + pythonImportsCheck = [ "datalad_next" ]; + + meta = { + description = "DataLad extension with a staging area for additional functionality, or for improved performance and user experience"; + changelog = "https://github.com/datalad/datalad-next/blob/main/CHANGELOG.md"; + homepage = "https://github.com/datalad/datalad-next"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ gador ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ddaa073d14db..2a7d840a6097 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2835,6 +2835,8 @@ self: super: with self; { inherit (pkgs.darwin.apple_sdk.frameworks) Security SystemConfiguration; }; + datalad-next = callPackage ../development/python-modules/datalad-next { }; + datamodeldict = callPackage ../development/python-modules/datamodeldict { }; datapoint = callPackage ../development/python-modules/datapoint { }; From 21ed61f0afdc187f26ee73d880497d305cc088b7 Mon Sep 17 00:00:00 2001 From: DontEatOreo <57304299+DontEatOreo@users.noreply.github.com> Date: Wed, 31 Jul 2024 21:07:53 +0300 Subject: [PATCH 071/226] raycast: 1.79.0 -> 1.80.0 Changelog: https://www.raycast.com/changelog/1-80-0 --- pkgs/os-specific/darwin/raycast/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/darwin/raycast/default.nix b/pkgs/os-specific/darwin/raycast/default.nix index c0fc1956b424..45f7cb41a791 100644 --- a/pkgs/os-specific/darwin/raycast/default.nix +++ b/pkgs/os-specific/darwin/raycast/default.nix @@ -11,12 +11,12 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "raycast"; - version = "1.79.0"; + version = "1.80.0"; src = fetchurl { name = "Raycast.dmg"; url = "https://releases.raycast.com/releases/${finalAttrs.version}/download?build=universal"; - hash = "sha256-LwnB4ORTmDNECRTfVFPcccPemab59R6xbj5n6kSVml4="; + hash = "sha256-ZNvgMlKowSMz5nLNRyIZa5xLYe2oH6ANoXL0jUM1HwY="; }; dontPatch = true; From 7f2052d6ff469d18ffcc46d087372a7e2d20975f Mon Sep 17 00:00:00 2001 From: Phil Dyer Date: Fri, 10 May 2024 17:38:15 +1000 Subject: [PATCH 072/226] ryzen-monitor-ng: Fix build makeTargets is not used by the default builder, and was not calling the necessary make targets. Added `make clean` to `preBuild` to ensure old files are removed before building. --- pkgs/by-name/ry/ryzen-monitor-ng/package.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ry/ryzen-monitor-ng/package.nix b/pkgs/by-name/ry/ryzen-monitor-ng/package.nix index 5bcb65be3622..570cc9ca3cf4 100644 --- a/pkgs/by-name/ry/ryzen-monitor-ng/package.nix +++ b/pkgs/by-name/ry/ryzen-monitor-ng/package.nix @@ -14,13 +14,14 @@ stdenv.mkDerivation { hash = "sha256-fcW2fEsCFliRnMFnboR0jchzVIlCYbr2AE6AS06cb6o="; }; - ## Remove binaries committed into upstream repo + # Upstream repo contains pre-compiled binaries and object files + # that are out of date. + # These need to be removed before build stage. preBuild = '' rm src/ryzen_monitor + make clean ''; - makeTargets = [ "clean" "install" ]; - installPhase = '' runHook preInstall From ffa2521acbd4369355fd3495212a53c2f56d6abe Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Wed, 31 Jul 2024 23:56:02 +0530 Subject: [PATCH 073/226] ryzen-monitor-ng: remove custom installPhase in favor of makeFlags --- pkgs/by-name/ry/ryzen-monitor-ng/package.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/ry/ryzen-monitor-ng/package.nix b/pkgs/by-name/ry/ryzen-monitor-ng/package.nix index 570cc9ca3cf4..7c8f577e5eef 100644 --- a/pkgs/by-name/ry/ryzen-monitor-ng/package.nix +++ b/pkgs/by-name/ry/ryzen-monitor-ng/package.nix @@ -22,14 +22,9 @@ stdenv.mkDerivation { make clean ''; - installPhase = '' - runHook preInstall - - mkdir -p $out/bin - mv ./src/ryzen_monitor $out/bin - - runHook postInstall - ''; + makeFlags = [ + "PREFIX=${placeholder "out"}" + ]; meta = with lib; { description = "Access Ryzen SMU information exposed by the ryzen_smu driver"; From c5e393f54baf98cd05099c3cb07e377ac2c7c0b2 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Wed, 31 Jul 2024 23:59:40 +0530 Subject: [PATCH 074/226] ryzen_monitor_ng: add updateScript, update homepage apply nixfmt-rfc-style Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com> --- pkgs/by-name/ry/ryzen-monitor-ng/package.nix | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/ry/ryzen-monitor-ng/package.nix b/pkgs/by-name/ry/ryzen-monitor-ng/package.nix index 7c8f577e5eef..75826b331683 100644 --- a/pkgs/by-name/ry/ryzen-monitor-ng/package.nix +++ b/pkgs/by-name/ry/ryzen-monitor-ng/package.nix @@ -1,4 +1,9 @@ -{ lib, stdenv, fetchFromGitHub }: +{ + lib, + stdenv, + fetchFromGitHub, + unstableGitUpdater, +}: stdenv.mkDerivation { pname = "ryzen-monitor-ng"; @@ -22,14 +27,14 @@ stdenv.mkDerivation { make clean ''; - makeFlags = [ - "PREFIX=${placeholder "out"}" - ]; + makeFlags = [ "PREFIX=${placeholder "out"}" ]; + + passthru.updateScript = unstableGitUpdater { }; meta = with lib; { description = "Access Ryzen SMU information exposed by the ryzen_smu driver"; - homepage = "https://github.com/mann1x/ryzen_monitor_ng"; - changelog = "https://github.com/mann1x/ryzen_monitor_ng/blob/master/CHANGELOG.md"; + homepage = "https://github.com/plasmin/ryzen_monitor_ng"; + changelog = "https://github.com/plasmin/ryzen_monitor_ng/blob/master/CHANGELOG.md"; license = licenses.agpl3Only; platforms = [ "x86_64-linux" ]; maintainers = with maintainers; [ phdyellow ]; From 6b987b797186b565ff917a8f9cfc00bba699e76b Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Thu, 1 Aug 2024 00:04:11 +0530 Subject: [PATCH 075/226] ryzen-monitor-ng: moved cleanup to postfetch Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com> --- pkgs/by-name/ry/ryzen-monitor-ng/package.nix | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/ry/ryzen-monitor-ng/package.nix b/pkgs/by-name/ry/ryzen-monitor-ng/package.nix index 75826b331683..044331da9e47 100644 --- a/pkgs/by-name/ry/ryzen-monitor-ng/package.nix +++ b/pkgs/by-name/ry/ryzen-monitor-ng/package.nix @@ -16,17 +16,16 @@ stdenv.mkDerivation { owner = "plasmin"; repo = "ryzen_monitor_ng"; rev = "8b7854791d78de731a45ce7d30dd17983228b7b1"; - hash = "sha256-fcW2fEsCFliRnMFnboR0jchzVIlCYbr2AE6AS06cb6o="; + hash = "sha256-xdYNtXCbNy3/y5OAHZEi9KgPtwr1LTtLWAZC5DDCfmE="; + # Upstream repo contains pre-compiled binaries and object files + # that are out of date. + # These need to be removed before build stage. + postFetch = '' + rm "$out/src/ryzen_monitor" + make -C "$out" clean + ''; }; - # Upstream repo contains pre-compiled binaries and object files - # that are out of date. - # These need to be removed before build stage. - preBuild = '' - rm src/ryzen_monitor - make clean - ''; - makeFlags = [ "PREFIX=${placeholder "out"}" ]; passthru.updateScript = unstableGitUpdater { }; From 8b63ff300906ccbe0a899a332f6310bf8eab27d6 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 30 Jul 2024 15:02:05 -0400 Subject: [PATCH 076/226] phraze: 0.3.12 -> 0.3.13 --- pkgs/by-name/ph/phraze/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ph/phraze/package.nix b/pkgs/by-name/ph/phraze/package.nix index bffa86e107ee..4bc028f3205b 100644 --- a/pkgs/by-name/ph/phraze/package.nix +++ b/pkgs/by-name/ph/phraze/package.nix @@ -9,18 +9,18 @@ rustPlatform.buildRustPackage rec { pname = "phraze"; - version = "0.3.12"; + version = "0.3.13"; src = fetchFromGitHub { owner = "sts10"; repo = "phraze"; rev = "v${version}"; - hash = "sha256-lW7oYivIDGYg78MgcLFFNyxciVk+wKU/OBzWYx3KwPI="; + hash = "sha256-xjkS1Ehqh2LfuIwAtj6V7Q9DcuERk7PyJKJEuDE7A34="; }; doCheck = true; - cargoHash = "sha256-kFk04YKDYiABWtild6aaP9H8gt/TuckOWRJE69dAXGU="; + cargoHash = "sha256-jsQlcGRZqa4HHUS3Xc9OZUbI6pHalt9A3fVaz+Th1l0="; passthru = { updateScript = nix-update-script { }; From 4c5f6a1636d413d10bab4ecbff17117c1fef5feb Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 30 Jul 2024 15:04:03 -0400 Subject: [PATCH 077/226] phraze: add myself as maintainer --- pkgs/by-name/ph/phraze/package.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ph/phraze/package.nix b/pkgs/by-name/ph/phraze/package.nix index 4bc028f3205b..f227669535c8 100644 --- a/pkgs/by-name/ph/phraze/package.nix +++ b/pkgs/by-name/ph/phraze/package.nix @@ -34,7 +34,10 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/sts10/phraze"; changelog = "https://github.com/sts10/phraze/releases/tag/v${version}"; license = lib.licenses.mpl20; - maintainers = with lib.maintainers; [ x123 ]; + maintainers = with lib.maintainers; [ + x123 + donovanglover + ]; mainProgram = "phraze"; }; } From b6fdaa940fa4c53fec8bbe56e2e73541b79b2237 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Wed, 31 Jul 2024 16:20:12 -0400 Subject: [PATCH 078/226] phraze: install man page and shell completions --- pkgs/by-name/ph/phraze/package.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/by-name/ph/phraze/package.nix b/pkgs/by-name/ph/phraze/package.nix index f227669535c8..0159f2e5ec58 100644 --- a/pkgs/by-name/ph/phraze/package.nix +++ b/pkgs/by-name/ph/phraze/package.nix @@ -5,6 +5,7 @@ nix-update-script, phraze, rustPlatform, + installShellFiles, }: rustPlatform.buildRustPackage rec { @@ -22,6 +23,8 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-jsQlcGRZqa4HHUS3Xc9OZUbI6pHalt9A3fVaz+Th1l0="; + nativeBuildInputs = [ installShellFiles ]; + passthru = { updateScript = nix-update-script { }; tests = { @@ -29,6 +32,15 @@ rustPlatform.buildRustPackage rec { }; }; + postInstall = '' + installManPage target/man/phraze.1 + + installShellCompletion --cmd phraze \ + --bash target/completions/phraze.bash \ + --fish target/completions/phraze.fish \ + --zsh target/completions/_phraze + ''; + meta = { description = "Generate random passphrases"; homepage = "https://github.com/sts10/phraze"; From 7f997e6a8147174a51335118f3cc999f20fb0c97 Mon Sep 17 00:00:00 2001 From: Pyrox Date: Mon, 29 Jul 2024 00:10:22 -0400 Subject: [PATCH 079/226] python312Packages.http-ece: 1.2.0 -> 1.2.1 Also drops the nose dependency and moves to pytest --- .../python-modules/http-ece/default.nix | 37 ++++++++----------- 1 file changed, 16 insertions(+), 21 deletions(-) diff --git a/pkgs/development/python-modules/http-ece/default.nix b/pkgs/development/python-modules/http-ece/default.nix index 66dd40712ded..307a7b1f4d5e 100644 --- a/pkgs/development/python-modules/http-ece/default.nix +++ b/pkgs/development/python-modules/http-ece/default.nix @@ -2,41 +2,36 @@ lib, buildPythonPackage, cryptography, - fetchPypi, - mock, - nose, - pythonOlder, + fetchFromGitHub, + setuptools, + pytestCheckHook, + pytest-cov-stub, }: buildPythonPackage rec { pname = "http-ece"; - version = "1.2.0"; + version = "1.2.1"; - src = fetchPypi { - pname = "http_ece"; - inherit version; - hash = "sha256-tZIPjvuOG1+wJXE+Ozb9pUM2JiAQY0sm3B+Y+F0es94="; + src = fetchFromGitHub { + owner = "web-push-libs"; + repo = "encrypted-content-encoding"; + rev = version; + hash = "sha256-HjXJWoOvCVOdEto4Ss4HPUuf+uNcQkfvj/cxJGHOhQ8="; }; - postPatch = '' - substituteInPlace setup.py \ - --replace-fail '"nose",' "" \ - --replace-fail '"coverage",' "" - ''; + sourceRoot = "${src.name}/python"; propagatedBuildInputs = [ cryptography ]; - doCheck = pythonOlder "3.12"; - nativeCheckInputs = [ - mock - nose + pytestCheckHook + pytest-cov-stub ]; meta = with lib; { description = "Encipher HTTP Messages"; - homepage = "https://github.com/martinthomson/encrypted-content-encoding"; - license = licenses.mit; - maintainers = with maintainers; [ peterhoeg ]; + homepage = "https://github.com/web-push-libs/encrypted-content-encoding"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ peterhoeg ]; }; } From 0c54982fa16962b9687563c81c73c61e6162bbc4 Mon Sep 17 00:00:00 2001 From: Pyrox Date: Wed, 31 Jul 2024 12:40:27 -0400 Subject: [PATCH 080/226] python312Packages.http-ece: modernize --- pkgs/development/python-modules/http-ece/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/http-ece/default.nix b/pkgs/development/python-modules/http-ece/default.nix index 307a7b1f4d5e..d4010abc5242 100644 --- a/pkgs/development/python-modules/http-ece/default.nix +++ b/pkgs/development/python-modules/http-ece/default.nix @@ -11,6 +11,7 @@ buildPythonPackage rec { pname = "http-ece"; version = "1.2.1"; + pyproject = true; src = fetchFromGitHub { owner = "web-push-libs"; @@ -21,14 +22,16 @@ buildPythonPackage rec { sourceRoot = "${src.name}/python"; - propagatedBuildInputs = [ cryptography ]; + build-system = [ setuptools ]; + + dependencies = [ cryptography ]; nativeCheckInputs = [ pytestCheckHook pytest-cov-stub ]; - meta = with lib; { + meta = { description = "Encipher HTTP Messages"; homepage = "https://github.com/web-push-libs/encrypted-content-encoding"; license = lib.licenses.mit; From f2416db518c85e46e1e5f0f5cfa38d45eb556b97 Mon Sep 17 00:00:00 2001 From: cfhammill Date: Wed, 31 Jul 2024 21:56:47 +0000 Subject: [PATCH 081/226] python3Packages.lm-format-enforcer: init at 0.10.4 --- .../lm-format-enforcer/default.nix | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 pkgs/development/python-modules/lm-format-enforcer/default.nix diff --git a/pkgs/development/python-modules/lm-format-enforcer/default.nix b/pkgs/development/python-modules/lm-format-enforcer/default.nix new file mode 100644 index 000000000000..fd6d202f0f4c --- /dev/null +++ b/pkgs/development/python-modules/lm-format-enforcer/default.nix @@ -0,0 +1,42 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + pydantic, + interegular, + pyyaml, + poetry-core, +}: + +buildPythonPackage rec { + pname = "lm-format-enforcer"; + version = "0.10.4"; + pyproject = true; + + src = fetchFromGitHub { + owner = "noamgat"; + repo = pname; + rev = "refs/tags/v${version}"; + hash = "sha256-GOnMj910rgzYeIeN2yLcXZDDel/Hu6nv7ov5BrlHJLg="; + }; + + build-system = [ poetry-core ]; + + dependencies = [ + interegular + pydantic + pyyaml + ]; + + doCheck = false; # most tests require internet access + + pythonImportsCheck = [ "lmformatenforcer" ]; + + meta = with lib; { + description = "Enforce the output format (JSON Schema, Regex etc) of a language model"; + changelog = "https://github.com/noamgat/lm-format-enforcer/releases/tag/v${version}"; + homepage = "https://github.com/noamgat/lm-format-enforcer"; + license = licenses.mit; + maintainers = with maintainers; [ cfhammill ]; + }; +} From 5377367b0db675619f8fa806c94cfe2e2639e32d Mon Sep 17 00:00:00 2001 From: cfhammill Date: Wed, 31 Jul 2024 21:56:47 +0000 Subject: [PATCH 082/226] python3Packages.pyairports: init at 2.1.1 --- .../python-modules/pyairports/default.nix | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/development/python-modules/pyairports/default.nix diff --git a/pkgs/development/python-modules/pyairports/default.nix b/pkgs/development/python-modules/pyairports/default.nix new file mode 100644 index 000000000000..b6c8b2a8a4c4 --- /dev/null +++ b/pkgs/development/python-modules/pyairports/default.nix @@ -0,0 +1,30 @@ +{ + lib, + buildPythonPackage, + fetchPypi, + setuptools, +}: + +buildPythonPackage rec { + pname = "pyairports"; + version = "2.1.1"; + pyproject = true; + + src = fetchPypi { + inherit pname version; + hash = "sha256-PWCnJ/zk2oG5xjk+qK4LM9Z7N+zjRN/8hj90njrWK80="; + }; + + build-system = [ setuptools ]; + + doCheck = false; + + pythonImportChecks = [ "pyairports" ]; + + meta = with lib; { + description = "pyairports is a package which enables airport lookup by 3-letter IATA code."; + homepage = "https://github.com/ozeliger/pyairports"; + license = licenses.asl20; + maintainers = with maintainers; [ cfhammill ]; + }; +} From a96e5f0ae06f5fe61d9f2b211ca7087864d2ef29 Mon Sep 17 00:00:00 2001 From: cfhammill Date: Wed, 31 Jul 2024 21:56:47 +0000 Subject: [PATCH 083/226] python311Packages.vllm: 0.3.2->0.5.2 vllm remove comment, minor version bump use refs/tags and format=pyproject use @args and realphabetize inputs move stdenv, mv cuda_home, add/clean cuda deps, restore comment nixfmt rfc style remove stale comment --- .../python-modules/outlines/default.nix | 13 ++- .../python-modules/vllm/default.nix | 101 ++++++++++-------- pkgs/top-level/python-packages.nix | 4 + 3 files changed, 73 insertions(+), 45 deletions(-) diff --git a/pkgs/development/python-modules/outlines/default.nix b/pkgs/development/python-modules/outlines/default.nix index 58e908e53a1c..e93ce65e23ad 100644 --- a/pkgs/development/python-modules/outlines/default.nix +++ b/pkgs/development/python-modules/outlines/default.nix @@ -6,9 +6,12 @@ setuptools-scm, interegular, cloudpickle, + datasets, diskcache, joblib, jsonschema, + pyairports, + pycountry, pydantic, lark, nest-asyncio, @@ -38,6 +41,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ interegular cloudpickle + datasets diskcache joblib jsonschema @@ -48,16 +52,19 @@ buildPythonPackage rec { scipy torch transformers + pycountry + pyairports ]; - pythonImportsCheck = [ "outlines" ]; + checkPhase = '' + export HOME=$(mktemp -d) + python3 -c 'import outlines' + ''; meta = with lib; { description = "Structured text generation"; homepage = "https://github.com/outlines-dev/outlines"; license = licenses.asl20; maintainers = with maintainers; [ lach ]; - # Missing dependencies since the last update - broken = true; }; } diff --git a/pkgs/development/python-modules/vllm/default.nix b/pkgs/development/python-modules/vllm/default.nix index a27589f42abe..80ad9a2ac5bd 100644 --- a/pkgs/development/python-modules/vllm/default.nix +++ b/pkgs/development/python-modules/vllm/default.nix @@ -1,10 +1,13 @@ { lib, stdenv, + python, buildPythonPackage, + pythonRelaxDepsHook, fetchFromGitHub, which, ninja, + cmake, packaging, setuptools, torch, @@ -23,6 +26,13 @@ pydantic, aioprometheus, pynvml, + openai, + pyzmq, + tiktoken, + torchvision, + py-cpuinfo, + lm-format-enforcer, + prometheus-fastapi-instrumentator, cupy, writeShellScript, @@ -34,47 +44,41 @@ rocmSupport ? config.rocmSupport, rocmPackages ? { }, gpuTargets ? [ ], -}: +}@args: let - stdenv_pkg = stdenv; + cutlass = fetchFromGitHub { + owner = "NVIDIA"; + repo = "cutlass"; + rev = "refs/tags/v3.5.0"; + sha256 = "sha256-D/s7eYsa5l/mfx73tE4mnFcTQdYqGmXa9d9TCryw4e4="; + }; in buildPythonPackage rec { pname = "vllm"; - version = "0.3.3"; - format = "pyproject"; + version = "0.5.3.post1"; + pyproject = true; src = fetchFromGitHub { owner = "vllm-project"; repo = pname; - rev = "v${version}"; - hash = "sha256-LU5pCPVv+Ws9dL8oWL1sJGzwQKI1IFk2A1I6TP9gXL4="; + rev = "refs/tags/v${version}"; + hash = "sha256-++DK2Y2zz+1KrEcdQc5XFrSjc7fCwMD2DQ/RqY7PoFU="; }; + stdenv = if cudaSupport then cudaPackages.backendStdenv else args.stdenv; + # Otherwise it tries to enumerate host supported ROCM gfx archs, and that is not possible due to sandboxing. PYTORCH_ROCM_ARCH = lib.optionalString rocmSupport ( lib.strings.concatStringsSep ";" rocmPackages.clr.gpuTargets ); - # cupy-cuda12x is the same wheel as cupy, but built with cuda dependencies, we already have it set up - # like that in nixpkgs. Version upgrade is due to upstream shenanigans - # https://github.com/vllm-project/vllm/pull/2845/commits/34a0ad7f9bb7880c0daa2992d700df3e01e91363 - # # hipcc --version works badly on NixOS due to unresolved paths. - # Unclear why pythonRelaxDeps doesn't work here, but on last attempt, it didn't. postPatch = '' - substituteInPlace requirements.txt \ - --replace "xformers == 0.0.23.post1" "xformers" - substituteInPlace requirements.txt \ - --replace "cupy-cuda12x == 12.1.0" "cupy" - substituteInPlace requirements-build.txt \ - --replace "torch==2.1.2" "torch" - substituteInPlace pyproject.toml \ - --replace "torch == 2.1.2" "torch" - substituteInPlace requirements.txt \ - --replace "torch == 2.1.2" "torch" + substituteInPlace setup.py \ + --replace 'cmake_args = [' 'cmake_args = ["-DFETCHCONTENT_SOURCE_DIR_CUTLASS=${cutlass}",' '' + lib.optionalString rocmSupport '' substituteInPlace setup.py \ @@ -82,17 +86,19 @@ buildPythonPackage rec { ''; preBuild = - lib.optionalString cudaSupport '' - export CUDA_HOME=${cudaPackages.cuda_nvcc} - '' - + lib.optionalString rocmSupport '' + lib.optionalString rocmSupport '' export ROCM_HOME=${rocmPackages.clr} export PATH=$PATH:${rocmPackages.hipcc} + '' + + lib.optionalString cudaSupport '' + export CUDA_HOME=${cudaPackages.cuda_nvcc} ''; nativeBuildInputs = [ + cmake ninja packaging + pythonRelaxDepsHook setuptools torch wheel @@ -104,10 +110,12 @@ buildPythonPackage rec { with cudaPackages; [ cuda_cudart # cuda_runtime.h, -lcudart - cuda_cccl # + cuda_cccl libcusparse # cusparse.h - libcublas # cublas_v2.h libcusolver # cusolverDn.h + cuda_nvcc + cuda_nvtx + libcublas ] )) ++ (lib.optionals rocmSupport ( @@ -123,29 +131,38 @@ buildPythonPackage rec { propagatedBuildInputs = [ - psutil - ray - pandas - pyarrow - sentencepiece - numpy - torch - transformers - outlines - xformers - fastapi - uvicorn - pydantic aioprometheus + fastapi + lm-format-enforcer + numpy + openai + outlines + pandas + prometheus-fastapi-instrumentator + psutil + py-cpuinfo + pyarrow + pydantic + pyzmq + ray + sentencepiece + tiktoken + torch + torchvision + transformers + uvicorn + xformers ] ++ uvicorn.optional-dependencies.standard ++ aioprometheus.optional-dependencies.starlette ++ lib.optionals cudaSupport [ - pynvml cupy + pynvml ]; - stdenv = if cudaSupport then cudaPackages.backendStdenv else stdenv_pkg; + dontUseCmakeConfigure = true; + + pythonRelaxDeps = true; pythonImportsCheck = [ "vllm" ]; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8046bf0c3810..1e31c8716762 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7167,6 +7167,8 @@ self: super: with self; { llvm = pkgs.llvm_14; }; + lm-format-enforcer = callPackage ../development/python-modules/lm-format-enforcer { }; + lmcloud = callPackage ../development/python-modules/lmcloud { }; lmdb = callPackage ../development/python-modules/lmdb { @@ -10904,6 +10906,8 @@ self: super: with self; { pyairnow = callPackage ../development/python-modules/pyairnow { }; + pyairports = callPackage ../development/python-modules/pyairports { }; + pyairvisual = callPackage ../development/python-modules/pyairvisual { }; pyais = callPackage ../development/python-modules/pyais { }; From dbed177528493a0b7fb29ed02d207ba5669ebe4d Mon Sep 17 00:00:00 2001 From: Spencer Heywood Date: Wed, 17 Jul 2024 16:09:03 -0600 Subject: [PATCH 084/226] nostui: init 0.1.0 --- pkgs/by-name/no/nostui/Cargo.lock | 3234 ++++++++++++++++++++++++++++ pkgs/by-name/no/nostui/package.nix | 43 + 2 files changed, 3277 insertions(+) create mode 100644 pkgs/by-name/no/nostui/Cargo.lock create mode 100644 pkgs/by-name/no/nostui/package.nix diff --git a/pkgs/by-name/no/nostui/Cargo.lock b/pkgs/by-name/no/nostui/Cargo.lock new file mode 100644 index 000000000000..aef6111a857e --- /dev/null +++ b/pkgs/by-name/no/nostui/Cargo.lock @@ -0,0 +1,3234 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "addr2line" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +dependencies = [ + "gimli", +] + +[[package]] +name = "adler" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" + +[[package]] +name = "aead" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" +dependencies = [ + "crypto-common", + "generic-array", +] + +[[package]] +name = "aes" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures", +] + +[[package]] +name = "ahash" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77c3a9648d43b9cd48db467b3f87fdd6e146bcc88ab0180006cef2179fe11d01" +dependencies = [ + "cfg-if", + "once_cell", + "version_check", + "zerocopy", +] + +[[package]] +name = "aho-corasick" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" +dependencies = [ + "memchr", +] + +[[package]] +name = "allocator-api2" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" + +[[package]] +name = "android-tzdata" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" + +[[package]] +name = "android_system_properties" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" +dependencies = [ + "libc", +] + +[[package]] +name = "anstream" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2e1ebcb11de5c03c67de28a7df593d32191b44939c482e97702baaaa6ab6a5" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" + +[[package]] +name = "anstyle-parse" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" +dependencies = [ + "windows-sys 0.52.0", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" +dependencies = [ + "anstyle", + "windows-sys 0.52.0", +] + +[[package]] +name = "async-trait" +version = "0.1.77" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c980ee35e870bd1a4d2c8294d4c04d0499e67bca1e4b5cefcc693c2fa00caea9" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.48", +] + +[[package]] +name = "async-utility" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a349201d80b4aa18d17a34a182bdd7f8ddf845e9e57d2ea130a12e10ef1e3a47" +dependencies = [ + "futures-util", + "gloo-timers", + "tokio", + "wasm-bindgen-futures", +] + +[[package]] +name = "async-wsocket" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d253e375ea899cb131b92a474587e217634e7ea927c24d8098eecbcad0c5c97a" +dependencies = [ + "async-utility", + "futures-util", + "thiserror", + "tokio", + "tokio-rustls 0.25.0", + "tokio-socks", + "tokio-tungstenite", + "url", + "wasm-ws", + "webpki-roots 0.26.2", +] + +[[package]] +name = "async_io_stream" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6d7b9decdf35d8908a7e3ef02f64c5e9b1695e230154c0e8de3969142d9b94c" +dependencies = [ + "futures", + "pharos", + "rustc_version", +] + +[[package]] +name = "atomic-destructor" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4653a42bf04120a1d4e92452e006b4e3af4ab4afff8fb4af0f1bbb98418adf3e" +dependencies = [ + "tracing", +] + +[[package]] +name = "autocfg" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" + +[[package]] +name = "backtrace" +version = "0.3.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" +dependencies = [ + "addr2line", + "cc", + "cfg-if", + "libc", + "miniz_oxide", + "object", + "rustc-demangle", +] + +[[package]] +name = "base64" +version = "0.21.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" + +[[package]] +name = "base64ct" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" + +[[package]] +name = "bech32" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d86b93f97252c47b41663388e6d155714a9d0c398b99f1005cbc5f978b29f445" + +[[package]] +name = "better-panic" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fa9e1d11a268684cbd90ed36370d7577afb6c62d912ddff5c15fc34343e5036" +dependencies = [ + "backtrace", + "console", +] + +[[package]] +name = "bip39" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" +dependencies = [ + "bitcoin_hashes 0.11.0", + "serde", + "unicode-normalization", +] + +[[package]] +name = "bitcoin" +version = "0.30.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1945a5048598e4189e239d3f809b19bdad4845c4b2ba400d304d2dcf26d2c462" +dependencies = [ + "bech32", + "bitcoin-private", + "bitcoin_hashes 0.12.0", + "hex_lit", + "secp256k1", + "serde", +] + +[[package]] +name = "bitcoin-private" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73290177011694f38ec25e165d0387ab7ea749a4b81cd4c80dae5988229f7a57" + +[[package]] +name = "bitcoin_hashes" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90064b8dee6815a6470d60bad07bbbaee885c0e12d04177138fa3291a01b7bc4" + +[[package]] +name = "bitcoin_hashes" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d7066118b13d4b20b23645932dfb3a81ce7e29f95726c2036fa33cd7b092501" +dependencies = [ + "bitcoin-private", + "serde", +] + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "bitflags" +version = "2.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" +dependencies = [ + "serde", +] + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "block-padding" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8894febbff9f758034a5b8e12d87918f56dfc64a8e1fe757d65e29041538d93" +dependencies = [ + "generic-array", +] + +[[package]] +name = "bumpalo" +version = "3.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[package]] +name = "bytes" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" + +[[package]] +name = "cassowary" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53" + +[[package]] +name = "castaway" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a17ed5635fc8536268e5d4de1e22e81ac34419e5f052d4d51f4e01dcc263fcc" +dependencies = [ + "rustversion", +] + +[[package]] +name = "cbc" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26b52a9543ae338f279b96b0b9fed9c8093744685043739079ce85cd58f289a6" +dependencies = [ + "cipher", +] + +[[package]] +name = "cc" +version = "1.0.83" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" +dependencies = [ + "libc", +] + +[[package]] +name = "cfg-if" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" + +[[package]] +name = "chacha20" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures", +] + +[[package]] +name = "chacha20poly1305" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" +dependencies = [ + "aead", + "chacha20", + "cipher", + "poly1305", + "zeroize", +] + +[[package]] +name = "chrono" +version = "0.4.38" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" +dependencies = [ + "android-tzdata", + "iana-time-zone", + "js-sys", + "num-traits", + "wasm-bindgen", + "windows-targets 0.52.0", +] + +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common", + "inout", + "zeroize", +] + +[[package]] +name = "clap" +version = "4.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84b3edb18336f4df585bc9aa31dd99c036dfa5dc5e9a2939a722a188f3a8970d" +dependencies = [ + "clap_builder", + "clap_derive", +] + +[[package]] +name = "clap_builder" +version = "4.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1c09dd5ada6c6c78075d6fd0da3f90d8080651e2d6cc8eb2f1aaa4034ced708" +dependencies = [ + "anstream", + "anstyle", + "clap_lex", + "strsim", + "terminal_size", + "unicase", + "unicode-width", +] + +[[package]] +name = "clap_derive" +version = "4.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bac35c6dafb060fd4d275d9a4ffae97917c13a6327903a8be2153cd964f7085" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.48", +] + +[[package]] +name = "clap_lex" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" + +[[package]] +name = "color-eyre" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55146f5e46f237f7423d74111267d4597b59b0dad0ffaf7303bce9945d843ad5" +dependencies = [ + "backtrace", + "color-spantrace", + "eyre", + "indenter", + "once_cell", + "owo-colors", + "tracing-error", +] + +[[package]] +name = "color-spantrace" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd6be1b2a7e382e2b98b43b2adcca6bb0e465af0bdd38123873ae61eb17a72c2" +dependencies = [ + "once_cell", + "owo-colors", + "tracing-core", + "tracing-error", +] + +[[package]] +name = "colorchoice" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" + +[[package]] +name = "compact_str" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f86b9c4c00838774a6d902ef931eff7470720c51d90c2e32cfe15dc304737b3f" +dependencies = [ + "castaway", + "cfg-if", + "itoa", + "ryu", + "serde", + "static_assertions", +] + +[[package]] +name = "config" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7328b20597b53c2454f0b1919720c25c7339051c02b72b7e05409e00b14132be" +dependencies = [ + "async-trait", + "convert_case", + "json5", + "lazy_static", + "nom", + "pathdiff", + "ron", + "rust-ini", + "serde", + "serde_json", + "toml", + "yaml-rust", +] + +[[package]] +name = "console" +version = "0.15.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb" +dependencies = [ + "encode_unicode", + "lazy_static", + "libc", + "windows-sys 0.52.0", +] + +[[package]] +name = "const-random" +version = "0.1.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aaf16c9c2c612020bcfd042e170f6e32de9b9d75adb5277cdbbd2e2c8c8299a" +dependencies = [ + "const-random-macro", +] + +[[package]] +name = "const-random-macro" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" +dependencies = [ + "getrandom", + "once_cell", + "tiny-keccak", +] + +[[package]] +name = "convert_case" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "core-foundation" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" + +[[package]] +name = "cpufeatures" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" +dependencies = [ + "libc", +] + +[[package]] +name = "crossterm" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f476fe445d41c9e991fd07515a6f463074b782242ccf4a5b7b1d1012e70824df" +dependencies = [ + "bitflags 2.4.2", + "crossterm_winapi", + "futures-core", + "libc", + "mio", + "parking_lot", + "serde", + "signal-hook", + "signal-hook-mio", + "winapi", +] + +[[package]] +name = "crossterm_winapi" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acdd7c62a3665c7f6830a51635d9ac9b23ed385797f70a83bb8bafe9c572ab2b" +dependencies = [ + "winapi", +] + +[[package]] +name = "crunchy" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" + +[[package]] +name = "crypto-common" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +dependencies = [ + "generic-array", + "rand_core", + "typenum", +] + +[[package]] +name = "data-encoding" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" + +[[package]] +name = "derive_deref" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcdbcee2d9941369faba772587a565f4f534e42cb8d17e5295871de730163b2b" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "diff" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer", + "crypto-common", + "subtle", +] + +[[package]] +name = "directories" +version = "5.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a49173b84e034382284f27f1af4dcbbd231ffa358c0fe316541a7337f376a35" +dependencies = [ + "dirs-sys", +] + +[[package]] +name = "dirs-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +dependencies = [ + "libc", + "option-ext", + "redox_users", + "windows-sys 0.48.0", +] + +[[package]] +name = "dlv-list" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "442039f5147480ba31067cb00ada1adae6892028e40e45fc5de7b7df6dcc1b5f" +dependencies = [ + "const-random", +] + +[[package]] +name = "either" +version = "1.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" + +[[package]] +name = "encode_unicode" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" + +[[package]] +name = "encoding_rs" +version = "0.8.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "equivalent" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" + +[[package]] +name = "errno" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" +dependencies = [ + "libc", + "windows-sys 0.52.0", +] + +[[package]] +name = "eyre" +version = "0.6.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cd915d99f24784cdc19fd37ef22b97e3ff0ae756c7e492e9fbfe897d61e2aec" +dependencies = [ + "indenter", + "once_cell", +] + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "form_urlencoded" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "futures" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" + +[[package]] +name = "futures-executor" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" + +[[package]] +name = "futures-macro" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.48", +] + +[[package]] +name = "futures-sink" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" + +[[package]] +name = "futures-task" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" + +[[package]] +name = "futures-timer" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" + +[[package]] +name = "futures-util" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "pin-utils", + "slab", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "wasi", + "wasm-bindgen", +] + +[[package]] +name = "gimli" +version = "0.28.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" + +[[package]] +name = "glob" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" + +[[package]] +name = "gloo-timers" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" +dependencies = [ + "futures-channel", + "futures-core", + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "h2" +version = "0.3.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" +dependencies = [ + "bytes", + "fnv", + "futures-core", + "futures-sink", + "futures-util", + "http 0.2.11", + "indexmap", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "hashbrown" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" + +[[package]] +name = "hashbrown" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" +dependencies = [ + "ahash", + "allocator-api2", +] + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "hermit-abi" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0c62115964e08cb8039170eb33c1d0e2388a256930279edca206fff675f82c3" + +[[package]] +name = "hex_lit" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3011d1213f159867b13cfd6ac92d2cd5f1345762c63be3554e84092d85a50bbd" + +[[package]] +name = "hmac" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" +dependencies = [ + "digest", +] + +[[package]] +name = "http" +version = "0.2.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + +[[package]] +name = "http" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + +[[package]] +name = "http-body" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" +dependencies = [ + "bytes", + "http 0.2.11", + "pin-project-lite", +] + +[[package]] +name = "httparse" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" + +[[package]] +name = "httpdate" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" + +[[package]] +name = "human-panic" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4c5d0e9120f6bca6120d142c7ede1ba376dd6bf276d69dd3dbe6cbeb7824179" +dependencies = [ + "anstream", + "anstyle", + "backtrace", + "os_info", + "serde", + "serde_derive", + "toml", + "uuid", +] + +[[package]] +name = "hyper" +version = "0.14.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" +dependencies = [ + "bytes", + "futures-channel", + "futures-core", + "futures-util", + "h2", + "http 0.2.11", + "http-body", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "socket2", + "tokio", + "tower-service", + "tracing", + "want", +] + +[[package]] +name = "hyper-rustls" +version = "0.24.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" +dependencies = [ + "futures-util", + "http 0.2.11", + "hyper", + "rustls 0.21.11", + "tokio", + "tokio-rustls 0.24.1", +] + +[[package]] +name = "iana-time-zone" +version = "0.1.60" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "wasm-bindgen", + "windows-core", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +dependencies = [ + "cc", +] + +[[package]] +name = "idna" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" +dependencies = [ + "unicode-bidi", + "unicode-normalization", +] + +[[package]] +name = "indenter" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" + +[[package]] +name = "indexmap" +version = "2.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" +dependencies = [ + "equivalent", + "hashbrown 0.14.3", +] + +[[package]] +name = "inout" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" +dependencies = [ + "block-padding", + "generic-array", +] + +[[package]] +name = "instant" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" +dependencies = [ + "cfg-if", + "js-sys", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "ipnet" +version = "2.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" + +[[package]] +name = "itertools" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" + +[[package]] +name = "js-sys" +version = "0.3.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "406cda4b368d531c842222cf9d2600a9a4acce8d29423695379c6868a143a9ee" +dependencies = [ + "wasm-bindgen", +] + +[[package]] +name = "json5" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96b0db21af676c1ce64250b5f40f3ce2cf27e4e47cb91ed91eb6fe9350b430c1" +dependencies = [ + "pest", + "pest_derive", + "serde", +] + +[[package]] +name = "lazy_static" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" + +[[package]] +name = "libc" +version = "0.2.155" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" + +[[package]] +name = "libredox" +version = "0.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" +dependencies = [ + "bitflags 2.4.2", + "libc", + "redox_syscall", +] + +[[package]] +name = "linked-hash-map" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" + +[[package]] +name = "linux-raw-sys" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" + +[[package]] +name = "lnurl-pay" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b628658116d331c9567f6cb22415d726125ff6e328d1fb1b422b1b58afeaec21" +dependencies = [ + "bech32", + "reqwest", + "serde", + "serde_json", +] + +[[package]] +name = "lock_api" +version = "0.4.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" +dependencies = [ + "autocfg", + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" + +[[package]] +name = "lru" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db2c024b41519440580066ba82aab04092b333e09066a5eb86c7c4890df31f22" +dependencies = [ + "hashbrown 0.14.3", +] + +[[package]] +name = "matchers" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" +dependencies = [ + "regex-automata 0.1.10", +] + +[[package]] +name = "memchr" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" + +[[package]] +name = "mime" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" + +[[package]] +name = "minimal-lexical" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + +[[package]] +name = "miniz_oxide" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" +dependencies = [ + "adler", +] + +[[package]] +name = "mio" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" +dependencies = [ + "libc", + "log", + "wasi", + "windows-sys 0.48.0", +] + +[[package]] +name = "negentropy" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e664971378a3987224f7a0e10059782035e89899ae403718ee07de85bec42afe" + +[[package]] +name = "nom" +version = "7.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +dependencies = [ + "memchr", + "minimal-lexical", +] + +[[package]] +name = "nostr" +version = "0.29.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25e4e34578e8cc2b4050c6224a0c422b23ba1e61f2602b4e320c221ac3cbbc2e" +dependencies = [ + "aes", + "base64", + "bip39", + "bitcoin", + "cbc", + "chacha20", + "chacha20poly1305", + "getrandom", + "instant", + "js-sys", + "negentropy", + "once_cell", + "reqwest", + "scrypt", + "serde", + "serde_json", + "tracing", + "unicode-normalization", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "nostr-database" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e15ab55f96ea5e560af0c75f1d942b1064266d443d11b2afbe51ca9ad78a018" +dependencies = [ + "async-trait", + "lru", + "nostr", + "thiserror", + "tokio", + "tracing", +] + +[[package]] +name = "nostr-relay-pool" +version = "0.29.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8efc437bcf8c433887a9897dfb6f99914170f656a2a66398e737b3050c2aa34" +dependencies = [ + "async-utility", + "async-wsocket", + "atomic-destructor", + "nostr", + "nostr-database", + "thiserror", + "tokio", + "tracing", +] + +[[package]] +name = "nostr-sdk" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81ed0ab9cbc3b20d3dba99337f2e0739f052ebe32133d690e212022a06a22044" +dependencies = [ + "async-utility", + "lnurl-pay", + "nostr", + "nostr-database", + "nostr-relay-pool", + "nostr-signer", + "nostr-zapper", + "nwc", + "thiserror", + "tokio", + "tracing", +] + +[[package]] +name = "nostr-signer" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "307bdc7c26887d7e65632e66872989a19892dfe9f2c6dbd9a1d3f959c5c524d5" +dependencies = [ + "async-utility", + "nostr", + "nostr-relay-pool", + "thiserror", + "tokio", +] + +[[package]] +name = "nostr-zapper" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "061d5eb00b430747a984ea9e41cd82c849832151b4263d8230c9c220dc2c62f8" +dependencies = [ + "async-trait", + "nostr", + "thiserror", +] + +[[package]] +name = "nostui" +version = "0.1.0" +dependencies = [ + "better-panic", + "chrono", + "clap", + "color-eyre", + "config", + "crossterm", + "derive_deref", + "directories", + "futures", + "human-panic", + "json5", + "lazy_static", + "libc", + "log", + "nostr-sdk", + "pretty_assertions", + "ratatui", + "regex", + "rstest", + "serde", + "serde_json", + "signal-hook", + "sorted-vec", + "strip-ansi-escapes", + "strum", + "thousands", + "tokio", + "tokio-util", + "tracing", + "tracing-error", + "tracing-subscriber", + "tui-textarea", + "tui-widget-list", + "unicode-width", +] + +[[package]] +name = "nu-ansi-term" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" +dependencies = [ + "overload", + "winapi", +] + +[[package]] +name = "num-traits" +version = "0.2.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" +dependencies = [ + "autocfg", +] + +[[package]] +name = "num_cpus" +version = "1.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" +dependencies = [ + "hermit-abi", + "libc", +] + +[[package]] +name = "nwc" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1894ffe54a1e5adf8dbb22b5a290c0748ec4a88aa07fa69c4359010edea49ed" +dependencies = [ + "async-utility", + "nostr", + "nostr-relay-pool", + "nostr-zapper", + "thiserror", + "tracing", +] + +[[package]] +name = "object" +version = "0.32.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +dependencies = [ + "memchr", +] + +[[package]] +name = "once_cell" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" + +[[package]] +name = "opaque-debug" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" + +[[package]] +name = "option-ext" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" + +[[package]] +name = "ordered-multimap" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ed8acf08e98e744e5384c8bc63ceb0364e68a6854187221c18df61c4797690e" +dependencies = [ + "dlv-list", + "hashbrown 0.13.2", +] + +[[package]] +name = "os_info" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "006e42d5b888366f1880eda20371fedde764ed2213dc8496f49622fa0c99cd5e" +dependencies = [ + "log", + "serde", + "winapi", +] + +[[package]] +name = "overload" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" + +[[package]] +name = "owo-colors" +version = "3.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" + +[[package]] +name = "parking_lot" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-targets 0.48.5", +] + +[[package]] +name = "password-hash" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166" +dependencies = [ + "base64ct", + "rand_core", + "subtle", +] + +[[package]] +name = "paste" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" + +[[package]] +name = "pathdiff" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd" + +[[package]] +name = "pbkdf2" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" +dependencies = [ + "digest", + "hmac", +] + +[[package]] +name = "percent-encoding" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" + +[[package]] +name = "pest" +version = "2.7.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "219c0dcc30b6a27553f9cc242972b67f75b60eb0db71f0b5462f38b058c41546" +dependencies = [ + "memchr", + "thiserror", + "ucd-trie", +] + +[[package]] +name = "pest_derive" +version = "2.7.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22e1288dbd7786462961e69bfd4df7848c1e37e8b74303dbdab82c3a9cdd2809" +dependencies = [ + "pest", + "pest_generator", +] + +[[package]] +name = "pest_generator" +version = "2.7.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1381c29a877c6d34b8c176e734f35d7f7f5b3adaefe940cb4d1bb7af94678e2e" +dependencies = [ + "pest", + "pest_meta", + "proc-macro2", + "quote", + "syn 2.0.48", +] + +[[package]] +name = "pest_meta" +version = "2.7.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0934d6907f148c22a3acbda520c7eed243ad7487a30f51f6ce52b58b7077a8a" +dependencies = [ + "once_cell", + "pest", + "sha2", +] + +[[package]] +name = "pharos" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9567389417feee6ce15dd6527a8a1ecac205ef62c2932bcf3d9f6fc5b78b414" +dependencies = [ + "futures", + "rustc_version", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + +[[package]] +name = "poly1305" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" +dependencies = [ + "cpufeatures", + "opaque-debug", + "universal-hash", +] + +[[package]] +name = "ppv-lite86" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" + +[[package]] +name = "pretty_assertions" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66" +dependencies = [ + "diff", + "yansi", +] + +[[package]] +name = "proc-macro-crate" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" +dependencies = [ + "toml_edit 0.21.1", +] + +[[package]] +name = "proc-macro2" +version = "1.0.78" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "rand" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +dependencies = [ + "libc", + "rand_chacha", + "rand_core", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom", +] + +[[package]] +name = "ratatui" +version = "0.26.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f44c9e68fd46eda15c646fbb85e1040b657a58cdc8c98db1d97a55930d991eef" +dependencies = [ + "bitflags 2.4.2", + "cassowary", + "compact_str", + "crossterm", + "itertools", + "lru", + "paste", + "serde", + "stability", + "strum", + "unicode-segmentation", + "unicode-truncate", + "unicode-width", +] + +[[package]] +name = "redox_syscall" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +dependencies = [ + "bitflags 1.3.2", +] + +[[package]] +name = "redox_users" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" +dependencies = [ + "getrandom", + "libredox", + "thiserror", +] + +[[package]] +name = "regex" +version = "1.10.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata 0.4.5", + "regex-syntax 0.8.2", +] + +[[package]] +name = "regex-automata" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" +dependencies = [ + "regex-syntax 0.6.29", +] + +[[package]] +name = "regex-automata" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5bb987efffd3c6d0d8f5f89510bb458559eab11e4f869acb20bf845e016259cd" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax 0.8.2", +] + +[[package]] +name = "regex-syntax" +version = "0.6.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" + +[[package]] +name = "regex-syntax" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" + +[[package]] +name = "relative-path" +version = "1.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e898588f33fdd5b9420719948f9f2a32c922a246964576f71ba7f24f80610fbc" + +[[package]] +name = "reqwest" +version = "0.11.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6920094eb85afde5e4a138be3f2de8bbdf28000f0029e72c45025a56b042251" +dependencies = [ + "base64", + "bytes", + "encoding_rs", + "futures-core", + "futures-util", + "h2", + "http 0.2.11", + "http-body", + "hyper", + "hyper-rustls", + "ipnet", + "js-sys", + "log", + "mime", + "once_cell", + "percent-encoding", + "pin-project-lite", + "rustls 0.21.11", + "rustls-pemfile", + "serde", + "serde_json", + "serde_urlencoded", + "sync_wrapper", + "system-configuration", + "tokio", + "tokio-rustls 0.24.1", + "tokio-socks", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "webpki-roots 0.25.4", + "winreg", +] + +[[package]] +name = "ring" +version = "0.17.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "688c63d65483050968b2a8937f7995f443e27041a0f7700aa59b0822aedebb74" +dependencies = [ + "cc", + "getrandom", + "libc", + "spin", + "untrusted", + "windows-sys 0.48.0", +] + +[[package]] +name = "ron" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b91f7eff05f748767f183df4320a63d6936e9c6107d97c9e6bdd9784f4289c94" +dependencies = [ + "base64", + "bitflags 2.4.2", + "serde", + "serde_derive", +] + +[[package]] +name = "rstest" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9afd55a67069d6e434a95161415f5beeada95a01c7b815508a82dcb0e1593682" +dependencies = [ + "futures", + "futures-timer", + "rstest_macros", + "rustc_version", +] + +[[package]] +name = "rstest_macros" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4165dfae59a39dd41d8dec720d3cbfbc71f69744efb480a3920f5d4e0cc6798d" +dependencies = [ + "cfg-if", + "glob", + "proc-macro-crate", + "proc-macro2", + "quote", + "regex", + "relative-path", + "rustc_version", + "syn 2.0.48", + "unicode-ident", +] + +[[package]] +name = "rust-ini" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e2a3bcec1f113553ef1c88aae6c020a369d03d55b58de9869a0908930385091" +dependencies = [ + "cfg-if", + "ordered-multimap", +] + +[[package]] +name = "rustc-demangle" +version = "0.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" + +[[package]] +name = "rustc_version" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +dependencies = [ + "semver", +] + +[[package]] +name = "rustix" +version = "0.38.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949" +dependencies = [ + "bitflags 2.4.2", + "errno", + "libc", + "linux-raw-sys", + "windows-sys 0.52.0", +] + +[[package]] +name = "rustls" +version = "0.21.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fecbfb7b1444f477b345853b1fce097a2c6fb637b2bfb87e6bc5db0f043fae4" +dependencies = [ + "log", + "ring", + "rustls-webpki 0.101.7", + "sct", +] + +[[package]] +name = "rustls" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" +dependencies = [ + "log", + "ring", + "rustls-pki-types", + "rustls-webpki 0.102.4", + "subtle", + "zeroize", +] + +[[package]] +name = "rustls-pemfile" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" +dependencies = [ + "base64", +] + +[[package]] +name = "rustls-pki-types" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "976295e77ce332211c0d24d92c0e83e50f5c5f046d11082cea19f3df13a3562d" + +[[package]] +name = "rustls-webpki" +version = "0.101.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" +dependencies = [ + "ring", + "untrusted", +] + +[[package]] +name = "rustls-webpki" +version = "0.102.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff448f7e92e913c4b7d4c6d8e4540a1724b319b4152b8aef6d4cf8339712b33e" +dependencies = [ + "ring", + "rustls-pki-types", + "untrusted", +] + +[[package]] +name = "rustversion" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" + +[[package]] +name = "ryu" +version = "1.0.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" + +[[package]] +name = "salsa20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97a22f5af31f73a954c10289c93e8a50cc23d971e80ee446f1f6f7137a088213" +dependencies = [ + "cipher", +] + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "scrypt" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0516a385866c09368f0b5bcd1caff3366aace790fcd46e2bb032697bb172fd1f" +dependencies = [ + "password-hash", + "pbkdf2", + "salsa20", + "sha2", +] + +[[package]] +name = "sct" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" +dependencies = [ + "ring", + "untrusted", +] + +[[package]] +name = "secp256k1" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25996b82292a7a57ed3508f052cfff8640d38d32018784acd714758b43da9c8f" +dependencies = [ + "bitcoin_hashes 0.12.0", + "rand", + "secp256k1-sys", + "serde", +] + +[[package]] +name = "secp256k1-sys" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70a129b9e9efbfb223753b9163c4ab3b13cff7fd9c7f010fbac25ab4099fa07e" +dependencies = [ + "cc", +] + +[[package]] +name = "semver" +version = "1.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b97ed7a9823b74f99c7742f5336af7be5ecd3eeafcb1507d1fa93347b1d589b0" + +[[package]] +name = "send_wrapper" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" + +[[package]] +name = "serde" +version = "1.0.204" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc76f558e0cbb2a839d37354c575f1dc3fdc6546b5be373ba43d95f231bf7c12" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.204" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.48", +] + +[[package]] +name = "serde_json" +version = "1.0.120" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e0d21c9a8cae1235ad58a00c11cb40d4b1e5c784f1ef2c537876ed6ffd8b7c5" +dependencies = [ + "indexmap", + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "serde_spanned" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" +dependencies = [ + "serde", +] + +[[package]] +name = "serde_urlencoded" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" +dependencies = [ + "form_urlencoded", + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "sha1" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "sha2" +version = "0.10.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "sharded-slab" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "signal-hook" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8621587d4798caf8eb44879d42e56b9a93ea5dcd315a6487c357130095b62801" +dependencies = [ + "libc", + "signal-hook-registry", +] + +[[package]] +name = "signal-hook-mio" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29ad2e15f37ec9a6cc544097b78a1ec90001e9f71b81338ca39f430adaca99af" +dependencies = [ + "libc", + "mio", + "signal-hook", +] + +[[package]] +name = "signal-hook-registry" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" +dependencies = [ + "libc", +] + +[[package]] +name = "slab" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" +dependencies = [ + "autocfg", +] + +[[package]] +name = "smallvec" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" + +[[package]] +name = "socket2" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" +dependencies = [ + "libc", + "windows-sys 0.48.0", +] + +[[package]] +name = "sorted-vec" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6734caf0b6f51addd5eeacca12fb39b2c6c14e8d4f3ac42f3a78955c0467458" + +[[package]] +name = "spin" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" + +[[package]] +name = "stability" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ff9eaf853dec4c8802325d8b6d3dffa86cc707fd7a1a4cdbf416e13b061787a" +dependencies = [ + "quote", + "syn 2.0.48", +] + +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + +[[package]] +name = "strip-ansi-escapes" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55ff8ef943b384c414f54aefa961dd2bd853add74ec75e7ac74cf91dba62bcfa" +dependencies = [ + "vte", +] + +[[package]] +name = "strsim" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" + +[[package]] +name = "strum" +version = "0.26.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" +dependencies = [ + "strum_macros", +] + +[[package]] +name = "strum_macros" +version = "0.26.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.48", +] + +[[package]] +name = "subtle" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" + +[[package]] +name = "syn" +version = "1.0.109" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "2.0.48" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "sync_wrapper" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" + +[[package]] +name = "system-configuration" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" +dependencies = [ + "bitflags 1.3.2", + "core-foundation", + "system-configuration-sys", +] + +[[package]] +name = "system-configuration-sys" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "terminal_size" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" +dependencies = [ + "rustix", + "windows-sys 0.48.0", +] + +[[package]] +name = "thiserror" +version = "1.0.56" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d54378c645627613241d077a3a79db965db602882668f9136ac42af9ecb730ad" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.56" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.48", +] + +[[package]] +name = "thousands" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3bf63baf9f5039dadc247375c29eb13706706cfde997d0330d05aa63a77d8820" + +[[package]] +name = "thread_local" +version = "1.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" +dependencies = [ + "cfg-if", + "once_cell", +] + +[[package]] +name = "tiny-keccak" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" +dependencies = [ + "crunchy", +] + +[[package]] +name = "tinyvec" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +dependencies = [ + "tinyvec_macros", +] + +[[package]] +name = "tinyvec_macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" + +[[package]] +name = "tokio" +version = "1.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" +dependencies = [ + "backtrace", + "bytes", + "libc", + "mio", + "num_cpus", + "parking_lot", + "pin-project-lite", + "signal-hook-registry", + "socket2", + "tokio-macros", + "windows-sys 0.48.0", +] + +[[package]] +name = "tokio-macros" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.48", +] + +[[package]] +name = "tokio-rustls" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" +dependencies = [ + "rustls 0.21.11", + "tokio", +] + +[[package]] +name = "tokio-rustls" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f" +dependencies = [ + "rustls 0.22.4", + "rustls-pki-types", + "tokio", +] + +[[package]] +name = "tokio-socks" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51165dfa029d2a65969413a6cc96f354b86b464498702f174a4efa13608fd8c0" +dependencies = [ + "either", + "futures-util", + "thiserror", + "tokio", +] + +[[package]] +name = "tokio-tungstenite" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c83b561d025642014097b66e6c1bb422783339e0909e4429cde4749d1990bc38" +dependencies = [ + "futures-util", + "log", + "rustls 0.22.4", + "rustls-pki-types", + "tokio", + "tokio-rustls 0.25.0", + "tungstenite", + "webpki-roots 0.26.2", +] + +[[package]] +name = "tokio-util" +version = "0.7.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "toml" +version = "0.8.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a9aad4a3066010876e8dcf5a8a06e70a558751117a145c6ce2b82c2e2054290" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit 0.22.4", +] + +[[package]] +name = "toml_datetime" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +dependencies = [ + "serde", +] + +[[package]] +name = "toml_edit" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" +dependencies = [ + "indexmap", + "toml_datetime", + "winnow", +] + +[[package]] +name = "toml_edit" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c9ffdf896f8daaabf9b66ba8e77ea1ed5ed0f72821b398aba62352e95062951" +dependencies = [ + "indexmap", + "serde", + "serde_spanned", + "toml_datetime", + "winnow", +] + +[[package]] +name = "tower-service" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" + +[[package]] +name = "tracing" +version = "0.1.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" +dependencies = [ + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.48", +] + +[[package]] +name = "tracing-core" +version = "0.1.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" +dependencies = [ + "once_cell", + "valuable", +] + +[[package]] +name = "tracing-error" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d686ec1c0f384b1277f097b2f279a2ecc11afe8c133c1aabf036a27cb4cd206e" +dependencies = [ + "tracing", + "tracing-subscriber", +] + +[[package]] +name = "tracing-log" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" +dependencies = [ + "log", + "once_cell", + "tracing-core", +] + +[[package]] +name = "tracing-subscriber" +version = "0.3.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" +dependencies = [ + "matchers", + "nu-ansi-term", + "once_cell", + "regex", + "serde", + "sharded-slab", + "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log", +] + +[[package]] +name = "try-lock" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" + +[[package]] +name = "tui-textarea" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3e38ced1f941a9cfc923fbf2fe6858443c42cc5220bfd35bdd3648371e7bd8e" +dependencies = [ + "crossterm", + "ratatui", + "unicode-width", +] + +[[package]] +name = "tui-widget-list" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a872e33bd14ffe44e0332bab251ce58846e3a9a9d6e4a6929ce8f7f7d7d137d6" +dependencies = [ + "ratatui", +] + +[[package]] +name = "tungstenite" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ef1a641ea34f399a848dea702823bbecfb4c486f911735368f1f137cb8257e1" +dependencies = [ + "byteorder", + "bytes", + "data-encoding", + "http 1.1.0", + "httparse", + "log", + "rand", + "rustls 0.22.4", + "rustls-pki-types", + "sha1", + "thiserror", + "url", + "utf-8", +] + +[[package]] +name = "typenum" +version = "1.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" + +[[package]] +name = "ucd-trie" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" + +[[package]] +name = "unicase" +version = "2.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89" +dependencies = [ + "version_check", +] + +[[package]] +name = "unicode-bidi" +version = "0.3.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" + +[[package]] +name = "unicode-ident" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" + +[[package]] +name = "unicode-normalization" +version = "0.1.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "unicode-segmentation" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" + +[[package]] +name = "unicode-truncate" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a5fbabedabe362c618c714dbefda9927b5afc8e2a8102f47f081089a9019226" +dependencies = [ + "itertools", + "unicode-width", +] + +[[package]] +name = "unicode-width" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" + +[[package]] +name = "universal-hash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" +dependencies = [ + "crypto-common", + "subtle", +] + +[[package]] +name = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + +[[package]] +name = "url" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", +] + +[[package]] +name = "utf-8" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" + +[[package]] +name = "utf8parse" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" + +[[package]] +name = "uuid" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f00cc9702ca12d3c81455259621e676d0f7251cec66a21e98fe2e9a37db93b2a" +dependencies = [ + "getrandom", +] + +[[package]] +name = "valuable" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" + +[[package]] +name = "version_check" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" + +[[package]] +name = "vte" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5022b5fbf9407086c180e9557be968742d839e68346af7792b8592489732197" +dependencies = [ + "utf8parse", + "vte_generate_state_changes", +] + +[[package]] +name = "vte_generate_state_changes" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d257817081c7dffcdbab24b9e62d2def62e2ff7d00b1c20062551e6cccc145ff" +dependencies = [ + "proc-macro2", + "quote", +] + +[[package]] +name = "want" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" +dependencies = [ + "try-lock", +] + +[[package]] +name = "wasi" +version = "0.11.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" + +[[package]] +name = "wasm-bindgen" +version = "0.2.91" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1e124130aee3fb58c5bdd6b639a0509486b0338acaaae0c84a5124b0f588b7f" +dependencies = [ + "cfg-if", + "wasm-bindgen-macro", +] + +[[package]] +name = "wasm-bindgen-backend" +version = "0.2.91" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9e7e1900c352b609c8488ad12639a311045f40a35491fb69ba8c12f758af70b" +dependencies = [ + "bumpalo", + "log", + "once_cell", + "proc-macro2", + "quote", + "syn 2.0.48", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.41" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877b9c3f61ceea0e56331985743b13f3d25c406a7098d45180fb5f09bc19ed97" +dependencies = [ + "cfg-if", + "js-sys", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.91" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b30af9e2d358182b5c7449424f017eba305ed32a7010509ede96cdc4696c46ed" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.91" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "642f325be6301eb8107a83d12a8ac6c1e1c54345a7ef1a9261962dfefda09e66" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.48", + "wasm-bindgen-backend", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.91" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f186bd2dcf04330886ce82d6f33dd75a7bfcf69ecf5763b89fcde53b6ac9838" + +[[package]] +name = "wasm-ws" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5b3a482e27ff54809c0848629d9033179705c5ea2f58e26cf45dc77c34c4984" +dependencies = [ + "async_io_stream", + "futures", + "js-sys", + "pharos", + "send_wrapper", + "thiserror", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "web-sys" +version = "0.3.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96565907687f7aceb35bc5fc03770a8a0471d82e479f25832f54a0e3f4b28446" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webpki-roots" +version = "0.25.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" + +[[package]] +name = "webpki-roots" +version = "0.26.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c452ad30530b54a4d8e71952716a212b08efd0f3562baa66c29a618b07da7c3" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "windows-core" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +dependencies = [ + "windows-targets 0.52.0", +] + +[[package]] +name = "windows-sys" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +dependencies = [ + "windows-targets 0.48.5", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.0", +] + +[[package]] +name = "windows-targets" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +dependencies = [ + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", +] + +[[package]] +name = "windows-targets" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +dependencies = [ + "windows_aarch64_gnullvm 0.52.0", + "windows_aarch64_msvc 0.52.0", + "windows_i686_gnu 0.52.0", + "windows_i686_msvc 0.52.0", + "windows_x86_64_gnu 0.52.0", + "windows_x86_64_gnullvm 0.52.0", + "windows_x86_64_msvc 0.52.0", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" + +[[package]] +name = "windows_i686_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" + +[[package]] +name = "windows_i686_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" + +[[package]] +name = "winnow" +version = "0.5.39" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5389a154b01683d28c77f8f68f49dea75f0a4da32557a58f68ee51ebba472d29" +dependencies = [ + "memchr", +] + +[[package]] +name = "winreg" +version = "0.50.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" +dependencies = [ + "cfg-if", + "windows-sys 0.48.0", +] + +[[package]] +name = "yaml-rust" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85" +dependencies = [ + "linked-hash-map", +] + +[[package]] +name = "yansi" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" + +[[package]] +name = "zerocopy" +version = "0.7.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.7.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.48", +] + +[[package]] +name = "zeroize" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" diff --git a/pkgs/by-name/no/nostui/package.nix b/pkgs/by-name/no/nostui/package.nix new file mode 100644 index 000000000000..6fbd71ac2d05 --- /dev/null +++ b/pkgs/by-name/no/nostui/package.nix @@ -0,0 +1,43 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, + darwin, + stdenv, +}: + +rustPlatform.buildRustPackage rec { + pname = "nostui"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "akiomik"; + repo = "nostui"; + rev = "v${version}"; + hash = "sha256-RCD11KdzM66Mkydc51r6fG+q8bmKl5eZma58YoARwPo="; + }; + + buildInputs = lib.optionals stdenv.isDarwin ( + with darwin.apple_sdk; [ frameworks.SystemConfiguration ] + ); + + GIT_HASH = "000000000000000000000000000000000000000000000000000"; + + checkFlags = [ + # skip failing test due to nix build timestamps + "--skip=widgets::text_note::tests::test_created_at" + ]; + + cargoHash = "sha256-8ciA1FoGdnU+GWRcYJc8zU2FpUgGwTZSZynvAi1luYo="; + + cargoDeps = rustPlatform.importCargoLock { lockFile = ./Cargo.lock; }; + + meta = with lib; { + homepage = "https://github.com/akiomik/nostui"; + description = "TUI client for Nostr"; + license = licenses.mit; + maintainers = with maintainers; [ heywoodlh ]; + platforms = platforms.unix; + mainProgram = "nostui"; + }; +} From d40fd0fd8203bdd2142f953abfcf681e539787ff Mon Sep 17 00:00:00 2001 From: Someone Serge Date: Wed, 31 Jul 2024 21:56:47 +0000 Subject: [PATCH 085/226] python311Packages.vllm: reorder, filter, rename attrs as conventional pep-517 attr names, no native torch, phase order Co-authored-by: cfhammill --- .../python-modules/vllm/default.nix | 44 ++++++++++--------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/pkgs/development/python-modules/vllm/default.nix b/pkgs/development/python-modules/vllm/default.nix index 80ad9a2ac5bd..0839f2ce3bbd 100644 --- a/pkgs/development/python-modules/vllm/default.nix +++ b/pkgs/development/python-modules/vllm/default.nix @@ -60,6 +60,8 @@ buildPythonPackage rec { version = "0.5.3.post1"; pyproject = true; + stdenv = if cudaSupport then cudaPackages.backendStdenv else args.stdenv; + src = fetchFromGitHub { owner = "vllm-project"; repo = pname; @@ -67,13 +69,6 @@ buildPythonPackage rec { hash = "sha256-++DK2Y2zz+1KrEcdQc5XFrSjc7fCwMD2DQ/RqY7PoFU="; }; - stdenv = if cudaSupport then cudaPackages.backendStdenv else args.stdenv; - - # Otherwise it tries to enumerate host supported ROCM gfx archs, and that is not possible due to sandboxing. - PYTORCH_ROCM_ARCH = lib.optionalString rocmSupport ( - lib.strings.concatStringsSep ";" rocmPackages.clr.gpuTargets - ); - # hipcc --version works badly on NixOS due to unresolved paths. postPatch = '' @@ -85,26 +80,19 @@ buildPythonPackage rec { --replace "'hipcc', '--version'" "'${writeShellScript "hipcc-version-stub" "echo HIP version: 0.0"}'" ''; - preBuild = - lib.optionalString rocmSupport '' - export ROCM_HOME=${rocmPackages.clr} - export PATH=$PATH:${rocmPackages.hipcc} - '' - + lib.optionalString cudaSupport '' - export CUDA_HOME=${cudaPackages.cuda_nvcc} - ''; - nativeBuildInputs = [ cmake ninja - packaging pythonRelaxDepsHook - setuptools - torch - wheel which ] ++ lib.optionals rocmSupport [ rocmPackages.hipcc ]; + build-system = [ + packaging + setuptools + wheel + ]; + buildInputs = (lib.optionals cudaSupport ( with cudaPackages; @@ -129,7 +117,7 @@ buildPythonPackage rec { ] )); - propagatedBuildInputs = + dependencies = [ aioprometheus fastapi @@ -162,6 +150,20 @@ buildPythonPackage rec { dontUseCmakeConfigure = true; + # Otherwise it tries to enumerate host supported ROCM gfx archs, and that is not possible due to sandboxing. + PYTORCH_ROCM_ARCH = lib.optionalString rocmSupport ( + lib.strings.concatStringsSep ";" rocmPackages.clr.gpuTargets + ); + + preBuild = + lib.optionalString rocmSupport '' + export ROCM_HOME=${rocmPackages.clr} + export PATH=$PATH:${rocmPackages.hipcc} + '' + + lib.optionalString cudaSupport '' + export CUDA_HOME=${cudaPackages.cuda_nvcc} + ''; + pythonRelaxDeps = true; pythonImportsCheck = [ "vllm" ]; From 4fb7cb4a2e4e41c23433f9e51bdfdcad4fede189 Mon Sep 17 00:00:00 2001 From: Someone Serge Date: Wed, 31 Jul 2024 21:56:47 +0000 Subject: [PATCH 086/226] python311Packages.vllm: postPatch -> patches Co-authored-by: cfhammill --- ...setup.py-don-t-ask-for-hipcc-version.patch | 24 +++++++++++ ...up.py-nix-support-respect-cmakeFlags.patch | 40 +++++++++++++++++++ .../python-modules/vllm/default.nix | 15 +++---- 3 files changed, 69 insertions(+), 10 deletions(-) create mode 100644 pkgs/development/python-modules/vllm/0001-setup.py-don-t-ask-for-hipcc-version.patch create mode 100644 pkgs/development/python-modules/vllm/0002-setup.py-nix-support-respect-cmakeFlags.patch diff --git a/pkgs/development/python-modules/vllm/0001-setup.py-don-t-ask-for-hipcc-version.patch b/pkgs/development/python-modules/vllm/0001-setup.py-don-t-ask-for-hipcc-version.patch new file mode 100644 index 000000000000..edaebfce508c --- /dev/null +++ b/pkgs/development/python-modules/vllm/0001-setup.py-don-t-ask-for-hipcc-version.patch @@ -0,0 +1,24 @@ +From f6a7748bee79fc2e1898968fef844daacfa7860b Mon Sep 17 00:00:00 2001 +From: SomeoneSerge +Date: Wed, 31 Jul 2024 12:02:53 +0000 +Subject: [PATCH 1/2] setup.py: don't ask for hipcc --version + +--- + setup.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/setup.py b/setup.py +index 72ef26f1..01e006f9 100644 +--- a/setup.py ++++ b/setup.py +@@ -279,6 +279,7 @@ def _install_punica() -> bool: + + + def get_hipcc_rocm_version(): ++ return "0.0" # `hipcc --version` misbehaves ("unresolved paths") inside the nix sandbox + # Run the hipcc --version command + result = subprocess.run(['hipcc', '--version'], + stdout=subprocess.PIPE, +-- +2.45.1 + diff --git a/pkgs/development/python-modules/vllm/0002-setup.py-nix-support-respect-cmakeFlags.patch b/pkgs/development/python-modules/vllm/0002-setup.py-nix-support-respect-cmakeFlags.patch new file mode 100644 index 000000000000..e7a4bcd45761 --- /dev/null +++ b/pkgs/development/python-modules/vllm/0002-setup.py-nix-support-respect-cmakeFlags.patch @@ -0,0 +1,40 @@ +From 10b7e8330bdba319a4162cceb8e5dd4280215b04 Mon Sep 17 00:00:00 2001 +From: SomeoneSerge +Date: Wed, 31 Jul 2024 12:06:15 +0000 +Subject: [PATCH 2/2] setup.py: nix-support (respect cmakeFlags) + +--- + setup.py | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/setup.py b/setup.py +index 01e006f9..14762146 100644 +--- a/setup.py ++++ b/setup.py +@@ -15,6 +15,15 @@ from setuptools import Extension, find_packages, setup + from setuptools.command.build_ext import build_ext + from torch.utils.cpp_extension import CUDA_HOME + ++import os ++import json ++ ++if "NIX_ATTRS_JSON_FILE" in os.environ: ++ with open(os.environ["NIX_ATTRS_JSON_FILE"], "r") as f: ++ NIX_ATTRS = json.load(f) ++else: ++ NIX_ATTRS = { "cmakeFlags": os.environ.get("cmakeFlags", "").split() } ++ + + def load_module_from_path(module_name, path): + spec = importlib.util.spec_from_file_location(module_name, path) +@@ -159,6 +168,7 @@ class cmake_build_ext(build_ext): + '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY={}'.format(outdir), + '-DCMAKE_ARCHIVE_OUTPUT_DIRECTORY={}'.format(self.build_temp), + '-DVLLM_TARGET_DEVICE={}'.format(VLLM_TARGET_DEVICE), ++ *NIX_ATTRS["cmakeFlags"], + ] + + verbose = envs.VERBOSE +-- +2.45.1 + diff --git a/pkgs/development/python-modules/vllm/default.nix b/pkgs/development/python-modules/vllm/default.nix index 0839f2ce3bbd..307bc70dc76a 100644 --- a/pkgs/development/python-modules/vllm/default.nix +++ b/pkgs/development/python-modules/vllm/default.nix @@ -69,16 +69,10 @@ buildPythonPackage rec { hash = "sha256-++DK2Y2zz+1KrEcdQc5XFrSjc7fCwMD2DQ/RqY7PoFU="; }; - # hipcc --version works badly on NixOS due to unresolved paths. - postPatch = - '' - substituteInPlace setup.py \ - --replace 'cmake_args = [' 'cmake_args = ["-DFETCHCONTENT_SOURCE_DIR_CUTLASS=${cutlass}",' - '' - + lib.optionalString rocmSupport '' - substituteInPlace setup.py \ - --replace "'hipcc', '--version'" "'${writeShellScript "hipcc-version-stub" "echo HIP version: 0.0"}'" - ''; + patches = [ + ./0001-setup.py-don-t-ask-for-hipcc-version.patch + ./0002-setup.py-nix-support-respect-cmakeFlags.patch + ]; nativeBuildInputs = [ cmake @@ -149,6 +143,7 @@ buildPythonPackage rec { ]; dontUseCmakeConfigure = true; + cmakeFlags = [ (lib.cmakeFeature "FETCHCONTENT_SOURCE_DIR_CUTLASS" "${lib.getDev cutlass}") ]; # Otherwise it tries to enumerate host supported ROCM gfx archs, and that is not possible due to sandboxing. PYTORCH_ROCM_ARCH = lib.optionalString rocmSupport ( From cc473a33bb2c67f11cf3ccea5546d30bdd846429 Mon Sep 17 00:00:00 2001 From: Someone Serge Date: Wed, 31 Jul 2024 21:56:48 +0000 Subject: [PATCH 087/226] python311Packages.vllm: export in preBuild -> env Co-authored-by: cfhammill --- .../python-modules/vllm/default.nix | 20 +++++++------------ 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/vllm/default.nix b/pkgs/development/python-modules/vllm/default.nix index 307bc70dc76a..9ad8db6b0853 100644 --- a/pkgs/development/python-modules/vllm/default.nix +++ b/pkgs/development/python-modules/vllm/default.nix @@ -145,19 +145,13 @@ buildPythonPackage rec { dontUseCmakeConfigure = true; cmakeFlags = [ (lib.cmakeFeature "FETCHCONTENT_SOURCE_DIR_CUTLASS" "${lib.getDev cutlass}") ]; - # Otherwise it tries to enumerate host supported ROCM gfx archs, and that is not possible due to sandboxing. - PYTORCH_ROCM_ARCH = lib.optionalString rocmSupport ( - lib.strings.concatStringsSep ";" rocmPackages.clr.gpuTargets - ); - - preBuild = - lib.optionalString rocmSupport '' - export ROCM_HOME=${rocmPackages.clr} - export PATH=$PATH:${rocmPackages.hipcc} - '' - + lib.optionalString cudaSupport '' - export CUDA_HOME=${cudaPackages.cuda_nvcc} - ''; + env = + lib.optionalAttrs cudaSupport { CUDA_HOME = "${lib.getDev cudaPackages.cuda_nvcc}"; } + // lib.optionalAttrs rocmSupport { + # Otherwise it tries to enumerate host supported ROCM gfx archs, and that is not possible due to sandboxing. + PYTORCH_ROCM_ARCH = lib.strings.concatStringsSep ";" rocmPackages.clr.gpuTargets; + ROCM_HOME = "${rocmPackages.clr}"; + }; pythonRelaxDeps = true; From b9344b4e5248770f9d3aa70fdde96a109adc3741 Mon Sep 17 00:00:00 2001 From: Someone Serge Date: Wed, 31 Jul 2024 21:56:48 +0000 Subject: [PATCH 088/226] python312Packages.vllm: allow building for 3.12 Co-authored-by: cfhammill --- pkgs/development/python-modules/vllm/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/vllm/default.nix b/pkgs/development/python-modules/vllm/default.nix index 9ad8db6b0853..78e683c534b5 100644 --- a/pkgs/development/python-modules/vllm/default.nix +++ b/pkgs/development/python-modules/vllm/default.nix @@ -74,6 +74,15 @@ buildPythonPackage rec { ./0002-setup.py-nix-support-respect-cmakeFlags.patch ]; + # Ignore the python version check because it hard-codes minor versions and + # lags behind `ray`'s python interpreter support + postPatch = '' + substituteInPlace CMakeLists.txt \ + --replace-fail \ + 'set(PYTHON_SUPPORTED_VERSIONS' \ + 'set(PYTHON_SUPPORTED_VERSIONS "${lib.versions.majorMinor python.version}"' + ''; + nativeBuildInputs = [ cmake ninja From 17a50f14daaf1ef506f1ef61c7f5bcbbb922c629 Mon Sep 17 00:00:00 2001 From: Someone Serge Date: Wed, 31 Jul 2024 21:56:48 +0000 Subject: [PATCH 089/226] python312Packages.vllm: unbreak in vanilla nixpkgs (default to rocm) Co-authored-by: cfhammill --- pkgs/development/python-modules/vllm/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/vllm/default.nix b/pkgs/development/python-modules/vllm/default.nix index 78e683c534b5..3b9e6ee43487 100644 --- a/pkgs/development/python-modules/vllm/default.nix +++ b/pkgs/development/python-modules/vllm/default.nix @@ -41,7 +41,8 @@ cudaSupport ? config.cudaSupport, cudaPackages ? { }, - rocmSupport ? config.rocmSupport, + # Has to be either rocm or cuda, default to the free one + rocmSupport ? !config.cudaSupport, rocmPackages ? { }, gpuTargets ? [ ], }@args: From 7df877abd75f038dfb2c8a596291c20031616a3c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 1 Aug 2024 01:48:22 +0200 Subject: [PATCH 090/226] esphome: 2024.7.2 -> 2024.7.3 https://github.com/esphome/esphome/releases/tag/2024.7.3 --- pkgs/tools/misc/esphome/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/esphome/default.nix b/pkgs/tools/misc/esphome/default.nix index ee75498adeed..e495fe13650d 100644 --- a/pkgs/tools/misc/esphome/default.nix +++ b/pkgs/tools/misc/esphome/default.nix @@ -19,14 +19,14 @@ let in python.pkgs.buildPythonApplication rec { pname = "esphome"; - version = "2024.7.2"; + version = "2024.7.3"; pyproject = true; src = fetchFromGitHub { owner = pname; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-DnXPCcbDwWN+jve2YIeQ3dlugamAc6AR2/7c68bpct8="; + hash = "sha256-D81VmT2E84Q4sOzZy/98mbx69vAskpwYlwqtXNjkBvs="; }; nativeBuildInputs = with python.pkgs; [ From 28adb2dab2cce2bfd868d52bab42097710b4dd8b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 1 Aug 2024 01:03:12 +0000 Subject: [PATCH 091/226] python312Packages.recline: 2024.6 -> 2024.7.1 --- pkgs/development/python-modules/recline/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/recline/default.nix b/pkgs/development/python-modules/recline/default.nix index 842c57a4ec66..b60e2b6ebc19 100644 --- a/pkgs/development/python-modules/recline/default.nix +++ b/pkgs/development/python-modules/recline/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "recline"; - version = "2024.6"; + version = "2024.7.1"; format = "pyproject"; src = fetchFromGitHub { owner = "NetApp"; repo = "recline"; rev = "refs/tags/v${version}"; - sha256 = "sha256-wVUM5vkavdLDtwRlbtVlVaBOXX+7tcB+SxYe1jZdq9I="; + sha256 = "sha256-Qc4oofuhSZ2S5zuCY9Ce9ISldYI3MDUJXFc8VcXdLIU="; }; nativeBuildInputs = [ setuptools ]; From 33b73deeb256afa286a8447fcc7fc948ff78f63e Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Wed, 31 Jul 2024 23:04:57 +0200 Subject: [PATCH 092/226] python312Packages.gradio: 4.36.1 -> 4.40.0 diff: https://github.com/gradio-app/gradio/compare/gradio@4.36.1..gradio@4.40.0 --- pkgs/development/python-modules/gradio/default.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/gradio/default.nix b/pkgs/development/python-modules/gradio/default.nix index b59ba637d713..a25d8baa10d3 100644 --- a/pkgs/development/python-modules/gradio/default.nix +++ b/pkgs/development/python-modules/gradio/default.nix @@ -15,7 +15,7 @@ # runtime setuptools, aiofiles, - altair, + anyio, diffusers, fastapi, ffmpy, @@ -47,6 +47,7 @@ # check pytestCheckHook, + altair, boto3, gradio-pdf, ffmpeg, @@ -62,7 +63,7 @@ buildPythonPackage rec { pname = "gradio"; - version = "4.36.1"; + version = "4.40.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -70,7 +71,7 @@ buildPythonPackage rec { # We use the Pypi release, since it provides prebuilt webui assets src = fetchPypi { inherit pname version; - hash = "sha256-crLSEVbTRnEjuubzD0Y/AC7wbicnZidDCPXtPKw3Vjs="; + hash = "sha256-ChV5E6RfFcOwW6uFqU4/phfHfn27yS8+MKjMVytnlgU="; }; # fix packaging.ParserSyntaxError, which can't handle comments @@ -98,7 +99,7 @@ buildPythonPackage rec { dependencies = [ setuptools # needed for 'pkg_resources' aiofiles - altair + anyio diffusers fastapi ffmpy @@ -132,6 +133,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook + altair boto3 gradio-pdf ffmpeg @@ -183,6 +185,9 @@ buildPythonPackage rec { # fails without network "test_download_if_url_correct_parse" + # flaky: OSError: Cannot find empty port in range: 7860-7959 + "test_docs_url" + # tests if pip and other tools are installed "test_get_executable_path" ] ++ lib.optionals stdenv.isDarwin [ From e82f7f703e72b3c18fde5e5a6a092aa0f6e364d1 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Thu, 1 Aug 2024 03:51:57 +0200 Subject: [PATCH 093/226] python312Packages.gradio-client: 1.0.1 -> 1.2.0 diff: https://github.com/gradio-app/gradio/compare/gradio_client@1.0.1..gradio_client@1.2.0 --- pkgs/development/python-modules/gradio/client.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/gradio/client.nix b/pkgs/development/python-modules/gradio/client.nix index 1e87a7ad652a..ed2d52c30c39 100644 --- a/pkgs/development/python-modules/gradio/client.nix +++ b/pkgs/development/python-modules/gradio/client.nix @@ -27,7 +27,7 @@ buildPythonPackage rec { pname = "gradio-client"; - version = "1.0.1"; + version = "1.2.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -39,7 +39,7 @@ buildPythonPackage rec { # not to be confused with @gradio/client@${version} rev = "refs/tags/gradio_client@${version}"; sparseCheckout = [ "client/python" ]; - hash = "sha256-nbOWg2ZPcXTft7e4tR5p5xecVU62en0hEdXqAgLDZF4="; + hash = "sha256-l5WHNerSYNXrFGOpAqxxh0JLiFpatxq6a62q83tEavo="; }; prePatch = '' cd client/python From 2324618f659c61ccec4094510df8af95be94980f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 1 Aug 2024 02:04:19 +0000 Subject: [PATCH 094/226] python312Packages.dploot: 2.7.3 -> 3.0.0 --- pkgs/development/python-modules/dploot/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dploot/default.nix b/pkgs/development/python-modules/dploot/default.nix index afafa69c8b80..13ea26e68c2c 100644 --- a/pkgs/development/python-modules/dploot/default.nix +++ b/pkgs/development/python-modules/dploot/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "dploot"; - version = "2.7.3"; + version = "3.0.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-YlRXUSCzVRXxRQcmPzTeyPQ3zK+UlhO9BmZVx6qVRpc="; + hash = "sha256-G39dzP5A6ZySo7AhDIZWXjhtk2zm15wSnrdknLqHHcY="; }; pythonRelaxDeps = [ From e4a4da8794d0b3856b3cbe07feb90b57f8fac042 Mon Sep 17 00:00:00 2001 From: hellodword <46193371+hellodword@users.noreply.github.com> Date: Mon, 29 Jul 2024 01:23:54 +0000 Subject: [PATCH 095/226] nixos/restic: ensure newline in --files-from --- nixos/modules/services/backup/restic.nix | 2 +- nixos/tests/restic.nix | 15 +++++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/nixos/modules/services/backup/restic.nix b/nixos/modules/services/backup/restic.nix index 187c70df3559..7773cb5ff760 100644 --- a/nixos/modules/services/backup/restic.nix +++ b/nixos/modules/services/backup/restic.nix @@ -358,7 +358,7 @@ in ${resticCmd} cat config > /dev/null || ${resticCmd} init ''} ${optionalString (backup.paths != null && backup.paths != []) '' - cat ${pkgs.writeText "staticPaths" (concatStringsSep "\n" backup.paths)} >> ${filesFromTmpFile} + cat ${pkgs.writeText "staticPaths" (concatLines backup.paths)} >> ${filesFromTmpFile} ''} ${optionalString (backup.dynamicFilesFrom != null) '' ${pkgs.writeScript "dynamicFilesFromScript" backup.dynamicFilesFrom} >> ${filesFromTmpFile} diff --git a/nixos/tests/restic.nix b/nixos/tests/restic.nix index 4111720cf6be..e1998a45f41a 100644 --- a/nixos/tests/restic.nix +++ b/nixos/tests/restic.nix @@ -26,6 +26,7 @@ import ./make-test-python.nix ( echo some_other_file > $out/some_other_file mkdir $out/a_dir echo a_file > $out/a_dir/a_file + echo a_file_2 > $out/a_dir/a_file_2 ''; }; @@ -61,7 +62,10 @@ import ./make-test-python.nix ( inherit passwordFile exclude pruneOpts; initialize = true; repositoryFile = pkgs.writeText "repositoryFile" remoteFromFileRepository; - paths = [ "/opt/a_dir" ]; + paths = [ + "/opt/a_dir/a_file" + "/opt/a_dir/a_file_2" + ]; dynamicFilesFrom = '' find /opt -mindepth 1 -maxdepth 1 ! -name a_dir # all files in /opt except for a_dir ''; @@ -137,15 +141,18 @@ import ./make-test-python.nix ( # test that remote-from-file-backup produces a snapshot "systemctl start restic-backups-remote-from-file-backup.service", 'restic-remote-from-file-backup snapshots --json | ${pkgs.jq}/bin/jq "length | . == 1"', + "mkdir /tmp/restore-2", + "restic-remote-from-file-backup restore latest -t /tmp/restore-2", + "diff -ru ${testDir} /tmp/restore-2/opt", # test that remote-noinit-backup produces a snapshot "systemctl start restic-backups-remote-noinit-backup.service", 'restic-remote-noinit-backup snapshots --json | ${pkgs.jq}/bin/jq "length | . == 1"', # test that restoring that snapshot produces the same directory - "mkdir /tmp/restore-2", - "${pkgs.restic}/bin/restic -r ${remoteRepository} -p ${passwordFile} restore latest -t /tmp/restore-2", - "diff -ru ${testDir} /tmp/restore-2/opt", + "mkdir /tmp/restore-3", + "${pkgs.restic}/bin/restic -r ${remoteRepository} -p ${passwordFile} restore latest -t /tmp/restore-3", + "diff -ru ${testDir} /tmp/restore-3/opt", # test that rclonebackup produces a snapshot "systemctl start restic-backups-rclonebackup.service", From eeb13b181f785d928c85384de94483453e3d0be9 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 28 Jul 2024 15:31:53 +0100 Subject: [PATCH 096/226] grin: modernize --- pkgs/tools/text/grin/default.nix | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/text/grin/default.nix b/pkgs/tools/text/grin/default.nix index 5217451a984b..a993ded3c884 100644 --- a/pkgs/tools/text/grin/default.nix +++ b/pkgs/tools/text/grin/default.nix @@ -1,13 +1,19 @@ -{ lib, fetchFromGitHub, fetchpatch, python3Packages }: +{ + lib, + fetchFromGitHub, + fetchpatch, + python3Packages, +}: -python3Packages.buildPythonApplication rec { +python3Packages.buildPythonApplication { pname = "grin"; version = "1.3.0"; namePrefix = ""; + pyproject = true; src = fetchFromGitHub { owner = "matthew-brett"; - repo = pname; + repo = "grin"; rev = "1.3.0"; hash = "sha256-exKUy7LaDtpq0rJLSuNYsIcynpB4QLtLIE6T/ncB7RQ="; }; @@ -21,9 +27,9 @@ python3Packages.buildPythonApplication rec { }) ]; - nativeCheckInputs = with python3Packages; [ - nose3 - ]; + build-system = [ python3Packages.setuptools ]; + + nativeCheckInputs = with python3Packages; [ nose3 ]; meta = { homepage = "https://github.com/matthew-brett/grin"; From 22af46b51256a504531630d48425256374299911 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 28 Jul 2024 15:31:53 +0100 Subject: [PATCH 097/226] grin: 1.3.0 -> 1.3.0-unstable-2023-08-30 --- pkgs/tools/text/grin/default.nix | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/pkgs/tools/text/grin/default.nix b/pkgs/tools/text/grin/default.nix index a993ded3c884..4a8e0d7a916f 100644 --- a/pkgs/tools/text/grin/default.nix +++ b/pkgs/tools/text/grin/default.nix @@ -1,35 +1,25 @@ { lib, fetchFromGitHub, - fetchpatch, python3Packages, }: python3Packages.buildPythonApplication { pname = "grin"; - version = "1.3.0"; + version = "1.3.0-unstable-2023-08-30"; namePrefix = ""; pyproject = true; src = fetchFromGitHub { owner = "matthew-brett"; repo = "grin"; - rev = "1.3.0"; - hash = "sha256-exKUy7LaDtpq0rJLSuNYsIcynpB4QLtLIE6T/ncB7RQ="; + rev = "00e11ebf17bbb37dc33d282eac1282c0bcc07e82"; + hash = "sha256-0lrCOXFb2v0hCxWd9O7ysbn8CjPd8NHOJhARYzJJcYg="; }; - patches = [ - # https://github.com/matthew-brett/grin/pull/4 - (fetchpatch { - name = "replace-nose-with-nose3.patch"; - url = "https://github.com/matthew-brett/grin/commit/ba473fa4f5da1b337ee80d7d31772a4e41ffa62d.patch"; - hash = "sha256-CnWHynKSsXYjSsTLdPuwpcIndrCdq3cQYS8teg5EM0A="; - }) - ]; - build-system = [ python3Packages.setuptools ]; - nativeCheckInputs = with python3Packages; [ nose3 ]; + nativeCheckInputs = [ python3Packages.pytestCheckHook ]; meta = { homepage = "https://github.com/matthew-brett/grin"; From 4094f03ffdaa27004b7e8a0b721d24ca028a9f8e Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 28 Jul 2024 16:33:25 +0100 Subject: [PATCH 098/226] svtplay-dl: use `buildPythonApplication` --- pkgs/tools/misc/svtplay-dl/default.nix | 88 ++++++++++++++++---------- 1 file changed, 53 insertions(+), 35 deletions(-) diff --git a/pkgs/tools/misc/svtplay-dl/default.nix b/pkgs/tools/misc/svtplay-dl/default.nix index 29ab8c493219..2805d07b2d26 100644 --- a/pkgs/tools/misc/svtplay-dl/default.nix +++ b/pkgs/tools/misc/svtplay-dl/default.nix @@ -1,27 +1,36 @@ -{ lib -, stdenv -, fetchFromGitHub -, makeWrapper -, python3Packages -, perl -, zip -, gitMinimal -, ffmpeg +{ + lib, + fetchFromGitHub, + installShellFiles, + python3Packages, + perl, + ffmpeg, + gitMinimal, }: let inherit (python3Packages) - python pytest nose3 cryptography pyyaml requests mock requests-mock - python-dateutil setuptools; + buildPythonApplication + setuptools + requests + pysocks + cryptography + pyyaml + nose3 + pytest + mock + requests-mock + ; version = "4.97.1"; in -stdenv.mkDerivation rec { +buildPythonApplication { pname = "svtplay-dl"; inherit version; + pyproject = true; src = fetchFromGitHub { owner = "spaam"; @@ -30,47 +39,56 @@ stdenv.mkDerivation rec { hash = "sha256-9h3hHRRL7DKeCpEXL5w72hYi1nTS+a+x5e9ArMmVgYQ="; }; - pythonPaths = [ cryptography pyyaml requests ]; - buildInputs = [ python perl python-dateutil setuptools ] ++ pythonPaths; - nativeBuildInputs = [ gitMinimal zip makeWrapper ]; - nativeCheckInputs = [ nose3 pytest mock requests-mock ]; + build-system = [ setuptools ]; - postPatch = '' - substituteInPlace scripts/run-tests.sh \ - --replace 'PYTHONPATH=lib' 'PYTHONPATH=lib:$PYTHONPATH' + dependencies = [ + requests + pysocks + cryptography + pyyaml + ]; - sed -i '/def test_sublang2\?(/ i\ @unittest.skip("accesses network")' \ - lib/svtplay_dl/tests/test_postprocess.py - ''; + nativeBuildInputs = [ + # For `pod2man(1)`. + perl + installShellFiles + ]; - makeFlags = [ "PREFIX=$(out)" "SYSCONFDIR=$(out)/etc" "PYTHON=${python.interpreter}" ]; + nativeCheckInputs = [ + nose3 + pytest + mock + requests-mock + gitMinimal + ]; - postInstall = '' - wrapProgram "$out/bin/svtplay-dl" \ - --prefix PATH : "${ffmpeg}" \ - --prefix PYTHONPATH : "$PYTHONPATH" + postBuild = '' + make svtplay-dl.1 ''; doCheck = python3Packages.pythonOlder "3.12"; + checkPhase = '' runHook preCheck - sh scripts/run-tests.sh -2 + nosetests --all-modules --with-doctest runHook postCheck ''; - doInstallCheck = true; - installCheckPhase = '' - runHook preInstallCheck - $out/bin/svtplay-dl --help > /dev/null - runHook postInstallCheck + postInstall = '' + installManPage svtplay-dl.1 + makeWrapperArgs+=(--prefix PATH : "${lib.makeBinPath [ ffmpeg ]}") ''; - meta = with lib; { + postInstallCheck = '' + $out/bin/svtplay-dl --help > /dev/null + ''; + + meta = { homepage = "https://github.com/spaam/svtplay-dl"; description = "Command-line tool to download videos from svtplay.se and other sites"; - license = licenses.mit; + license = lib.licenses.mit; platforms = lib.platforms.unix; mainProgram = "svtplay-dl"; }; From 0fa536d5b27978048fd06e6547eea8f640c8d731 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 28 Jul 2024 21:58:24 +0100 Subject: [PATCH 099/226] svtplay-dl: migrate to pytest --- pkgs/tools/misc/svtplay-dl/default.nix | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/pkgs/tools/misc/svtplay-dl/default.nix b/pkgs/tools/misc/svtplay-dl/default.nix index 2805d07b2d26..e0a0cfe9804c 100644 --- a/pkgs/tools/misc/svtplay-dl/default.nix +++ b/pkgs/tools/misc/svtplay-dl/default.nix @@ -5,7 +5,6 @@ python3Packages, perl, ffmpeg, - gitMinimal, }: let @@ -17,8 +16,7 @@ let pysocks cryptography pyyaml - nose3 - pytest + pytestCheckHook mock requests-mock ; @@ -55,27 +53,20 @@ buildPythonApplication { ]; nativeCheckInputs = [ - nose3 - pytest + pytestCheckHook mock requests-mock - gitMinimal + ]; + + pytestFlagsArray = [ + "--doctest-modules" + "lib" ]; postBuild = '' make svtplay-dl.1 ''; - doCheck = python3Packages.pythonOlder "3.12"; - - checkPhase = '' - runHook preCheck - - nosetests --all-modules --with-doctest - - runHook postCheck - ''; - postInstall = '' installManPage svtplay-dl.1 makeWrapperArgs+=(--prefix PATH : "${lib.makeBinPath [ ffmpeg ]}") From 7ef27e1420a824f8ac259574fab58868df0eee20 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 28 Jul 2024 16:51:26 +0100 Subject: [PATCH 100/226] python3Packages.pkutils: drop --- .../python-modules/pkutils/default.nix | 45 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 47 deletions(-) delete mode 100644 pkgs/development/python-modules/pkutils/default.nix diff --git a/pkgs/development/python-modules/pkutils/default.nix b/pkgs/development/python-modules/pkutils/default.nix deleted file mode 100644 index 724e991ee143..000000000000 --- a/pkgs/development/python-modules/pkutils/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - nose3, - pythonOlder, - semver, -}: - -buildPythonPackage rec { - pname = "pkutils"; - version = "3.0.2"; - format = "setuptools"; - - disabled = pythonOlder "3.6"; - - src = fetchFromGitHub { - owner = "reubano"; - repo = "pkutils"; - rev = "refs/tags/v${version}"; - hash = "sha256-AK+xX+LPz6IVLZedsqMUm7G28ue0s3pXgIzxS4EHHLE="; - }; - - pythonRelaxDeps = [ "semver" ]; - - - propagatedBuildInputs = [ semver ]; - - nativeCheckInputs = [ nose3 ]; - - checkPhase = '' - runHook preCheck - nosetests - runHook postCheck - ''; - - pythonImportsCheck = [ "pkutils" ]; - - meta = with lib; { - description = "Python packaging utility library"; - homepage = "https://github.com/reubano/pkutils/"; - license = licenses.mit; - maintainers = with maintainers; [ drewrisinger ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 273eb3f16751..61eedcce492e 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -360,6 +360,7 @@ mapAliases ({ pdfposter = throw "pdfposter was promoted to a top-level attribute"; # Added 2023-06-29 pdfminer = pdfminer-six; # added 2022-05-25 pep257 = pydocstyle; # added 2022-04-12 + pkutils = throw "pkutils was removed as it was unused and is not applicable to modern Python build tools"; # added 2024-07-28 poetry = throw "poetry was promoted to a top-level attribute, use poetry-core to build Python packages"; # added 2023-01-09 poetry2conda = throw "poetry2conda was promoted to a top-level attribute"; # Added 2022-10-02 Polygon3 = polygon3; # Added 2023-08-08 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 69b4d2db6f37..36532146e9b0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10454,8 +10454,6 @@ self: super: with self; { pyzipper = callPackage ../development/python-modules/pyzipper { }; - pkutils = callPackage ../development/python-modules/pkutils { }; - plac = callPackage ../development/python-modules/plac { }; plaid-python = callPackage ../development/python-modules/plaid-python { }; From 5db8f3da5f1fde50eae7080a0593f31ebea69a9a Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 28 Jul 2024 19:29:08 +0100 Subject: [PATCH 101/226] gixy: modernize --- pkgs/tools/admin/gixy/default.nix | 36 +++++++++++++++---------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/pkgs/tools/admin/gixy/default.nix b/pkgs/tools/admin/gixy/default.nix index dadf70e773ce..f998818d68a2 100644 --- a/pkgs/tools/admin/gixy/default.nix +++ b/pkgs/tools/admin/gixy/default.nix @@ -1,4 +1,8 @@ -{ lib, fetchFromGitHub, python311 }: +{ + lib, + fetchFromGitHub, + python311, +}: let python = python311.override { @@ -11,9 +15,7 @@ let rev = "pyparsing_${version}"; sha256 = "14pfy80q2flgzjcx8jkracvnxxnr59kjzp3kdm5nh232gk1v6g6h"; }; - nativeBuildInputs = [ - super.setuptools - ]; + nativeBuildInputs = [ super.setuptools ]; }; }; }; @@ -21,10 +23,7 @@ in python.pkgs.buildPythonApplication rec { pname = "gixy"; version = "0.1.20"; - format = "setuptools"; - - # package is only compatible with python 2.7 and 3.5+ - disabled = with python.pkgs; !(pythonAtLeast "3.5" || isPy27); + pyproject = true; # fetching from GitHub because the PyPi source is missing the tests src = fetchFromGitHub { @@ -34,21 +33,21 @@ python.pkgs.buildPythonApplication rec { sha256 = "14arz3fjidb8z37m08xcpih1391varj8s0v3gri79z3qb4zq5k6b"; }; - postPatch = '' - sed -ie '/argparse/d' setup.py - ''; + build-system = [ python.pkgs.setuptools ]; - propagatedBuildInputs = with python.pkgs; [ + dependencies = with python.pkgs; [ cached-property configargparse pyparsing jinja2 - nose3 - setuptools six ]; - meta = with lib; { + nativeCheckInputs = [ python.pkgs.nose3 ]; + + pythonRemoveDeps = [ "argparse" ]; + + meta = { description = "Nginx configuration static analyzer"; mainProgram = "gixy"; longDescription = '' @@ -56,8 +55,9 @@ python.pkgs.buildPythonApplication rec { The main goal of Gixy is to prevent security misconfiguration and automate flaw detection. ''; homepage = "https://github.com/yandex/gixy"; - license = licenses.mpl20; - maintainers = [ maintainers.willibutz ]; - platforms = platforms.unix; + sourceProvenance = [ lib.sourceTypes.fromSource ]; + license = lib.licenses.mpl20; + maintainers = [ lib.maintainers.willibutz ]; + platforms = lib.platforms.unix; }; } From 6bd2c7576ab97dffc4c0442c24efd7e40618c459 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 28 Jul 2024 19:29:08 +0100 Subject: [PATCH 102/226] gixy: add pytest migration patch --- pkgs/tools/admin/gixy/default.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/admin/gixy/default.nix b/pkgs/tools/admin/gixy/default.nix index f998818d68a2..8d0fe24098f8 100644 --- a/pkgs/tools/admin/gixy/default.nix +++ b/pkgs/tools/admin/gixy/default.nix @@ -1,11 +1,12 @@ { lib, fetchFromGitHub, - python311, + fetchpatch2, + python3, }: let - python = python311.override { + python = python3.override { packageOverrides = self: super: { pyparsing = super.pyparsing.overridePythonAttrs rec { version = "2.4.7"; @@ -33,6 +34,15 @@ python.pkgs.buildPythonApplication rec { sha256 = "14arz3fjidb8z37m08xcpih1391varj8s0v3gri79z3qb4zq5k6b"; }; + patches = [ + # Migrate tests to pytest + # https://github.com/yandex/gixy/pull/146 + (fetchpatch2 { + url = "https://github.com/yandex/gixy/compare/6f68624a7540ee51316651bda656894dc14c9a3e...b1c6899b3733b619c244368f0121a01be028e8c2.patch"; + hash = "sha256-6VUF2eQ2Haat/yk8I5qIXhHdG9zLQgEXJMLfe25OKEo="; + }) + ]; + build-system = [ python.pkgs.setuptools ]; dependencies = with python.pkgs; [ @@ -43,7 +53,7 @@ python.pkgs.buildPythonApplication rec { six ]; - nativeCheckInputs = [ python.pkgs.nose3 ]; + nativeCheckInputs = [ python.pkgs.pytestCheckHook ]; pythonRemoveDeps = [ "argparse" ]; From 5111b7afd7a60d34c0fd475ed286de95e9bf6747 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 28 Jul 2024 22:51:58 +0100 Subject: [PATCH 103/226] =?UTF-8?q?gixy:=20pass=E2=80=90through=20nginx=20?= =?UTF-8?q?tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These exercise Gixy through the NixOS nginx module. --- pkgs/tools/admin/gixy/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/admin/gixy/default.nix b/pkgs/tools/admin/gixy/default.nix index 8d0fe24098f8..157430dcecda 100644 --- a/pkgs/tools/admin/gixy/default.nix +++ b/pkgs/tools/admin/gixy/default.nix @@ -3,6 +3,7 @@ fetchFromGitHub, fetchpatch2, python3, + nginx, }: let @@ -57,6 +58,10 @@ python.pkgs.buildPythonApplication rec { pythonRemoveDeps = [ "argparse" ]; + passthru = { + inherit (nginx.passthru) tests; + }; + meta = { description = "Nginx configuration static analyzer"; mainProgram = "gixy"; From 9b7e7d74161b4ed14bea376c1dc07c0aad0bca15 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 28 Jul 2024 22:32:06 +0100 Subject: [PATCH 104/226] python3Packages.nose3: drop --- .../python-modules/nose3/default.nix | 42 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 44 deletions(-) delete mode 100644 pkgs/development/python-modules/nose3/default.nix diff --git a/pkgs/development/python-modules/nose3/default.nix b/pkgs/development/python-modules/nose3/default.nix deleted file mode 100644 index df0fde3fc4a3..000000000000 --- a/pkgs/development/python-modules/nose3/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ - lib, - buildPythonPackage, - coverage, - fetchPypi, - isPyPy, - isPy311, - python, - pythonAtLeast, - stdenv, -}: - -buildPythonPackage rec { - pname = "nose3"; - version = "1.3.8"; - format = "setuptools"; - - # https://github.com/jayvdb/nose3/issues/5 - disabled = pythonAtLeast "3.12"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-diquIsrbiYsAudT0u7n46H+ODd5sSaiM0MVU9OWSW3Y="; - }; - - propagatedBuildInputs = [ coverage ]; - - # PyPy hangs for unknwon reason - # Darwin and python 3.11 fail at various assertions and I didn't find an easy way to find skip those tests - doCheck = !isPyPy && !stdenv.isDarwin && !isPy311; - - checkPhase = '' - ${python.pythonOnBuildForHost.interpreter} selftest.py - ''; - - meta = with lib; { - description = "Fork of nose v1 not using lib2to3 for compatibility with Python 3"; - homepage = "https://github.com/jayvdb/nose3"; - license = licenses.lgpl3; - maintainers = with maintainers; [ SuperSandro2000 ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 61eedcce492e..385a851fa147 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -327,6 +327,7 @@ mapAliases ({ net2grid = gridnet; # add 2022-04-22 nghttp2 = throw "in 1.52.0 removed deprecated python bindings."; # added 2023-06-08 ninja-python = ninja; # add 2022-08-03 + nose3 = throw "nose3 has been removed since it is unmaintained and does not work with Python 3.12"; # added 2024-07-28 nosejs = throw "nosejs has been removed since it has not been maintained for 15 years and there are no dependent packages"; # added 2024-05-21 nose-cov = throw "nose-cov has been removed, it was archived and unmaintained since 2012"; # added 2024-05-21 nosexcover = throw "nosexcover has been removed since it has not been maintained and there are no dependent packages"; # added 2024-05-21 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 36532146e9b0..99d2b1902bc4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9134,8 +9134,6 @@ self: super: with self; { nose2pytest = callPackage ../development/python-modules/nose2pytest { }; - nose3 = callPackage ../development/python-modules/nose3 { }; - notebook = callPackage ../development/python-modules/notebook { }; notebook-shim = callPackage ../development/python-modules/notebook-shim { }; From 648442d61e85d0e9fcc3f040ea2dfd1b7f59ca0b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 1 Aug 2024 02:27:03 +0000 Subject: [PATCH 105/226] python312Packages.linear-garage-door: 0.2.9 -> 0.2.10 --- .../development/python-modules/linear-garage-door/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/linear-garage-door/default.nix b/pkgs/development/python-modules/linear-garage-door/default.nix index d3a0e21faa00..656f0c40e517 100644 --- a/pkgs/development/python-modules/linear-garage-door/default.nix +++ b/pkgs/development/python-modules/linear-garage-door/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "linear-garage-door"; - version = "0.2.9"; + version = "0.2.10"; pyproject = true; disabled = pythonOlder "3.8"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "IceBotYT"; repo = "linear-garage-door"; rev = "refs/tags/${version}"; - hash = "sha256-hWWJgZnEItYaSxka7zBHPeVlTEiOqRnA2vg6/MvpJGE="; + hash = "sha256-ibOCqy7krIVC7N75SwEyUII3Tknb60nwA+zGbjOENv4="; }; postPatch = '' From a81e2b3e51aca18460412c133ca52028cb1d0551 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 1 Aug 2024 03:43:10 +0000 Subject: [PATCH 106/226] python312Packages.githubkit: 0.11.7 -> 0.11.8 --- pkgs/development/python-modules/githubkit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/githubkit/default.nix b/pkgs/development/python-modules/githubkit/default.nix index b24eeacc4030..5cee6ace0b9b 100644 --- a/pkgs/development/python-modules/githubkit/default.nix +++ b/pkgs/development/python-modules/githubkit/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "githubkit"; - version = "0.11.7"; + version = "0.11.8"; pyproject = true; disabled = pythonOlder "3.8"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "yanyongyu"; repo = "githubkit"; rev = "refs/tags/v${version}"; - hash = "sha256-bh01m/L1ubQGc4EoHw8If/6yF64M5CsifSwVezZjFDQ="; + hash = "sha256-FTNLyCcwDU6EssQDJlwtmA7cQj57fsOaecvbpwswirU="; }; postPatch = '' From 2e429e4d63b4a12ed93a20aec254adfc2a2d54a2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 1 Aug 2024 09:52:07 +0200 Subject: [PATCH 107/226] python312Packages.linear-garage-door: refactor --- .../development/python-modules/linear-garage-door/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/linear-garage-door/default.nix b/pkgs/development/python-modules/linear-garage-door/default.nix index 656f0c40e517..1a8bfb796410 100644 --- a/pkgs/development/python-modules/linear-garage-door/default.nix +++ b/pkgs/development/python-modules/linear-garage-door/default.nix @@ -29,9 +29,9 @@ buildPythonPackage rec { -e "/--no-cov/d" ''; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ aiohttp dnspython tenacity From f056e15e331959384990ac16630f1c7c01c87060 Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Tue, 23 Jul 2024 14:30:42 +0200 Subject: [PATCH 108/226] datalad-gooey: init at unstable-2024-02-20 Signed-off-by: Florian Brandes --- pkgs/by-name/da/datalad-gooey/package.nix | 58 +++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 pkgs/by-name/da/datalad-gooey/package.nix diff --git a/pkgs/by-name/da/datalad-gooey/package.nix b/pkgs/by-name/da/datalad-gooey/package.nix new file mode 100644 index 000000000000..cab391b8dbcf --- /dev/null +++ b/pkgs/by-name/da/datalad-gooey/package.nix @@ -0,0 +1,58 @@ +{ + lib, + datalad, + git, + python3, + fetchFromGitHub, + fetchpatch, + darwin, + stdenv, + git-annex, +}: + +python3.pkgs.buildPythonApplication { + pname = "datalad-gooey"; + # many bug fixes on `master` but no new release + version = "unstable-2024-02-20"; + pyproject = true; + + src = fetchFromGitHub { + owner = "datalad"; + repo = "datalad-gooey"; + rev = "5bd6b9257ff1569439d2a77663271f5d665e61b6"; + hash = "sha256-8779SLcV4wwJ3124lteGzvimDxgijyxa818ZrumPMs4="; + }; + + build-system = with python3.pkgs; [ setuptools ]; + + dependencies = with python3.pkgs; [ + pyside6 + pyqtdarktheme + datalad-next + outdated + datalad + ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.AppleScriptKit ]; + + pythonRemoveDeps = [ "applescript" ]; + + preCheck = '' + export HOME=$TMPDIR + ''; + + nativeCheckInputs = [ + python3.pkgs.pytestCheckHook + python3.pkgs.pytest-qt + git + git-annex + ]; + + pythonImportsCheck = [ "datalad_gooey" ]; + + meta = { + description = "Graphical user interface (GUI) for DataLad"; + homepage = "https://github.com/datalad/datalad-gooey"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ gador ]; + mainProgram = "datalad-gooey"; + }; +} From 2f83bdcfa798091a6f0fe0259530caba5f4887e7 Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Tue, 30 Jul 2024 08:26:30 +0200 Subject: [PATCH 109/226] datalad: move to python-modules This move is necessarry to next introduce python311 compat Signed-off-by: Florian Brandes --- pkgs/by-name/da/datalad-gooey/package.nix | 1 - .../python-modules}/datalad/default.nix | 59 +++++++++++++++---- pkgs/top-level/all-packages.nix | 2 +- pkgs/top-level/python-packages.nix | 2 + 4 files changed, 52 insertions(+), 12 deletions(-) rename pkgs/{applications/version-management => development/python-modules}/datalad/default.nix (84%) diff --git a/pkgs/by-name/da/datalad-gooey/package.nix b/pkgs/by-name/da/datalad-gooey/package.nix index cab391b8dbcf..c24bd27c87d7 100644 --- a/pkgs/by-name/da/datalad-gooey/package.nix +++ b/pkgs/by-name/da/datalad-gooey/package.nix @@ -1,6 +1,5 @@ { lib, - datalad, git, python3, fetchFromGitHub, diff --git a/pkgs/applications/version-management/datalad/default.nix b/pkgs/development/python-modules/datalad/default.nix similarity index 84% rename from pkgs/applications/version-management/datalad/default.nix rename to pkgs/development/python-modules/datalad/default.nix index f9c3ac400d72..71e1fbefb82c 100644 --- a/pkgs/applications/version-management/datalad/default.nix +++ b/pkgs/development/python-modules/datalad/default.nix @@ -1,17 +1,55 @@ { + buildPythonPackage, lib, + setuptools, stdenv, fetchFromGitHub, installShellFiles, - python3, git, + coreutils, + # core + platformdirs, + chardet, + iso8601, + humanize, + fasteners, + packaging, + patool, + tqdm, + annexremote, + looseversion, git-annex, + # downloaders + boto3, + keyrings-alt, + keyring, + msgpack, + requests, + # publish + python-gitlab, + # misc + argcomplete, + pyperclip, + python-dateutil, + # duecredit + duecredit, + # python>=3.8 + distro, + # win + colorama, + # python-version-dependent + pythonOlder, + importlib-resources, + importlib-metadata, + typing-extensions, + # tests + pytestCheckHook, p7zip, curl, - coreutils, + httpretty, }: -python3.pkgs.buildPythonApplication rec { +buildPythonPackage rec { pname = "datalad"; version = "1.1.1"; @@ -32,10 +70,9 @@ python3.pkgs.buildPythonApplication rec { git ]; - build-system = [ python3.pkgs.setuptools ]; + build-system = [ setuptools ]; dependencies = - with python3.pkgs; [ # core platformdirs @@ -68,15 +105,17 @@ python3.pkgs.buildPythonApplication rec { argcomplete pyperclip python-dateutil + # duecredit duecredit + # python>=3.8 distro ] ++ lib.optionals stdenv.hostPlatform.isWindows [ colorama ] - ++ lib.optionals (python3.pythonOlder "3.9") [ importlib-resources ] - ++ lib.optionals (python3.pythonOlder "3.10") [ importlib-metadata ] - ++ lib.optionals (python3.pythonOlder "3.11") [ typing_extensions ]; + ++ lib.optionals (pythonOlder "3.9") [ importlib-resources ] + ++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ] + ++ lib.optionals (pythonOlder "3.11") [ typing-extensions ]; postInstall = '' installShellCompletion --cmd datalad \ @@ -180,10 +219,10 @@ python3.pkgs.buildPythonApplication rec { nativeCheckInputs = [ p7zip - python3.pkgs.pytestCheckHook + pytestCheckHook git-annex curl - python3.pkgs.httpretty + httpretty ]; pythonImportsCheck = [ "datalad" ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ed2d671e0b6e..3ef5eb8a70bc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2183,7 +2183,7 @@ with pkgs; conform = callPackage ../applications/version-management/conform { }; - datalad = callPackage ../applications/version-management/datalad { }; + datalad = with python3Packages; toPythonApplication datalad; darcs-to-git = callPackage ../applications/version-management/darcs-to-git { }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2a7d840a6097..b92cb57f4c6e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2835,6 +2835,8 @@ self: super: with self; { inherit (pkgs.darwin.apple_sdk.frameworks) Security SystemConfiguration; }; + datalad = callPackage ../development/python-modules/datalad { }; + datalad-next = callPackage ../development/python-modules/datalad-next { }; datamodeldict = callPackage ../development/python-modules/datamodeldict { }; From db44236e1dc92f67cda22c0f0eec4b25417b7003 Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Wed, 31 Jul 2024 18:38:35 +0200 Subject: [PATCH 110/226] datalad: Python3.11 compat remove vendored versioneer and replace with nixpkgs version Signed-off-by: Florian Brandes --- pkgs/development/python-modules/datalad/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/datalad/default.nix b/pkgs/development/python-modules/datalad/default.nix index 71e1fbefb82c..8d6d7b4ce3b1 100644 --- a/pkgs/development/python-modules/datalad/default.nix +++ b/pkgs/development/python-modules/datalad/default.nix @@ -7,6 +7,7 @@ installShellFiles, git, coreutils, + versioneer, # core platformdirs, chardet, @@ -63,6 +64,8 @@ buildPythonPackage rec { postPatch = '' substituteInPlace datalad/distribution/create_sibling.py \ --replace-fail "/bin/ls" "${coreutils}/bin/ls" + # Remove vendorized versioneer.py + rm versioneer.py ''; nativeBuildInputs = [ @@ -70,7 +73,10 @@ buildPythonPackage rec { git ]; - build-system = [ setuptools ]; + build-system = [ + setuptools + versioneer + ]; dependencies = [ From 5daabc568f91cc4a569f40181a95151ea19a654e Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Wed, 31 Jul 2024 18:39:17 +0200 Subject: [PATCH 111/226] datalad-gooey: move to Python packages datalad-gooey expoes a module system. Therefore we move it to python-modules. Signed-off-by: Florian Brandes --- .../python-modules/datalad-gooey/default.nix} | 21 ++++++++++++------- pkgs/top-level/all-packages.nix | 2 ++ pkgs/top-level/python-packages.nix | 2 ++ 3 files changed, 18 insertions(+), 7 deletions(-) rename pkgs/{by-name/da/datalad-gooey/package.nix => development/python-modules/datalad-gooey/default.nix} (80%) diff --git a/pkgs/by-name/da/datalad-gooey/package.nix b/pkgs/development/python-modules/datalad-gooey/default.nix similarity index 80% rename from pkgs/by-name/da/datalad-gooey/package.nix rename to pkgs/development/python-modules/datalad-gooey/default.nix index c24bd27c87d7..a84e6c7a2be7 100644 --- a/pkgs/by-name/da/datalad-gooey/package.nix +++ b/pkgs/development/python-modules/datalad-gooey/default.nix @@ -1,15 +1,22 @@ { + buildPythonPackage, lib, git, - python3, fetchFromGitHub, - fetchpatch, darwin, + setuptools, stdenv, git-annex, + pyside6, + pyqtdarktheme, + datalad-next, + outdated, + datalad, + pytestCheckHook, + pytest-qt, }: -python3.pkgs.buildPythonApplication { +buildPythonPackage { pname = "datalad-gooey"; # many bug fixes on `master` but no new release version = "unstable-2024-02-20"; @@ -22,9 +29,9 @@ python3.pkgs.buildPythonApplication { hash = "sha256-8779SLcV4wwJ3124lteGzvimDxgijyxa818ZrumPMs4="; }; - build-system = with python3.pkgs; [ setuptools ]; + build-system = [ setuptools ]; - dependencies = with python3.pkgs; [ + dependencies = [ pyside6 pyqtdarktheme datalad-next @@ -39,8 +46,8 @@ python3.pkgs.buildPythonApplication { ''; nativeCheckInputs = [ - python3.pkgs.pytestCheckHook - python3.pkgs.pytest-qt + pytestCheckHook + pytest-qt git git-annex ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3ef5eb8a70bc..96ff9ea24f4d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2185,6 +2185,8 @@ with pkgs; datalad = with python3Packages; toPythonApplication datalad; + datalad-gooey = with python3Packages; toPythonApplication datalad-gooey; + darcs-to-git = callPackage ../applications/version-management/darcs-to-git { }; degit = callPackage ../applications/version-management/degit { }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b92cb57f4c6e..57d4f38b4c67 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2837,6 +2837,8 @@ self: super: with self; { datalad = callPackage ../development/python-modules/datalad { }; + datalad-gooey = callPackage ../development/python-modules/datalad-gooey { }; + datalad-next = callPackage ../development/python-modules/datalad-next { }; datamodeldict = callPackage ../development/python-modules/datamodeldict { }; From e89304a6e803e0dfb4165fc59815732228603629 Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Wed, 31 Jul 2024 18:20:08 +0200 Subject: [PATCH 112/226] python312Packages.datalad-next: remove vendored versioneer Signed-off-by: Florian Brandes --- .../python-modules/datalad-next/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/datalad-next/default.nix b/pkgs/development/python-modules/datalad-next/default.nix index 23192114502f..19b651db3ac6 100644 --- a/pkgs/development/python-modules/datalad-next/default.nix +++ b/pkgs/development/python-modules/datalad-next/default.nix @@ -14,6 +14,7 @@ setuptools, openssh, unzip, + versioneer, webdavclient3, }: @@ -29,9 +30,17 @@ buildPythonPackage rec { hash = "sha256-fqP6nG2ncDRg48kvlsmPjNBOzfQp9+7wTcGvsYVrRzA="; }; + postPatch = '' + # Remove vendorized versioneer.py + rm versioneer.py + ''; + nativeBuildInputs = [ git ]; - build-system = [ setuptools ]; + build-system = [ + setuptools + versioneer + ]; dependencies = [ annexremote From 53312369ef9cb57245c5a4c4bdce0f55742b4fc5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 1 Aug 2024 10:09:20 +0000 Subject: [PATCH 113/226] hadolint-sarif: 0.5.0 -> 0.6.0 --- pkgs/by-name/ha/hadolint-sarif/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ha/hadolint-sarif/package.nix b/pkgs/by-name/ha/hadolint-sarif/package.nix index 870d3d833acc..99ba67b0c936 100644 --- a/pkgs/by-name/ha/hadolint-sarif/package.nix +++ b/pkgs/by-name/ha/hadolint-sarif/package.nix @@ -7,14 +7,14 @@ }: rustPlatform.buildRustPackage rec { pname = "hadolint-sarif"; - version = "0.5.0"; + version = "0.6.0"; src = fetchCrate { inherit pname version; - hash = "sha256-Zh3y31Q+ue1TqncZpdX+fAp2yfEnv8W8jkzUW7UvrKg="; + hash = "sha256-7i3fhXZJ82+a4kbMPMxW8dV42qxQfQggwkm8FA1TUkw="; }; - cargoHash = "sha256-bwEQ9lZXvZL6JN24N8gRdbV5gcFiH1fQ59PQILfW1z8="; + cargoHash = "sha256-DXCdxpvWaOn/g7kuqgmtGkd94NVnjPI9VkDCuPg7wCw="; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; From 14d701db54781bb2aa8101f366b4621c9f0f75d9 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 1 Aug 2024 10:32:48 +0000 Subject: [PATCH 114/226] clippy-sarif: 0.5.0 -> 0.6.0 --- pkgs/by-name/cl/clippy-sarif/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/cl/clippy-sarif/package.nix b/pkgs/by-name/cl/clippy-sarif/package.nix index 6b4a1aa1afdd..c2ba0cfd45a8 100644 --- a/pkgs/by-name/cl/clippy-sarif/package.nix +++ b/pkgs/by-name/cl/clippy-sarif/package.nix @@ -8,14 +8,14 @@ }: rustPlatform.buildRustPackage rec { pname = "clippy-sarif"; - version = "0.5.0"; + version = "0.6.0"; src = fetchCrate { inherit pname version; - hash = "sha256-ylfL4N1BtbB1R7+Glwtgn5E6/v3wQ6oXWdmeyKNHdOw="; + hash = "sha256-VFwLys5lVVQw3dmfY1nrI+Bi0tm7kjD2/1c1DLczLwk="; }; - cargoHash = "sha256-O0bLgj7rWwbEswVMfexsBGgJyObxseOohYht21Y6HpU="; + cargoHash = "sha256-zktbOyBa200YSZBuLs3xU95bh9kvj5XZQKb7tpiTs1I="; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; From 1ad15c918a99581f285f447956fa6e099ea0a889 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 1 Aug 2024 03:48:51 -0700 Subject: [PATCH 115/226] Revert "nextcloud{28,29}Packages: improve generation script" This reverts commit 0fde477b80d0686d821d728fe43a4a1b68d0438d. --- pkgs/servers/nextcloud/packages/generate.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/nextcloud/packages/generate.sh b/pkgs/servers/nextcloud/packages/generate.sh index 3ae55d829bc4..e2e6093652fe 100755 --- a/pkgs/servers/nextcloud/packages/generate.sh +++ b/pkgs/servers/nextcloud/packages/generate.sh @@ -1,13 +1,11 @@ #!/usr/bin/env nix-shell -#! nix-shell -i bash -p jq gnused curl +#! nix-shell -I nixpkgs=../../../.. -i bash -p jq gnused curl set -e set -u set -o pipefail set -x -cd $(dirname -- "${BASH_SOURCE[0]}") - export NEXTCLOUD_VERSIONS=$(nix-instantiate --eval -E 'import ./nc-versions.nix {}' -A e) APPS=$(jq -r 'keys|.[]' nextcloud-apps.json | sed -z 's/\n/,/g;s/,$/\n/') @@ -32,7 +30,7 @@ for v in ${NEXTCLOUD_VERSIONS//,/ }; do # Get all of our variables VERSION=$(jq -r ".[] | select(.id == \"${a}\") | .releases[0].version" "$APPS_PER_VERSION") URL=$(jq -r ".[] | select(.id == \"${a}\") | .releases[0].download" "$APPS_PER_VERSION") - HASH=$(nix --extra-experimental-features nix-command store prefetch-file --json --hash-type sha256 --unpack "$URL" | jq -r .hash) + HASH=$(nix store prefetch-file --json --hash-type sha256 --unpack "$URL" | jq -r .hash) HOMEPAGE=$(jq -r ".[] | select(.id == \"${a}\") | .website" "$APPS_PER_VERSION") DESCRIPTION=$(jq ".[] | select(.id == \"${a}\") | .translations.en.description" "$APPS_PER_VERSION") # Add all variables to the file From b8a80e15e5a952b85322ab742d9dc823e9c800b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 1 Aug 2024 03:49:12 -0700 Subject: [PATCH 116/226] Revert "nextcloudPackages: Revamp package generation script" This reverts commit 4349a61a715bb29e0c326076f3666a8c419130ec. --- pkgs/servers/nextcloud/packages/default.nix | 2 +- pkgs/servers/nextcloud/packages/generate.sh | 56 ++------------------- 2 files changed, 5 insertions(+), 53 deletions(-) diff --git a/pkgs/servers/nextcloud/packages/default.nix b/pkgs/servers/nextcloud/packages/default.nix index 8af2e2f5833b..9c12619968af 100644 --- a/pkgs/servers/nextcloud/packages/default.nix +++ b/pkgs/servers/nextcloud/packages/default.nix @@ -19,7 +19,7 @@ let packages = self: appName = pname; appVersion = data.version; license = appBaseDefs.${pname}; - inherit (data) url hash description homepage; + inherit (data) url sha256 description homepage; }) {}; } // lib.mapAttrs (type: pkgs: diff --git a/pkgs/servers/nextcloud/packages/generate.sh b/pkgs/servers/nextcloud/packages/generate.sh index e2e6093652fe..b97673a54eee 100755 --- a/pkgs/servers/nextcloud/packages/generate.sh +++ b/pkgs/servers/nextcloud/packages/generate.sh @@ -1,5 +1,5 @@ #!/usr/bin/env nix-shell -#! nix-shell -I nixpkgs=../../../.. -i bash -p jq gnused curl +#! nix-shell -I nixpkgs=../../../.. -i bash -p nc4nix jq set -e set -u @@ -8,55 +8,7 @@ set -x export NEXTCLOUD_VERSIONS=$(nix-instantiate --eval -E 'import ./nc-versions.nix {}' -A e) -APPS=$(jq -r 'keys|.[]' nextcloud-apps.json | sed -z 's/\n/,/g;s/,$/\n/') +APPS=`cat nextcloud-apps.json | jq -r 'keys|.[]' | sed -z 's/\n/,/g;s/,$/\n/'` -for v in ${NEXTCLOUD_VERSIONS//,/ }; do - # Get major version and back up previous major version apps file - v=$(sed -e 's/^"//' -e 's/"$//' <<<"$v") - MAJOR=${v%.*.*} - MAJOR_FILE="$MAJOR".json - mv "$MAJOR_FILE" "$MAJOR_FILE".bak - - # Download current apps file from Nextcloud's official servers - APPS_PER_VERSION=${v}.json - curl "https://apps.nextcloud.com/api/v1/platform/${v}/apps.json" -o "$APPS_PER_VERSION" - - # Add a starting bracket to the apps file for this version - echo '{' >"$MAJOR_FILE".tmp - for a in ${APPS//,/ }; do - echo "Fetching $a" - # Ensure the app exists in the file - if [ "$(jq -r ".[] | select(.id == \"${a}\")" "$APPS_PER_VERSION")" != "" ]; then - # Get all of our variables - VERSION=$(jq -r ".[] | select(.id == \"${a}\") | .releases[0].version" "$APPS_PER_VERSION") - URL=$(jq -r ".[] | select(.id == \"${a}\") | .releases[0].download" "$APPS_PER_VERSION") - HASH=$(nix store prefetch-file --json --hash-type sha256 --unpack "$URL" | jq -r .hash) - HOMEPAGE=$(jq -r ".[] | select(.id == \"${a}\") | .website" "$APPS_PER_VERSION") - DESCRIPTION=$(jq ".[] | select(.id == \"${a}\") | .translations.en.description" "$APPS_PER_VERSION") - # Add all variables to the file - cat >>"$MAJOR_FILE".tmp <>"$MAJOR_FILE".tmp - # Beautify file - jq '.' "$MAJOR_FILE".tmp >"$MAJOR_FILE" - # Remove the temporary files - rm "$APPS_PER_VERSION" - rm "$MAJOR_FILE".tmp - rm "$MAJOR_FILE".bak -done +nc4nix -apps $APPS +rm *.log From 73eb537d17631266173c86d40af040c325c79498 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 1 Aug 2024 03:53:43 -0700 Subject: [PATCH 117/226] nc4nix: 0-unstable-2024-03-01 -> 0-unstable-2024-08-01 Nc4nix now generates SRI hashes instead of sha256 hashes. It also no longer unpacks the tarballs before hashing. Co-authored-by: Pyrox --- pkgs/by-name/nc/nc4nix/package.nix | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/nc/nc4nix/package.nix b/pkgs/by-name/nc/nc4nix/package.nix index 4269d235ea26..cba2af827d1d 100644 --- a/pkgs/by-name/nc/nc4nix/package.nix +++ b/pkgs/by-name/nc/nc4nix/package.nix @@ -1,28 +1,31 @@ -{ lib -, buildGoModule -, fetchFromGitHub +{ + lib, + buildGoModule, + fetchFromGitHub, + unstableGitUpdater, }: buildGoModule { pname = "nc4nix"; - version = "0-unstable-2024-03-01"; + version = "0-unstable-2024-08-01"; src = fetchFromGitHub { owner = "helsinki-systems"; repo = "nc4nix"; - rev = "ba37674c0dddf93e0a011dace92ec7f0ec834765"; - hash = "sha256-k12eeP2gojLCsJH1GGuiTmxz3ViPc0+oFBuptyh42Bw="; + rev = "827bb7244a3529e71c9474fe1f74aed51a4b08d5"; + hash = "sha256-ToT+VvdXiUMmy0dNJAeyMlzMx87QhZPIwzxPXm2fR7s="; }; - vendorHash = "sha256-ZXl4kMDY9ADkHUcLsl3uNpyErMzbgS+J65+uUeIXpSE="; + vendorHash = "sha256-qntRsv3KvAbV3lENjAHKkQOqh3uTo3gacfwase489tQ="; - meta = with lib; { + passthru.updateScript = unstableGitUpdater { }; + + meta = { description = "Packaging helper for Nextcloud apps"; mainProgram = "nc4nix"; homepage = "https://github.com/helsinki-systems/nc4nix"; - license = licenses.mit; - maintainers = with maintainers; [ onny ]; - platforms = platforms.linux; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ onny ]; + platforms = lib.platforms.linux; }; } - From 273ed6d57aad64c382b1edaab76ad78561bb3129 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Thu, 1 Aug 2024 11:04:44 +0000 Subject: [PATCH 118/226] txtpbfmt: move to by-name --- .../txtpbfmt/default.nix => by-name/tx/txtpbfmt/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 2 deletions(-) rename pkgs/{development/tools/txtpbfmt/default.nix => by-name/tx/txtpbfmt/package.nix} (100%) diff --git a/pkgs/development/tools/txtpbfmt/default.nix b/pkgs/by-name/tx/txtpbfmt/package.nix similarity index 100% rename from pkgs/development/tools/txtpbfmt/default.nix rename to pkgs/by-name/tx/txtpbfmt/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bff116702190..4ab34abe7e58 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13600,8 +13600,6 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) Security; }; - txtpbfmt = callPackage ../development/tools/txtpbfmt { }; - ipbt = callPackage ../tools/misc/ipbt { }; tuckr = callPackage ../applications/misc/tuckr { }; From 2c1d58e90c06d14674c59f7813023b4b71494b32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 1 Aug 2024 04:00:23 -0700 Subject: [PATCH 119/226] nextcloudPackages: update We no longer use fetchzip because nc4nix no longer unpacks the tarball before computing the hash. --- .../fetchnextcloudapp/default.nix | 19 +- pkgs/servers/nextcloud/packages/28.json | 288 ++++++++++++------ pkgs/servers/nextcloud/packages/29.json | 288 ++++++++++++------ pkgs/servers/nextcloud/packages/default.nix | 3 +- 4 files changed, 391 insertions(+), 207 deletions(-) diff --git a/pkgs/build-support/fetchnextcloudapp/default.nix b/pkgs/build-support/fetchnextcloudapp/default.nix index 059003df903d..9d12919eaac3 100644 --- a/pkgs/build-support/fetchnextcloudapp/default.nix +++ b/pkgs/build-support/fetchnextcloudapp/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchzip, applyPatches, lib, ... }: +{ fetchurl, fetchzip, applyPatches, lib, ... }: { url , hash ? "" , sha256 ? "" @@ -8,19 +8,12 @@ , patches ? [ ] , description ? null , homepage ? null +, unpack ? true # whether to use fetchzip rather than fetchurl }: applyPatches ({ inherit patches; - src = fetchzip { + src = (if unpack then fetchzip else fetchurl) { inherit url hash sha256; - postFetch = '' - pushd $out &>/dev/null - if [ ! -f ./appinfo/info.xml ]; then - echo "appinfo/info.xml doesn't exist in $out, aborting!" - exit 1 - fi - popd &>/dev/null - ''; meta = { license = lib.licenses.${license}; longDescription = description; @@ -31,6 +24,12 @@ applyPatches ({ inherit homepage; }; }; + prePatch = '' + if [ ! -f ./appinfo/info.xml ]; then + echo "appinfo/info.xml doesn't exist in $out, aborting!" + exit 1 + fi + ''; } // lib.optionalAttrs (appName != null && appVersion != null) { name = "nextcloud-app-${appName}-${appVersion}"; }) diff --git a/pkgs/servers/nextcloud/packages/28.json b/pkgs/servers/nextcloud/packages/28.json index 9d7e2c7f0661..8d9c791ebce7 100644 --- a/pkgs/servers/nextcloud/packages/28.json +++ b/pkgs/servers/nextcloud/packages/28.json @@ -1,240 +1,332 @@ { "bookmarks": { - "hash": "sha256-wUeXcbxNCRA2brzdCHKwl0zbhmDucKv1ZCkF3KlQ8O4=", + "hash": "sha256-hqmX64arwllviwG7ySvdwA8IYzWoLjP2MyhT389UZXw=", "url": "https://github.com/nextcloud/bookmarks/releases/download/v14.2.2/bookmarks-14.2.2.tar.gz", "version": "14.2.2", "description": "- 📂 Sort bookmarks into folders\n- 🏷 Add tags and personal notes\n- ☠ Find broken links and duplicates\n- 📲 Synchronize with all your browsers and devices\n- 📔 Store archived versions of your links in case they are depublished\n- 🔍 Full-text search on site contents\n- 👪 Share bookmarks with other users and via public links\n- ⚛ Generate RSS feeds of your collections\n- 📈 Stats on how often you access which links\n- 🔒 Automatic backups of your bookmarks collection\n- 💼 Built-in Dashboard widgets for frequent and recent links\n\nRequirements:\n - PHP extensions:\n - intl: *\n - mbstring: *\n - when using MySQL, use at least v8.0", - "homepage": "https://github.com/nextcloud/bookmarks" + "homepage": "https://github.com/nextcloud/bookmarks", + "licenses": [ + "agpl" + ] }, "calendar": { - "hash": "sha256-ZJJmL7BgXNOZKWxG1lhruDmsLOmUQOTO0KlcS8liYfs=", - "url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.7.9/calendar-v4.7.9.tar.gz", - "version": "4.7.9", + "hash": "sha256-BcAlsrM9AExRau8ub6+V5ctSWTDmzWHekbNlTf+AZxc=", + "url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.7.13/calendar-v4.7.13.tar.gz", + "version": "4.7.13", "description": "The Calendar app is a user interface for Nextcloud's CalDAV server. Easily sync events from various devices with your Nextcloud and edit them online.\n\n* 🚀 **Integration with other Nextcloud apps!** Currently Contacts - more to come.\n* 🌐 **WebCal Support!** Want to see your favorite team’s matchdays in your calendar? No problem!\n* 🙋 **Attendees!** Invite people to your events\n* ⌚️ **Free/Busy!** See when your attendees are available to meet\n* ⏰ **Reminders!** Get alarms for events inside your browser and via email\n* 🔍 Search! Find your events at ease\n* ☑️ Tasks! See tasks with a due date directly in the calendar\n* 🙈 **We’re not reinventing the wheel!** Based on the great [c-dav library](https://github.com/nextcloud/cdav-library), [ical.js](https://github.com/mozilla-comm/ical.js) and [fullcalendar](https://github.com/fullcalendar/fullcalendar) libraries.", - "homepage": "https://github.com/nextcloud/calendar/" + "homepage": "https://github.com/nextcloud/calendar/", + "licenses": [ + "agpl" + ] }, "contacts": { - "hash": "sha256-HCEjiAqn6sTNXKW6O5X6Ta9Ll4ehvzmGZUj1c0ue2Xc=", + "hash": "sha256-zxmgMiizzXGfReRS9XJ+fb6tJRLH/Z5NvuLpspYARFI=", "url": "https://github.com/nextcloud-releases/contacts/releases/download/v5.5.3/contacts-v5.5.3.tar.gz", "version": "5.5.3", "description": "The Nextcloud contacts app is a user interface for Nextcloud's CardDAV server. Easily sync contacts from various devices with your Nextcloud and edit them online.\n\n* 🚀 **Integration with other Nextcloud apps!** Currently Mail and Calendar – more to come.\n* 🎉 **Never forget a birthday!** You can sync birthdays and other recurring events with your Nextcloud Calendar.\n* 👥 **Sharing of Adressbooks!** You want to share your contacts with your friends or coworkers? No problem!\n* 🙈 **We’re not reinventing the wheel!** Based on the great and open SabreDAV library.", - "homepage": "https://github.com/nextcloud/contacts#readme" + "homepage": "https://github.com/nextcloud/contacts#readme", + "licenses": [ + "agpl" + ] }, "cookbook": { - "hash": "sha256-qHYOGHRnPTgT5/FZWWIwBNuwxrkpk96i0cKpCLe48Y0=", - "url": "https://github.com/christianlupus-nextcloud/cookbook-releases/releases/download/v0.11.1-rc1/cookbook-0.11.1-rc1.tar.gz", - "version": "0.11.1-rc1", + "hash": "sha256-QRzXNoqOeEYYp0ctmsNisbQL5PWFOeqEVkcFeCduQtY=", + "url": "https://github.com/christianlupus-nextcloud/cookbook-releases/releases/download/v0.11.1/cookbook-0.11.1.tar.gz", + "version": "0.11.1", "description": "A library for all your recipes. It uses JSON files following the schema.org recipe format. To add a recipe to the collection, you can paste in the URL of the recipe, and the provided web page will be parsed and downloaded to whichever folder you specify in the app settings.", - "homepage": "https://github.com/nextcloud/cookbook/" + "homepage": "https://github.com/nextcloud/cookbook/", + "licenses": [ + "agpl" + ] }, "cospend": { - "hash": "sha256-QHIxS5uubutiD9Abm/Bzv1RWG7TgL/tvixVdNEzTlxE=", + "hash": "sha256-J6w+ZqFNZbJeaPuZOZ4OQ+O+VhIQ0XajqYZuHqvjL24=", "url": "https://github.com/julien-nc/cospend-nc/releases/download/v1.6.1/cospend-1.6.1.tar.gz", "version": "1.6.1", "description": "# Nextcloud Cospend 💰\n\nNextcloud Cospend is a group/shared budget manager. It was inspired by the great [IHateMoney](https://github.com/spiral-project/ihatemoney/).\n\nYou can use it when you share a house, when you go on vacation with friends, whenever you share expenses with a group of people.\n\nIt lets you create projects with members and bills. Each member has a balance computed from the project bills. Balances are not an absolute amount of money at members disposal but rather a relative information showing if a member has spent more for the group than the group has spent for her/him, independently of exactly who spent money for whom. This way you can see who owes the group and who the group owes. Ultimately you can ask for a settlement plan telling you which payments to make to reset members balances.\n\nProject members are independent from Nextcloud users. Projects can be shared with other Nextcloud users or via public links.\n\n[MoneyBuster](https://gitlab.com/eneiluj/moneybuster) Android client is [available in F-Droid](https://f-droid.org/packages/net.eneiluj.moneybuster/) and on the [Play store](https://play.google.com/store/apps/details?id=net.eneiluj.moneybuster).\n\n[PayForMe](https://github.com/mayflower/PayForMe) iOS client is currently under developpement!\n\nThe private and public APIs are documented using [the Nextcloud OpenAPI extractor](https://github.com/nextcloud/openapi-extractor/). This documentation can be accessed directly in Nextcloud. All you need is to install Cospend (>= v1.6.0) and use the [the OCS API Viewer app](https://apps.nextcloud.com/apps/ocs_api_viewer) to browse the OpenAPI documentation.\n\n## Features\n\n* ✎ Create/edit/delete projects, members, bills, bill categories, currencies\n* ⚖ Check member balances\n* 🗠 Display project statistics\n* ♻ Display settlement plan\n* Move bills from one project to another\n* Move bills to trash before actually deleting them\n* Archive old projects before deleting them\n* 🎇 Automatically create reimbursement bills from settlement plan\n* 🗓 Create recurring bills (day/week/month/year)\n* 📊 Optionally provide custom amount for each member in new bills\n* 🔗 Link personal files to bills (picture of physical receipt for example)\n* 👩 Public links for people outside Nextcloud (can be password protected)\n* 👫 Share projects with Nextcloud users/groups/circles\n* 🖫 Import/export projects as csv (compatible with csv files from IHateMoney and SplitWise)\n* 🔗 Generate link/QRCode to easily add projects in MoneyBuster\n* 🗲 Implement Nextcloud notifications and activity stream\n\nThis app usually support the 2 or 3 last major versions of Nextcloud.\n\nThis app is under development.\n\n🌍 Help us to translate this app on [Nextcloud-Cospend/MoneyBuster Crowdin project](https://crowdin.com/project/moneybuster).\n\n⚒ Check out other ways to help in the [contribution guidelines](https://github.com/julien-nc/cospend-nc/blob/master/CONTRIBUTING.md).\n\n## Documentation\n\n* [User documentation](https://github.com/julien-nc/cospend-nc/blob/master/docs/user.md)\n* [Admin documentation](https://github.com/julien-nc/cospend-nc/blob/master/docs/admin.md)\n* [Developer documentation](https://github.com/julien-nc/cospend-nc/blob/master/docs/dev.md)\n* [CHANGELOG](https://github.com/julien-nc/cospend-nc/blob/master/CHANGELOG.md#change-log)\n* [AUTHORS](https://github.com/julien-nc/cospend-nc/blob/master/AUTHORS.md#authors)\n\n## Known issues\n\n* It does not make you rich\n\nAny feedback will be appreciated.\n\n\n\n## Donation\n\nI develop this app during my free time.\n\n* [Donate with Paypal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66PALMY8SF5JE) (you don't need a paypal account)\n* [Donate with Liberapay : ![Donate using Liberapay](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/eneiluj/donate)", - "homepage": "https://github.com/julien-nc/cospend-nc" + "homepage": "https://github.com/julien-nc/cospend-nc", + "licenses": [ + "agpl" + ] }, "deck": { - "hash": "sha256-VqO2pouipo2rGptiJRuj8ia3wSnHJ1hIeJ9xGE5QI5A=", + "hash": "sha256-wr7uy5vfrfwxK3uytttJyWy8lvCDqfQjvFVGVD7mtco=", "url": "https://github.com/nextcloud-releases/deck/releases/download/v1.12.4/deck-v1.12.4.tar.gz", "version": "1.12.4", "description": "Deck is a kanban style organization tool aimed at personal planning and project organization for teams integrated with Nextcloud.\n\n\n- 📥 Add your tasks to cards and put them in order\n- 📄 Write down additional notes in Markdown\n- 🔖 Assign labels for even better organization\n- 👥 Share with your team, friends or family\n- 📎 Attach files and embed them in your Markdown description\n- 💬 Discuss with your team using comments\n- ⚡ Keep track of changes in the activity stream\n- 🚀 Get your project organized", - "homepage": "https://github.com/nextcloud/deck" + "homepage": "https://github.com/nextcloud/deck", + "licenses": [ + "agpl" + ] }, "end_to_end_encryption": { - "hash": "sha256-rKYGlzPRXcFLRCrekbcZM/fqiOo65MKD02TdZ5KEYhE=", + "hash": "sha256-+4RlbVoCnncygsPWdLCWgKZXXaC10risgd4b8uMRJO0=", "url": "https://github.com/nextcloud-releases/end_to_end_encryption/releases/download/v1.14.5/end_to_end_encryption-v1.14.5.tar.gz", "version": "1.14.5", "description": "Provides the necessary endpoint to enable end-to-end encryption.\n\n**Notice:** E2EE is currently not compatible to be used together with server-side encryption", - "homepage": "https://github.com/nextcloud/end_to_end_encryption" + "homepage": "https://github.com/nextcloud/end_to_end_encryption", + "licenses": [ + "agpl" + ] }, "forms": { - "hash": "sha256-3ram5LduRgMmUWDRp65cvS9Dbhx7UnR7OllbEVQ+jMM=", + "hash": "sha256-OqqorHVWCDicQKnTxEJjeXzDrsj98vWvtWYyaRmDsUs=", "url": "https://github.com/nextcloud-releases/forms/releases/download/v4.2.4/forms-v4.2.4.tar.gz", "version": "4.2.4", "description": "**Simple surveys and questionnaires, self-hosted!**\n\n- **📝 Simple design:** No mass of options, only the essentials. Works well on mobile of course.\n- **📊 View & export results:** Results are visualized and can also be exported as CSV in the same format used by Google Forms.\n- **🔒 Data under your control!** Unlike in Google Forms, Typeform, Doodle and others, the survey info and responses are kept private on your instance.\n- **🧑‍💻 Connect to your software:** Easily integrate Forms into your service with our full-fledged [REST-API](https://github.com/nextcloud/forms/blob/main/docs/API.md).\n- **🙋 Get involved!** We have lots of stuff planned like more question types, collaboration on forms, [and much more](https://github.com/nextcloud/forms/milestones)!", - "homepage": "https://github.com/nextcloud/forms" + "homepage": "https://github.com/nextcloud/forms", + "licenses": [ + "agpl" + ] }, "gpoddersync": { - "hash": "sha256-wLiM8kv+HinOoAebarQ9MwuxqUpVeF0zS2RVYpAoYMI=", + "hash": "sha256-e4RtBCPtk8jIK+p4tGfukLmC8ikhAD7GiRSmmkWciZQ=", "url": "https://github.com/thrillfall/nextcloud-gpodder/releases/download/3.9.0/gpoddersync.tar.gz", "version": "3.9.0", "description": "Expose GPodder API to sync podcast consumer apps like AntennaPod", - "homepage": "https://github.com/thrillfall/nextcloud-gpodder" + "homepage": "https://github.com/thrillfall/nextcloud-gpodder", + "licenses": [ + "agpl" + ] }, "groupfolders": { - "hash": "sha256-gaOCIqpNqFiWNcv52+mthGjI23Bj9todgOf2ZomskJ4=", + "hash": "sha256-a22KP20fE+cpOuv2erl3qUu4glWArx5oISFlI8vxAQc=", "url": "https://github.com/nextcloud-releases/groupfolders/releases/download/v16.0.7/groupfolders-v16.0.7.tar.gz", "version": "16.0.7", "description": "Admin configured folders shared with everyone in a group.\n\nFolders can be configured from *Group folders* in the admin settings.\n\nAfter a folder is created, the admin can give access to the folder to one or more groups, control their write/sharing permissions and assign a quota for the folder.\n\nNote: Encrypting the contents of group folders is currently not supported.", - "homepage": "https://github.com/nextcloud/groupfolders" + "homepage": "https://github.com/nextcloud/groupfolders", + "licenses": [ + "agpl" + ] }, "impersonate": { - "hash": "sha256-t571WtwhzOMccF6cmZulLDKK1T2ItRr8LdZy5qOuPFA=", + "hash": "sha256-fJ96PmkRvgmoIYmF7r/zOQ88/tjb6d0+sQ1YbKq8sY8=", "url": "https://github.com/nextcloud-releases/impersonate/releases/download/v1.15.0/impersonate-v1.15.0.tar.gz", "version": "1.15.0", "description": "By installing the impersonate app of your Nextcloud you enable administrators to impersonate other users on the Nextcloud server. This is especially useful for debugging issues reported by users.\n\nTo impersonate a user an administrator has to simply follow the following four steps:\n\n1. Login as administrator to Nextcloud.\n2. Open users administration interface.\n3. Select the impersonate button on the affected user.\n4. Confirm the impersonation.\n\nThe administrator is then logged-in as the user, to switch back to the regular user account they simply have to press the logout button.\n\n**Note:**\n\n- This app is not compatible with instances that have encryption enabled.\n- While impersonate actions are logged note that actions performed impersonated will be logged as the impersonated user.\n- Impersonating a user is only possible after their first login.\n- You can limit which users/groups can use impersonation in Administration settings > Additional settings.", - "homepage": "https://github.com/nextcloud/impersonate" + "homepage": "https://github.com/nextcloud/impersonate", + "licenses": [ + "agpl" + ] }, "integration_openai": { - "hash": "sha256-JsdhEQMSUpnpBFQyDPAVGjT6mAgR826FD3EBOFhsr4c=", + "hash": "sha256-qU86h6DHNetWOmt7yXCknQ3MBB9KdQ15UDJggqZgWMk=", "url": "https://github.com/nextcloud-releases/integration_openai/releases/download/v2.0.3/integration_openai-v2.0.3.tar.gz", "version": "2.0.3", "description": "⚠️ The smart pickers have been removed from this app\nas they are now included in the [Assistant app](https://apps.nextcloud.com/apps/assistant).\n\nThis app implements:\n\n* Text generation providers: Free prompt, Summarize, Headline, Context write, Chat, and Reformulate (using any available large language model)\n* A Translation provider (using any available language model)\n* A SpeechToText provider (using Whisper)\n* An image generation provider\n\nInstead of connecting to the OpenAI API for these, you can also connect to a self-hosted [LocalAI](https://localai.io) instance\nor to any service that implements an API similar to the OpenAI one, for example: [Plusserver](https://www.plusserver.com/en/ai-platform/) or [MistralAI](https://mistral.ai).\n\n## Ethical AI Rating\n### Rating for Text generation using ChatGPT via the OpenAI API: 🔴\n\nNegative:\n* The software for training and inference of this model is proprietary, limiting running it locally or training by yourself\n* The trained model is not freely available, so the model can not be run on-premises\n* The training data is not freely available, limiting the ability of external parties to check and correct for bias or optimise the model's performance and CO2 usage.\n\n\n### Rating for Translation using ChatGPT via the OpenAI API: 🔴\n\nNegative:\n* The software for training and inference of this model is proprietary, limiting running it locally or training by yourself\n* The trained model is not freely available, so the model can not be run on-premises\n* The training data is not freely available, limiting the ability of external parties to check and correct for bias or optimise the model's performance and CO2 usage.\n\n### Rating for Image generation using DALL·E via the OpenAI API: 🔴\n\nNegative:\n* The software for training and inferencing of this model is proprietary, limiting running it locally or training by yourself\n* The trained model is not freely available, so the model can not be ran on-premises\n* The training data is not freely available, limiting the ability of external parties to check and correct for bias or optimise the model’s performance and CO2 usage.\n\n\n### Rating for Speech-To-Text using Whisper via the OpenAI API: 🟡\n\nPositive:\n* The software for training and inferencing of this model is open source\n* The trained model is freely available, and thus can run on-premise\n\nNegative:\n* The training data is not freely available, limiting the ability of external parties to check and correct for bias or optimise the model’s performance and CO2 usage.\n\n### Rating for Text generation via LocalAI: 🟢\n\nPositive:\n* The software for training and inferencing of this model is open source\n* The trained model is freely available, and thus can be ran on-premises\n* The training data is freely available, making it possible to check or correct for bias or optimise the performance and CO2 usage.\n\n\n### Rating for Image generation using Stable Diffusion via LocalAI : 🟡\n\nPositive:\n* The software for training and inferencing of this model is open source\n* The trained model is freely available, and thus can be ran on-premises\n\nNegative:\n* The training data is not freely available, limiting the ability of external parties to check and correct for bias or optimise the model’s performance and CO2 usage.\n\n\n### Rating for Speech-To-Text using Whisper via LocalAI: 🟡\n\nPositive:\n* The software for training and inferencing of this model is open source\n* The trained model is freely available, and thus can be ran on-premises\n\nNegative:\n* The training data is not freely available, limiting the ability of external parties to check and correct for bias or optimise the model’s performance and CO2 usage.\n\nLearn more about the Nextcloud Ethical AI Rating [in our blog](https://nextcloud.com/blog/nextcloud-ethical-ai-rating/).", - "homepage": "https://github.com/nextcloud/integration_openai" + "homepage": "https://github.com/nextcloud/integration_openai", + "licenses": [ + "agpl" + ] }, "integration_paperless": { - "hash": "sha256-3d3EgRCG4H5EcnQ3kmbVSEIsBNgrnuQA9pzdbiNtLyM=", + "hash": "sha256-ARjs8cCUJICJaZiMIIt/lYk15WlXzzRqAQBWwax6HY4=", "url": "https://github.com/nextcloud-releases/integration_paperless/releases/download/v1.0.3/integration_paperless-v1.0.3.tar.gz", "version": "1.0.3", "description": "Integration with the [Paperless](https://docs.paperless-ngx.com) Document Management System.\nIt adds a file action menu item that can be used to upload a file from your Nextcloud Files to Paperless.", - "homepage": "" + "homepage": "", + "licenses": [ + "agpl" + ] }, "mail": { - "hash": "sha256-zLKTXqXTKyCRrETjKTJzO84QdYar/4zjUrbvT0aWfx0=", - "url": "https://github.com/nextcloud-releases/mail/releases/download/v3.7.5/mail-v3.7.5.tar.gz", - "version": "3.7.5", + "hash": "sha256-tK3RkfREo9bwocO5xfeRGfeOSdXrZzINZEgHjsWe044=", + "url": "https://github.com/nextcloud-releases/mail/releases/download/v3.7.6/mail-v3.7.6.tar.gz", + "version": "3.7.6", "description": "**💌 A mail app for Nextcloud**\n\n- **🚀 Integration with other Nextcloud apps!** Currently Contacts, Calendar & Files – more to come.\n- **📥 Multiple mail accounts!** Personal and company account? No problem, and a nice unified inbox. Connect any IMAP account.\n- **🔒 Send & receive encrypted mails!** Using the great [Mailvelope](https://mailvelope.com) browser extension.\n- **🙈 We’re not reinventing the wheel!** Based on the great [Horde](https://horde.org) libraries.\n- **📬 Want to host your own mail server?** We do not have to reimplement this as you could set up [Mail-in-a-Box](https://mailinabox.email)!\n\n## Ethical AI Rating\n\n### Priority Inbox\n\nPositive:\n* The software for training and inferencing of this model is open source.\n* The model is created and trained on-premises based on the user's own data.\n* The training data is accessible to the user, making it possible to check or correct for bias or optimise the performance and CO2 usage.\n\n### Thread Summaries (opt-in)\n\n**Rating:** 🟢/🟡/🟠/🔴\n\nThe rating depends on the installed text processing backend. See [the rating overview](https://docs.nextcloud.com/server/latest/admin_manual/ai/index.html) for details.\n\nLearn more about the Nextcloud Ethical AI Rating [in our blog](https://nextcloud.com/blog/nextcloud-ethical-ai-rating/).", - "homepage": "https://github.com/nextcloud/mail#readme" + "homepage": "https://github.com/nextcloud/mail#readme", + "licenses": [ + "agpl" + ] }, "maps": { - "hash": "sha256-LOQBR3LM7artg9PyD8JFVO/FKVnitALDulXelvPQFb8=", + "hash": "sha256-BmXs6Oepwnm+Cviy4awm3S8P9AiJTt1BnAQNb4TxVYE=", "url": "https://github.com/nextcloud/maps/releases/download/v1.4.0/maps-1.4.0.tar.gz", "version": "1.4.0", "description": "**The whole world fits inside your cloud!**\n\n- **🗺 Beautiful map:** Using [OpenStreetMap](https://www.openstreetmap.org) and [Leaflet](https://leafletjs.com), you can choose between standard map, satellite, topographical, dark mode or even watercolor! 🎨\n- **⭐ Favorites:** Save your favorite places, privately! Sync with [GNOME Maps](https://github.com/nextcloud/maps/issues/30) and mobile apps is planned.\n- **🧭 Routing:** Possible using either [OSRM](http://project-osrm.org), [GraphHopper](https://www.graphhopper.com) or [Mapbox](https://www.mapbox.com).\n- **🖼 Photos on the map:** No more boring slideshows, just show directly where you were!\n- **🙋 Contacts on the map:** See where your friends live and plan your next visit.\n- **📱 Devices:** Lost your phone? Check the map!\n- **〰 Tracks:** Load GPS tracks or past trips. Recording with [PhoneTrack](https://f-droid.org/en/packages/net.eneiluj.nextcloud.phonetrack/) or [OwnTracks](https://owntracks.org) is planned.", - "homepage": "https://github.com/nextcloud/maps" + "homepage": "https://github.com/nextcloud/maps", + "licenses": [ + "agpl" + ] }, "memories": { - "hash": "sha256-YGDyzBjeSAHI/+OdUnJNhRODv+6c3XZjKyJX/7xNo5Q=", - "url": "https://github.com/pulsejet/memories/releases/download/v7.3.1-rc.3/memories.tar.gz", - "version": "7.3.1-rc.3", + "hash": "sha256-tzxeffvwMwthvBRG+/cLCXZkVS32rlf5v7XOKTbGoOo=", + "url": "https://github.com/pulsejet/memories/releases/download/v7.3.1/memories.tar.gz", + "version": "7.3.1", "description": "# Memories: Photo Management for Nextcloud\r\n\r\nMemories is a *batteries-included* photo management solution for Nextcloud with advanced features including:\r\n\r\n- **📸 Timeline**: Sort photos and videos by date taken, parsed from Exif data.\r\n- **⏪ Rewind**: Jump to any time in the past instantly and relive your memories.\r\n- **🤖 AI Tagging**: Group photos by people and objects, powered by [recognize](https://github.com/nextcloud/recognize) and [facerecognition](https://github.com/matiasdelellis/facerecognition).\r\n- **🖼️ Albums**: Create albums to group photos and videos together. Then share these albums with others.\r\n- **🫱🏻‍🫲🏻 External Sharing**: Share photos and videos with people outside of your Nextcloud instance.\r\n- **📱 Mobile Support**: Work from any device, of any shape and size through the web app.\r\n- **✏️ Edit Metadata**: Edit dates and other metadata on photos quickly and in bulk.\r\n- **📦 Archive**: Store photos you don't want to see in your timeline in a separate folder.\r\n- **📹 Video Transcoding**: Transcode videos and use HLS for maximal performance.\r\n- **🗺️ Map**: View your photos on a map, tagged with accurate reverse geocoding.\r\n- **📦 Migration**: Migrate easily from Nextcloud Photos and Google Takeout.\r\n- **⚡️ Performance**: Do all this very fast.\r\n\r\n## 🚀 Installation\r\n\r\n1. Install the app from the Nextcloud app store (try a demo [here](https://demo.memories.gallery/apps/memories/)).\r\n1. Perform the recommended [configuration steps](https://memories.gallery/config/).\r\n1. Run `php occ memories:index` to generate metadata indices for existing photos.\r\n1. Open the 📷 Memories app in Nextcloud and set the directory containing your photos.", - "homepage": "https://memories.gallery" + "homepage": "https://memories.gallery", + "licenses": [ + "agpl" + ] }, "music": { - "hash": "sha256-lUiPF2FpBewtbsNqHgewaJ5mRqmfBbkqd8RP9sGCVp0=", + "hash": "sha256-RnTyQYCbmkHDZhtonpvbKLUM3n93u53IhknyTrNGh9Y=", "url": "https://github.com/owncloud/music/releases/download/v2.0.0/music_2.0.0_for_nextcloud.tar.gz", "version": "2.0.0", - "description": "A stand-alone music player app and a \"lite\" player for the Files app\n\n- On modern browsers, supports audio types .mp3, .ogg, .m4a, .m4b, .flac, .wav, and more\n- Playlist support with import from m3u, m3u8, and pls files\n- Browse by artists, albums, genres, or folders\n- Gapless play\n- Filter the shown content with the search function\n- Play internet radio and podcast channels\n- Setup Last.fm connection to see background information on artists, albums, and songs\n- Control with media control keys on the keyboard or OS\n- The app can handle libraries consisting of thousands of albums and tens of thousands of songs\n- Includes a server backend compatible with the Subsonic and Ampache protocols, allowing playback and browsing of your library on various external apps e.g. on Android or iPhone", - "homepage": "https://github.com/owncloud/music" - }, - "news": { - "hash": "sha256-AhTZGQCLeNgsRBF5w3+Lf9JtNN4D1QncB5t+odU+XUc=", - "url": "https://github.com/nextcloud/news/releases/download/25.0.0-alpha8/news.tar.gz", - "version": "25.0.0-alpha8", - "description": "📰 A RSS/Atom Feed reader App for Nextcloud\n\n- 📲 Synchronize your feeds with multiple mobile or desktop [clients](https://nextcloud.github.io/news/clients/)\n- 🔄 Automatic updates of your news feeds\n- 🆓 Free and open source under AGPLv3, no ads or premium functions\n\n**System Cron is currently required for this app to work**\n\nRequirements can be found [here](https://nextcloud.github.io/news/install/#dependencies)\n\nThe Changelog is available [here](https://github.com/nextcloud/news/blob/master/CHANGELOG.md)\n\nCreate a [bug report](https://github.com/nextcloud/news/issues/new/choose)\n\nCreate a [feature request](https://github.com/nextcloud/news/discussions/new)\n\nReport a [feed issue](https://github.com/nextcloud/news/discussions/new)", - "homepage": "https://github.com/nextcloud/news" + "description": "A stand-alone music player app and a \"lite\" player for the Files app\r\n\r\n- On modern browsers, supports audio types .mp3, .ogg, .m4a, .m4b, .flac, .wav, and more\r\n- Playlist support with import from m3u, m3u8, and pls files\r\n- Browse by artists, albums, genres, or folders\r\n- Gapless play\r\n- Filter the shown content with the search function\r\n- Play internet radio and podcast channels\r\n- Setup Last.fm connection to see background information on artists, albums, and songs\r\n- Control with media control keys on the keyboard or OS\r\n- The app can handle libraries consisting of thousands of albums and tens of thousands of songs\r\n- Includes a server backend compatible with the Subsonic and Ampache protocols, allowing playback and browsing of your library on various external apps e.g. on Android or iPhone", + "homepage": "https://github.com/owncloud/music", + "licenses": [ + "agpl" + ] }, "notes": { - "hash": "sha256-I2LsDjZdfFP5okBEIJRJcUMS8V5O9zq0ppMLA0SMI8Y=", - "url": "https://github.com/nextcloud-releases/notes/releases/download/v4.9.4/notes-v4.9.4.tar.gz", - "version": "4.9.4", + "hash": "sha256-T7FUmazib5LZVsno/VN/NZYYJetTXcG89njamSgJ6Iw=", + "url": "https://github.com/nextcloud-releases/notes/releases/download/v4.10.1/notes-v4.10.1.tar.gz", + "version": "4.10.1", "description": "The Notes app is a distraction free notes taking app for [Nextcloud](https://www.nextcloud.com/). It provides categories for better organization and supports formatting using [Markdown](https://en.wikipedia.org/wiki/Markdown) syntax. Notes are saved as files in your Nextcloud, so you can view and edit them with every Nextcloud client. Furthermore, a separate [REST API](https://github.com/nextcloud/notes/blob/master/docs/api/README.md) allows for an easy integration into third-party apps (currently, there are notes apps for [Android](https://github.com/nextcloud/notes-android), [iOS](https://github.com/nextcloud/notes-ios) and the [console](https://git.danielmoch.com/nncli/about) which allow convenient access to your Nextcloud notes). Further features include marking notes as favorites.", - "homepage": "https://github.com/nextcloud/notes" + "homepage": "https://github.com/nextcloud/notes", + "licenses": [ + "agpl" + ] }, "notify_push": { - "hash": "sha256-j/Tj8F124rq1vmXJyUE+MT6m4/IvO5gkudF612Ya2MY=", - "url": "https://github.com/nextcloud-releases/notify_push/releases/download/v0.6.9/notify_push-v0.6.9.tar.gz", - "version": "0.6.9", + "hash": "sha256-5VjDDU8YpSDHSV45GKP+YDSd9bq1F3/qLppaLiBzjy4=", + "url": "https://github.com/nextcloud-releases/notify_push/releases/download/v0.7.0/notify_push-v0.7.0.tar.gz", + "version": "0.7.0", "description": "Push update support for desktop app.\n\nOnce the app is installed, the push binary needs to be setup. You can either use the setup wizard with `occ notify_push:setup` or see the [README](http://github.com/nextcloud/notify_push) for detailed setup instructions", - "homepage": "" + "homepage": "", + "licenses": [ + "agpl" + ] }, "onlyoffice": { - "hash": "sha256-9H/ASllarwmSEWCpPGmm6qy7NgSt3NXzJgBxz5v0Db8=", + "hash": "sha256-rHUM3HVY3INPAtTqYxpm9V3Ad8VTl+Wd2S7xAj0CJko=", "url": "https://github.com/ONLYOFFICE/onlyoffice-nextcloud/releases/download/v9.3.0/onlyoffice.tar.gz", "version": "9.3.0", "description": "ONLYOFFICE connector allows you to view, edit and collaborate on text documents, spreadsheets and presentations within Nextcloud using ONLYOFFICE Docs. This will create a new Edit in ONLYOFFICE action within the document library for Office documents. This allows multiple users to co-author documents in real time from the familiar web interface and save the changes back to your file storage.", - "homepage": "https://www.onlyoffice.com" + "homepage": "https://www.onlyoffice.com", + "licenses": [ + "agpl" + ] }, "phonetrack": { - "hash": "sha256-V92f+FiS5vZEkq15A51pHoDpUOBfUOEVIcsXdP/rSMQ=", + "hash": "sha256-zQt+3t86HZJVT/wiETHkPdTwV6Qy+iNkH3/THtTe1Xs=", "url": "https://github.com/julien-nc/phonetrack/releases/download/v0.8.1/phonetrack-0.8.1.tar.gz", "version": "0.8.1", "description": "# PhoneTrack Nextcloud application\n\n📱 PhoneTrack is a Nextcloud application to track and store mobile device's locations.\n\n🗺 It receives information from mobile phone's logging apps and displays it dynamically on a map.\n\n🌍 Help us to translate this app on [PhoneTrack Crowdin project](https://crowdin.com/project/phonetrack).\n\n⚒ Check out other ways to help in the [contribution guidelines](https://gitlab.com/eneiluj/phonetrack-oc/blob/master/CONTRIBUTING.md).\n\nHow to use PhoneTrack :\n\n* Create a tracking session.\n* Give the logging link\\* to the mobile devices. Choose the [logging method](https://gitlab.com/eneiluj/phonetrack-oc/wikis/userdoc#logging-methods) you prefer.\n* Watch the session's devices location in real time (or not) in PhoneTrack or share it with public pages.\n\n(\\*) Don't forget to set the device name in the link (rather than in the logging app settings). Replace \"yourname\" with the desired device name. Setting the device name in logging app settings only works with Owntracks, Traccar and OpenGTS.\n\nOn PhoneTrack main page, while watching a session, you can :\n\n* 📍 Display location history\n* ⛛ Filter points\n* ✎ Manually edit/add/delete points\n* ✎ Edit devices (rename, change colour/shape, move to another session)\n* ⛶ Define geofencing zones for devices\n* ⚇ Define proximity alerts for device pairs\n* 🖧 Share a session to other Nextcloud users or with a public link (read-only)\n* 🔗 Generate public share links with optional restrictions (filters, device name, last positions only, geofencing simplification)\n* 🖫 Import/export a session in GPX format (one file with one track per device or one file per device)\n* 🗠 Display sessions statistics\n* 🔒 [Reserve a device name](https://gitlab.com/eneiluj/phonetrack-oc/wikis/userdoc#device-name-reservation) to make sure only authorised user can log with this name\n* 🗓 Toggle session auto export and auto purge (daily/weekly/monthly)\n* ◔ Choose what to do when point number quota is reached (block logging or delete oldest point)\n\nPublic page and public filtered page work like main page except there is only one session displayed, everything is read-only and there is no need to be logged in.\n\nThis app is tested on Nextcloud 17 with Firefox 57+ and Chromium.\n\nThis app is compatible with theming colours and accessibility themes !\n\nThis app is under development.\n\n## Install\n\nSee the [AdminDoc](https://gitlab.com/eneiluj/phonetrack-oc/wikis/admindoc) for installation details.\n\nCheck [CHANGELOG](https://gitlab.com/eneiluj/phonetrack-oc/blob/master/CHANGELOG.md#change-log) file to see what's new and what's coming in next release.\n\nCheck [AUTHORS](https://gitlab.com/eneiluj/phonetrack-oc/blob/master/AUTHORS.md#authors) file to see complete list of authors.\n\n## Known issues\n\n* PhoneTrack **now works** with Nextcloud group restriction activated. See [admindoc](https://gitlab.com/eneiluj/phonetrack-oc/wikis/admindoc#issue-with-phonetrack-restricted-to-some-groups-in-nextcloud).\n\nAny feedback will be appreciated.\n\n## Donation\n\nI develop this app during my free time.\n\n* [Donate with Paypal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66PALMY8SF5JE) (you don't need a paypal account)\n* [Donate with Liberapay : ![Donate using Liberapay](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/eneiluj/donate)", - "homepage": "https://github.com/julien-nc/phonetrack" + "homepage": "https://github.com/julien-nc/phonetrack", + "licenses": [ + "agpl" + ] }, "polls": { - "hash": "sha256-0K8I86calcBC4BXmuTpVENkUePDsPQxJoxWcgG8vlL4=", - "url": "https://github.com/nextcloud/polls/releases/download/v7.1.3/polls.tar.gz", - "version": "7.1.3", + "hash": "sha256-Lya2mkgOIG68owLws561/tdR3WWrj0RI5ZP5FTX7FdI=", + "url": "https://github.com/nextcloud/polls/releases/download/v7.1.4/polls.tar.gz", + "version": "7.1.4", "description": "A polls app, similar to Doodle/Dudle with the possibility to restrict access (members, certain groups/users, hidden and public).", - "homepage": "https://github.com/nextcloud/polls" + "homepage": "https://github.com/nextcloud/polls", + "licenses": [ + "agpl" + ] }, "previewgenerator": { - "hash": "sha256-oYD8oK0jLZjv8eJZcBlSVa0CzY1F8Wipx82ofsmbBRQ=", - "url": "https://github.com/nextcloud-releases/previewgenerator/releases/download/v5.5.0/previewgenerator-v5.5.0.tar.gz", - "version": "5.5.0", + "hash": "sha256-hjlwZfgfoH3iqbtJrPovgBC0Tu/vBhFqC752DZvndFY=", + "url": "https://github.com/nextcloud-releases/previewgenerator/releases/download/v5.6.0/previewgenerator-v5.6.0.tar.gz", + "version": "5.6.0", "description": "The Preview Generator app allows admins to pre-generate previews. The app listens to edit events and stores this information. Once a cron job is triggered it will generate start preview generation. This means that you can better utilize your system by pre-generating previews when your system is normally idle and thus putting less load on your machine when the requests are actually served.\n\nThe app does not replace on demand preview generation so if a preview is requested before it is pre-generated it will still be shown.\nThe first time you install this app, before using a cron job, you properly want to generate all previews via:\n**./occ preview:generate-all -vvv**\n\n**Important**: To enable pre-generation of previews you must add **php /var/www/nextcloud/occ preview:pre-generate** to a system cron job that runs at times of your choosing.", - "homepage": "https://github.com/nextcloud/previewgenerator" + "homepage": "https://github.com/nextcloud/previewgenerator", + "licenses": [ + "agpl" + ] }, "qownnotesapi": { - "hash": "sha256-vbfe+AquRAbWcIofVMlUXUDxXGnaf9emJV3VpyDZjHg=", + "hash": "sha256-k1Sm0ZO9qx9KmAGCGYupcLeMSllKUmOlPSUgbWVrqI4=", "url": "https://github.com/pbek/qownnotesapi/releases/download/v24.4.0/qownnotesapi-nc.tar.gz", "version": "24.4.0", "description": "QOwnNotesAPI is the Nextcloud/ownCloud API for [QOwnNotes](http://www.qownnotes.org), the open source notepad for Linux, macOS and Windows, that works together with the notes application of Nextcloud/ownCloud.\n\nThe only purpose of this App is to provide API access to your Nextcloud/ownCloud server for your QOwnNotes desktop installation, you cannot use this App for anything else, if you don't have QOwnNotes installed on your desktop computer!", - "homepage": "https://github.com/pbek/qownnotesapi" + "homepage": "https://github.com/pbek/qownnotesapi", + "licenses": [ + "agpl" + ] }, "registration": { - "hash": "sha256-dDaQHyHdkkd8ZammLdck2HNGqqfEaunwevdPzbWzB8Y=", + "hash": "sha256-4MLNKwYx/3hqnrcF2TpTCKOMveWINvWo71aOXcBO79E=", "url": "https://github.com/nextcloud-releases/registration/releases/download/v2.4.0/registration-v2.4.0.tar.gz", "version": "2.4.0", "description": "User registration\n\nThis app allows users to register a new account.\n\n# Features\n\n- Add users to a given group\n- Allow-list with email domains (including wildcard) to register with\n- Administrator will be notified via email for new user creation or require approval\n- Supports Nextcloud's Client Login Flow v1 and v2 - allowing registration in the mobile Apps and Desktop clients\n\n# Web form registration flow\n\n1. User enters their email address\n2. Verification link is sent to the email address\n3. User clicks on the verification link\n4. User is lead to a form where they can choose their username and password\n5. New account is created and is logged in automatically", - "homepage": "https://github.com/nextcloud/registration" + "homepage": "https://github.com/nextcloud/registration", + "licenses": [ + "agpl" + ] }, "richdocuments": { - "hash": "sha256-n/dR1TUJt6x0hjubdMlqrXltojZu8LE0TjJrXrdvq1M=", + "hash": "sha256-GtjSEiYrZPYq7fPfKuilxPvScONAPI83cqdAor6/+oo=", "url": "https://github.com/nextcloud-releases/richdocuments/releases/download/v8.3.8/richdocuments-v8.3.8.tar.gz", "version": "8.3.8", "description": "This application can connect to a Collabora Online (or other) server (WOPI-like Client). Nextcloud is the WOPI Host. Please read the documentation to learn more about that.\n\nYou can also edit your documents off-line with the Collabora Office app from the **[Android](https://play.google.com/store/apps/details?id=com.collabora.libreoffice)** and **[iOS](https://apps.apple.com/us/app/collabora-office/id1440482071)** store.", - "homepage": "https://collaboraoffice.com/" + "homepage": "https://collaboraoffice.com/", + "licenses": [ + "agpl" + ] }, "spreed": { - "hash": "sha256-FjcPXBCR+DkJObOl92wRn0UXGjmzHy0GqaXBDt2VZMs=", - "url": "https://github.com/nextcloud-releases/spreed/releases/download/v18.0.9/spreed-v18.0.9.tar.gz", - "version": "18.0.9", + "hash": "sha256-kKdMx8KXQQ5RemdINtiZG+zJGpDSn7TYlTMYG7GHIhI=", + "url": "https://github.com/nextcloud-releases/spreed/releases/download/v18.0.10/spreed-v18.0.10.tar.gz", + "version": "18.0.10", "description": "Chat, video & audio-conferencing using WebRTC\n\n* 💬 **Chat** Nextcloud Talk comes with a simple text chat, allowing you to share or upload files from your Nextcloud Files app or local device and mention other participants.\n* 👥 **Private, group, public and password protected calls!** Invite someone, a whole group or send a public link to invite to a call.\n* 🌐 **Federated chats** Chat with other Nextcloud users on their servers\n* 💻 **Screen sharing!** Share your screen with the participants of your call.\n* 🚀 **Integration with other Nextcloud apps** like Files, Calendar, User status, Dashboard, Flow, Maps, Smart picker, Contacts, Deck, and many more.\n* 🌉 **Sync with other chat solutions** With [Matterbridge](https://github.com/42wim/matterbridge/) being integrated in Talk, you can easily sync a lot of other chat solutions to Nextcloud Talk and vice-versa.", - "homepage": "https://github.com/nextcloud/spreed" + "homepage": "https://github.com/nextcloud/spreed", + "licenses": [ + "agpl" + ] }, "tasks": { - "hash": "sha256-L68ughpLad4cr5utOPwefu2yoOgRvnJibqfKmarGXLw=", + "hash": "sha256-HitYQcdURUHujRNMF0jKQzvSO93bItisI0emq0yw8p4=", "url": "https://github.com/nextcloud/tasks/releases/download/v0.16.0/tasks.tar.gz", "version": "0.16.0", "description": "Once enabled, a new Tasks menu will appear in your Nextcloud apps menu. From there you can add and delete tasks, edit their title, description, start and due dates and mark them as important. Tasks can be shared between users. Tasks can be synchronized using CalDav (each task list is linked to an Nextcloud calendar, to sync it to your local client: Thunderbird, Evolution, KDE Kontact, iCal … - just add the calendar as a remote calendar in your client). You can download your tasks as ICS files using the download button for each calendar.", - "homepage": "https://github.com/nextcloud/tasks/" + "homepage": "https://github.com/nextcloud/tasks/", + "licenses": [ + "agpl" + ] }, "twofactor_nextcloud_notification": { - "hash": "sha256-4wg1Ha9Dkowck97UxCfzu+jnTpumXOB8to0aHk0072I=", - "url": "https://github.com/nextcloud-releases/twofactor_nextcloud_notification/releases/download/v3.9.0/twofactor_nextcloud_notification-v3.9.0.tar.gz", - "version": "3.9.0", + "hash": "sha256-P1yomRZJV0p01qXlSbiA9TvV7OuIUNVw/fHNWAdkfTg=", + "url": "https://github.com/nextcloud-releases/twofactor_nextcloud_notification/releases/download/v3.10.0/twofactor_nextcloud_notification-v3.10.0.tar.gz", + "version": "3.10.0", "description": "Allows using any of your logged in devices as second factor", - "homepage": "https://github.com/nextcloud/twofactor_nextcloud_notification" + "homepage": "https://github.com/nextcloud/twofactor_nextcloud_notification", + "licenses": [ + "agpl" + ] }, "twofactor_webauthn": { - "hash": "sha256-+hG5eJUMMKJUmfBnU4BhEf+6QnTAw4TXi4Ij18z3Ru8=", - "url": "https://github.com/nextcloud-releases/twofactor_webauthn/releases/download/v1.4.0-rc.1/twofactor_webauthn-v1.4.0-rc.1.tar.gz", - "version": "1.4.0-rc.1", + "hash": "sha256-2qvP6xZO7ZdCZkOSP4FNqyjZ0GMcw/FDSy67JDrlM04=", + "url": "https://github.com/nextcloud-releases/twofactor_webauthn/releases/download/v1.4.0/twofactor_webauthn-v1.4.0.tar.gz", + "version": "1.4.0", "description": "A two-factor provider for WebAuthn devices", - "homepage": "https://github.com/nextcloud/twofactor_webauthn#readme" + "homepage": "https://github.com/nextcloud/twofactor_webauthn#readme", + "licenses": [ + "agpl" + ] }, "unroundedcorners": { - "hash": "sha256-DivF+Ps52rzcEN7rOXR2au1qhbBLHCW6DyCjMM/7CJo=", + "hash": "sha256-sdgc2ENnRkcQnopbqsn/FHYDoiKqeKfYEontFy0cYU4=", "url": "https://github.com/OliverParoczai/nextcloud-unroundedcorners/releases/download/v1.1.3/unroundedcorners-v1.1.3.tar.gz", "version": "1.1.3", "description": "# Unrounded Corners\nA Nextcloud app that restores the corners of buttons and widgets to their original looks by unrounding them.", - "homepage": "https://github.com/OliverParoczai/nextcloud-unroundedcorners" + "homepage": "https://github.com/OliverParoczai/nextcloud-unroundedcorners", + "licenses": [ + "agpl" + ] }, "user_oidc": { - "hash": "sha256-oaN4nYIKzP7r9pB/6szZnkR+liSMARd3Nb8aM3m9WeE=", - "url": "https://github.com/nextcloud-releases/user_oidc/releases/download/v5.0.3/user_oidc-v5.0.3.tar.gz", - "version": "5.0.3", + "hash": "sha256-8e4xQjOWSVAps6dg4jvN3MGVSOhaOgjPHPpTOgXKFJY=", + "url": "https://github.com/nextcloud-releases/user_oidc/releases/download/v6.0.1/user_oidc-v6.0.1.tar.gz", + "version": "6.0.1", "description": "Allows flexible configuration of an OIDC server as Nextcloud login user backend.", - "homepage": "https://github.com/nextcloud/user_oidc" + "homepage": "https://github.com/nextcloud/user_oidc", + "licenses": [ + "agpl" + ] }, "user_saml": { - "hash": "sha256-LLjozmU1f8K4KvdKotdTPh3ATG3h2xib/wDP5HGrBsY=", + "hash": "sha256-+oeTDRomjmfSLIM6eyP6MHg+qtOs8IPqIWUzBofahYQ=", "url": "https://github.com/nextcloud-releases/user_saml/releases/download/v6.2.0/user_saml-v6.2.0.tar.gz", "version": "6.2.0", "description": "Using the SSO & SAML app of your Nextcloud you can make it easily possible to integrate your existing Single-Sign-On solution with Nextcloud. In addition, you can use the Nextcloud LDAP user provider to keep the convenience for users. (e.g. when sharing)\nThe following providers are supported and tested at the moment:\n\n* **SAML 2.0**\n\t* OneLogin\n\t* Shibboleth\n\t* Active Directory Federation Services (ADFS)\n\n* **Authentication via Environment Variable**\n\t* Kerberos (mod_auth_kerb)\n\t* Any other provider that authenticates using the environment variable\n\nWhile theoretically any other authentication provider implementing either one of those standards is compatible, we like to note that they are not part of any internal test matrix.", - "homepage": "https://github.com/nextcloud/user_saml" + "homepage": "https://github.com/nextcloud/user_saml", + "licenses": [ + "agpl" + ] } } diff --git a/pkgs/servers/nextcloud/packages/29.json b/pkgs/servers/nextcloud/packages/29.json index d1c4dcdbff0a..5eea43b2d1e5 100644 --- a/pkgs/servers/nextcloud/packages/29.json +++ b/pkgs/servers/nextcloud/packages/29.json @@ -1,240 +1,332 @@ { "bookmarks": { - "hash": "sha256-wUeXcbxNCRA2brzdCHKwl0zbhmDucKv1ZCkF3KlQ8O4=", + "hash": "sha256-hqmX64arwllviwG7ySvdwA8IYzWoLjP2MyhT389UZXw=", "url": "https://github.com/nextcloud/bookmarks/releases/download/v14.2.2/bookmarks-14.2.2.tar.gz", "version": "14.2.2", "description": "- 📂 Sort bookmarks into folders\n- 🏷 Add tags and personal notes\n- ☠ Find broken links and duplicates\n- 📲 Synchronize with all your browsers and devices\n- 📔 Store archived versions of your links in case they are depublished\n- 🔍 Full-text search on site contents\n- 👪 Share bookmarks with other users and via public links\n- ⚛ Generate RSS feeds of your collections\n- 📈 Stats on how often you access which links\n- 🔒 Automatic backups of your bookmarks collection\n- 💼 Built-in Dashboard widgets for frequent and recent links\n\nRequirements:\n - PHP extensions:\n - intl: *\n - mbstring: *\n - when using MySQL, use at least v8.0", - "homepage": "https://github.com/nextcloud/bookmarks" + "homepage": "https://github.com/nextcloud/bookmarks", + "licenses": [ + "agpl" + ] }, "calendar": { - "hash": "sha256-ZJJmL7BgXNOZKWxG1lhruDmsLOmUQOTO0KlcS8liYfs=", - "url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.7.9/calendar-v4.7.9.tar.gz", - "version": "4.7.9", + "hash": "sha256-BcAlsrM9AExRau8ub6+V5ctSWTDmzWHekbNlTf+AZxc=", + "url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.7.13/calendar-v4.7.13.tar.gz", + "version": "4.7.13", "description": "The Calendar app is a user interface for Nextcloud's CalDAV server. Easily sync events from various devices with your Nextcloud and edit them online.\n\n* 🚀 **Integration with other Nextcloud apps!** Currently Contacts - more to come.\n* 🌐 **WebCal Support!** Want to see your favorite team’s matchdays in your calendar? No problem!\n* 🙋 **Attendees!** Invite people to your events\n* ⌚️ **Free/Busy!** See when your attendees are available to meet\n* ⏰ **Reminders!** Get alarms for events inside your browser and via email\n* 🔍 Search! Find your events at ease\n* ☑️ Tasks! See tasks with a due date directly in the calendar\n* 🙈 **We’re not reinventing the wheel!** Based on the great [c-dav library](https://github.com/nextcloud/cdav-library), [ical.js](https://github.com/mozilla-comm/ical.js) and [fullcalendar](https://github.com/fullcalendar/fullcalendar) libraries.", - "homepage": "https://github.com/nextcloud/calendar/" + "homepage": "https://github.com/nextcloud/calendar/", + "licenses": [ + "agpl" + ] }, "contacts": { - "hash": "sha256-BXMTI4Izk2iKTCbfjNKMYM/sm1bX+pn4D/FZcFyDm0k=", - "url": "https://github.com/nextcloud-releases/contacts/releases/download/v6.0.0-rc1/contacts-v6.0.0-rc1.tar.gz", - "version": "6.0.0-rc.1", + "hash": "sha256-48ERJ9DQ9w71encT2XVvcVaV+EbthgExQliKO1sQ+1A=", + "url": "https://github.com/nextcloud-releases/contacts/releases/download/v6.0.0/contacts-v6.0.0.tar.gz", + "version": "6.0.0", "description": "The Nextcloud contacts app is a user interface for Nextcloud's CardDAV server. Easily sync contacts from various devices with your Nextcloud and edit them online.\n\n* 🚀 **Integration with other Nextcloud apps!** Currently Mail and Calendar – more to come.\n* 🎉 **Never forget a birthday!** You can sync birthdays and other recurring events with your Nextcloud Calendar.\n* 👥 **Sharing of Adressbooks!** You want to share your contacts with your friends or coworkers? No problem!\n* 🙈 **We’re not reinventing the wheel!** Based on the great and open SabreDAV library.", - "homepage": "https://github.com/nextcloud/contacts#readme" + "homepage": "https://github.com/nextcloud/contacts#readme", + "licenses": [ + "agpl" + ] }, "cookbook": { - "hash": "sha256-qHYOGHRnPTgT5/FZWWIwBNuwxrkpk96i0cKpCLe48Y0=", - "url": "https://github.com/christianlupus-nextcloud/cookbook-releases/releases/download/v0.11.1-rc1/cookbook-0.11.1-rc1.tar.gz", - "version": "0.11.1-rc1", + "hash": "sha256-QRzXNoqOeEYYp0ctmsNisbQL5PWFOeqEVkcFeCduQtY=", + "url": "https://github.com/christianlupus-nextcloud/cookbook-releases/releases/download/v0.11.1/cookbook-0.11.1.tar.gz", + "version": "0.11.1", "description": "A library for all your recipes. It uses JSON files following the schema.org recipe format. To add a recipe to the collection, you can paste in the URL of the recipe, and the provided web page will be parsed and downloaded to whichever folder you specify in the app settings.", - "homepage": "https://github.com/nextcloud/cookbook/" + "homepage": "https://github.com/nextcloud/cookbook/", + "licenses": [ + "agpl" + ] }, "cospend": { - "hash": "sha256-QHIxS5uubutiD9Abm/Bzv1RWG7TgL/tvixVdNEzTlxE=", + "hash": "sha256-J6w+ZqFNZbJeaPuZOZ4OQ+O+VhIQ0XajqYZuHqvjL24=", "url": "https://github.com/julien-nc/cospend-nc/releases/download/v1.6.1/cospend-1.6.1.tar.gz", "version": "1.6.1", "description": "# Nextcloud Cospend 💰\n\nNextcloud Cospend is a group/shared budget manager. It was inspired by the great [IHateMoney](https://github.com/spiral-project/ihatemoney/).\n\nYou can use it when you share a house, when you go on vacation with friends, whenever you share expenses with a group of people.\n\nIt lets you create projects with members and bills. Each member has a balance computed from the project bills. Balances are not an absolute amount of money at members disposal but rather a relative information showing if a member has spent more for the group than the group has spent for her/him, independently of exactly who spent money for whom. This way you can see who owes the group and who the group owes. Ultimately you can ask for a settlement plan telling you which payments to make to reset members balances.\n\nProject members are independent from Nextcloud users. Projects can be shared with other Nextcloud users or via public links.\n\n[MoneyBuster](https://gitlab.com/eneiluj/moneybuster) Android client is [available in F-Droid](https://f-droid.org/packages/net.eneiluj.moneybuster/) and on the [Play store](https://play.google.com/store/apps/details?id=net.eneiluj.moneybuster).\n\n[PayForMe](https://github.com/mayflower/PayForMe) iOS client is currently under developpement!\n\nThe private and public APIs are documented using [the Nextcloud OpenAPI extractor](https://github.com/nextcloud/openapi-extractor/). This documentation can be accessed directly in Nextcloud. All you need is to install Cospend (>= v1.6.0) and use the [the OCS API Viewer app](https://apps.nextcloud.com/apps/ocs_api_viewer) to browse the OpenAPI documentation.\n\n## Features\n\n* ✎ Create/edit/delete projects, members, bills, bill categories, currencies\n* ⚖ Check member balances\n* 🗠 Display project statistics\n* ♻ Display settlement plan\n* Move bills from one project to another\n* Move bills to trash before actually deleting them\n* Archive old projects before deleting them\n* 🎇 Automatically create reimbursement bills from settlement plan\n* 🗓 Create recurring bills (day/week/month/year)\n* 📊 Optionally provide custom amount for each member in new bills\n* 🔗 Link personal files to bills (picture of physical receipt for example)\n* 👩 Public links for people outside Nextcloud (can be password protected)\n* 👫 Share projects with Nextcloud users/groups/circles\n* 🖫 Import/export projects as csv (compatible with csv files from IHateMoney and SplitWise)\n* 🔗 Generate link/QRCode to easily add projects in MoneyBuster\n* 🗲 Implement Nextcloud notifications and activity stream\n\nThis app usually support the 2 or 3 last major versions of Nextcloud.\n\nThis app is under development.\n\n🌍 Help us to translate this app on [Nextcloud-Cospend/MoneyBuster Crowdin project](https://crowdin.com/project/moneybuster).\n\n⚒ Check out other ways to help in the [contribution guidelines](https://github.com/julien-nc/cospend-nc/blob/master/CONTRIBUTING.md).\n\n## Documentation\n\n* [User documentation](https://github.com/julien-nc/cospend-nc/blob/master/docs/user.md)\n* [Admin documentation](https://github.com/julien-nc/cospend-nc/blob/master/docs/admin.md)\n* [Developer documentation](https://github.com/julien-nc/cospend-nc/blob/master/docs/dev.md)\n* [CHANGELOG](https://github.com/julien-nc/cospend-nc/blob/master/CHANGELOG.md#change-log)\n* [AUTHORS](https://github.com/julien-nc/cospend-nc/blob/master/AUTHORS.md#authors)\n\n## Known issues\n\n* It does not make you rich\n\nAny feedback will be appreciated.\n\n\n\n## Donation\n\nI develop this app during my free time.\n\n* [Donate with Paypal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66PALMY8SF5JE) (you don't need a paypal account)\n* [Donate with Liberapay : ![Donate using Liberapay](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/eneiluj/donate)", - "homepage": "https://github.com/julien-nc/cospend-nc" + "homepage": "https://github.com/julien-nc/cospend-nc", + "licenses": [ + "agpl" + ] }, "deck": { - "hash": "sha256-AQV2JeSrQcPSh2J2oG/Kbrh2Qo/nj1+orYJymDsQLDQ=", + "hash": "sha256-yJJS85Ll+lBN61v+q3q15RI9T9zlUKnq/b+QvcYQtuU=", "url": "https://github.com/nextcloud-releases/deck/releases/download/v1.13.1/deck-v1.13.1.tar.gz", "version": "1.13.1", "description": "Deck is a kanban style organization tool aimed at personal planning and project organization for teams integrated with Nextcloud.\n\n\n- 📥 Add your tasks to cards and put them in order\n- 📄 Write down additional notes in Markdown\n- 🔖 Assign labels for even better organization\n- 👥 Share with your team, friends or family\n- 📎 Attach files and embed them in your Markdown description\n- 💬 Discuss with your team using comments\n- ⚡ Keep track of changes in the activity stream\n- 🚀 Get your project organized", - "homepage": "https://github.com/nextcloud/deck" + "homepage": "https://github.com/nextcloud/deck", + "licenses": [ + "agpl" + ] }, "end_to_end_encryption": { - "hash": "sha256-vBWHp+AYS63tHlA0QYFX1TfpOB+HTLV2wFvfdCs+WEI=", + "hash": "sha256-yqdu04S5o7koJQIlwwyL1KfIIxEWoZ/9H8ePGV/urjU=", "url": "https://github.com/nextcloud-releases/end_to_end_encryption/releases/download/v1.15.2/end_to_end_encryption-v1.15.2.tar.gz", "version": "1.15.2", "description": "Provides the necessary endpoint to enable end-to-end encryption.\n\n**Notice:** E2EE is currently not compatible to be used together with server-side encryption", - "homepage": "https://github.com/nextcloud/end_to_end_encryption" + "homepage": "https://github.com/nextcloud/end_to_end_encryption", + "licenses": [ + "agpl" + ] }, "forms": { - "hash": "sha256-3ram5LduRgMmUWDRp65cvS9Dbhx7UnR7OllbEVQ+jMM=", + "hash": "sha256-OqqorHVWCDicQKnTxEJjeXzDrsj98vWvtWYyaRmDsUs=", "url": "https://github.com/nextcloud-releases/forms/releases/download/v4.2.4/forms-v4.2.4.tar.gz", "version": "4.2.4", "description": "**Simple surveys and questionnaires, self-hosted!**\n\n- **📝 Simple design:** No mass of options, only the essentials. Works well on mobile of course.\n- **📊 View & export results:** Results are visualized and can also be exported as CSV in the same format used by Google Forms.\n- **🔒 Data under your control!** Unlike in Google Forms, Typeform, Doodle and others, the survey info and responses are kept private on your instance.\n- **🧑‍💻 Connect to your software:** Easily integrate Forms into your service with our full-fledged [REST-API](https://github.com/nextcloud/forms/blob/main/docs/API.md).\n- **🙋 Get involved!** We have lots of stuff planned like more question types, collaboration on forms, [and much more](https://github.com/nextcloud/forms/milestones)!", - "homepage": "https://github.com/nextcloud/forms" + "homepage": "https://github.com/nextcloud/forms", + "licenses": [ + "agpl" + ] }, "gpoddersync": { - "hash": "sha256-wLiM8kv+HinOoAebarQ9MwuxqUpVeF0zS2RVYpAoYMI=", + "hash": "sha256-e4RtBCPtk8jIK+p4tGfukLmC8ikhAD7GiRSmmkWciZQ=", "url": "https://github.com/thrillfall/nextcloud-gpodder/releases/download/3.9.0/gpoddersync.tar.gz", "version": "3.9.0", "description": "Expose GPodder API to sync podcast consumer apps like AntennaPod", - "homepage": "https://github.com/thrillfall/nextcloud-gpodder" + "homepage": "https://github.com/thrillfall/nextcloud-gpodder", + "licenses": [ + "agpl" + ] }, "groupfolders": { - "hash": "sha256-AqEZkId0Nk0EfsIme8fC+pQsz13d8LXRmEVm+FrUC2g=", + "hash": "sha256-x9T/JoNJl6LxaPzF9IpKaGrz321nbMSAN3gfZbSapGE=", "url": "https://github.com/nextcloud-releases/groupfolders/releases/download/v17.0.1/groupfolders-v17.0.1.tar.gz", "version": "17.0.1", "description": "Admin configured folders shared with everyone in a group.\n\nFolders can be configured from *Group folders* in the admin settings.\n\nAfter a folder is created, the admin can give access to the folder to one or more groups, control their write/sharing permissions and assign a quota for the folder.\n\nNote: Encrypting the contents of group folders is currently not supported.", - "homepage": "https://github.com/nextcloud/groupfolders" + "homepage": "https://github.com/nextcloud/groupfolders", + "licenses": [ + "agpl" + ] }, "impersonate": { - "hash": "sha256-q9bjvlAf0D9khUDu5CGLkJxEEtU3vOHMznW0QgcxlQU=", + "hash": "sha256-7NCfm2c861E1ZOZhpqjbsw2LC9I7ypp2J1LamqmWvtU=", "url": "https://github.com/nextcloud-releases/impersonate/releases/download/v1.16.0/impersonate-v1.16.0.tar.gz", "version": "1.16.0", "description": "By installing the impersonate app of your Nextcloud you enable administrators to impersonate other users on the Nextcloud server. This is especially useful for debugging issues reported by users.\n\nTo impersonate a user an administrator has to simply follow the following four steps:\n\n1. Login as administrator to Nextcloud.\n2. Open users administration interface.\n3. Select the impersonate button on the affected user.\n4. Confirm the impersonation.\n\nThe administrator is then logged-in as the user, to switch back to the regular user account they simply have to press the logout button.\n\n**Note:**\n\n- This app is not compatible with instances that have encryption enabled.\n- While impersonate actions are logged note that actions performed impersonated will be logged as the impersonated user.\n- Impersonating a user is only possible after their first login.\n- You can limit which users/groups can use impersonation in Administration settings > Additional settings.", - "homepage": "https://github.com/nextcloud/impersonate" + "homepage": "https://github.com/nextcloud/impersonate", + "licenses": [ + "agpl" + ] }, "integration_openai": { - "hash": "sha256-JsdhEQMSUpnpBFQyDPAVGjT6mAgR826FD3EBOFhsr4c=", + "hash": "sha256-qU86h6DHNetWOmt7yXCknQ3MBB9KdQ15UDJggqZgWMk=", "url": "https://github.com/nextcloud-releases/integration_openai/releases/download/v2.0.3/integration_openai-v2.0.3.tar.gz", "version": "2.0.3", "description": "⚠️ The smart pickers have been removed from this app\nas they are now included in the [Assistant app](https://apps.nextcloud.com/apps/assistant).\n\nThis app implements:\n\n* Text generation providers: Free prompt, Summarize, Headline, Context write, Chat, and Reformulate (using any available large language model)\n* A Translation provider (using any available language model)\n* A SpeechToText provider (using Whisper)\n* An image generation provider\n\nInstead of connecting to the OpenAI API for these, you can also connect to a self-hosted [LocalAI](https://localai.io) instance\nor to any service that implements an API similar to the OpenAI one, for example: [Plusserver](https://www.plusserver.com/en/ai-platform/) or [MistralAI](https://mistral.ai).\n\n## Ethical AI Rating\n### Rating for Text generation using ChatGPT via the OpenAI API: 🔴\n\nNegative:\n* The software for training and inference of this model is proprietary, limiting running it locally or training by yourself\n* The trained model is not freely available, so the model can not be run on-premises\n* The training data is not freely available, limiting the ability of external parties to check and correct for bias or optimise the model's performance and CO2 usage.\n\n\n### Rating for Translation using ChatGPT via the OpenAI API: 🔴\n\nNegative:\n* The software for training and inference of this model is proprietary, limiting running it locally or training by yourself\n* The trained model is not freely available, so the model can not be run on-premises\n* The training data is not freely available, limiting the ability of external parties to check and correct for bias or optimise the model's performance and CO2 usage.\n\n### Rating for Image generation using DALL·E via the OpenAI API: 🔴\n\nNegative:\n* The software for training and inferencing of this model is proprietary, limiting running it locally or training by yourself\n* The trained model is not freely available, so the model can not be ran on-premises\n* The training data is not freely available, limiting the ability of external parties to check and correct for bias or optimise the model’s performance and CO2 usage.\n\n\n### Rating for Speech-To-Text using Whisper via the OpenAI API: 🟡\n\nPositive:\n* The software for training and inferencing of this model is open source\n* The trained model is freely available, and thus can run on-premise\n\nNegative:\n* The training data is not freely available, limiting the ability of external parties to check and correct for bias or optimise the model’s performance and CO2 usage.\n\n### Rating for Text generation via LocalAI: 🟢\n\nPositive:\n* The software for training and inferencing of this model is open source\n* The trained model is freely available, and thus can be ran on-premises\n* The training data is freely available, making it possible to check or correct for bias or optimise the performance and CO2 usage.\n\n\n### Rating for Image generation using Stable Diffusion via LocalAI : 🟡\n\nPositive:\n* The software for training and inferencing of this model is open source\n* The trained model is freely available, and thus can be ran on-premises\n\nNegative:\n* The training data is not freely available, limiting the ability of external parties to check and correct for bias or optimise the model’s performance and CO2 usage.\n\n\n### Rating for Speech-To-Text using Whisper via LocalAI: 🟡\n\nPositive:\n* The software for training and inferencing of this model is open source\n* The trained model is freely available, and thus can be ran on-premises\n\nNegative:\n* The training data is not freely available, limiting the ability of external parties to check and correct for bias or optimise the model’s performance and CO2 usage.\n\nLearn more about the Nextcloud Ethical AI Rating [in our blog](https://nextcloud.com/blog/nextcloud-ethical-ai-rating/).", - "homepage": "https://github.com/nextcloud/integration_openai" + "homepage": "https://github.com/nextcloud/integration_openai", + "licenses": [ + "agpl" + ] }, "integration_paperless": { - "hash": "sha256-3d3EgRCG4H5EcnQ3kmbVSEIsBNgrnuQA9pzdbiNtLyM=", + "hash": "sha256-ARjs8cCUJICJaZiMIIt/lYk15WlXzzRqAQBWwax6HY4=", "url": "https://github.com/nextcloud-releases/integration_paperless/releases/download/v1.0.3/integration_paperless-v1.0.3.tar.gz", "version": "1.0.3", "description": "Integration with the [Paperless](https://docs.paperless-ngx.com) Document Management System.\nIt adds a file action menu item that can be used to upload a file from your Nextcloud Files to Paperless.", - "homepage": "" + "homepage": "", + "licenses": [ + "agpl" + ] }, "mail": { - "hash": "sha256-zLKTXqXTKyCRrETjKTJzO84QdYar/4zjUrbvT0aWfx0=", - "url": "https://github.com/nextcloud-releases/mail/releases/download/v3.7.5/mail-v3.7.5.tar.gz", - "version": "3.7.5", + "hash": "sha256-tK3RkfREo9bwocO5xfeRGfeOSdXrZzINZEgHjsWe044=", + "url": "https://github.com/nextcloud-releases/mail/releases/download/v3.7.6/mail-v3.7.6.tar.gz", + "version": "3.7.6", "description": "**💌 A mail app for Nextcloud**\n\n- **🚀 Integration with other Nextcloud apps!** Currently Contacts, Calendar & Files – more to come.\n- **📥 Multiple mail accounts!** Personal and company account? No problem, and a nice unified inbox. Connect any IMAP account.\n- **🔒 Send & receive encrypted mails!** Using the great [Mailvelope](https://mailvelope.com) browser extension.\n- **🙈 We’re not reinventing the wheel!** Based on the great [Horde](https://horde.org) libraries.\n- **📬 Want to host your own mail server?** We do not have to reimplement this as you could set up [Mail-in-a-Box](https://mailinabox.email)!\n\n## Ethical AI Rating\n\n### Priority Inbox\n\nPositive:\n* The software for training and inferencing of this model is open source.\n* The model is created and trained on-premises based on the user's own data.\n* The training data is accessible to the user, making it possible to check or correct for bias or optimise the performance and CO2 usage.\n\n### Thread Summaries (opt-in)\n\n**Rating:** 🟢/🟡/🟠/🔴\n\nThe rating depends on the installed text processing backend. See [the rating overview](https://docs.nextcloud.com/server/latest/admin_manual/ai/index.html) for details.\n\nLearn more about the Nextcloud Ethical AI Rating [in our blog](https://nextcloud.com/blog/nextcloud-ethical-ai-rating/).", - "homepage": "https://github.com/nextcloud/mail#readme" + "homepage": "https://github.com/nextcloud/mail#readme", + "licenses": [ + "agpl" + ] }, "maps": { - "hash": "sha256-LOQBR3LM7artg9PyD8JFVO/FKVnitALDulXelvPQFb8=", + "hash": "sha256-BmXs6Oepwnm+Cviy4awm3S8P9AiJTt1BnAQNb4TxVYE=", "url": "https://github.com/nextcloud/maps/releases/download/v1.4.0/maps-1.4.0.tar.gz", "version": "1.4.0", "description": "**The whole world fits inside your cloud!**\n\n- **🗺 Beautiful map:** Using [OpenStreetMap](https://www.openstreetmap.org) and [Leaflet](https://leafletjs.com), you can choose between standard map, satellite, topographical, dark mode or even watercolor! 🎨\n- **⭐ Favorites:** Save your favorite places, privately! Sync with [GNOME Maps](https://github.com/nextcloud/maps/issues/30) and mobile apps is planned.\n- **🧭 Routing:** Possible using either [OSRM](http://project-osrm.org), [GraphHopper](https://www.graphhopper.com) or [Mapbox](https://www.mapbox.com).\n- **🖼 Photos on the map:** No more boring slideshows, just show directly where you were!\n- **🙋 Contacts on the map:** See where your friends live and plan your next visit.\n- **📱 Devices:** Lost your phone? Check the map!\n- **〰 Tracks:** Load GPS tracks or past trips. Recording with [PhoneTrack](https://f-droid.org/en/packages/net.eneiluj.nextcloud.phonetrack/) or [OwnTracks](https://owntracks.org) is planned.", - "homepage": "https://github.com/nextcloud/maps" + "homepage": "https://github.com/nextcloud/maps", + "licenses": [ + "agpl" + ] }, "memories": { - "hash": "sha256-YGDyzBjeSAHI/+OdUnJNhRODv+6c3XZjKyJX/7xNo5Q=", - "url": "https://github.com/pulsejet/memories/releases/download/v7.3.1-rc.3/memories.tar.gz", - "version": "7.3.1-rc.3", + "hash": "sha256-tzxeffvwMwthvBRG+/cLCXZkVS32rlf5v7XOKTbGoOo=", + "url": "https://github.com/pulsejet/memories/releases/download/v7.3.1/memories.tar.gz", + "version": "7.3.1", "description": "# Memories: Photo Management for Nextcloud\r\n\r\nMemories is a *batteries-included* photo management solution for Nextcloud with advanced features including:\r\n\r\n- **📸 Timeline**: Sort photos and videos by date taken, parsed from Exif data.\r\n- **⏪ Rewind**: Jump to any time in the past instantly and relive your memories.\r\n- **🤖 AI Tagging**: Group photos by people and objects, powered by [recognize](https://github.com/nextcloud/recognize) and [facerecognition](https://github.com/matiasdelellis/facerecognition).\r\n- **🖼️ Albums**: Create albums to group photos and videos together. Then share these albums with others.\r\n- **🫱🏻‍🫲🏻 External Sharing**: Share photos and videos with people outside of your Nextcloud instance.\r\n- **📱 Mobile Support**: Work from any device, of any shape and size through the web app.\r\n- **✏️ Edit Metadata**: Edit dates and other metadata on photos quickly and in bulk.\r\n- **📦 Archive**: Store photos you don't want to see in your timeline in a separate folder.\r\n- **📹 Video Transcoding**: Transcode videos and use HLS for maximal performance.\r\n- **🗺️ Map**: View your photos on a map, tagged with accurate reverse geocoding.\r\n- **📦 Migration**: Migrate easily from Nextcloud Photos and Google Takeout.\r\n- **⚡️ Performance**: Do all this very fast.\r\n\r\n## 🚀 Installation\r\n\r\n1. Install the app from the Nextcloud app store (try a demo [here](https://demo.memories.gallery/apps/memories/)).\r\n1. Perform the recommended [configuration steps](https://memories.gallery/config/).\r\n1. Run `php occ memories:index` to generate metadata indices for existing photos.\r\n1. Open the 📷 Memories app in Nextcloud and set the directory containing your photos.", - "homepage": "https://memories.gallery" + "homepage": "https://memories.gallery", + "licenses": [ + "agpl" + ] }, "music": { - "hash": "sha256-lUiPF2FpBewtbsNqHgewaJ5mRqmfBbkqd8RP9sGCVp0=", + "hash": "sha256-RnTyQYCbmkHDZhtonpvbKLUM3n93u53IhknyTrNGh9Y=", "url": "https://github.com/owncloud/music/releases/download/v2.0.0/music_2.0.0_for_nextcloud.tar.gz", "version": "2.0.0", - "description": "A stand-alone music player app and a \"lite\" player for the Files app\n\n- On modern browsers, supports audio types .mp3, .ogg, .m4a, .m4b, .flac, .wav, and more\n- Playlist support with import from m3u, m3u8, and pls files\n- Browse by artists, albums, genres, or folders\n- Gapless play\n- Filter the shown content with the search function\n- Play internet radio and podcast channels\n- Setup Last.fm connection to see background information on artists, albums, and songs\n- Control with media control keys on the keyboard or OS\n- The app can handle libraries consisting of thousands of albums and tens of thousands of songs\n- Includes a server backend compatible with the Subsonic and Ampache protocols, allowing playback and browsing of your library on various external apps e.g. on Android or iPhone", - "homepage": "https://github.com/owncloud/music" - }, - "news": { - "hash": "sha256-AhTZGQCLeNgsRBF5w3+Lf9JtNN4D1QncB5t+odU+XUc=", - "url": "https://github.com/nextcloud/news/releases/download/25.0.0-alpha8/news.tar.gz", - "version": "25.0.0-alpha8", - "description": "📰 A RSS/Atom Feed reader App for Nextcloud\n\n- 📲 Synchronize your feeds with multiple mobile or desktop [clients](https://nextcloud.github.io/news/clients/)\n- 🔄 Automatic updates of your news feeds\n- 🆓 Free and open source under AGPLv3, no ads or premium functions\n\n**System Cron is currently required for this app to work**\n\nRequirements can be found [here](https://nextcloud.github.io/news/install/#dependencies)\n\nThe Changelog is available [here](https://github.com/nextcloud/news/blob/master/CHANGELOG.md)\n\nCreate a [bug report](https://github.com/nextcloud/news/issues/new/choose)\n\nCreate a [feature request](https://github.com/nextcloud/news/discussions/new)\n\nReport a [feed issue](https://github.com/nextcloud/news/discussions/new)", - "homepage": "https://github.com/nextcloud/news" + "description": "A stand-alone music player app and a \"lite\" player for the Files app\r\n\r\n- On modern browsers, supports audio types .mp3, .ogg, .m4a, .m4b, .flac, .wav, and more\r\n- Playlist support with import from m3u, m3u8, and pls files\r\n- Browse by artists, albums, genres, or folders\r\n- Gapless play\r\n- Filter the shown content with the search function\r\n- Play internet radio and podcast channels\r\n- Setup Last.fm connection to see background information on artists, albums, and songs\r\n- Control with media control keys on the keyboard or OS\r\n- The app can handle libraries consisting of thousands of albums and tens of thousands of songs\r\n- Includes a server backend compatible with the Subsonic and Ampache protocols, allowing playback and browsing of your library on various external apps e.g. on Android or iPhone", + "homepage": "https://github.com/owncloud/music", + "licenses": [ + "agpl" + ] }, "notes": { - "hash": "sha256-I2LsDjZdfFP5okBEIJRJcUMS8V5O9zq0ppMLA0SMI8Y=", - "url": "https://github.com/nextcloud-releases/notes/releases/download/v4.9.4/notes-v4.9.4.tar.gz", - "version": "4.9.4", + "hash": "sha256-T7FUmazib5LZVsno/VN/NZYYJetTXcG89njamSgJ6Iw=", + "url": "https://github.com/nextcloud-releases/notes/releases/download/v4.10.1/notes-v4.10.1.tar.gz", + "version": "4.10.1", "description": "The Notes app is a distraction free notes taking app for [Nextcloud](https://www.nextcloud.com/). It provides categories for better organization and supports formatting using [Markdown](https://en.wikipedia.org/wiki/Markdown) syntax. Notes are saved as files in your Nextcloud, so you can view and edit them with every Nextcloud client. Furthermore, a separate [REST API](https://github.com/nextcloud/notes/blob/master/docs/api/README.md) allows for an easy integration into third-party apps (currently, there are notes apps for [Android](https://github.com/nextcloud/notes-android), [iOS](https://github.com/nextcloud/notes-ios) and the [console](https://git.danielmoch.com/nncli/about) which allow convenient access to your Nextcloud notes). Further features include marking notes as favorites.", - "homepage": "https://github.com/nextcloud/notes" + "homepage": "https://github.com/nextcloud/notes", + "licenses": [ + "agpl" + ] }, "notify_push": { - "hash": "sha256-EBklvqvXcwW7ObuskDk5A63GIQ2WGM5/+LJnjtt4SJM=", - "url": "https://github.com/nextcloud-releases/notify_push/releases/download/v0.6.12/notify_push-v0.6.12.tar.gz", - "version": "0.6.12", + "hash": "sha256-5VjDDU8YpSDHSV45GKP+YDSd9bq1F3/qLppaLiBzjy4=", + "url": "https://github.com/nextcloud-releases/notify_push/releases/download/v0.7.0/notify_push-v0.7.0.tar.gz", + "version": "0.7.0", "description": "Push update support for desktop app.\n\nOnce the app is installed, the push binary needs to be setup. You can either use the setup wizard with `occ notify_push:setup` or see the [README](http://github.com/nextcloud/notify_push) for detailed setup instructions", - "homepage": "" + "homepage": "", + "licenses": [ + "agpl" + ] }, "onlyoffice": { - "hash": "sha256-9H/ASllarwmSEWCpPGmm6qy7NgSt3NXzJgBxz5v0Db8=", + "hash": "sha256-rHUM3HVY3INPAtTqYxpm9V3Ad8VTl+Wd2S7xAj0CJko=", "url": "https://github.com/ONLYOFFICE/onlyoffice-nextcloud/releases/download/v9.3.0/onlyoffice.tar.gz", "version": "9.3.0", "description": "ONLYOFFICE connector allows you to view, edit and collaborate on text documents, spreadsheets and presentations within Nextcloud using ONLYOFFICE Docs. This will create a new Edit in ONLYOFFICE action within the document library for Office documents. This allows multiple users to co-author documents in real time from the familiar web interface and save the changes back to your file storage.", - "homepage": "https://www.onlyoffice.com" + "homepage": "https://www.onlyoffice.com", + "licenses": [ + "agpl" + ] }, "phonetrack": { - "hash": "sha256-V92f+FiS5vZEkq15A51pHoDpUOBfUOEVIcsXdP/rSMQ=", + "hash": "sha256-zQt+3t86HZJVT/wiETHkPdTwV6Qy+iNkH3/THtTe1Xs=", "url": "https://github.com/julien-nc/phonetrack/releases/download/v0.8.1/phonetrack-0.8.1.tar.gz", "version": "0.8.1", "description": "# PhoneTrack Nextcloud application\n\n📱 PhoneTrack is a Nextcloud application to track and store mobile device's locations.\n\n🗺 It receives information from mobile phone's logging apps and displays it dynamically on a map.\n\n🌍 Help us to translate this app on [PhoneTrack Crowdin project](https://crowdin.com/project/phonetrack).\n\n⚒ Check out other ways to help in the [contribution guidelines](https://gitlab.com/eneiluj/phonetrack-oc/blob/master/CONTRIBUTING.md).\n\nHow to use PhoneTrack :\n\n* Create a tracking session.\n* Give the logging link\\* to the mobile devices. Choose the [logging method](https://gitlab.com/eneiluj/phonetrack-oc/wikis/userdoc#logging-methods) you prefer.\n* Watch the session's devices location in real time (or not) in PhoneTrack or share it with public pages.\n\n(\\*) Don't forget to set the device name in the link (rather than in the logging app settings). Replace \"yourname\" with the desired device name. Setting the device name in logging app settings only works with Owntracks, Traccar and OpenGTS.\n\nOn PhoneTrack main page, while watching a session, you can :\n\n* 📍 Display location history\n* ⛛ Filter points\n* ✎ Manually edit/add/delete points\n* ✎ Edit devices (rename, change colour/shape, move to another session)\n* ⛶ Define geofencing zones for devices\n* ⚇ Define proximity alerts for device pairs\n* 🖧 Share a session to other Nextcloud users or with a public link (read-only)\n* 🔗 Generate public share links with optional restrictions (filters, device name, last positions only, geofencing simplification)\n* 🖫 Import/export a session in GPX format (one file with one track per device or one file per device)\n* 🗠 Display sessions statistics\n* 🔒 [Reserve a device name](https://gitlab.com/eneiluj/phonetrack-oc/wikis/userdoc#device-name-reservation) to make sure only authorised user can log with this name\n* 🗓 Toggle session auto export and auto purge (daily/weekly/monthly)\n* ◔ Choose what to do when point number quota is reached (block logging or delete oldest point)\n\nPublic page and public filtered page work like main page except there is only one session displayed, everything is read-only and there is no need to be logged in.\n\nThis app is tested on Nextcloud 17 with Firefox 57+ and Chromium.\n\nThis app is compatible with theming colours and accessibility themes !\n\nThis app is under development.\n\n## Install\n\nSee the [AdminDoc](https://gitlab.com/eneiluj/phonetrack-oc/wikis/admindoc) for installation details.\n\nCheck [CHANGELOG](https://gitlab.com/eneiluj/phonetrack-oc/blob/master/CHANGELOG.md#change-log) file to see what's new and what's coming in next release.\n\nCheck [AUTHORS](https://gitlab.com/eneiluj/phonetrack-oc/blob/master/AUTHORS.md#authors) file to see complete list of authors.\n\n## Known issues\n\n* PhoneTrack **now works** with Nextcloud group restriction activated. See [admindoc](https://gitlab.com/eneiluj/phonetrack-oc/wikis/admindoc#issue-with-phonetrack-restricted-to-some-groups-in-nextcloud).\n\nAny feedback will be appreciated.\n\n## Donation\n\nI develop this app during my free time.\n\n* [Donate with Paypal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66PALMY8SF5JE) (you don't need a paypal account)\n* [Donate with Liberapay : ![Donate using Liberapay](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/eneiluj/donate)", - "homepage": "https://github.com/julien-nc/phonetrack" + "homepage": "https://github.com/julien-nc/phonetrack", + "licenses": [ + "agpl" + ] }, "polls": { - "hash": "sha256-0K8I86calcBC4BXmuTpVENkUePDsPQxJoxWcgG8vlL4=", - "url": "https://github.com/nextcloud/polls/releases/download/v7.1.3/polls.tar.gz", - "version": "7.1.3", + "hash": "sha256-Lya2mkgOIG68owLws561/tdR3WWrj0RI5ZP5FTX7FdI=", + "url": "https://github.com/nextcloud/polls/releases/download/v7.1.4/polls.tar.gz", + "version": "7.1.4", "description": "A polls app, similar to Doodle/Dudle with the possibility to restrict access (members, certain groups/users, hidden and public).", - "homepage": "https://github.com/nextcloud/polls" + "homepage": "https://github.com/nextcloud/polls", + "licenses": [ + "agpl" + ] }, "previewgenerator": { - "hash": "sha256-oYD8oK0jLZjv8eJZcBlSVa0CzY1F8Wipx82ofsmbBRQ=", - "url": "https://github.com/nextcloud-releases/previewgenerator/releases/download/v5.5.0/previewgenerator-v5.5.0.tar.gz", - "version": "5.5.0", + "hash": "sha256-hjlwZfgfoH3iqbtJrPovgBC0Tu/vBhFqC752DZvndFY=", + "url": "https://github.com/nextcloud-releases/previewgenerator/releases/download/v5.6.0/previewgenerator-v5.6.0.tar.gz", + "version": "5.6.0", "description": "The Preview Generator app allows admins to pre-generate previews. The app listens to edit events and stores this information. Once a cron job is triggered it will generate start preview generation. This means that you can better utilize your system by pre-generating previews when your system is normally idle and thus putting less load on your machine when the requests are actually served.\n\nThe app does not replace on demand preview generation so if a preview is requested before it is pre-generated it will still be shown.\nThe first time you install this app, before using a cron job, you properly want to generate all previews via:\n**./occ preview:generate-all -vvv**\n\n**Important**: To enable pre-generation of previews you must add **php /var/www/nextcloud/occ preview:pre-generate** to a system cron job that runs at times of your choosing.", - "homepage": "https://github.com/nextcloud/previewgenerator" + "homepage": "https://github.com/nextcloud/previewgenerator", + "licenses": [ + "agpl" + ] }, "qownnotesapi": { - "hash": "sha256-vbfe+AquRAbWcIofVMlUXUDxXGnaf9emJV3VpyDZjHg=", + "hash": "sha256-k1Sm0ZO9qx9KmAGCGYupcLeMSllKUmOlPSUgbWVrqI4=", "url": "https://github.com/pbek/qownnotesapi/releases/download/v24.4.0/qownnotesapi-nc.tar.gz", "version": "24.4.0", "description": "QOwnNotesAPI is the Nextcloud/ownCloud API for [QOwnNotes](http://www.qownnotes.org), the open source notepad for Linux, macOS and Windows, that works together with the notes application of Nextcloud/ownCloud.\n\nThe only purpose of this App is to provide API access to your Nextcloud/ownCloud server for your QOwnNotes desktop installation, you cannot use this App for anything else, if you don't have QOwnNotes installed on your desktop computer!", - "homepage": "https://github.com/pbek/qownnotesapi" + "homepage": "https://github.com/pbek/qownnotesapi", + "licenses": [ + "agpl" + ] }, "registration": { - "hash": "sha256-dDaQHyHdkkd8ZammLdck2HNGqqfEaunwevdPzbWzB8Y=", + "hash": "sha256-4MLNKwYx/3hqnrcF2TpTCKOMveWINvWo71aOXcBO79E=", "url": "https://github.com/nextcloud-releases/registration/releases/download/v2.4.0/registration-v2.4.0.tar.gz", "version": "2.4.0", "description": "User registration\n\nThis app allows users to register a new account.\n\n# Features\n\n- Add users to a given group\n- Allow-list with email domains (including wildcard) to register with\n- Administrator will be notified via email for new user creation or require approval\n- Supports Nextcloud's Client Login Flow v1 and v2 - allowing registration in the mobile Apps and Desktop clients\n\n# Web form registration flow\n\n1. User enters their email address\n2. Verification link is sent to the email address\n3. User clicks on the verification link\n4. User is lead to a form where they can choose their username and password\n5. New account is created and is logged in automatically", - "homepage": "https://github.com/nextcloud/registration" + "homepage": "https://github.com/nextcloud/registration", + "licenses": [ + "agpl" + ] }, "richdocuments": { - "hash": "sha256-eoOBZGK7XQuP1ZxEcCSBQYe4bYf14/8OgtFOHUQnPXQ=", + "hash": "sha256-ErJ5Hi2aDQATE6dUasfgbxxYzvsk8Unlz3vT92vPcUg=", "url": "https://github.com/nextcloud-releases/richdocuments/releases/download/v8.4.3/richdocuments-v8.4.3.tar.gz", "version": "8.4.3", "description": "This application can connect to a Collabora Online (or other) server (WOPI-like Client). Nextcloud is the WOPI Host. Please read the documentation to learn more about that.\n\nYou can also edit your documents off-line with the Collabora Office app from the **[Android](https://play.google.com/store/apps/details?id=com.collabora.libreoffice)** and **[iOS](https://apps.apple.com/us/app/collabora-office/id1440482071)** store.", - "homepage": "https://collaboraoffice.com/" + "homepage": "https://collaboraoffice.com/", + "licenses": [ + "agpl" + ] }, "spreed": { - "hash": "sha256-Ab978xb8cwTmGRoA8JTw+IVbdvRb1F3ndeW5ljpisVU=", + "hash": "sha256-8PuYhxqP4594+Tt1lwGw93K2/dZwm97hSw13J0T3lhc=", "url": "https://github.com/nextcloud-releases/spreed/releases/download/v19.0.7/spreed-v19.0.7.tar.gz", "version": "19.0.7", "description": "Chat, video & audio-conferencing using WebRTC\n\n* 💬 **Chat** Nextcloud Talk comes with a simple text chat, allowing you to share or upload files from your Nextcloud Files app or local device and mention other participants.\n* 👥 **Private, group, public and password protected calls!** Invite someone, a whole group or send a public link to invite to a call.\n* 🌐 **Federated chats** Chat with other Nextcloud users on their servers\n* 💻 **Screen sharing!** Share your screen with the participants of your call.\n* 🚀 **Integration with other Nextcloud apps** like Files, Calendar, User status, Dashboard, Flow, Maps, Smart picker, Contacts, Deck, and many more.\n* 🌉 **Sync with other chat solutions** With [Matterbridge](https://github.com/42wim/matterbridge/) being integrated in Talk, you can easily sync a lot of other chat solutions to Nextcloud Talk and vice-versa.", - "homepage": "https://github.com/nextcloud/spreed" + "homepage": "https://github.com/nextcloud/spreed", + "licenses": [ + "agpl" + ] }, "tasks": { - "hash": "sha256-L68ughpLad4cr5utOPwefu2yoOgRvnJibqfKmarGXLw=", + "hash": "sha256-HitYQcdURUHujRNMF0jKQzvSO93bItisI0emq0yw8p4=", "url": "https://github.com/nextcloud/tasks/releases/download/v0.16.0/tasks.tar.gz", "version": "0.16.0", "description": "Once enabled, a new Tasks menu will appear in your Nextcloud apps menu. From there you can add and delete tasks, edit their title, description, start and due dates and mark them as important. Tasks can be shared between users. Tasks can be synchronized using CalDav (each task list is linked to an Nextcloud calendar, to sync it to your local client: Thunderbird, Evolution, KDE Kontact, iCal … - just add the calendar as a remote calendar in your client). You can download your tasks as ICS files using the download button for each calendar.", - "homepage": "https://github.com/nextcloud/tasks/" + "homepage": "https://github.com/nextcloud/tasks/", + "licenses": [ + "agpl" + ] }, "twofactor_nextcloud_notification": { - "hash": "sha256-4wg1Ha9Dkowck97UxCfzu+jnTpumXOB8to0aHk0072I=", - "url": "https://github.com/nextcloud-releases/twofactor_nextcloud_notification/releases/download/v3.9.0/twofactor_nextcloud_notification-v3.9.0.tar.gz", - "version": "3.9.0", + "hash": "sha256-P1yomRZJV0p01qXlSbiA9TvV7OuIUNVw/fHNWAdkfTg=", + "url": "https://github.com/nextcloud-releases/twofactor_nextcloud_notification/releases/download/v3.10.0/twofactor_nextcloud_notification-v3.10.0.tar.gz", + "version": "3.10.0", "description": "Allows using any of your logged in devices as second factor", - "homepage": "https://github.com/nextcloud/twofactor_nextcloud_notification" + "homepage": "https://github.com/nextcloud/twofactor_nextcloud_notification", + "licenses": [ + "agpl" + ] }, "twofactor_webauthn": { - "hash": "sha256-+hG5eJUMMKJUmfBnU4BhEf+6QnTAw4TXi4Ij18z3Ru8=", - "url": "https://github.com/nextcloud-releases/twofactor_webauthn/releases/download/v1.4.0-rc.1/twofactor_webauthn-v1.4.0-rc.1.tar.gz", - "version": "1.4.0-rc.1", + "hash": "sha256-2qvP6xZO7ZdCZkOSP4FNqyjZ0GMcw/FDSy67JDrlM04=", + "url": "https://github.com/nextcloud-releases/twofactor_webauthn/releases/download/v1.4.0/twofactor_webauthn-v1.4.0.tar.gz", + "version": "1.4.0", "description": "A two-factor provider for WebAuthn devices", - "homepage": "https://github.com/nextcloud/twofactor_webauthn#readme" + "homepage": "https://github.com/nextcloud/twofactor_webauthn#readme", + "licenses": [ + "agpl" + ] }, "unroundedcorners": { - "hash": "sha256-DivF+Ps52rzcEN7rOXR2au1qhbBLHCW6DyCjMM/7CJo=", + "hash": "sha256-sdgc2ENnRkcQnopbqsn/FHYDoiKqeKfYEontFy0cYU4=", "url": "https://github.com/OliverParoczai/nextcloud-unroundedcorners/releases/download/v1.1.3/unroundedcorners-v1.1.3.tar.gz", "version": "1.1.3", "description": "# Unrounded Corners\nA Nextcloud app that restores the corners of buttons and widgets to their original looks by unrounding them.", - "homepage": "https://github.com/OliverParoczai/nextcloud-unroundedcorners" + "homepage": "https://github.com/OliverParoczai/nextcloud-unroundedcorners", + "licenses": [ + "agpl" + ] }, "user_oidc": { - "hash": "sha256-oaN4nYIKzP7r9pB/6szZnkR+liSMARd3Nb8aM3m9WeE=", - "url": "https://github.com/nextcloud-releases/user_oidc/releases/download/v5.0.3/user_oidc-v5.0.3.tar.gz", - "version": "5.0.3", + "hash": "sha256-8e4xQjOWSVAps6dg4jvN3MGVSOhaOgjPHPpTOgXKFJY=", + "url": "https://github.com/nextcloud-releases/user_oidc/releases/download/v6.0.1/user_oidc-v6.0.1.tar.gz", + "version": "6.0.1", "description": "Allows flexible configuration of an OIDC server as Nextcloud login user backend.", - "homepage": "https://github.com/nextcloud/user_oidc" + "homepage": "https://github.com/nextcloud/user_oidc", + "licenses": [ + "agpl" + ] }, "user_saml": { - "hash": "sha256-LLjozmU1f8K4KvdKotdTPh3ATG3h2xib/wDP5HGrBsY=", + "hash": "sha256-+oeTDRomjmfSLIM6eyP6MHg+qtOs8IPqIWUzBofahYQ=", "url": "https://github.com/nextcloud-releases/user_saml/releases/download/v6.2.0/user_saml-v6.2.0.tar.gz", "version": "6.2.0", "description": "Using the SSO & SAML app of your Nextcloud you can make it easily possible to integrate your existing Single-Sign-On solution with Nextcloud. In addition, you can use the Nextcloud LDAP user provider to keep the convenience for users. (e.g. when sharing)\nThe following providers are supported and tested at the moment:\n\n* **SAML 2.0**\n\t* OneLogin\n\t* Shibboleth\n\t* Active Directory Federation Services (ADFS)\n\n* **Authentication via Environment Variable**\n\t* Kerberos (mod_auth_kerb)\n\t* Any other provider that authenticates using the environment variable\n\nWhile theoretically any other authentication provider implementing either one of those standards is compatible, we like to note that they are not part of any internal test matrix.", - "homepage": "https://github.com/nextcloud/user_saml" + "homepage": "https://github.com/nextcloud/user_saml", + "licenses": [ + "agpl" + ] } } diff --git a/pkgs/servers/nextcloud/packages/default.nix b/pkgs/servers/nextcloud/packages/default.nix index 9c12619968af..ad07dd4a20da 100644 --- a/pkgs/servers/nextcloud/packages/default.nix +++ b/pkgs/servers/nextcloud/packages/default.nix @@ -19,7 +19,8 @@ let packages = self: appName = pname; appVersion = data.version; license = appBaseDefs.${pname}; - inherit (data) url sha256 description homepage; + unpack = false; + inherit (data) url hash description homepage; }) {}; } // lib.mapAttrs (type: pkgs: From 5c812046c3b38d1c4775fed2e116e0b4537be800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 1 Aug 2024 04:05:29 -0700 Subject: [PATCH 120/226] nextcloud-notify_push: 0.6.12 -> 0.7.0 Diff: https://github.com/nextcloud/notify_push/compare/v0.6.12...v0.7.0 Changelog: https://github.com/nextcloud/notify_push/releases/tag/v0.7.0 --- pkgs/servers/nextcloud/notify_push.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/nextcloud/notify_push.nix b/pkgs/servers/nextcloud/notify_push.nix index 5efde0fab0e5..c84f17086b2c 100644 --- a/pkgs/servers/nextcloud/notify_push.nix +++ b/pkgs/servers/nextcloud/notify_push.nix @@ -6,16 +6,16 @@ rustPlatform.buildRustPackage rec { pname = "notify_push"; - version = "0.6.12"; + version = "0.7.0"; src = fetchFromGitHub { owner = "nextcloud"; repo = pname; rev = "v${version}"; - hash = "sha256-Wbrkr9DWOQpOKAp9X/PzU8alDDrDapX/1hE+ObbD/nc="; + hash = "sha256-QHVWiH6qkwQay0wffoyDUyVxgxzNp10ieYIsdqoEdCM="; }; - cargoHash = "sha256-4bgbhtqdb1IVsf0yIcZOXZCVdRHjdvhZe/VCab0kuMk="; + cargoHash = "sha256-HwE/ql8rJcGIINy+hNnpaTFEJqbmuUDrIvVI8kCpfQ8="; passthru = rec { test_client = rustPlatform.buildRustPackage { @@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec { buildAndTestSubdir = "test_client"; - cargoHash = "sha256-Z7AX/PXfiUHEV/M+i/2qne70tcZnnPj/iNT+DNMECS8="; + cargoHash = "sha256-KybnPzCM9mLF55s5eZ3qr5GRcaaYFpEdNklWEo/72Ts="; meta = meta // { mainProgram = "test_client"; From 994cf812fc642d3e0a31eb39a78e152844ca2e1e Mon Sep 17 00:00:00 2001 From: Peter Kling Date: Sun, 14 Jul 2024 20:15:37 +0200 Subject: [PATCH 121/226] maintainers: add pitkling --- maintainers/maintainer-list.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index ec92f8cba451..3dfe66345892 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -15887,6 +15887,11 @@ githubId = 1830959; name = "Piper McCorkle"; }; + pitkling = { + github = "pitkling"; + githubId = 1018801; + name = "Peter Kling"; + }; piturnah = { email = "peterhebden6@gmail.com"; github = "Piturnah"; From 25e042c3d418bf36ea7f662bc3947bb082566fb8 Mon Sep 17 00:00:00 2001 From: Peter Kling Date: Tue, 9 Jul 2024 21:39:22 +0200 Subject: [PATCH 122/226] libfprint-2-tod1-broadcom: init at 5.12.018 --- .../li/libfprint-2-tod1-broadcom/package.nix | 85 +++++++++++++++++++ .../libfprint-2-tod1-broadcom/wrapper-lib.c | 23 +++++ 2 files changed, 108 insertions(+) create mode 100644 pkgs/by-name/li/libfprint-2-tod1-broadcom/package.nix create mode 100644 pkgs/by-name/li/libfprint-2-tod1-broadcom/wrapper-lib.c diff --git a/pkgs/by-name/li/libfprint-2-tod1-broadcom/package.nix b/pkgs/by-name/li/libfprint-2-tod1-broadcom/package.nix new file mode 100644 index 000000000000..0a9da8a0cb1a --- /dev/null +++ b/pkgs/by-name/li/libfprint-2-tod1-broadcom/package.nix @@ -0,0 +1,85 @@ +{ + autoPatchelfHook, + fetchzip, + lib, + libfprint-tod, + openssl, + patchelfUnstable, # have to use patchelfUnstable to support --rename-dynamic-symbols + stdenv, +}: + +# Based on ideas from (using a wrapper library to redirect fopen() calls to firmware files): +# * https://tapesoftware.net/replace-symbol/ +# * https://github.com/NixOS/nixpkgs/pull/260715 +let + pname = "libfprint-2-tod1-broadcom"; + version = "5.12.018"; + + src = fetchzip { + url = "http://dell.archive.canonical.com/updates/pool/public/libf/${pname}/${pname}_${version}.orig.tar.gz"; + hash = "sha256-0C2PpYpEJNrU+8NT95w4QV0J5nHQisMY94Czw3jQOzw="; + pname = "${pname}-unpacked"; + inherit version; + }; + + # wraps `fopen()` for finding firmware files + wrapperLibName = "wrapper-lib.so"; + wrapperLib = stdenv.mkDerivation { + pname = "${pname}-wrapper-lib"; + inherit version; + + src = ./.; + + postPatch = '' + substitute wrapper-lib.c lib.c \ + --subst-var-by to "${src}/var/lib/fprint/fw" + cc -fPIC -shared lib.c -o ${wrapperLibName} + ''; + + installPhase = '' + runHook preInstall + install -D -t $out/lib ${wrapperLibName} + runHook postInstall + ''; + }; +in +stdenv.mkDerivation { + inherit src pname version; + + buildInputs = [ + libfprint-tod + openssl + wrapperLib + ]; + + nativeBuildInputs = [ + autoPatchelfHook + patchelfUnstable + ]; + + installPhase = '' + runHook preInstall + install -D -t "$out/lib/libfprint-2/tod-1/" -m 644 -v usr/lib/x86_64-linux-gnu/libfprint-2/tod-1/libfprint-2-tod-1-broadcom.so + install -D -t "$out/lib/udev/rules.d/" -m 644 -v lib/udev/rules.d/60-libfprint-2-device-broadcom.rules + runHook postInstall + ''; + + postFixup = '' + echo fopen64 fopen_wrapper > fopen_name_map + patchelf \ + --rename-dynamic-symbols fopen_name_map \ + --add-needed ${wrapperLibName} \ + "$out/lib/libfprint-2/tod-1/libfprint-2-tod-1-broadcom.so" + ''; + + passthru.driverPath = "/lib/libfprint-2/tod-1"; + + meta = with lib; { + description = "Broadcom driver module for libfprint-2-tod Touch OEM Driver (from Dell)"; + homepage = "http://dell.archive.canonical.com/updates/pool/public/libf/libfprint-2-tod1-broadcom/"; + license = licenses.unfree; + maintainers = with maintainers; [ pitkling ]; + platforms = [ "x86_64-linux" ]; + sourceProvenance = with sourceTypes; [ binaryNativeCode ]; + }; +} diff --git a/pkgs/by-name/li/libfprint-2-tod1-broadcom/wrapper-lib.c b/pkgs/by-name/li/libfprint-2-tod1-broadcom/wrapper-lib.c new file mode 100644 index 000000000000..c6909ae55a52 --- /dev/null +++ b/pkgs/by-name/li/libfprint-2-tod1-broadcom/wrapper-lib.c @@ -0,0 +1,23 @@ +#include +#include +#include + +static const char from[] = "/var/lib/fprint/fw"; +static const char to[] = "@to@"; + +FILE* fopen_wrapper(const char* fn, const char* mode) { + size_t fn_len = strlen(fn); + size_t from_len = strlen(from); + if (fn_len > from_len && memcmp(fn, from, from_len) == 0) { + size_t to_len = strlen(to); + char* rewritten = calloc(fn_len + (to_len - from_len) + 1, 1); + memcpy(rewritten, to, to_len); + memcpy(rewritten + to_len, fn + from_len, fn_len - from_len); + + printf("fopen_wrapper.c: Replacing path '%s' with '%s'\n", fn, rewritten); + FILE* result = fopen(rewritten, mode); + free(rewritten); + return result; + } + return fopen(fn, mode); +} From 3399a775842df763632593a374937039cf4e004a Mon Sep 17 00:00:00 2001 From: Peter Kling Date: Thu, 1 Aug 2024 14:36:31 +0200 Subject: [PATCH 123/226] avoid unnecessary files in wrapper-lib's source directory in the nix store --- .../by-name/li/libfprint-2-tod1-broadcom/package.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/li/libfprint-2-tod1-broadcom/package.nix b/pkgs/by-name/li/libfprint-2-tod1-broadcom/package.nix index 0a9da8a0cb1a..449f7aba3702 100644 --- a/pkgs/by-name/li/libfprint-2-tod1-broadcom/package.nix +++ b/pkgs/by-name/li/libfprint-2-tod1-broadcom/package.nix @@ -22,16 +22,22 @@ let inherit version; }; - # wraps `fopen()` for finding firmware files wrapperLibName = "wrapper-lib.so"; + wrapperLibSource = "wrapper-lib.c"; + + # wraps `fopen()` for finding firmware files wrapperLib = stdenv.mkDerivation { pname = "${pname}-wrapper-lib"; inherit version; - src = ./.; + src = builtins.path { + name = "${pname}-source"; + path = ./.; + filter = (path: type: baseNameOf path == wrapperLibSource); + }; postPatch = '' - substitute wrapper-lib.c lib.c \ + substitute ${wrapperLibSource} lib.c \ --subst-var-by to "${src}/var/lib/fprint/fw" cc -fPIC -shared lib.c -o ${wrapperLibName} ''; From cf59de18df4e529d840be27d9ecb53e3a68c97ea Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 21 Jul 2024 13:48:51 +0100 Subject: [PATCH 124/226] harvid: move to `pkgs/by-name` --- .../video/harvid/default.nix => by-name/ha/harvid/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 2 deletions(-) rename pkgs/{tools/video/harvid/default.nix => by-name/ha/harvid/package.nix} (100%) diff --git a/pkgs/tools/video/harvid/default.nix b/pkgs/by-name/ha/harvid/package.nix similarity index 100% rename from pkgs/tools/video/harvid/default.nix rename to pkgs/by-name/ha/harvid/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b210c70cadb0..c35509b0f2a6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3812,8 +3812,6 @@ with pkgs; harsh = callPackage ../applications/misc/harsh { }; - harvid = callPackage ../tools/video/harvid { }; - headset = callPackage ../applications/audio/headset { }; hilbish = callPackage ../shells/hilbish { }; From 6640228da685dc1973b931e34602e8bb229b2462 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 21 Jul 2024 13:49:09 +0100 Subject: [PATCH 125/226] harvid: format with `nixfmt-rfc-style` --- pkgs/by-name/ha/harvid/package.nix | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/ha/harvid/package.nix b/pkgs/by-name/ha/harvid/package.nix index 2860e5f22280..3d0879b15d81 100644 --- a/pkgs/by-name/ha/harvid/package.nix +++ b/pkgs/by-name/ha/harvid/package.nix @@ -1,4 +1,13 @@ -{ lib, stdenv, fetchFromGitHub, fetchpatch, ffmpeg_4, libjpeg, libpng, pkg-config }: +{ + lib, + stdenv, + fetchFromGitHub, + fetchpatch, + ffmpeg_4, + libjpeg, + libpng, + pkg-config, +}: stdenv.mkDerivation rec { pname = "harvid"; @@ -23,9 +32,16 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config ]; - buildInputs = [ ffmpeg_4 libjpeg libpng ]; + buildInputs = [ + ffmpeg_4 + libjpeg + libpng + ]; - makeFlags = [ "DESTDIR=$(out)" "libdir=\"/lib\"" ]; + makeFlags = [ + "DESTDIR=$(out)" + "libdir=\"/lib\"" + ]; postInstall = '' mkdir -p $out/bin @@ -35,8 +51,7 @@ stdenv.mkDerivation rec { ''; meta = with lib; { - description = - "Decodes still images from movie files and serves them via HTTP"; + description = "Decodes still images from movie files and serves them via HTTP"; longDescription = '' harvid's intended use-case is to efficiently provide frame-accurate data and act as second level cache for rendering the video-timeline in Ardour, From 17ee07c43d072e759132e6a5c44980d3ffe8d68d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 1 Aug 2024 16:15:17 +0000 Subject: [PATCH 126/226] irpf: 2024-1.2 -> 2024-1.3 --- pkgs/by-name/ir/irpf/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ir/irpf/package.nix b/pkgs/by-name/ir/irpf/package.nix index ad21b37c5c73..1b4c49e57dd0 100644 --- a/pkgs/by-name/ir/irpf/package.nix +++ b/pkgs/by-name/ir/irpf/package.nix @@ -12,7 +12,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "irpf"; - version = "2024-1.2"; + version = "2024-1.3"; # https://www.gov.br/receitafederal/pt-br/centrais-de-conteudo/download/pgd/dirpf # Para outros sistemas operacionais -> Multi @@ -20,7 +20,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { year = lib.head (lib.splitVersion finalAttrs.version); in fetchzip { url = "https://downloadirpf.receita.fazenda.gov.br/irpf/${year}/irpf/arquivos/IRPF${finalAttrs.version}.zip"; - hash = "sha256-gwYWNnvpGej9B1EyFswYGYXh4i4wiyOG67VN1PWX3A0="; + hash = "sha256-UMzoQSSlmOi7TIqPF0vfeelum5JSa6ne4c7ZFREuDr8="; }; passthru.updateScript = writeScript "update-irpf" '' From e6e55fbe78f041f716c869d3a10be68af9cabef2 Mon Sep 17 00:00:00 2001 From: Peter Kling Date: Thu, 1 Aug 2024 16:02:42 +0200 Subject: [PATCH 127/226] better names for involved nix store paths --- pkgs/by-name/li/libfprint-2-tod1-broadcom/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libfprint-2-tod1-broadcom/package.nix b/pkgs/by-name/li/libfprint-2-tod1-broadcom/package.nix index 449f7aba3702..842f803c0af0 100644 --- a/pkgs/by-name/li/libfprint-2-tod1-broadcom/package.nix +++ b/pkgs/by-name/li/libfprint-2-tod1-broadcom/package.nix @@ -31,9 +31,9 @@ let inherit version; src = builtins.path { - name = "${pname}-source"; + name = "${pname}-wrapper-lib-source"; path = ./.; - filter = (path: type: baseNameOf path == wrapperLibSource); + filter = path: type: baseNameOf path == wrapperLibSource; }; postPatch = '' From e22163d6c9f5f718dc07c8fd13aed742af49e796 Mon Sep 17 00:00:00 2001 From: Emily Date: Thu, 1 Aug 2024 17:02:03 +0100 Subject: [PATCH 128/226] harvid: modernize --- pkgs/by-name/ha/harvid/package.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/ha/harvid/package.nix b/pkgs/by-name/ha/harvid/package.nix index 3d0879b15d81..58d8347cabc4 100644 --- a/pkgs/by-name/ha/harvid/package.nix +++ b/pkgs/by-name/ha/harvid/package.nix @@ -9,14 +9,14 @@ pkg-config, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "harvid"; version = "0.9.0"; src = fetchFromGitHub { owner = "x42"; repo = "harvid"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-qt6aep7iMF8/lnlT2wLqu6LkFDqzdfsGLZvrOlXttG8="; }; @@ -50,7 +50,7 @@ stdenv.mkDerivation rec { rm -r $out/usr ''; - meta = with lib; { + meta = { description = "Decodes still images from movie files and serves them via HTTP"; longDescription = '' harvid's intended use-case is to efficiently provide frame-accurate data @@ -60,9 +60,9 @@ stdenv.mkDerivation rec { processor. ''; homepage = "http://x42.github.io/harvid"; - license = licenses.gpl2Plus; - platforms = platforms.linux; - maintainers = with maintainers; [ mitchmindtree ]; + license = lib.licenses.gpl2Plus; + platforms = lib.platforms.linux; + maintainers = [ lib.maintainers.mitchmindtree ]; mainProgram = "harvid"; }; -} +}) From 8d3f0d9f74c5ecce78ebb9e033f62c595c00ebf5 Mon Sep 17 00:00:00 2001 From: Emily Date: Thu, 1 Aug 2024 17:02:03 +0100 Subject: [PATCH 129/226] harvid: add update script --- pkgs/by-name/ha/harvid/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/ha/harvid/package.nix b/pkgs/by-name/ha/harvid/package.nix index 58d8347cabc4..eb4457de5884 100644 --- a/pkgs/by-name/ha/harvid/package.nix +++ b/pkgs/by-name/ha/harvid/package.nix @@ -7,6 +7,7 @@ libjpeg, libpng, pkg-config, + nix-update-script, }: stdenv.mkDerivation (finalAttrs: { @@ -50,6 +51,8 @@ stdenv.mkDerivation (finalAttrs: { rm -r $out/usr ''; + passthru.updateScript = nix-update-script { }; + meta = { description = "Decodes still images from movie files and serves them via HTTP"; longDescription = '' From 7b3a7652b51232de6c5aab6cbcfc51e99a611417 Mon Sep 17 00:00:00 2001 From: Emily Date: Thu, 1 Aug 2024 17:26:29 +0100 Subject: [PATCH 130/226] harvid: 0.9.0 -> 0.9.1 Diff: https://github.com/x42/harvid/compare/v0.9.0...v0.9.1 --- pkgs/by-name/ha/harvid/package.nix | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/pkgs/by-name/ha/harvid/package.nix b/pkgs/by-name/ha/harvid/package.nix index eb4457de5884..3e4ce3e39517 100644 --- a/pkgs/by-name/ha/harvid/package.nix +++ b/pkgs/by-name/ha/harvid/package.nix @@ -2,35 +2,24 @@ lib, stdenv, fetchFromGitHub, - fetchpatch, + pkg-config, ffmpeg_4, libjpeg, libpng, - pkg-config, nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "harvid"; - version = "0.9.0"; + version = "0.9.1"; src = fetchFromGitHub { owner = "x42"; repo = "harvid"; rev = "v${finalAttrs.version}"; - sha256 = "sha256-qt6aep7iMF8/lnlT2wLqu6LkFDqzdfsGLZvrOlXttG8="; + sha256 = "sha256-p0W+rKHH/iuGOcRjl6b4s6jQYkm7bqWCz849SDI/7fQ="; }; - patches = [ - # Fix pending upstream inclusion to support parallel builds: - # https://github.com/x42/harvid/pull/10 - (fetchpatch { - name = "parallel-build.patch"; - url = "https://github.com/x42/harvid/commit/a3f85c57ad2559558706d9b22989de36452704d9.patch"; - sha256 = "sha256-0aBfM/4XEqM7C1nFw996IVwaeL0tNgMUQ1C3kblOobI="; - }) - ]; - nativeBuildInputs = [ pkg-config ]; buildInputs = [ From e3c7c5525a8dec352011d99b81394605913fcb40 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 21 Jul 2024 13:43:41 +0100 Subject: [PATCH 131/226] harvid: unpin FFmpeg 4 --- pkgs/by-name/ha/harvid/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ha/harvid/package.nix b/pkgs/by-name/ha/harvid/package.nix index 3e4ce3e39517..35d974a49346 100644 --- a/pkgs/by-name/ha/harvid/package.nix +++ b/pkgs/by-name/ha/harvid/package.nix @@ -3,7 +3,7 @@ stdenv, fetchFromGitHub, pkg-config, - ffmpeg_4, + ffmpeg, libjpeg, libpng, nix-update-script, @@ -23,7 +23,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ pkg-config ]; buildInputs = [ - ffmpeg_4 + ffmpeg libjpeg libpng ]; From 2042af5d59426c74cebdd7f43b90bb484da31b12 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 21 Jul 2024 13:43:41 +0100 Subject: [PATCH 132/226] harvid: simplify installation --- pkgs/by-name/ha/harvid/package.nix | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/pkgs/by-name/ha/harvid/package.nix b/pkgs/by-name/ha/harvid/package.nix index 35d974a49346..514e53cc5a8c 100644 --- a/pkgs/by-name/ha/harvid/package.nix +++ b/pkgs/by-name/ha/harvid/package.nix @@ -28,17 +28,7 @@ stdenv.mkDerivation (finalAttrs: { libpng ]; - makeFlags = [ - "DESTDIR=$(out)" - "libdir=\"/lib\"" - ]; - - postInstall = '' - mkdir -p $out/bin - mv $out/usr/local/bin/* $out/bin - mv $out/usr/local/share $out/ - rm -r $out/usr - ''; + makeFlags = [ "PREFIX=$(out)" ]; passthru.updateScript = nix-update-script { }; From b45c0d74a23e6008ad89d6235810045fc1dcf289 Mon Sep 17 00:00:00 2001 From: Emily Date: Thu, 1 Aug 2024 17:48:07 +0100 Subject: [PATCH 133/226] harvid: inject version --- pkgs/by-name/ha/harvid/package.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ha/harvid/package.nix b/pkgs/by-name/ha/harvid/package.nix index 514e53cc5a8c..ec6a30d97d01 100644 --- a/pkgs/by-name/ha/harvid/package.nix +++ b/pkgs/by-name/ha/harvid/package.nix @@ -28,7 +28,10 @@ stdenv.mkDerivation (finalAttrs: { libpng ]; - makeFlags = [ "PREFIX=$(out)" ]; + makeFlags = [ + "PREFIX=$(out)" + "VERSION=v${finalAttrs.version}" + ]; passthru.updateScript = nix-update-script { }; From 3607d36550f425fbd9c9e0a6aad647ed7299e45f Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 21 Jul 2024 13:43:41 +0100 Subject: [PATCH 134/226] harvid: enable parallel building --- pkgs/by-name/ha/harvid/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ha/harvid/package.nix b/pkgs/by-name/ha/harvid/package.nix index ec6a30d97d01..d0b417515291 100644 --- a/pkgs/by-name/ha/harvid/package.nix +++ b/pkgs/by-name/ha/harvid/package.nix @@ -33,6 +33,8 @@ stdenv.mkDerivation (finalAttrs: { "VERSION=v${finalAttrs.version}" ]; + enableParallelBuilding = true; + passthru.updateScript = nix-update-script { }; meta = { From cc831e80371c68a0a846b73d1240c7256db9b7a6 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Thu, 1 Aug 2024 13:08:04 -0400 Subject: [PATCH 135/226] civo: add techknowlogick as maintainer --- pkgs/applications/networking/cluster/civo/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/cluster/civo/default.nix b/pkgs/applications/networking/cluster/civo/default.nix index 9892010ef7b0..0ca3ef322f22 100644 --- a/pkgs/applications/networking/cluster/civo/default.nix +++ b/pkgs/applications/networking/cluster/civo/default.nix @@ -42,6 +42,6 @@ buildGoModule rec { mainProgram = "civo"; homepage = "https://github.com/civo/cli"; license = licenses.asl20; - maintainers = [ ]; + maintainers = with maintainers; [ techknowlogick ]; }; } From 91e0fe3f2353a8a09e1a2fe8765f0a676ef9a6c9 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Thu, 1 Aug 2024 13:08:27 -0400 Subject: [PATCH 136/226] civo: nixfmt --- .../networking/cluster/civo/default.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/cluster/civo/default.nix b/pkgs/applications/networking/cluster/civo/default.nix index 0ca3ef322f22..3fd4a1af80b4 100644 --- a/pkgs/applications/networking/cluster/civo/default.nix +++ b/pkgs/applications/networking/cluster/civo/default.nix @@ -1,13 +1,18 @@ -{ lib, buildGoModule, fetchFromGitHub, installShellFiles }: +{ + lib, + buildGoModule, + fetchFromGitHub, + installShellFiles, +}: buildGoModule rec { pname = "civo"; version = "1.0.88"; src = fetchFromGitHub { - owner = "civo"; - repo = "cli"; - rev = "v${version}"; + owner = "civo"; + repo = "cli"; + rev = "v${version}"; sha256 = "sha256-fPCafa0V5lbzXocUa1gabLxAcPbg8rqOExMT0QnGUk8="; }; From 0abc877144936423ec90da6fef01ddb9024fa310 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Thu, 1 Aug 2024 13:10:51 -0400 Subject: [PATCH 137/226] civo: move to pkgs/by-name --- .../cluster/civo/default.nix => by-name/ci/civo/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 2 deletions(-) rename pkgs/{applications/networking/cluster/civo/default.nix => by-name/ci/civo/package.nix} (100%) diff --git a/pkgs/applications/networking/cluster/civo/default.nix b/pkgs/by-name/ci/civo/package.nix similarity index 100% rename from pkgs/applications/networking/cluster/civo/default.nix rename to pkgs/by-name/ci/civo/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b210c70cadb0..cb4d218ed2ea 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -38394,8 +38394,6 @@ with pkgs; calaos_installer = libsForQt5.callPackage ../misc/calaos/installer { }; - civo = callPackage ../applications/networking/cluster/civo { }; - click = callPackage ../applications/networking/cluster/click { }; clinfo = callPackage ../tools/system/clinfo { From bbf0c6fcd1d08b85e158c8b862434b7992774e8e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 1 Aug 2024 17:16:00 +0000 Subject: [PATCH 138/226] silice: 0-unstable-2024-07-15 -> 0-unstable-2024-07-22 --- pkgs/development/compilers/silice/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/compilers/silice/default.nix b/pkgs/development/compilers/silice/default.nix index 4256f589649b..4dfc83f9944b 100644 --- a/pkgs/development/compilers/silice/default.nix +++ b/pkgs/development/compilers/silice/default.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "silice"; - version = "0-unstable-2024-07-15"; + version = "0-unstable-2024-07-22"; src = fetchFromGitHub { owner = "sylefeb"; repo = "silice"; - rev = "80980cff659839fca63859be4565597053a82a3c"; - hash = "sha256-G+ExPdkhMdC3m9TBwr+3Oj2K6np5MaUULgiXq0G0rLs="; + rev = "8f56349f8b143d5a4b9686b1782f1ae66e011be4"; + hash = "sha256-1y2q41XyQLxjUkWKh8Ky/t3uaQXkm0IgMk9r06vKcRg="; fetchSubmodules = true; }; From 4da61526d9e45866701c97ef2656494f5d3a746a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 1 Aug 2024 19:51:22 +0200 Subject: [PATCH 139/226] yt-dlp: 2024.7.25 -> 2024.8.1 Changelog: https://github.com/yt-dlp/yt-dlp/releases/tag/2024.8.1 --- pkgs/by-name/yt/yt-dlp/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/yt/yt-dlp/package.nix b/pkgs/by-name/yt/yt-dlp/package.nix index f61baab5e190..5072c9cace26 100644 --- a/pkgs/by-name/yt/yt-dlp/package.nix +++ b/pkgs/by-name/yt/yt-dlp/package.nix @@ -16,13 +16,13 @@ python3Packages.buildPythonApplication rec { # The websites yt-dlp deals with are a very moving target. That means that # downloads break constantly. Because of that, updates should always be backported # to the latest stable release. - version = "2024.7.25"; + version = "2024.8.1"; pyproject = true; src = fetchPypi { inherit version; pname = "yt_dlp"; - hash = "sha256-dYeqJeI2z3sUvbk3i7//9RIC2QGwQgK+DPYsu1bTtSw="; + hash = "sha256-QxiqUjaUYRVi8BQZyNUmtmKnLfNO+LpFQBazTINmwVg="; }; build-system = with python3Packages; [ From 6ae6635e54f64b20c3ba6ce4ddd7a941156a4cdb Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 1 Aug 2024 22:13:09 +0200 Subject: [PATCH 140/226] zed-editor: 0.146.3 -> 0.146.4 Diff: https://github.com/zed-industries/zed/compare/refs/tags/v0.146.3...0.146.4 Changelog: https://github.com/zed-industries/zed/releases/tag/v0.146.4 --- pkgs/by-name/ze/zed-editor/Cargo.lock | 2 +- pkgs/by-name/ze/zed-editor/package.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ze/zed-editor/Cargo.lock b/pkgs/by-name/ze/zed-editor/Cargo.lock index 742c023129a6..1b78c12351d0 100644 --- a/pkgs/by-name/ze/zed-editor/Cargo.lock +++ b/pkgs/by-name/ze/zed-editor/Cargo.lock @@ -13597,7 +13597,7 @@ dependencies = [ [[package]] name = "zed" -version = "0.146.3" +version = "0.146.4" dependencies = [ "activity_indicator", "anyhow", diff --git a/pkgs/by-name/ze/zed-editor/package.nix b/pkgs/by-name/ze/zed-editor/package.nix index fe819582d213..353eb4e7f89e 100644 --- a/pkgs/by-name/ze/zed-editor/package.nix +++ b/pkgs/by-name/ze/zed-editor/package.nix @@ -35,13 +35,13 @@ assert withGLES -> stdenv.isLinux; rustPlatform.buildRustPackage rec { pname = "zed"; - version = "0.146.3"; + version = "0.146.4"; src = fetchFromGitHub { owner = "zed-industries"; repo = "zed"; rev = "refs/tags/v${version}"; - hash = "sha256-7KDoJ9yEZkPl6PBYXLQ+c+pnJk50LOn3qxBjBEq8nFY="; + hash = "sha256-U/PTPmZjhmsY9MVH7/SbooyTCR7ATHTWswv0IOokIu4="; fetchSubmodules = true; }; From fc662c6f93c26bf41b00f233b9d206d57f406f0e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 1 Aug 2024 20:19:24 +0000 Subject: [PATCH 141/226] graphite-cli: 1.3.10 -> 1.4.1 --- pkgs/by-name/gr/graphite-cli/package-lock.json | 10 +++++----- pkgs/by-name/gr/graphite-cli/package.nix | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/gr/graphite-cli/package-lock.json b/pkgs/by-name/gr/graphite-cli/package-lock.json index 2e3602b23b06..55d833749409 100644 --- a/pkgs/by-name/gr/graphite-cli/package-lock.json +++ b/pkgs/by-name/gr/graphite-cli/package-lock.json @@ -1,12 +1,12 @@ { "name": "@withgraphite/graphite-cli", - "version": "1.3.10", + "version": "1.4.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@withgraphite/graphite-cli", - "version": "1.3.10", + "version": "1.4.1", "hasInstallScript": true, "license": "None", "dependencies": { @@ -135,9 +135,9 @@ } }, "node_modules/semver": { - "version": "7.6.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", - "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "bin": { "semver": "bin/semver.js" }, diff --git a/pkgs/by-name/gr/graphite-cli/package.nix b/pkgs/by-name/gr/graphite-cli/package.nix index df92025a4887..a3a9689c60c6 100644 --- a/pkgs/by-name/gr/graphite-cli/package.nix +++ b/pkgs/by-name/gr/graphite-cli/package.nix @@ -7,14 +7,14 @@ buildNpmPackage rec { pname = "graphite-cli"; - version = "1.3.10"; + version = "1.4.1"; src = fetchurl { url = "https://registry.npmjs.org/@withgraphite/graphite-cli/-/graphite-cli-${version}.tgz"; - hash = "sha256-pGUIF6X7xmhoccjDRGYMPB004Uh1X3lSSyRG2xHk4oc="; + hash = "sha256-aYxNV50TVIu9/Xe3s5/SwI3Tf0ywo1KFhX8/uBOQ5ac="; }; - npmDepsHash = "sha256-E0L/akAEy24edwuiQ3TT5yxG6h5kJcQdkzPPp1HAgOI="; + npmDepsHash = "sha256-pxDj67W8bvi954C4UPuR7xQixoZ1CQGJO8NIHU5JOvM="; postPatch = '' ln -s ${./package-lock.json} package-lock.json From 6c6085f2c22f8fbd90a3d3ce127e9f05bd5c91c3 Mon Sep 17 00:00:00 2001 From: Rick van Schijndel Date: Thu, 1 Aug 2024 22:40:38 +0200 Subject: [PATCH 142/226] woodpecker: fix typo in shebang and missing text in warning Found this while searching for #!/bin/sh, I forgot the ! --- .../tools/continuous-integration/woodpecker/common.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/continuous-integration/woodpecker/common.nix b/pkgs/development/tools/continuous-integration/woodpecker/common.nix index b273b913b255..1bb8d45f7c44 100644 --- a/pkgs/development/tools/continuous-integration/woodpecker/common.nix +++ b/pkgs/development/tools/continuous-integration/woodpecker/common.nix @@ -21,8 +21,8 @@ in mv -- "$f" "woodpecker" # Issue a warning to the user if they call the deprecated executable cat >woodpecker-cli << EOF - #/bin/sh - echo 'WARNING: calling `woodpecker-cli` is deprecated, use `woodpecker` instead.' >&2 + #!/bin/sh + echo 'WARNING: calling \`woodpecker-cli\` is deprecated, use \`woodpecker\` instead.' >&2 $out/bin/woodpecker "\$@" EOF chmod +x woodpecker-cli From 9eb2dbb737084d854b62992cf817277584b7e84d Mon Sep 17 00:00:00 2001 From: Ingo Reitz <9l@9lo.re> Date: Thu, 1 Aug 2024 23:18:08 +0200 Subject: [PATCH 143/226] vscode: 1.91.1 -> 1.92.0 --- pkgs/applications/editors/vscode/vscode.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/editors/vscode/vscode.nix b/pkgs/applications/editors/vscode/vscode.nix index a57db1275abc..5838232f4e3a 100644 --- a/pkgs/applications/editors/vscode/vscode.nix +++ b/pkgs/applications/editors/vscode/vscode.nix @@ -30,21 +30,21 @@ let archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz"; sha256 = { - x86_64-linux = "0ighhwwmc8cxdabq2wkzzr21sv6zaj90pnqi2cy8krfwm88w6jc0"; - x86_64-darwin = "1fbpw0xib9vm47ab028frg789vgmkpwcdxs8m2in7ywrckl6xycy"; - aarch64-linux = "0n0f518xl1fh17llsd159ldi50z2vihkghfq7plfnbnngpf0swy9"; - aarch64-darwin = "03v3869yblx03j0c3njlvg7qgdmqrg8jvj9s1iyhqw1xpb2lc41c"; - armv7l-linux = "12dv0vqqzriqr8ysjjx62hy2b41dky2p0rcr11wznqi259bryckr"; + x86_64-linux = "1q8krqhwlqj3a76hp830nhz27sqwz9i0klh2q2b3n5l29x9cvd34"; + x86_64-darwin = "1d0sp42g582ykzdpzmr1wqkc0ivg09l9zxm201fxd6irr6i6lvqz"; + aarch64-linux = "0z48qlz8b7mvznr4d4vi47mibkffbsmbr2bp712h1z9s4jhx40h4"; + aarch64-darwin = "01hmcnhpfdckaslz7133692n1haiq4ifbv72vbsdnzsrdxs7wd3m"; + armv7l-linux = "1ifd7z1mvimckb26l1nzv6qd3vjamfrzm0h655367d93fqz4iph4"; }.${system} or throwSystem; in callPackage ./generic.nix rec { # Please backport all compatible updates to the stable release. # This is important for the extension ecosystem. - version = "1.91.1"; + version = "1.92.0"; pname = "vscode" + lib.optionalString isInsiders "-insiders"; # This is used for VS Code - Remote SSH test - rev = "f1e16e1e6214d7c44d078b1f0607b2388f29d729"; + rev = "b1c0a14de1414fcdaa400695b4db1c0799bc3124"; executableName = "code" + lib.optionalString isInsiders "-insiders"; longName = "Visual Studio Code" + lib.optionalString isInsiders " - Insiders"; @@ -68,7 +68,7 @@ in src = fetchurl { name = "vscode-server-${rev}.tar.gz"; url = "https://update.code.visualstudio.com/commit:${rev}/server-linux-x64/stable"; - sha256 = "0k38pkfz9kpbpx0n50iq531mrm7qxqggks092cs4zicv815jk8wg"; + sha256 = "03skx6cla4k5clncxx8wlp0j40gkqggqcs9wl0dqkrv18cljy5zz"; }; }; From 9075e930bb3df8ac97a2598ea18a2a767994ff41 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 1 Aug 2024 21:44:52 +0000 Subject: [PATCH 144/226] python312Packages.xdoctest: 1.1.5 -> 1.1.6 --- pkgs/development/python-modules/xdoctest/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/xdoctest/default.nix b/pkgs/development/python-modules/xdoctest/default.nix index 686c6e8b765e..7965d1db3efa 100644 --- a/pkgs/development/python-modules/xdoctest/default.nix +++ b/pkgs/development/python-modules/xdoctest/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "xdoctest"; - version = "1.1.5"; + version = "1.1.6"; pyproject = true; disabled = pythonOlder "3.6"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "Erotemic"; repo = "xdoctest"; rev = "refs/tags/v${version}"; - hash = "sha256-lC4xX5V5iasQdR4tkLEvtMe/OjSp6+A7D2QGX6TFY4E="; + hash = "sha256-L/RtD/e0ubW3j4623HQGfowXQYZjl7dDfwwbfxm3ll8="; }; nativeBuildInputs = [ From 0793d3ec355fb761a9164b58aba2535117d03436 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 21 Jul 2024 13:43:41 +0100 Subject: [PATCH 145/226] harvid: fix on Darwin --- pkgs/by-name/ha/harvid/package.nix | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ha/harvid/package.nix b/pkgs/by-name/ha/harvid/package.nix index d0b417515291..cdb6e4115b87 100644 --- a/pkgs/by-name/ha/harvid/package.nix +++ b/pkgs/by-name/ha/harvid/package.nix @@ -3,6 +3,9 @@ stdenv, fetchFromGitHub, pkg-config, + which, + unixtools, + cctools, ffmpeg, libjpeg, libpng, @@ -20,7 +23,12 @@ stdenv.mkDerivation (finalAttrs: { sha256 = "sha256-p0W+rKHH/iuGOcRjl6b4s6jQYkm7bqWCz849SDI/7fQ="; }; - nativeBuildInputs = [ pkg-config ]; + nativeBuildInputs = + [ pkg-config ] + ++ lib.optionals stdenv.isDarwin [ + which + unixtools.xxd + ]; buildInputs = [ ffmpeg @@ -28,6 +36,11 @@ stdenv.mkDerivation (finalAttrs: { libpng ]; + postPatch = lib.optionalString stdenv.isDarwin '' + substituteInPlace libharvid/Makefile \ + --replace-fail /usr/bin/libtool ${cctools}/bin/libtool + ''; + makeFlags = [ "PREFIX=$(out)" "VERSION=v${finalAttrs.version}" @@ -48,7 +61,7 @@ stdenv.mkDerivation (finalAttrs: { ''; homepage = "http://x42.github.io/harvid"; license = lib.licenses.gpl2Plus; - platforms = lib.platforms.linux; + platforms = lib.platforms.unix; maintainers = [ lib.maintainers.mitchmindtree ]; mainProgram = "harvid"; }; From 25d11dfb27b1f2f24f6b87e12d68f0a9e2fe7205 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 1 Aug 2024 22:29:45 +0000 Subject: [PATCH 146/226] python312Packages.sse-starlette: 2.1.2 -> 2.1.3 --- pkgs/development/python-modules/sse-starlette/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sse-starlette/default.nix b/pkgs/development/python-modules/sse-starlette/default.nix index baeaf9436c5c..b6526f96e239 100644 --- a/pkgs/development/python-modules/sse-starlette/default.nix +++ b/pkgs/development/python-modules/sse-starlette/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "sse-starlette"; - version = "2.1.2"; + version = "2.1.3"; pyproject = true; disabled = pythonOlder "3.8"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "sysid"; repo = "sse-starlette"; rev = "refs/tags/v${version}"; - hash = "sha256-/aL0IkMdHNt7Ms1Et+xf00B9FGI31FuHAiJbxVMm3w0="; + hash = "sha256-cnUx3wYawyqt/m/FB6abxknMbc64k09a1kAJoA4yN6w="; }; build-system = [ pdm-backend ]; From 2570854a2a5a1dac7c5f2d1b4316797831c558c8 Mon Sep 17 00:00:00 2001 From: eljamm Date: Thu, 1 Aug 2024 23:56:41 +0100 Subject: [PATCH 147/226] processing: format with nixfmt --- .../graphics/processing/default.nix | 48 ++++++++++++++++--- 1 file changed, 41 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/graphics/processing/default.nix b/pkgs/applications/graphics/processing/default.nix index 9ea148323cde..b7fe0a824f85 100644 --- a/pkgs/applications/graphics/processing/default.nix +++ b/pkgs/applications/graphics/processing/default.nix @@ -1,4 +1,20 @@ -{ lib, stdenv, fetchFromGitHub, fetchurl, ant, unzip, makeWrapper, jdk, jogl, rsync, ffmpeg, batik, stripJavaArchivesHook, wrapGAppsHook3, libGL }: +{ + lib, + stdenv, + fetchFromGitHub, + fetchurl, + ant, + unzip, + makeWrapper, + jdk, + jogl, + rsync, + ffmpeg, + batik, + stripJavaArchivesHook, + wrapGAppsHook3, + libGL, +}: let buildNumber = "1293"; vaqua = fetchurl { @@ -37,9 +53,11 @@ let sha256 = "sha256-N4U04znm5tULFzb7Ort28cFdG+P0wTzsbVNkEuI9pgM="; }; - arch = { - x86_64 = "amd64"; - }.${stdenv.hostPlatform.parsed.cpu.name} or stdenv.hostPlatform.parsed.cpu.name; + arch = + { + x86_64 = "amd64"; + } + .${stdenv.hostPlatform.parsed.cpu.name} or stdenv.hostPlatform.parsed.cpu.name; in stdenv.mkDerivation rec { pname = "processing"; @@ -52,8 +70,21 @@ stdenv.mkDerivation rec { sha256 = "sha256-SzQemZ6iZ9o89/doV8YMv7DmyPSDyckJl3oyxJyfrm0="; }; - nativeBuildInputs = [ ant unzip makeWrapper stripJavaArchivesHook wrapGAppsHook3 ]; - buildInputs = [ jdk jogl ant rsync ffmpeg batik ]; + nativeBuildInputs = [ + ant + unzip + makeWrapper + stripJavaArchivesHook + wrapGAppsHook3 + ]; + buildInputs = [ + jdk + jogl + ant + rsync + ffmpeg + batik + ]; dontWrapGApps = true; @@ -108,7 +139,10 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Language and IDE for electronic arts"; homepage = "https://processing.org"; - license = with licenses; [ gpl2Only lgpl21Only ]; + license = with licenses; [ + gpl2Only + lgpl21Only + ]; platforms = platforms.linux; maintainers = with maintainers; [ evan-goode ]; }; From 0dbf5b7b90b8af129895b6b9ffef12019fea8ee6 Mon Sep 17 00:00:00 2001 From: eljamm Date: Fri, 2 Aug 2024 00:27:41 +0100 Subject: [PATCH 148/226] processing: fix build --- pkgs/applications/graphics/processing/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/graphics/processing/default.nix b/pkgs/applications/graphics/processing/default.nix index b7fe0a824f85..59ab93c1867d 100644 --- a/pkgs/applications/graphics/processing/default.nix +++ b/pkgs/applications/graphics/processing/default.nix @@ -105,7 +105,7 @@ stdenv.mkDerivation rec { mv app/lib/{jna-5.10.0/dist/jna.jar,} mv app/lib/{jna-5.10.0/dist/jna-platform.jar,} ln -sf ${batik}/* java/libraries/svg/library/ - cp java/libraries/svg/library/lib/batik-all-${batik.version}.jar java/libraries/svg/library/batik.jar + cp java/libraries/svg/library/share/java/batik-all-${batik.version}.jar java/libraries/svg/library/batik.jar echo "tarring ffmpeg" tar --checkpoint=10000 -czf build/shared/tools/MovieMaker/ffmpeg-5.0.1.gz ${ffmpeg} cd build From 9c3ca939a8d36edabeed0148e37f95888b947fd2 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 1 Aug 2024 23:55:55 +0000 Subject: [PATCH 149/226] snyk: 1.1292.1 -> 1.1292.2 --- pkgs/development/tools/analysis/snyk/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/analysis/snyk/default.nix b/pkgs/development/tools/analysis/snyk/default.nix index cb10603e9bd0..1bbdcb9e73cf 100644 --- a/pkgs/development/tools/analysis/snyk/default.nix +++ b/pkgs/development/tools/analysis/snyk/default.nix @@ -8,16 +8,16 @@ buildNpmPackage rec { pname = "snyk"; - version = "1.1292.1"; + version = "1.1292.2"; src = fetchFromGitHub { owner = "snyk"; repo = "cli"; rev = "refs/tags/v${version}"; - hash = "sha256-N54fSRYTFOlmfpommEFIqbMP5IBkhatMwx4CQ8fd5QI="; + hash = "sha256-r7yQNxmvQ2RUUTX3zxEqnf7fgYJI/0kFqoPg60jI4ns="; }; - npmDepsHash = "sha256-VHZqc111cC8AANogxXVg4BFlngdmrrt7E+tCMF5Rl7g="; + npmDepsHash = "sha256-hS1TYrqyYiixKtZoxWU10hj1ZC2RqrZ7gndU5B195/M="; postPatch = '' substituteInPlace package.json \ From 64a5d55941360967cd3991381c7b566e59faeb46 Mon Sep 17 00:00:00 2001 From: Mathew Polzin Date: Thu, 1 Aug 2024 19:03:30 -0500 Subject: [PATCH 150/226] pythonPackages.abjad: mark disabled for Python 3.12 See upstream issue https://github.com/Abjad/abjad/issues/1574 --- pkgs/development/python-modules/abjad/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/abjad/default.nix b/pkgs/development/python-modules/abjad/default.nix index b0998b8c0693..a6af83806afe 100644 --- a/pkgs/development/python-modules/abjad/default.nix +++ b/pkgs/development/python-modules/abjad/default.nix @@ -6,6 +6,7 @@ roman, uqbar, pythonOlder, + pythonAtLeast, pytestCheckHook, lilypond, typing-extensions, @@ -16,7 +17,9 @@ buildPythonPackage rec { version = "3.19"; format = "setuptools"; - disabled = pythonOlder "3.10"; + # see issue upstream indicating Python 3.12 support will come + # with version 3.20: https://github.com/Abjad/abjad/issues/1574 + disabled = pythonOlder "3.10" || pythonAtLeast "3.12"; src = fetchPypi { inherit pname version; From 2f3e77e1f28336e8446168d521e20aeded6b98fe Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Fri, 26 Jul 2024 08:11:52 -0700 Subject: [PATCH 151/226] kakoune: add philiptaron as maintainer to most kakoune-related things --- .github/CODEOWNERS | 3 +++ pkgs/applications/editors/kakoune/default.nix | 2 +- pkgs/applications/editors/kakoune/plugins/overrides.nix | 6 +++--- pkgs/by-name/ka/kakoune-lsp/package.nix | 2 +- pkgs/tools/misc/kakoune-cr/default.nix | 2 +- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 15074cd2e47e..cec832e4e636 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -267,6 +267,9 @@ pkgs/development/python-modules/buildcatrust/ @ajs124 @lukegb @mweinelt /pkgs/applications/editors/emacs @adisbladis /pkgs/top-level/emacs-packages.nix @adisbladis +# Kakoune +/pkgs/applications/editors/kakoune @philiptaron + # Neovim /pkgs/applications/editors/neovim @figsoda @teto diff --git a/pkgs/applications/editors/kakoune/default.nix b/pkgs/applications/editors/kakoune/default.nix index 317b2b6b87c9..c45ad92674a6 100644 --- a/pkgs/applications/editors/kakoune/default.nix +++ b/pkgs/applications/editors/kakoune/default.nix @@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: { description = "Vim inspired text editor"; license = licenses.publicDomain; mainProgram = "kak"; - maintainers = [ ]; + maintainers = with maintainers; [ philiptaron ]; platforms = platforms.unix; }; }) diff --git a/pkgs/applications/editors/kakoune/plugins/overrides.nix b/pkgs/applications/editors/kakoune/plugins/overrides.nix index ebdcac8e4dae..f03016e4b047 100644 --- a/pkgs/applications/editors/kakoune/plugins/overrides.nix +++ b/pkgs/applications/editors/kakoune/plugins/overrides.nix @@ -58,7 +58,7 @@ declare-option -hidden str ansi_filter %{'"$out"'/bin/kak-ansi-filter} description = "Kakoune support for rendering ANSI code"; homepage = "https://github.com/eraserhd/kak-ansi"; license = licenses.unlicense; - maintainers = with maintainers; [ eraserhd ]; + maintainers = with maintainers; [ eraserhd philiptaron ]; platforms = platforms.all; }; }; @@ -88,7 +88,7 @@ declare-option -hidden str ansi_filter %{'"$out"'/bin/kak-ansi-filter} description = "Kakoune integration with the Plan 9 plumber"; homepage = "https://github.com/eraserhd/kak-plumb"; license = licenses.unlicense; - maintainers = with maintainers; [ eraserhd ]; + maintainers = with maintainers; [ eraserhd philiptaron ]; platforms = platforms.all; }; }; @@ -119,7 +119,7 @@ declare-option -hidden str ansi_filter %{'"$out"'/bin/kak-ansi-filter} description = "Help Kakoune save and restore state between sessions"; homepage = "https://gitlab.com/Screwtapello/kakoune-state-save"; license = licenses.mit; - maintainers = with maintainers; [ Flakebi ]; + maintainers = with maintainers; [ Flakebi philiptaron ]; platforms = platforms.all; }; }; diff --git a/pkgs/by-name/ka/kakoune-lsp/package.nix b/pkgs/by-name/ka/kakoune-lsp/package.nix index 68b2fce02554..8e8406587f1c 100644 --- a/pkgs/by-name/ka/kakoune-lsp/package.nix +++ b/pkgs/by-name/ka/kakoune-lsp/package.nix @@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec { description = "Kakoune Language Server Protocol Client"; homepage = "https://github.com/kakoune-lsp/kakoune-lsp"; license = with licenses; [ unlicense /* or */ mit ]; - maintainers = with maintainers; [ spacekookie poweredbypie ]; + maintainers = with maintainers; [ philiptaron spacekookie poweredbypie ]; mainProgram = "kak-lsp"; }; } diff --git a/pkgs/tools/misc/kakoune-cr/default.nix b/pkgs/tools/misc/kakoune-cr/default.nix index 8a8eb55d65e6..8522bfa7f782 100644 --- a/pkgs/tools/misc/kakoune-cr/default.nix +++ b/pkgs/tools/misc/kakoune-cr/default.nix @@ -44,7 +44,7 @@ crystal.buildCrystalPackage rec { homepage = "https://github.com/alexherbo2/kakoune.cr"; description = "Command-line tool for Kakoune"; license = licenses.unlicense; - maintainers = with maintainers; [ malte-v ]; + maintainers = with maintainers; [ philiptaron malte-v ]; platforms = platforms.unix; }; } From db33d1e689ea5af55825df4ce1c03eba7bc0c4ff Mon Sep 17 00:00:00 2001 From: TomaSajt <62384384+TomaSajt@users.noreply.github.com> Date: Fri, 2 Aug 2024 02:03:15 +0200 Subject: [PATCH 152/226] stirling-pdf: 0.25.1 -> 0.26.1 --- pkgs/by-name/st/stirling-pdf/deps.json | 14 +++++--------- pkgs/by-name/st/stirling-pdf/package.nix | 12 ++++++++---- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pkgs/by-name/st/stirling-pdf/deps.json b/pkgs/by-name/st/stirling-pdf/deps.json index fb37c93baae8..30b8b7fe3293 100644 --- a/pkgs/by-name/st/stirling-pdf/deps.json +++ b/pkgs/by-name/st/stirling-pdf/deps.json @@ -636,9 +636,9 @@ "jar": "sha256-7urpF5FxRKaKdB1MDf9mqlxcX9hVk/8he87T/Iyng7g=", "pom": "sha256-1dgfzCiMDYxxHDAgB8raSqmiJu0aES1LqmTLHWMiFws=" }, - "commons-io#commons-io/2.15.1": { - "jar": "sha256-pYrxLuG2jP0uuwwnyu8WTwhDgaAOyBpIzCdf1+pU4VQ=", - "pom": "sha256-Fxoa+CtnWetXQLO4gJrKgBE96vEVMDby9ERZAd/T+R0=" + "commons-io#commons-io/2.16.1": { + "jar": "sha256-9B97qs1xaJZEes6XWGIfYsHGsKkdiazuSI2ib8R3yE8=", + "pom": "sha256-V3fSkiUceJXASkxXAVaD7Ds1OhJIbJs+cXjpsLPDj/8=" }, "commons-logging#commons-logging/1.0.4": { "jar": "sha256-6Ur0l0k4TBH1qlDo0PX+Z5vncSlbUgMDONMoQ8mANR4=", @@ -921,8 +921,8 @@ "org/apache/commons#commons-parent/64": { "pom": "sha256-bxljiZToNXtO1zRpb5kgV++q+hI1ZzmYEzKZeY4szds=" }, - "org/apache/commons#commons-parent/65": { - "pom": "sha256-bPNJX8LmrJE6K38uA/tZCPs/Ip+wbTNY3EVnjVrz424=" + "org/apache/commons#commons-parent/69": { + "pom": "sha256-1Q2pw5vcqCPWGNG0oDtz8ZZJf8uGFv0NpyfIYjWSqbs=" }, "org/apache/commons#commons-text/1.11.0": { "jar": "sha256-Ks8woHCxkWPVpIDq5BGigTQehwAg41NMbV1MhHJznjA=", @@ -1296,10 +1296,6 @@ "module": "sha256-6z7mEnYIAQaUqJgFbnQH0RcpYAOrpfXbgB30MLmIf88=", "pom": "sha256-4AbdiJT5/Ht1/DK7Ev5e2L5lZn1bRU+Z4uC4xbuNMLM=" }, - "org/junit#junit-bom/5.10.1": { - "module": "sha256-IbCvz//i7LN3D16wCuehn+rulOdx+jkYFzhQ2ueAZ7c=", - "pom": "sha256-IcSwKG9LIAaVd/9LIJeKhcEArIpGtvHIZy+6qzN7w/I=" - }, "org/junit#junit-bom/5.10.2": { "module": "sha256-3iOxFLPkEZqP5usXvtWjhSgWaYus5nBxV51tkn67CAo=", "pom": "sha256-Fp3ZBKSw9lIM/+ZYzGIpK/6fPBSpifqSEgckzeQ6mWg=" diff --git a/pkgs/by-name/st/stirling-pdf/package.nix b/pkgs/by-name/st/stirling-pdf/package.nix index 2695e3d58010..f1bea01c79d5 100644 --- a/pkgs/by-name/st/stirling-pdf/package.nix +++ b/pkgs/by-name/st/stirling-pdf/package.nix @@ -12,13 +12,13 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "stirling-pdf"; - version = "0.25.1"; + version = "0.26.1"; src = fetchFromGitHub { owner = "Stirling-Tools"; repo = "Stirling-PDF"; rev = "v${finalAttrs.version}"; - hash = "sha256-DgQLn4+uBAF8/c3G6ckkq/0gtJEE9GPHd1d/xB6omlA="; + hash = "sha256-msxP2n8Varc7/h9RVwYRBuD253JZu6/p7zQC1lmNmqc="; }; patches = [ @@ -35,12 +35,16 @@ stdenv.mkDerivation (finalAttrs: { # disable spotless because it tries to fetch files not in deps.json # and also because it slows down the build process - gradleFlags = [ "-x" "spotlessApply" ]; + gradleFlags = [ + "-x" + "spotlessApply" + ]; doCheck = true; nativeBuildInputs = [ gradle + gradle.jdk # one of the tests also require that the `java` command is available on the command line makeWrapper ]; @@ -55,7 +59,7 @@ stdenv.mkDerivation (finalAttrs: { ''; meta = { - changelog = "https://github.com/Stirling-Tools/Stirling-PDF/releases/tag/${finalAttrs.src.rev}"; + changelog = "https://github.com/Stirling-Tools/Stirling-PDF/releases/tag/v${finalAttrs.version}"; description = "Locally hosted web application that allows you to perform various operations on PDF files"; homepage = "https://github.com/Stirling-Tools/Stirling-PDF"; license = lib.licenses.gpl3Only; From b93ae5ca502e62d26ced54d42717ee4d5496d9a7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 02:16:36 +0000 Subject: [PATCH 153/226] ctlptl: 0.8.29 -> 0.8.30 --- pkgs/development/tools/ctlptl/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/ctlptl/default.nix b/pkgs/development/tools/ctlptl/default.nix index f7dca069d483..a5f3dde68f5b 100644 --- a/pkgs/development/tools/ctlptl/default.nix +++ b/pkgs/development/tools/ctlptl/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "ctlptl"; - version = "0.8.29"; + version = "0.8.30"; src = fetchFromGitHub { owner = "tilt-dev"; repo = pname; rev = "v${version}"; - hash = "sha256-4drk8mqFVGXUktPiWuVNzWVBQr4TRcutZgGsF3vpRIE="; + hash = "sha256-qIuZfOgzoFaZznacJ2UEMMDKevsadmRkhwPXkb5rJiM="; }; - vendorHash = "sha256-rf/4xyridcsSlGOVQ91Wr8bHnm7wfuXs6HSPKW2J8hM="; + vendorHash = "sha256-GeUuCMcx/huEw4SLNierkcmxyZiOvClKwpjGQZDP6nw="; nativeBuildInputs = [ installShellFiles ]; From 00a6ef358ae4a46735955626cd7a707ab82be707 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Thu, 1 Aug 2024 11:06:51 +0000 Subject: [PATCH 154/226] txtpbfmt: 0-unstable-2024-04-16 -> 0-unstable-2024-06-11 --- pkgs/by-name/tx/txtpbfmt/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/tx/txtpbfmt/package.nix b/pkgs/by-name/tx/txtpbfmt/package.nix index d08fe67330a2..88c04d5803f8 100644 --- a/pkgs/by-name/tx/txtpbfmt/package.nix +++ b/pkgs/by-name/tx/txtpbfmt/package.nix @@ -2,13 +2,13 @@ buildGoModule { pname = "txtpbfmt"; - version = "0-unstable-2024-04-16"; + version = "0-unstable-2024-06-11"; src = fetchFromGitHub { owner = "protocolbuffers"; repo = "txtpbfmt"; - rev = "1e18ef0a7fdc4d28b9223d2d50b4b2be7024519e"; - hash = "sha256-L96aEAlPvdBXxAbH8IszQK0r7ouICmFrkHtTJe/dD+E="; + rev = "dedd929c1c222fd4d895cda0e1c87b940262b1f5"; + hash = "sha256-L9btIjcQ3XMPzUrizoSEJ/Zj2xWphFAka3qtzm2mxP4="; }; vendorHash = "sha256-IdD+R8plU4/e9fQaGSM5hJxyMECb6hED0Qg8afwHKbY="; From be32484672e66f8356daea9806b08923c78ae649 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 02:39:10 +0000 Subject: [PATCH 155/226] oxker: 0.6.4 -> 0.7.0 --- pkgs/applications/misc/oxker/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/oxker/default.nix b/pkgs/applications/misc/oxker/default.nix index 23194ee9ed25..43bf5af6267c 100644 --- a/pkgs/applications/misc/oxker/default.nix +++ b/pkgs/applications/misc/oxker/default.nix @@ -2,14 +2,14 @@ rustPlatform.buildRustPackage rec { pname = "oxker"; - version = "0.6.4"; + version = "0.7.0"; src = fetchCrate { inherit pname version; - hash = "sha256-dBehxqr/UCXIQDMrGFN6ID+v0NYi50JTHuML3su2O0A="; + hash = "sha256-bn+5LBqZNwrhVX0KfXNBS00rE+BybN/NJmL4lu/oua0="; }; - cargoHash = "sha256-wI7yqRvaszBP4OtlWbWIZ9RLf5y7dx2KufYLaK+PWps="; + cargoHash = "sha256-ssjLfNPP8g+2IOv0AQb+Soe/0e1H2LoqFSpmljj/z3o="; meta = with lib; { description = "Simple tui to view & control docker containers"; From bbb9f070f6493e939ce2ed501fb32c448a683829 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 03:44:24 +0000 Subject: [PATCH 156/226] gotify-cli: 2.2.4 -> 2.3.2 --- pkgs/tools/misc/gotify-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/gotify-cli/default.nix b/pkgs/tools/misc/gotify-cli/default.nix index cedd2ae95bc8..94a7c8c82eee 100644 --- a/pkgs/tools/misc/gotify-cli/default.nix +++ b/pkgs/tools/misc/gotify-cli/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "gotify-cli"; - version = "2.2.4"; + version = "2.3.2"; src = fetchFromGitHub { owner = "gotify"; repo = "cli"; rev = "v${version}"; - sha256 = "sha256-Hzdd9T8RcLxHG+vHb4KuKqW4SwcWDrVc6DZ0QUpH2Xc="; + sha256 = "sha256-GwPIGWEpj5GjGV9bz3LctZctHQe+Vywoc1piNb9vAAw="; }; vendorHash = "sha256-+G0LWlPiDcYmEou4gpoIU/OAjzQ3VSHftM1ViG9lhYM="; From d0d88e7376df237ac89b9a43293fcbb9cf19d263 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 03:53:24 +0000 Subject: [PATCH 157/226] spire: 1.10.0 -> 1.10.1 --- pkgs/tools/security/spire/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/spire/default.nix b/pkgs/tools/security/spire/default.nix index 477b47057ee4..ee0d09492590 100644 --- a/pkgs/tools/security/spire/default.nix +++ b/pkgs/tools/security/spire/default.nix @@ -2,7 +2,7 @@ buildGoModule rec { pname = "spire"; - version = "1.10.0"; + version = "1.10.1"; outputs = [ "out" "agent" "server" ]; @@ -10,10 +10,10 @@ buildGoModule rec { owner = "spiffe"; repo = pname; rev = "v${version}"; - sha256 = "sha256-4S+Pko8uMZmVVB5vjG6Y1mBB3RFtwBBrH2T6FPrss9s="; + sha256 = "sha256-CSTpiLDGGiuCUOO2qrpqyKGKsIch7YoJW9XdPqT7/rI="; }; - vendorHash = "sha256-U8JGj1hsV0ySREcWZeA243FO/8VPSZ1KUIsVrw1P5H0="; + vendorHash = "sha256-x+3UkUs/WJf8CW+FljeHOkYC2oMniknTbJd0DVwnrU8="; subPackages = [ "cmd/spire-agent" "cmd/spire-server" ]; From 73cf5e4073bb95a4016123b960dcd2a0bc17dafc Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 03:58:40 +0000 Subject: [PATCH 158/226] cri-o-unwrapped: 1.30.3 -> 1.30.4 --- pkgs/applications/virtualization/cri-o/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/virtualization/cri-o/default.nix b/pkgs/applications/virtualization/cri-o/default.nix index b52c91e4e1ed..5f7103886ccc 100644 --- a/pkgs/applications/virtualization/cri-o/default.nix +++ b/pkgs/applications/virtualization/cri-o/default.nix @@ -15,13 +15,13 @@ buildGoModule rec { pname = "cri-o"; - version = "1.30.3"; + version = "1.30.4"; src = fetchFromGitHub { owner = "cri-o"; repo = "cri-o"; rev = "v${version}"; - hash = "sha256-Cv76S2Ylsjzjc6rjCcRJyFjrIrm76I5pqDa1FI+Oq9s="; + hash = "sha256-PfG5RlUmMGMduTApdlHoI+4kdRprvWXeXZDkd6brVkM="; }; vendorHash = null; From 8062f55e7ea3eee2049aa9a3bddc6f3c4aa1a5de Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 04:00:27 +0000 Subject: [PATCH 159/226] python312Packages.pyinstrument: 4.6.0 -> 4.7.0 --- pkgs/development/python-modules/pyinstrument/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyinstrument/default.nix b/pkgs/development/python-modules/pyinstrument/default.nix index 78c5e4a33fb6..03beb0e878e1 100644 --- a/pkgs/development/python-modules/pyinstrument/default.nix +++ b/pkgs/development/python-modules/pyinstrument/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "pyinstrument"; - version = "4.6.0"; + version = "4.7.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "joerick"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-NSE2mZPbKmvlQbBPx0MoqYfAOjmsf9CllX7dxygZfc4="; + hash = "sha256-XB4ebWxTIX7WP2iLhhV2bHqoAau+mHnNnCSjEIQF/rM="; }; nativeBuildInputs = [ From dd3d68af7c97d8ee42d18c4e4cf579d687ccf74e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 04:04:47 +0000 Subject: [PATCH 160/226] python312Packages.asteval: 1.0.1 -> 1.0.2 --- pkgs/development/python-modules/asteval/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/asteval/default.nix b/pkgs/development/python-modules/asteval/default.nix index 06b1325ca382..322bb50e711f 100644 --- a/pkgs/development/python-modules/asteval/default.nix +++ b/pkgs/development/python-modules/asteval/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "asteval"; - version = "1.0.1"; + version = "1.0.2"; pyproject = true; disabled = pythonOlder "3.8"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "lmfit"; repo = "asteval"; rev = "refs/tags/${version}"; - hash = "sha256-Ee7EAcSfLmo9ijm4oa3nEVPoz1pgLx4ozbSXBW3kRPw="; + hash = "sha256-TIMyfX8bpzey0hw0lBMcdZVnc07j9PFVjn4YbX4oW/8="; }; postPatch = '' From 58c534774a82a62394bf1c401ae70b9f5268d8c8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 04:07:33 +0000 Subject: [PATCH 161/226] python312Packages.plantuml-markdown: 3.9.8 -> 3.10.0 --- pkgs/development/python-modules/plantuml-markdown/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/plantuml-markdown/default.nix b/pkgs/development/python-modules/plantuml-markdown/default.nix index cd9872c9fd5f..b7e4c1ec34ca 100644 --- a/pkgs/development/python-modules/plantuml-markdown/default.nix +++ b/pkgs/development/python-modules/plantuml-markdown/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "plantuml-markdown"; - version = "3.9.8"; + version = "3.10.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "mikitex70"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-gBlHWAD8MIymCqtqxKRneScMztFzPStIMIO+IrHpgpc="; + hash = "sha256-t5OZ0n2TLQFaGievFWlYTXslP4yCvpQ3MyNQZ3/xYRs="; }; propagatedBuildInputs = [ From a9e94032782cc6f89c5fabcf5d9433b45578cad1 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 04:19:56 +0000 Subject: [PATCH 162/226] vmagent: 1.102.0 -> 1.102.1 --- pkgs/by-name/vi/victoriametrics/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/vi/victoriametrics/package.nix b/pkgs/by-name/vi/victoriametrics/package.nix index 21853f0519d5..25cb8a79dee7 100644 --- a/pkgs/by-name/vi/victoriametrics/package.nix +++ b/pkgs/by-name/vi/victoriametrics/package.nix @@ -14,13 +14,13 @@ buildGoModule rec { pname = "VictoriaMetrics"; - version = "1.102.0"; + version = "1.102.1"; src = fetchFromGitHub { owner = "VictoriaMetrics"; repo = "VictoriaMetrics"; rev = "v${version}"; - hash = "sha256-5p50DEL5XhXncJKH2ebFkh9/l0EABj+Pebf5oHV1yk8="; + hash = "sha256-FFQiHPcvB3ht6NlaUWPAuEUswXYUzeRilAw4NQ9+8/o="; }; vendorHash = null; From b2e490a586b0270c2994ce885b9018aa88084b4d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 04:27:47 +0000 Subject: [PATCH 163/226] python312Packages.yolink-api: 0.4.5 -> 0.4.6 --- pkgs/development/python-modules/yolink-api/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/yolink-api/default.nix b/pkgs/development/python-modules/yolink-api/default.nix index 97d56150770f..07e9937667f6 100644 --- a/pkgs/development/python-modules/yolink-api/default.nix +++ b/pkgs/development/python-modules/yolink-api/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "yolink-api"; - version = "0.4.5"; + version = "0.4.6"; pyproject = true; disabled = pythonOlder "3.7"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "YoSmart-Inc"; repo = "yolink-api"; rev = "refs/tags/v${version}"; - hash = "sha256-qavVdIcOaCdODceok5tTobSWpPzuLvbzaFYkOVjD+9A="; + hash = "sha256-A5cFz1u2b6mlE4NtMRQU3lruNqNWTYXH+tMvkH/zfUw="; }; build-system = [ setuptools ]; From 32c4daf047f25348d80eca559dc054278f3a1493 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 04:29:19 +0000 Subject: [PATCH 164/226] python312Packages.wagtail: 6.1.3 -> 6.2 --- pkgs/development/python-modules/wagtail/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/wagtail/default.nix b/pkgs/development/python-modules/wagtail/default.nix index 6b01ac4147ff..ae55189f99c6 100644 --- a/pkgs/development/python-modules/wagtail/default.nix +++ b/pkgs/development/python-modules/wagtail/default.nix @@ -26,14 +26,14 @@ buildPythonPackage rec { pname = "wagtail"; - version = "6.1.3"; + version = "6.2"; format = "setuptools"; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-j0kIqxtrljqKp6348OxzjNHcebmBbG1fWQGPYApAQ3g="; + hash = "sha256-WQhujKGBsQ8nSxE5JFAFBN7W/BaCTBl283w8vd0QDSQ="; }; postPatch = '' From 814b1e820ab861c880a011bc8118882f252d16a1 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 04:59:43 +0000 Subject: [PATCH 165/226] biome: 1.8.1 -> 1.8.3 --- pkgs/development/tools/biome/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/biome/default.nix b/pkgs/development/tools/biome/default.nix index 3cf1402c556e..aa8a2855882f 100644 --- a/pkgs/development/tools/biome/default.nix +++ b/pkgs/development/tools/biome/default.nix @@ -12,16 +12,16 @@ rustPlatform.buildRustPackage rec { pname = "biome"; - version = "1.8.1"; + version = "1.8.3"; src = fetchFromGitHub { owner = "biomejs"; repo = "biome"; rev = "cli/v${version}"; - hash = "sha256-RR4yHrLeEHNLe0Nr8FHm+u+DFJihbibRax41Ss9HDV8="; + hash = "sha256-6/RYuaR4HBXLI7eKysyRcSOxONFlChpQuhzWHAlx2CM="; }; - cargoHash = "sha256-xCA1kxt70lrCrPygMe98eF8RC/l47EnJPjLaXBccBRE="; + cargoHash = "sha256-ytGbiDamxkTCPjNTBMsW1YjK+qMZfktGG5mVUVdKV5I="; nativeBuildInputs = [ pkg-config From bba5e3f4e0cb6937a214fbf8f1fd0b1ec4d136f1 Mon Sep 17 00:00:00 2001 From: schrobingus Date: Thu, 1 Aug 2024 22:15:28 -0700 Subject: [PATCH 166/226] python312Packages.rioxarray: extend disabled failing tests to aarch64-darwin --- .../development/python-modules/rioxarray/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/rioxarray/default.nix b/pkgs/development/python-modules/rioxarray/default.nix index 3de4fe980bf3..10a6c15d3cf1 100644 --- a/pkgs/development/python-modules/rioxarray/default.nix +++ b/pkgs/development/python-modules/rioxarray/default.nix @@ -49,11 +49,13 @@ buildPythonPackage rec { disabledTests = [ "test_clip_geojson__no_drop" ] - ++ lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [ - # numerical errors - "test_clip_geojson" - "test_open_rasterio_mask_chunk_clip" - ]; + ++ lib.optionals + (stdenv.hostPlatform.system == "aarch64-linux" || stdenv.hostPlatform.system == "aarch64-darwin") + [ + # numerical errors + "test_clip_geojson" + "test_open_rasterio_mask_chunk_clip" + ]; pythonImportsCheck = [ "rioxarray" ]; From 08aff56c8004a09e378121f875d59ca621fa7017 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 05:54:00 +0000 Subject: [PATCH 167/226] libretro.play: unstable-2024-07-19 -> unstable-2024-07-29 --- pkgs/applications/emulators/retroarch/hashes.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 5879f15afa46..78fdb3228ae9 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -652,11 +652,11 @@ "src": { "owner": "jpd002", "repo": "Play-", - "rev": "fea21169c4d1fd6aa19f8a5c2ef960af2a3be554", - "hash": "sha256-GoLETeWLvtP+DMGkFL/nDhjt85P0pgr1/NTNif1PCCo=", + "rev": "06517ef014305c8579f38fa7574ef3685181d037", + "hash": "sha256-b9lsxVRjkV85OzPE5569ZbeShji2kudbcz3amd9aXnA=", "fetchSubmodules": true }, - "version": "unstable-2024-07-19" + "version": "unstable-2024-07-29" }, "ppsspp": { "fetcher": "fetchFromGitHub", From c8db5787109b6c082866c63fac9a0bd486474c93 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Fri, 26 Jul 2024 12:00:46 +0200 Subject: [PATCH 168/226] =?UTF-8?q?ocamlPackages.digestif:=201.1.4=20?= =?UTF-8?q?=E2=86=92=201.2.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/digestif/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/development/ocaml-modules/digestif/default.nix b/pkgs/development/ocaml-modules/digestif/default.nix index 4bdc9f2e5ca2..9f859b182831 100644 --- a/pkgs/development/ocaml-modules/digestif/default.nix +++ b/pkgs/development/ocaml-modules/digestif/default.nix @@ -1,23 +1,22 @@ { lib, ocaml, fetchurl, buildDunePackage , eqaf -, alcotest, astring, bos, findlib, fpath +, alcotest, astring, bos, crowbar, findlib, fpath }: buildDunePackage rec { pname = "digestif"; - version = "1.1.4"; + version = "1.2.0"; minimalOCamlVersion = "4.08"; - duneVersion = "3"; src = fetchurl { url = "https://github.com/mirage/digestif/releases/download/v${version}/digestif-${version}.tbz"; - hash = "sha256-w3k+cg8NqAVPYobFRcghp/6+iC5/TlSX7ImxWjU1EeE="; + hash = "sha256-wwFoyv4nmmZTZ4BrPl5jmP10dPHlJg52gm1eydOypQg="; }; propagatedBuildInputs = [ eqaf ]; - checkInputs = [ alcotest astring bos fpath ]; + checkInputs = [ alcotest astring bos crowbar fpath ]; doCheck = true; postCheck = '' From 71c908fdddcb697172019a18be2f5156f111bd49 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 06:12:00 +0000 Subject: [PATCH 169/226] libretro.snes9x: unstable-2024-07-14 -> unstable-2024-07-29 --- pkgs/applications/emulators/retroarch/hashes.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 5879f15afa46..a898182ff4b3 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -754,10 +754,10 @@ "src": { "owner": "snes9xgit", "repo": "snes9x", - "rev": "881eeaed9a0d7b6ce9b16b094f25101785f0e39e", - "hash": "sha256-ZDp/k9TuaVUp9xH9rvzfpbB0VSJbCFRbkMcnR/oPWLM=" + "rev": "e92b93ca9cd7936134abe0b90975bc9fc009fbf0", + "hash": "sha256-zsGf+3J0k7It/QEg/9SIZrb4yg8K8/6KXUE1/dK83yg=" }, - "version": "unstable-2024-07-14" + "version": "unstable-2024-07-29" }, "snes9x2002": { "fetcher": "fetchFromGitHub", From 09a8321a0d0b9f290ba16f7dbc65d45fae4d50b1 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 06:13:06 +0000 Subject: [PATCH 170/226] libretro.beetle-psx-hw: unstable-2024-07-19 -> unstable-2024-07-26 --- pkgs/applications/emulators/retroarch/hashes.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 5879f15afa46..a302da7ec625 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -85,10 +85,10 @@ "src": { "owner": "libretro", "repo": "beetle-psx-libretro", - "rev": "9c3f4dbe9650c31fa690db230243b4eae9a2f131", - "hash": "sha256-9TJzviamGLClhS6Y9OUm1HfEtLEREaOzgaIXX4GSMYs=" + "rev": "38d74b0b769e3a72e8ea574389b9cc80994e9cc8", + "hash": "sha256-1Lm7TYCTEx6hNa2tjSNWHJMh3vFhyR1oqwiuyVIu+XM=" }, - "version": "unstable-2024-07-19" + "version": "unstable-2024-07-26" }, "beetle-saturn": { "fetcher": "fetchFromGitHub", From 3d50ff5d5ebcfeac31cc29157b4970fc9f7f2916 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 06:13:58 +0000 Subject: [PATCH 171/226] libretro.pcsx-rearmed: unstable-2024-07-16 -> unstable-2024-07-24 --- pkgs/applications/emulators/retroarch/hashes.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 5879f15afa46..fddfe5a7253e 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -631,10 +631,10 @@ "src": { "owner": "libretro", "repo": "pcsx_rearmed", - "rev": "e87127f85b42b8ca4273f7962cdef8c30c2e2090", - "hash": "sha256-X8fcy83wGKuaYI91VTSbbOeURKNPFYbUpMliw8hat3Q=" + "rev": "19f1a7d2de3a136810a84341db77d4f5eb8f3361", + "hash": "sha256-RnR6KuZa5cxw/Z+ZIZ2RhNrPRWlZupR9TDUhc2puBqQ=" }, - "version": "unstable-2024-07-16" + "version": "unstable-2024-07-24" }, "picodrive": { "fetcher": "fetchFromGitHub", From a94d03b049b959ceecda040f6536128be293c50f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 06:17:24 +0000 Subject: [PATCH 172/226] libretro.stella: unstable-2024-06-30 -> unstable-2024-07-30 --- pkgs/applications/emulators/retroarch/hashes.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 5879f15afa46..dbfc5459e0da 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -794,10 +794,10 @@ "src": { "owner": "stella-emu", "repo": "stella", - "rev": "69b300b6f9d46c4f9caa2df1f848a74163cd1173", - "hash": "sha256-8TgbZzmuwDUn23zR1/XKIOdrLwgzq18oMS1KOhSs1oQ=" + "rev": "56e6bd69bc070f1d31e13610f1a7ebb1ca8bacbf", + "hash": "sha256-M2pyCeBQ3N51E6Xy+NvnQwAcuAuXL8sRvZm3nuyeFv0=" }, - "version": "unstable-2024-06-30" + "version": "unstable-2024-07-30" }, "stella2014": { "fetcher": "fetchFromGitHub", From 1d14cfac70c9d537ccb11ea66aec61e020c14740 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 06:26:28 +0000 Subject: [PATCH 173/226] libretro.beetle-pce-fast: unstable-2024-07-19 -> unstable-2024-07-26 --- pkgs/applications/emulators/retroarch/hashes.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 5879f15afa46..b55d6a7ba370 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -65,10 +65,10 @@ "src": { "owner": "libretro", "repo": "beetle-pce-fast-libretro", - "rev": "c68ee949ab5a572c0c6541d25b66e997174a09f6", - "hash": "sha256-6hGO1GGFMBJxhuGXeUulilSN5zAqYjls/b4pHnoyc0Y=" + "rev": "7b7ad0760860f792f3f3a2768230397504e3f66d", + "hash": "sha256-KQLvjpUiA/p9wrUIrxd6jJddk91MEF7B58agPALmu/A=" }, - "version": "unstable-2024-07-19" + "version": "unstable-2024-07-26" }, "beetle-pcfx": { "fetcher": "fetchFromGitHub", From 0a4a62d31d39ddb3f5e9287a60db65377c6b453f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 06:27:07 +0000 Subject: [PATCH 174/226] libretro.beetle-pce: unstable-2024-07-19 -> unstable-2024-07-26 --- pkgs/applications/emulators/retroarch/hashes.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 5879f15afa46..35f1e2837af7 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -55,10 +55,10 @@ "src": { "owner": "libretro", "repo": "beetle-pce-libretro", - "rev": "372184b402852f9b3a3f1663ea676ffa910f6e48", - "hash": "sha256-Q15EKf2dKpmnBRx25KDAeiOOXBNUbNKNBBh16diV6tQ=" + "rev": "03935421be14680a4aed799388e74ecab8167311", + "hash": "sha256-frZ+IYULs5QYGBSw8sp+kEM9U/ykEzZPM/XLdqPr7rs=" }, - "version": "unstable-2024-07-19" + "version": "unstable-2024-07-26" }, "beetle-pce-fast": { "fetcher": "fetchFromGitHub", From 24e26f7ade2bc390dda095beb4256854b8561bc0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 06:34:07 +0000 Subject: [PATCH 175/226] libretro.beetle-supergrafx: unstable-2024-06-28 -> unstable-2024-07-26 --- pkgs/applications/emulators/retroarch/hashes.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 5879f15afa46..182ca479f156 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -115,10 +115,10 @@ "src": { "owner": "libretro", "repo": "beetle-supergrafx-libretro", - "rev": "0e6ce96d68c1565d1cfb2d64841970f19f3cfb66", - "hash": "sha256-4LEvzyIpWBH0jfTuJaRxYe1fKdrw7/Mes6UlkxNyS58=" + "rev": "1943f676c70a9ceeee51f05a7422093c525e83ca", + "hash": "sha256-ANoD95tfBtJyOokB0fdBmFA+d+iJQ4EcFTZyBNXbfMY=" }, - "version": "unstable-2024-06-28" + "version": "unstable-2024-07-26" }, "beetle-vb": { "fetcher": "fetchFromGitHub", From 770c5028f938cb79c22342c7ee5aee71b03dae3a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 06:43:02 +0000 Subject: [PATCH 176/226] libretro.smsplus-gx: unstable-2024-07-20 -> unstable-2024-07-22 --- pkgs/applications/emulators/retroarch/hashes.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 5879f15afa46..2cc95759a3df 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -744,10 +744,10 @@ "src": { "owner": "libretro", "repo": "smsplus-gx", - "rev": "081d956e07188ba9204595c9f15d34b2b0664796", - "hash": "sha256-oVzoVvbqxbyZytXLdnlpeYZDefRRG8mxBFdhgFCPPHM=" + "rev": "29cd96822f5e9b71a8ccfa13a38c6c37ed83ccac", + "hash": "sha256-jdA5PDqwYCJ0V1MxTBJr2Lsm8r9jvZ+l2g2HgrhfP30=" }, - "version": "unstable-2024-07-20" + "version": "unstable-2024-07-22" }, "snes9x": { "fetcher": "fetchFromGitHub", From affaf77b398f56cbc62942fa8deeebf596a970e1 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 06:43:14 +0000 Subject: [PATCH 177/226] libretro.mame2003-plus: unstable-2024-07-20 -> unstable-2024-07-28 --- pkgs/applications/emulators/retroarch/hashes.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 5879f15afa46..5b5f41b097b3 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -439,10 +439,10 @@ "src": { "owner": "libretro", "repo": "mame2003-plus-libretro", - "rev": "eb6295935f5be566fb3aa34dae2856596c37c214", - "hash": "sha256-eYHbPi6rWvwrTPhwGGs2OmvKgs1Ks3SF+6/wgPyvUJw=" + "rev": "8ffa3c773640956c02dfbcd7d5dc8e3a12fc6773", + "hash": "sha256-OzLXcXvrgNQa81n4z8MFEApqsYL4y1e9Cuela5kE34c=" }, - "version": "unstable-2024-07-20" + "version": "unstable-2024-07-28" }, "mame2010": { "fetcher": "fetchFromGitHub", From fc3190f6f14df825ba50ed90019c67757bec0836 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 06:44:16 +0000 Subject: [PATCH 178/226] libretro.ppsspp: unstable-2024-07-20 -> unstable-2024-07-29 --- pkgs/applications/emulators/retroarch/hashes.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 5879f15afa46..39f3ec7542a0 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -663,11 +663,11 @@ "src": { "owner": "hrydgard", "repo": "ppsspp", - "rev": "5edd02ef0a81fec0b9f0e6423cbea96123af083f", - "hash": "sha256-h+hXuRT/0UizOeJgdG4kqWk3mzl6Y88IdHDK/2XqsPA=", + "rev": "52cf10274c342c1dd97d91c273b109d5c859d227", + "hash": "sha256-/XDrbaMyDJgyCZd/5vYkAXw7OvIXx+oagbwqL51uCFI=", "fetchSubmodules": true }, - "version": "unstable-2024-07-20" + "version": "unstable-2024-07-29" }, "prboom": { "fetcher": "fetchFromGitHub", From 066bc7b35200244a198d5c80f9de4f6c56f0b06b Mon Sep 17 00:00:00 2001 From: NeverBehave Date: Fri, 2 Aug 2024 05:20:39 +0000 Subject: [PATCH 179/226] micromdm: init at 1.12.1 --- pkgs/by-name/mi/micromdm/package.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pkgs/by-name/mi/micromdm/package.nix diff --git a/pkgs/by-name/mi/micromdm/package.nix b/pkgs/by-name/mi/micromdm/package.nix new file mode 100644 index 000000000000..4d75c10c2ef3 --- /dev/null +++ b/pkgs/by-name/mi/micromdm/package.nix @@ -0,0 +1,28 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "micromdm"; + version = "1.12.1"; + + src = fetchFromGitHub { + owner = "micromdm"; + repo = "micromdm"; + rev = "v${version}"; + hash = "sha256-hFoInkeJAd5h6UiF19YE9f6kkIZRmhVFVvUAkSkSqlM="; + }; + + vendorHash = "sha256-XYrv/cjma2ZYHs2x6hSXxifuS10Xa/zUx4s5O/OMLf4="; + + meta = { + description = "Mobile Device Management server for Apple Devices, focused on giving you all the power through an API"; + homepage = "https://github.com/micromdm/micromdm"; + license = lib.licenses.mit; + mainProgram = "micromdm"; + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ neverbehave ]; + }; +} From 1989ea1826e2748bac93d5e9fcb18fd94034a734 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 07:13:03 +0000 Subject: [PATCH 180/226] libretro.fbneo: unstable-2024-07-12 -> unstable-2024-07-27 --- pkgs/applications/emulators/retroarch/hashes.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 5879f15afa46..808d96e76b30 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -287,10 +287,10 @@ "src": { "owner": "libretro", "repo": "fbneo", - "rev": "143452d376faf0090d40241c71cc9b532b0605e0", - "hash": "sha256-6IzxMuCX6w5QXR7B3Lz/7GfgIwHQ9MaSakb0bHwG5KU=" + "rev": "6fbc30a830c54304c16ba7dccd3aca2cb30bb473", + "hash": "sha256-zVrkyVskf3VIwEz50gG+z0Zp5SUeMEAX2ls9lKcyLXY=" }, - "version": "unstable-2024-07-12" + "version": "unstable-2024-07-27" }, "fceumm": { "fetcher": "fetchFromGitHub", From 0c019c4ca6478c78fc5359e41e2a6e904e4a74dc Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Thu, 1 Aug 2024 00:20:02 +0530 Subject: [PATCH 181/226] linux-wifi-hotspot: format with nixfmt-rfc-style move to finalAttrs --- .../linux/linux-wifi-hotspot/default.nix | 66 +++++++++---------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/pkgs/os-specific/linux/linux-wifi-hotspot/default.nix b/pkgs/os-specific/linux/linux-wifi-hotspot/default.nix index 8d7fb03499f5..0251dbaaf8ea 100644 --- a/pkgs/os-specific/linux/linux-wifi-hotspot/default.nix +++ b/pkgs/os-specific/linux/linux-wifi-hotspot/default.nix @@ -1,37 +1,37 @@ -{ lib -, stdenv -, fetchFromGitHub -, which -, pkg-config -, glib -, gtk3 -, iw -, makeWrapper -, qrencode -, hostapd -, getopt -, dnsmasq -, iproute2 -, flock -, iptables -, gawk -, coreutils -, gnugrep -, gnused -, kmod -, networkmanager -, procps +{ + lib, + stdenv, + fetchFromGitHub, + which, + pkg-config, + glib, + gtk3, + iw, + makeWrapper, + qrencode, + hostapd, + getopt, + dnsmasq, + iproute2, + flock, + iptables, + gawk, + coreutils, + gnugrep, + gnused, + kmod, + networkmanager, + procps, }: - -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "linux-wifi-hotspot"; version = "4.7.2"; src = fetchFromGitHub { owner = "lakinduakash"; - repo = pname; - rev = "v${version}"; + repo = "linux-wifi-hotspot"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-+WHYWQ4EyAt+Kq0LHEgC7Kk5HpIqThz6W3PIdW8Wojk="; }; @@ -61,13 +61,12 @@ stdenv.mkDerivation rec { --replace "/usr" "$out" ''; - makeFlags = [ - "PREFIX=${placeholder "out"}" - ]; + makeFlags = [ "PREFIX=${placeholder "out"}" ]; postInstall = '' wrapProgram $out/bin/create_ap \ - --prefix PATH : ${lib.makeBinPath [ + --prefix PATH : ${ + lib.makeBinPath [ coreutils dnsmasq flock @@ -83,7 +82,8 @@ stdenv.mkDerivation rec { networkmanager procps which - ]} + ] + } wrapProgram $out/bin/wihotspot-gui \ --prefix PATH : ${lib.makeBinPath [ iw ]} \ @@ -102,4 +102,4 @@ stdenv.mkDerivation rec { platforms = platforms.unix; }; -} +}) From 8a1ea7ddd1adc0ee6d61934945e6c6433bde8ec6 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Thu, 1 Aug 2024 00:22:14 +0530 Subject: [PATCH 182/226] linux-wifi-hotspot: move to pkgs/by-name --- .../default.nix => by-name/li/linux-wifi-hotspot/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 2 deletions(-) rename pkgs/{os-specific/linux/linux-wifi-hotspot/default.nix => by-name/li/linux-wifi-hotspot/package.nix} (100%) diff --git a/pkgs/os-specific/linux/linux-wifi-hotspot/default.nix b/pkgs/by-name/li/linux-wifi-hotspot/package.nix similarity index 100% rename from pkgs/os-specific/linux/linux-wifi-hotspot/default.nix rename to pkgs/by-name/li/linux-wifi-hotspot/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6a87b68828c0..d5e66a2b833b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26768,8 +26768,6 @@ with pkgs; linuxConsoleTools = callPackage ../os-specific/linux/consoletools { }; - linux-wifi-hotspot = callPackage ../os-specific/linux/linux-wifi-hotspot { }; - linthesia = callPackage ../games/linthesia/default.nix { }; libreelec-dvb-firmware = callPackage ../os-specific/linux/firmware/libreelec-dvb-firmware { }; From a0f9d3e709152fdf5f1d83323f300fc2ee446853 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Fri, 2 Aug 2024 12:45:00 +0530 Subject: [PATCH 183/226] linux-wifi-hotspot: add johnrtitor as maintainer --- pkgs/by-name/li/linux-wifi-hotspot/package.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/li/linux-wifi-hotspot/package.nix b/pkgs/by-name/li/linux-wifi-hotspot/package.nix index 0251dbaaf8ea..d4e1d9f74725 100644 --- a/pkgs/by-name/li/linux-wifi-hotspot/package.nix +++ b/pkgs/by-name/li/linux-wifi-hotspot/package.nix @@ -98,7 +98,10 @@ stdenv.mkDerivation (finalAttrs: { description = "Feature-rich wifi hotspot creator for Linux which provides both GUI and command-line interface"; homepage = "https://github.com/lakinduakash/linux-wifi-hotspot"; license = licenses.bsd2; - maintainers = with maintainers; [ onny ]; + maintainers = with maintainers; [ + johnrtitor + onny + ]; platforms = platforms.unix; }; From aa1fde65aff7f209ccaf3255e080e7458f06a56f Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Thu, 11 Jul 2024 19:46:10 +0200 Subject: [PATCH 184/226] avml: init at 0.14.0 https://github.com/microsoft/avml add update script Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com> --- pkgs/by-name/av/avml/package.nix | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pkgs/by-name/av/avml/package.nix diff --git a/pkgs/by-name/av/avml/package.nix b/pkgs/by-name/av/avml/package.nix new file mode 100644 index 000000000000..6ae9f4378ec6 --- /dev/null +++ b/pkgs/by-name/av/avml/package.nix @@ -0,0 +1,38 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, + perl, + testers, + avml, + nix-update-script, +}: + +rustPlatform.buildRustPackage rec { + pname = "avml"; + version = "0.14.0"; + + src = fetchFromGitHub { + owner = "microsoft"; + repo = "avml"; + rev = "refs/tags/v${version}"; + hash = "sha256-MIqQ5NRWAfXm7AblsKCrUiaYN5IGUo2jWJMJZL+w3V4="; + }; + + cargoHash = "sha256-gcpjrxnQDyO92OW6LZVc4x73TmTtQoaEYhmGmqhz8ng="; + + nativeBuildInputs = [ perl ]; + + passthru.tests.version = testers.testVersion { package = avml; }; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "A portable volatile memory acquisition tool for Linux"; + homepage = "https://github.com/microsoft/avml"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.lesuisse ]; + platforms = lib.platforms.linux; + mainProgram = "avml"; + }; +} From 1cb3083bb456b191a2c59769d54f2b34fd188adb Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 2 Aug 2024 08:07:29 +0200 Subject: [PATCH 185/226] rye: 0.37.0 -> 0.38.0 Diff: https://github.com/mitsuhiko/rye/compare/refs/tags/0.37.0...0.38.0 Changelog: https://github.com/mitsuhiko/rye/releases/tag/0.38.0 --- pkgs/development/tools/rye/Cargo.lock | 2 +- pkgs/development/tools/rye/default.nix | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rye/Cargo.lock b/pkgs/development/tools/rye/Cargo.lock index b2a4a7d789ed..942403ca97da 100644 --- a/pkgs/development/tools/rye/Cargo.lock +++ b/pkgs/development/tools/rye/Cargo.lock @@ -1799,7 +1799,7 @@ dependencies = [ [[package]] name = "rye" -version = "0.37.0" +version = "0.38.0" dependencies = [ "age", "anyhow", diff --git a/pkgs/development/tools/rye/default.nix b/pkgs/development/tools/rye/default.nix index cb652a34114d..02031b764578 100644 --- a/pkgs/development/tools/rye/default.nix +++ b/pkgs/development/tools/rye/default.nix @@ -15,13 +15,13 @@ rustPlatform.buildRustPackage rec { pname = "rye"; - version = "0.37.0"; + version = "0.38.0"; src = fetchFromGitHub { owner = "mitsuhiko"; repo = "rye"; rev = "refs/tags/${version}"; - hash = "sha256-jrtqH5Ur7yXFwYORSkS839s5Q3BtllAJBJC78vOddZ8="; + hash = "sha256-mTVpNyFEovaOdOBTcASSRejKfSs50cqpDuStDAkcdkQ="; }; cargoLock = { @@ -60,11 +60,13 @@ rustPlatform.buildRustPackage rec { # The following require internet access to fetch a python binary "--skip=test_add_and_sync_no_auto_sync" "--skip=test_add_autosync" + "--skip=test_add_dev" "--skip=test_add_explicit_version_or_url" "--skip=test_add_flask" "--skip=test_add_from_find_links" "--skip=test_autosync_remember" "--skip=test_basic_list" + "--skip=test_basic_script" "--skip=test_basic_tool_behavior" "--skip=test_config_empty" "--skip=test_config_get_set_multiple" From de65c45a4b8b491bc6217b4865e6c2c9199a3ade Mon Sep 17 00:00:00 2001 From: K900 Date: Fri, 2 Aug 2024 11:02:41 +0300 Subject: [PATCH 186/226] emscripten: pin to LLVM 19 Doesn't build with llvmPackages_git 20. --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6a87b68828c0..ee98649d944a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7596,7 +7596,7 @@ with pkgs; easeprobe = callPackage ../tools/misc/easeprobe { }; emscripten = callPackage ../development/compilers/emscripten { - llvmPackages = llvmPackages_git; + llvmPackages = llvmPackages_19; }; emscriptenPackages = recurseIntoAttrs (callPackage ./emscripten-packages.nix { }); From dbe537c0c4f426a472879154e182f7b479008ac3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 08:21:24 +0000 Subject: [PATCH 187/226] powerpipe: 0.4.0 -> 0.4.1 --- pkgs/by-name/po/powerpipe/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/po/powerpipe/package.nix b/pkgs/by-name/po/powerpipe/package.nix index 353d2a5ba493..3591f8b94f0b 100644 --- a/pkgs/by-name/po/powerpipe/package.nix +++ b/pkgs/by-name/po/powerpipe/package.nix @@ -11,16 +11,16 @@ buildGoModule rec { pname = "powerpipe"; - version = "0.4.0"; + version = "0.4.1"; src = fetchFromGitHub { owner = "turbot"; repo = "powerpipe"; rev = "refs/tags/v${version}"; - hash = "sha256-KJ024dIU0GmeHCFa/pbyFIA+LitaudHC+NBGg8yNWxM="; + hash = "sha256-8gQ3+sXeWTiuFgj2XKh2ngo5qBBczoqnX3NiHflJGSU="; }; - vendorHash = "sha256-XALFXUeWrS4nt+ONToCfYXvLWuk7ZhLWvJidnATcWtM="; + vendorHash = "sha256-9SgGBkxPuelJrUpG8vnVPt0w5UdL4slxHJDSXDitaAQ="; proxyVendor = true; nativeBuildInputs = [ From 3de4714572e31844922990e05f2654d3c2b4a19f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 2 Aug 2024 09:43:39 +0200 Subject: [PATCH 188/226] make-initrd-ng: also print json itself if it fails to parse The current error message is hard to debug because the error is in the nix store: > Error: failed to parse JSON in "/build/.attr-1s42g1c76fxb77skzq0b4wdhcrg8jmzb54czmxvh1qm7psgsbcni" > > Caused by: > missing field `source` at line 1 column 102 > > Location: > src/main.rs:329:10 --- pkgs/build-support/kernel/make-initrd-ng/src/main.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/build-support/kernel/make-initrd-ng/src/main.rs b/pkgs/build-support/kernel/make-initrd-ng/src/main.rs index 29f10552bdef..934c2faebed8 100644 --- a/pkgs/build-support/kernel/make-initrd-ng/src/main.rs +++ b/pkgs/build-support/kernel/make-initrd-ng/src/main.rs @@ -326,7 +326,12 @@ fn main() -> eyre::Result<()> { let contents = fs::read(&args[1]).wrap_err_with(|| format!("failed to open file {:?}", &args[1]))?; let input = serde_json::from_slice::>(&contents) - .wrap_err_with(|| format!("failed to parse JSON in {:?}", &args[1]))?; + .wrap_err_with(|| { + let text = String::from_utf8_lossy(&contents); + format!("failed to parse JSON '{}' in {:?}", + text, + &args[1]) + })?; let output = &args[2]; let out_path = Path::new(output); From d79b03a59c448b31bef79fd156337cb2baae898d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 2 Aug 2024 10:22:39 +0200 Subject: [PATCH 189/226] fix netboot image --- nixos/modules/installer/netboot/netboot.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/installer/netboot/netboot.nix b/nixos/modules/installer/netboot/netboot.nix index 93f806b75eb1..33301c6423db 100644 --- a/nixos/modules/installer/netboot/netboot.nix +++ b/nixos/modules/installer/netboot/netboot.nix @@ -88,8 +88,8 @@ with lib; prepend = [ "${config.system.build.initialRamdisk}/initrd" ]; contents = - [ { object = config.system.build.squashfsStore; - symlink = "/nix-store.squashfs"; + [ { source = config.system.build.squashfsStore; + target = "/nix-store.squashfs"; } ]; }; From 8ea37d03085f647e9d7220ca44499a534282405c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 08:31:03 +0000 Subject: [PATCH 190/226] libretro.atari800: unstable-2024-05-18 -> unstable-2024-07-25 --- pkgs/applications/emulators/retroarch/hashes.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 5879f15afa46..32adca6e553a 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -15,10 +15,10 @@ "src": { "owner": "libretro", "repo": "libretro-atari800", - "rev": "8bfa3b80f6a2db365dfd1e8a6c06b7b0844327cf", - "hash": "sha256-sUv1NT5aOwULOCC9vCrlRXcvVdlfZk9dmPMZg2NGAPg=" + "rev": "50141a6bf1a069abd86dd8c53aa4031f3f7cfbd1", + "hash": "sha256-pS5nvU+2eZ7We0ySN+Te6+Y3uuro5bz2FTPuLgvNCl4=" }, - "version": "unstable-2024-05-18" + "version": "unstable-2024-07-25" }, "beetle-gba": { "fetcher": "fetchFromGitHub", From 4c77c39e127a1edb38d39f066ea736785df64a05 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 08:31:24 +0000 Subject: [PATCH 191/226] libretro.bsnes: unstable-2024-07-19 -> unstable-2024-07-26 --- pkgs/applications/emulators/retroarch/hashes.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 5879f15afa46..7f0b29d5d4e5 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -165,10 +165,10 @@ "src": { "owner": "libretro", "repo": "bsnes-libretro", - "rev": "5c0115612ea84fefeebf7219c32006cd32b575ec", - "hash": "sha256-veOlN2OV6Xxl+GmH7T/DdTVCmEiSgK72QHgT9TGu89w=" + "rev": "d63ec98054477d4be3398d108b6ec0a7b162349a", + "hash": "sha256-XONLqioPLJJkZMQ5e2wz0N2vMwZxsPG5FYkDeZgk+JU=" }, - "version": "unstable-2024-07-19" + "version": "unstable-2024-07-26" }, "bsnes-hd": { "fetcher": "fetchFromGitHub", From befba32076c33e50320437a5a043bc5386fd0365 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 08:38:41 +0000 Subject: [PATCH 192/226] libretro.flycast: unstable-2024-07-19 -> unstable-2024-07-29 --- pkgs/applications/emulators/retroarch/hashes.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 5879f15afa46..f5e5ee381c47 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -307,11 +307,11 @@ "src": { "owner": "flyinghead", "repo": "flycast", - "rev": "0b6b8b3753fb219cb0e3a1d55d2ec7948f2e4842", - "hash": "sha256-3U7JTNROxi71NpHERlUzGb8i9oaGdsXDtqgClqcO0kM=", + "rev": "45bf218df428123f739714ef4e65e1b96c0959b7", + "hash": "sha256-TB8cSwvwyfG3tNsMf2qXDZGMTuwnNeRlhyH8fzDnvQM=", "fetchSubmodules": true }, - "version": "unstable-2024-07-19" + "version": "unstable-2024-07-29" }, "fmsx": { "fetcher": "fetchFromGitHub", From 41c4517239f357b7c7e99c332b5bec0ec2d6481c Mon Sep 17 00:00:00 2001 From: K900 Date: Fri, 2 Aug 2024 12:07:39 +0300 Subject: [PATCH 193/226] Revert "pebble: 2.4.0 -> 2.6.0 and fix version info" --- pkgs/tools/admin/pebble/default.nix | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/pkgs/tools/admin/pebble/default.nix b/pkgs/tools/admin/pebble/default.nix index 703ca1ff6c86..384cc0f3d928 100644 --- a/pkgs/tools/admin/pebble/default.nix +++ b/pkgs/tools/admin/pebble/default.nix @@ -7,32 +7,27 @@ buildGoModule rec { pname = "pebble"; - version = "2.6.0"; + version = "2.4.0"; src = fetchFromGitHub { owner = "letsencrypt"; repo = pname; rev = "v${version}"; - hash = "sha256-YPU/bl7h6rOWg+5ut0Thn2UupeKpJ7u4KXc2svIeZEM="; + sha256 = "0sh67bzq3hlagk73w2kp45viq15g2rcxm760jk9fqshamq784m6m"; }; vendorHash = null; - ldflags = [ - "-s" "-w" - "-X main.version=${version}" - ]; - passthru.tests = { smoke-test = nixosTests.acme; }; meta = { + # ca/ca.go:374:67: 9223372038 (untyped int constant) overflows uint + broken = stdenv.hostPlatform.is32bit; homepage = "https://github.com/letsencrypt/pebble"; - description = "Small RFC 8555 ACME test server"; - longDescription = "Miniature version of Boulder, Pebble is a small RFC 8555 ACME test server not suited for a production CA"; + description = "Miniature version of Boulder, Pebble is a small RFC 8555 ACME test server not suited for a production CA"; license = [ lib.licenses.mpl20 ]; - mainProgram = "pebble"; maintainers = lib.teams.acme.members; }; } From e34f03060e394a7812d8a4b9ced35a4f8978bee4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 09:44:48 +0000 Subject: [PATCH 194/226] libretro.genesis-plus-gx: unstable-2024-07-20 -> unstable-2024-07-26 --- pkgs/applications/emulators/retroarch/hashes.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 5879f15afa46..1974e56645c3 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -358,10 +358,10 @@ "src": { "owner": "libretro", "repo": "Genesis-Plus-GX", - "rev": "7f3efe569177702f77d1cdfadba6568f82e30112", - "hash": "sha256-ABuWTzN0AvHXiODMSVU0lVYr44WGWpjtEuFfe0y6URw=" + "rev": "5567ea92c6a1b76d72fedaee679a997056038001", + "hash": "sha256-4NWA963BSJ9OTq8Lv1v8P3kYwY+mBTQ8uN6zspmkUB4=" }, - "version": "unstable-2024-07-20" + "version": "unstable-2024-07-26" }, "gpsp": { "fetcher": "fetchFromGitHub", From 119103deda9878a150e539975e0b3b31bc8326ec Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 09:45:16 +0000 Subject: [PATCH 195/226] libretro.gambatte: unstable-2024-07-19 -> unstable-2024-07-26 --- pkgs/applications/emulators/retroarch/hashes.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 5879f15afa46..563386ab15dc 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -348,10 +348,10 @@ "src": { "owner": "libretro", "repo": "gambatte-libretro", - "rev": "0cf1a421a2123205559c666853cdf9112382fa46", - "hash": "sha256-CjcmRMk+fL1WwiiNcFCv8FGeoPl/Ib9jMvXJRzApPNU=" + "rev": "607c19668426b8945011fd11e25cfce7849f7e13", + "hash": "sha256-8uLKOxLRWbczUkhsXqjXVH7SDlIqrp0LNdzVjmxbP2U=" }, - "version": "unstable-2024-07-19" + "version": "unstable-2024-07-26" }, "genesis-plus-gx": { "fetcher": "fetchFromGitHub", From e09e81ff278d3cf070872e190a56023d4a4b86cf Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 09:45:32 +0000 Subject: [PATCH 196/226] libretro.swanstation: unstable-2024-07-15 -> unstable-2024-07-24 --- pkgs/applications/emulators/retroarch/hashes.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 5879f15afa46..a0a53716d681 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -814,10 +814,10 @@ "src": { "owner": "libretro", "repo": "swanstation", - "rev": "b17b0e4348b3e21f67f84568b12a26a95d0631dc", - "hash": "sha256-Q+sDPXclfKnPFmMjgxtlY6/iK6ZnegwQ3uNoqUhDkoo=" + "rev": "37cd87e14ca09ac1b558e5b2c7db4ad256865bbb", + "hash": "sha256-dNIxlTPoY4S6VMtTN22ti3DE4aU/8XN/XhAo3DMNR/E=" }, - "version": "unstable-2024-07-15" + "version": "unstable-2024-07-24" }, "tgbdual": { "fetcher": "fetchFromGitHub", From cfa3e57cd9accf657ed8933295fc8717ad3d2476 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 2 Aug 2024 02:49:51 -0700 Subject: [PATCH 197/226] bitwarden-cli: 2024.7.1 -> 2024.7.2 Diff: https://github.com/bitwarden/clients/compare/cli-v2024.7.1...cli-v2024.7.2 Changelog: https://github.com/bitwarden/clients/releases/tag/cli-v2024.7.2 --- pkgs/by-name/bi/bitwarden-cli/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/bi/bitwarden-cli/package.nix b/pkgs/by-name/bi/bitwarden-cli/package.nix index 8338dd233587..654fa709a9b1 100644 --- a/pkgs/by-name/bi/bitwarden-cli/package.nix +++ b/pkgs/by-name/bi/bitwarden-cli/package.nix @@ -11,18 +11,18 @@ buildNpmPackage rec { pname = "bitwarden-cli"; - version = "2024.7.1"; + version = "2024.7.2"; src = fetchFromGitHub { owner = "bitwarden"; repo = "clients"; rev = "cli-v${version}"; - hash = "sha256-ZnqvqPR1Xuf6huhD5kWlnu4XOAWn7yte3qxgU/HPhiQ="; + hash = "sha256-MqIznJe5GeRTJ+sgOJoTHAQaac0obuBDb63XxQeG1iY="; }; nodejs = nodejs_20; - npmDepsHash = "sha256-lWlAc0ITSp7WwxM09umBo6qeRzjq4pJdC0RDUrZwcHY="; + npmDepsHash = "sha256-XDN92VPKTA9KeSg5CQXxhXyEARZBwpERZ3400xqwg7U="; nativeBuildInputs = [ (python3.withPackages (ps: with ps; [ setuptools ])) From 06815290ce626fcdc142627a98e11ba75b6fdddd Mon Sep 17 00:00:00 2001 From: toonn Date: Tue, 30 Jul 2024 00:23:28 +0200 Subject: [PATCH 198/226] ffmpeg_7-full: Enable xev{d,e} on all Darwin system Only aarch64-linux is known to be incompatible currently. By conditioning the option on the xev{d,e}.meta.broken attribute the features will automatically be enabled when xev{d,e} are no longer broken on aarch64-linux. --- pkgs/development/libraries/ffmpeg/generic.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/ffmpeg/generic.nix b/pkgs/development/libraries/ffmpeg/generic.nix index c780ad1b545a..4d73c8ae72be 100644 --- a/pkgs/development/libraries/ffmpeg/generic.nix +++ b/pkgs/development/libraries/ffmpeg/generic.nix @@ -129,9 +129,8 @@ , withXcbShape ? withFullDeps # X11 grabbing shape rendering , withXcbShm ? withFullDeps # X11 grabbing shm communication , withXcbxfixes ? withFullDeps # X11 grabbing mouse rendering -# Currently only supports gcc and msvc as compiler, the limitation for clang get removed in the next release, but that does not fix building on darwin. -, withXevd ? withFullDeps && lib.versionAtLeast version "7" && stdenv.hostPlatform.isx86 && stdenv.cc.isGNU # MPEG-5 EVC decoding -, withXeve ? withFullDeps && lib.versionAtLeast version "7" && stdenv.hostPlatform.isx86 && stdenv.cc.isGNU # MPEG-5 EVC encoding +, withXevd ? withFullDeps && lib.versionAtLeast version "7" && !xevd.meta.broken # MPEG-5 EVC decoding +, withXeve ? withFullDeps && lib.versionAtLeast version "7" && !xeve.meta.broken # MPEG-5 EVC encoding , withXlib ? withFullDeps # Xlib support , withXml2 ? withFullDeps # libxml2 support, for IMF and DASH demuxers , withXvid ? withHeadlessDeps && withGPL # Xvid encoder, native encoder exists From 8426bb23b4dac27dbae234b684f32e7bd0fa59b7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 10:37:20 +0000 Subject: [PATCH 199/226] libretro.dosbox-pure: unstable-2024-07-20 -> unstable-2024-08-01 --- pkgs/applications/emulators/retroarch/hashes.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 5879f15afa46..58caf0f04f9b 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -246,10 +246,10 @@ "src": { "owner": "schellingb", "repo": "dosbox-pure", - "rev": "1476308debfad87ce377c6cfe62db1398774cd65", - "hash": "sha256-Op+3UQoPSHOSBqOdebp9wjgTt0apTLuwlcbooPqMvLU=" + "rev": "2b7544492940e2208147f2b44cf6209b97ce8493", + "hash": "sha256-felA+nEqtbgW7BJ/kJPrfqGmLcMsv8jqN4nWA4uCvOE=" }, - "version": "unstable-2024-07-20" + "version": "unstable-2024-08-01" }, "easyrpg": { "fetcher": "fetchFromGitHub", From 0e33ef9a30ee0c717934dc82bf1e03c3568ab5d0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 10:37:42 +0000 Subject: [PATCH 200/226] werf: 2.8.0 -> 2.9.3 --- pkgs/by-name/we/werf/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/we/werf/package.nix b/pkgs/by-name/we/werf/package.nix index 1ac19738f59c..01c630f57538 100644 --- a/pkgs/by-name/we/werf/package.nix +++ b/pkgs/by-name/we/werf/package.nix @@ -11,13 +11,13 @@ buildGoModule rec { pname = "werf"; - version = "2.8.0"; + version = "2.9.3"; src = fetchFromGitHub { owner = "werf"; repo = "werf"; rev = "v${version}"; - hash = "sha256-+IwDj2K+PyOczIEm4EB+2P/8ilhScdftmE0v9iBFidk="; + hash = "sha256-UswVkf4wo8GfrhXu+ayUYHYzBFnGGz/7C0BBMpyuyXc="; }; vendorHash = "sha256-Ta2owh1Z7mB4e85ZHK1maL5GoBMzM0mf3wsU6ho+4Z0="; From 7d1134ba7d46a730ad995b467804a8b310aeafaa Mon Sep 17 00:00:00 2001 From: Martin Joerg Date: Fri, 2 Aug 2024 10:41:42 +0000 Subject: [PATCH 201/226] spotify: 1.2.40.599.g606b7f29 -> 1.2.42.290.g242057a2 --- pkgs/applications/audio/spotify/linux.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/audio/spotify/linux.nix b/pkgs/applications/audio/spotify/linux.nix index 84ca34d48d60..5ca8e481fa2d 100644 --- a/pkgs/applications/audio/spotify/linux.nix +++ b/pkgs/applications/audio/spotify/linux.nix @@ -14,14 +14,14 @@ let # If an update breaks things, one of those might have valuable info: # https://aur.archlinux.org/packages/spotify/ # https://community.spotify.com/t5/Desktop-Linux - version = "1.2.40.599.g606b7f29"; + version = "1.2.42.290.g242057a2"; # To get the latest stable revision: # curl -H 'X-Ubuntu-Series: 16' 'https://api.snapcraft.io/api/v1/snaps/details/spotify?channel=stable' | jq '.download_url,.version,.last_updated' # To get general information: # curl -H 'Snap-Device-Series: 16' 'https://api.snapcraft.io/v2/snaps/info/spotify' | jq '.' # More examples of api usage: # https://github.com/canonical-websites/snapcraft.io/blob/master/webapp/publisher/snaps/views.py - rev = "77"; + rev = "78"; deps = [ alsa-lib @@ -88,7 +88,7 @@ stdenv.mkDerivation { src = fetchurl { name = "spotify-${version}-${rev}.snap"; url = "https://api.snapcraft.io/api/v1/snaps/download/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_${rev}.snap"; - hash = "sha512-XQyZbU6dJh87jEdEvks2D0EpMkjPSKROl8kurSaiPs2z4FZ2SxM2DUvHwtKemKKScdTISm3jh6wyHXwPhB8eNQ=="; + hash = "sha512-3kT7SA2Q1OxgDa5duivIiHaxcROBAFjDnTx6rw2ya6o5yOVygseS02zBgWg2Qd8jq0721KbYC83u9M+MWtWhhA=="; }; nativeBuildInputs = [ wrapGAppsHook3 makeShellWrapper squashfsTools ]; From b61731fc0f7a0e77ab098e72dbc509e63787eb35 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 11:16:44 +0000 Subject: [PATCH 202/226] cdecl: 18.1 -> 18.2 --- pkgs/by-name/cd/cdecl/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/cd/cdecl/package.nix b/pkgs/by-name/cd/cdecl/package.nix index e167cc3b69ae..20cac4a653f6 100644 --- a/pkgs/by-name/cd/cdecl/package.nix +++ b/pkgs/by-name/cd/cdecl/package.nix @@ -11,13 +11,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "cdecl"; - version = "18.1"; + version = "18.2"; src = fetchFromGitHub { owner = "paul-j-lucas"; repo = "cdecl"; rev = "refs/tags/cdecl-${finalAttrs.version}"; - hash = "sha256-qbb+xBGKNxteGMDcTy+o24EagupiSi/Zf/NLk7jpS0U="; + hash = "sha256-6mj5M4SI0TG+N4exu3xdAqh8a98VOFtS1DbuRIYmW+Y="; }; strictDeps = true; From 4ccb94d239ca55cc7d5a1833a64f20a494042023 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 2 Aug 2024 14:23:43 +0200 Subject: [PATCH 203/226] zigbee2mqtt: 1.39.0 -> 1.39.1 https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.39.1 --- pkgs/servers/zigbee2mqtt/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/zigbee2mqtt/default.nix b/pkgs/servers/zigbee2mqtt/default.nix index 0368963ceb51..359c04dd0b9a 100644 --- a/pkgs/servers/zigbee2mqtt/default.nix +++ b/pkgs/servers/zigbee2mqtt/default.nix @@ -10,16 +10,16 @@ buildNpmPackage rec { pname = "zigbee2mqtt"; - version = "1.39.0"; + version = "1.39.1"; src = fetchFromGitHub { owner = "Koenkk"; repo = "zigbee2mqtt"; rev = version; - hash = "sha256-+JpL6LadrD5FDxtiv+YNkfqylYEp/1aSlkLIaFXl5mw="; + hash = "sha256-mshQdb28vSEbHeSDLrVxx3sSgpRBMeqsVljiLtwTsF0="; }; - npmDepsHash = "sha256-HMRYbVw4mfxOoPaAzquCEBy97hUC3tR6s1Z8MppJgzY="; + npmDepsHash = "sha256-+/WLjypVYDE4b6gcxXInU9ukntPH5GZpd8T3rlqrINs="; buildInputs = lib.optionals withSystemd [ systemdMinimal From 91b406a073f91e4ce408053648997ef3b6b074d0 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 2 Aug 2024 14:34:59 +0200 Subject: [PATCH 204/226] nss_latest: 3.102.1 -> 3.103 https://firefox-source-docs.mozilla.org/security/nss/releases/nss_3_103.html --- pkgs/development/libraries/nss/latest.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/nss/latest.nix b/pkgs/development/libraries/nss/latest.nix index 1bc691bde713..22eca6fec109 100644 --- a/pkgs/development/libraries/nss/latest.nix +++ b/pkgs/development/libraries/nss/latest.nix @@ -5,6 +5,6 @@ # Example: nix-shell ./maintainers/scripts/update.nix --argstr package cacert import ./generic.nix { - version = "3.102.1"; - hash = "sha256-rHPDPLSatEk1ZVvtEM/Ct1V5MFpCiW9kwSBQzSz0lak="; + version = "3.103"; + hash = "sha256-e57HN50lHT4+nkdZPyixpWFyTD0c+xZBk23BhmIumV8="; } From 9578e7064f5fd8f33b9a5eb9d4168daa8d3b5b03 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 12:42:37 +0000 Subject: [PATCH 205/226] python312Packages.airgradient: 0.7.0 -> 0.7.1 --- pkgs/development/python-modules/airgradient/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/airgradient/default.nix b/pkgs/development/python-modules/airgradient/default.nix index 992b06968b06..02a642b98bee 100644 --- a/pkgs/development/python-modules/airgradient/default.nix +++ b/pkgs/development/python-modules/airgradient/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "airgradient"; - version = "0.7.0"; + version = "0.7.1"; pyproject = true; disabled = pythonOlder "3.11"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "airgradienthq"; repo = "python-airgradient"; rev = "refs/tags/v${version}"; - hash = "sha256-4bHo65ew5UVGUgoM9y6kxo1ocMtrxQ5Bn6Zn77qXJ7M="; + hash = "sha256-EFt2V+r7RLiFMihFCCBU9iEPcbSybK6gP+uxed+mIeo="; }; postPatch = '' From 861eee7e2b5a2dffe68b93082be6a43ad4aebc0d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 13:02:53 +0000 Subject: [PATCH 206/226] clickhouse-backup: 2.5.20 -> 2.5.21 --- .../tools/database/clickhouse-backup/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/database/clickhouse-backup/default.nix b/pkgs/development/tools/database/clickhouse-backup/default.nix index 3223119b08f8..3a794b5f0e69 100644 --- a/pkgs/development/tools/database/clickhouse-backup/default.nix +++ b/pkgs/development/tools/database/clickhouse-backup/default.nix @@ -7,16 +7,16 @@ buildGoModule rec { pname = "clickhouse-backup"; - version = "2.5.20"; + version = "2.5.21"; src = fetchFromGitHub { owner = "Altinity"; repo = "clickhouse-backup"; rev = "v${version}"; - hash = "sha256-s9GVhn4jRNhBaoxjQwyJfAkchsf+KRw0aqLsBDuca3o="; + hash = "sha256-DjmhDUHC7278J9ByUlzXUF2s1GxRVNbRaYdlyy+5D/w="; }; - vendorHash = "sha256-sMhcEFRqIROnXSdZA+NjHGAZLicFjU7swJK9RBV/EpQ="; + vendorHash = "sha256-w3bfCn8A2ETJ6i1hm1FTNpTDXPFXF4vvkFAZCO/y7HE="; ldflags = [ "-X main.version=${version}" From 300c7e6cc380b03330070906e41d0d448521c076 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 13:05:03 +0000 Subject: [PATCH 207/226] coldsnap: 0.6.1 -> 0.6.2 --- pkgs/tools/admin/coldsnap/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/admin/coldsnap/default.nix b/pkgs/tools/admin/coldsnap/default.nix index b8b66fb66cf0..b2825ce7d5a8 100644 --- a/pkgs/tools/admin/coldsnap/default.nix +++ b/pkgs/tools/admin/coldsnap/default.nix @@ -9,15 +9,15 @@ rustPlatform.buildRustPackage rec { pname = "coldsnap"; - version = "0.6.1"; + version = "0.6.2"; src = fetchFromGitHub { owner = "awslabs"; repo = pname; rev = "v${version}"; - hash = "sha256-nQ9OIeFo79f2UBNE9dCl7+bt55XTjQTgWlfyP0Jkj1w="; + hash = "sha256-NYMcCLFhX7eD6GXMP9NZDXDnXDDVbcvVwhUAqmwX+ig="; }; - cargoHash = "sha256-8HgO8BqBWiygZmiuRL8WJy3OXSBAKFNVGN7NA6Fx2BM="; + cargoHash = "sha256-ngkoxybl52zTH4wo+sIUtU8vtzOAp+jU1RyTO2KbCgU="; buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; nativeBuildInputs = [ pkg-config ]; From 06b853859ff5f26af9d2b93cb7aa18c51380b576 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 13:44:46 +0000 Subject: [PATCH 208/226] kubectl-view-secret: 0.12.0 -> 0.12.1 --- .../networking/cluster/kubectl-view-secret/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/kubectl-view-secret/default.nix b/pkgs/applications/networking/cluster/kubectl-view-secret/default.nix index 7f22523e46bc..5dbc4513a9f0 100644 --- a/pkgs/applications/networking/cluster/kubectl-view-secret/default.nix +++ b/pkgs/applications/networking/cluster/kubectl-view-secret/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "kubectl-view-secret"; - version = "0.12.0"; + version = "0.12.1"; src = fetchFromGitHub { owner = "elsesiy"; repo = pname; rev = "v${version}"; - hash = "sha256-5X5rOoERx6HoG3cOBpYm12anMXXDjTtHZzQOOlJeJSs="; + hash = "sha256-0/gz3fquqZCRbHQrBBLXs2rwQPkyktEcBMQ46GfMauo="; }; - vendorHash = "sha256-oQvmS05nev+ypfkKAlTN+JbzPux5iAzHsojW8SxtB70="; + vendorHash = "sha256-OJboCLa+ntKOhmQ9zs5aF/mio5OFsr/f/IS0PAwAi6U="; subPackages = [ "./cmd/" ]; From ab2c4b7afbf747bce275e797474e257729189287 Mon Sep 17 00:00:00 2001 From: abysssol Date: Fri, 2 Aug 2024 09:49:23 -0400 Subject: [PATCH 209/226] ollama: update hash for 0.3.1 it appears that upstream ollama changed the `v0.3.1` tag --- pkgs/by-name/ol/ollama/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/ol/ollama/package.nix b/pkgs/by-name/ol/ollama/package.nix index 4406d8985fbf..132cb2d5c00f 100644 --- a/pkgs/by-name/ol/ollama/package.nix +++ b/pkgs/by-name/ol/ollama/package.nix @@ -46,7 +46,7 @@ let owner = "ollama"; repo = "ollama"; rev = "v${version}"; - hash = "sha256-iD7LX4OstnNL2FZKObh4z9krkN0sfUUbFEZxu6OvdBs="; + hash = "sha256-ctz9xh1wisG0YUxglygKHIvU9bMgMLkGqDoknb8qSAU="; fetchSubmodules = true; }; From 6c1956f2af1ea6a42996e29377c7defae69a9467 Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Wed, 26 Jun 2024 15:29:18 +0200 Subject: [PATCH 210/226] wayneko: init at 0-unstable-2024-03-29 formatted with nixfmt-rfc-style Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com> --- pkgs/by-name/wa/wayneko/package.nix | 47 +++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 pkgs/by-name/wa/wayneko/package.nix diff --git a/pkgs/by-name/wa/wayneko/package.nix b/pkgs/by-name/wa/wayneko/package.nix new file mode 100644 index 000000000000..07adf3e83a58 --- /dev/null +++ b/pkgs/by-name/wa/wayneko/package.nix @@ -0,0 +1,47 @@ +{ + lib, + stdenv, + fetchFromSourcehut, + pixman, + pkg-config, + wayland, + wayland-scanner, +}: + +stdenv.mkDerivation { + pname = "wayneko"; + version = "0-unstable-2024-03-29"; + + src = fetchFromSourcehut { + owner = "~leon_plickat"; + repo = "wayneko"; + rev = "c1919dc3a7e610d30e4c06efaa5af85941f27d86"; + hash = "sha256-2cbEcDK6WZPe4HvY1pxmZVyDAj617VP1l0Gn7uSlNaE="; + }; + + postPatch = '' + substituteInPlace Makefile \ + --replace-fail -Werror "" + ''; + + nativeBuildInputs = [ + pkg-config + wayland-scanner + ]; + + buildInputs = [ + pixman + wayland + ]; + + makeFlags = [ "PREFIX=${placeholder "out"}" ]; + + meta = { + description = "Neko on Wayland"; + homepage = "https://sr.ht/~leon_plickat/wayneko"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ fgaz ]; + mainProgram = "wayneko"; + platforms = lib.platforms.linux; + }; +} From e263600b33b6de6245e642fab9b92bb2323b836e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 14:24:50 +0000 Subject: [PATCH 211/226] gobgpd: 3.28.0 -> 3.29.0 --- pkgs/servers/misc/gobgpd/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/misc/gobgpd/default.nix b/pkgs/servers/misc/gobgpd/default.nix index 05cdfec4278f..b4e1f0cb2ccd 100644 --- a/pkgs/servers/misc/gobgpd/default.nix +++ b/pkgs/servers/misc/gobgpd/default.nix @@ -5,13 +5,13 @@ buildGoModule rec { pname = "gobgpd"; - version = "3.28.0"; + version = "3.29.0"; src = fetchFromGitHub { owner = "osrg"; repo = "gobgp"; rev = "refs/tags/v${version}"; - hash = "sha256-HdGRZrMukIQLxTmwTVB/zUlnrhDjq5b6ree7aqx8pRE="; + hash = "sha256-mTg3eN5ZmzQxItPq8ghPpFafr6zF+nliofGEKShnH88="; }; vendorHash = "sha256-wrgRQwisOHAhvRbvGXMW5VWkQuEifCwCo3usuxLie4A="; From 7c908d40bb7eb6674e3e5edb672aef77bfee0b70 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 14:40:57 +0000 Subject: [PATCH 212/226] gobgp: 3.28.0 -> 3.29.0 --- pkgs/tools/networking/gobgp/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/gobgp/default.nix b/pkgs/tools/networking/gobgp/default.nix index 3e89da8ed7fe..e4a7bcdc423c 100644 --- a/pkgs/tools/networking/gobgp/default.nix +++ b/pkgs/tools/networking/gobgp/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "gobgp"; - version = "3.28.0"; + version = "3.29.0"; src = fetchFromGitHub { owner = "osrg"; repo = "gobgp"; rev = "v${version}"; - sha256 = "sha256-HdGRZrMukIQLxTmwTVB/zUlnrhDjq5b6ree7aqx8pRE="; + sha256 = "sha256-mTg3eN5ZmzQxItPq8ghPpFafr6zF+nliofGEKShnH88="; }; vendorHash = "sha256-wrgRQwisOHAhvRbvGXMW5VWkQuEifCwCo3usuxLie4A="; From 8d8ab8cabf3a297c2904e6297701bcaa93a73bb3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 14:51:21 +0000 Subject: [PATCH 213/226] python312Packages.patch-ng: 1.17.4 -> 1.18.0 --- pkgs/development/python-modules/patch-ng/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/patch-ng/default.nix b/pkgs/development/python-modules/patch-ng/default.nix index 77b0b02fa0c8..1298fa3a1e26 100644 --- a/pkgs/development/python-modules/patch-ng/default.nix +++ b/pkgs/development/python-modules/patch-ng/default.nix @@ -5,13 +5,13 @@ }: buildPythonPackage rec { - version = "1.17.4"; # note: `conan` package may require a hardcoded one + version = "1.18.0"; # note: `conan` package may require a hardcoded one format = "setuptools"; pname = "patch-ng"; src = fetchPypi { inherit pname version; - sha256 = "1kja1nn08w0k8k6j4kad48k581hh9drvjjb8x60v9j13sxdvqyk2"; + sha256 = "sha256-2gZ2KNbV/Z3FpV6rN5UdRr2VZhtyGfqzZLcRNmq8xpA="; }; meta = with lib; { From 6fc72f65d18c74a402673969a76aad5e585ee9d4 Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Wed, 31 Jul 2024 11:41:39 +0200 Subject: [PATCH 214/226] translatelocally: enable wayland support --- pkgs/applications/misc/translatelocally/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/misc/translatelocally/default.nix b/pkgs/applications/misc/translatelocally/default.nix index c4fd6378ccef..8b634c482025 100644 --- a/pkgs/applications/misc/translatelocally/default.nix +++ b/pkgs/applications/misc/translatelocally/default.nix @@ -42,6 +42,7 @@ in stdenv.mkDerivation (finalAttrs: { qt6.qttools qt6.qtbase qt6.qtsvg + qt6.qtwayland libarchive pcre2 protobuf From 956b068eaf776ec937bf833cfecc30521db70a71 Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Wed, 31 Jul 2024 11:41:57 +0200 Subject: [PATCH 215/226] translatelocally: unstable-2023-09-20 -> 0-unstable-2024-05-12 --- pkgs/applications/misc/translatelocally/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/translatelocally/default.nix b/pkgs/applications/misc/translatelocally/default.nix index 8b634c482025..2749a7ec1566 100644 --- a/pkgs/applications/misc/translatelocally/default.nix +++ b/pkgs/applications/misc/translatelocally/default.nix @@ -4,17 +4,17 @@ }: let - rev = "a210037760ca3ca9016ca1831c97531318df70fe"; + rev = "27771d884d3607cf6331da16b15e27aba819573d"; in stdenv.mkDerivation (finalAttrs: { pname = "translatelocally"; - version = "unstable-2023-09-20"; + version = "0-unstable-2024-05-12"; src = fetchFromGitHub { owner = "XapaJIaMnu"; repo = "translateLocally"; inherit rev; - hash = "sha256-T7cZdR09yDrPTwYxvDIaKTdV4mrB+gTHYVfch5BQ+PE="; + hash = "sha256-oPtiyONqkZ5xOIhDezk8mkmi9O8gNYwHo0gcqSa89qI="; fetchSubmodules = true; }; From cc6fa17c0074790af5480d271960ede6c389dab5 Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Wed, 31 Jul 2024 11:42:28 +0200 Subject: [PATCH 216/226] translatelocally-models: update --- pkgs/misc/translatelocally-models/default.nix | 5 - pkgs/misc/translatelocally-models/models.json | 166 +++++++++++++----- 2 files changed, 125 insertions(+), 46 deletions(-) diff --git a/pkgs/misc/translatelocally-models/default.nix b/pkgs/misc/translatelocally-models/default.nix index 82f6556e93d9..9fb4754ed50d 100644 --- a/pkgs/misc/translatelocally-models/default.nix +++ b/pkgs/misc/translatelocally-models/default.nix @@ -37,10 +37,5 @@ let lib.listToAttrs (map (withCodeAsKey mkModelPackage) modelSpecs); in allModelPkgs // { - is-en-tiny = allModelPkgs.is-en-tiny.overrideAttrs (super: { - # missing model https://github.com/XapaJIaMnu/translateLocally/issues/147 - meta = super.meta // { broken = true; }; - }); -} // { passthru.updateScript = ./update.sh; } diff --git a/pkgs/misc/translatelocally-models/models.json b/pkgs/misc/translatelocally-models/models.json index 98529a1a9549..5dcc26f6c12d 100644 --- a/pkgs/misc/translatelocally-models/models.json +++ b/pkgs/misc/translatelocally-models/models.json @@ -1,149 +1,233 @@ [ { "version": 1, - "checksum": "3714539160d5b4dce3ce0d829939315e3daffeaff53647249cc6336d745c09f2", - "url": "https://data.statmt.org/bergamot/models/csen/csen.student.base.tar.gz", + "checksum": "cd5418ba6a412fc7e06288e3b879e5ac9155508f6ddab75c175039e0277486fa", + "url": "https://data.statmt.org/bergamot/models/csen/csen.student.base.v1.cd5418ba6a412fc7.tar.gz", "name": "Czech-English base", "code": "cs-en-base" }, { "version": 1, - "checksum": "693aa14ecb86275169ad4b01cbca294f3bd38d8d9bc1fad8dd89fa7e937e7d2c", - "url": "https://data.statmt.org/bergamot/models/csen/csen.student.tiny11.tar.gz", + "checksum": "8f603aded58f0a3c97d4498550dd070a356465109229f3c98cc61f2571bb1089", + "url": "https://data.statmt.org/bergamot/models/csen/csen.student.tiny11.v1.8f603aded58f0a3c.tar.gz", "name": "Czech-English tiny", "code": "cs-en-tiny" }, { "version": 1, - "checksum": "7a57b4e3a11a2c5e03fc6855ffc2b8f61ce3f1a68aeefa4592577a9eebe25031", - "url": "https://data.statmt.org/bergamot/models/csen/encs.student.base.tar.gz", + "checksum": "db770d87e491b0dc26d34e96a63188232f39198db157048fed5d111391a63cd0", + "url": "https://data.statmt.org/bergamot/models/csen/encs.student.base.v1.db770d87e491b0dc.tar.gz", "name": "English-Czech base", "code": "en-cs-base" }, { "version": 1, - "checksum": "f999d6511bdb4f1ff246b0563fdf9b71d836e1c3037fe5306a61836d3b5b8d19", - "url": "https://data.statmt.org/bergamot/models/csen/encs.student.tiny11.tar.gz", + "checksum": "b5c1ff605296b0e5a55ae6876db434fded62ae0c947e153f758d7b8a58c2c3dd", + "url": "https://data.statmt.org/bergamot/models/csen/encs.student.tiny11.v1.b5c1ff605296b0e5.tar.gz", "name": "English-Czech tiny", "code": "en-cs-tiny" }, { "version": 2, - "checksum": "e7362faa83c4f61e552adf8fbd4bc528fe706746eb9fc1c286ec9af7566e3daf", - "url": "https://data.statmt.org/bergamot/models/deen/deen.student.base.tar.gz", + "checksum": "caa7c0ce3c8eaf05d333dc9458683f4b0375e5eeb604f6fb2c8585f7b70d398b", + "url": "https://data.statmt.org/bergamot/models/deen/deen.student.base.v2.caa7c0ce3c8eaf05.tar.gz", "name": "German-English base", "code": "de-en-base" }, { "version": 2, - "checksum": "5c11b6ccfa0533fd5632b3cbccbb054972076266e2d1d989d3babb0ec0b10e28", - "url": "https://data.statmt.org/bergamot/models/deen/deen.student.tiny11.tar.gz", + "checksum": "9f70fcb17bf9572d969aee69ed34c5d8b54c896c60dfe057da37f2e51d46895f", + "url": "https://data.statmt.org/bergamot/models/deen/deen.student.tiny11.v2.9f70fcb17bf9572d.tar.gz", "name": "German-English tiny", "code": "de-en-tiny" }, { "version": 2, - "checksum": "cf9ab5a41ce359672ab47579686f9af50fc1fe040552c375ca86912f0fce7827", - "url": "https://data.statmt.org/bergamot/models/deen/ende.student.base.tar.gz", + "checksum": "37b172bc9b594f9b60460f6d5c4ac1eb6af723ecccbdfa2c213308223a8a420f", + "url": "https://data.statmt.org/bergamot/models/deen/ende.student.base.v2.37b172bc9b594f9b.tar.gz", "name": "English-German base", "code": "en-de-base" }, { "version": 2, - "checksum": "0e85d1d7ee4f8a3ec12680696ffc11fa97d67a54d068ceafcf390a87df94877f", - "url": "https://data.statmt.org/bergamot/models/deen/ende.student.tiny11.tar.gz", + "checksum": "93821e13b3c511b5390f9fb79f476f738d66e3656889bf076e906897e614fed2", + "url": "https://data.statmt.org/bergamot/models/deen/ende.student.tiny11.v2.93821e13b3c511b5.tar.gz", "name": "English-German tiny", "code": "en-de-tiny" }, { "version": 1, - "checksum": "adf49d0e2f21b82414bc353ae1f0904d93360caa92203ae9f2fc209a83882d81", - "url": "https://data.statmt.org/bergamot/models/esen/esen.student.tiny11.tar.gz", + "checksum": "09576f06d0ad805e6851defdd63434840729c3bcc5cf19db732f00298dcdb5d9", + "url": "https://data.statmt.org/bergamot/models/esen/esen.student.tiny11.v1.09576f06d0ad805e.tar.gz", "name": "Spanish-English tiny", "code": "es-en-tiny" }, { "version": 1, - "checksum": "6594dda2a4f5d333969c30f8356f4a9f3fe15a9f8a5fd018b0d85b9d9ad2abb0", - "url": "https://data.statmt.org/bergamot/models/esen/enes.student.tiny11.tar.gz", + "checksum": "a7203a8f8e9daea85698d5912f25cca6fecae3e4097b188a0c31ed2d58e13c61", + "url": "https://data.statmt.org/bergamot/models/esen/enes.student.tiny11.v1.a7203a8f8e9daea8.tar.gz", "name": "English-Spanish tiny", "code": "en-es-tiny" }, { "version": 1, - "checksum": "05c6525549c9c621e348f8de74533764ad7696aba8245fc9a504116f8ef4053c", - "url": "https://data.statmt.org/bergamot/models/eten/eten.student.tiny11.tar.gz", + "checksum": "38de61c668e42f36a6b8acd564f3044b283d0cd61ebdb3947c490a99e297a2d5", + "url": "https://data.statmt.org/bergamot/models/eten/eten.student.tiny11.v1.38de61c668e42f36.tar.gz", "name": "Estonian-English tiny", "code": "et-en-tiny" }, { "version": 1, - "checksum": "afce6c566270abdd4db332e8dcf4fe22057ada3b2a1171aab04d0d4817396fb5", - "url": "https://data.statmt.org/bergamot/models/eten/enet.student.tiny11.tar.gz", + "checksum": "0b8f835b0c154aaa01f612bfcf1bdcd41f86f1088f1226f2d3d6fa8155cb80a0", + "url": "https://data.statmt.org/bergamot/models/eten/enet.student.tiny11.v1.0b8f835b0c154aaa.tar.gz", "name": "English-Estonian tiny", "code": "en-et-tiny" }, { - "version": 1, - "checksum": "5c1696747590d1a75bef67348dce96bcd3889eb5a06a0f670c3d7232ed79f60e", - "url": "https://data.statmt.org/bergamot/models/isen/isen.student.tiny11.tar.gz", + "version": 2.0, + "checksum": "536d6b8808a5c0765e058a8dc98f0ed667d6e14747708ca885aacbd21a99e795", + "url": "https://data.statmt.org/bergamot/models/isen/isen.student.base.v2.536d6b8808a5c076.tar.gz", + "name": "Icelandic-English base", + "code": "is-en-base" + }, + { + "version": 2.0, + "checksum": "829203cf37b7bdc4ac0cbee206d40eb48bb8d8f6d73fba0c0e6dec8cd25a3448", + "url": "https://data.statmt.org/bergamot/models/isen/isen.student.tiny11.v2.829203cf37b7bdc4.tar.gz", "name": "Icelandic-English tiny", "code": "is-en-tiny" }, { "version": 1, - "checksum": "9f5dde2f4f87438c24c9561990636e624c53b527ddc8505f822b22b073069de8", - "url": "https://data.statmt.org/bergamot/models/nben/nben.student.tiny11.tar.gz", + "checksum": "e410ce34f8337aabe2e105af14f44669f29cfae40f92f90b107323cf8f4188a9", + "url": "https://data.statmt.org/bergamot/models/nben/nben.student.tiny11.v1.e410ce34f8337aab.tar.gz", "name": "Norwegian (Bokmål)-English tiny", "code": "nb-en-tiny" }, { "version": 1, - "checksum": "0bb4b83560caaffae95940574d939999092800a7803fae4c79a97e6481887a4f", - "url": "https://data.statmt.org/bergamot/models/nnen/nnen.student.tiny11.tar.gz", + "checksum": "0efa37c16887eea4ccd579e5de52bf09708893d93c7b0d4656d5a13e0bc9a07f", + "url": "https://data.statmt.org/bergamot/models/nnen/nnen.student.tiny11.v1.0efa37c16887eea4.tar.gz", "name": "Norwegian (Nynorsk)-English tiny", "code": "nn-en-tiny" }, { "version": 1, - "checksum": "ecfe9c2b0be3406c0205ad2da58f4005893a4ae969e81dd9c523093cf5c7abc3", - "url": "https://data.statmt.org/bergamot/models/bgen/bgen.student.tiny11.tar.gz", + "checksum": "f9c89a3a25ff8dca84413b28c1afe722ebc969f4aa84e7ecd14ea03ba77c8ae5", + "url": "https://data.statmt.org/bergamot/models/bgen/bgen.student.tiny11.v1.f9c89a3a25ff8dca.tar.gz", "name": "Bulgarian-English tiny", "code": "bg-en-tiny" }, { "version": 1, - "checksum": "eb9a7511ae9c89fb91ab6da1e9d5061946ad752e5801351f39c8eddca9705c74", - "url": "https://data.statmt.org/bergamot/models/bgen/enbg.student.tiny11.tar.gz", + "checksum": "3ea060c1b76470a7769dc1f32010a99fcc9a2e868a58c429cd8e8251fa1330c8", + "url": "https://data.statmt.org/bergamot/models/bgen/enbg.student.tiny11.v1.3ea060c1b76470a7.tar.gz", "name": "English-Bulgarian tiny", "code": "en-bg-tiny" }, { "version": 1, "checksum": "87148203cbda28421d76fffbd7d3cd6c1fc0d6dae2843c248870274d6512a388", - "url": "https://data.statmt.org/bergamot/models/plen/plen.student.tiny11.tar.gz", + "url": "https://data.statmt.org/bergamot/models/plen/plen.student.tiny11.v1.87148203cbda2842.tar.gz", "name": "Polish-English tiny", "code": "pl-en-tiny" }, { "version": 1, "checksum": "c33219daa12e7872cf7ac8a1b86a2f3e0592ebadd7e756bf11d16d9a7725cf9b", - "url": "https://data.statmt.org/bergamot/models/plen/enpl.student.tiny11.tar.gz", + "url": "https://data.statmt.org/bergamot/models/plen/enpl.student.tiny11.v1.c33219daa12e7872.tar.gz", "name": "English-Polish tiny", "code": "en-pl-tiny" }, { "version": 1, - "checksum": "817a45ed9ec3228bfb797e5e14781ab7fe9f388fe1e834e280031f05089809f8", - "url": "https://data.statmt.org/bergamot/models/fren/fren.student.tiny11.tar.gz", + "checksum": "dccea16d03c0a3897b4ce085db676ae4bb2777f7e2b1755c04c0f92efa894b01", + "url": "https://data.statmt.org/bergamot/models/fren/fren.student.tiny11.v1.dccea16d03c0a389.tar.gz", "name": "French-English tiny", "code": "fr-en-tiny" }, { "version": 1, - "checksum": "28deea86d2a02102a7fedf19391a7628386f01f1f532d430306a9728dc5ec2d6", - "url": "https://data.statmt.org/bergamot/models/fren/enfr.student.tiny11.tar.gz", + "checksum": "805d112122af03d0fe2769eacaaaf5a9eac2c4b97e862a5b2cf0eb95862a7efb", + "url": "https://data.statmt.org/bergamot/models/fren/enfr.student.tiny11.v1.805d112122af03d0.tar.gz", "name": "English-French tiny", "code": "en-fr-tiny" + }, + { + "version": 2.0, + "checksum": "536d6b8808a5c0765e058a8dc98f0ed667d6e14747708ca885aacbd21a99e795", + "url": "https://data.statmt.org/bergamot/models/isen/isen.student.base.v2.536d6b8808a5c076.tar.gz", + "name": "Icelandic-English base", + "code": "is-en-base" + }, + { + "version": 2.0, + "checksum": "829203cf37b7bdc4ac0cbee206d40eb48bb8d8f6d73fba0c0e6dec8cd25a3448", + "url": "https://data.statmt.org/bergamot/models/isen/isen.student.tiny11.v2.829203cf37b7bdc4.tar.gz", + "name": "Icelandic-English tiny", + "code": "is-en-tiny" + }, + { + "version": 1.0, + "checksum": "fa8a29e01a5332ba78801ae269b0d1e33b2777e19cc1c23aa0c487b884236858", + "url": "https://data.statmt.org/bergamot/models/hbseng/hbseng.student.tiny11.v1.fa8a29e01a5332ba.tar.gz", + "name": "SerboCroatian-English tiny", + "code": "hbs-eng-tiny" + }, + { + "version": 1.0, + "checksum": "d029034e49c3bb0843cb540d60a3f2d8e5c2fda70e6856427a3d41f383e8bda9", + "url": "https://data.statmt.org/bergamot/models/slen/slen.student.tiny11.v1.d029034e49c3bb08.tar.gz", + "name": "Slovene-English tiny", + "code": "sl-en-tiny" + }, + { + "version": 1.0, + "checksum": "dd03ef56f4695c7bf967072df97cdfa3884c9a816b2da8515779da2b2879145b", + "url": "https://data.statmt.org/bergamot/models/mken/mken.student.tiny11.v1.dd03ef56f4695c7b.tar.gz", + "name": "Macedonian-English tiny", + "code": "mk-en-tiny" + }, + { + "version": 1.0, + "checksum": "4089a5a036eff1c3e646415b30ee3d1455b942a122fe427d4f087cd417963c5e", + "url": "https://data.statmt.org/bergamot/models/mten/mten.student.tiny11.v1.4089a5a036eff1c3.tar.gz", + "name": "Maltese-English tiny", + "code": "mt-en-tiny" + }, + { + "version": 1.0, + "checksum": "d7728d17a313230a7a12b99106c5d588c3ac7a65950211b2aac455b258ca0b30", + "url": "https://data.statmt.org/bergamot/models/tren/tren.student.tiny11.v1.d7728d17a313230a.tar.gz", + "name": "Turkish-English tiny", + "code": "tr-en-tiny" + }, + { + "version": 1.0, + "checksum": "6ead0c9b236f942bd2b059996730f349861b9e99ed462618fef1c0aefccb289c", + "url": "https://data.statmt.org/bergamot/models/sqen/sqen.student.tiny11.v1.6ead0c9b236f942b.tar.gz", + "name": "Albanian-English tiny", + "code": "sq-en-tiny" + }, + { + "version": 1.0, + "checksum": "edaf67d1938e80d3ad082056c08be8c19d8cd178375de1211b17c8d0cd06aec7", + "url": "https://data.statmt.org/bergamot/models/caen/caen.student.tiny11.v1.edaf67d1938e80d3.tar.gz", + "name": "Catalan-English tiny", + "code": "ca-en-tiny" + }, + { + "version": 1.0, + "checksum": "000644283159637882bf8901a57bb39dce29319717e86274720c44676a158d71", + "url": "https://data.statmt.org/bergamot/models/elen/elen.student.tiny11.v1.0006442831596378.tar.gz", + "name": "Greek-English tiny", + "code": "el-en-tiny" + }, + { + "version": 1.0, + "checksum": "108d04d1e160153a9dc92e676010b79cc8a5de1ec0112a997db0a834a8457420", + "url": "https://data.statmt.org/bergamot/models/uken/uken.student.tiny11.v1.108d04d1e160153a.tar.gz", + "name": "Ukrainian-English tiny", + "code": "uk-en-tiny" } ] From de2ebd24b0b3659179206f25b008ca4aff27eab9 Mon Sep 17 00:00:00 2001 From: networkException Date: Fri, 2 Aug 2024 17:23:31 +0200 Subject: [PATCH 217/226] restic-integrity: 1.3.0 -> 1.3.1 --- pkgs/applications/backup/restic-integrity/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/backup/restic-integrity/default.nix b/pkgs/applications/backup/restic-integrity/default.nix index ac0c5b99d121..41bb1c318ff5 100644 --- a/pkgs/applications/backup/restic-integrity/default.nix +++ b/pkgs/applications/backup/restic-integrity/default.nix @@ -5,17 +5,17 @@ rustPlatform.buildRustPackage rec { pname = "restic-integrity"; - version = "1.3.0"; + version = "1.3.1"; src = fetchFromGitea { domain = "git.nwex.de"; owner = "networkException"; repo = "restic-integrity"; rev = version; - hash = "sha256-mryHePqfEawW/vLgxfm+eh4oSbcALhxvRid4kF9klTs="; + hash = "sha256-5F2nFSyqrT4JEzUb1NVk0g2LqgwRix3rfflXJ3pttvo="; }; - cargoHash = "sha256-0BvB1ijsppblEC2PNLfVt+sgM4wTdSLZ/RoDH4JrQy4="; + cargoHash = "sha256-97M7dqgTzl2ysegavwzf6xtYKum/s9cq4vgaIQR7IA0="; meta = with lib; { description = "CLI tool to check the integrity of a restic repository without unlocking it"; From 2ccadf206746c1f8cbeef6494035d9da5465f437 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Fri, 2 Aug 2024 18:48:34 +0400 Subject: [PATCH 218/226] jcli: install shell completions --- pkgs/development/tools/misc/jcli/default.nix | 36 +++++++++++++++----- 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/pkgs/development/tools/misc/jcli/default.nix b/pkgs/development/tools/misc/jcli/default.nix index 2b7f14284f16..6fd632af1a6a 100644 --- a/pkgs/development/tools/misc/jcli/default.nix +++ b/pkgs/development/tools/misc/jcli/default.nix @@ -1,4 +1,10 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ + lib, + stdenv, + buildGoModule, + fetchFromGitHub, + installShellFiles, +}: buildGoModule rec { pname = "jcli"; @@ -13,17 +19,31 @@ buildGoModule rec { vendorHash = "sha256-bmPnxFvdKU5zuMsCDboSOxP5f7NnMRwS/gN0sW7eTRA="; + ldflags = [ + "-s" + "-w" + "-X github.com/linuxsuren/cobra-extension/version.version=${version}" + ]; + doCheck = false; - postInstall = '' - mv $out/bin/{jenkins-cli,jcli} - ''; + nativeBuildInputs = [ installShellFiles ]; - meta = with lib; { + postInstall = + '' + mv $out/bin/{jenkins-cli,jcli} + '' + + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' + installShellCompletion --cmd jcli \ + --bash <($out/bin/jcli completion --type bash) \ + --zsh <($out/bin/jcli completion --type zsh) + ''; + + meta = { description = "Jenkins CLI allows you to manage your Jenkins in an easy way"; mainProgram = "jcli"; - homepage = "https://jcli.jenkins-zh.cn/"; - license = licenses.mit; - maintainers = with maintainers; [ sikmir ]; + homepage = "https://github.com/jenkins-zh/jenkins-cli"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ sikmir ]; }; } From 7e6aa6441a99d0bfe4caa39c1c1da35137ba8114 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Fri, 2 Aug 2024 18:50:55 +0400 Subject: [PATCH 219/226] jcli: migrate to by-name --- .../tools/misc/jcli/default.nix => by-name/jc/jcli/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 2 deletions(-) rename pkgs/{development/tools/misc/jcli/default.nix => by-name/jc/jcli/package.nix} (100%) diff --git a/pkgs/development/tools/misc/jcli/default.nix b/pkgs/by-name/jc/jcli/package.nix similarity index 100% rename from pkgs/development/tools/misc/jcli/default.nix rename to pkgs/by-name/jc/jcli/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ee98649d944a..b0701bea062c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9146,8 +9146,6 @@ with pkgs; jc = with python3Packages; toPythonApplication jc; - jcli = callPackage ../development/tools/misc/jcli { }; - jd-cli = callPackage ../tools/security/jd-cli { }; jd-diff-patch = callPackage ../development/tools/jd-diff-patch { }; From 49de6926407dd583edaabcceed8b068be7fb0142 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 16:26:02 +0000 Subject: [PATCH 220/226] python312Packages.weconnect: 0.60.3 -> 0.60.4 --- pkgs/development/python-modules/weconnect/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/weconnect/default.nix b/pkgs/development/python-modules/weconnect/default.nix index cba91268a5eb..bd168ccb8f59 100644 --- a/pkgs/development/python-modules/weconnect/default.nix +++ b/pkgs/development/python-modules/weconnect/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "weconnect"; - version = "0.60.3"; + version = "0.60.4"; pyproject = true; disabled = pythonOlder "3.8"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "tillsteinbach"; repo = "WeConnect-python"; rev = "refs/tags/v${version}"; - hash = "sha256-eIGzcuSKzcpE6UPQKmv0kcFcIFizWOunfOJDHfcw7Yk="; + hash = "sha256-Ht+TSjI1FZ+y/lt5IlepxpT5uOBYeJaNmF7aBw2YUPA="; }; postPatch = '' From a595265893b36c0927d474fbb74d583538b5fcf5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Aug 2024 17:20:26 +0000 Subject: [PATCH 221/226] sttr: 0.2.22 -> 0.2.23 --- pkgs/by-name/st/sttr/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/st/sttr/package.nix b/pkgs/by-name/st/sttr/package.nix index 4d2a508cf768..bc7be6543e35 100644 --- a/pkgs/by-name/st/sttr/package.nix +++ b/pkgs/by-name/st/sttr/package.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "sttr"; - version = "0.2.22"; + version = "0.2.23"; src = fetchFromGitHub { owner = "abhimanyu003"; repo = "sttr"; rev = "v${version}"; - hash = "sha256-VEfMkUMrn9yKMg1M56uFhM8ego3EyY1MqEgzkZE6Zbk="; + hash = "sha256-BO6R41FtpPS3GBuKifm+gEnkkQodQDtbjZWtsGtuvms="; }; - vendorHash = "sha256-L3XKjJSk/1Evzq4ieUsJ4ewyfS8NDDSd10aDdsc5IcI="; + vendorHash = "sha256-n+B/e3M+S46vATq9eVXiYcO2s5WNGSvSE2Ci2rpigog="; nativeBuildInputs = [ installShellFiles ]; From d9b57ba729bcaf22b9a8168ebaec94b645806e77 Mon Sep 17 00:00:00 2001 From: Emily Date: Fri, 12 Jul 2024 14:07:21 +0100 Subject: [PATCH 222/226] wl-screenrec: 0.1.3 -> 0.1.4-unstable-2024-07-28 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Includes support for FFmpeg 7. We can’t use the release tag because of a Cargo build issue; see . Hopefully there’ll be a new release tag soon. Diff: --- pkgs/tools/wayland/wl-screenrec/default.nix | 12 ++++++------ pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/pkgs/tools/wayland/wl-screenrec/default.nix b/pkgs/tools/wayland/wl-screenrec/default.nix index 2836d7fed2bb..2ffdbf95de1a 100644 --- a/pkgs/tools/wayland/wl-screenrec/default.nix +++ b/pkgs/tools/wayland/wl-screenrec/default.nix @@ -3,22 +3,22 @@ , fetchFromGitHub , pkg-config , libdrm -, ffmpeg +, ffmpeg_7 , wayland }: rustPlatform.buildRustPackage rec { pname = "wl-screenrec"; - version = "0.1.3"; + version = "0.1.4-unstable-2024-07-28"; src = fetchFromGitHub { owner = "russelltg"; repo = pname; - rev = "v${version}"; - hash = "sha256-ThPZPV1GyMFRu94O9WwUpXbR4gnIML26K7TyIfXZlcI="; + rev = "b817accf1d4f2373cb6f466f760de35e5b8626bd"; + hash = "sha256-07O2YM9dOHWzriM2+uiBWjEt2hKAuXtRtnKBuzb02Us="; }; - cargoHash = "sha256-DtlVsUFKNKXcwqNvGvqkSKUE+kRHX8wajL4fR0c9ZuQ="; + cargoHash = "sha256-AYirjrnk8SGTXk5IjzCep2AQJYPbgHAOOf47MUDYj4k="; nativeBuildInputs = [ pkg-config @@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec { buildInputs = [ wayland libdrm - ffmpeg + ffmpeg_7 ]; doCheck = false; # tests use host compositor, etc diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b210c70cadb0..7bae99f18e38 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4654,9 +4654,7 @@ with pkgs; wl-mirror = callPackage ../tools/wayland/wl-mirror { }; - wl-screenrec = callPackage ../tools/wayland/wl-screenrec { - ffmpeg = ffmpeg_6; - }; + wl-screenrec = callPackage ../tools/wayland/wl-screenrec { }; wleave = callPackage ../tools/wayland/wleave { }; From e95f4261cf4b598a739d6d49d9874a58c08faa3f Mon Sep 17 00:00:00 2001 From: Jiuyang Liu Date: Sat, 3 Aug 2024 03:06:56 +0800 Subject: [PATCH 223/226] circt: 1.79 -> 1.80 --- pkgs/development/compilers/circt/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/circt/default.nix b/pkgs/development/compilers/circt/default.nix index 2fb6c21fff10..2c1192828300 100644 --- a/pkgs/development/compilers/circt/default.nix +++ b/pkgs/development/compilers/circt/default.nix @@ -18,12 +18,12 @@ let in stdenv.mkDerivation rec { pname = "circt"; - version = "1.79"; + version = "1.80"; src = fetchFromGitHub { owner = "llvm"; repo = "circt"; rev = "firtool-${version}"; - hash = "sha256-/PEny7+E/s1Y08NigO22uDnhFfMBtccqaI8hsBOO2fI="; + hash = "sha256-87LsCJrx6LEJCkiBq/c2RWqenmX9KViGBqKMdmMYRMw="; fetchSubmodules = true; }; From a18c10b8c1dd6eeea5eaf413625de34044eb2356 Mon Sep 17 00:00:00 2001 From: Martin Wimpress <304639+flexiondotorg@users.noreply.github.com> Date: Fri, 2 Aug 2024 20:27:28 +0100 Subject: [PATCH 224/226] wavebox: 10.124.17-2 -> 10.127.10-2 (#324822) * wavebox: 10.124.17-2 -> 10.126.14-2 * wavebox: apply suggestions from code review Co-authored-by: Sandro * wavebox: bump version to 10.127.10-2 * wavebox: complete the removal of $appname variable * wavebox: use callPackage from all-packages.nix; wavebox is not a Qt5 app * wavebox: replace addOpenGLRunpath with addDriverRunpath * wavebox: update comment about libvaSupport * wavebox: format with nixfmt-rfc-style --------- Co-authored-by: Sandro --- .../instant-messengers/wavebox/default.nix | 297 +++++++++++++----- .../instant-messengers/wavebox/update.sh | 5 - pkgs/top-level/all-packages.nix | 2 +- 3 files changed, 226 insertions(+), 78 deletions(-) delete mode 100755 pkgs/applications/networking/instant-messengers/wavebox/update.sh diff --git a/pkgs/applications/networking/instant-messengers/wavebox/default.nix b/pkgs/applications/networking/instant-messengers/wavebox/default.nix index d1df9c108143..eb4a9de8425d 100644 --- a/pkgs/applications/networking/instant-messengers/wavebox/default.nix +++ b/pkgs/applications/networking/instant-messengers/wavebox/default.nix @@ -1,94 +1,247 @@ -{ alsa-lib -, autoPatchelfHook -, fetchurl -, gtk3 -, gtk4 -, libnotify -, copyDesktopItems -, makeDesktopItem -, makeWrapper -, mesa -, nss -, lib -, libdrm -, qt5 -, stdenv -, udev -, xdg-utils -, xorg +{ + lib, + stdenv, + patchelf, + makeWrapper, + fetchurl, + writeScript, + + # Libraries + glib, + fontconfig, + freetype, + pango, + cairo, + libX11, + libXi, + atk, + nss, + nspr, + libXcursor, + libXext, + libXfixes, + libXrender, + libXScrnSaver, + libXcomposite, + libxcb, + alsa-lib, + libXdamage, + libXtst, + libXrandr, + libxshmfence, + expat, + cups, + dbus, + gtk3, + gtk4, + gdk-pixbuf, + gcc-unwrapped, + at-spi2-atk, + at-spi2-core, + libkrb5, + libdrm, + libglvnd, + mesa, + libxkbcommon, + pipewire, + wayland, + + coreutils, + + # command line arguments which are always set e.g "--disable-gpu" + commandLineArgs ? "", + + systemd, + + # Loaded at runtime. + libexif, + pciutils, + + liberation_ttf, + curl, + util-linux, + xdg-utils, + wget, + flac, + harfbuzz, + icu, + libpng, + libopus, + snappy, + speechd, + bzip2, + libcap, + + # Necessary for USB audio devices. + pulseSupport ? true, + libpulseaudio, + + gsettings-desktop-schemas, + + # Allow video acceleration via VA-API to be disabled on systems where is doesn't + # work reliably (--enable-features=VaapiVideoDecoder) + libvaSupport ? true, + libva, + + # For Vulkan support (--enable-features=Vulkan) + addDriverRunpath, }: -stdenv.mkDerivation rec { +let + opusWithCustomModes = libopus.override { withCustomModes = true; }; + + deps = + [ + glib + fontconfig + freetype + pango + cairo + libX11 + libXi + atk + nss + nspr + libXcursor + libXext + libXfixes + libXrender + libXScrnSaver + libXcomposite + libxcb + alsa-lib + libXdamage + libXtst + libXrandr + libxshmfence + expat + cups + dbus + gdk-pixbuf + gcc-unwrapped.lib + systemd + libexif + pciutils + liberation_ttf + curl + util-linux + wget + flac + harfbuzz + icu + libpng + opusWithCustomModes + snappy + speechd + bzip2 + libcap + at-spi2-atk + at-spi2-core + libkrb5 + libdrm + libglvnd + mesa + coreutils + libxkbcommon + pipewire + wayland + ] + ++ lib.optional pulseSupport libpulseaudio + ++ lib.optional libvaSupport libva + ++ [ + gtk3 + gtk4 + ]; + +in +stdenv.mkDerivation (finalAttrs: { pname = "wavebox"; - version = "10.124.17-2"; + version = "10.127.10-2"; src = fetchurl { - url = "https://download.wavebox.app/stable/linux/tar/Wavebox_${version}.tar.gz"; - sha256 = "sha256-RS1/zs/rFWsj29BrT8Mb2IXgy9brBsQypxfvnd7pKl0="; + url = "https://download.wavebox.app/stable/linux/deb/amd64/wavebox_${finalAttrs.version}_amd64.deb"; + hash = "sha256-x095V2UhRJfPmmG+4/i7I9AnCU4WVrw0b71nEu73uew="; }; - # don't remove runtime deps - dontPatchELF = true; - # ignore optional Qt 6 shim - autoPatchelfIgnoreMissingDeps = [ "libQt6Widgets.so.6" "libQt6Gui.so.6" "libQt6Core.so.6" ]; - - nativeBuildInputs = [ autoPatchelfHook makeWrapper qt5.wrapQtAppsHook copyDesktopItems ]; - - buildInputs = with xorg; [ - libXdmcp - libXScrnSaver - libXtst - libxshmfence - libXdamage - ] ++ [ - alsa-lib + nativeBuildInputs = [ + patchelf + makeWrapper + ]; + buildInputs = [ + gsettings-desktop-schemas # needed for GSETTINGS_SCHEMAS_PATH + glib gtk3 - nss - libdrm - mesa - gtk4 - qt5.qtbase ]; - runtimeDependencies = [ (lib.getLib udev) libnotify gtk4 ]; + unpackPhase = '' + ar x $src + tar xf data.tar.xz + ''; - desktopItems = [ - (makeDesktopItem rec { - name = "Wavebox"; - exec = "wavebox"; - icon = "wavebox"; - desktopName = name; - genericName = name; - categories = [ "Network" "WebBrowser" ]; - }) - ]; + rpath = lib.makeLibraryPath deps + ":" + lib.makeSearchPathOutput "lib" "lib64" deps; installPhase = '' runHook preInstall - mkdir -p $out/bin $out/opt/wavebox - cp -r * $out/opt/wavebox + exe=$out/bin/wavebox - # provide icon for desktop item - mkdir -p $out/share/icons/hicolor/128x128/apps - ln -s $out/opt/wavebox/product_logo_128.png $out/share/icons/hicolor/128x128/apps/wavebox.png + mkdir -p $out/bin $out/share + + cp -a opt/* $out/share + cp -a usr/share/* $out/share + + + substituteInPlace $out/share/wavebox.io/wavebox/wavebox-launcher \ + --replace-fail 'CHROME_WRAPPER' 'WRAPPER' + substituteInPlace $out/share/applications/wavebox.desktop \ + --replace-fail /opt/wavebox.io/wavebox/wavebox-launcher $exe + substituteInPlace $out/share/menu/wavebox.menu \ + --replace-fail /opt $out/share \ + --replace-fail $out/share/wavebox.io/wavebox/wavebox $exe + + for icon_file in $out/share/wavebox.io/wavebox/product_logo_[0-9]*.png; do + num_and_suffix="''${icon_file##*logo_}" + icon_size="''${num_and_suffix%.*}" + logo_output_prefix="$out/share/icons/hicolor" + logo_output_path="$logo_output_prefix/''${icon_size}x''${icon_size}/apps" + mkdir -p "$logo_output_path" + mv "$icon_file" "$logo_output_path/wavebox.png" + done + + makeWrapper "$out/share/wavebox.io/wavebox/wavebox" "$exe" \ + --prefix LD_LIBRARY_PATH : "$rpath" \ + --prefix PATH : "${lib.makeBinPath deps}" \ + --suffix PATH : "${lib.makeBinPath [ xdg-utils ]}" \ + --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH:${addDriverRunpath.driverLink}/share" \ + --set CHROME_WRAPPER "wavebox" \ + --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \ + --add-flags ${lib.escapeShellArg commandLineArgs} + + for elf in $out/share/wavebox.io/wavebox/{wavebox,chrome-sandbox,chrome_crashpad_handler}; do + patchelf --set-rpath $rpath $elf + patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $elf + done runHook postInstall ''; - postFixup = '' - makeWrapper $out/opt/wavebox/wavebox-launcher $out/bin/wavebox \ - --prefix PATH : ${xdg-utils}/bin - ''; + passthru = { + updateScript = writeScript "update-wavebox.sh" '' + #!/usr/bin/env nix-shell + #!nix-shell -i bash -p nix-update curl jq - passthru.updateScript = ./update.sh; - - meta = with lib; { - description = "Wavebox messaging application"; - homepage = "https://wavebox.io"; - license = licenses.mpl20; - maintainers = with maintainers; [ rawkode ]; - platforms = [ "x86_64-linux" ]; - hydraPlatforms = [ ]; + version=$(curl "https://download.wavebox.app/stable/linux/latest.json" | jq --raw-output '.["urls"]["deb"] | match("https://download.wavebox.app/stable/linux/deb/amd64/wavebox_(.+)_amd64.deb").captures[0]["string"]') + nix-update wavebox --version "$version" + ''; }; -} + + meta = { + description = "Wavebox Productivity Browser"; + homepage = "https://wavebox.io"; + license = lib.licenses.unfree; + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; + maintainers = with lib.maintainers; [ flexiondotorg ]; + platforms = [ "x86_64-linux" ]; + mainProgram = "wavebox"; + }; +}) diff --git a/pkgs/applications/networking/instant-messengers/wavebox/update.sh b/pkgs/applications/networking/instant-messengers/wavebox/update.sh deleted file mode 100755 index 316f8bfbb7ec..000000000000 --- a/pkgs/applications/networking/instant-messengers/wavebox/update.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env nix-shell -#!nix-shell -i bash -p nix-update curl jq - -version=$(curl "https://download.wavebox.app/stable/linux/latest.json" | jq --raw-output '.["urls"]["tar"] | match("https://download.wavebox.app/stable/linux/tar/Wavebox_(.+).tar.gz").captures[0]["string"]') -nix-update wavebox --version "$version" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b0701bea062c..27e024861831 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -33719,7 +33719,7 @@ with pkgs; viber = callPackage ../applications/networking/instant-messengers/viber { }; - wavebox = libsForQt5.callPackage ../applications/networking/instant-messengers/wavebox { }; + wavebox = callPackage ../applications/networking/instant-messengers/wavebox { }; sonic-pi = libsForQt5.callPackage ../applications/audio/sonic-pi { }; From 129558261d9f1fb92c99f93ef259c698bc93db20 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Fri, 2 Aug 2024 22:59:32 +0300 Subject: [PATCH 225/226] buildkite-agent: 3.59.0 -> 3.76.1 (#331340) * buildkite-agent: 3.59.0 -> 3.76.1 * nixos/buildkite-agent: put each agent in its own private /tmp Workaround for https://github.com/buildkite/agent/issues/2916, but probably still a good idea. --- nixos/doc/manual/release-notes/rl-2411.section.md | 3 +++ .../services/continuous-integration/buildkite-agents.nix | 2 ++ pkgs/by-name/bu/buildkite-agent/package.nix | 6 +++--- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-2411.section.md b/nixos/doc/manual/release-notes/rl-2411.section.md index 69f0c7048c03..4a4dba0fdafb 100644 --- a/nixos/doc/manual/release-notes/rl-2411.section.md +++ b/nixos/doc/manual/release-notes/rl-2411.section.md @@ -321,6 +321,9 @@ - `nix.channel.enable = false` no longer implies `nix.settings.nix-path = []`. Since Nix 2.13, a `nix-path` set in `nix.conf` cannot be overriden by the `NIX_PATH` configuration variable. +- Buildkite Agents are now each running in their own private `/tmp`. + To return to the old behaviour, set `systemd.services.buildkite-agent-${name}.serviceConfig.PrivateTmp = false;`. + ## Detailed migration information {#sec-release-24.11-migration} ### `sound` options removal {#sec-release-24.11-migration-sound} diff --git a/nixos/modules/services/continuous-integration/buildkite-agents.nix b/nixos/modules/services/continuous-integration/buildkite-agents.nix index fc30172c6499..eb7b7a170785 100644 --- a/nixos/modules/services/continuous-integration/buildkite-agents.nix +++ b/nixos/modules/services/continuous-integration/buildkite-agents.nix @@ -205,6 +205,8 @@ in serviceConfig = { ExecStart = "${cfg.package}/bin/buildkite-agent start --config ${cfg.dataDir}/buildkite-agent.cfg"; User = "buildkite-agent-${name}"; + # Workaround https://github.com/buildkite/agent/issues/2916 + PrivateTmp = lib.mkDefault true; RestartSec = 5; Restart = "on-failure"; TimeoutSec = 10; diff --git a/pkgs/by-name/bu/buildkite-agent/package.nix b/pkgs/by-name/bu/buildkite-agent/package.nix index 9189c5963824..44c6099fc40b 100644 --- a/pkgs/by-name/bu/buildkite-agent/package.nix +++ b/pkgs/by-name/bu/buildkite-agent/package.nix @@ -13,16 +13,16 @@ }: buildGoModule rec { pname = "buildkite-agent"; - version = "3.59.0"; + version = "3.76.1"; src = fetchFromGitHub { owner = "buildkite"; repo = "agent"; rev = "v${version}"; - sha256 = "sha256-pYaxjXoNn6MOE2oHUSKrBzP5oKhtfJwSHFCkcpkyzas="; + sha256 = "sha256-0i2b7sVBkV5zcJo+K5kg2Ojbix0rlQRXHKAmL9PJs+g="; }; - vendorHash = "sha256-JSuam9Tn+ZekfLrj78tBncH7Q2aP4CaUgaaDkJ/azEw="; + vendorHash = "sha256-0P6EXqQa6WxhjNJ4X6THvjJRK/UQvqXTv+7IJViFAQs="; postPatch = '' substituteInPlace clicommand/agent_start.go --replace /bin/bash ${bash}/bin/bash From 57d30c7a61d8fb3d8964a1f60c37f8f9c0b34a9c Mon Sep 17 00:00:00 2001 From: Felix Uhl Date: Fri, 2 Aug 2024 22:07:27 +0200 Subject: [PATCH 226/226] nixos/wg-quick: add generatePrivateKeyFile option (#331253) This option is already present in the wireguard module, but missing from the wg-quick module. This is very annoying, because it means you can't easily get a safe and valid configuration on first boot when using wg-quick. This change adds the same option with the same description text and the same script, but instead of generating an entire systemd unit dedicated to creating the key file, it adds the script as a PreUp script, which is a much simpler solution. I've tested this in my own configuration, and it does indeed work. wg-quick allows multiple PreUp scripts, which are run in order, and all PreUp scripts are run before the private key is read from disk, see `man wg-quick`. --- .../modules/services/networking/wg-quick.nix | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/nixos/modules/services/networking/wg-quick.nix b/nixos/modules/services/networking/wg-quick.nix index 2062f2806d79..369c5a939765 100644 --- a/nixos/modules/services/networking/wg-quick.nix +++ b/nixos/modules/services/networking/wg-quick.nix @@ -57,6 +57,15 @@ let ''; }; + generatePrivateKeyFile = mkOption { + default = false; + type = types.bool; + description = '' + Automatically generate a private key with + {command}`wg genkey`, at the privateKeyFile location. + ''; + }; + privateKeyFile = mkOption { example = "/private/wireguard_key"; type = with types; nullOr str; @@ -218,9 +227,24 @@ let writeScriptFile = name: text: ((pkgs.writeShellScriptBin name text) + "/bin/${name}"); + generatePrivateKeyScript = privateKeyFile: '' + set -e + + # If the parent dir does not already exist, create it. + # Otherwise, does nothing, keeping existing permissions intact. + mkdir -p --mode 0755 "${dirOf privateKeyFile}" + + if [ ! -f "${privateKeyFile}" ]; then + # Write private key file with atomically-correct permissions. + (set -e; umask 077; wg genkey > "${privateKeyFile}") + fi + ''; + generateUnit = name: values: assert assertMsg (values.configFile != null || ((values.privateKey != null) != (values.privateKeyFile != null))) "Only one of privateKey, configFile or privateKeyFile may be set"; + assert assertMsg (values.generatePrivateKeyFile == false || values.privateKeyFile != null) "generatePrivateKeyFile requires privateKeyFile to be set"; let + generateKeyScriptFile = if values.generatePrivateKeyFile then writeScriptFile "generatePrivateKey.sh" (generatePrivateKeyScript values.privateKeyFile) else null; preUpFile = if values.preUp != "" then writeScriptFile "preUp.sh" values.preUp else null; postUp = optional (values.privateKeyFile != null) "wg set ${name} private-key <(cat ${values.privateKeyFile})" ++ @@ -247,6 +271,7 @@ let optionalString (values.mtu != null) "MTU = ${toString values.mtu}\n" + optionalString (values.privateKey != null) "PrivateKey = ${values.privateKey}\n" + optionalString (values.listenPort != null) "ListenPort = ${toString values.listenPort}\n" + + optionalString (generateKeyScriptFile != null) "PreUp = ${generateKeyScriptFile}\n" + optionalString (preUpFile != null) "PreUp = ${preUpFile}\n" + optionalString (postUpFile != null) "PostUp = ${postUpFile}\n" + optionalString (preDownFile != null) "PreDown = ${preDownFile}\n" +