From af0cd7a997b69c8ff9e42044599e5cb12fa43c6b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Jul 2023 03:20:40 +0000 Subject: [PATCH 001/154] libvirt: 9.4.0 -> 9.5.0 --- pkgs/development/libraries/libvirt/default.nix | 4 ++-- pkgs/development/python-modules/libvirt/default.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/libvirt/default.nix b/pkgs/development/libraries/libvirt/default.nix index 74e2d858a722..8621838d5b16 100644 --- a/pkgs/development/libraries/libvirt/default.nix +++ b/pkgs/development/libraries/libvirt/default.nix @@ -114,13 +114,13 @@ stdenv.mkDerivation rec { # NOTE: You must also bump: # # SysVirt in - version = "9.4.0"; + version = "9.5.0"; src = fetchFromGitLab { owner = pname; repo = pname; rev = "v${version}"; - sha256 = "sha256-aYLXiZtbNXwJ8qmTHXv2OnyrYWK7KbwQWulTeuTbe0k="; + sha256 = "sha256-u+J1ejv7JH6Lcwk8zDVUS8Vk806WvG59rLAZr0UOqj0="; fetchSubmodules = true; }; diff --git a/pkgs/development/python-modules/libvirt/default.nix b/pkgs/development/python-modules/libvirt/default.nix index e83778c9a4eb..de9d25e7349c 100644 --- a/pkgs/development/python-modules/libvirt/default.nix +++ b/pkgs/development/python-modules/libvirt/default.nix @@ -2,13 +2,13 @@ buildPythonPackage rec { pname = "libvirt"; - version = "9.4.0"; + version = "9.5.0"; src = fetchFromGitLab { owner = "libvirt"; repo = "libvirt-python"; rev = "v${version}"; - hash = "sha256-P5IfH93qCEIJScDRkSOAnA5D82PV1T1eUlPCQYbK0d8="; + hash = "sha256-DhScwkbyCluLc/V26Y6wbZfzo1WBcLswBVzLCGs0PPs="; }; nativeBuildInputs = [ pkg-config ]; From 391c5a8437799bbf6a0bf264737a4a692dc3553e Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Thu, 20 Jul 2023 17:02:13 -0400 Subject: [PATCH 002/154] plymouth: unstable-2023-06-05 -> unstable-2023-06-17 --- pkgs/os-specific/linux/plymouth/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/plymouth/default.nix b/pkgs/os-specific/linux/plymouth/default.nix index 0365abba1432..d5d46e5de7ed 100644 --- a/pkgs/os-specific/linux/plymouth/default.nix +++ b/pkgs/os-specific/linux/plymouth/default.nix @@ -20,7 +20,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "plymouth"; - version = "unstable-2023-06-05"; + version = "unstable-2023-06-17"; outputs = [ "out" "dev" ]; @@ -28,8 +28,8 @@ stdenv.mkDerivation (finalAttrs: { domain = "gitlab.freedesktop.org"; owner = "plymouth"; repo = "plymouth"; - rev = "a5eda165689864cc9a25ec14fd8c6da458598f42"; - hash = "sha256-TpMZZ0naC4D0Knmclc8JpmXPfnpM6q8YotIkNX+aRVo="; + rev = "b1d5aa9d2a6033bba52cf63643e5878f8a9b68a0"; + hash = "sha256-8DXcwt8CZTni5Ma+I63LzNejlIB0Cr1ATA7Nl3z9z6I="; }; patches = [ From 17f4ee84949ab85b549a34db33e322b52f2c97af Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Fri, 28 Jul 2023 23:57:12 -0700 Subject: [PATCH 003/154] python3.pkgs.astropy-extension-helpers: add build and test dependencies --- .../python-modules/astropy-extension-helpers/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/astropy-extension-helpers/default.nix b/pkgs/development/python-modules/astropy-extension-helpers/default.nix index 08a5139e5979..0077cfdde150 100644 --- a/pkgs/development/python-modules/astropy-extension-helpers/default.nix +++ b/pkgs/development/python-modules/astropy-extension-helpers/default.nix @@ -4,7 +4,9 @@ , findutils , pytestCheckHook , pythonOlder +, pip , setuptools-scm +, wheel }: buildPythonPackage rec { @@ -21,12 +23,14 @@ buildPythonPackage rec { nativeBuildInputs = [ setuptools-scm + wheel ]; patches = [ ./permissions.patch ]; nativeCheckInputs = [ findutils + pip pytestCheckHook ]; From 81ce09a40f49d4d38efa09bad2ed7a8e6cf24b8b Mon Sep 17 00:00:00 2001 From: "Elliot Speck (Arcayr)" Date: Wed, 2 Aug 2023 00:01:50 +1000 Subject: [PATCH 004/154] maintainers: add arcayr --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 42e34d009bc1..88c559c111a1 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -1261,6 +1261,12 @@ githubId = 56009; name = "Arcadio Rubio García"; }; + arcayr = { + email = "nix@arcayr.online"; + github = "arcayr"; + githubId = 11192354; + name = "Elliot Speck"; + }; archer-65 = { email = "mario.liguori.056@gmail.com"; github = "archer-65"; From d6c210d1c49f091e87f054876bd752059dec1b7e Mon Sep 17 00:00:00 2001 From: Anton Mosich Date: Fri, 28 Jul 2023 20:57:21 +0200 Subject: [PATCH 005/154] maintainers: add antonmosich --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 3c99e7299e07..4ca122b6ced0 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -1198,6 +1198,12 @@ githubId = 20933385; name = "Anton Latukha"; }; + antonmosich = { + email = "anton@mosich.at"; + github = "antonmosich"; + githubId = 27223336; + name = "Anton Mosich"; + }; antono = { email = "self@antono.info"; github = "antono"; From ad02936be1d79dedea64dc8c202308c7df1b899e Mon Sep 17 00:00:00 2001 From: Anton Mosich Date: Tue, 1 Aug 2023 23:35:30 +0200 Subject: [PATCH 006/154] qcal: init at 0.9.1 --- pkgs/tools/networking/qcal/default.nix | 36 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/tools/networking/qcal/default.nix diff --git a/pkgs/tools/networking/qcal/default.nix b/pkgs/tools/networking/qcal/default.nix new file mode 100644 index 000000000000..efb06fd1be6d --- /dev/null +++ b/pkgs/tools/networking/qcal/default.nix @@ -0,0 +1,36 @@ +{ lib +, buildGoModule +, fetchFromSourcehut +}: + +buildGoModule rec { + pname = "qcal"; + version = "0.9.1"; + src = fetchFromSourcehut { + owner = "~psic4t"; + repo = "qcal"; + rev = version; + hash = "sha256-Rj806cKCFxWB8X4EiKvyZ5/xACw+VVbo9hv8AJiB0S4="; + }; + vendorHash = "sha256-ntpSj3Ze7n1sMIMojaESi4tQtx+mrA0aiv3+MQetjZI="; + + # Replace "config-sample.json" in error message with the absolute path + # to that config file in the nix store + preBuild = '' + substituteInPlace helpers.go \ + --replace " config-sample.json " " $out/share/config-sample.json " + ''; + + postInstall = '' + mkdir -p $out/share + cp config-sample.json $out/share/ + ''; + + meta = with lib; { + description = "CLI calendar application for CalDAV servers written in Go"; + homepage = "https://git.sr.ht/~psic4t/qcal"; + license = licenses.gpl3; + mainProgram = "qcal"; + maintainers = with maintainers; [ antonmosich ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9ed1020bb6e1..45d223efb49e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26948,6 +26948,8 @@ with pkgs; radicale = radicale3; + qcal = callPackage ../tools/networking/qcal/default.nix { }; + rake = callPackage ../development/tools/build-managers/rake { }; rakkess = callPackage ../development/tools/rakkess { }; From d3ce852ce7cf5d72c500bef62159f431c128abbc Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Mon, 7 Aug 2023 08:29:32 +0300 Subject: [PATCH 007/154] krop: support qtwayland --- pkgs/applications/graphics/krop/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/graphics/krop/default.nix b/pkgs/applications/graphics/krop/default.nix index ef335cd6be2a..0adcf0b538d2 100644 --- a/pkgs/applications/graphics/krop/default.nix +++ b/pkgs/applications/graphics/krop/default.nix @@ -19,6 +19,7 @@ python3Packages.buildPythonApplication rec { ]; buildInputs = [ libsForQt5.poppler + libsForQt5.qtwayland ]; nativeBuildInputs = [ qt5.wrapQtAppsHook ]; From e099e0185b81e1f2b237d25c4d853e72d5e6255f Mon Sep 17 00:00:00 2001 From: sunder Date: Mon, 7 Aug 2023 14:04:37 +0300 Subject: [PATCH 008/154] conjure: init at 0.1.2 --- .../applications/graphics/conjure/default.nix | 71 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 73 insertions(+) create mode 100644 pkgs/applications/graphics/conjure/default.nix diff --git a/pkgs/applications/graphics/conjure/default.nix b/pkgs/applications/graphics/conjure/default.nix new file mode 100644 index 000000000000..b0b00369ffde --- /dev/null +++ b/pkgs/applications/graphics/conjure/default.nix @@ -0,0 +1,71 @@ +{ fetchFromGitHub +, gobject-introspection +, lib +, libadwaita +, python3Packages +, wrapGAppsHook +, meson +, ninja +, desktop-file-utils +, pkg-config +, appstream-glib +, gtk4 +}: +python3Packages.buildPythonApplication rec { + pname = "conjure"; + version = "0.1.2"; + + format = "other"; + + src = fetchFromGitHub { + owner = "nate-xyz"; + repo = "conjure"; + rev = "v${version}"; + hash = "sha256-qWeqUQxTTnmJt40Jm1qDTGGuSQikkurzOux8sZsmDQk="; + }; + + nativeBuildInputs = [ + gobject-introspection + wrapGAppsHook + desktop-file-utils + appstream-glib + meson + ninja + pkg-config + gtk4 + ]; + + buildInputs = [ + libadwaita + ]; + + propagatedBuildInputs = with python3Packages; [ + pygobject3 + loguru + wand + ]; + + nativeCheckInputs = with python3Packages; [ + pytest + ]; + + dontWrapGApps = true; + + preFixup = '' + makeWrapperArgs+=("''${gappsWrapperArgs[@]}") + ''; + + meta = with lib; { + description = "Magically transform your images"; + longDescription = '' + Resize, crop, rotate, flip images, apply various filters and effects, + adjust levels and brightness, and much more. An intuitive tool for designers, + artists, or just someone who wants to enhance their images. + Built on top of the popular image processing library, ImageMagick with python + bindings from Wand. + ''; + homepage = "https://github.com/nate-xyz/conjure"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ sund3RRR ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 603b7a2aefdd..28d50344ec2f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3504,6 +3504,8 @@ with pkgs; codux = callPackage ../applications/editors/codux { }; + conjure = callPackage ../applications/graphics/conjure { }; + coolreader = libsForQt5.callPackage ../applications/misc/coolreader { }; corsair = with python3Packages; toPythonApplication corsair-scan; From b5c492b4ba8ba13720640e7a4699a0fc119dd2e7 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Tue, 8 Aug 2023 00:06:27 +0200 Subject: [PATCH 009/154] lib.path: Make documentation more uniform - Always have a trailing dot after sentences - Link more things - Fix some formatting - Use `append` instead of `+ ("/"` --- lib/path/default.nix | 53 ++++++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 27 deletions(-) diff --git a/lib/path/default.nix b/lib/path/default.nix index 5c6c5f608954..fe6ff4335d4a 100644 --- a/lib/path/default.nix +++ b/lib/path/default.nix @@ -125,13 +125,13 @@ in /* No rec! Add dependencies on this file at the top. */ { Like `path + ("/" + string)` but safer, because it errors instead of returning potentially surprising results. More specifically, it checks that the first argument is a [path value type](https://nixos.org/manual/nix/stable/language/values.html#type-path"), - and that the second argument is a valid subpath string (see `lib.path.subpath.isValid`). + and that the second argument is a [valid subpath string](#function-library-lib.path.subpath.isValid). Laws: - - Not influenced by subpath normalisation + - Not influenced by subpath [normalisation](#function-library-lib.path.subpath.normalise): - append p s == append p (subpath.normalise s) + append p s == append p (subpath.normalise s) Type: append :: Path -> String -> Path @@ -179,9 +179,9 @@ in /* No rec! Add dependencies on this file at the top. */ { Laws: - - `hasPrefix p q` is only true if `q == append p s` for some subpath `s`. + - `hasPrefix p q` is only true if [`q == append p s`](#function-library-lib.path.append) for some [subpath](#function-library-lib.path.subpath.isValid) `s`. - - `hasPrefix` is a [non-strict partial order](https://en.wikipedia.org/wiki/Partially_ordered_set#Non-strict_partial_order) over the set of all path values + - `hasPrefix` is a [non-strict partial order](https://en.wikipedia.org/wiki/Partially_ordered_set#Non-strict_partial_order) over the set of all path values. Type: hasPrefix :: Path -> Path -> Bool @@ -220,11 +220,11 @@ in /* No rec! Add dependencies on this file at the top. */ { /* Remove the first path as a component-wise prefix from the second path. - The result is a normalised subpath string, see `lib.path.subpath.normalise`. + The result is a [normalised subpath string](#function-library-lib.path.subpath.normalise). Laws: - - Inverts `append` for normalised subpaths: + - Inverts [`append`](#function-library-lib.path.append) for [normalised subpath string](#function-library-lib.path.subpath.normalise): removePrefix p (append p s) == subpath.normalise s @@ -322,13 +322,13 @@ in /* No rec! Add dependencies on this file at the top. */ { A subpath string points to a specific file or directory within an absolute base directory. It is a stricter form of a relative path that excludes `..` components, since those could escape the base directory. - - The value is a string + - The value is a string. - - The string is not empty + - The string is not empty. - - The string doesn't start with a `/` + - The string doesn't start with a `/`. - - The string doesn't contain any `..` path components + - The string doesn't contain any `..` path components. Type: subpath.isValid :: String -> Bool @@ -368,11 +368,11 @@ in /* No rec! Add dependencies on this file at the top. */ { Like `concatStringsSep "/"` but safer, specifically: - - All elements must be valid subpath strings, see `lib.path.subpath.isValid` + - All elements must be [valid subpath strings](#function-library-lib.path.subpath.isValid). - - The result gets normalised, see `lib.path.subpath.normalise` + - The result gets [normalised](#function-library-lib.path.subpath.normalise). - - The edge case of an empty list gets properly handled by returning the neutral subpath `"./."` + - The edge case of an empty list gets properly handled by returning the neutral subpath `"./."`. Laws: @@ -386,12 +386,12 @@ in /* No rec! Add dependencies on this file at the top. */ { subpath.join [ (subpath.normalise p) "./." ] == subpath.normalise p subpath.join [ "./." (subpath.normalise p) ] == subpath.normalise p - - Normalisation - the result is normalised according to `lib.path.subpath.normalise`: + - Normalisation - the result is [normalised](#function-library-lib.path.subpath.normalise): subpath.join ps == subpath.normalise (subpath.join ps) - - For non-empty lists, the implementation is equivalent to normalising the result of `concatStringsSep "/"`. - Note that the above laws can be derived from this one. + - For non-empty lists, the implementation is equivalent to [normalising](#function-library-lib.path.subpath.normalise) the result of `concatStringsSep "/"`. + Note that the above laws can be derived from this one: ps != [] -> subpath.join ps == subpath.normalise (concatStringsSep "/" ps) @@ -441,7 +441,7 @@ in /* No rec! Add dependencies on this file at the top. */ { /* Split [a subpath](#function-library-lib.path.subpath.isValid) into its path component strings. Throw an error if the subpath isn't valid. - Note that the returned path components are also valid subpath strings, though they are intentionally not [normalised](#function-library-lib.path.subpath.normalise). + Note that the returned path components are also [valid subpath strings](#function-library-lib.path.subpath.isValid), though they are intentionally not [normalised](#function-library-lib.path.subpath.normalise). Laws: @@ -469,16 +469,15 @@ in /* No rec! Add dependencies on this file at the top. */ { ${subpathInvalidReason subpath}''; splitRelPath subpath; - /* Normalise a subpath. Throw an error if the subpath isn't valid, see - `lib.path.subpath.isValid` + /* Normalise a subpath. Throw an error if the subpath isn't [valid](#function-library-lib.path.subpath.isValid). - - Limit repeating `/` to a single one + - Limit repeating `/` to a single one. - - Remove redundant `.` components + - Remove redundant `.` components. - - Remove trailing `/` and `/.` + - Remove trailing `/` and `/.`. - - Add leading `./` + - Add leading `./`. Laws: @@ -490,15 +489,15 @@ in /* No rec! Add dependencies on this file at the top. */ { subpath.normalise p != subpath.normalise q -> $(realpath ${p}) != $(realpath ${q}) - - Don't change the result when appended to a Nix path value: + - Don't change the result when [appended](#function-library-lib.path.append) to a Nix path value: - base + ("/" + p) == base + ("/" + subpath.normalise p) + append base p == append base (subpath.normalise p) - Don't change the path according to `realpath`: $(realpath ${p}) == $(realpath ${subpath.normalise p}) - - Only error on invalid subpaths: + - Only error on [invalid subpaths](#function-library-lib.path.subpath.isValid): builtins.tryEval (subpath.normalise p)).success == subpath.isValid p From dee307ff3023c98c11a193aae1a8341c6f46a22f Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Tue, 8 Aug 2023 00:09:08 +0200 Subject: [PATCH 010/154] lib.path: Indent comments the same --- lib/path/default.nix | 296 ++++++++++++++++++++++--------------------- 1 file changed, 150 insertions(+), 146 deletions(-) diff --git a/lib/path/default.nix b/lib/path/default.nix index fe6ff4335d4a..5b2f28e90dff 100644 --- a/lib/path/default.nix +++ b/lib/path/default.nix @@ -121,7 +121,8 @@ let in /* No rec! Add dependencies on this file at the top. */ { - /* Append a subpath string to a path. + /* + Append a subpath string to a path. Like `path + ("/" + string)` but safer, because it errors instead of returning potentially surprising results. More specifically, it checks that the first argument is a [path value type](https://nixos.org/manual/nix/stable/language/values.html#type-path"), @@ -175,26 +176,26 @@ in /* No rec! Add dependencies on this file at the top. */ { path + ("/" + subpath); /* - Whether the first path is a component-wise prefix of the second path. + Whether the first path is a component-wise prefix of the second path. - Laws: + Laws: - - `hasPrefix p q` is only true if [`q == append p s`](#function-library-lib.path.append) for some [subpath](#function-library-lib.path.subpath.isValid) `s`. + - `hasPrefix p q` is only true if [`q == append p s`](#function-library-lib.path.append) for some [subpath](#function-library-lib.path.subpath.isValid) `s`. - - `hasPrefix` is a [non-strict partial order](https://en.wikipedia.org/wiki/Partially_ordered_set#Non-strict_partial_order) over the set of all path values. + - `hasPrefix` is a [non-strict partial order](https://en.wikipedia.org/wiki/Partially_ordered_set#Non-strict_partial_order) over the set of all path values. - Type: - hasPrefix :: Path -> Path -> Bool + Type: + hasPrefix :: Path -> Path -> Bool - Example: - hasPrefix /foo /foo/bar - => true - hasPrefix /foo /foo - => true - hasPrefix /foo/bar /foo - => false - hasPrefix /. /foo - => true + Example: + hasPrefix /foo /foo/bar + => true + hasPrefix /foo /foo + => true + hasPrefix /foo/bar /foo + => false + hasPrefix /. /foo + => true */ hasPrefix = path1: @@ -219,27 +220,27 @@ in /* No rec! Add dependencies on this file at the top. */ { take (length path1Deconstructed.components) path2Deconstructed.components == path1Deconstructed.components; /* - Remove the first path as a component-wise prefix from the second path. - The result is a [normalised subpath string](#function-library-lib.path.subpath.normalise). + Remove the first path as a component-wise prefix from the second path. + The result is a [normalised subpath string](#function-library-lib.path.subpath.normalise). - Laws: + Laws: - - Inverts [`append`](#function-library-lib.path.append) for [normalised subpath string](#function-library-lib.path.subpath.normalise): + - Inverts [`append`](#function-library-lib.path.append) for [normalised subpath string](#function-library-lib.path.subpath.normalise): - removePrefix p (append p s) == subpath.normalise s + removePrefix p (append p s) == subpath.normalise s - Type: - removePrefix :: Path -> Path -> String + Type: + removePrefix :: Path -> Path -> String - Example: - removePrefix /foo /foo/bar/baz - => "./bar/baz" - removePrefix /foo /foo - => "./." - removePrefix /foo/bar /foo - => - removePrefix /. /foo - => "./foo" + Example: + removePrefix /foo /foo/bar/baz + => "./bar/baz" + removePrefix /foo /foo + => "./." + removePrefix /foo/bar /foo + => + removePrefix /. /foo + => "./foo" */ removePrefix = path1: @@ -272,39 +273,39 @@ in /* No rec! Add dependencies on this file at the top. */ { joinRelPath components; /* - Split the filesystem root from a [path](https://nixos.org/manual/nix/stable/language/values.html#type-path). - The result is an attribute set with these attributes: - - `root`: The filesystem root of the path, meaning that this directory has no parent directory. - - `subpath`: The [normalised subpath string](#function-library-lib.path.subpath.normalise) that when [appended](#function-library-lib.path.append) to `root` returns the original path. + Split the filesystem root from a [path](https://nixos.org/manual/nix/stable/language/values.html#type-path). + The result is an attribute set with these attributes: + - `root`: The filesystem root of the path, meaning that this directory has no parent directory. + - `subpath`: The [normalised subpath string](#function-library-lib.path.subpath.normalise) that when [appended](#function-library-lib.path.append) to `root` returns the original path. - Laws: - - [Appending](#function-library-lib.path.append) the `root` and `subpath` gives the original path: + Laws: + - [Appending](#function-library-lib.path.append) the `root` and `subpath` gives the original path: - p == - append - (splitRoot p).root - (splitRoot p).subpath + p == + append + (splitRoot p).root + (splitRoot p).subpath - - Trying to get the parent directory of `root` using [`readDir`](https://nixos.org/manual/nix/stable/language/builtins.html#builtins-readDir) returns `root` itself: + - Trying to get the parent directory of `root` using [`readDir`](https://nixos.org/manual/nix/stable/language/builtins.html#builtins-readDir) returns `root` itself: - dirOf (splitRoot p).root == (splitRoot p).root + dirOf (splitRoot p).root == (splitRoot p).root - Type: - splitRoot :: Path -> { root :: Path, subpath :: String } + Type: + splitRoot :: Path -> { root :: Path, subpath :: String } - Example: - splitRoot /foo/bar - => { root = /.; subpath = "./foo/bar"; } + Example: + splitRoot /foo/bar + => { root = /.; subpath = "./foo/bar"; } - splitRoot /. - => { root = /.; subpath = "./."; } + splitRoot /. + => { root = /.; subpath = "./."; } - # Nix neutralises `..` path components for all path values automatically - splitRoot /foo/../bar - => { root = /.; subpath = "./bar"; } + # Nix neutralises `..` path components for all path values automatically + splitRoot /foo/../bar + => { root = /.; subpath = "./bar"; } - splitRoot "/foo/bar" - => + splitRoot "/foo/bar" + => */ splitRoot = path: assert assertMsg @@ -317,46 +318,47 @@ in /* No rec! Add dependencies on this file at the top. */ { subpath = joinRelPath deconstructed.components; }; - /* Whether a value is a valid subpath string. + /* + Whether a value is a valid subpath string. - A subpath string points to a specific file or directory within an absolute base directory. - It is a stricter form of a relative path that excludes `..` components, since those could escape the base directory. + A subpath string points to a specific file or directory within an absolute base directory. + It is a stricter form of a relative path that excludes `..` components, since those could escape the base directory. - - The value is a string. + - The value is a string. - - The string is not empty. + - The string is not empty. - - The string doesn't start with a `/`. + - The string doesn't start with a `/`. - - The string doesn't contain any `..` path components. + - The string doesn't contain any `..` path components. - Type: - subpath.isValid :: String -> Bool + Type: + subpath.isValid :: String -> Bool - Example: - # Not a string - subpath.isValid null - => false + Example: + # Not a string + subpath.isValid null + => false - # Empty string - subpath.isValid "" - => false + # Empty string + subpath.isValid "" + => false - # Absolute path - subpath.isValid "/foo" - => false + # Absolute path + subpath.isValid "/foo" + => false - # Contains a `..` path component - subpath.isValid "../foo" - => false + # Contains a `..` path component + subpath.isValid "../foo" + => false - # Valid subpath - subpath.isValid "foo/bar" - => true + # Valid subpath + subpath.isValid "foo/bar" + => true - # Doesn't need to be normalised - subpath.isValid "./foo//bar/" - => true + # Doesn't need to be normalised + subpath.isValid "./foo//bar/" + => true */ subpath.isValid = # The value to check @@ -364,7 +366,8 @@ in /* No rec! Add dependencies on this file at the top. */ { subpathInvalidReason value == null; - /* Join subpath strings together using `/`, returning a normalised subpath string. + /* + Join subpath strings together using `/`, returning a normalised subpath string. Like `concatStringsSep "/"` but safer, specifically: @@ -439,28 +442,28 @@ in /* No rec! Add dependencies on this file at the top. */ { ) 0 subpaths; /* - Split [a subpath](#function-library-lib.path.subpath.isValid) into its path component strings. - Throw an error if the subpath isn't valid. - Note that the returned path components are also [valid subpath strings](#function-library-lib.path.subpath.isValid), though they are intentionally not [normalised](#function-library-lib.path.subpath.normalise). + Split [a subpath](#function-library-lib.path.subpath.isValid) into its path component strings. + Throw an error if the subpath isn't valid. + Note that the returned path components are also [valid subpath strings](#function-library-lib.path.subpath.isValid), though they are intentionally not [normalised](#function-library-lib.path.subpath.normalise). - Laws: + Laws: - - Splitting a subpath into components and [joining](#function-library-lib.path.subpath.join) the components gives the same subpath but [normalised](#function-library-lib.path.subpath.normalise): + - Splitting a subpath into components and [joining](#function-library-lib.path.subpath.join) the components gives the same subpath but [normalised](#function-library-lib.path.subpath.normalise): - subpath.join (subpath.components s) == subpath.normalise s + subpath.join (subpath.components s) == subpath.normalise s - Type: - subpath.components :: String -> [ String ] + Type: + subpath.components :: String -> [ String ] - Example: - subpath.components "." - => [ ] + Example: + subpath.components "." + => [ ] - subpath.components "./foo//bar/./baz/" - => [ "foo" "bar" "baz" ] + subpath.components "./foo//bar/./baz/" + => [ "foo" "bar" "baz" ] - subpath.components "/foo" - => + subpath.components "/foo" + => */ subpath.components = subpath: @@ -469,77 +472,78 @@ in /* No rec! Add dependencies on this file at the top. */ { ${subpathInvalidReason subpath}''; splitRelPath subpath; - /* Normalise a subpath. Throw an error if the subpath isn't [valid](#function-library-lib.path.subpath.isValid). + /* + Normalise a subpath. Throw an error if the subpath isn't [valid](#function-library-lib.path.subpath.isValid). - - Limit repeating `/` to a single one. + - Limit repeating `/` to a single one. - - Remove redundant `.` components. + - Remove redundant `.` components. - - Remove trailing `/` and `/.`. + - Remove trailing `/` and `/.`. - - Add leading `./`. + - Add leading `./`. - Laws: + Laws: - - Idempotency - normalising multiple times gives the same result: + - Idempotency - normalising multiple times gives the same result: - subpath.normalise (subpath.normalise p) == subpath.normalise p + subpath.normalise (subpath.normalise p) == subpath.normalise p - - Uniqueness - there's only a single normalisation for the paths that lead to the same file system node: + - Uniqueness - there's only a single normalisation for the paths that lead to the same file system node: - subpath.normalise p != subpath.normalise q -> $(realpath ${p}) != $(realpath ${q}) + subpath.normalise p != subpath.normalise q -> $(realpath ${p}) != $(realpath ${q}) - - Don't change the result when [appended](#function-library-lib.path.append) to a Nix path value: + - Don't change the result when [appended](#function-library-lib.path.append) to a Nix path value: - append base p == append base (subpath.normalise p) + append base p == append base (subpath.normalise p) - - Don't change the path according to `realpath`: + - Don't change the path according to `realpath`: - $(realpath ${p}) == $(realpath ${subpath.normalise p}) + $(realpath ${p}) == $(realpath ${subpath.normalise p}) - - Only error on [invalid subpaths](#function-library-lib.path.subpath.isValid): + - Only error on [invalid subpaths](#function-library-lib.path.subpath.isValid): - builtins.tryEval (subpath.normalise p)).success == subpath.isValid p + builtins.tryEval (subpath.normalise p)).success == subpath.isValid p - Type: - subpath.normalise :: String -> String + Type: + subpath.normalise :: String -> String - Example: - # limit repeating `/` to a single one - subpath.normalise "foo//bar" - => "./foo/bar" + Example: + # limit repeating `/` to a single one + subpath.normalise "foo//bar" + => "./foo/bar" - # remove redundant `.` components - subpath.normalise "foo/./bar" - => "./foo/bar" + # remove redundant `.` components + subpath.normalise "foo/./bar" + => "./foo/bar" - # add leading `./` - subpath.normalise "foo/bar" - => "./foo/bar" + # add leading `./` + subpath.normalise "foo/bar" + => "./foo/bar" - # remove trailing `/` - subpath.normalise "foo/bar/" - => "./foo/bar" + # remove trailing `/` + subpath.normalise "foo/bar/" + => "./foo/bar" - # remove trailing `/.` - subpath.normalise "foo/bar/." - => "./foo/bar" + # remove trailing `/.` + subpath.normalise "foo/bar/." + => "./foo/bar" - # Return the current directory as `./.` - subpath.normalise "." - => "./." + # Return the current directory as `./.` + subpath.normalise "." + => "./." - # error on `..` path components - subpath.normalise "foo/../bar" - => + # error on `..` path components + subpath.normalise "foo/../bar" + => - # error on empty string - subpath.normalise "" - => + # error on empty string + subpath.normalise "" + => - # error on absolute path - subpath.normalise "/foo" - => + # error on absolute path + subpath.normalise "/foo" + => */ subpath.normalise = # The subpath string to normalise From e3ff8dbedaa0a0ee62b98b076531dbc62da50785 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Tue, 8 Aug 2023 00:10:32 +0200 Subject: [PATCH 011/154] lib.path: Add argument docs when missing --- lib/path/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/path/default.nix b/lib/path/default.nix index 5b2f28e90dff..1a55a2a7be8d 100644 --- a/lib/path/default.nix +++ b/lib/path/default.nix @@ -307,7 +307,9 @@ in /* No rec! Add dependencies on this file at the top. */ { splitRoot "/foo/bar" => */ - splitRoot = path: + splitRoot = + # The path to split the root off of + path: assert assertMsg (isPath path) "lib.path.splitRoot: Argument is of type ${typeOf path}, but a path was expected"; @@ -466,6 +468,7 @@ in /* No rec! Add dependencies on this file at the top. */ { => */ subpath.components = + # The subpath string to split into components subpath: assert assertMsg (isValid subpath) '' lib.path.subpath.components: Argument is not a valid subpath string: From d2eddd374f530b1d49c9e12908bab31cfa9d091f Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Thu, 3 Aug 2023 19:50:26 +0300 Subject: [PATCH 012/154] hyprland: 0.27.0 -> unstable-2023-08-08 --- .../hyprwm/hyprland/default.nix | 38 ++++++---- .../hyprwm/hyprland/wlroots.nix | 71 ++++--------------- 2 files changed, 39 insertions(+), 70 deletions(-) diff --git a/pkgs/applications/window-managers/hyprwm/hyprland/default.nix b/pkgs/applications/window-managers/hyprwm/hyprland/default.nix index b6af6a34151c..f2b430c5bc11 100644 --- a/pkgs/applications/window-managers/hyprwm/hyprland/default.nix +++ b/pkgs/applications/window-managers/hyprwm/hyprland/default.nix @@ -2,8 +2,10 @@ , stdenv , fetchFromGitHub , pkg-config +, makeWrapper , meson , ninja +, binutils , cairo , git , hyprland-protocols @@ -24,34 +26,33 @@ , xcbutilwm , xwayland , debug ? false +, enableNvidiaPatches ? false , enableXWayland ? true -, hidpiXWayland ? false , legacyRenderer ? false -, nvidiaPatches ? false , withSystemd ? true +, wrapRuntimeDeps ? true + # deprecated flags +, nvidiaPatches ? false +, hidpiXWayland ? false }: -let - assertXWayland = lib.assertMsg (hidpiXWayland -> enableXWayland) '' - Hyprland: cannot have hidpiXWayland when enableXWayland is false. - ''; -in -assert assertXWayland; +assert lib.assertMsg (!nvidiaPatches) "The option `nvidiaPatches` has been renamed `enableNvidiaPatches`"; +assert lib.assertMsg (!hidpiXWayland) "The option `hidpiXWayland` has been removed. Please refer https://wiki.hyprland.org/Configuring/XWayland"; stdenv.mkDerivation (finalAttrs: { pname = "hyprland" + lib.optionalString debug "-debug"; - version = "0.27.0"; + version = "unstable-2023-08-08"; src = fetchFromGitHub { owner = "hyprwm"; repo = finalAttrs.pname; - rev = "v${finalAttrs.version}"; - hash = "sha256-mEKF6Wcx+wSF/eos/91A7LxhFLDYhSnQnLpwZF13ntg="; + rev = "8e04a80e60983f5def26bdcaea701040fea9a7ae"; + hash = "sha256-5/vEdU3SzAdeIyPykjks/Zxkvh9luPTIei6oa77OY2Q="; }; patches = [ # make meson use the provided dependencies instead of the git submodules - "${finalAttrs.src}/nix/meson-build.patch" + "${finalAttrs.src}/nix/patches/meson-build.patch" # look into $XDG_DESKTOP_PORTAL_DIR instead of /usr; runtime checks for conflicting portals - "${finalAttrs.src}/nix/portals.patch" + "${finalAttrs.src}/nix/patches/portals.patch" ]; postPatch = '' @@ -64,6 +65,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ jq + makeWrapper meson ninja pkg-config @@ -90,7 +92,7 @@ stdenv.mkDerivation (finalAttrs: { wayland-protocols pango pciutils - (wlroots.override { inherit enableXWayland hidpiXWayland nvidiaPatches; }) + (wlroots.override { inherit enableNvidiaPatches; }) ] ++ lib.optionals enableXWayland [ libxcb xcbutilwm xwayland ] ++ lib.optionals withSystemd [ systemd ]; @@ -106,6 +108,14 @@ stdenv.mkDerivation (finalAttrs: { (lib.optional withSystemd "-Dsystemd=enabled") ]; + postInstall = '' + ln -s ${wlroots}/include/wlr $dev/include/hyprland/wlroots + ${lib.optionalString wrapRuntimeDeps '' + wrapProgram $out/bin/Hyprland \ + --suffix PATH : ${lib.makeBinPath [binutils pciutils]} + ''} + ''; + passthru.providedSessions = [ "hyprland" ]; meta = with lib; { diff --git a/pkgs/applications/window-managers/hyprwm/hyprland/wlroots.nix b/pkgs/applications/window-managers/hyprwm/hyprland/wlroots.nix index e1d6bfc7e516..7b44e9cf5212 100644 --- a/pkgs/applications/window-managers/hyprwm/hyprland/wlroots.nix +++ b/pkgs/applications/window-managers/hyprwm/hyprland/wlroots.nix @@ -1,15 +1,11 @@ { fetchFromGitLab , hyprland , wlroots -, xwayland -, fetchpatch , lib , libdisplay-info , libliftoff , hwdata -, hidpiXWayland ? true -, enableXWayland ? true -, nvidiaPatches ? false +, enableNvidiaPatches ? false }: let libdisplay-info-new = libdisplay-info.overrideAttrs (old: { @@ -38,10 +34,7 @@ let ]; }); in -assert (lib.assertMsg (hidpiXWayland -> enableXWayland) '' - wlroots-hyprland: cannot have hidpiXWayland when enableXWayland is false. -''); -(wlroots.overrideAttrs +wlroots.overrideAttrs (old: { version = "0.17.0-dev"; @@ -49,65 +42,31 @@ assert (lib.assertMsg (hidpiXWayland -> enableXWayland) '' domain = "gitlab.freedesktop.org"; owner = "wlroots"; repo = "wlroots"; - rev = "7e7633abf09b362d0bad9e3fc650fd692369291d"; - hash = "sha256-KovjVFwcuoUO0eu/UiWrnD3+m/K+SHSAVIz4xF9K1XA="; + rev = "e8d545a9770a2473db32e0a0bfa757b05d2af4f3"; + hash = "sha256-gv5kjss6REeQG0BmvK2gTx7jHLRdCnP25po6It6I6N8="; }; pname = old.pname + "-hyprland" - + ( - if hidpiXWayland - then "-hidpi" - else "" - ) - + ( - if nvidiaPatches - then "-nvidia" - else "" - ); + + lib.optionalString enableNvidiaPatches "-nvidia"; patches = (old.patches or [ ]) - ++ (lib.optionals (enableXWayland && hidpiXWayland) [ - "${hyprland.src}/nix/wlroots-hidpi.patch" - (fetchpatch { - url = "https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/18595000f3a21502fd60bf213122859cc348f9af.diff"; - sha256 = "sha256-jvfkAMh3gzkfuoRhB4E9T5X1Hu62wgUjj4tZkJm0mrI="; - revert = true; - }) - ]) - ++ (lib.optionals nvidiaPatches [ - (fetchpatch { - url = "https://aur.archlinux.org/cgit/aur.git/plain/0001-nvidia-format-workaround.patch?h=hyprland-nvidia-screenshare-git&id=2830d3017d7cdd240379b4cc7e5dd6a49cf3399a"; - sha256 = "A9f1p5EW++mGCaNq8w7ZJfeWmvTfUm4iO+1KDcnqYX8="; - }) + ++ (lib.optionals enableNvidiaPatches [ + "${hyprland.src}/nix/patches/nvidia.patch" ]); postPatch = (old.postPatch or "") + ( - if nvidiaPatches - then '' - substituteInPlace render/gles2/renderer.c --replace "glFlush();" "glFinish();" - '' - else "" + lib.optionalString enableNvidiaPatches + ''substituteInPlace render/gles2/renderer.c --replace "glFlush();" "glFinish();"'' ); - buildInputs = - old.buildInputs - ++ [ - hwdata - libdisplay-info-new - libliftoff-new - ]; - })).override { - xwayland = xwayland.overrideAttrs (old: { - patches = - (old.patches or [ ]) - ++ (lib.optionals hidpiXWayland [ - "${hyprland.src}/nix/xwayland-vsync.patch" - "${hyprland.src}/nix/xwayland-hidpi.patch" - ]); - }); -} + buildInputs = old.buildInputs ++ [ + hwdata + libdisplay-info-new + libliftoff-new + ]; + }) From 50ad802e5197db89f304dcbc71395c7c1feca0a1 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Thu, 3 Aug 2023 19:37:03 +0300 Subject: [PATCH 013/154] nixos/hyprland: remove xwayland.hidpi --- nixos/modules/programs/hyprland.nix | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/nixos/modules/programs/hyprland.nix b/nixos/modules/programs/hyprland.nix index faeaa8973fa9..e0ee5b6bd2a4 100644 --- a/nixos/modules/programs/hyprland.nix +++ b/nixos/modules/programs/hyprland.nix @@ -32,11 +32,10 @@ in readOnly = true; default = cfg.package.override { enableXWayland = cfg.xwayland.enable; - hidpiXWayland = cfg.xwayland.hidpi; - nvidiaPatches = cfg.nvidiaPatches; + enableNvidiaPatches = cfg.enableNvidiaPatches; }; defaultText = literalExpression - "`wayland.windowManager.hyprland.package` with applied configuration"; + "`programs.hyprland.package` with applied configuration"; description = mdDoc '' The Hyprland package after applying configuration. ''; @@ -44,17 +43,9 @@ in portalPackage = mkPackageOptionMD pkgs "xdg-desktop-portal-hyprland" { }; - xwayland = { - enable = mkEnableOption (mdDoc "XWayland") // { default = true; }; - hidpi = mkEnableOption null // { - description = mdDoc '' - Enable HiDPI XWayland, based on [XWayland MR 733](https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/733). - See for more info. - ''; - }; - }; + xwayland.enable = mkEnableOption (mdDoc "XWayland") // { default = true; }; - nvidiaPatches = mkEnableOption (mdDoc "patching wlroots for better Nvidia support"); + enableNvidiaPatches = mkEnableOption (mdDoc "patching wlroots for better Nvidia support"); }; config = mkIf cfg.enable { @@ -77,4 +68,15 @@ in extraPortals = [ finalPortalPackage ]; }; }; + + imports = with lib; [ + (mkRemovedOptionModule + [ "programs" "hyprland" "xwayland" "hidpi" ] + "XWayland patches are deprecated. Refer to https://wiki.hyprland.org/Configuring/XWayland" + ) + (mkRenamedOptionModule + [ "programs" "hyprland" "nvidiaPatches" ] + [ "programs" "hyprland" "enableNvidiaPatches" ] + ) + ]; } From 99230bc0bbdef83ecbc7a2a75aaa25f443f836e9 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Thu, 3 Aug 2023 20:17:20 +0300 Subject: [PATCH 014/154] xdg-desktop-portal-hyprland: 0.4.0 -> 0.5.0 --- .../hyprwm/xdg-desktop-portal-hyprland/source.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/window-managers/hyprwm/xdg-desktop-portal-hyprland/source.nix b/pkgs/applications/window-managers/hyprwm/xdg-desktop-portal-hyprland/source.nix index 6b26f0eff426..cb4c3efad137 100644 --- a/pkgs/applications/window-managers/hyprwm/xdg-desktop-portal-hyprland/source.nix +++ b/pkgs/applications/window-managers/hyprwm/xdg-desktop-portal-hyprland/source.nix @@ -3,7 +3,7 @@ , wayland }: let - version = "0.4.0"; + version = "0.5.0"; in { inherit version; @@ -12,7 +12,7 @@ in owner = "hyprwm"; repo = "xdg-desktop-portal-hyprland"; rev = "v${version}"; - hash = "sha256-r+XMyOoRXq+hlfjayb+fyi9kq2JK48TrwuNIAXqlj7U="; + hash = "sha256-C5AO0KnyAFJaCkOn+5nJfWm0kyiPn/Awh0lKTjhgr7Y="; }; meta = with lib; { From bcaa85f4a60badc2d0301ea75a19e617de40d7b4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 9 Aug 2023 21:59:01 +0000 Subject: [PATCH 015/154] doc2go: 0.4.1 -> 0.5.0 --- pkgs/development/tools/doc2go/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/doc2go/default.nix b/pkgs/development/tools/doc2go/default.nix index 0635c7ba1040..92a2e09ee446 100644 --- a/pkgs/development/tools/doc2go/default.nix +++ b/pkgs/development/tools/doc2go/default.nix @@ -5,15 +5,15 @@ buildGoModule rec { pname = "doc2go"; - version = "0.4.1"; + version = "0.5.0"; src = fetchFromGitHub { owner = "abhinav"; repo = "doc2go"; rev = "v${version}"; - hash = "sha256-iypcjj6FFsus9mrafLBX0u7bHnzs718aEWC5dO3q0es="; + hash = "sha256-CFqr1laPxKNhaluGmwW7apxLQqkAFKVznDKezH8gjx0="; }; - vendorHash = "sha256-IMqYCVGsspYigTmYNHD1b6Sgzxl47cdiCs+rq4C3Y08="; + vendorHash = "sha256-2WvlH69iYqIA3d9aFVec8TZL+pMJItoNKSoDBL/NNyg="; ldflags = [ "-s" "-w" "-X main._version=${version}" ]; From 54f46c9e036c9c6ed56cf830e4ea8ed91db56ad7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 9 Aug 2023 23:52:54 +0000 Subject: [PATCH 016/154] odo: 3.12.0 -> 3.13.0 --- pkgs/applications/networking/cluster/odo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/odo/default.nix b/pkgs/applications/networking/cluster/odo/default.nix index fada6321bf87..c6474336eb10 100644 --- a/pkgs/applications/networking/cluster/odo/default.nix +++ b/pkgs/applications/networking/cluster/odo/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "odo"; - version = "3.12.0"; + version = "3.13.0"; src = fetchFromGitHub { owner = "redhat-developer"; repo = "odo"; rev = "v${version}"; - sha256 = "sha256-UieMY+YoMjOYUGwkSWxuC+91YfGHhMdhSJFwA+kG4PU="; + sha256 = "sha256-l5WW6Wos/FLxJsyrWnLhb1vAztGT1QYl8tKhiBgNGbw="; }; vendorHash = null; From f1d40151013336e9879ccbc90f87956f69dbf700 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 10 Aug 2023 03:39:43 +0000 Subject: [PATCH 017/154] mercury: 22.01.6 -> 22.01.7 --- pkgs/development/compilers/mercury/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/mercury/default.nix b/pkgs/development/compilers/mercury/default.nix index 134c9e114370..1e4630de2c41 100644 --- a/pkgs/development/compilers/mercury/default.nix +++ b/pkgs/development/compilers/mercury/default.nix @@ -3,11 +3,11 @@ stdenv.mkDerivation rec { pname = "mercury"; - version = "22.01.6"; + version = "22.01.7"; src = fetchurl { url = "https://dl.mercurylang.org/release/mercury-srcdist-${version}.tar.gz"; - sha256 = "sha256-dpRW+DRGJZPIvUv6/y1TLAFjrPOldKBtpwn87nOgIt8="; + sha256 = "sha256-PctyVKlV2cnHoBSAXjMTSPvWY7op9D6kIMypYDRgvGw="; }; nativeBuildInputs = [ makeWrapper ]; From 7c0ea52f0b4997654c037a5d9f24c74e8dacbfc3 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Thu, 10 Aug 2023 04:20:00 +0000 Subject: [PATCH 018/154] mercury: add changelog to meta --- pkgs/development/compilers/mercury/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/compilers/mercury/default.nix b/pkgs/development/compilers/mercury/default.nix index 1e4630de2c41..5e8ce722146c 100644 --- a/pkgs/development/compilers/mercury/default.nix +++ b/pkgs/development/compilers/mercury/default.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation rec { trade-offs. ''; homepage = "http://mercurylang.org"; + changelog = "https://dl.mercurylang.org/release/release-notes-${version}.html"; license = lib.licenses.gpl2; platforms = lib.platforms.linux ++ lib.platforms.darwin; maintainers = [ ]; From 6ed4c933fe3e587a8b939c5e4059ceb560ab38b7 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Thu, 10 Aug 2023 04:20:00 +0000 Subject: [PATCH 019/154] cminpack: 1.3.6 -> 1.3.8 Diff: https://github.com/devernay/cminpack/compare/v1.3.6...v1.3.8 Changelog: https://github.com/devernay/cminpack/blob/v1.3.8/README.md#history --- .../libraries/cminpack/default.nix | 47 ++++++++++++------- 1 file changed, 31 insertions(+), 16 deletions(-) diff --git a/pkgs/development/libraries/cminpack/default.nix b/pkgs/development/libraries/cminpack/default.nix index 02ad6acfbe2a..c011b64330fe 100644 --- a/pkgs/development/libraries/cminpack/default.nix +++ b/pkgs/development/libraries/cminpack/default.nix @@ -1,25 +1,41 @@ -{lib, stdenv, fetchurl}: +{ lib +, stdenv +, cmake +, darwin +, fetchFromGitHub +, fetchurl +, withBlas ? true, blas +}: stdenv.mkDerivation rec { pname = "cminpack"; - version = "1.3.6"; + version = "1.3.8"; - src = fetchurl { - url = "http://devernay.free.fr/hacks/cminpack/cminpack-${version}.tar.gz"; - sha256 = "17yh695aim508x1kn9zf6g13jxwk3pi3404h5ix4g5lc60hzs1rw"; + src = fetchFromGitHub { + owner = "devernay"; + repo = "cminpack"; + rev = "v${version}"; + hash = "sha256-eFJ43cHbSbWld+gPpMaNiBy1X5TIcN9aVxjh8PxvVDU="; }; - postPatch = '' - substituteInPlace Makefile \ - --replace '/usr/local' '${placeholder "out"}' \ - --replace 'gcc' '${stdenv.cc.targetPrefix}cc' \ - --replace 'ranlib -t' '${stdenv.cc.targetPrefix}ranlib' \ - --replace 'ranlib' '${stdenv.cc.targetPrefix}ranlib' - ''; + strictDeps = true; - preInstall = '' - mkdir -p $out/lib $out/include - ''; + nativeBuildInputs = [ + cmake + ]; + + buildInputs = lib.optionals withBlas [ + blas + ] ++ lib.optionals (withBlas && stdenv.isDarwin) [ + darwin.apple_sdk.frameworks.Accelerate + darwin.apple_sdk.frameworks.CoreGraphics + darwin.apple_sdk.frameworks.CoreVideo + ]; + + cmakeFlags = [ + "-DUSE_BLAS=${if withBlas then "ON" else "OFF"}" + "-DBUILD_SHARED_LIBS=${if stdenv.hostPlatform.isStatic then "OFF" else "ON"}" + ]; meta = { homepage = "http://devernay.free.fr/hacks/cminpack/cminpack.html"; @@ -27,5 +43,4 @@ stdenv.mkDerivation rec { description = "Software for solving nonlinear equations and nonlinear least squares problems"; platforms = lib.platforms.all; }; - } From c0e49d14b0526bb1cc436be86a7449856a7800ae Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Thu, 10 Aug 2023 04:20:00 +0000 Subject: [PATCH 020/154] mercury: update meta --- pkgs/development/compilers/mercury/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/compilers/mercury/default.nix b/pkgs/development/compilers/mercury/default.nix index 5e8ce722146c..573c18cd9284 100644 --- a/pkgs/development/compilers/mercury/default.nix +++ b/pkgs/development/compilers/mercury/default.nix @@ -54,10 +54,10 @@ stdenv.mkDerivation rec { allowing modularity, separate compilation, and numerous optimization/time trade-offs. ''; - homepage = "http://mercurylang.org"; + homepage = "https://mercurylang.org/"; changelog = "https://dl.mercurylang.org/release/release-notes-${version}.html"; - license = lib.licenses.gpl2; - platforms = lib.platforms.linux ++ lib.platforms.darwin; + license = lib.licenses.gpl2Only; + platforms = lib.platforms.all; maintainers = [ ]; }; } From fe8dd61d5c4544d4ac37acce773d2064e6f2bf78 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Thu, 10 Aug 2023 04:20:00 +0000 Subject: [PATCH 021/154] cminpack: update meta --- pkgs/development/libraries/cminpack/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/cminpack/default.nix b/pkgs/development/libraries/cminpack/default.nix index c011b64330fe..bebb59334f15 100644 --- a/pkgs/development/libraries/cminpack/default.nix +++ b/pkgs/development/libraries/cminpack/default.nix @@ -38,9 +38,11 @@ stdenv.mkDerivation rec { ]; meta = { - homepage = "http://devernay.free.fr/hacks/cminpack/cminpack.html"; - license = lib.licenses.bsd3; description = "Software for solving nonlinear equations and nonlinear least squares problems"; + homepage = "http://devernay.free.fr/hacks/cminpack/"; + changelog = "https://github.com/devernay/cminpack/blob/v${version}/README.md#history"; + license = lib.licenses.bsd3; platforms = lib.platforms.all; + maintainers = [ ]; }; } From a03a8db8b9143e5e04777d7f359fc72efc17fc34 Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Tue, 8 Nov 2022 23:48:05 +0100 Subject: [PATCH 022/154] caffeine-ng: 4.0.2 -> 4.2.0 --- pkgs/tools/X11/caffeine-ng/default.nix | 75 +++++++++------------- pkgs/tools/X11/caffeine-ng/fix-build.patch | 24 +++++++ pkgs/top-level/all-packages.nix | 2 +- 3 files changed, 56 insertions(+), 45 deletions(-) create mode 100644 pkgs/tools/X11/caffeine-ng/fix-build.patch diff --git a/pkgs/tools/X11/caffeine-ng/default.nix b/pkgs/tools/X11/caffeine-ng/default.nix index 66103ba6f8dc..90292e8beda9 100644 --- a/pkgs/tools/X11/caffeine-ng/default.nix +++ b/pkgs/tools/X11/caffeine-ng/default.nix @@ -1,77 +1,63 @@ -{ buildPythonApplication -, fetchPypi +{ fetchFromGitea +, meson +, ninja +, pkg-config +, scdoc , gobject-introspection -, gtk3 , lib -, libappindicator-gtk3 +, libayatana-appindicator , libnotify -, click -, dbus-python -, ewmh -, pulsectl -, pygobject3 -, pyxdg -, setproctitle -, python3 +, python3Packages , procps , xset , xautolock , xscreensaver , xfce -, glib -, setuptools-scm , wrapGAppsHook }: -let - click_7 = click.overridePythonAttrs (old: rec { - version = "7.1.2"; - src = old.src.override { - inherit version; - hash = "sha256-0rUlXHxjSbwb0eWeCM0SrLvWPOZJ8liHVXg6qU37axo="; - }; - disabledTests = [ "test_bytes_args" ]; # https://github.com/pallets/click/commit/6e05e1fa1c2804 - }); -in buildPythonApplication rec { +python3Packages.buildPythonApplication rec { pname = "caffeine-ng"; - version = "4.0.2"; - format = "setuptools"; + version = "4.2.0"; + format = "other"; - src = fetchPypi { - inherit pname version; - hash = "sha256-umIjXJ0et6Pi5Ejj96Q+ZhiKS+yj7bsgb4uQW6Ym6rU="; + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "WhyNotHugo"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-uYzLRZ+6ZgIwhSuJWRBpLYHgonX7sFXgUZid0V26V0Q="; }; - nativeBuildInputs = [ wrapGAppsHook glib gobject-introspection setuptools-scm ]; + nativeBuildInputs = [ gobject-introspection meson ninja pkg-config wrapGAppsHook ]; buildInputs = [ - libappindicator-gtk3 + libayatana-appindicator libnotify - gtk3 ]; - pythonPath = [ - click_7 + pythonPath = with python3Packages; [ + click dbus-python ewmh pulsectl pygobject3 - pyxdg + scdoc setproctitle ]; - doCheck = false; # There are no tests. dontWrapGApps = true; - strictDeps = false; + + patches = [ + ./fix-build.patch + ]; + + postPatch = '' + echo "${version}" > version + ''; postInstall = '' - cp -r share $out/ - cp -r caffeine/assets/icons $out/share/ - - # autostart file - ln -s $out/${python3.sitePackages}/etc $out/etc - - glib-compile-schemas --strict $out/share/glib-2.0/schemas + glib-compile-schemas $out/share/glib-2.0/schemas ''; preFixup = '' @@ -86,6 +72,7 @@ in buildPythonApplication rec { maintainers = with maintainers; [ marzipankaiser ]; description = "Status bar application to temporarily inhibit screensaver and sleep mode"; homepage = "https://codeberg.org/WhyNotHugo/caffeine-ng"; + changelog = "https://codeberg.org/WhyNotHugo/caffeine-ng/src/tag/v${version}/CHANGELOG.rst"; license = licenses.gpl3; platforms = platforms.linux; }; diff --git a/pkgs/tools/X11/caffeine-ng/fix-build.patch b/pkgs/tools/X11/caffeine-ng/fix-build.patch new file mode 100644 index 000000000000..cf075451138f --- /dev/null +++ b/pkgs/tools/X11/caffeine-ng/fix-build.patch @@ -0,0 +1,24 @@ +diff --git a/meson.build b/meson.build +index 3e4f9ea..5b82861 100644 +--- a/meson.build ++++ b/meson.build +@@ -2,10 +2,6 @@ project( + 'caffeine-ng', + version: run_command('./scripts/read_version.sh', check: true).stdout().strip(), + meson_version: '>=0.63.0', +- default_options: [ +- # The default can yield broken results. +- 'python.install_env=auto' +- ] + ) + + dependency('pygobject-3.0') +@@ -82,7 +78,7 @@ configure_file( + + install_data( + 'share/applications/caffeine.desktop', +- install_dir: '/etc/xdg/autostart', ++ install_dir: join_paths(get_option('sysconfdir'), 'xdg/autostart'), + ) + + install_data( diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7ba26b924f42..d905ef835150 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -39503,7 +39503,7 @@ with pkgs; caffeWithCuda = caffe.override { cudaSupport = true; }; - caffeine-ng = python3Packages.callPackage ../tools/X11/caffeine-ng { }; + caffeine-ng = callPackage ../tools/X11/caffeine-ng { }; cntk = callPackage ../applications/science/math/cntk { stdenv = gcc7Stdenv; From 183be440fd08476354ef35a1203cf0fcd511d2f2 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Wed, 9 Aug 2023 13:06:10 +0200 Subject: [PATCH 023/154] nixos/captive-browser: drop setcap wrapper for captive-browser Since Linux 5.7 it's possible to set `SO_BINDTODEVICE` via `setsockopt(2)` as unprivileged user if this operation doesn't imply escaping a VRF interface[1]. Dropping the wrapper is actually desirable because `captive-browser` itself doesn't drop capabilities and as a result, the capabilities are passed on to `chromium` itself[2]. For older kernels, this is still necessary, hence the wrapper will only be added nowadays if the kernel is older than 5.7. [1] https://github.com/torvalds/linux/commit/c427bfec18f2190b8f4718785ee8ed2db4f84ee6 [2] https://github.com/FiloSottile/captive-browser/blob/08450562e58bf9564ee98ad64ef7b2800e53338f/bind_device_linux.go#L11-L14 and because our setcap wrapper makes all capabilities inheritable. --- nixos/modules/programs/captive-browser.nix | 32 ++++++++++++---------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/nixos/modules/programs/captive-browser.nix b/nixos/modules/programs/captive-browser.nix index 36ceb1a69610..032c0e71f1f4 100644 --- a/nixos/modules/programs/captive-browser.nix +++ b/nixos/modules/programs/captive-browser.nix @@ -7,6 +7,8 @@ let concatStringsSep escapeShellArgs optionalString literalExpression mkEnableOption mkIf mkOption mkOptionDefault types; + requiresSetcapWrapper = config.boot.kernelPackages.kernelOlder "5.7" && cfg.bindInterface; + browserDefault = chromium: concatStringsSep " " [ ''env XDG_CONFIG_HOME="$PREV_CONFIG_HOME"'' ''${chromium}/bin/chromium'' @@ -23,11 +25,23 @@ let desktopItem = pkgs.makeDesktopItem { name = "captive-browser"; desktopName = "Captive Portal Browser"; - exec = "/run/wrappers/bin/captive-browser"; + exec = "captive-browser"; icon = "nix-snowflake"; categories = [ "Network" ]; }; + captive-browser-configured = pkgs.writeShellScriptBin "captive-browser" '' + export PREV_CONFIG_HOME="$XDG_CONFIG_HOME" + export XDG_CONFIG_HOME=${pkgs.writeTextDir "captive-browser.toml" '' + browser = """${cfg.browser}""" + dhcp-dns = """${cfg.dhcp-dns}""" + socks5-addr = """${cfg.socks5-addr}""" + ${optionalString cfg.bindInterface '' + bind-device = """${cfg.interface}""" + ''} + ''} + exec ${cfg.package}/bin/captive-browser + ''; in { ###### interface @@ -101,6 +115,7 @@ in (pkgs.runCommand "captive-browser-desktop-item" { } '' install -Dm444 -t $out/share/applications ${desktopItem}/share/applications/*.desktop '') + captive-browser-configured ]; programs.captive-browser.dhcp-dns = @@ -131,22 +146,11 @@ in source = "${pkgs.busybox}/bin/udhcpc"; }; - security.wrappers.captive-browser = { + security.wrappers.captive-browser = mkIf requiresSetcapWrapper { owner = "root"; group = "root"; capabilities = "cap_net_raw+p"; - source = pkgs.writeShellScript "captive-browser" '' - export PREV_CONFIG_HOME="$XDG_CONFIG_HOME" - export XDG_CONFIG_HOME=${pkgs.writeTextDir "captive-browser.toml" '' - browser = """${cfg.browser}""" - dhcp-dns = """${cfg.dhcp-dns}""" - socks5-addr = """${cfg.socks5-addr}""" - ${optionalString cfg.bindInterface '' - bind-device = """${cfg.interface}""" - ''} - ''} - exec ${cfg.package}/bin/captive-browser - ''; + source = "${captive-browser-configured}/bin/captive-browser"; }; }; } From c6b435d4787e3950d02fa0a6cefde9476ba1db90 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 10 Aug 2023 14:52:06 +0000 Subject: [PATCH 024/154] semgrep: 1.34.1 -> 1.35.0 --- pkgs/tools/security/semgrep/common.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/security/semgrep/common.nix b/pkgs/tools/security/semgrep/common.nix index 9a7efb9b0dc6..c144d7634cf7 100644 --- a/pkgs/tools/security/semgrep/common.nix +++ b/pkgs/tools/security/semgrep/common.nix @@ -1,9 +1,9 @@ { lib }: rec { - version = "1.34.1"; + version = "1.35.0"; - srcHash = "sha256-jbwG3Xyb/rEyz7aR51/pfc+bU/KY9k6BsByZg6KDY5s="; + srcHash = "sha256-SUKswvY49Hxis5CwguXC5QSshG0sGKb23mz2IT1vNJI="; # submodule dependencies # these are fetched so we: @@ -25,15 +25,15 @@ rec { core = { x86_64-linux = { platform = "any"; - hash = "sha256-XogITZZtuNmWBrCfL5qpHJNm6jFxzraZMXWhUotXA4c="; + hash = "sha256-ZqSbiuVKGjH+2fB0ReSw07CzTDSK35a8Adstzrvh8zA="; }; x86_64-darwin = { platform = "macosx_10_14_x86_64"; - hash = "sha256-YjV915SZ2L8t6huToErTHRd82m4I+evPyeuwpVzi26o="; + hash = "sha256-MusoteFarPJm8eQO7T/LrXDWUV0Wx4nw80ZvjG7HHhM="; }; aarch64-darwin = { platform = "macosx_11_0_arm64"; - hash = "sha256-BAnYYeUWosAorcHpqUMpRXJFl4NQDPbWTsykDN3w5UQ="; + hash = "sha256-xN87fp5jqes/smMrtLbZowMIuTevpDJNFNeWdo0Seu4="; }; }; From ca527e93f4ad602b4297ddbf0cab6dfd79c4f098 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Thu, 10 Aug 2023 09:45:11 -0700 Subject: [PATCH 025/154] python3.pkgs.angrcli: disable x86 tests on non-x86 architectures --- .../python-modules/angrcli/default.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/angrcli/default.nix b/pkgs/development/python-modules/angrcli/default.nix index 157e1e91341d..368ea4c9a27e 100644 --- a/pkgs/development/python-modules/angrcli/default.nix +++ b/pkgs/development/python-modules/angrcli/default.nix @@ -24,6 +24,11 @@ buildPythonPackage rec { hash = "sha256-a5ajUBQwt3xUNkeSOeGOAFf47wd4UVk+LcuAHGqbq4s="; }; + postPatch = '' + substituteInPlace tests/test_derefs.py \ + --replace "/bin/ls" "${coreutils}/bin/ls" + ''; + propagatedBuildInputs = [ angr cmd2 @@ -35,17 +40,18 @@ buildPythonPackage rec { pytestCheckHook ]; - postPatch = '' - substituteInPlace tests/test_derefs.py \ - --replace "/bin/ls" "${coreutils}/bin/ls" - ''; + disabledTests = lib.optionals (!stdenv.hostPlatform.isx86) [ + # expects the x86 register "rax" to exist + "test_cc" + "test_loop" + "test_max_depth" + ]; pythonImportsCheck = [ "angrcli" ]; meta = with lib; { - broken = (stdenv.isLinux && stdenv.isAarch64); description = "Python modules to allow easier interactive use of angr"; homepage = "https://github.com/fmagin/angr-cli"; license = with licenses; [ mit ]; From 566fa9693797efca2f6190843b49b77858fddf54 Mon Sep 17 00:00:00 2001 From: nixpkgs-upkeep-bot Date: Fri, 11 Aug 2023 00:24:26 +0000 Subject: [PATCH 026/154] vscode: 1.81.0 -> 1.81.1 --- 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 0b0739d5ac2b..b1f0451cc174 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 = "0hc1pfrhmdydwgyz3mjp45nmzs101iffam7ciximqmnhf1s1x4qf"; - x86_64-darwin = "1snrr4lsa5qdpdl80wx8ymxp8h1bhd5ablhcgkhzvmj5dh7jrywk"; - aarch64-linux = "0pm5znbjm79ziwdx37cc75qnbf0jv3yrm2xg7cykavn43gz97abw"; - aarch64-darwin = "0bq5hvgv228x7vby4475cc65g24kpv9kvj06p6c0y6a2a79j45by"; - armv7l-linux = "11gxpqflakp4cwzkpqrwsd6m5fls1vnaigppc4bq9flfknwkjfrx"; + x86_64-linux = "0j3lmyj77qalhn8hrgfg3zgw6jqv8rscfy16vhkl0ir2xnmb19jf"; + x86_64-darwin = "06dx8lhw1cqignv06pcjjv8v743kr8bck1iqgl1881jmqyhggi4f"; + aarch64-linux = "0nyd452wcp5qw2cx1zj89v4fgk3jvbk3hhiix9a0gv150q48vyfa"; + aarch64-darwin = "1yfbsfnkjbf99yl1dcflpyxppa9mhnxigyyplz0jaqgpwmhs2s0b"; + armv7l-linux = "1miz95rz2fdw7xplflnydzq57hnz894xg29mhpywwiib8kypfrm7"; }.${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.81.0"; + version = "1.81.1"; pname = "vscode" + lib.optionalString isInsiders "-insiders"; # This is used for VS Code - Remote SSH test - rev = "6445d93c81ebe42c4cbd7a60712e0b17d9463e97"; + rev = "6c3e3dba23e8fadc360aed75ce363ba185c49794"; 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 = "07x9lmkyhra4hplsgdhh97dixsx92i7lab5z5ihs2wqvvzl69ah2"; + sha256 = "1xfyl81d5l2bl7k4vz4rnj84j1ijwv90sqgv9lnqzza2dfckfd6m"; }; }; From 2c321f6997db53b40bed6142d0d3aa91698e970c Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 11 Aug 2023 04:20:00 +0000 Subject: [PATCH 027/154] esbuild: 0.19.0 -> 0.19.1 Diff: https://github.com/evanw/esbuild/compare/v0.19.0...v0.19.1 Changelog: https://github.com/evanw/esbuild/blob/v0.19.1/CHANGELOG.md --- pkgs/development/tools/esbuild/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/esbuild/default.nix b/pkgs/development/tools/esbuild/default.nix index d5e633bfd16d..0b9365aa233b 100644 --- a/pkgs/development/tools/esbuild/default.nix +++ b/pkgs/development/tools/esbuild/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "esbuild"; - version = "0.19.0"; + version = "0.19.1"; src = fetchFromGitHub { owner = "evanw"; repo = "esbuild"; rev = "v${version}"; - hash = "sha256-DSuBON5EXQlAEqiCitAtDxOcdGNu0ubisIbuWmAfElw="; + hash = "sha256-HoCCgPny6XHz1uUTto6xJ56I6D3HhzLH2rBh9iKI1a8="; }; vendorHash = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ="; From 7653eb2317273929fcced97b5f1f69542dbe5fd3 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 11 Aug 2023 04:20:00 +0000 Subject: [PATCH 028/154] flexget: 3.8.3 -> 3.8.5 Diff: https://github.com/Flexget/Flexget/compare/refs/tags/v3.8.3...v3.8.5 Changelog: https://github.com/Flexget/Flexget/releases/tag/v3.8.5 --- pkgs/applications/networking/flexget/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/flexget/default.nix b/pkgs/applications/networking/flexget/default.nix index 0f9238509bcc..535f9f32df95 100644 --- a/pkgs/applications/networking/flexget/default.nix +++ b/pkgs/applications/networking/flexget/default.nix @@ -6,7 +6,7 @@ python3.pkgs.buildPythonApplication rec { pname = "flexget"; - version = "3.8.3"; + version = "3.8.5"; format = "pyproject"; # Fetch from GitHub in order to use `requirements.in` @@ -14,7 +14,7 @@ python3.pkgs.buildPythonApplication rec { owner = "Flexget"; repo = "Flexget"; rev = "refs/tags/v${version}"; - hash = "sha256-qGc5L9hL4KbcHGZvhvzqBg1ATFHWGKM72O/aDhrCV4Q="; + hash = "sha256-lvZVezg5MORsNkWGo7iqtyRlo68JcVLiG+2hhiSdRZ8="; }; postPatch = '' From 390225e5844a8135ad6d2d825f0a5dcc8cc525b4 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 11 Aug 2023 04:20:00 +0000 Subject: [PATCH 029/154] nixd: 1.2.1 -> 1.2.2 Diff: https://github.com/nix-community/nixd/compare/1.2.1...1.2.2 Changelog: https://github.com/nix-community/nixd/releases/tag/1.2.2 --- pkgs/development/tools/language-servers/nixd/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/language-servers/nixd/default.nix b/pkgs/development/tools/language-servers/nixd/default.nix index 1f2b45fa16f4..81eac2985a1e 100644 --- a/pkgs/development/tools/language-servers/nixd/default.nix +++ b/pkgs/development/tools/language-servers/nixd/default.nix @@ -18,13 +18,13 @@ stdenv.mkDerivation rec { pname = "nixd"; - version = "1.2.1"; + version = "1.2.2"; src = fetchFromGitHub { owner = "nix-community"; repo = "nixd"; rev = version; - hash = "sha256-NqRYFaxa6Y4j7IMAxxVKo7o15Xmx0CiyeG71Uf1SLCI="; + hash = "sha256-W44orkPZQ9gDUTogb8YVIaw4WHzUA+ExOXhTnZlJ6yY="; }; mesonBuildType = "release"; @@ -81,6 +81,7 @@ stdenv.mkDerivation rec { meta = { description = "Nix language server"; homepage = "https://github.com/nix-community/nixd"; + changelog = "https://github.com/nix-community/nixd/releases/tag/${version}"; license = lib.licenses.lgpl3Plus; maintainers = with lib.maintainers; [ inclyc Ruixi-rebirth ]; platforms = lib.platforms.unix; From c601583152b9a4e8a90ad475b09b17dd3a5b01b8 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 11 Aug 2023 04:20:00 +0000 Subject: [PATCH 030/154] luau: 0.589 -> 0.590 Diff: https://github.com/Roblox/luau/compare/0.589...0.590 Changelog: https://github.com/Roblox/luau/releases/tag/0.590 --- pkgs/development/interpreters/luau/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/luau/default.nix b/pkgs/development/interpreters/luau/default.nix index e1dab5d17b3b..067e488f739a 100644 --- a/pkgs/development/interpreters/luau/default.nix +++ b/pkgs/development/interpreters/luau/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "luau"; - version = "0.589"; + version = "0.590"; src = fetchFromGitHub { owner = "Roblox"; repo = "luau"; rev = version; - hash = "sha256-q36mWkZgzms+dYZ++S9MwnRYxUXBtRxiECOxX886eVw="; + hash = "sha256-ZVe4SCx6/IC039CL+ngNIQShNi9V6XQh62gpbcoK/tM="; }; nativeBuildInputs = [ cmake ]; From 0c84770aa072a36cd13d7c22c88d7964866802cd Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 11 Aug 2023 06:40:50 +0000 Subject: [PATCH 031/154] syncthing-discovery: 1.23.6 -> 1.23.7 --- pkgs/applications/networking/syncthing/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/syncthing/default.nix b/pkgs/applications/networking/syncthing/default.nix index 134c3733ead4..965c3d5e6155 100644 --- a/pkgs/applications/networking/syncthing/default.nix +++ b/pkgs/applications/networking/syncthing/default.nix @@ -13,16 +13,16 @@ let common = { stname, target, postInstall ? "" }: buildGoModule rec { pname = stname; - version = "1.23.6"; + version = "1.23.7"; src = fetchFromGitHub { owner = "syncthing"; repo = "syncthing"; rev = "v${version}"; - hash = "sha256-1NULZ3i3gR5RRegHJHH3OmxXU0d293GSTcky9+B4mJ4="; + hash = "sha256-LwjqMEfCdMvNoxn88H3+VyX31G5IlRohpfp++oNCfEc="; }; - vendorHash = "sha256-sj0XXEkcTfv24OuUeOoOLKHjaYMEuoh1Vg8k8T1Fp1o="; + vendorHash = "sha256-nk80Y5RBoUCp+xYNYYnVWVBkCLCgvgKZFpV5CfS2p/s="; nativeBuildInputs = lib.optionals stdenv.isDarwin [ # Recent versions of macOS seem to require binaries to be signed when From a49ee73b8f1db3b800cca7fe8033744c2e32f538 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 11 Aug 2023 07:21:25 +0000 Subject: [PATCH 032/154] recyclarr: 5.1.1 -> 5.2.1 --- pkgs/tools/video/recyclarr/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/video/recyclarr/default.nix b/pkgs/tools/video/recyclarr/default.nix index 02f2da598d98..f41a1c2c521a 100644 --- a/pkgs/tools/video/recyclarr/default.nix +++ b/pkgs/tools/video/recyclarr/default.nix @@ -26,10 +26,10 @@ let or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); hash = { - x64-linux_hash = "sha256-LSnMXNXQDx45AlQi1IBbMQBBgMc0gJsSa0GV5G5UBPk="; - arm64-linux_hash = "sha256-KkWAPXHaGCc8hsAMohbO7R0ZcfySlu1z+dRjNICaH+Y="; - x64-osx_hash = "sha256-cFerz4g2hPcIqOAeIURD06v6Wr+Rs0xpMHYmG8xl250="; - arm64-osx_hash = "sha256-Kl7lcJUaNeJ/xyd4Fh0f5Li8AyxrcQQgDSfxB3j2L1g="; + x64-linux_hash = "sha256-WtIT5fkkaNDIot1lY5xacYD8XwuaYYnL0ZrJO9EXB3A="; + arm64-linux_hash = "sha256-aFLdnGYeKJs0Gp83SqvDg3YO2mGVF5ZIONNQwXMGLj8="; + x64-osx_hash = "sha256-eiDO3PdpPk+NXWBKBkpzIHf/1xDe0XByC6NBBfxs55s="; + arm64-osx_hash = "sha256-uPv7ZQm6JbgxpylrSi5X5yX0Enrkhq+1sCmFxaghM94="; }."${arch}-${os}_hash"; libPath = { @@ -40,7 +40,7 @@ let in stdenv.mkDerivation rec { pname = "recyclarr"; - version = "5.1.1"; + version = "5.2.1"; src = fetchurl { url = "https://github.com/recyclarr/recyclarr/releases/download/v${version}/recyclarr-${os}-${arch}.tar.xz"; From 8266428655ea6249fbbb914e407ac6dbb31ef3e7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 11 Aug 2023 07:30:44 +0000 Subject: [PATCH 033/154] media-downloader: 3.2.1 -> 3.3.0 --- pkgs/applications/video/media-downloader/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/media-downloader/default.nix b/pkgs/applications/video/media-downloader/default.nix index a6919d3836a9..3a825d961a3c 100644 --- a/pkgs/applications/video/media-downloader/default.nix +++ b/pkgs/applications/video/media-downloader/default.nix @@ -12,13 +12,13 @@ stdenv.mkDerivation rec { pname = "media-downloader"; - version = "3.2.1"; + version = "3.3.0"; src = fetchFromGitHub { owner = "mhogomchungu"; repo = pname; rev = version; - hash = "sha256-+wLVF0UKspVll+dYZGSk5dUbPBc/2Y0cqTuaeepxw+k="; + hash = "sha256-UmNaosunkNUTm4rsf4q29H+0cJAccUDx+ulcS2octIo="; }; nativeBuildInputs = [ From e5d48c9096a4fbe39f6080293eae86fbd700ae51 Mon Sep 17 00:00:00 2001 From: kashw2 Date: Fri, 11 Aug 2023 18:10:02 +1000 Subject: [PATCH 034/154] citra: fix hash --- pkgs/applications/emulators/citra/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/emulators/citra/default.nix b/pkgs/applications/emulators/citra/default.nix index 56a763b05bba..41a018d9ea92 100644 --- a/pkgs/applications/emulators/citra/default.nix +++ b/pkgs/applications/emulators/citra/default.nix @@ -10,7 +10,7 @@ let compat-list = fetchurl { name = "citra-compat-list"; url = "https://web.archive.org/web/20230807103651/https://api.citra-emu.org/gamedb/"; - hash = "sha256-Ma1SXgzhyMHa/MeoYuf8b+QYPjhoQEeKklLbGbkHwEk="; + hash = "sha256-J+zqtWde5NgK2QROvGewtXGRAWUTNSKHNMG6iu9m1fU="; }; in { nightly = qt6Packages.callPackage ./generic.nix rec { From de6f81f3f2fd391dc3edae1e87d1ef49fa4af702 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 11 Aug 2023 09:11:21 +0000 Subject: [PATCH 035/154] stellar-core: 19.12.0 -> 19.13.0 --- pkgs/applications/blockchains/stellar-core/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/blockchains/stellar-core/default.nix b/pkgs/applications/blockchains/stellar-core/default.nix index 1ef5d436ffc8..10a2f1139d21 100644 --- a/pkgs/applications/blockchains/stellar-core/default.nix +++ b/pkgs/applications/blockchains/stellar-core/default.nix @@ -3,13 +3,13 @@ stdenv.mkDerivation rec { pname = "stellar-core"; - version = "19.12.0"; + version = "19.13.0"; src = fetchFromGitHub { owner = "stellar"; repo = pname; rev = "v${version}"; - sha256 = "sha256-WpzUEn3BuC2OxrsqYete595m6YWv27QXnTfW1F6CX9k="; + sha256 = "sha256-C775tL+x1IX4kfCM/7gOg/V8xunq/rkhIfdkwkhLENk="; fetchSubmodules = true; }; From ae76463ed69f0d1b3b1eb32f952c68fbea1f5577 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sat, 29 Jul 2023 11:04:16 -0700 Subject: [PATCH 036/154] python3.pkgs.diofant: 0.13.0 -> 0.14.0 --- .../python-modules/diofant/default.nix | 34 ++++++++++++++----- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/diofant/default.nix b/pkgs/development/python-modules/diofant/default.nix index 89cf7d910127..303d00bbff29 100644 --- a/pkgs/development/python-modules/diofant/default.nix +++ b/pkgs/development/python-modules/diofant/default.nix @@ -1,39 +1,57 @@ { lib , buildPythonPackage +, cython +, fetchpatch , fetchPypi , gmpy2 -, isort , mpmath , numpy , pythonOlder , scipy , setuptools-scm +, wheel }: buildPythonPackage rec { pname = "diofant"; - version = "0.13.0"; - disabled = pythonOlder "3.9"; + version = "0.14.0"; format = "pyproject"; + disabled = pythonOlder "3.10"; src = fetchPypi { inherit version; pname = "Diofant"; - sha256 = "bac9e086a7156b20f18e3291d6db34e305338039a3c782c585302d377b74dd3c"; + hash = "sha256-c886y37xR+4TxZw9+3tb7nkTGxWcS+Ag/ruUUdpf7S4="; }; + patches = [ + (fetchpatch { + name = "remove-pip-from-build-dependencies.patch"; + url = "https://github.com/diofant/diofant/commit/117e441808faa7c785ccb81bf211772d60ebdec3.patch"; + hash = "sha256-MYk1Ku4F3hAv7+jJQLWhXd8qyKRX+QYuBzPfYWT0VbU="; + }) + ]; + nativeBuildInputs = [ - isort setuptools-scm + wheel ]; propagatedBuildInputs = [ - gmpy2 mpmath - numpy - scipy ]; + passthru.optional-dependencies = { + exports = [ + cython + numpy + scipy + ]; + gmpy = [ + gmpy2 + ]; + }; + # tests take ~1h doCheck = false; From e07b50300cee9cc42e002f7e93d14fad5c8dd351 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 11 Aug 2023 09:56:12 +0000 Subject: [PATCH 037/154] tidal-hifi: 5.3.0 -> 5.5.0 --- pkgs/applications/audio/tidal-hifi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/tidal-hifi/default.nix b/pkgs/applications/audio/tidal-hifi/default.nix index 87fdc02beb65..f679a78d9be3 100644 --- a/pkgs/applications/audio/tidal-hifi/default.nix +++ b/pkgs/applications/audio/tidal-hifi/default.nix @@ -36,11 +36,11 @@ stdenv.mkDerivation rec { pname = "tidal-hifi"; - version = "5.3.0"; + version = "5.5.0"; src = fetchurl { url = "https://github.com/Mastermindzh/tidal-hifi/releases/download/${version}/tidal-hifi_${version}_amd64.deb"; - sha256 = "sha256-YGSHEvanWek6qiWvKs6g+HneGbuuqJn/DBfhawjQi5M="; + sha256 = "sha256-pUQgTz7KZt4icD4lDAs4Wg095HxYEAifTM8a4cDejQM="; }; nativeBuildInputs = [ autoPatchelfHook dpkg makeWrapper ]; From ee23cf82513024a0563c5f7854f93a222269f810 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Fri, 11 Aug 2023 03:32:03 -0700 Subject: [PATCH 038/154] python3.pkgs.seaborn: patch tests using new matplotlib and numpy --- .../python-modules/seaborn/default.nix | 29 +++++++++++++++---- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/seaborn/default.nix b/pkgs/development/python-modules/seaborn/default.nix index 7b40b674b4cb..267b6065ed73 100644 --- a/pkgs/development/python-modules/seaborn/default.nix +++ b/pkgs/development/python-modules/seaborn/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , buildPythonPackage +, fetchpatch , fetchPypi , flit-core , matplotlib @@ -24,6 +25,24 @@ buildPythonPackage rec { hash = "sha256-N0ZF82UJ0NyriVy6W0fa8Fhvd7/js2yXxgfbfaW+ATk="; }; + patches = [ + (fetchpatch { + name = "fix-test-using-matplotlib-3.7.patch"; + url = "https://github.com/mwaskom/seaborn/commit/db7ae11750fc2dfb695457239708448d54e9b8cd.patch"; + hash = "sha256-LbieI0GeC/0NpFVxV/NRQweFjP/lj/TR2D/SLMPYqJg="; + }) + (fetchpatch { + name = "fix-pandas-deprecation.patch"; + url = "https://github.com/mwaskom/seaborn/commit/a48601d6bbf8381f9435be48624f1a77d6fbfced.patch"; + hash = "sha256-LuN8jn6Jo9Fvdl5iGZ2LgINYujSDvvs+hSclnadV1F4="; + }) + (fetchpatch { + name = "fix-tests-using-numpy-1.25.patch"; + url = "https://github.com/mwaskom/seaborn/commit/b6737d5aec9a91bb8840cdda896a7970e1830d56.patch"; + hash = "sha256-Xj82yyB5Vy2xKRl0ideDmJ5Zr4Xc+8cEHU/liVwMSvE="; + }) + ]; + nativeBuildInputs = [ flit-core ]; @@ -41,12 +60,12 @@ buildPythonPackage rec { ]; disabledTests = [ - # incompatible with matplotlib 3.7 - # https://github.com/mwaskom/seaborn/issues/3288 - "test_subplot_kws" - # requires internet connection "test_load_dataset_string_error" + + # per https://github.com/mwaskom/seaborn/issues/3431, we can enable this + # once matplotlib releases version > 3.7.2 + "test_share_xy" ] ++ lib.optionals (!stdenv.hostPlatform.isx86) [ # overly strict float tolerances "TestDendrogram" @@ -54,7 +73,7 @@ buildPythonPackage rec { # All platforms should use Agg. Let's set it explicitly to avoid probing GUI # backends (leads to crashes on macOS). - MPLBACKEND="Agg"; + env.MPLBACKEND="Agg"; pythonImportsCheck = [ "seaborn" From 248c8c7812f05f8adaea16857cb04ac9dad61e51 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Fri, 11 Aug 2023 12:51:27 +0100 Subject: [PATCH 039/154] nixos/liquidsoap: restart always --- nixos/modules/services/audio/liquidsoap.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/audio/liquidsoap.nix b/nixos/modules/services/audio/liquidsoap.nix index 5c10d13af5fd..9e61a7979619 100644 --- a/nixos/modules/services/audio/liquidsoap.nix +++ b/nixos/modules/services/audio/liquidsoap.nix @@ -18,6 +18,7 @@ let ExecStart = "${pkgs.liquidsoap}/bin/liquidsoap ${stream}"; User = "liquidsoap"; LogsDirectory = "liquidsoap"; + Restart = "always"; }; }; }; From d0eee4a5a72fc2a1c2a4fa3589e06a5a554da6b2 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Fri, 11 Aug 2023 14:02:05 +0200 Subject: [PATCH 040/154] nuked-md: init at 1.2 --- .../emulators/nuked-md/default.nix | 72 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 74 insertions(+) create mode 100644 pkgs/applications/emulators/nuked-md/default.nix diff --git a/pkgs/applications/emulators/nuked-md/default.nix b/pkgs/applications/emulators/nuked-md/default.nix new file mode 100644 index 000000000000..883d62b89832 --- /dev/null +++ b/pkgs/applications/emulators/nuked-md/default.nix @@ -0,0 +1,72 @@ +{ stdenv +, lib +, fetchFromGitHub +, gitUpdater +, cmake +, SDL2 +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "nuked-md"; + version = "1.2"; + + src = fetchFromGitHub { + owner = "nukeykt"; + repo = "Nuked-MD"; + rev = "v${finalAttrs.version}"; + hash = "sha256-Pe+TSu9FBUhxtACq+6jMbrUxiwKLOJgQbEcmUrcrjMs="; + }; + + # Interesting detail about our SDL2 packaging: + # Because we build it with the configure script instead of CMake, we ship sdl2-config.cmake instead of SDL2Config.cmake + # The former doesn't set SDL2_FOUND while the latter does (like CMake config scripts should), which causes this issue: + # + # CMake Error at CMakeLists.txt:5 (find_package): + # Found package configuration file: + # + # /lib/cmake/SDL2/sdl2-config.cmake + # + # but it set SDL2_FOUND to FALSE so package "SDL2" is considered to be NOT + # FOUND. + postPatch = '' + substituteInPlace CMakeLists.txt \ + --replace 'SDL2 REQUIRED' 'SDL2' + ''; + + strictDeps = true; + + nativeBuildInputs = [ + cmake + ]; + + buildInputs = [ + SDL2 + ]; + + installPhase = '' + runHook preInstall + + install -Dm755 Nuked-MD $out/bin/Nuked-MD + + runHook postInstall + ''; + + passthru = { + updateScript = gitUpdater { + rev-prefix = "v"; + }; + }; + + meta = with lib; { + description = "Cycle accurate Mega Drive emulator"; + longDescription = '' + Cycle accurate Mega Drive core. The goal of this project is to emulate Sega Mega Drive chipset as accurately as + possible using decapped chips photos. + ''; + homepage = "https://github.com/nukeykt/Nuked-MD"; + license = licenses.gpl2Plus; + mainProgram = "Nuked-MD"; + maintainers = with maintainers; [ OPNA2608 ]; + platforms = platforms.all; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7e6b96914a03..55fa0ccfc307 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2613,6 +2613,8 @@ with pkgs; np2kai = callPackage ../applications/emulators/np2kai { }; + nuked-md = callPackage ../applications/emulators/nuked-md { }; + oberon-risc-emu = callPackage ../applications/emulators/oberon-risc-emu { }; openmsx = callPackage ../applications/emulators/openmsx { }; From 0823eb2b02b7ef84d5302850764a1b2881a879de Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 11 Aug 2023 12:04:48 +0000 Subject: [PATCH 041/154] librewolf-unwrapped: 116.0-1 -> 116.0.2-1 --- .../networking/browsers/librewolf/src.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/browsers/librewolf/src.json b/pkgs/applications/networking/browsers/librewolf/src.json index 2e364b5c7f74..a22978098c01 100644 --- a/pkgs/applications/networking/browsers/librewolf/src.json +++ b/pkgs/applications/networking/browsers/librewolf/src.json @@ -1,11 +1,11 @@ { - "packageVersion": "116.0-1", + "packageVersion": "116.0.2-1", "source": { - "rev": "116.0-1", - "sha256": "1nah5a5l5ajyvy8aw4xdpdfs2s3ybfs5jw9c4qj9qczxdp541a66" + "rev": "116.0.2-1", + "sha256": "08q50yjb8q168zb2y4iajjqd9ygbpywwr9i4vfn67wchqlsc1mrp" }, "firefox": { - "version": "116.0", - "sha512": "4370c65a99bf8796524aca11ea8e99fa4f875176a5805ad49f35ae149080eb54be42e7eae84627e87e17b88b262649e48f3b30b317170ac7c208960200d1005d" + "version": "116.0.2", + "sha512": "2c0ae18672fe22c75002744831130e13da764f83726951e5b58cfe74f7f473e22634ce08ebc11a98bac5baec0a4ac099a3a350a8b756af9c5bea6d5f4432da6d" } } From b67b3bbf128ddac9689c2f09e71d3b459fe740d7 Mon Sep 17 00:00:00 2001 From: aleksana Date: Fri, 11 Aug 2023 20:24:24 +0800 Subject: [PATCH 042/154] pokeget-rs: init at 1.2.0 --- pkgs/tools/misc/pokeget-rs/default.nix | 27 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/tools/misc/pokeget-rs/default.nix diff --git a/pkgs/tools/misc/pokeget-rs/default.nix b/pkgs/tools/misc/pokeget-rs/default.nix new file mode 100644 index 000000000000..9185f55d8044 --- /dev/null +++ b/pkgs/tools/misc/pokeget-rs/default.nix @@ -0,0 +1,27 @@ +{ lib +, rustPlatform +, fetchFromGitHub +}: + +rustPlatform.buildRustPackage rec { + pname = "pokeget-rs"; + version = "1.2.0"; + + src = fetchFromGitHub { + owner = "talwat"; + repo = "pokeget-rs"; + rev = version; + hash = "sha256-0HWv0o0wmcRomLQul99RjGAF+/qKBK6SGeNOFRTHiCc="; + fetchSubmodules = true; + }; + + cargoHash = "sha256-nsF6rInbM1Eshi2B4AYxkHj+DBrPc2doCtZSeBfs5b0="; + + meta = with lib; { + description = "A better rust version of pokeget"; + homepage = "https://github.com/talwat/pokeget-rs"; + license = licenses.mit; + mainProgram = "pokeget"; + maintainers = with maintainers; [ aleksana ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 82263ec20900..f3750012c7f8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -32176,6 +32176,8 @@ with pkgs; pmbootstrap = python3Packages.callPackage ../tools/misc/pmbootstrap { }; + pokeget-rs = callPackage ../tools/misc/pokeget-rs { }; + popura = callPackage ../tools/networking/popura { }; pureref = callPackage ../applications/graphics/pureref { }; From 7bacbf43b7c1255fb678a90f0a93bab76c691a24 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Fri, 11 Aug 2023 16:15:08 +0300 Subject: [PATCH 043/154] hyprpaper: 0.3.0 -> 0.4.0 --- .../window-managers/hyprwm/hyprpaper/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/window-managers/hyprwm/hyprpaper/default.nix b/pkgs/applications/window-managers/hyprwm/hyprpaper/default.nix index f329c0ea7fbd..32c2a8085d13 100644 --- a/pkgs/applications/window-managers/hyprwm/hyprpaper/default.nix +++ b/pkgs/applications/window-managers/hyprwm/hyprpaper/default.nix @@ -2,6 +2,7 @@ , stdenv , fetchFromGitHub , cmake +, file , libjpeg , mesa , pango @@ -13,13 +14,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "hyprpaper"; - version = "0.3.0"; + version = "0.4.0"; src = fetchFromGitHub { owner = "hyprwm"; repo = finalAttrs.pname; rev = "v${finalAttrs.version}"; - hash = "sha256-/ehJbAtSJS86NlqHVOeR2ViBKlImKH4guFVPacTmCr8="; + hash = "sha256-V5ulB9CkGh1ghiC4BKvRdoYKZzpaiOKzAOUmJIFkgM0="; }; nativeBuildInputs = [ @@ -29,6 +30,7 @@ stdenv.mkDerivation (finalAttrs: { ]; buildInputs = [ + file libjpeg mesa pango From 355ebe41fa0d2fe121a6b47308e3199d743d3d65 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Sat, 5 Aug 2023 12:51:19 +0300 Subject: [PATCH 044/154] hyprland: don't warn against xdpw and xdph being present It seems that having both the Hyprland and the wlr desktop portals does not result in unexpected behaviour. xdph will be started and wlr ignored. --- .../hyprwm/hyprland/default.nix | 4 ++- .../hyprwm/hyprland/portals.patch | 28 +++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 pkgs/applications/window-managers/hyprwm/hyprland/portals.patch diff --git a/pkgs/applications/window-managers/hyprwm/hyprland/default.nix b/pkgs/applications/window-managers/hyprwm/hyprland/default.nix index f2b430c5bc11..7d611d1f0d50 100644 --- a/pkgs/applications/window-managers/hyprwm/hyprland/default.nix +++ b/pkgs/applications/window-managers/hyprwm/hyprland/default.nix @@ -52,7 +52,9 @@ stdenv.mkDerivation (finalAttrs: { # make meson use the provided dependencies instead of the git submodules "${finalAttrs.src}/nix/patches/meson-build.patch" # look into $XDG_DESKTOP_PORTAL_DIR instead of /usr; runtime checks for conflicting portals - "${finalAttrs.src}/nix/patches/portals.patch" + # NOTE: revert back to the patch inside SRC on the next version bump + # "${finalAttrs.src}/nix/patches/portals.patch" + ./portals.patch ]; postPatch = '' diff --git a/pkgs/applications/window-managers/hyprwm/hyprland/portals.patch b/pkgs/applications/window-managers/hyprwm/hyprland/portals.patch new file mode 100644 index 000000000000..cb3d97c371ca --- /dev/null +++ b/pkgs/applications/window-managers/hyprwm/hyprland/portals.patch @@ -0,0 +1,28 @@ +diff --git a/src/Compositor.cpp b/src/Compositor.cpp +index 1d978aed..56665389 100644 +--- a/src/Compositor.cpp ++++ b/src/Compositor.cpp +@@ -2365,17 +2365,16 @@ void CCompositor::performUserChecks() { + + static auto* const PSUPPRESSPORTAL = &g_pConfigManager->getConfigValuePtr("misc:suppress_portal_warnings")->intValue; + +- if (!*PSUPPRESSPORTAL) { +- if (std::ranges::any_of(BAD_PORTALS, [&](const std::string& portal) { return std::filesystem::exists("/usr/share/xdg-desktop-portal/portals/" + portal + ".portal"); })) { ++ static auto* const PORTALDIRENV = getenv("XDG_DESKTOP_PORTAL_DIR"); ++ ++ static auto const PORTALDIR = PORTALDIRENV != NULL ? std::string(PORTALDIRENV) : ""; ++ ++ if (!*PSUPPRESSPORTAL && PORTALDIR != "") { ++ if (std::ranges::any_of(BAD_PORTALS, [&](const std::string& portal) { return std::filesystem::exists(PORTALDIR + "/" + portal + ".portal"); })) { + // bad portal detected + g_pHyprNotificationOverlay->addNotification("You have one or more incompatible xdg-desktop-portal impls installed. Please remove incompatible ones to avoid issues.", + CColor(0), 15000, ICON_ERROR); + } +- +- if (std::filesystem::exists("/usr/share/xdg-desktop-portal/portals/hyprland.portal") && std::filesystem::exists("/usr/share/xdg-desktop-portal/portals/wlr.portal")) { +- g_pHyprNotificationOverlay->addNotification("You have xdg-desktop-portal-hyprland and -wlr installed simultaneously. Please uninstall one to avoid issues.", CColor(0), +- 15000, ICON_ERROR); +- } + } + } + From 188dac1886524e9ffd398f005750075f8b5a1c77 Mon Sep 17 00:00:00 2001 From: figsoda Date: Fri, 11 Aug 2023 09:32:38 -0400 Subject: [PATCH 045/154] typst-lsp: 0.8.1 -> 0.9.0 Diff: https://github.com/nvarner/typst-lsp/compare/v0.8.1...v0.9.0 Changelog: https://github.com/nvarner/typst-lsp/releases/tag/v0.9.0 --- .../language-servers/typst-lsp/Cargo.lock | 262 +++++++++++++++++- .../language-servers/typst-lsp/default.nix | 12 +- .../typst-lsp/remove-svg2pdf-patch.patch | 27 -- 3 files changed, 253 insertions(+), 48 deletions(-) delete mode 100644 pkgs/development/tools/language-servers/typst-lsp/remove-svg2pdf-patch.patch diff --git a/pkgs/development/tools/language-servers/typst-lsp/Cargo.lock b/pkgs/development/tools/language-servers/typst-lsp/Cargo.lock index ababbc9b3753..c7073c422c48 100644 --- a/pkgs/development/tools/language-servers/typst-lsp/Cargo.lock +++ b/pkgs/development/tools/language-servers/typst-lsp/Cargo.lock @@ -188,6 +188,12 @@ version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" +[[package]] +name = "bit_field" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc827186963e592360843fb5ba4b973e145841266c1357f7180c43526f2e5b61" + [[package]] name = "bitflags" version = "1.3.2" @@ -365,6 +371,30 @@ dependencies = [ "crossbeam-utils", ] +[[package]] +name = "crossbeam-deque" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" +dependencies = [ + "cfg-if", + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7" +dependencies = [ + "autocfg", + "cfg-if", + "crossbeam-utils", + "memoffset", + "scopeguard", +] + [[package]] name = "crossbeam-utils" version = "0.8.16" @@ -374,6 +404,12 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "crunchy" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" + [[package]] name = "csv" version = "1.2.2" @@ -561,6 +597,22 @@ version = "2.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" +[[package]] +name = "exr" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1e481eb11a482815d3e9d618db8c42a93207134662873809335a92327440c18" +dependencies = [ + "bit_field", + "flume", + "half", + "lebe", + "miniz_oxide", + "rayon-core", + "smallvec", + "zune-inflate", +] + [[package]] name = "fancy-regex" version = "0.11.0" @@ -623,6 +675,19 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4" +[[package]] +name = "flume" +version = "0.10.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1657b4441c3403d9f7b3409e47575237dac27b1b5726df654a6ecbf92f0f7577" +dependencies = [ + "futures-core", + "futures-sink", + "nanorand", + "pin-project", + "spin 0.9.8", +] + [[package]] name = "fnv" version = "1.0.7" @@ -776,8 +841,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" dependencies = [ "cfg-if", + "js-sys", "libc", "wasi", + "wasm-bindgen", ] [[package]] @@ -815,6 +882,15 @@ dependencies = [ "tracing", ] +[[package]] +name = "half" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02b4af3693f1b705df946e9fe5631932443781d0aabb423b62fcd4d73f6d2fd0" +dependencies = [ + "crunchy", +] + [[package]] name = "hashbrown" version = "0.12.3" @@ -1114,11 +1190,14 @@ dependencies = [ "bytemuck", "byteorder", "color_quant", + "exr", "gif", "jpeg-decoder", "num-rational", "num-traits", "png", + "qoi", + "tiff", ] [[package]] @@ -1135,6 +1214,7 @@ checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" dependencies = [ "autocfg", "hashbrown 0.12.3", + "serde", ] [[package]] @@ -1249,6 +1329,9 @@ name = "jpeg-decoder" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc0000e42512c92e31c2252315bda326620a4e034105e900c98ec492fa077b3e" +dependencies = [ + "rayon", +] [[package]] name = "js-sys" @@ -1274,6 +1357,12 @@ version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +[[package]] +name = "lebe" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03087c2bad5e1034e8cace5926dec053fb3790248370865f5117a7d0213354c8" + [[package]] name = "libc" version = "0.2.147" @@ -1298,6 +1387,15 @@ dependencies = [ "vcpkg", ] +[[package]] +name = "line-wrap" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f30344350a2a51da54c1d53be93fade8a237e545dbcc4bdbe635413f2117cab9" +dependencies = [ + "safemem", +] + [[package]] name = "linked-hash-map" version = "0.5.6" @@ -1379,6 +1477,15 @@ dependencies = [ "libc", ] +[[package]] +name = "memoffset" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" +dependencies = [ + "autocfg", +] + [[package]] name = "mime" version = "0.3.17" @@ -1406,6 +1513,15 @@ dependencies = [ "windows-sys", ] +[[package]] +name = "nanorand" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a51313c5820b0b02bd422f4b44776fbf47961755c74ce64afc73bfad10226c3" +dependencies = [ + "getrandom", +] + [[package]] name = "native-tls" version = "0.2.11" @@ -1491,6 +1607,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "oklab" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "467e40ada50d13bab19019e3707862b5076ca15841f31ee1474c40397c1b9f11" +dependencies = [ + "rgb", +] + [[package]] name = "once_cell" version = "1.18.0" @@ -1696,9 +1821,9 @@ checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" [[package]] name = "pdf-writer" -version = "0.7.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30900f178ea696fc5d9637171f98aaa93d5aae54f0726726df68fc3e32810db6" +checksum = "86af2eb3faa4614bc7fda8bd578c25e76a17ff3b1577be034b81e0c20527e204" dependencies = [ "bitflags 1.3.2", "itoa", @@ -1782,6 +1907,20 @@ version = "0.3.27" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" +[[package]] +name = "plist" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdc0001cfea3db57a2e24bc0d818e9e20e554b5f97fabb9bc231dc240269ae06" +dependencies = [ + "base64", + "indexmap 1.9.3", + "line-wrap", + "quick-xml", + "serde", + "time", +] + [[package]] name = "png" version = "0.17.9" @@ -1869,6 +2008,24 @@ dependencies = [ "cc", ] +[[package]] +name = "qoi" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f6d64c71eb498fe9eae14ce4ec935c555749aef511cca85b5568910d6e48001" +dependencies = [ + "bytemuck", +] + +[[package]] +name = "quick-xml" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81b9228215d82c7b61490fec1de287136b5de6f5700f6e58ea9ad61a7964ca51" +dependencies = [ + "memchr", +] + [[package]] name = "quote" version = "1.0.32" @@ -1908,6 +2065,28 @@ dependencies = [ "getrandom", ] +[[package]] +name = "rayon" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" +dependencies = [ + "either", + "rayon-core", +] + +[[package]] +name = "rayon-core" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" +dependencies = [ + "crossbeam-channel", + "crossbeam-deque", + "crossbeam-utils", + "num_cpus", +] + [[package]] name = "rctree" version = "0.5.0" @@ -2022,8 +2201,11 @@ version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "142e83d8ae8c8c639f304698a5567b229ba65caba867bf4387bbc0ae158827cf" dependencies = [ + "gif", + "jpeg-decoder", "log", "pico-args", + "png", "rgb", "svgtypes", "tiny-skia", @@ -2048,7 +2230,7 @@ dependencies = [ "cc", "libc", "once_cell", - "spin", + "spin 0.5.2", "untrusted", "web-sys", "winapi", @@ -2154,6 +2336,12 @@ version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" +[[package]] +name = "safemem" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072" + [[package]] name = "same-file" version = "1.0.6" @@ -2377,6 +2565,15 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" +[[package]] +name = "spin" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" +dependencies = [ + "lock_api", +] + [[package]] name = "stable_deref_trait" version = "1.2.0" @@ -2467,8 +2664,9 @@ dependencies = [ [[package]] name = "svg2pdf" -version = "0.5.0" -source = "git+https://github.com/typst/svg2pdf.git#39daf9fc2ee84b62b0e3b174ff8c9017f655af6b" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c966e59fd4afd959edcc226687f751a7d05c94d0477cca1a4c2b15a7220f2b24" dependencies = [ "image", "miniz_oxide", @@ -2532,11 +2730,13 @@ dependencies = [ "flate2", "fnv", "once_cell", + "plist", "regex-syntax", "serde", "serde_json", "thiserror", "walkdir", + "yaml-rust", ] [[package]] @@ -2610,6 +2810,17 @@ dependencies = [ "threadpool", ] +[[package]] +name = "tiff" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d172b0f4d3fba17ba89811858b9d3d97f928aece846475bbda076ca46736211" +dependencies = [ + "flate2", + "jpeg-decoder", + "weezl", +] + [[package]] name = "time" version = "0.3.25" @@ -2972,8 +3183,8 @@ checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a" [[package]] name = "typst" -version = "0.6.0" -source = "git+https://github.com/typst/typst.git?tag=v0.6.0#2dfd44fedd99ab9414c17f358179e1c37e953f30" +version = "0.7.0" +source = "git+https://github.com/typst/typst.git?tag=v0.7.0#da8367e189b02918a8fe1a98fd3059fd11a82cd9" dependencies = [ "bitflags 2.3.3", "bytemuck", @@ -2986,6 +3197,7 @@ dependencies = [ "indexmap 1.9.3", "log", "miniz_oxide", + "oklab", "once_cell", "pdf-writer", "pixglyph", @@ -3004,6 +3216,7 @@ dependencies = [ "tracing", "ttf-parser", "typst-macros", + "typst-syntax", "unicode-general-category", "unicode-ident", "unicode-math-class", @@ -3015,8 +3228,8 @@ dependencies = [ [[package]] name = "typst-library" -version = "0.6.0" -source = "git+https://github.com/typst/typst.git?tag=v0.6.0#2dfd44fedd99ab9414c17f358179e1c37e953f30" +version = "0.7.0" +source = "git+https://github.com/typst/typst.git?tag=v0.7.0#da8367e189b02918a8fe1a98fd3059fd11a82cd9" dependencies = [ "az", "chinese-number", @@ -3054,7 +3267,7 @@ dependencies = [ [[package]] name = "typst-lsp" -version = "0.8.1" +version = "0.9.0" dependencies = [ "anyhow", "async-compression", @@ -3097,8 +3310,8 @@ dependencies = [ [[package]] name = "typst-macros" -version = "0.6.0" -source = "git+https://github.com/typst/typst.git?tag=v0.6.0#2dfd44fedd99ab9414c17f358179e1c37e953f30" +version = "0.7.0" +source = "git+https://github.com/typst/typst.git?tag=v0.7.0#da8367e189b02918a8fe1a98fd3059fd11a82cd9" dependencies = [ "heck", "proc-macro2", @@ -3106,6 +3319,22 @@ dependencies = [ "syn 2.0.28", ] +[[package]] +name = "typst-syntax" +version = "0.7.0" +source = "git+https://github.com/typst/typst.git?tag=v0.7.0#da8367e189b02918a8fe1a98fd3059fd11a82cd9" +dependencies = [ + "comemo", + "ecow", + "once_cell", + "serde", + "tracing", + "unicode-ident", + "unicode-math-class", + "unicode-segmentation", + "unscanny", +] + [[package]] name = "unic-langid" version = "0.9.1" @@ -3686,3 +3915,12 @@ dependencies = [ "syn 1.0.109", "synstructure", ] + +[[package]] +name = "zune-inflate" +version = "0.2.54" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73ab332fe2f6680068f3582b16a24f90ad7096d5d39b974d1c0aff0125116f02" +dependencies = [ + "simd-adler32", +] diff --git a/pkgs/development/tools/language-servers/typst-lsp/default.nix b/pkgs/development/tools/language-servers/typst-lsp/default.nix index 732c979bbefb..e730ab24ce8b 100644 --- a/pkgs/development/tools/language-servers/typst-lsp/default.nix +++ b/pkgs/development/tools/language-servers/typst-lsp/default.nix @@ -9,20 +9,19 @@ rustPlatform.buildRustPackage rec { pname = "typst-lsp"; - version = "0.8.1"; + version = "0.9.0"; src = fetchFromGitHub { owner = "nvarner"; repo = "typst-lsp"; rev = "v${version}"; - hash = "sha256-Aq9KP9L9s42NmX45YVnGUMpP0MXKB1Pjd4W0f0U8T7o="; + hash = "sha256-XV/LlibO+2ORle0lVcqqHrDdH75kodk9yOU3OsHFA+A="; }; cargoLock = { lockFile = ./Cargo.lock; outputHashes = { - "svg2pdf-0.5.0" = "sha256-yBQpvDAnJ7C0PWIM/o0PzOg9JlDZCEiVdCTDDPSwrmE="; - "typst-0.6.0" = "sha256-8e6BNffKgAUNwic4uEfDh77y2nIyYt9BwZr+ypv+d5A="; + "typst-0.7.0" = "sha256-yrtOmlFAKOqAmhCP7n0HQCOQpU3DWyms5foCdUb9QTg="; }; }; @@ -36,11 +35,6 @@ rustPlatform.buildRustPackage rec { darwin.apple_sdk.frameworks.Security ]; - patches = [ - # `rustPlatform.importCargoLock` has trouble parsing the `??` in the url - ./remove-svg2pdf-patch.patch - ]; - checkFlags = [ # requires internet access "--skip=workspace::package::external::repo::test::full_download" diff --git a/pkgs/development/tools/language-servers/typst-lsp/remove-svg2pdf-patch.patch b/pkgs/development/tools/language-servers/typst-lsp/remove-svg2pdf-patch.patch deleted file mode 100644 index ad277caa81b5..000000000000 --- a/pkgs/development/tools/language-servers/typst-lsp/remove-svg2pdf-patch.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- a/Cargo.lock -+++ b/Cargo.lock -@@ -2468,7 +2468,7 @@ dependencies = [ - [[package]] - name = "svg2pdf" - version = "0.5.0" --source = "git+https://github.com/typst/svg2pdf.git??tag=v0.5.0#39daf9fc2ee84b62b0e3b174ff8c9017f655af6b" -+source = "git+https://github.com/typst/svg2pdf.git#39daf9fc2ee84b62b0e3b174ff8c9017f655af6b" - dependencies = [ - "image", - "miniz_oxide", ---- a/Cargo.toml -+++ b/Cargo.toml -@@ -84,13 +84,5 @@ reqwest = { version = "0.11.18", default-features = false, features = [ - "rustls-tls", - ] } - -- --# Typst 0.6.0 does not specify a tag or ref for svg2pdf, so provide one... --# ...but Cargo doesn't want to make our lives too easy, and we can't replace the --# dependency with another at the same URL. Use a workaroud inspired by --# StackOverflow: https://stackoverflow.com/a/72261235 --[patch."https://github.com/typst/svg2pdf"] --svg2pdf = { git = "https://github.com/typst/svg2pdf.git?", tag = "v0.5.0" } -- - [dev-dependencies] - temp-dir = "0.1.11" From fb53fb7b383e836f1300e47f4ed08c8127b97ff8 Mon Sep 17 00:00:00 2001 From: figsoda Date: Fri, 11 Aug 2023 09:37:07 -0400 Subject: [PATCH 046/154] kbt: 1.2.2 -> 1.2.3 Diff: https://github.com/bloznelis/kbt/compare/1.2.2...1.2.3 --- pkgs/applications/misc/kbt/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/kbt/default.nix b/pkgs/applications/misc/kbt/default.nix index 80070e9c8d8e..7e28366b94cc 100644 --- a/pkgs/applications/misc/kbt/default.nix +++ b/pkgs/applications/misc/kbt/default.nix @@ -9,16 +9,16 @@ rustPlatform.buildRustPackage rec { pname = "kbt"; - version = "1.2.2"; + version = "1.2.3"; src = fetchFromGitHub { owner = "bloznelis"; repo = "kbt"; rev = version; - hash = "sha256-v0xbW1xlOhaLf19a6gFpd16RjYfXIK6FDBSWVWPlK3c="; + hash = "sha256-AhMl8UuSVKLiIj+EnnmJX8iURjytLByDRLqDkgHGBr0="; }; - cargoHash = "sha256-rBThJqaemtPAHqiWDILJZ7j+NL5+6+4tsXrFPcEiFL0="; + cargoHash = "sha256-pgdI+BoYrdSdQpVN0pH4QMcNAKbjbnrUbAmMpmtfd2s="; nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config From e64a4a743c0df26e448fc541ae4279273740b819 Mon Sep 17 00:00:00 2001 From: figsoda Date: Fri, 11 Aug 2023 10:16:25 -0400 Subject: [PATCH 047/154] runme: 1.7.1 -> 1.7.2 Diff: https://github.com/stateful/runme/compare/v1.7.1...v1.7.2 Changelog: https://github.com/stateful/runme/releases/tag/v1.7.2 --- pkgs/development/tools/misc/runme/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/misc/runme/default.nix b/pkgs/development/tools/misc/runme/default.nix index 8f390befa923..fc61e0ae376f 100644 --- a/pkgs/development/tools/misc/runme/default.nix +++ b/pkgs/development/tools/misc/runme/default.nix @@ -11,16 +11,16 @@ buildGoModule rec { pname = "runme"; - version = "1.7.1"; + version = "1.7.2"; src = fetchFromGitHub { owner = "stateful"; repo = "runme"; rev = "v${version}"; - hash = "sha256-WsYaOaXaNGztVqHMURn/96lWA9grccoKw6AJOhqUdfQ="; + hash = "sha256-BoPNIaYxK4VyafNWAVDonwTfpqF1N3Ggq5GF6A7DhF0="; }; - vendorHash = "sha256-5FMrz4I/i/uJDI4vK9hiet4zMRf0CSbc/YJAFi8hlEM="; + vendorHash = "sha256-sGk2K0I9onGFpDwboRugNHjFictisY4Q0NTNnOT3BW4="; nativeBuildInputs = [ installShellFiles From 589be719418840cc96150ebecc8ac562fcbe7e92 Mon Sep 17 00:00:00 2001 From: figsoda Date: Fri, 11 Aug 2023 10:22:40 -0400 Subject: [PATCH 048/154] rustypaste: 0.12.0 -> 0.12.1 Diff: https://github.com/orhun/rustypaste/compare/v0.12.0...v0.12.1 Changelog: https://github.com/orhun/rustypaste/blob/v0.12.1/CHANGELOG.md --- pkgs/servers/rustypaste/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/rustypaste/default.nix b/pkgs/servers/rustypaste/default.nix index 2da905e1ffd3..bae1b5232c7d 100644 --- a/pkgs/servers/rustypaste/default.nix +++ b/pkgs/servers/rustypaste/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "rustypaste"; - version = "0.12.0"; + version = "0.12.1"; src = fetchFromGitHub { owner = "orhun"; repo = pname; rev = "v${version}"; - sha256 = "sha256-Kk9SDGDTCq1qHew9yrf1HmYAhse5mB4AqH/Oo/lc0dc="; + sha256 = "sha256-AdcoyBtPgTK94VDBsCGozPU5enqCquY7r5IuEm3oW/g="; }; - cargoHash = "sha256-6YTdOb1JvP5yTD1FVpHGG3C+hgiuTUiy05s+e3k8cdI="; + cargoHash = "sha256-VJjXwvMDSnDedcxJTjg6tVjPUxjRGTSOnx2nXgXCdzI="; buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.CoreServices From b8435108e1a4f3292e6631dbd8134810db1bec76 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Fri, 11 Aug 2023 17:08:16 +0200 Subject: [PATCH 049/154] lib/path/tests: Fix test setup on darwin These statements are taken from the `lib/test/release.nix` tests, which previously also worked on darwin. Unblocks https://github.com/NixOS/nix/pull/8569 when backported --- lib/path/tests/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/path/tests/default.nix b/lib/path/tests/default.nix index 6b8e515f4330..50d40cdfa476 100644 --- a/lib/path/tests/default.nix +++ b/lib/path/tests/default.nix @@ -18,7 +18,14 @@ pkgs.runCommand "lib-path-tests" { ]; } '' # Needed to make Nix evaluation work - export NIX_STATE_DIR=$(mktemp -d) + export TEST_ROOT=$(pwd)/test-tmp + export NIX_BUILD_HOOK= + export NIX_CONF_DIR=$TEST_ROOT/etc + export NIX_LOCALSTATE_DIR=$TEST_ROOT/var + export NIX_LOG_DIR=$TEST_ROOT/var/log/nix + export NIX_STATE_DIR=$TEST_ROOT/var/nix + export NIX_STORE_DIR=$TEST_ROOT/store + export PAGER=cat cp -r ${libpath} lib export TEST_LIB=$PWD/lib From 71e42e755c7fc2663b62eec06ef0f17e498224a4 Mon Sep 17 00:00:00 2001 From: Sebastian Sellmeier Date: Fri, 11 Aug 2023 18:01:42 +0200 Subject: [PATCH 050/154] ulauncher: 5.15.0 -> 5.15.3 Diff: [Ulauncher/Ulauncher@5.15.0...5.15.3](https://github.com/Ulauncher/Ulauncher/compare/5.15.0...5.15.3) Changelog: https://github.com/Ulauncher/Ulauncher/releases/tag/5.15.3 --- pkgs/applications/misc/ulauncher/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/ulauncher/default.nix b/pkgs/applications/misc/ulauncher/default.nix index 68f904f1db20..67b008723ac2 100644 --- a/pkgs/applications/misc/ulauncher/default.nix +++ b/pkgs/applications/misc/ulauncher/default.nix @@ -21,11 +21,11 @@ python3Packages.buildPythonApplication rec { pname = "ulauncher"; - version = "5.15.0"; + version = "5.15.3"; src = fetchurl { url = "https://github.com/Ulauncher/Ulauncher/releases/download/${version}/ulauncher_${version}.tar.gz"; - sha256 = "sha256-1Qo6ffMtVRtZDPCHvHEl7T0dPdDUxP4TP2hkSVSdQpo"; + sha256 = "sha256-unAic6GTgvZFFJwPERh164vfDiFE0zLEUjgADR94w5w="; }; nativeBuildInputs = with python3Packages; [ From 27f5daab06f2fb255ef77268e3a2c02b55cc1542 Mon Sep 17 00:00:00 2001 From: Sebastian Sellmeier Date: Fri, 11 Aug 2023 18:03:23 +0200 Subject: [PATCH 051/154] ulauncher: add sebtm as maintainer --- pkgs/applications/misc/ulauncher/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/misc/ulauncher/default.nix b/pkgs/applications/misc/ulauncher/default.nix index 67b008723ac2..7a466b0e5d86 100644 --- a/pkgs/applications/misc/ulauncher/default.nix +++ b/pkgs/applications/misc/ulauncher/default.nix @@ -120,6 +120,6 @@ python3Packages.buildPythonApplication rec { homepage = "https://ulauncher.io/"; license = licenses.gpl3; platforms = platforms.linux; - maintainers = with maintainers; [ aaronjanse ]; + maintainers = with maintainers; [ aaronjanse sebtm ]; }; } From 92c462b004991d598ec1d8df923dddd7b5b94119 Mon Sep 17 00:00:00 2001 From: Sergei Lukianov Date: Tue, 8 Aug 2023 09:25:36 -0700 Subject: [PATCH 052/154] mdbook: 0.4.32 -> 0.4.34 --- pkgs/tools/text/mdbook/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/text/mdbook/default.nix b/pkgs/tools/text/mdbook/default.nix index 084980ebda29..c25ae2859547 100644 --- a/pkgs/tools/text/mdbook/default.nix +++ b/pkgs/tools/text/mdbook/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "mdbook"; - version = "0.4.32"; + version = "0.4.34"; src = fetchFromGitHub { owner = "rust-lang"; repo = "mdBook"; rev = "refs/tags/v${version}"; - sha256 = "sha256-+Cb4ZFkJu6z2x/HqQkVqb2J0tFuj78TAmzhp2VPiai0="; + sha256 = "sha256-QkgsFnX6J0ZgXCzGE/dTNLxdXLhCFwLsZCvmZ4SU4Zs="; }; - cargoHash = "sha256-Jj5AWapZUzd/ZZQvvlSWOv2dX4AhJyHKEncIPdLL7cA="; + cargoHash = "sha256-Dhblzn7NytYeY76RmvI8cNjChnCSnTPadxPKyU5QT1Q="; buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; From 95ba50f055aef8598ae308d9b864c301ada0705f Mon Sep 17 00:00:00 2001 From: "Elliot Speck (Arcayr)" Date: Tue, 1 Aug 2023 02:22:24 +1000 Subject: [PATCH 053/154] mitm6: init at 0.3.0 --- pkgs/tools/security/mitm6/default.nix | 36 +++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/tools/security/mitm6/default.nix diff --git a/pkgs/tools/security/mitm6/default.nix b/pkgs/tools/security/mitm6/default.nix new file mode 100644 index 000000000000..a7587330e7b9 --- /dev/null +++ b/pkgs/tools/security/mitm6/default.nix @@ -0,0 +1,36 @@ +{ lib +, fetchPypi +, python3 +}: + +python3.pkgs.buildPythonApplication rec { + pname = "mitm6"; + version = "0.3.0"; + format = "setuptools"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-g+eFcJdgP7CQ6ntN17guJa4LdkGIb91mr/NKRPIukP8="; + }; + + propagatedBuildInputs = with python3.pkgs; [ + scapy + future + twisted + netifaces + ]; + + # No tests exist for mitm6. + doCheck = false; + + pythonImportsCheck = [ + "mitm6" + ]; + + meta = { + description = "DHCPv6 network spoofing application"; + homepage = "https://github.com/dirkjanm/mitm6"; + license = lib.licenses.gpl2Only; + maintainers = with lib.maintainers; [ arcayr ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index eb552ca749ee..ea49db7f6405 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9870,6 +9870,8 @@ with pkgs; ministat = callPackage ../tools/misc/ministat { }; + mitm6 = callPackage ../tools/security/mitm6 { }; + mjolnir = callPackage ../servers/mjolnir { matrix-sdk-crypto-nodejs = matrix-sdk-crypto-nodejs-0_1_0-beta_3; }; From be02ea8a60fb16a3f49707fc0aa93f659a5fca37 Mon Sep 17 00:00:00 2001 From: figsoda Date: Fri, 11 Aug 2023 13:02:01 -0400 Subject: [PATCH 054/154] gpython: init at 0.2.0 https://github.com/go-python/gpython --- .../interpreters/gpython/default.nix | 47 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 49 insertions(+) create mode 100644 pkgs/development/interpreters/gpython/default.nix diff --git a/pkgs/development/interpreters/gpython/default.nix b/pkgs/development/interpreters/gpython/default.nix new file mode 100644 index 000000000000..8bb432e839ea --- /dev/null +++ b/pkgs/development/interpreters/gpython/default.nix @@ -0,0 +1,47 @@ +{ lib +, buildGoModule +, fetchFromGitHub +, testers +, gpython +}: + +buildGoModule rec { + pname = "gpython"; + version = "0.2.0"; + + src = fetchFromGitHub { + owner = "go-python"; + repo = "gpython"; + rev = "v${version}"; + hash = "sha256-xqwq27u41Jgoh7t9UDyatuBQswr+h3xio5AV/npncHc="; + }; + + vendorHash = "sha256-NXPllEhootdB8m5Wvfy8MW899oQnjWAQj7yCC2oDvqE="; + + subPackages = [ + "." + ]; + + ldflags = [ + "-s" + "-w" + "-X=main.version=${version}" + "-X=main.commit=${src.rev}" + "-X=main.date=1970-01-01" + ]; + + passthru.tests = { + version = testers.testVersion { + package = gpython; + command = "gpython < /dev/null"; + }; + }; + + meta = with lib; { + description = "A Python interpreter written in Go"; + homepage = "https://github.com/go-python/gpython"; + changelog = "https://github.com/go-python/gpython/releases/tag/${src.rev}"; + license = licenses.bsd3; + maintainers = with maintainers; [ figsoda ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3438afb51bce..ac0fc14bd241 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17595,6 +17595,8 @@ with pkgs; mpi = mpich; }; + gpython = callPackage ../development/interpreters/gpython { }; + graphql-client = callPackage ../development/tools/graphql-client { inherit (darwin.apple_sdk.frameworks) Security; }; From b4ddc3e3db7688bfc36ad98e4d87dfcabf399b00 Mon Sep 17 00:00:00 2001 From: Guy Boldon Date: Tue, 8 Aug 2023 20:02:56 +0200 Subject: [PATCH 055/154] maintainers: add codifryed --- maintainers/maintainer-list.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index e4cce336eea7..192e9f9f9d05 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3287,6 +3287,15 @@ email = "jupiter@m.rdis.dev"; name = "Scott Little"; }; + codifryed = { + email = "gb@guyboldon.com"; + name = "Guy Boldon"; + github = "codifryed"; + githubId = 27779510; + keys = [{ + fingerprint = "FDF5 EF67 8CC1 FE22 1845 6A22 CF7B BB5B C756 1BD3"; + }]; + }; codsl = { email = "codsl@riseup.net"; github = "codsl"; From a8d80cd4087629ce5af169f20ca1720933d94522 Mon Sep 17 00:00:00 2001 From: Guy Boldon Date: Tue, 8 Aug 2023 20:17:05 +0200 Subject: [PATCH 056/154] dataclass-wizard: init at 0.22.2 --- .../dataclass-wizard/default.nix | 65 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + pkgs/top-level/python-packages.nix | 2 + 3 files changed, 69 insertions(+) create mode 100644 pkgs/development/python-modules/dataclass-wizard/default.nix diff --git a/pkgs/development/python-modules/dataclass-wizard/default.nix b/pkgs/development/python-modules/dataclass-wizard/default.nix new file mode 100644 index 000000000000..603fd25e9b2a --- /dev/null +++ b/pkgs/development/python-modules/dataclass-wizard/default.nix @@ -0,0 +1,65 @@ +{ lib +, fetchFromGitHub +, buildPythonPackage +, pythonOlder +, pythonAtLeast +, pytimeparse +, pyyaml +, pytestCheckHook +, pytest-mock +, typing-extensions +}: + +buildPythonPackage rec { + pname = "dataclass-wizard"; + version = "0.22.2"; + format = "setuptools"; + + src = fetchFromGitHub { + owner = "rnag"; + repo = "dataclass-wizard"; + rev = "v${version}"; + hash = "sha256-Ufi4lZc+UkM6NZr4bS2OibpOmMjyiBEoVKxmrqauW50="; + }; + + propagatedBuildInputs = [ + ] ++ lib.optionals (pythonOlder "3.9") [ + typing-extensions + ]; + + passthru.optional-dependencies = { + timedelta = [ + pytimeparse + ]; + yaml = [ + pyyaml + ]; + }; + + nativeCheckInputs = [ + pytestCheckHook + pytest-mock + ] ++ passthru.optional-dependencies.timedelta + ++ passthru.optional-dependencies.yaml; + + disabledTests = [ + ] ++ lib.optionals (pythonAtLeast "3.11") [ + # Any/None internal changes, tests need adjusting upstream + "without_type_hinting" + "default_dict" + "test_frozenset" + "test_set" + "date_times_with_custom_pattern" + "from_dict_handles_identical_cased_json_keys" + ]; + + pythonImportsCheck = [ "dataclass_wizard" ]; + + meta = with lib; { + description = "A set of simple, yet elegant wizarding tools for interacting with the Python dataclasses module"; + homepage = "https://github.com/rnag/dataclass-wizard"; + changelog = "https://github.com/rnag/dataclass-wizard/releases/tag/v${version}"; + license = licenses.asl20; + maintainers = with maintainers; [ codifryed ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3438afb51bce..b60873663dc1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4856,6 +4856,8 @@ with pkgs; dasher = callPackage ../applications/accessibility/dasher { }; + dataclass-wizard = with python3Packages; toPythonApplication dataclass-wizard; + datafusion-cli = callPackage ../development/misc/datafusion { }; datamash = callPackage ../tools/misc/datamash { }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 425082dce950..c2572b7a4e70 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2421,6 +2421,8 @@ self: super: with self; { databricks-sql-connector = callPackage ../development/python-modules/databricks-sql-connector { }; + dataclass-wizard = callPackage ../development/python-modules/dataclass-wizard { }; + dataclasses-json = callPackage ../development/python-modules/dataclasses-json { }; dataclasses-serialization = callPackage ../development/python-modules/dataclasses-serialization { }; From 0b4ba6603489a3da840fe1d94b98fc66602f2ca4 Mon Sep 17 00:00:00 2001 From: meppu Date: Fri, 11 Aug 2023 22:35:48 +0300 Subject: [PATCH 057/154] osu-lazer-bin: 2023.803.0 -> 2023.811.0 --- pkgs/games/osu-lazer/bin.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/games/osu-lazer/bin.nix b/pkgs/games/osu-lazer/bin.nix index 7cbf6bc83956..e673c2b98384 100644 --- a/pkgs/games/osu-lazer/bin.nix +++ b/pkgs/games/osu-lazer/bin.nix @@ -7,21 +7,21 @@ let pname = "osu-lazer-bin"; - version = "2023.803.0"; + version = "2023.811.0"; name = "${pname}-${version}"; osu-lazer-bin-src = { aarch64-darwin = { url = "https://github.com/ppy/osu/releases/download/${version}/osu.app.Apple.Silicon.zip"; - sha256 = "sha256-41UvP3h7Nnmjnjr1nl35uCe6CUK54p1Ok1KhQ8F5/4M="; + sha256 = "sha256-T8Zyl93AV5eYdBDQHIRgJIHse4nNnJYVHsgnH/TbJpM="; }; x86_64-darwin = { url = "https://github.com/ppy/osu/releases/download/${version}/osu.app.Intel.zip"; - sha256 = "sha256-qxAgXL4igfttsPN3xr4JPBGy9FalR1JIS7OtB4iqNB8="; + sha256 = "sha256-uT3tx4cljjb1/4ewuYiFp1g6hEJeaRQofrySh6ebrdA="; }; x86_64-linux = { url = "https://github.com/ppy/osu/releases/download/${version}/osu.AppImage"; - sha256 = "sha256-fO9j7hIEhxEDWVdNAPVriHuDQyF2XgReeROBNpXM8gU="; + sha256 = "sha256-PRFnn+4znylKyvDx+wz9MwY4XqpMIk8Tlpon5ATwmWo="; }; }.${stdenv.system} or (throw "${pname}-${version}: ${stdenv.system} is unsupported."); From 8a84833c2eb1a5ba5ce60ff8e8f4a89db0008a72 Mon Sep 17 00:00:00 2001 From: meppu Date: Fri, 11 Aug 2023 22:35:57 +0300 Subject: [PATCH 058/154] osu-lazer: 2023.803.0 -> 2023.811.0 --- pkgs/games/osu-lazer/default.nix | 4 ++-- pkgs/games/osu-lazer/deps.nix | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/games/osu-lazer/default.nix b/pkgs/games/osu-lazer/default.nix index 17a42db26b59..be2349dfb5fe 100644 --- a/pkgs/games/osu-lazer/default.nix +++ b/pkgs/games/osu-lazer/default.nix @@ -17,13 +17,13 @@ buildDotnetModule rec { pname = "osu-lazer"; - version = "2023.803.0"; + version = "2023.811.0"; src = fetchFromGitHub { owner = "ppy"; repo = "osu"; rev = version; - sha256 = "sha256-q2rw44veVWpKcW/wCkBHNxaIwOXuflejIvqhGQgoh8o="; + sha256 = "sha256-LRVec2nwT7Benzov59qxVWzFXO/MsotRUHPIUosH2fw="; }; projectFile = "osu.Desktop/osu.Desktop.csproj"; diff --git a/pkgs/games/osu-lazer/deps.nix b/pkgs/games/osu-lazer/deps.nix index 816ead326bbe..26906baedd93 100644 --- a/pkgs/games/osu-lazer/deps.nix +++ b/pkgs/games/osu-lazer/deps.nix @@ -6,7 +6,7 @@ (fetchNuGet { pname = "Clowd.Squirrel"; version = "2.9.42"; sha256 = "1xxrr9jmgn343d467nz40569mkybinnmxaxyc4fhgy6yddvzk1y0"; }) (fetchNuGet { pname = "CodeFileSanity"; version = "0.0.37"; sha256 = "03ja3g66lb0smjmkr3yf28h7fy52wwbdnf6p268zfla3azh006pq"; }) (fetchNuGet { pname = "DiffPlex"; version = "1.7.1"; sha256 = "1q78r70pirgb7j5wkh454ws237lihh0fig212cpbj02cz53c2h6j"; }) - (fetchNuGet { pname = "DiscordRichPresence"; version = "1.1.3.18"; sha256 = "0p4bhaggjjfd4gl06yiphqgncxgcq2bws4sjkrw0n2ldf3hgrps3"; }) + (fetchNuGet { pname = "DiscordRichPresence"; version = "1.1.4.20"; sha256 = "115nbg7d4j2v5l40hqp4q4s0pm84r1yl7d8fbxyw89s1nbab6qp3"; }) (fetchNuGet { pname = "FFmpeg.AutoGen"; version = "4.3.0.1"; sha256 = "0n6x57mnnvcjnrs8zyvy07h5zm4bcfy9gh4n4bvd9fx5ys4pxkvv"; }) (fetchNuGet { pname = "Fody"; version = "6.7.0"; sha256 = "0fv0zrffa296qjyi11yk31vfqh6gm1nxsx8g5zz380jcsrilnp3h"; }) (fetchNuGet { pname = "HidSharpCore"; version = "1.2.1.1"; sha256 = "1zkndglmz0s8rblfhnqcvv90rkq2i7lf4bc380g7z8h1avf2ikll"; }) @@ -134,10 +134,10 @@ (fetchNuGet { pname = "ppy.ManagedBass"; version = "2022.1216.0"; sha256 = "19nnj1hq2v21mrplnivjr9c4y3wg4hhfnc062sjgzkmiv1cchvf8"; }) (fetchNuGet { pname = "ppy.ManagedBass.Fx"; version = "2022.1216.0"; sha256 = "1vw573mkligpx9qiqasw1683cqaa1kgnxhlnbdcj9c4320b1pwjm"; }) (fetchNuGet { pname = "ppy.ManagedBass.Mix"; version = "2022.1216.0"; sha256 = "185bpvgbnd8y20r7vxb1an4pd1aal9b7b5wvmv3knz0qg8j0chd9"; }) - (fetchNuGet { pname = "ppy.osu.Framework"; version = "2023.716.0"; sha256 = "11qzwxrmbnzrx0g3dqx9ici58kfn5b3g3riwis3fsjfyiziwzvx8"; }) + (fetchNuGet { pname = "ppy.osu.Framework"; version = "2023.811.0"; sha256 = "121jdz1zxivr4nddjjwnf4996awaxbcb7mxp279495z3gg44x9kb"; }) (fetchNuGet { pname = "ppy.osu.Framework.NativeLibs"; version = "2022.525.0"; sha256 = "1zsqj3xng06bb46vg79xx35n2dsh3crqg951r1ga2gxqzgzy4nk0"; }) - (fetchNuGet { pname = "ppy.osu.Framework.SourceGeneration"; version = "2023.709.0"; sha256 = "1p7lh7583lka6awb4q3vwfhlmry69n9gfjp2h0zm2bvyn9p1928f"; }) - (fetchNuGet { pname = "ppy.osu.Game.Resources"; version = "2023.707.0"; sha256 = "1hndj38qpi7936z7dh6lyip00hvx99q8xzrmkvrp9562ys9xjdpw"; }) + (fetchNuGet { pname = "ppy.osu.Framework.SourceGeneration"; version = "2023.720.0"; sha256 = "001vvxyv483ibid25fdknvij77x0y983mp4psx2lbg3x2al7yxax"; }) + (fetchNuGet { pname = "ppy.osu.Game.Resources"; version = "2023.719.0"; sha256 = "1isy0jd8xkjw72m4akh85nmlcfp6na1ksghyajs4amiagjgvvn47"; }) (fetchNuGet { pname = "ppy.osuTK.NS20"; version = "1.0.211"; sha256 = "0j4a9n39pqm0cgdcps47p5n2mqph3h94r7hmf0bs59imif4jxvjy"; }) (fetchNuGet { pname = "ppy.SDL2-CS"; version = "1.0.671-alpha"; sha256 = "1yzakyp0wwayd9k2wmmfklmpvhig0skqk6sn98axpfgnq4hxhllm"; }) (fetchNuGet { pname = "ppy.Veldrid"; version = "4.9.3-g9f8aa2931a"; sha256 = "0jzjaakcfy3x85wx8smp4j7hffbynqakgqvwslr3bkbqlfdxxbil"; }) From 43e4540c49c20c9c681e85168ee20c9dbd864455 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Fri, 11 Aug 2023 22:33:51 +0200 Subject: [PATCH 059/154] media-downloader: use `finalAttrs` pattern --- .../video/media-downloader/default.nix | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/pkgs/applications/video/media-downloader/default.nix b/pkgs/applications/video/media-downloader/default.nix index 3a825d961a3c..05f5a69f75f3 100644 --- a/pkgs/applications/video/media-downloader/default.nix +++ b/pkgs/applications/video/media-downloader/default.nix @@ -1,23 +1,23 @@ -{ lib -, stdenv -, fetchFromGitHub +{ aria2 , cmake -, wrapQtAppsHook -, qtbase -, aria2 +, fetchFromGitHub , ffmpeg +, lib , python3 +, qtbase +, stdenv +, wrapQtAppsHook , yt-dlp }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "media-downloader"; version = "3.3.0"; src = fetchFromGitHub { owner = "mhogomchungu"; - repo = pname; - rev = version; + repo = "media-downloader"; + rev = finalAttrs.version; hash = "sha256-UmNaosunkNUTm4rsf4q29H+0cJAccUDx+ulcS2octIo="; }; @@ -39,11 +39,11 @@ stdenv.mkDerivation rec { ]}" ]; - meta = with lib; { + meta = { description = "A Qt/C++ GUI front end to youtube-dl"; homepage = "https://github.com/mhogomchungu/media-downloader"; - license = licenses.gpl2Plus; - platforms = platforms.linux; - maintainers = with maintainers; [ zendo ]; + license = lib.licenses.gpl2Plus; + maintainers = with lib.maintainers; [ zendo ]; + platforms = lib.platforms.linux; }; -} +}) From b584e3aab584442765a1322ccc00297172ec435d Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Fri, 11 Aug 2023 22:35:33 +0200 Subject: [PATCH 060/154] tidal-hifi: use `finalAttrs` pattern --- pkgs/applications/audio/tidal-hifi/default.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/audio/tidal-hifi/default.nix b/pkgs/applications/audio/tidal-hifi/default.nix index f679a78d9be3..df5d4fbef1af 100644 --- a/pkgs/applications/audio/tidal-hifi/default.nix +++ b/pkgs/applications/audio/tidal-hifi/default.nix @@ -34,12 +34,12 @@ , xorg }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "tidal-hifi"; version = "5.5.0"; src = fetchurl { - url = "https://github.com/Mastermindzh/tidal-hifi/releases/download/${version}/tidal-hifi_${version}_amd64.deb"; + url = "https://github.com/Mastermindzh/tidal-hifi/releases/download/${finalAttrs.version}/tidal-hifi_${finalAttrs.version}_amd64.deb"; sha256 = "sha256-pUQgTz7KZt4icD4lDAs4Wg095HxYEAifTM8a4cDejQM="; }; @@ -104,18 +104,18 @@ stdenv.mkDerivation rec { postFixup = '' makeWrapper $out/opt/tidal-hifi/tidal-hifi $out/bin/tidal-hifi \ - --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath buildInputs}" \ + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath finalAttrs.buildInputs}" \ "''${gappsWrapperArgs[@]}" substituteInPlace $out/share/applications/tidal-hifi.desktop \ --replace "/opt/tidal-hifi/tidal-hifi" "tidal-hifi" ''; - meta = with lib; { + meta = { + changelog = "https://github.com/Mastermindzh/tidal-hifi/releases/tag/${finalAttrs.version}"; description = "The web version of Tidal running in electron with hifi support thanks to widevine"; homepage = "https://github.com/Mastermindzh/tidal-hifi"; - changelog = "https://github.com/Mastermindzh/tidal-hifi/releases/tag/${version}"; - license = licenses.mit; - maintainers = with maintainers; [ qbit ]; - platforms = [ "x86_64-linux" ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ qbit ]; + platforms = lib.platforms.linux; }; -} +}) From 999d52eb20c4fd7e549ed4d4d123d02d699a3d5e Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Fri, 11 Aug 2023 22:40:17 +0200 Subject: [PATCH 061/154] stellar-core: use `finalAttrs` pattern --- .../blockchains/stellar-core/default.nix | 57 +++++++++++++------ 1 file changed, 41 insertions(+), 16 deletions(-) diff --git a/pkgs/applications/blockchains/stellar-core/default.nix b/pkgs/applications/blockchains/stellar-core/default.nix index 10a2f1139d21..53b0de40cbb4 100644 --- a/pkgs/applications/blockchains/stellar-core/default.nix +++ b/pkgs/applications/blockchains/stellar-core/default.nix @@ -1,30 +1,55 @@ -{ lib, stdenv, fetchFromGitHub, autoconf, libtool, automake, pkg-config, git -, bison, flex, postgresql, ripgrep, libunwind }: +{ autoconf +, automake +, bison +, fetchFromGitHub +, flex +, git +, lib +, libtool +, libunwind +, pkg-config +, postgresql +, ripgrep +, stdenv +}: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "stellar-core"; version = "19.13.0"; src = fetchFromGitHub { owner = "stellar"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-C775tL+x1IX4kfCM/7gOg/V8xunq/rkhIfdkwkhLENk="; + repo = "stellar-core"; + rev = "v${finalAttrs.version}"; + hash = "sha256-C775tL+x1IX4kfCM/7gOg/V8xunq/rkhIfdkwkhLENk="; fetchSubmodules = true; }; - nativeBuildInputs = [ automake autoconf git libtool pkg-config ripgrep ]; + nativeBuildInputs = [ + automake + autoconf + git + libtool + pkg-config + ripgrep + ]; - buildInputs = [ libunwind ]; + buildInputs = [ + libunwind + ]; - propagatedBuildInputs = [ bison flex postgresql ]; + propagatedBuildInputs = [ + bison + flex + postgresql + ]; enableParallelBuilding = true; preConfigure = '' # Due to https://github.com/NixOS/nixpkgs/issues/8567 we cannot rely on # having the .git directory present, so directly provide the version - substituteInPlace src/Makefile.am --replace '$$vers' '${pname} ${version}'; + substituteInPlace src/Makefile.am --replace '$$vers' 'stellar-core ${finalAttrs.version}'; # Everything needs to be staged in git because the build uses # `git ls-files` to search for source files to compile. @@ -34,17 +59,17 @@ stdenv.mkDerivation rec { ./autogen.sh ''; - meta = with lib; { + meta = { description = "Implements the Stellar Consensus Protocol, a federated consensus protocol"; + homepage = "https://www.stellar.org/"; + license = lib.licenses.asl20; longDescription = '' Stellar-core is the backbone of the Stellar network. It maintains a local copy of the ledger, communicating and staying in sync with other instances of stellar-core on the network. Optionally, stellar-core can store historical records of the ledger and participate in consensus. ''; - homepage = "https://www.stellar.org/"; - platforms = platforms.linux; - maintainers = with maintainers; [ ]; - license = licenses.asl20; + maintainers = [ ]; + platforms = lib.platforms.linux; }; -} +}) From bbac87a2ddf95029b8be2c9d3f8d44708ccc8b38 Mon Sep 17 00:00:00 2001 From: oddlama Date: Fri, 11 Aug 2023 22:44:08 +0200 Subject: [PATCH 062/154] nixos/hostapd: add missing stringification of path in INI format --- nixos/modules/services/networking/hostapd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/hostapd.nix b/nixos/modules/services/networking/hostapd.nix index 924abfc2953f..4ec066c2ec97 100644 --- a/nixos/modules/services/networking/hostapd.nix +++ b/nixos/modules/services/networking/hostapd.nix @@ -987,7 +987,7 @@ in { } // optionalAttrs (bssCfg.authentication.wpaPassword != null) { wpa_passphrase = bssCfg.authentication.wpaPassword; } // optionalAttrs (bssCfg.authentication.wpaPskFile != null) { - wpa_psk_file = bssCfg.authentication.wpaPskFile; + wpa_psk_file = toString bssCfg.authentication.wpaPskFile; }; dynamicConfigScripts = let From a7d51907883cec22577f4df3706ee023c740db79 Mon Sep 17 00:00:00 2001 From: Matt Camp Date: Fri, 11 Aug 2023 16:02:33 -0500 Subject: [PATCH 063/154] vimPlugins.vim-pluto: init at 2022-02-01 --- pkgs/applications/editors/vim/plugins/vim-plugin-names | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index 559695c342b1..4f541e7a2f94 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -1133,6 +1133,7 @@ https://github.com/jparise/vim-phabricator/,, https://github.com/justinj/vim-pico8-syntax/,, https://github.com/junegunn/vim-plug/,, https://github.com/powerman/vim-plugin-AnsiEsc/,, +https://github.com/hasundue/vim-pluto/,HEAD, https://github.com/sheerun/vim-polyglot/,, https://github.com/jakwings/vim-pony/,, https://github.com/haya14busa/vim-poweryank/,, From 9203d7fb6be1010efce039af4762ed98f82c3bfb Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Fri, 11 Aug 2023 14:13:46 -0700 Subject: [PATCH 064/154] ablog: 0.10.33.post1 -> 0.11.14.post1 --- pkgs/applications/misc/ablog/default.nix | 35 +++++++++++++++--------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/pkgs/applications/misc/ablog/default.nix b/pkgs/applications/misc/ablog/default.nix index c57ba4721bce..a57bae8aa9b1 100644 --- a/pkgs/applications/misc/ablog/default.nix +++ b/pkgs/applications/misc/ablog/default.nix @@ -3,30 +3,39 @@ , fetchPypi }: -with python3.pkgs; - -buildPythonApplication rec { +python3.pkgs.buildPythonApplication rec { pname = "ablog"; - version = "0.10.33.post1"; + version = "0.11.4.post1"; + format = "pyproject"; src = fetchPypi { inherit pname version; - sha256 = "sha256-+vrVQ4sItCXrSCzNXyKk6/6oDBOyfyD7iNWzmcbE/BQ="; + hash = "sha256-Zyvx7lVUQtjoGsSpFmH8pFrgTGgsFd4GMsL3fXKtUpU="; }; - propagatedBuildInputs = [ - feedgen - sphinx - invoke - watchdog - python-dateutil + nativeBuildInputs = with python3.pkgs; [ + setuptools + setuptools-scm + wheel ]; - nativeCheckInputs = [ + propagatedBuildInputs = with python3.pkgs; [ + docutils + feedgen + invoke + packaging + python-dateutil + sphinx + watchdog + ]; + + nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ]; - nativeBuildInputs = [ setuptools-scm ]; + pytestFlagsArray = [ + "--rootdir" "src/ablog" + ]; meta = with lib; { description = "ABlog for blogging with Sphinx"; From 5284124f4620d3916c1ff4cd366c5900019c464b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 11 Aug 2023 23:17:14 +0200 Subject: [PATCH 065/154] python311Packages.pyrainbird: 3.0.1 -> 4.0.0 Diff: https://github.com/allenporter/pyrainbird/compare/refs/tags/3.0.1...4.0.0 Changelog: https://github.com/allenporter/pyrainbird/releases/tag/4.0.0 --- pkgs/development/python-modules/pyrainbird/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyrainbird/default.nix b/pkgs/development/python-modules/pyrainbird/default.nix index 67a57b8c203b..7a4e86c8dd1f 100644 --- a/pkgs/development/python-modules/pyrainbird/default.nix +++ b/pkgs/development/python-modules/pyrainbird/default.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { pname = "pyrainbird"; - version = "3.0.1"; + version = "4.0.0"; format = "setuptools"; disabled = pythonOlder "3.10"; @@ -31,7 +31,7 @@ buildPythonPackage rec { owner = "allenporter"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-Qi0NfLayypi/wKJZB9IOzoeaZsb3oq2JahXWdkwSjeo="; + hash = "sha256-VwcYyD9JtLDU2Bgp2hlptDz3vPoX4revTRKTA8OkWEw="; }; postPatch = '' From eec1488f889b7be6906a1e795b70c0787c342365 Mon Sep 17 00:00:00 2001 From: emilylange Date: Fri, 11 Aug 2023 23:25:42 +0200 Subject: [PATCH 066/154] grafana-agent: 0.35.2 -> 0.35.3 https://github.com/grafana/agent/releases/tag/v0.35.3 https://github.com/grafana/agent/blob/v0.35.3/CHANGELOG.md diff: https://github.com/grafana/agent/compare/v0.35.2...v0.35.3 --- pkgs/servers/monitoring/grafana-agent/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/monitoring/grafana-agent/default.nix b/pkgs/servers/monitoring/grafana-agent/default.nix index e07621e8213d..6034120130ce 100644 --- a/pkgs/servers/monitoring/grafana-agent/default.nix +++ b/pkgs/servers/monitoring/grafana-agent/default.nix @@ -10,16 +10,16 @@ buildGoModule rec { pname = "grafana-agent"; - version = "0.35.2"; + version = "0.35.3"; src = fetchFromGitHub { owner = "grafana"; repo = "agent"; rev = "v${version}"; - hash = "sha256-jotJe7DIPYNekAxiMdghdykEXVD7Pk/MPWSH2XjhkL8="; + hash = "sha256-3JfJISoziIcB2Mx2gSYjegjQwqGipUtvT927QSezuq4="; }; - vendorHash = "sha256-MqUkGKOzx8Qo9xbD9GdUryVwKjpVUOXFo2x0/2uz8Uk="; + vendorHash = "sha256-vzrp20Mg6AA0h3+5+qbKRa7nhx/hgiIHG6RNXLATpHE="; proxyVendor = true; # darwin/linux hash mismatch ldflags = let From 8563252c01ae28c60b9525ca6fb4933b430cf079 Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Fri, 30 Jun 2023 03:28:02 +0900 Subject: [PATCH 067/154] kodi: fix build with fmt10 kodi doesn't build with libfmt_10, which it pulls indirectly from spdlog We could make a spdlog variant with libfmt_9 but that compilation problem is already fixed upstream (PR still open), so just backport that PR until we get a new release Link: https://github.com/xbmc/xbmc/pull/23453 --- pkgs/applications/video/kodi/unwrapped.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/video/kodi/unwrapped.nix b/pkgs/applications/video/kodi/unwrapped.nix index fd11a46dcd2b..bb2c34083515 100644 --- a/pkgs/applications/video/kodi/unwrapped.nix +++ b/pkgs/applications/video/kodi/unwrapped.nix @@ -1,4 +1,5 @@ { stdenv, lib, fetchFromGitHub, autoconf, automake, libtool, makeWrapper +, fetchpatch , pkg-config, cmake, yasm, python3Packages , libxcrypt, libgcrypt, libgpg-error, libunistring , boost, avahi, lame @@ -110,7 +111,15 @@ in stdenv.mkDerivation { version = kodiVersion; src = kodi_src; - + patches = [ + # Fix compatiblity with fmt 10.0 (from spdlog). + # Remove with the next release: https://github.com/xbmc/xbmc/pull/23453 + (fetchpatch { + name = "Fix fmt10 compat"; + url = "https://github.com/xbmc/xbmc/pull/23453.patch"; + hash = "sha256-zMUparbQ8gfgeXj8W3MDmPi5OgLNz/zGCJINU7H6Rx0="; + }) + ]; buildInputs = [ gnutls libidn2 libtasn1 nasm p11-kit libxml2 python3Packages.python From 16227341cfbe8ecaf023e410854697e6faa30761 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Fri, 11 Aug 2023 15:48:07 -0700 Subject: [PATCH 068/154] brotab: patch out unnecessary "import pip" in setup.py --- pkgs/tools/misc/brotab/default.nix | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/misc/brotab/default.nix b/pkgs/tools/misc/brotab/default.nix index 85b630c9d67b..ce2effb25ce7 100644 --- a/pkgs/tools/misc/brotab/default.nix +++ b/pkgs/tools/misc/brotab/default.nix @@ -1,8 +1,9 @@ -{ lib, fetchFromGitHub, python }: +{ lib, fetchFromGitHub, fetchpatch, python }: python.pkgs.buildPythonApplication rec { - version = "1.4.2"; pname = "brotab"; + version = "1.4.2"; + format = "setuptools"; src = fetchFromGitHub { owner = "balta2ar"; @@ -11,11 +12,19 @@ python.pkgs.buildPythonApplication rec { hash = "sha256-HKKjiW++FwjdorqquSCIdi1InE6KbMbFKZFYHBxzg8Q="; }; + patches = [ + # https://github.com/balta2ar/brotab/pull/102 + (fetchpatch { + name = "remove-unnecessary-pip-import.patch"; + url = "https://github.com/balta2ar/brotab/commit/825cd48f255c911aabbfb495f6b8fc73f27d3fe5.patch"; + hash = "sha256-IN28AOLPKPUc3KkxIGFMpZNNXA1+O12NxS+Hl4KMXbg="; + }) + ]; + propagatedBuildInputs = with python.pkgs; [ - requests flask psutil - setuptools + requests ]; postPatch = '' @@ -25,6 +34,8 @@ python.pkgs.buildPythonApplication rec { --replace "requests==2.24.0" "requests>=2.24.0" ''; + __darwinAllowLocalNetworking = true; + nativeCheckInputs = with python.pkgs; [ pytestCheckHook ]; From 0d237f7011002e40313febabeea9d99cf3038bc8 Mon Sep 17 00:00:00 2001 From: figsoda Date: Fri, 11 Aug 2023 19:30:45 -0400 Subject: [PATCH 069/154] typeshare: 1.6.0 -> 1.7.0 Diff: https://github.com/1password/typeshare/compare/v1.6.0...v1.7.0 Changelog: https://github.com/1password/typeshare/blob/v1.7.0/CHANGELOG.md --- pkgs/development/tools/rust/typeshare/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/typeshare/default.nix b/pkgs/development/tools/rust/typeshare/default.nix index 544c8c75ef9e..4f5eb0a5a6ec 100644 --- a/pkgs/development/tools/rust/typeshare/default.nix +++ b/pkgs/development/tools/rust/typeshare/default.nix @@ -6,16 +6,16 @@ rustPlatform.buildRustPackage rec { pname = "typeshare"; - version = "1.6.0"; + version = "1.7.0"; src = fetchFromGitHub { owner = "1password"; repo = "typeshare"; rev = "v${version}"; - hash = "sha256-vKjSpjbjTY9YxJGtqyoat6qI9ipmou+HQt35Dhpgk4E="; + hash = "sha256-Ftr0YMrY6tPpfg25swYntBXLWGKT00PEz79aOiSgLsU="; }; - cargoHash = "sha256-dnQttsI6v90TJD8MekaLV63ltl147zBCe3mmfWj6cxs="; + cargoHash = "sha256-VIPIFdbyPcflqHHLkzpDugmw9+9CJRIv+Oy7PoaUZ5g="; nativeBuildInputs = [ installShellFiles ]; From 6826f4293ea8acc8385d3b47b6d3e290522dd755 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 12 Aug 2023 02:59:25 +0200 Subject: [PATCH 070/154] python310Packages.opower: 0.0.26 -> 0.0.26 https://github.com/tronikos/opower/compare/refs/tags/v0.0.26...v0.0.26 --- pkgs/development/python-modules/opower/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/opower/default.nix b/pkgs/development/python-modules/opower/default.nix index 299de618087f..dc9b5c1d9c5f 100644 --- a/pkgs/development/python-modules/opower/default.nix +++ b/pkgs/development/python-modules/opower/default.nix @@ -3,6 +3,7 @@ , arrow , buildPythonPackage , fetchFromGitHub +, pyotp , pytestCheckHook , pythonOlder , pythonRelaxDepsHook @@ -11,7 +12,7 @@ buildPythonPackage rec { pname = "opower"; - version = "0.0.20"; + version = "0.0.26"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -20,7 +21,7 @@ buildPythonPackage rec { owner = "tronikos"; repo = "opower"; rev = "refs/tags/v${version}"; - hash = "sha256-hb+TVnCAAnsoKPk9N1bDXj463CErp7nn2cteOumKhLs="; + hash = "sha256-W2lzMyu9N1ZLLaxoI8JLthtF7Zj3si1/mEVn5NrAlfU="; }; pythonRemoveDeps = [ @@ -36,6 +37,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ aiohttp arrow + pyotp ]; nativeCheckInputs = [ From 24515960d771fc98f4e4b8b914d453202820e7fb Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 12 Aug 2023 03:10:44 +0200 Subject: [PATCH 071/154] python310Packages.pyairvisual: 2022.12.1 -> 2023.08.1 https://github.com/bachya/pyairvisual/releases/tag/2023.08.1 --- .../python-modules/pyairvisual/default.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyairvisual/default.nix b/pkgs/development/python-modules/pyairvisual/default.nix index 9be744b74aa9..75525b943445 100644 --- a/pkgs/development/python-modules/pyairvisual/default.nix +++ b/pkgs/development/python-modules/pyairvisual/default.nix @@ -2,9 +2,11 @@ , aiohttp , aresponses , buildPythonPackage +, certifi , fetchFromGitHub , numpy , poetry-core +, pygments , pysmb , pytest-aiohttp , pytest-asyncio @@ -14,7 +16,7 @@ buildPythonPackage rec { pname = "pyairvisual"; - version = "2022.12.1"; + version = "2023.08.1"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -23,16 +25,24 @@ buildPythonPackage rec { owner = "bachya"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-xzTho4HsIU2YLURz9DfFfaRL3tsrtVi8n5IA2bRkyzw="; + hash = "sha256-+yqN3q+uA/v01uCguzUSoeCJK9lRmiiYn8d272+Dd2M="; }; + postPatch = '' + substituteInPlace pyproject.toml --replace \ + 'certifi = ">=2023.07.22"' \ + 'certifi = "*"' + ''; + nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ aiohttp + certifi numpy + pygments pysmb ]; From 0d0a8352e5109bc4d9f5f9192ab62c10e41076bc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 5 Aug 2023 10:02:08 +0200 Subject: [PATCH 072/154] python311Packages.python-roborock: 0.32.0 -> 0.32.2 Diff: https://github.com/humbertogontijo/python-roborock/compare/refs/tags/v0.32.0...v0.32.2 Changelog: https://github.com/humbertogontijo/python-roborock/blob/v0.32.2/CHANGELOG.md --- pkgs/development/python-modules/python-roborock/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/python-roborock/default.nix b/pkgs/development/python-modules/python-roborock/default.nix index ade8f0cfd76b..d00baf7fe5f3 100644 --- a/pkgs/development/python-modules/python-roborock/default.nix +++ b/pkgs/development/python-modules/python-roborock/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "python-roborock"; - version = "0.32.0"; + version = "0.32.2"; format = "pyproject"; disabled = pythonOlder "3.10"; @@ -29,7 +29,7 @@ buildPythonPackage rec { owner = "humbertogontijo"; repo = "python-roborock"; rev = "refs/tags/v${version}"; - hash = "sha256-DojIfAmYW/asvpAkcBj/pN1rdCPFD4nwkEqpGVBkMoE="; + hash = "sha256-QMKdStv8WNGUjRrtU6ZKXsJPsYWMXbDMqWUO1nkD1Cc="; }; pythonRelaxDeps = [ From bbbf38adc231951d4c875bdcb25046dc43c7d081 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 12 Aug 2023 03:12:26 +0200 Subject: [PATCH 073/154] home-assistnat: 2023.8.1 -> 2023.8.2 https://github.com/home-assistant/core/releases/tag/2023.8.2 --- pkgs/servers/home-assistant/component-packages.nix | 2 +- pkgs/servers/home-assistant/default.nix | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 521f73dbb72e..dea1851c167d 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -2,7 +2,7 @@ # Do not edit! { - version = "2023.8.1"; + version = "2023.8.2"; components = { "3_day_blinds" = ps: with ps; [ ]; diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index ad390836d707..c439d7117ad8 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -295,7 +295,7 @@ let extraBuildInputs = extraPackages python.pkgs; # Don't forget to run parse-requirements.py after updating - hassVersion = "2023.8.1"; + hassVersion = "2023.8.2"; in python.pkgs.buildPythonApplication rec { pname = "homeassistant"; @@ -311,7 +311,7 @@ in python.pkgs.buildPythonApplication rec { # Primary source is the pypi sdist, because it contains translations src = fetchPypi { inherit pname version; - hash = "sha256-u20hEdVoxp2MzLo6OonQZnkoxqK+myt4LwqB+mz3ipE="; + hash = "sha256-GFcCaB9Q7tAo3w1aKkLcQ4tKZM61kArveITe2wHsXWk="; }; # Secondary source is git for tests @@ -319,7 +319,7 @@ in python.pkgs.buildPythonApplication rec { owner = "home-assistant"; repo = "core"; rev = "refs/tags/${version}"; - hash = "sha256-CrfVokUk3KnkavM+/ci70ela7aJ60TSNymoCzZdxaIY="; + hash = "sha256-xNdFqJHWs0QAVNxjhGzQFVV+dGc4r/DA0Xm/BWHfSZw="; }; nativeBuildInputs = with python.pkgs; [ From ec9c86cf599bf5caf6c05114bd4693555c64cdb1 Mon Sep 17 00:00:00 2001 From: figsoda Date: Fri, 11 Aug 2023 21:38:45 -0400 Subject: [PATCH 074/154] typos: 1.16.3 -> 1.16.4 Diff: https://github.com/crate-ci/typos/compare/v1.16.3...v1.16.4 Changelog: https://github.com/crate-ci/typos/blob/v1.16.4/CHANGELOG.md --- pkgs/development/tools/typos/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/typos/default.nix b/pkgs/development/tools/typos/default.nix index 4c9c694d541e..57b23899155e 100644 --- a/pkgs/development/tools/typos/default.nix +++ b/pkgs/development/tools/typos/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "typos"; - version = "1.16.3"; + version = "1.16.4"; src = fetchFromGitHub { owner = "crate-ci"; repo = pname; rev = "v${version}"; - hash = "sha256-64cVDW5sScQCpBsP/dyHbWppYuGRQwXloRsMHFKT4yw="; + hash = "sha256-/LEE+54ppv/jkUgpuMReorQA9D4KAuPG04E8lIk7upA="; }; - cargoHash = "sha256-Sad28iwsCpZPo/V6DlLA+pjq0T3yv8fRHXDCnRfFzPg="; + cargoHash = "sha256-hvFDmtNweTXQEgu5ng/lBVu7OPnA8hA8h6HFvGxCJIE="; meta = with lib; { description = "Source code spell checker"; From 091b5a7a6ca339e21a4c3fc5c691e8dfd6edf17b Mon Sep 17 00:00:00 2001 From: figsoda Date: Fri, 11 Aug 2023 22:03:23 -0400 Subject: [PATCH 075/154] vimPlugins: update --- .../editors/vim/plugins/generated.nix | 182 ++++++++++-------- 1 file changed, 97 insertions(+), 85 deletions(-) diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index ccd11c80c39b..c1a1bc5ebec8 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -29,12 +29,12 @@ final: prev: ChatGPT-nvim = buildVimPluginFrom2Nix { pname = "ChatGPT.nvim"; - version = "2023-08-06"; + version = "2023-08-11"; src = fetchFromGitHub { owner = "jackMort"; repo = "ChatGPT.nvim"; - rev = "2107f7037c775bf0b9bff9015eed68929fcf493e"; - sha256 = "0djhynyrnrwvfhzr35vbp4gd17aaw0g2n4zsw0s7yazjyic3xsl3"; + rev = "346ebaba1c537f030505c9e5d92f48c88ee235b4"; + sha256 = "03v7ibqyfbsn6p7sdqjsi79aq2n87q92cx665g849a8s349dglai"; }; meta.homepage = "https://github.com/jackMort/ChatGPT.nvim/"; }; @@ -305,12 +305,12 @@ final: prev: SchemaStore-nvim = buildVimPluginFrom2Nix { pname = "SchemaStore.nvim"; - version = "2023-08-09"; + version = "2023-08-11"; src = fetchFromGitHub { owner = "b0o"; repo = "SchemaStore.nvim"; - rev = "129914a81535b2c7296c05587c07ac8876fbd3e6"; - sha256 = "1hgvhdzjcknapixh960giy8hjwsz47fsmv21k29dg8gaab5k75ja"; + rev = "6a36e79d9d1c2649063128e407c33e257cf85baf"; + sha256 = "0kz3p1cjk55iqxyns2znqjpdw97qsz6rbrvwn40nyypdca23zm8h"; }; meta.homepage = "https://github.com/b0o/SchemaStore.nvim/"; }; @@ -502,8 +502,8 @@ final: prev: src = fetchFromGitHub { owner = "stevearc"; repo = "aerial.nvim"; - rev = "bd31dd0ebe8fb46c452cc7dcd514687112d4d02e"; - sha256 = "0hpkz1kkv02y4c3bb45bs3jap7smsiprrm4vybwh00yhs82dpwfg"; + rev = "bb2cc2fbf0f5be6ff6cd7e467c7c6b02860f3c7b"; + sha256 = "0igkkyw8wyh3qi18is83szpay0088xfawk4050cww8kp3rxv1fld"; fetchSubmodules = true; }; meta.homepage = "https://github.com/stevearc/aerial.nvim/"; @@ -1147,12 +1147,12 @@ final: prev: bufferline-nvim = buildVimPluginFrom2Nix { pname = "bufferline.nvim"; - version = "2023-07-24"; + version = "2023-08-11"; src = fetchFromGitHub { owner = "akinsho"; repo = "bufferline.nvim"; - rev = "99f0932365b34e22549ff58e1bea388465d15e99"; - sha256 = "17cs0kbgavjsnwjp7n3xbznba0zfpz5g6wgxa6d30070w9hjq91j"; + rev = "417b303328118b6d836ae330142e88771c48a8a3"; + sha256 = "0cylncv3z34z76178whji62nsvrs55n8xrmz8bymdc0nlvkx7j4f"; }; meta.homepage = "https://github.com/akinsho/bufferline.nvim/"; }; @@ -1231,12 +1231,12 @@ final: prev: chadtree = buildVimPluginFrom2Nix { pname = "chadtree"; - version = "2023-08-08"; + version = "2023-08-12"; src = fetchFromGitHub { owner = "ms-jpq"; repo = "chadtree"; - rev = "0805b8630b24f028f28151c04c1d8291adf4bdb0"; - sha256 = "16jzq1rh86cd6cwkgxvfj500msmlmld0zkxkiq5pmbmcawbkhmz6"; + rev = "7dbc8b17c6d22a7511a8818636a8f7a428cf56f8"; + sha256 = "1vqw7g4kqjrcjfqzq4r995lh0yc466pa88d24ii38vwzmzp27z10"; }; meta.homepage = "https://github.com/ms-jpq/chadtree/"; }; @@ -2251,12 +2251,12 @@ final: prev: conjure = buildVimPluginFrom2Nix { pname = "conjure"; - version = "2023-07-11"; + version = "2023-08-04"; src = fetchFromGitHub { owner = "Olical"; repo = "conjure"; - rev = "2482871cbe0d1b85d331465cf7f065d5d2a7e2ac"; - sha256 = "1jmlpf0k9zf6djblpphxlwsg6l0nhfxni67z8gzmawxg8a300kgg"; + rev = "0d9b823db06cc11e6115b54297f690dff10c0299"; + sha256 = "0s7pf2jq1rfyxwina555702ln52h4x9gjnfk2sjpdgk7515bk9s5"; }; meta.homepage = "https://github.com/Olical/conjure/"; }; @@ -2299,12 +2299,12 @@ final: prev: copilot-lua = buildVimPluginFrom2Nix { pname = "copilot.lua"; - version = "2023-08-04"; + version = "2023-08-10"; src = fetchFromGitHub { owner = "zbirenbaum"; repo = "copilot.lua"; - rev = "f306957de0f9730de4298bb1ea85c3735ef7cc43"; - sha256 = "1v76k17wk4wri7gnf9fhaail2wjgsgipmjcqab5kkiavllngn24l"; + rev = "50ca36fd766db4d444094de81f5e131b6628f48f"; + sha256 = "1hmrz9vgnsjc27w58pk9ar06f7wzsc0f325rdj2sxhrg8v3kc1gl"; }; meta.homepage = "https://github.com/zbirenbaum/copilot.lua/"; }; @@ -2359,12 +2359,12 @@ final: prev: coq_nvim = buildVimPluginFrom2Nix { pname = "coq_nvim"; - version = "2023-08-06"; + version = "2023-08-12"; src = fetchFromGitHub { owner = "ms-jpq"; repo = "coq_nvim"; - rev = "3d202065fd34701618e049a6bdcf8634121877c6"; - sha256 = "112kwh4cyics8srgi2n4axwxb12278acish3v5dyfp97b0wcv7ar"; + rev = "64f4d9346b48566ecb910d2299a6fe9e156346f9"; + sha256 = "02yy75arzd0skhr69vvlwpawr2wznk729g5pznn6k2iymh4g2kkj"; }; meta.homepage = "https://github.com/ms-jpq/coq_nvim/"; }; @@ -4150,12 +4150,12 @@ final: prev: hotpot-nvim = buildVimPluginFrom2Nix { pname = "hotpot.nvim"; - version = "2023-08-10"; + version = "2023-08-11"; src = fetchFromGitHub { owner = "rktjmp"; repo = "hotpot.nvim"; - rev = "34050bff81bea0d8f90a6389b31d1399603c4ae4"; - sha256 = "0bvk9pk594xpm3gmq57dv7i9ms872smd4bm7hj6m3s31b65dqjdq"; + rev = "42cb3f364a7ac6c2dfca08c8b86f950b00097657"; + sha256 = "0y1049gmg6ia594ms00hx485d06cjmj9g65wgqnmziyjkssvbjan"; }; meta.homepage = "https://github.com/rktjmp/hotpot.nvim/"; }; @@ -4631,12 +4631,12 @@ final: prev: lazy-lsp-nvim = buildVimPluginFrom2Nix { pname = "lazy-lsp.nvim"; - version = "2023-07-10"; + version = "2023-08-11"; src = fetchFromGitHub { owner = "dundalek"; repo = "lazy-lsp.nvim"; - rev = "c35cb31854f87aece550404103d6ca921b2689aa"; - sha256 = "0ilcg7z7f02y8a319ajsdi8vyvm3aby6hihxzaa06r2aqn1g4dwj"; + rev = "4b10237a7f9e5ab678eb384a4266e2e28e8472f7"; + sha256 = "1rblszvg8g7bvqlx8f6dhr3hrs7azki2sbh60r5kk3p8884sjfyd"; }; meta.homepage = "https://github.com/dundalek/lazy-lsp.nvim/"; }; @@ -4667,12 +4667,12 @@ final: prev: lean-nvim = buildVimPluginFrom2Nix { pname = "lean.nvim"; - version = "2023-08-04"; + version = "2023-08-11"; src = fetchFromGitHub { owner = "Julian"; repo = "lean.nvim"; - rev = "9dd3f51eed8c6d309f56c6d7c1c9e2953eb52b4b"; - sha256 = "0xc3gz5kg95aani2wkk61s4a1v5vp32g447ypd3239y9zv7c36ai"; + rev = "67580fab5bed73920fa3fdd712fc8e805c389c3d"; + sha256 = "1wpklaiyk0hcipmrc1ampqn6x4qhag2srrb7cz22smh74bhw66cd"; }; meta.homepage = "https://github.com/Julian/lean.nvim/"; }; @@ -5122,12 +5122,12 @@ final: prev: lspsaga-nvim = buildVimPluginFrom2Nix { pname = "lspsaga.nvim"; - version = "2023-08-10"; + version = "2023-08-11"; src = fetchFromGitHub { owner = "nvimdev"; repo = "lspsaga.nvim"; - rev = "e552e9d2ffc7ba99e1a2f51764b48ad4c668ada4"; - sha256 = "0cb5hdskwpysmpd7iz99dc7xm0p2ywar4igllczx1l9nkcx85191"; + rev = "5890d58e8cf174ea5c69e9ea8c41558b01f18897"; + sha256 = "1zrzcm3jkv4s5rp012p9ymrralcafibiqnyraczx0p2rh9q16zhd"; }; meta.homepage = "https://github.com/nvimdev/lspsaga.nvim/"; }; @@ -5363,12 +5363,12 @@ final: prev: melange-nvim = buildVimPluginFrom2Nix { pname = "melange-nvim"; - version = "2023-08-08"; + version = "2023-08-11"; src = fetchFromGitHub { owner = "savq"; repo = "melange-nvim"; - rev = "11f35df3e091f35e966a335ed90b0d8a03851ffd"; - sha256 = "0s0pb1cgx40zcxjy7axx06ix4zl5f8i3gi86rqy2qsagzp1adbf6"; + rev = "517518347e41301bb2d1189d257f3918551a2ea5"; + sha256 = "0rh6bm12wkkwbhb1xfp3n57xjy9i99zc92wbzvalp8ylps9dvcpb"; }; meta.homepage = "https://github.com/savq/melange-nvim/"; }; @@ -5819,12 +5819,12 @@ final: prev: neogit = buildVimPluginFrom2Nix { pname = "neogit"; - version = "2023-08-10"; + version = "2023-08-11"; src = fetchFromGitHub { owner = "NeogitOrg"; repo = "neogit"; - rev = "34f5e78891a1543cb3a223052d4421e3256e8dd5"; - sha256 = "1ar82rwfwgwg4scf2y4wmlj14lhsmnnzkxa6xcnpnqjvy4p8dbz2"; + rev = "e80cd6424a8a85d93bac25b8cd8d1758105f2b0f"; + sha256 = "1x5cp250qim36l63qgikqpygmsdcciq7i69gcs3qfx9jxfgih4fh"; }; meta.homepage = "https://github.com/NeogitOrg/neogit/"; }; @@ -6803,12 +6803,12 @@ final: prev: nvim-gdb = buildVimPluginFrom2Nix { pname = "nvim-gdb"; - version = "2023-08-07"; + version = "2023-08-11"; src = fetchFromGitHub { owner = "sakhnik"; repo = "nvim-gdb"; - rev = "ca161dadc7699ca1d5fbbdc40ecf8ad54814d38f"; - sha256 = "1cv20k3cmxzbx0fbclqkkkg75hk6myhfr9n2mg1vcnrrkmvmh6vv"; + rev = "a15b1a6a060d77e5a0047ac2962b90c0d47c9903"; + sha256 = "088n6ix7hz0k49ykwmpyxphw7mqs1dxdkl43ba0b9nnwbfr6ii1z"; }; meta.homepage = "https://github.com/sakhnik/nvim-gdb/"; }; @@ -6971,12 +6971,12 @@ final: prev: nvim-lspconfig = buildVimPluginFrom2Nix { pname = "nvim-lspconfig"; - version = "2023-08-09"; + version = "2023-08-11"; src = fetchFromGitHub { owner = "neovim"; repo = "nvim-lspconfig"; - rev = "7c73a4dc44c3d62ee79ab9f03ba313251c0388d4"; - sha256 = "0k7cly9xmjgpq55izxk3kcrc6289fra3pcpkisslr9jj6qzq3bfq"; + rev = "a981d4447b92c54a4d464eb1a76b799bc3f9a771"; + sha256 = "0bcfrz5r1d5v5iizjirfg3hfzlb415557zhvkdig3ciphbly3ccj"; }; meta.homepage = "https://github.com/neovim/nvim-lspconfig/"; }; @@ -7187,12 +7187,12 @@ final: prev: nvim-scrollview = buildVimPluginFrom2Nix { pname = "nvim-scrollview"; - version = "2023-08-07"; + version = "2023-08-12"; src = fetchFromGitHub { owner = "dstein64"; repo = "nvim-scrollview"; - rev = "7fa516c1bd73c0be3e4a8e6693a249fc6e85cb83"; - sha256 = "1q47w5ksz9zfjczcffkg4iqq3v5cbjplqp7g6z4cxssr9wy3pwfr"; + rev = "f3991f78682fd24ad65d936d55715f4c7363016e"; + sha256 = "0csf3z48zl3zbj255sd0h823ggi4y2lg6gxy8qr4j0gwrphq1qsc"; }; meta.homepage = "https://github.com/dstein64/nvim-scrollview/"; }; @@ -7307,12 +7307,12 @@ final: prev: nvim-treesitter = buildVimPluginFrom2Nix { pname = "nvim-treesitter"; - version = "2023-08-10"; + version = "2023-08-11"; src = fetchFromGitHub { owner = "nvim-treesitter"; repo = "nvim-treesitter"; - rev = "477a5d76a241ea5d79974072ee133dada223420d"; - sha256 = "19k47cb9ra6xpwxn0yc13cxa2cfk262m73kld9rhz38f6kvy2qbi"; + rev = "fa414da96f4a2e60c2ac8082f0c1802b8f3c8f6c"; + sha256 = "027702lqkkn1pmwnypmwx1s8bz6lg6ix882g1rcwyrpn3lb85489"; }; meta.homepage = "https://github.com/nvim-treesitter/nvim-treesitter/"; }; @@ -7486,12 +7486,12 @@ final: prev: nvimdev-nvim = buildVimPluginFrom2Nix { pname = "nvimdev.nvim"; - version = "2023-07-20"; + version = "2023-08-12"; src = fetchFromGitHub { owner = "neovim"; repo = "nvimdev.nvim"; - rev = "07f161a0252f7ad1cf22a1ba4a567b41d9aece97"; - sha256 = "086qy6zqjjnjml8msxi34zx79cvqfmnv4lgg8gz32m3gpllazvkp"; + rev = "3b873456a439e572b590636a0c6ea7ccfec14776"; + sha256 = "16cz6lha7zb34qdsv1xg5hz4dk9pzaqnqvwgjmnfqcmpb5jw71x1"; }; meta.homepage = "https://github.com/neovim/nvimdev.nvim/"; }; @@ -8546,12 +8546,12 @@ final: prev: sg-nvim = buildVimPluginFrom2Nix { pname = "sg.nvim"; - version = "2023-08-08"; + version = "2023-08-11"; src = fetchFromGitHub { owner = "sourcegraph"; repo = "sg.nvim"; - rev = "6138d659f6a98ebf08d1a9206b456b792b17d52c"; - sha256 = "0gf533dgin5s6rn7d0wxzz87223vlb9kd8zz6mbwya8bh7gw9966"; + rev = "49f28eef7a78fb8c5fddf6fbf1c07c78035f2e03"; + sha256 = "17s2r6rmzz5fkiyhnkvpvyi8w3ffp0avnp4c7s6p3pi1lqwkz9nw"; }; meta.homepage = "https://github.com/sourcegraph/sg.nvim/"; }; @@ -8823,12 +8823,12 @@ final: prev: splitjoin-vim = buildVimPluginFrom2Nix { pname = "splitjoin.vim"; - version = "2023-08-10"; + version = "2023-08-11"; src = fetchFromGitHub { owner = "AndrewRadev"; repo = "splitjoin.vim"; - rev = "30a1d7cc3b061d37ee5cac866dae4b0604b5f20a"; - sha256 = "0c14d1dyijws9xwjnhqk33fkmhsq0vgfdjh7w2p0k20jvpl60inz"; + rev = "0e208e01e7981d59914f045144f5dee709abf891"; + sha256 = "09pp75byrqscp21sv9bvkbcfilqiqrfg7zrb8c0af6k9s7hsbz30"; fetchSubmodules = true; }; meta.homepage = "https://github.com/AndrewRadev/splitjoin.vim/"; @@ -8872,12 +8872,12 @@ final: prev: ssr-nvim = buildVimPluginFrom2Nix { pname = "ssr.nvim"; - version = "2023-08-09"; + version = "2023-08-11"; src = fetchFromGitHub { owner = "cshuaimin"; repo = "ssr.nvim"; - rev = "bc9c0d2dd765dafc1b8fecb28d0a317e7913b81f"; - sha256 = "18hhbq1fbsab3g3n4mj09jwapzra7754hp23w6dsv4nvf8rq27qc"; + rev = "027a89f84283a9051427d4f319720336535c2e82"; + sha256 = "1b8nllqvi12kg1ixzipwdxnc68qr034s9r4wqnydwccdi1cw6pdd"; }; meta.homepage = "https://github.com/cshuaimin/ssr.nvim/"; }; @@ -9306,12 +9306,12 @@ final: prev: telescope-frecency-nvim = buildVimPluginFrom2Nix { pname = "telescope-frecency.nvim"; - version = "2023-08-10"; + version = "2023-08-11"; src = fetchFromGitHub { owner = "nvim-telescope"; repo = "telescope-frecency.nvim"; - rev = "509288ef3de6419bf72c43781a1fe921420cf8ac"; - sha256 = "0maj0v7bvjg3ai2bv6xk5hxichvv6y0mjs2kkwpi3p309qssv435"; + rev = "9b17c177447915f066cf78952892fe771c3e43c5"; + sha256 = "0c9f7ahlhvky1n9wkc4vfkbiqnwf5d6b4mphcj7grrpm1imxfj8d"; }; meta.homepage = "https://github.com/nvim-telescope/telescope-frecency.nvim/"; }; @@ -10005,12 +10005,12 @@ final: prev: unison = buildVimPluginFrom2Nix { pname = "unison"; - version = "2023-08-09"; + version = "2023-08-10"; src = fetchFromGitHub { owner = "unisonweb"; repo = "unison"; - rev = "388d0b9051fc8bf2d5f96285ac2800835b0d696a"; - sha256 = "1cai2vzi456djxbnq0yi1inn5n4jzwwr2qffcr21v4jl823i603k"; + rev = "5966a2a591fc2b56cffbe98acec8fb67ade9c479"; + sha256 = "1r8agg2v15k7q28fmpxlag5nr6spxjja2jzmpa54ksw14y58cj00"; }; meta.homepage = "https://github.com/unisonweb/unison/"; }; @@ -10089,12 +10089,12 @@ final: prev: verilog_systemverilog-vim = buildVimPluginFrom2Nix { pname = "verilog_systemverilog.vim"; - version = "2023-02-20"; + version = "2023-08-11"; src = fetchFromGitHub { owner = "vhda"; repo = "verilog_systemverilog.vim"; - rev = "b47a3c0e5ace979f67326b82702b9da5acd7efb9"; - sha256 = "1ig8m86pbvjqvykgi0xm45c0q3h5ibwqjmr3scpqkz2ah6wahpvb"; + rev = "74e533b5f8f169af86af27d7206814103b35efcb"; + sha256 = "0f9fylwhmya8rzg605bjyn8qldhyk59d6r98fhd6s4nn3n939rvw"; }; meta.homepage = "https://github.com/vhda/verilog_systemverilog.vim/"; }; @@ -11853,12 +11853,12 @@ final: prev: vim-go = buildVimPluginFrom2Nix { pname = "vim-go"; - version = "2023-06-22"; + version = "2023-08-10"; src = fetchFromGitHub { owner = "fatih"; repo = "vim-go"; - rev = "12de6c0bc0efce3cedc5e28d4fe0ecc3a4aaeb77"; - sha256 = "0y576h385h9m7d8wic2b2743v8l4vvpcly6fk5siwziqbq2j082h"; + rev = "ca29cf84515431ba74dcf9abe6d403809b513e3b"; + sha256 = "13nsq9ch0jn79xnmhah3hi4v2dyaaypqgkw1x95az20apr19sv0f"; }; meta.homepage = "https://github.com/fatih/vim-go/"; }; @@ -13358,12 +13358,12 @@ final: prev: pname = "vim-pasta"; version = "2018-09-08"; src = fetchFromGitHub { - owner = "sickill"; + owner = "ku1ik"; repo = "vim-pasta"; rev = "cb4501a123d74fc7d66ac9f10b80c9d393746c66"; sha256 = "14rswwx24i75xzgkbx1hywan1msn2ki26353ly2pyvznnqss1pwq"; }; - meta.homepage = "https://github.com/sickill/vim-pasta/"; + meta.homepage = "https://github.com/ku1ik/vim-pasta/"; }; vim-pathogen = buildVimPluginFrom2Nix { @@ -13450,6 +13450,18 @@ final: prev: meta.homepage = "https://github.com/powerman/vim-plugin-AnsiEsc/"; }; + vim-pluto = buildVimPluginFrom2Nix { + pname = "vim-pluto"; + version = "2022-02-01"; + src = fetchFromGitHub { + owner = "hasundue"; + repo = "vim-pluto"; + rev = "a20df8c2e228f3db8a5cd004d1b7f275a591d4bd"; + sha256 = "1ds0hwhmsc0d67xcyk9sdmp2hckkr1nlb57dnxmfgsswirpxzbbq"; + }; + meta.homepage = "https://github.com/hasundue/vim-pluto/"; + }; + vim-polyglot = buildVimPluginFrom2Nix { pname = "vim-polyglot"; version = "2022-10-14"; @@ -14377,12 +14389,12 @@ final: prev: vim-test = buildVimPluginFrom2Nix { pname = "vim-test"; - version = "2023-08-09"; + version = "2023-08-11"; src = fetchFromGitHub { owner = "vim-test"; repo = "vim-test"; - rev = "7cb4ae5212451266a1f643642d47474063a99de4"; - sha256 = "1xqlp1b54ssvfw7p212bmd10ccsjz77rm3vnvhs955f0blg80ji5"; + rev = "837640f1cb74067aa326d533a8b4609800a55a8d"; + sha256 = "16605786h5dy5w667i2zfcl96ardr1nq37hlymyd0linffqbai42"; }; meta.homepage = "https://github.com/vim-test/vim-test/"; }; @@ -15579,12 +15591,12 @@ final: prev: catppuccin-nvim = buildVimPluginFrom2Nix { pname = "catppuccin-nvim"; - version = "2023-08-06"; + version = "2023-08-10"; src = fetchFromGitHub { owner = "catppuccin"; repo = "nvim"; - rev = "371430f32f2637d2dd5796399b3982d4cada61d8"; - sha256 = "1fk1zjr9w2s41vm35d25rgb06kq5gx6j9qhq5rr1qs8kdwb9a2gs"; + rev = "490078b1593c6609e6a50ad5001e7902ea601824"; + sha256 = "03nwnc8q65nqjvrxj5fg8c95ywqb94xyim2hxald95agiickv6rd"; }; meta.homepage = "https://github.com/catppuccin/nvim/"; }; From 3fa48f5a078dbcf7f4e3e00391a0d7a083e331a7 Mon Sep 17 00:00:00 2001 From: figsoda Date: Fri, 11 Aug 2023 22:04:26 -0400 Subject: [PATCH 076/154] vimPlugins.nvim-treesitter: update grammars --- .../vim/plugins/nvim-treesitter/generated.nix | 65 +++++++++++-------- 1 file changed, 38 insertions(+), 27 deletions(-) diff --git a/pkgs/applications/editors/vim/plugins/nvim-treesitter/generated.nix b/pkgs/applications/editors/vim/plugins/nvim-treesitter/generated.nix index 31c785d32326..848c15db27e8 100644 --- a/pkgs/applications/editors/vim/plugins/nvim-treesitter/generated.nix +++ b/pkgs/applications/editors/vim/plugins/nvim-treesitter/generated.nix @@ -27,12 +27,12 @@ }; arduino = buildGrammar { language = "arduino"; - version = "0.0.0+rev=11d4fd1"; + version = "0.0.0+rev=d988e6a"; src = fetchFromGitHub { owner = "ObserverOfTime"; repo = "tree-sitter-arduino"; - rev = "11d4fd1b0320514272cfbe3aa911a3cd8705b7a9"; - hash = "sha256-lbMmgY3Nriw2KxuOT3iI8h/nrVzMPG+E/NuNDLe9X9Y="; + rev = "d988e6a803203cc2bbfd2a8a84edffc73d2922b4"; + hash = "sha256-Q8LmoBIKqU/DCf387ew/LgvYbyT8KsxvmD+WFMXOMGI="; }; meta.homepage = "https://github.com/ObserverOfTime/tree-sitter-arduino"; }; @@ -258,12 +258,12 @@ }; cpp = buildGrammar { language = "cpp"; - version = "0.0.0+rev=869f1be"; + version = "0.0.0+rev=77cecd8"; src = fetchFromGitHub { owner = "tree-sitter"; repo = "tree-sitter-cpp"; - rev = "869f1be6ab4a384f649f4c6b374d0e4d7f0abab6"; - hash = "sha256-iNUu7hO3PCiSAg2jEP5wm5MAzHDv5BT++CTJeo5lzSI="; + rev = "77cecd88d28032bf4f54fd4ee68efb53a6c8c9a5"; + hash = "sha256-/w77s0qcJcLH6MX3BVuM37UQ1Xm/6t2oJ2KTq+hnIJI="; }; meta.homepage = "https://github.com/tree-sitter/tree-sitter-cpp"; }; @@ -280,12 +280,12 @@ }; cuda = buildGrammar { language = "cuda"; - version = "0.0.0+rev=ff8425f"; + version = "0.0.0+rev=d4285d0"; src = fetchFromGitHub { owner = "theHamsta"; repo = "tree-sitter-cuda"; - rev = "ff8425f44c1c273dd3b831913dff5cdb3fe94e25"; - hash = "sha256-stfyBvEK/fQ8yFSbYnFIx1cbn0IS3Lrc5jWswRXlbVg="; + rev = "d4285d0396a409c91bcd5a7fd362cf13cc6f8600"; + hash = "sha256-M4jx6pEj6kb0XIaWq7dzEvd+p6qadlowEyMYzJoeiRU="; }; meta.homepage = "https://github.com/theHamsta/tree-sitter-cuda"; }; @@ -645,12 +645,12 @@ }; glsl = buildGrammar { language = "glsl"; - version = "0.0.0+rev=e9c49d0"; + version = "0.0.0+rev=00ffe20"; src = fetchFromGitHub { owner = "theHamsta"; repo = "tree-sitter-glsl"; - rev = "e9c49d0752d968bc6dcd35d0c3a88397c5d51757"; - hash = "sha256-O/RNeoUZEPF8dxQDy41mQvmIyQ29V6MFr7Rgi7g4kDw="; + rev = "00ffe2099374613d2f313ace4a9dda44370b458b"; + hash = "sha256-K0JSRytbV5qMP6X3rT/cmEjxdTPgT63hQpahFrUjTOU="; }; meta.homepage = "https://github.com/theHamsta/tree-sitter-glsl"; }; @@ -810,12 +810,12 @@ }; hlsl = buildGrammar { language = "hlsl"; - version = "0.0.0+rev=d3dc3e3"; + version = "0.0.0+rev=95361dd"; src = fetchFromGitHub { owner = "theHamsta"; repo = "tree-sitter-hlsl"; - rev = "d3dc3e3cd010d200573eee26421dbdecfd6a6b59"; - hash = "sha256-mdESPOOxwJ1WEuO5No26wfvxsaiIFtQcLsE4m5OkzIQ="; + rev = "95361dde7ad4025fbec5dc4e5cdde0ea8ed64172"; + hash = "sha256-zOWkB0ii0awy/P2nHd3vGEoiLpo/fswhHVvYJOwfgzg="; }; meta.homepage = "https://github.com/theHamsta/tree-sitter-hlsl"; }; @@ -898,12 +898,12 @@ }; ispc = buildGrammar { language = "ispc"; - version = "0.0.0+rev=0bdbb03"; + version = "0.0.0+rev=cc57a93"; src = fetchFromGitHub { owner = "fab4100"; repo = "tree-sitter-ispc"; - rev = "0bdbb03d9abde78d8be2f2199e57119b2c7f8fd7"; - hash = "sha256-udsVK0FCbq6hFl0iLgWdTNbZdKps2avHk0SfJ/DIUxY="; + rev = "cc57a931eb782474324910e19ca253aa0d5fe38a"; + hash = "sha256-fWBKSLzegpf5duDEqIbz5hvEFlOZFjQdLpVxLhimSAY="; }; meta.homepage = "https://github.com/fab4100/tree-sitter-ispc"; }; @@ -1275,12 +1275,12 @@ }; objc = buildGrammar { language = "objc"; - version = "0.0.0+rev=77e28ae"; + version = "0.0.0+rev=97e022e"; src = fetchFromGitHub { owner = "amaanq"; repo = "tree-sitter-objc"; - rev = "77e28aeaede824a5f4aa501fb5f3138ab1019b9f"; - hash = "sha256-lK0wy6cEf9RSD9G96ywkUFZrRTk1WYtkdNbI7OBGRtg="; + rev = "97e022ec4a908108283bad23d42eee39ad204db6"; + hash = "sha256-3sp93zxliIrjp6Z1SUlFdp2rkcsFLba4SEIVdaQ4H+4="; }; meta.homepage = "https://github.com/amaanq/tree-sitter-objc"; }; @@ -1628,6 +1628,17 @@ }; meta.homepage = "https://github.com/FallenAngel97/tree-sitter-rego"; }; + requirements = buildGrammar { + language = "requirements"; + version = "0.0.0+rev=56ddb4d"; + src = fetchFromGitHub { + owner = "ObserverOfTime"; + repo = "tree-sitter-requirements"; + rev = "56ddb4dad2ea0761d20c0995a0de2990caa350b5"; + hash = "sha256-0q7cyv/a9gZG00tyBcF2i9TUcj3TqAi89CWjbzszD7U="; + }; + meta.homepage = "https://github.com/ObserverOfTime/tree-sitter-requirements"; + }; rnoweb = buildGrammar { language = "rnoweb"; version = "0.0.0+rev=502c112"; @@ -2121,12 +2132,12 @@ }; vim = buildGrammar { language = "vim"; - version = "0.0.0+rev=26b1aea"; + version = "0.0.0+rev=77e9e96"; src = fetchFromGitHub { owner = "neovim"; repo = "tree-sitter-vim"; - rev = "26b1aea3b3a5dae31f784a1204205fd57f2b82b5"; - hash = "sha256-NS6Ao2eK+7/NW7QufXiX2oBBLgGDLZX3PuPKezC+Quc="; + rev = "77e9e96c2ae5cff7343ce3dced263483acf95793"; + hash = "sha256-YGE/up7TE1+a6FrN8iEeHbAJr6kEMcWLMPaeyQRRVLs="; }; meta.homepage = "https://github.com/neovim/tree-sitter-vim"; }; @@ -2176,12 +2187,12 @@ }; wing = buildGrammar { language = "wing"; - version = "0.0.0+rev=46d47ba"; + version = "0.0.0+rev=f416d4b"; src = fetchFromGitHub { owner = "winglang"; repo = "wing"; - rev = "46d47bade5f6ee149c9f1449f64bace22a288a2e"; - hash = "sha256-wzOeJz3LM/t6e1WzNpAjeD0MNSO803YNQ3eFrHizyII="; + rev = "f416d4b76141d803ea2ebadf0629fca164133723"; + hash = "sha256-xSt6C64PmNJOqZxon4TWbAIlMzSaRClPc47wi9Sxdpk="; }; location = "libs/tree-sitter-wing"; generate = true; From 97368d9172753627208f57df745e5514916cf411 Mon Sep 17 00:00:00 2001 From: figsoda Date: Fri, 11 Aug 2023 22:04:36 -0400 Subject: [PATCH 077/154] vimPlugins.vim-pluto: add denops-vim to dependencies --- pkgs/applications/editors/vim/plugins/overrides.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 6b6040bddeab..0edf910d1d39 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -1440,6 +1440,10 @@ self: super: { preInstall = "cd vim"; }; + vim-pluto = super.vim-pluto.overrideAttrs { + dependencies = with self; [ denops-vim ]; + }; + vim-snipmate = super.vim-snipmate.overrideAttrs { dependencies = with self; [ vim-addon-mw-utils tlib_vim ]; }; From 7ecc712e79d0ecfd8b599f169d80c61b587a54dd Mon Sep 17 00:00:00 2001 From: figsoda Date: Fri, 11 Aug 2023 22:05:18 -0400 Subject: [PATCH 078/154] vimPlugins.sg-nvim: fix cargoHash --- pkgs/applications/editors/vim/plugins/overrides.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 0edf910d1d39..d0cd29215b3a 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -947,7 +947,7 @@ self: super: { pname = "sg-nvim-rust"; inherit (old) version src; - cargoHash = "sha256-cDlqJBx9p/rA+OAHZW2GcOiQmroU66urZ+qv2lXhg/4="; + cargoHash = "sha256-cMMNur6QKp87Q28JyCH2IMLE3xDVd7Irg9HvJ2AsnZc="; nativeBuildInputs = [ pkg-config ]; From 7f3c7b4b484dd9b31ce2e2950452a0824d710e92 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Sat, 12 Aug 2023 11:51:20 +0800 Subject: [PATCH 079/154] base16-universal-manager: use sri hash --- pkgs/applications/misc/base16-universal-manager/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/base16-universal-manager/default.nix b/pkgs/applications/misc/base16-universal-manager/default.nix index 3d43a2870945..2ecbc5f41809 100644 --- a/pkgs/applications/misc/base16-universal-manager/default.nix +++ b/pkgs/applications/misc/base16-universal-manager/default.nix @@ -8,10 +8,10 @@ buildGoModule rec { owner = "pinpox"; repo = "base16-universal-manager"; rev = "v${version}"; - sha256 = "11kal7x0lajzydbc2cvbsix9ympinsiqzfib7dg4b3xprqkyb9zl"; + hash = "sha256-9KflJ863j0VeOyu6j6O28VafetRrM8FW818qCvqhaoY="; }; - vendorSha256 = "19rba689319w3wf0b10yafydyz01kqg8b051vnijcyjyk0khwvsk"; + vendorHash = "sha256-U28OJ5heeiaj3aGAhR6eAXzfvFMehAUcHzyFkZBRK6c="; meta = with lib; { description = "A universal manager to set base16 themes for any supported application"; From ce74a47db90c03dc4960a0f8624b7e20ee560f44 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 12 Aug 2023 06:07:23 +0200 Subject: [PATCH 080/154] python310Packages.dremel3dpy: propagate decorator --- pkgs/development/python-modules/dremel3dpy/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/dremel3dpy/default.nix b/pkgs/development/python-modules/dremel3dpy/default.nix index 170b96fcc494..628b76576860 100644 --- a/pkgs/development/python-modules/dremel3dpy/default.nix +++ b/pkgs/development/python-modules/dremel3dpy/default.nix @@ -1,6 +1,7 @@ { lib , async-timeout , buildPythonPackage +, decorator , fetchPypi , imageio , imutils @@ -26,6 +27,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ async-timeout + decorator imageio imutils requests From 759f52b1afb83602e205dd1b07628771b2cfad98 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 04:17:40 +0000 Subject: [PATCH 081/154] zsh-forgit: 23.07.0 -> 23.08.1 --- pkgs/shells/zsh/zsh-forgit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/shells/zsh/zsh-forgit/default.nix b/pkgs/shells/zsh/zsh-forgit/default.nix index 3f3596b4d7b3..47cb366d1e46 100644 --- a/pkgs/shells/zsh/zsh-forgit/default.nix +++ b/pkgs/shells/zsh/zsh-forgit/default.nix @@ -13,13 +13,13 @@ stdenv.mkDerivation rec { pname = "zsh-forgit"; - version = "23.07.0"; + version = "23.08.1"; src = fetchFromGitHub { owner = "wfxr"; repo = "forgit"; rev = version; - sha256 = "sha256-PNeS/YpL56Ir3xoiUzOU5Tkhq0B5eyudzEuOt2yCqh4="; + sha256 = "sha256-YyPB7Kd6ScV0VVXR9wdxqd3oIyxdxRRgmK2c8E3uzWk="; }; strictDeps = true; From 7df3af4acd170286f3b774ec0fa9f54cbd5499d9 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 12 Aug 2023 04:20:00 +0000 Subject: [PATCH 082/154] nixd: add marsam to maintainers --- pkgs/development/tools/language-servers/nixd/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/language-servers/nixd/default.nix b/pkgs/development/tools/language-servers/nixd/default.nix index 81eac2985a1e..648f20bc7c9e 100644 --- a/pkgs/development/tools/language-servers/nixd/default.nix +++ b/pkgs/development/tools/language-servers/nixd/default.nix @@ -83,7 +83,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/nix-community/nixd"; changelog = "https://github.com/nix-community/nixd/releases/tag/${version}"; license = lib.licenses.lgpl3Plus; - maintainers = with lib.maintainers; [ inclyc Ruixi-rebirth ]; + maintainers = with lib.maintainers; [ inclyc Ruixi-rebirth marsam ]; platforms = lib.platforms.unix; }; } From c5bd0d6c7658212192dd00818d44fbc77f759d97 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 12 Aug 2023 04:20:00 +0000 Subject: [PATCH 083/154] llhttp: 8.1.1 -> 9.0.0 Diff: https://github.com/nodejs/llhttp/compare/release/v8.1.1...release/v9.0.0 Changelog: https://github.com/nodejs/llhttp/releases/tag/release/v9.0.0 --- pkgs/development/libraries/llhttp/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/llhttp/default.nix b/pkgs/development/libraries/llhttp/default.nix index cba1ddcf2fc3..4a03c9bd0f10 100644 --- a/pkgs/development/libraries/llhttp/default.nix +++ b/pkgs/development/libraries/llhttp/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "llhttp"; - version = "8.1.1"; + version = "9.0.0"; src = fetchFromGitHub { owner = "nodejs"; repo = "llhttp"; rev = "release/v${version}"; - hash = "sha256-srAHKyYvdEGtjV7BwcKQArwAChRoZqTCfa/RefI/8wQ="; + hash = "sha256-mk9tNZJONh1xdZ8lqquMfFDEvEdYRucNlSrR64U8eaA="; }; nativeBuildInputs = [ @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Port of http_parser to llparse"; homepage = "https://llhttp.org/"; + changelog = "https://github.com/nodejs/llhttp/releases/tag/${src.rev}"; license = licenses.mit; maintainers = [ maintainers.marsam ]; platforms = platforms.all; From be61fc97288204f0b8752f9df34fdd061b952fa6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 04:33:36 +0000 Subject: [PATCH 084/154] qownnotes: 23.7.3 -> 23.8.0 --- pkgs/applications/office/qownnotes/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/office/qownnotes/default.nix b/pkgs/applications/office/qownnotes/default.nix index 84ba9c2fbb73..e474a5de9924 100644 --- a/pkgs/applications/office/qownnotes/default.nix +++ b/pkgs/applications/office/qownnotes/default.nix @@ -19,14 +19,14 @@ let pname = "qownnotes"; appname = "QOwnNotes"; - version = "23.7.3"; + version = "23.8.0"; in stdenv.mkDerivation { inherit pname appname version; src = fetchurl { url = "https://github.com/pbek/QOwnNotes/releases/download/v${version}/qownnotes-${version}.tar.xz"; - hash = "sha256-Jk0KPYYB+CW60ggVn58JKJ1UX5VXWbSUC+osHG4wjR0="; + hash = "sha256-ZvZOUcKtY+V0zhqsOYNi3W8yxRPUdYsp2kSHETRCTLs="; }; nativeBuildInputs = [ From 0c89c5d8ec0bdee9f4f043be5eb9dc2ea7d23b12 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 12 Aug 2023 03:07:03 +0000 Subject: [PATCH 085/154] terraform-providers.equinix: 1.14.5 -> 1.14.6 --- .../networking/cluster/terraform-providers/providers.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index f7b906074752..ed1df071ed2a 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -363,11 +363,11 @@ "vendorHash": "sha256-oVTanZpCWs05HwyIKW2ajiBPz1HXOFzBAt5Us+EtTRw=" }, "equinix": { - "hash": "sha256-nqKswIq7cOEvGuoRA9Fv5j84Ob/z2C+Ux5ecdhTW0RY=", + "hash": "sha256-lo3DxEXa0nSm+KXBmWwulyNNsctrFvZJLHVJ087BsoU=", "homepage": "https://registry.terraform.io/providers/equinix/equinix", "owner": "equinix", "repo": "terraform-provider-equinix", - "rev": "v1.14.5", + "rev": "v1.14.6", "spdx": "MIT", "vendorHash": "sha256-7a90fzAU76QRXkSa+G/N3kMPP8jy68i72i2JSlUrvfc=" }, From 01f7348aa240f457956f5b8afa7d46702edafcd4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 12 Aug 2023 03:07:30 +0000 Subject: [PATCH 086/154] terraform-providers.github: 5.32.0 -> 5.33.0 --- .../networking/cluster/terraform-providers/providers.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index ed1df071ed2a..2311c936e79b 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -436,11 +436,11 @@ "vendorHash": "sha256-uWTY8cFztXFrQQ7GW6/R+x9M6vHmsb934ldq+oeW5vk=" }, "github": { - "hash": "sha256-Y70HJEUArUCT1XM3F02bUNPwB1bW4N/Gg/M6aW7XcMM=", + "hash": "sha256-9U3vF8xunpTKbOTytUEscMeS3ya6u+PVkNVJjufhpZ0=", "homepage": "https://registry.terraform.io/providers/integrations/github", "owner": "integrations", "repo": "terraform-provider-github", - "rev": "v5.32.0", + "rev": "v5.33.0", "spdx": "MIT", "vendorHash": null }, From 85edb500d8fe9b36031403d20c1f321b3e603d85 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 12 Aug 2023 03:09:16 +0000 Subject: [PATCH 087/154] terraform-providers.launchdarkly: 2.14.0 -> 2.15.0 --- .../networking/cluster/terraform-providers/providers.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index 2311c936e79b..dc901bdf698a 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -664,11 +664,11 @@ "vendorHash": "sha256-9AmfvoEf7E6lAblPIWizElng5GQJG/hQ5o6Mo3AN+EA=" }, "launchdarkly": { - "hash": "sha256-gXpnYX4G+KYEPr4385VgbVfbfkNRc0z2txaaH16nJqI=", + "hash": "sha256-gXT/rBlucBjg+8cjpSXdlClFGNuWmq6tZuuMfsBhR2E=", "homepage": "https://registry.terraform.io/providers/launchdarkly/launchdarkly", "owner": "launchdarkly", "repo": "terraform-provider-launchdarkly", - "rev": "v2.14.0", + "rev": "v2.15.0", "spdx": "MPL-2.0", "vendorHash": "sha256-I+9hfKWBbclXXpthQc9LAHhZ7MYr/8I89mLeIVeae+Q=" }, From 042c8faa6b3502517e163af80e7bd8a70db7bb88 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 12 Aug 2023 03:11:43 +0000 Subject: [PATCH 088/154] terraform-providers.spotinst: 1.132.0 -> 1.133.0 --- .../networking/cluster/terraform-providers/providers.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index dc901bdf698a..e9904bb0bfd1 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -1061,11 +1061,11 @@ "vendorHash": "sha256-NO1r/EWLgH1Gogru+qPeZ4sW7FuDENxzNnpLSKstnE8=" }, "spotinst": { - "hash": "sha256-eZiWhMtsrys64NjN12BDaxL2b2GynIJMhWe+D33wgsw=", + "hash": "sha256-g0qkUzLcMZZQrYtRbpyNWkpYLzJskP7Be+tGs3SGyVo=", "homepage": "https://registry.terraform.io/providers/spotinst/spotinst", "owner": "spotinst", "repo": "terraform-provider-spotinst", - "rev": "v1.132.0", + "rev": "v1.133.0", "spdx": "MPL-2.0", "vendorHash": "sha256-5F8A8v8YQXrYAgWGYjO5G+sY3SY+O2oiYo3zVLZ9LUc=" }, From ac7f4710983438113882e2c6b98245253009b367 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 12 Aug 2023 03:15:02 +0000 Subject: [PATCH 089/154] terraform-providers.tencentcloud: 1.81.19 -> 1.81.20 --- .../networking/cluster/terraform-providers/providers.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index e9904bb0bfd1..3bdf3a3df077 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -1115,11 +1115,11 @@ "vendorHash": "sha256-32ENfzBep97Wn0FvMIEuqxIAmxjTtw2UvDvYJTmJJNc=" }, "tencentcloud": { - "hash": "sha256-RipntxK8i/uyTolf6Z8DJDkNYMsEYcdDpDQfNnGORxQ=", + "hash": "sha256-T98RZ775nXIjqanqWhZfz+IKJIXvDEkVnqHhznilYe0=", "homepage": "https://registry.terraform.io/providers/tencentcloudstack/tencentcloud", "owner": "tencentcloudstack", "repo": "terraform-provider-tencentcloud", - "rev": "v1.81.19", + "rev": "v1.81.20", "spdx": "MPL-2.0", "vendorHash": null }, From 34616cd80a3edc6f57d795e9f6e8ed815d24b429 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 05:07:45 +0000 Subject: [PATCH 090/154] exoscale-cli: 1.71.2 -> 1.72.0 --- pkgs/tools/admin/exoscale-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/admin/exoscale-cli/default.nix b/pkgs/tools/admin/exoscale-cli/default.nix index 13dd3369964f..0f55bc9dbd56 100644 --- a/pkgs/tools/admin/exoscale-cli/default.nix +++ b/pkgs/tools/admin/exoscale-cli/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "exoscale-cli"; - version = "1.71.2"; + version = "1.72.0"; src = fetchFromGitHub { owner = "exoscale"; repo = "cli"; rev = "v${version}"; - sha256 = "sha256-c+u4mEpkzIEg3C1nQCSAhWdWWVxrW12Tt1RelgPkP1Y="; + sha256 = "sha256-+M7+/iexcqQD1RVJziNll0XaPAsUiFlC3+1EwXxA5P0="; }; vendorHash = null; From afc5878c556602bddf840fa46293ae8f24abdc4d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 05:19:58 +0000 Subject: [PATCH 091/154] credhub-cli: 2.9.18 -> 2.9.19 --- pkgs/tools/admin/credhub-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/admin/credhub-cli/default.nix b/pkgs/tools/admin/credhub-cli/default.nix index 78d9e1d0fbcd..9483d59846d6 100644 --- a/pkgs/tools/admin/credhub-cli/default.nix +++ b/pkgs/tools/admin/credhub-cli/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "credhub-cli"; - version = "2.9.18"; + version = "2.9.19"; src = fetchFromGitHub { owner = "cloudfoundry-incubator"; repo = "credhub-cli"; rev = version; - sha256 = "sha256-Fr9hV8mPBIid/5jR5u6jiGjr7a9HbSVCaReXx9jGo/Q="; + sha256 = "sha256-7Bmw3rJbb+Ae6gvVROz7hADDrGr8eiZX6g+ZpWSd99k="; }; # these tests require network access that we're not going to give them From cbe3b1e50dcc9bf59382f045557d11ab27683f1d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 05:57:32 +0000 Subject: [PATCH 092/154] goflow2: 1.3.4 -> 2.0.0 --- pkgs/tools/networking/goflow2/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/goflow2/default.nix b/pkgs/tools/networking/goflow2/default.nix index 2ba027e72236..fafc7297a284 100644 --- a/pkgs/tools/networking/goflow2/default.nix +++ b/pkgs/tools/networking/goflow2/default.nix @@ -5,13 +5,13 @@ buildGoModule rec { pname = "goflow2"; - version = "1.3.4"; + version = "2.0.0"; src = fetchFromGitHub { owner = "netsampler"; repo = pname; rev = "v${version}"; - hash = "sha256-0E3iSO+ObaPhIUerF4y5UygJMSMJNTJwI6RqHunqrZ0="; + hash = "sha256-tY2+4lGy+2thpRDNeTw1kfOtZvOspXCYU7dhYcckbRo="; }; ldflags = [ @@ -20,7 +20,7 @@ buildGoModule rec { "-X=main.version=${version}" ]; - vendorHash = "sha256-tNrCsCKBoUsrCOlbI1FUoksWoI4jUiYLF+A8Fjfe9Qk="; + vendorHash = "sha256-KcknR2IaHz2EzOFwSHppbmNDISrFdNoB4QmLT74/KWY="; meta = with lib; { description = "High performance sFlow/IPFIX/NetFlow Collector"; From 7ad1b2d4e1eb8f7b127271f2540db60eee0c6be0 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Fri, 11 Aug 2023 22:59:49 -0700 Subject: [PATCH 093/154] python3.pkgs.single-version: use poetry-core instead of poetry (#248626) --- .../single-version/0001-set-poetry-core.patch | 21 ------------------- .../python-modules/single-version/default.nix | 15 +++++++++++-- 2 files changed, 13 insertions(+), 23 deletions(-) delete mode 100644 pkgs/development/python-modules/single-version/0001-set-poetry-core.patch diff --git a/pkgs/development/python-modules/single-version/0001-set-poetry-core.patch b/pkgs/development/python-modules/single-version/0001-set-poetry-core.patch deleted file mode 100644 index 4c6f869c0c27..000000000000 --- a/pkgs/development/python-modules/single-version/0001-set-poetry-core.patch +++ /dev/null @@ -1,21 +0,0 @@ -From d949b37151cd538d4c6a15e1ba6c1343f8bff76d Mon Sep 17 00:00:00 2001 -From: "P. R. d. O" -Date: Mon, 6 Dec 2021 15:26:19 -0600 -Subject: [PATCH] set poetry-core - ---- - pyproject.toml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/pyproject.toml b/pyproject.toml -index d3fdc52..bd7ddc2 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -27,4 +27,4 @@ black = "^19.10b0" - - [build-system] - requires = ["poetry>=0.12"] --build-backend = "poetry.masonry.api" -+build-backend = "poetry.core.masonry.api" --- -2.33.1 diff --git a/pkgs/development/python-modules/single-version/default.nix b/pkgs/development/python-modules/single-version/default.nix index b1ba4adfa120..53989afe94f8 100644 --- a/pkgs/development/python-modules/single-version/default.nix +++ b/pkgs/development/python-modules/single-version/default.nix @@ -1,4 +1,10 @@ -{ lib, buildPythonPackage, fetchFromGitHub, poetry-core, pytestCheckHook }: +{ lib +, buildPythonPackage +, fetchFromGitHub +, fetchpatch +, poetry-core +, pytestCheckHook +}: buildPythonPackage rec { pname = "single-version"; @@ -13,7 +19,12 @@ buildPythonPackage rec { }; patches = [ - ./0001-set-poetry-core.patch + # https://github.com/hongquan/single-version/pull/4 + (fetchpatch { + name = "use-poetry-core.patch"; + url = "https://github.com/hongquan/single-version/commit/0cdf9795cb0522e90a8dc00306f1ff7bb85621ad.patch"; + hash = "sha256-eT9G1XvkNF0+NKgx+yN7ei53xIEMvnc7V/KtPLqlWik="; + }) ]; nativeBuildInputs = [ poetry-core ]; From 30df053e77ac12c00a3b67f60950fa55923d0edd Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Fri, 11 Aug 2023 23:03:52 -0700 Subject: [PATCH 094/154] python3.pkgs.jupyter-packaging: fix tests with setuptools 67.5.0+ (#246919) --- .../python-modules/jupyter-packaging/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/jupyter-packaging/default.nix b/pkgs/development/python-modules/jupyter-packaging/default.nix index 24ad566b2a2c..38dd7927d1eb 100644 --- a/pkgs/development/python-modules/jupyter-packaging/default.nix +++ b/pkgs/development/python-modules/jupyter-packaging/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchPypi +, fetchpatch , deprecation , hatchling , pythonOlder @@ -23,6 +24,14 @@ buildPythonPackage rec { hash = "sha256-nZsrY7l//WeovFORwypCG8QVsmSjLJnk2NjdMdqunPQ="; }; + patches = [ + (fetchpatch { + name = "setuptools-68-test-compatibility.patch"; + url = "https://github.com/jupyter/jupyter-packaging/commit/e963fb27aa3b58cd70c5ca61ebe68c222d803b7e.patch"; + hash = "sha256-NlO07wBCutAJ1DgoT+rQFkuC9Y+DyF1YFlTwWpwsJzo="; + }) + ]; + nativeBuildInputs = [ hatchling ]; From 9144202a04aa4dd5de84b676c1ace45d2d8c850c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 06:05:44 +0000 Subject: [PATCH 095/154] ctre: 3.7.2 -> 3.8 --- pkgs/development/libraries/ctre/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/ctre/default.nix b/pkgs/development/libraries/ctre/default.nix index 2b3631a565da..bdc35ec23dad 100644 --- a/pkgs/development/libraries/ctre/default.nix +++ b/pkgs/development/libraries/ctre/default.nix @@ -6,13 +6,13 @@ stdenv.mkDerivation rec { pname = "ctre"; - version = "3.7.2"; + version = "3.8"; src = fetchFromGitHub { owner = "hanickadot"; repo = "compile-time-regular-expressions"; rev = "v${version}"; - hash = "sha256-pO6PW4oZsCA2xaMCsaJz2Bu203zyMUkbjO3OOBEbSiw="; + hash = "sha256-oGJHSyvcgvBJh5fquK6dU70czVg4txcGTuicvrTK2hc="; }; nativeBuildInputs = [ cmake ]; From 3e9c7257f3e3682661d8c9476177ef48af91ab4e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 12 Aug 2023 08:09:22 +0200 Subject: [PATCH 096/154] python311Packages.homeassistant-stubs: 2023.8.0 -> 2023.8.2 https://github.com/KapJI/homeassistant-stubs/releases/tag/2023.8.2 --- pkgs/servers/home-assistant/stubs.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/home-assistant/stubs.nix b/pkgs/servers/home-assistant/stubs.nix index 0f06de8f7dce..c40b8beb8b7a 100644 --- a/pkgs/servers/home-assistant/stubs.nix +++ b/pkgs/servers/home-assistant/stubs.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "homeassistant-stubs"; - version = "2023.8.0"; + version = "2023.8.2"; format = "pyproject"; disabled = python.version != home-assistant.python.version; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "KapJI"; repo = "homeassistant-stubs"; rev = "refs/tags/${version}"; - hash = "sha256-znnNWQpoJ+omYt7keW14Nc7FDqiCpZNsEWL0hEijtsI="; + hash = "sha256-uoDpwXJfZC26oesMTv1mjO7Ib0dKamTQdIYyLJnrERk="; }; nativeBuildInputs = [ From 1e2d0390653ff6ff6a68305dcec76bde55012727 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 06:19:02 +0000 Subject: [PATCH 097/154] jumppad: 0.5.35 -> 0.5.38 --- pkgs/tools/virtualization/jumppad/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/virtualization/jumppad/default.nix b/pkgs/tools/virtualization/jumppad/default.nix index 30d7ae41fa97..45a3e30603f6 100644 --- a/pkgs/tools/virtualization/jumppad/default.nix +++ b/pkgs/tools/virtualization/jumppad/default.nix @@ -2,15 +2,15 @@ buildGoModule rec { pname = "jumppad"; - version = "0.5.35"; + version = "0.5.38"; src = fetchFromGitHub { owner = "jumppad-labs"; repo = pname; rev = "v${version}"; - hash = "sha256-ZqP1m2Fbm9bn9uxJ7Ll4Vqa+STIrxX0jALGZJmOyAT8="; + hash = "sha256-s779QQ1fzVKFIMoj7X3MLLo1Z3NBSGPoKoDi3xM0fr8="; }; - vendorHash = "sha256-LneL4SzvcThfqqWdKpAU3mFAW1FVRTU9/T3l+yKBSME="; + vendorHash = "sha256-37j7taSmWhs9NQbv41aljR07HCTRrLd3ddiktV/XKBs="; ldflags = [ "-s" "-w" "-X main.version=${version}" From 7249e2e0c203e59f8e5454418e49c5b25826531c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 06:21:55 +0000 Subject: [PATCH 098/154] linkerd: 2.13.5 -> 2.13.6 --- pkgs/applications/networking/cluster/linkerd/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/linkerd/default.nix b/pkgs/applications/networking/cluster/linkerd/default.nix index 56823696c03a..8141b8bd87d6 100644 --- a/pkgs/applications/networking/cluster/linkerd/default.nix +++ b/pkgs/applications/networking/cluster/linkerd/default.nix @@ -2,7 +2,7 @@ (callPackage ./generic.nix { }) { channel = "stable"; - version = "2.13.5"; - sha256 = "0mjb0wcwyd51ap0kvkfmykh6zqijg4z2g5yxvp9aq67l984wh7sb"; + version = "2.13.6"; + sha256 = "1z5gcz1liyxydy227vb350k0hsq31x80kvxamx7l1xkd2p0mcmbj"; vendorSha256 = "sha256-5T3YrYr7xeRkAADeE24BPu4PYU4mHFspqAiBpS8n4Y0="; } From d391d3173a66985c8ec4521de651d39812fd8eeb Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 06:31:36 +0000 Subject: [PATCH 099/154] gotrue-supabase: 2.83.1 -> 2.92.0 --- pkgs/tools/security/gotrue/supabase.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/gotrue/supabase.nix b/pkgs/tools/security/gotrue/supabase.nix index 45a6e9db3178..3ee604a90b9b 100644 --- a/pkgs/tools/security/gotrue/supabase.nix +++ b/pkgs/tools/security/gotrue/supabase.nix @@ -7,16 +7,16 @@ buildGoModule rec { pname = "gotrue"; - version = "2.83.1"; + version = "2.92.0"; src = fetchFromGitHub { owner = "supabase"; repo = pname; rev = "v${version}"; - hash = "sha256-3H2B6gEL9qatR49P+0E+O0EDd+uylb0nDETqxW+XuFY="; + hash = "sha256-acOTuvs9AFDGdmj4dwTAabhO31MAJgYOVZghlPQiXT4="; }; - vendorHash = "sha256-eG6zB/nfsYYvvLf5i8AySkTfXv9rIGTTmyMA4PtcGjg="; + vendorHash = "sha256-r1xJka1ISahaHJOkFwjn/Nrf2EU0iGVosz8PZnH31TE="; ldflags = [ "-s" From 116eff3741fddc077cfcbb2d382f3ce490871590 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 06:42:43 +0000 Subject: [PATCH 100/154] librecad: 2.2.0.1 -> 2.2.0.2 --- pkgs/applications/misc/librecad/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/librecad/default.nix b/pkgs/applications/misc/librecad/default.nix index c0acdf7a83c0..eb2e3c136cf4 100644 --- a/pkgs/applications/misc/librecad/default.nix +++ b/pkgs/applications/misc/librecad/default.nix @@ -14,13 +14,13 @@ mkDerivation rec { pname = "librecad"; - version = "2.2.0.1"; + version = "2.2.0.2"; src = fetchFromGitHub { owner = "LibreCAD"; repo = "LibreCAD"; rev = version; - sha256 = "sha256-5tezXhkInOG+TBjEixXL/qUOHUXD9dR8vu06zl3p4Ek="; + sha256 = "sha256-Vj6nvOfmhzou2hhmujm47a7aKBzmgchDb/BbwCb3/hI="; }; buildInputs = [ From 1dff6b719f1cfe8c44e9206f59ebbdd2130704a5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 06:53:36 +0000 Subject: [PATCH 101/154] oh-my-posh: 18.1.0 -> 18.3.3 --- pkgs/development/tools/oh-my-posh/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/oh-my-posh/default.nix b/pkgs/development/tools/oh-my-posh/default.nix index 6c2a95ec26a7..4e3b56624ccf 100644 --- a/pkgs/development/tools/oh-my-posh/default.nix +++ b/pkgs/development/tools/oh-my-posh/default.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "oh-my-posh"; - version = "18.1.0"; + version = "18.3.3"; src = fetchFromGitHub { owner = "jandedobbeleer"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-qK9hjsWhVTzxFo4SSvKb5IgZteVabWlCtoetu9v9xIE="; + hash = "sha256-AJw+NNTbksYSW2VqUzxLwxwd3OjM9uK/ou2CVS2zNvw="; }; - vendorHash = "sha256-cATGMi/nL8dvlsR+cuvKH6Y9eR3UqcVjvZAj35Ydn2c="; + vendorHash = "sha256-xkguBWk2Nh8w7C7tKbvaP0tRgZO4z08AEsdjNlJYC6Q="; sourceRoot = "${src.name}/src"; From a71d13dc74d5217f51b71718db3a372bc77777d3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 07:01:23 +0000 Subject: [PATCH 102/154] f2: 1.9.0 -> 1.9.1 --- pkgs/tools/misc/f2/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/f2/default.nix b/pkgs/tools/misc/f2/default.nix index 48b14b867059..43c9d52a3dd1 100644 --- a/pkgs/tools/misc/f2/default.nix +++ b/pkgs/tools/misc/f2/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "f2"; - version = "1.9.0"; + version = "1.9.1"; src = fetchFromGitHub { owner = "ayoisaiah"; repo = "f2"; rev = "v${version}"; - sha256 = "sha256-2+wp9hbPDH8RAeQNH1OYDfFlev+QTsEHixYb/luR9F0="; + sha256 = "sha256-vpyI6WtK/0UpPiB8y+HpPd0IsKKkMHa/eIreYo32iAA="; }; - vendorHash = "sha256-sOTdP+MuOH9jB3RMajeUx84pINSuWVRw5p/9lrOj6uo="; + vendorHash = "sha256-Bz3Igjcyq4rkMkgv1J3+JiAqroAjxyAvHw4d4eZJgAM="; ldflags = [ "-s" "-w" "-X=main.Version=${version}" ]; From b93d18275c3e0ea8a5e471319420734bc07b808b Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 12 Aug 2023 08:10:06 +0100 Subject: [PATCH 103/154] linux: disable KUNIT only at 5.5 and later `KUNIT` knob was added around 5.5 release: https://github.com/torvalds/linux/commit/914cc63eea6fbe11ed46dba5e4438d81b0cd42d2 --- pkgs/os-specific/linux/kernel/common-config.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index caa788a92c41..e04fa843f0f2 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -1037,7 +1037,7 @@ let # > CONFIG_KUNIT should not be enabled in a production environment. Enabling KUnit disables Kernel Address-Space Layout Randomization (KASLR), and tests may affect the state of the kernel in ways not suitable for production. # https://www.kernel.org/doc/html/latest/dev-tools/kunit/start.html - KUNIT = no; + KUNIT = whenAtLeast "5.5" no; } // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") { # Enable CPU/memory hotplug support # Allows you to dynamically add & remove CPUs/memory to a VM client running NixOS without requiring a reboot From 7ccfe56d631b35ccdfafe3cf5352fdd138dc0c6d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 07:19:35 +0000 Subject: [PATCH 104/154] treesheets: unstable-2023-08-08 -> unstable-2023-08-10 --- pkgs/applications/office/treesheets/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/office/treesheets/default.nix b/pkgs/applications/office/treesheets/default.nix index c35c601fe53d..a3332c6d7a74 100644 --- a/pkgs/applications/office/treesheets/default.nix +++ b/pkgs/applications/office/treesheets/default.nix @@ -12,13 +12,13 @@ stdenv.mkDerivation rec { pname = "treesheets"; - version = "unstable-2023-08-08"; + version = "unstable-2023-08-10"; src = fetchFromGitHub { owner = "aardappel"; repo = "treesheets"; - rev = "e7ebdbc21e69c0cda99ab1c8bdf873495b6ab9a0"; - sha256 = "P/ln7JghEP8MdTzPMmPH+0k+aRuOL/m6VkjYrtynUPE="; + rev = "18847fc16e05078ff5a8d0106a38ce2059ec497f"; + sha256 = "bz2dX4CSPOFEg+6LnqcG46jOFCmjgnrhPyaljyVlDY4="; }; nativeBuildInputs = [ From 10f0225bdd258fa52cf719bae0d05046cb805ff2 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 11 Aug 2023 09:17:57 +0000 Subject: [PATCH 105/154] cppcheck: 2.11 -> 2.11.1 --- pkgs/development/tools/analysis/cppcheck/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/analysis/cppcheck/default.nix b/pkgs/development/tools/analysis/cppcheck/default.nix index 8b8127a4ba80..6f5107be04e6 100644 --- a/pkgs/development/tools/analysis/cppcheck/default.nix +++ b/pkgs/development/tools/analysis/cppcheck/default.nix @@ -13,13 +13,13 @@ stdenv.mkDerivation rec { pname = "cppcheck"; - version = "2.11"; + version = "2.11.1"; src = fetchFromGitHub { owner = "danmar"; repo = "cppcheck"; rev = version; - hash = "sha256-Zu1Ly5KsgmjtsVQlBzgB/h+varfkyB73t8bxzqB3a3M="; + hash = "sha256-ZQ1EgnC2JBc0AvSW8PtgMzJoWSPt04Xfh8dqOU+KMfw="; }; strictDeps = true; From 9d23f3651426c73d4de760d730a87308f45ab874 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Sat, 12 Aug 2023 09:23:12 +0200 Subject: [PATCH 106/154] openvr: 1.23.6 -> 1.26.7 Signed-off-by: Sefa Eyeoglu --- pkgs/development/libraries/openvr/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/openvr/default.nix b/pkgs/development/libraries/openvr/default.nix index c9c9707fce70..4eff07fba372 100644 --- a/pkgs/development/libraries/openvr/default.nix +++ b/pkgs/development/libraries/openvr/default.nix @@ -11,13 +11,13 @@ stdenv.mkDerivation rec { pname = "openvr"; - version = "1.23.8"; + version = "1.26.7"; src = fetchFromGitHub { owner = "ValveSoftware"; repo = pname; rev = "v${version}"; - hash = "sha256-ZdL1HDRSpPykbV3M0CjCZkOt7XlF7Z7OAhOey2ALeHg="; + hash = "sha256-verVIRyDdpF8lIjjjG8GllDJG7nhqByIfs/8O5TMOyc="; }; patches = [ From bc1c462de333ab88dcfa03972625a392ae874105 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 12 Aug 2023 09:35:21 +0200 Subject: [PATCH 107/154] python311Packages.govee-ble: 0.23.0 -> 0.24.0 Diff: https://github.com/Bluetooth-Devices/govee-ble/compare/refs/tags/v0.23.0...v0.24.0 Changelog: https://github.com/bluetooth-devices/govee-ble/blob/v0.24.0/CHANGELOG.md --- pkgs/development/python-modules/govee-ble/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/govee-ble/default.nix b/pkgs/development/python-modules/govee-ble/default.nix index 2678c0120bee..354a1569b002 100644 --- a/pkgs/development/python-modules/govee-ble/default.nix +++ b/pkgs/development/python-modules/govee-ble/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "govee-ble"; - version = "0.23.0"; + version = "0.24.0"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-/uv4P7wB/5QQW2IA+PT6VMPWd91Aoyxsez+8ptrIa5M="; + hash = "sha256-uuC7CVf/KKr36mvd0TqNJd2OtK/xshCGYJXEtllE9is="; }; nativeBuildInputs = [ From 19728ebeb2bda1a38f05b9388f1a4bca51fb8507 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 12 Aug 2023 09:35:37 +0200 Subject: [PATCH 108/154] terrascan: 1.18.2 -> 1.18.3 Diff: https://github.com/accurics/terrascan/compare/refs/tags/v1.18.2...v1.18.3 Changelog: https://github.com/tenable/terrascan/blob/v1.18.3/CHANGELOG.md --- pkgs/tools/security/terrascan/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/terrascan/default.nix b/pkgs/tools/security/terrascan/default.nix index 8cc4212fbb28..fd8c512837ff 100644 --- a/pkgs/tools/security/terrascan/default.nix +++ b/pkgs/tools/security/terrascan/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "terrascan"; - version = "1.18.2"; + version = "1.18.3"; src = fetchFromGitHub { owner = "accurics"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-ZWkuzblPIvYcOllmIjk2RQZdkcPYZLGOuxwgX3NMydg="; + hash = "sha256-2jIdKBNn3Ajvq+fQ1OuQ0VB8+S0QYwLZnJMlGqZ7WtE="; }; - vendorHash = "sha256-e09F4dA/uT50Cted3HqE08d04+l0V6U95AdKGKBFDpI="; + vendorHash = "sha256-PH94le8IwVuinlRsk84HGSxhBSJTTJDrou7nfD1J1JM="; # Tests want to download a vulnerable Terraform project doCheck = false; From 0cba05b8ed7e5c7b275ece4296427e5d11876376 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 12 Aug 2023 09:36:10 +0200 Subject: [PATCH 109/154] python311Packages.dvc-data: 2.12.2 -> 2.13.1 Diff: https://github.com/iterative/dvc-data/compare/refs/tags/2.12.2...2.13.1 Changelog: https://github.com/iterative/dvc-data/releases/tag/2.13.1 --- pkgs/development/python-modules/dvc-data/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dvc-data/default.nix b/pkgs/development/python-modules/dvc-data/default.nix index d1653962294c..9dfcbd400da7 100644 --- a/pkgs/development/python-modules/dvc-data/default.nix +++ b/pkgs/development/python-modules/dvc-data/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "dvc-data"; - version = "2.12.2"; + version = "2.13.1"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "iterative"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-DNFnh+ajfKgsZEj5Vyfk+jqSs9nv/PHIIpkkarxugww="; + hash = "sha256-RmUwo7NcbDjRf+sVgthno+ZvxXhMDwmoTfiN7cJM/5s="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; From 4590bb92bdaacad896a7caf9eacdb5ebb740f88a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 07:47:37 +0000 Subject: [PATCH 110/154] pylyzer: 0.0.39 -> 0.0.40 --- pkgs/development/tools/language-servers/pylyzer/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/language-servers/pylyzer/default.nix b/pkgs/development/tools/language-servers/pylyzer/default.nix index 819ba778ab04..fa9ac75f2f20 100644 --- a/pkgs/development/tools/language-servers/pylyzer/default.nix +++ b/pkgs/development/tools/language-servers/pylyzer/default.nix @@ -12,16 +12,16 @@ rustPlatform.buildRustPackage rec { pname = "pylyzer"; - version = "0.0.39"; + version = "0.0.40"; src = fetchFromGitHub { owner = "mtshiba"; repo = "pylyzer"; rev = "v${version}"; - hash = "sha256-GHrB4FmZWmnkcfr3y4Ulk3TBmVn1Xsixqeni8h9PykY="; + hash = "sha256-HMu5DrzlHbNynjKdDxmN7Uzb+grsPQLv2ycOjT7vid0="; }; - cargoHash = "sha256-Fe/bD8pIXElYfxYHF6JPVlpHhRrgJMDjEFfnequ00Bo="; + cargoHash = "sha256-3q7vNjcrKGE4y+w/9iezJWWHdewWKjRgeP2/Pza8CqM="; nativeBuildInputs = [ git From e119316bf44a1f0433dacdcc552c0924058646db Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 07:53:49 +0000 Subject: [PATCH 111/154] werf: 1.2.248 -> 1.2.249 --- pkgs/applications/networking/cluster/werf/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/werf/default.nix b/pkgs/applications/networking/cluster/werf/default.nix index 11165cbc8fb6..66274d4dbc67 100644 --- a/pkgs/applications/networking/cluster/werf/default.nix +++ b/pkgs/applications/networking/cluster/werf/default.nix @@ -10,16 +10,16 @@ buildGoModule rec { pname = "werf"; - version = "1.2.248"; + version = "1.2.249"; src = fetchFromGitHub { owner = "werf"; repo = "werf"; rev = "v${version}"; - hash = "sha256-z8XuMByI6B49XCgsZWVjErzcmthCCnpE6LdIfHEpxyA="; + hash = "sha256-zDQIdWB50Ehme4JwD1mr3T48SzIH9PTCFhBJAND9FeY="; }; - vendorHash = "sha256-mt/2Pc1xF6seMZiSxQFQ6bfUxpQCgG3WkjZd0utWbiw="; + vendorHash = "sha256-V+/xwqNdX+Wa/bI/VZUUYpGPV0l17tAjEtkulZWk3cA="; proxyVendor = true; From 5d2e3301e7306d63fd656acefccea431e36edad3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 08:06:45 +0000 Subject: [PATCH 112/154] datree: 1.9.17 -> 1.9.19 --- pkgs/development/tools/datree/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/datree/default.nix b/pkgs/development/tools/datree/default.nix index 579ca692e780..829de7447c74 100644 --- a/pkgs/development/tools/datree/default.nix +++ b/pkgs/development/tools/datree/default.nix @@ -8,16 +8,16 @@ buildGoModule rec { pname = "datree"; - version = "1.9.17"; + version = "1.9.19"; src = fetchFromGitHub { owner = "datreeio"; repo = "datree"; rev = "refs/tags/${version}"; - hash = "sha256-vGlvujN9/1e9X/c2WgVSuc+yuqECUF55NLPmBecwvT0="; + hash = "sha256-W1eX7eUMdPGbHA/f08xkG2EUeZmaunEAQn7/LRBe2nk="; }; - vendorHash = "sha256-ECVKofvmLuFAFvncq63hYUaYW8/2+F4gZr8wIGQyrdU="; + vendorHash = "sha256-+PQhuIO4KjXtW/ZcS0OamuOHzK7ZL+nwOBxeCRoXuKE="; nativeBuildInputs = [ installShellFiles ]; From e282b894e9078c0f37921f85347c0e66ae8bb2dd Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 08:27:20 +0000 Subject: [PATCH 113/154] tanka: 0.25.0 -> 0.26.0 --- pkgs/applications/networking/cluster/tanka/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/tanka/default.nix b/pkgs/applications/networking/cluster/tanka/default.nix index 62d89e78c757..61f56f425216 100644 --- a/pkgs/applications/networking/cluster/tanka/default.nix +++ b/pkgs/applications/networking/cluster/tanka/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "tanka"; - version = "0.25.0"; + version = "0.26.0"; src = fetchFromGitHub { owner = "grafana"; repo = pname; rev = "v${version}"; - sha256 = "sha256-LAOcDgosSGE7sLiQYSimz//oZ3FHcx3PTjtG0WdDNmg="; + sha256 = "sha256-xKB/SKiw3cKqdpl869Bs/NO1Jbrla8Un0hH4kIGqAPs="; }; - vendorHash = "sha256-//uxNK8u7zIVeIUN401DXtkJsX/1iVfDcoFwcs8Y3cg="; + vendorHash = "sha256-+BCUQ+czqWkxbDoSvCaAxewTN0SuI+hCHEQpLOvNGj4="; doCheck = false; From 622745942bc7b7cc056bfbb0bc6004dd823fa4f5 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Tue, 10 Jan 2023 19:06:51 +0100 Subject: [PATCH 114/154] nixos/gnome: Do not force Qt apps to Adwaita MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit adwaita-qt tries valiantly to ensure a visual consistency but unfortunately, it often falls into an uncanny valley instead. Let’s make it opt-in again for more vanilla default experience. Related: https://pagure.io/fedora-workstation/issue/351 --- nixos/doc/manual/release-notes/rl-2311.section.md | 10 ++++++++++ nixos/modules/services/x11/desktop-managers/gnome.nix | 7 ------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-2311.section.md b/nixos/doc/manual/release-notes/rl-2311.section.md index d87d3b5c92f0..2f286d13f2b6 100644 --- a/nixos/doc/manual/release-notes/rl-2311.section.md +++ b/nixos/doc/manual/release-notes/rl-2311.section.md @@ -140,6 +140,16 @@ - The Cinnamon module now enables XDG desktop integration by default. If you are experiencing collisions related to xdg-desktop-portal-gtk you can safely remove `xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];` from your NixOS configuration. +- GNOME module no longer forces Qt applications to use Adwaita style since it was buggy and is no longer maintained upstream. If you still want it, you can add the following options to your configuration but it will probably be eventually removed: + + ```nix + qt = { + enable = true; + platformTheme = "gnome"; + style = "adwaita"; + }; + ``` + - `fontconfig` now defaults to using greyscale antialiasing instead of subpixel antialiasing because of a [recommendation from one of the downstreams](https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/337). You can change this value by configuring [](#opt-fonts.fontconfig.subpixel.rgba) accordingly. - The latest available version of Nextcloud is v27 (available as `pkgs.nextcloud27`). The installation logic is as follows: diff --git a/nixos/modules/services/x11/desktop-managers/gnome.nix b/nixos/modules/services/x11/desktop-managers/gnome.nix index 5d950f7d7fc5..fecdd86deb86 100644 --- a/nixos/modules/services/x11/desktop-managers/gnome.nix +++ b/nixos/modules/services/x11/desktop-managers/gnome.nix @@ -352,13 +352,6 @@ in }) ]; - # Harmonize Qt application style and also make them use the portal for file chooser dialog. - qt = { - enable = mkDefault true; - platformTheme = mkDefault "gnome"; - style = mkDefault "adwaita"; - }; - networking.networkmanager.enable = mkDefault true; services.xserver.updateDbusEnvironment = true; From bb92c025caf7d421f8eb8eea67b57ebc3ac5abf3 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 20 May 2023 16:48:52 +0200 Subject: [PATCH 115/154] adwaita-qt, qgnomeplatform: drop gnome team from maintainers They are not really GNOME projects. --- pkgs/data/themes/adwaita-qt/default.nix | 2 +- pkgs/development/libraries/qgnomeplatform/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/data/themes/adwaita-qt/default.nix b/pkgs/data/themes/adwaita-qt/default.nix index 88bec5d09d62..314ad37bc4d8 100644 --- a/pkgs/data/themes/adwaita-qt/default.nix +++ b/pkgs/data/themes/adwaita-qt/default.nix @@ -60,7 +60,7 @@ stdenv.mkDerivation rec { description = "A style to bend Qt applications to look like they belong into GNOME Shell"; homepage = "https://github.com/FedoraQt/adwaita-qt"; license = licenses.gpl2Plus; - maintainers = teams.gnome.members ++ (with maintainers; [ ]); + maintainers = with maintainers; [ ]; platforms = platforms.all; }; } diff --git a/pkgs/development/libraries/qgnomeplatform/default.nix b/pkgs/development/libraries/qgnomeplatform/default.nix index 8136482d477b..4c75b475c17c 100644 --- a/pkgs/development/libraries/qgnomeplatform/default.nix +++ b/pkgs/development/libraries/qgnomeplatform/default.nix @@ -73,7 +73,7 @@ stdenv.mkDerivation rec { description = "QPlatformTheme for a better Qt application inclusion in GNOME"; homepage = "https://github.com/FedoraQt/QGnomePlatform"; license = licenses.lgpl21Plus; - maintainers = teams.gnome.members ++ (with maintainers; [ ]); + maintainers = with maintainers; [ ]; platforms = platforms.linux; }; } From 6c3431e7cad7ad8ba4defed1e3f85bebc9869d6c Mon Sep 17 00:00:00 2001 From: Chuang Zhu Date: Sat, 12 Aug 2023 15:27:37 +0800 Subject: [PATCH 116/154] eaglemode: 0.96.0 -> 0.96.1, add updateScript --- pkgs/applications/misc/eaglemode/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/eaglemode/default.nix b/pkgs/applications/misc/eaglemode/default.nix index 541b18914bf1..414995f0c545 100644 --- a/pkgs/applications/misc/eaglemode/default.nix +++ b/pkgs/applications/misc/eaglemode/default.nix @@ -1,14 +1,15 @@ { lib, stdenv, fetchurl, perl, libX11, libXinerama, libjpeg, libpng, libtiff , libwebp, pkg-config, librsvg, glib, gtk2, libXext, libXxf86vm, poppler, vlc -, ghostscript, makeWrapper, tzdata, makeDesktopItem, copyDesktopItems }: +, ghostscript, makeWrapper, tzdata, makeDesktopItem, copyDesktopItems +, directoryListingUpdater }: stdenv.mkDerivation rec { pname = "eaglemode"; - version = "0.96.0"; + version = "0.96.1"; src = fetchurl { url = "mirror://sourceforge/eaglemode/${pname}-${version}.tar.bz2"; - hash = "sha256-aMVXJpfws9rh2Eaa/EzSLwtwvn0pVJlEbhxzvXME1hs="; + hash = "sha256-FIhCcMghzLg7Odcsou9hBw7kIaqLVUFEAKUk9uwRNNw="; }; # Fixes "Error: No time zones found." on the clock @@ -55,6 +56,11 @@ stdenv.mkDerivation rec { }) ]; + passthru.updateScript = directoryListingUpdater { + url = "https://eaglemode.sourceforge.net/download.html"; + extraRegex = "(?!.*(x86_64|setup64|livecd)).*"; + }; + meta = with lib; { homepage = "https://eaglemode.sourceforge.net"; description = "Zoomable User Interface"; From 8f8835c5303fee07ab641f2cc6d5625eaee705da Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 08:48:23 +0000 Subject: [PATCH 117/154] vieb: 10.1.1 -> 10.2.0 --- pkgs/applications/networking/browsers/vieb/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/browsers/vieb/default.nix b/pkgs/applications/networking/browsers/vieb/default.nix index f2359e812ace..ee0492c3253b 100644 --- a/pkgs/applications/networking/browsers/vieb/default.nix +++ b/pkgs/applications/networking/browsers/vieb/default.nix @@ -2,20 +2,20 @@ buildNpmPackage rec { pname = "vieb"; - version = "10.1.1"; + version = "10.2.0"; src = fetchFromGitHub { owner = "Jelmerro"; repo = pname; rev = version; - hash = "sha256-fEnBsxhRl8SmyTV82SPza5jv5GkCyVpfymeq5k48oxk="; + hash = "sha256-eI+doYI5kssuVLNLlAj67CRvBuWQ+TRm0RKXPcW+S8c="; }; postPatch = '' sed -i '/"electron"/d' package.json ''; - npmDepsHash = "sha256-iCuRPC5p7XzKpVjkGYLoZfOySYvO+uL71/qW9rDxI2M="; + npmDepsHash = "sha256-Emiw5ZlHh4+YqtW+T3iQW/ldr1Exx/66vsQteCijObQ="; dontNpmBuild = true; nativeBuildInputs = [ makeWrapper ] ++ lib.optional stdenv.isAarch64 python3; From 9c6481abfc2a31c8acb4787e61d4212c18345422 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 09:04:02 +0000 Subject: [PATCH 118/154] dnf5: 5.1.0 -> 5.1.1 --- pkgs/tools/package-management/dnf5/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/package-management/dnf5/default.nix b/pkgs/tools/package-management/dnf5/default.nix index 7dbc07dbc109..d8cda93b6cad 100644 --- a/pkgs/tools/package-management/dnf5/default.nix +++ b/pkgs/tools/package-management/dnf5/default.nix @@ -26,13 +26,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "dnf5"; - version = "5.1.0"; + version = "5.1.1"; src = fetchFromGitHub { owner = "rpm-software-management"; repo = "dnf5"; rev = finalAttrs.version; - hash = "sha256-Bwr/qQ6ri1c3tTYlFG28TzUpZCw4qqhO+ba67EAeBTY="; + hash = "sha256-mO+l2TgVPyA5dQeS6GsjXVDTQlhQYq/wWkDE5ZCd86Q="; }; nativeBuildInputs = [ cmake createrepo_c gettext help2man pkg-config ]; From f5d7bcf7424f25e86c25849de8c985302e9b4596 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 07:36:16 +0000 Subject: [PATCH 119/154] icewm: 3.4.0 -> 3.4.1 --- pkgs/applications/window-managers/icewm/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/window-managers/icewm/default.nix b/pkgs/applications/window-managers/icewm/default.nix index f3fca3c791d2..9e2041be1a47 100644 --- a/pkgs/applications/window-managers/icewm/default.nix +++ b/pkgs/applications/window-managers/icewm/default.nix @@ -41,13 +41,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "icewm"; - version = "3.4.0"; + version = "3.4.1"; src = fetchFromGitHub { owner = "ice-wm"; repo = "icewm"; rev = finalAttrs.version; - hash = "sha256-5RIjvmoqxMLnSW2P122rEa8MghWfwLHFtYgXwcFPF38="; + hash = "sha256-KgdCgKR3KqDf9GONCBRkLpNLoOycE0y4UXxHxBqNudk="; }; nativeBuildInputs = [ From e0a830245b80c7e2b1ba3401877744bc71175b45 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 12 Aug 2023 11:07:54 +0200 Subject: [PATCH 120/154] cppcheck: use `finalAttrs` pattern --- pkgs/development/tools/analysis/cppcheck/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/analysis/cppcheck/default.nix b/pkgs/development/tools/analysis/cppcheck/default.nix index 6f5107be04e6..dbbffb2a69e1 100644 --- a/pkgs/development/tools/analysis/cppcheck/default.nix +++ b/pkgs/development/tools/analysis/cppcheck/default.nix @@ -11,14 +11,14 @@ , pkg-config }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "cppcheck"; version = "2.11.1"; src = fetchFromGitHub { owner = "danmar"; repo = "cppcheck"; - rev = version; + rev = finalAttrs.version; hash = "sha256-ZQ1EgnC2JBc0AvSW8PtgMzJoWSPt04Xfh8dqOU+KMfw="; }; @@ -69,4 +69,4 @@ stdenv.mkDerivation rec { platforms = platforms.unix; maintainers = with maintainers; [ joachifm ]; }; -} +}) From 71fc406d35b097eb6b0e48da2004eeb000b10dad Mon Sep 17 00:00:00 2001 From: Nicolas Benes Date: Sat, 12 Aug 2023 11:12:29 +0200 Subject: [PATCH 121/154] cppreference-doc: 20220730 -> 20230810 --- pkgs/development/misc/cppreference-doc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/misc/cppreference-doc/default.nix b/pkgs/development/misc/cppreference-doc/default.nix index 9361f10e60c8..df7a153d5a73 100644 --- a/pkgs/development/misc/cppreference-doc/default.nix +++ b/pkgs/development/misc/cppreference-doc/default.nix @@ -2,11 +2,11 @@ stdenvNoCC.mkDerivation rec { pname = "cppreference-doc"; - version = "20220730"; + version = "20230810"; src = fetchurl { url = "https://github.com/PeterFeicht/${pname}/releases/download/v${version}/html-book-${version}.tar.xz"; - hash = "sha256-cfFQA8FouNxaAMuvGbZICps+h6t+Riqjnttj11EcAos="; + hash = "sha256-McCOTZnobH9j8yTT/1ME7/IDATHEoKwNHjwZxiyO1oQ="; }; sourceRoot = "."; From 5088e63daf5faa801e318034f201add6d0796858 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 12 Aug 2023 11:08:35 +0200 Subject: [PATCH 122/154] cppcheck: code style format update using nixpkgs-fmt --- .../tools/analysis/cppcheck/default.nix | 41 ++++++++++++------- 1 file changed, 27 insertions(+), 14 deletions(-) diff --git a/pkgs/development/tools/analysis/cppcheck/default.nix b/pkgs/development/tools/analysis/cppcheck/default.nix index dbbffb2a69e1..15709e4cc869 100644 --- a/pkgs/development/tools/analysis/cppcheck/default.nix +++ b/pkgs/development/tools/analysis/cppcheck/default.nix @@ -1,14 +1,14 @@ -{ lib -, stdenv +{ docbook_xsl +, docbook_xml_dtd_45 , fetchFromGitHub , installShellFiles -, pcre -, python3 +, lib , libxslt -, docbook_xsl -, docbook_xml_dtd_45 -, which +, pcre , pkg-config +, python3 +, stdenv +, which }: stdenv.mkDerivation (finalAttrs: { @@ -23,8 +23,21 @@ stdenv.mkDerivation (finalAttrs: { }; strictDeps = true; - nativeBuildInputs = [ pkg-config installShellFiles libxslt docbook_xsl docbook_xml_dtd_45 which python3 ]; - buildInputs = [ pcre (python3.withPackages (ps: [ps.pygments])) ]; + + nativeBuildInputs = [ + docbook_xsl + docbook_xml_dtd_45 + installShellFiles + libxslt + pkg-config + python3 + which + ]; + + buildInputs = [ + pcre + (python3.withPackages (ps: [ ps.pygments ])) + ]; makeFlags = [ "PREFIX=$(out)" "MATCHCOMPILER=yes" "FILESDIR=$(out)/share/cppcheck" "HAVE_RULES=yes" ]; @@ -58,15 +71,15 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstallCheck ''; - meta = with lib; { + meta = { description = "A static analysis tool for C/C++ code"; + homepage = "http://cppcheck.sourceforge.net/"; + license = lib.licenses.gpl3Plus; longDescription = '' Check C/C++ code for memory leaks, mismatching allocation-deallocation, buffer overruns and more. ''; - homepage = "http://cppcheck.sourceforge.net/"; - license = licenses.gpl3Plus; - platforms = platforms.unix; - maintainers = with maintainers; [ joachifm ]; + maintainers = with lib.maintainers; [ joachifm ]; + platforms = lib.platforms.unix; }; }) From f9f0f062309da1a55523f1e260698e13c80022ce Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 12 Aug 2023 12:20:10 +0200 Subject: [PATCH 123/154] openvr: use `finalAttrs` pattern --- pkgs/development/libraries/openvr/default.nix | 45 +++++++++++-------- 1 file changed, 27 insertions(+), 18 deletions(-) diff --git a/pkgs/development/libraries/openvr/default.nix b/pkgs/development/libraries/openvr/default.nix index 4eff07fba372..cc2a81ac4de7 100644 --- a/pkgs/development/libraries/openvr/default.nix +++ b/pkgs/development/libraries/openvr/default.nix @@ -1,22 +1,22 @@ -{ lib -, stdenv +{ AppKit , cmake -, libGL -, jsoncpp , fetchFromGitHub , fetchpatch2 , Foundation -, AppKit +, jsoncpp +, lib +, libGL +, stdenv }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "openvr"; version = "1.26.7"; src = fetchFromGitHub { owner = "ValveSoftware"; - repo = pname; - rev = "v${version}"; + repo = "openvr"; + rev = "v${finalAttrs.version}"; hash = "sha256-verVIRyDdpF8lIjjjG8GllDJG7nhqByIfs/8O5TMOyc="; }; @@ -25,13 +25,13 @@ stdenv.mkDerivation rec { (fetchpatch2 { name = "use-correct-CPP11-definition-for-vsprintf_s.patch"; url = "https://github.com/ValveSoftware/openvr/commit/0fa21ba17748efcca1816536e27bdca70141b074.patch"; - sha256 = "sha256-0sPNDx5qKqCzN35FfArbgJ0cTztQp+SMLsXICxneLx4="; + hash = "sha256-0sPNDx5qKqCzN35FfArbgJ0cTztQp+SMLsXICxneLx4="; }) # https://github.com/ValveSoftware/openvr/pull/1716 (fetchpatch2 { name = "add-ability-to-build-with-system-installed-jsoncpp.patch"; url = "https://github.com/ValveSoftware/openvr/commit/54a58e479f4d63e62e9118637cd92a2013a4fb95.patch"; - sha256 = "sha256-aMojjbNjLvsGev0JaBx5sWuMv01sy2tG/S++I1NUi7U="; + hash = "sha256-aMojjbNjLvsGev0JaBx5sWuMv01sy2tG/S++I1NUi7U="; }) ]; @@ -42,17 +42,26 @@ stdenv.mkDerivation rec { mv source/src/json source/thirdparty/jsoncpp ''; - nativeBuildInputs = [ cmake ]; - buildInputs = [ jsoncpp libGL ] ++ lib.optionals stdenv.isDarwin [ Foundation AppKit ]; + nativeBuildInputs = [ + cmake + ]; + + buildInputs = [ + jsoncpp + libGL + ] ++ lib.optionals stdenv.isDarwin [ + AppKit + Foundation + ]; cmakeFlags = [ "-DUSE_SYSTEM_JSONCPP=ON" "-DBUILD_SHARED=1" ]; - meta = with lib; { + meta = { broken = stdenv.isDarwin; - homepage = "https://github.com/ValveSoftware/openvr"; description = "An API and runtime that allows access to VR hardware from multiple vendors without requiring that applications have specific knowledge of the hardware they are targeting"; - license = licenses.bsd3; - maintainers = with maintainers; [ pedrohlc Scrumplex ]; - platforms = platforms.unix; + homepage = "https://github.com/ValveSoftware/openvr"; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ pedrohlc Scrumplex ]; + platforms = lib.platforms.unix; }; -} +}) From 5427788aa74413e9d4ccdf96a79a61471aa1ed63 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 10:44:03 +0000 Subject: [PATCH 124/154] git-stack: 0.10.16 -> 0.10.17 --- pkgs/applications/version-management/git-stack/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/version-management/git-stack/default.nix b/pkgs/applications/version-management/git-stack/default.nix index c22245956781..fe81f0b41ef0 100644 --- a/pkgs/applications/version-management/git-stack/default.nix +++ b/pkgs/applications/version-management/git-stack/default.nix @@ -9,16 +9,16 @@ rustPlatform.buildRustPackage rec { pname = "git-stack"; - version = "0.10.16"; + version = "0.10.17"; src = fetchFromGitHub { owner = "gitext-rs"; repo = "git-stack"; rev = "v${version}"; - hash = "sha256-QpRgAcbaZP5pgqMCoYAUybp8NkSkfGqNsZYXZp3Zdtc="; + hash = "sha256-foItJSZ6jsLuWkO/c1Ejb45dSdzZ/ripieyVIYsEyy0="; }; - cargoHash = "sha256-L+GtqbPQCgw0n1aW/2rU8ba+acC5n0sdEl9C6lveb1I="; + cargoHash = "sha256-MEhUmy4ijR/zHm/qMt4PqNGYnCfIgjNaL9SlMmXCMmc="; buildInputs = lib.optionals stdenv.isDarwin [ Security From ab899c4d0b61b01ad5cd8410d1d21686cec74719 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 11:51:26 +0000 Subject: [PATCH 125/154] nextcloud-client: 3.9.1 -> 3.9.2 --- pkgs/applications/networking/nextcloud-client/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/nextcloud-client/default.nix b/pkgs/applications/networking/nextcloud-client/default.nix index 11831c24b4d3..d110370bb1a0 100644 --- a/pkgs/applications/networking/nextcloud-client/default.nix +++ b/pkgs/applications/networking/nextcloud-client/default.nix @@ -25,7 +25,7 @@ mkDerivation rec { pname = "nextcloud-client"; - version = "3.9.1"; + version = "3.9.2"; outputs = [ "out" "dev" ]; @@ -33,7 +33,7 @@ mkDerivation rec { owner = "nextcloud"; repo = "desktop"; rev = "v${version}"; - sha256 = "sha256-DQM7n7rTk1q+F8H8OpiEgg1pvIzQw2UwBObbj20O5MQ="; + sha256 = "sha256-QtZy5ccr55u8bQVBCFRNu/HJiYtNJX9BgtSV700QX0g="; }; patches = [ From c544d29ddbaabca0e8d8adf738eb1de8304ad171 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 11 Aug 2023 10:26:37 +0200 Subject: [PATCH 126/154] dendrite: add updateScript --- pkgs/servers/dendrite/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/dendrite/default.nix b/pkgs/servers/dendrite/default.nix index 935955e7bc44..ddffa995b5cd 100644 --- a/pkgs/servers/dendrite/default.nix +++ b/pkgs/servers/dendrite/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub, fetchpatch +{ lib, buildGoModule, fetchFromGitHub, fetchpatch, nix-update-script , nixosTests, postgresql, postgresqlTestHook }: buildGoModule rec { @@ -55,6 +55,9 @@ buildGoModule rec { passthru.tests = { inherit (nixosTests) dendrite; }; + passthru.updateScript = nix-update-script { + extraArgs = [ "--version-regex" "v(.+)" ]; + }; meta = with lib; { homepage = "https://matrix-org.github.io/dendrite"; From 133738183ae1ba4ad58dcfea5722b75bd2b7cf1e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 12:23:08 +0000 Subject: [PATCH 127/154] clickhouse-backup: 2.3.1 -> 2.3.2 --- pkgs/development/tools/database/clickhouse-backup/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/database/clickhouse-backup/default.nix b/pkgs/development/tools/database/clickhouse-backup/default.nix index 99ac336a6ab7..3cbc537590cb 100644 --- a/pkgs/development/tools/database/clickhouse-backup/default.nix +++ b/pkgs/development/tools/database/clickhouse-backup/default.nix @@ -7,13 +7,13 @@ buildGoModule rec { pname = "clickhouse-backup"; - version = "2.3.1"; + version = "2.3.2"; src = fetchFromGitHub { owner = "AlexAkulov"; repo = pname; rev = "v${version}"; - sha256 = "sha256-93dSeZL3W/6S46JYSbj/7ccHFBI3VKBD8TNKRO9fIZc="; + sha256 = "sha256-B6MImom0BSvbZVjeMWvF+oDEfoALl4xhXXitaOOU/ZI="; }; vendorHash = "sha256-YSr3fKqJJtNRbUW1TjwDM96cA6CoYz1LUit/pC8V3Fs="; From 5ccc6da23324361f081139ace405150ce7f3d031 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 12:29:22 +0000 Subject: [PATCH 128/154] faudio: 23.07 -> 23.08 --- pkgs/development/libraries/faudio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/faudio/default.nix b/pkgs/development/libraries/faudio/default.nix index 0bdc2de38992..b0e974a7b152 100644 --- a/pkgs/development/libraries/faudio/default.nix +++ b/pkgs/development/libraries/faudio/default.nix @@ -4,13 +4,13 @@ stdenv.mkDerivation rec { pname = "faudio"; - version = "23.07"; + version = "23.08"; src = fetchFromGitHub { owner = "FNA-XNA"; repo = "FAudio"; rev = version; - sha256 = "sha256-HGW28mM/rg8VALRoo4iFNHogBkPaVpU80eJh3NmxBqw="; + sha256 = "sha256-ceFnk0JQtolx7Q1FnADCO0z6fCxu1RzmN3sHohy4hzU="; }; nativeBuildInputs = [cmake]; From 9b8bf3ebf486ac854ee15b9b6ecec91e3d5c031e Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 12 Aug 2023 12:30:00 +0000 Subject: [PATCH 129/154] faudio: add changelog to meta --- pkgs/development/libraries/faudio/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/faudio/default.nix b/pkgs/development/libraries/faudio/default.nix index b0e974a7b152..af07f5854ccb 100644 --- a/pkgs/development/libraries/faudio/default.nix +++ b/pkgs/development/libraries/faudio/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "XAudio reimplementation focusing to develop a fully accurate DirectX audio library"; homepage = "https://github.com/FNA-XNA/FAudio"; + changelog = "https://github.com/FNA-XNA/FAudio/releases/tag/${version}"; license = licenses.zlib; platforms = platforms.linux; maintainers = [ maintainers.marius851000 ]; From f556a505525671aefa2f196ad2379eb24042b814 Mon Sep 17 00:00:00 2001 From: figsoda Date: Sat, 12 Aug 2023 09:44:31 -0400 Subject: [PATCH 130/154] oha: 0.6.1 -> 0.6.2 Diff: https://github.com/hatoo/oha/compare/refs/tags/v0.6.1...v0.6.2 Changelog: https://github.com/hatoo/oha/blob/v0.6.2/CHANGELOG.md --- pkgs/tools/networking/oha/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/oha/default.nix b/pkgs/tools/networking/oha/default.nix index faa8f7a35588..24eceb83bf87 100644 --- a/pkgs/tools/networking/oha/default.nix +++ b/pkgs/tools/networking/oha/default.nix @@ -9,16 +9,16 @@ rustPlatform.buildRustPackage rec { pname = "oha"; - version = "0.6.1"; + version = "0.6.2"; src = fetchFromGitHub { owner = "hatoo"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-TwaGF/ER1VSaDwapm+0f29i7siqFh/njYqwlQIO5yio="; + sha256 = "sha256-LGO2DAT538+g1q9K4elnV7uwzyqPsqmGd/m8DYCwwEo="; }; - cargoSha256 = "sha256-PLOc+bQN4/mjb6Rh0b6Wl/iL1Xys2WXNBNK42Rp4ilQ="; + cargoSha256 = "sha256-uw9cAog+MauWd0Dd1TMt6HZW4/OBNvjjrgD4EfB43Rc="; nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config From 3d9de1ab72ca797f2631683460e77817794f5f6e Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sat, 12 Aug 2023 09:56:13 +0200 Subject: [PATCH 131/154] svtplay-dl: 4.24 -> 4.25 --- pkgs/tools/misc/svtplay-dl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/svtplay-dl/default.nix b/pkgs/tools/misc/svtplay-dl/default.nix index 4b529d5bd550..d91d3b44933c 100644 --- a/pkgs/tools/misc/svtplay-dl/default.nix +++ b/pkgs/tools/misc/svtplay-dl/default.nix @@ -15,7 +15,7 @@ let python pytest nose cryptography pyyaml requests mock requests-mock python-dateutil setuptools; - version = "4.24"; + version = "4.25"; in @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { owner = "spaam"; repo = "svtplay-dl"; rev = version; - hash = "sha256-ZUQi0KWnzIlEbFNTouJkd7cE5KPdrKZQfzwo4OeQZU4="; + hash = "sha256-vYcBK7jgoBEC7dZ+5osJ/Q85wSNLXO02wcv9GHaa0Ds="; }; pythonPaths = [ cryptography pyyaml requests ]; From 20ea3d87e4605cb9ecffa947cc2fd5b683ab9cfd Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sat, 12 Aug 2023 10:02:59 +0200 Subject: [PATCH 132/154] pytrainer: 2.1.0 -> 2.2.1 The new version supports SQLAlchemy version >2 allowing us to remove the custom version. --- pkgs/applications/misc/pytrainer/default.nix | 29 ++++++++------------ 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/pkgs/applications/misc/pytrainer/default.nix b/pkgs/applications/misc/pytrainer/default.nix index 28969a777e94..22ee11082f15 100644 --- a/pkgs/applications/misc/pytrainer/default.nix +++ b/pkgs/applications/misc/pytrainer/default.nix @@ -23,33 +23,21 @@ let matplotlib = super.matplotlib.override { enableGtk3 = true; }; - sqlalchemy = super.sqlalchemy.overridePythonAttrs (old: rec { - version = "1.4.46"; - src = fetchPypi { - pname = "SQLAlchemy"; - inherit version; - hash = "sha256-aRO4JH2KKS74MVFipRkx4rQM6RaB8bbxj2lwRSAMSjA="; - }; - disabledTestPaths = [ - "test/aaa_profiling" - "test/ext/mypy" - ]; - }); }); }; in python.pkgs.buildPythonApplication rec { pname = "pytrainer"; - version = "2.1.0"; + version = "2.2.1"; src = fetchFromGitHub { owner = "pytrainer"; repo = "pytrainer"; rev = "v${version}"; - sha256 = "sha256-U2SVQKkr5HF7LB0WuCZ1xc7TljISjCNO26QUDGR+W/4="; + hash = "sha256-t61vHVTKN5KsjrgbhzljB7UZdRask7qfYISd+++QbV0="; }; propagatedBuildInputs = with python.pkgs; [ - sqlalchemy-migrate + sqlalchemy python-dateutil matplotlib lxml @@ -85,10 +73,17 @@ in python.pkgs.buildPythonApplication rec { psycopg2 ]); + postPatch = '' + substituteInPlace pytrainer/platform.py \ + --replace 'sys.prefix' "\"$out\"" + ''; + checkPhase = '' - env HOME=$TEMPDIR TZDIR=${tzdata}/share/zoneinfo \ + env \ + HOME=$TEMPDIR \ + TZDIR=${tzdata}/share/zoneinfo \ TZ=Europe/Kaliningrad \ - LC_ALL=en_US.UTF-8 \ + LC_TIME=C \ xvfb-run -s '-screen 0 800x600x24' \ ${python.interpreter} setup.py test ''; From cbb4cd0a9cab670b0a0648e203cee3eb103f1b4f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 14:27:51 +0000 Subject: [PATCH 133/154] chezmoi: 2.36.1 -> 2.37.0 --- pkgs/tools/misc/chezmoi/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/chezmoi/default.nix b/pkgs/tools/misc/chezmoi/default.nix index 688725a78a32..d37c5bbe5fed 100644 --- a/pkgs/tools/misc/chezmoi/default.nix +++ b/pkgs/tools/misc/chezmoi/default.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "chezmoi"; - version = "2.36.1"; + version = "2.37.0"; src = fetchFromGitHub { owner = "twpayne"; repo = "chezmoi"; rev = "v${version}"; - hash = "sha256-OZrQxF5fuKpauy3wk6q3bUh1uUw14nkEldrzYPiOVIQ="; + hash = "sha256-AXn2D4vWiFYlmAN2egqKdi5vOYU88FopEGYyDGgy0ig="; }; - vendorHash = "sha256-H7sbpDZMkPF5qw9urb/Gfmy8b9T4UEsnl6CGlZ1LThQ="; + vendorHash = "sha256-OU1ChDJiIeRjBBKVcxah/cEXScepW0VY9tkNDALT4fI="; doCheck = false; From bcb66d4e4cdbadc208b9fbb8638867e402186832 Mon Sep 17 00:00:00 2001 From: Keanu Ashwell Date: Sun, 13 Aug 2023 00:28:23 +1000 Subject: [PATCH 134/154] owamp: 3.5.6 -> 4.4.6 (#248339) --- pkgs/applications/networking/owamp/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/owamp/default.nix b/pkgs/applications/networking/owamp/default.nix index 785fa6886a86..fb3660ace2dc 100644 --- a/pkgs/applications/networking/owamp/default.nix +++ b/pkgs/applications/networking/owamp/default.nix @@ -3,17 +3,19 @@ stdenv.mkDerivation rec { pname = "owamp"; - version = "3.5.6"; - nativeBuildInputs = [ autoconf automake ]; - buildInputs = [ mandoc ]; + version = "4.4.6"; + src = fetchFromGitHub { owner = "perfsonar"; repo = "owamp"; - rev = version; - sha256="019rcshmrqk8pfp510j5jvazdcnz0igfkwv44mfxb5wirzj9p6s7"; + rev = "v${version}"; + sha256= "5o85XSn84nOvNjIzlaZ2R6/TSHpKbWLXTO0FmqWsNMU="; fetchSubmodules = true; }; + nativeBuildInputs = [ autoconf automake ]; + buildInputs = [ mandoc ]; + preConfigure = '' I2util/bootstrap.sh ./bootstrap From 8b5a084a259ef44e3b594375a903f79e2bb21ad4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 14:41:25 +0000 Subject: [PATCH 135/154] minio: 2023-07-11T21-29-34Z -> 2023-08-09T23-30-22Z --- pkgs/servers/minio/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/minio/default.nix b/pkgs/servers/minio/default.nix index da32029eb5ba..236e90b57dda 100644 --- a/pkgs/servers/minio/default.nix +++ b/pkgs/servers/minio/default.nix @@ -15,16 +15,16 @@ let in buildGoModule rec { pname = "minio"; - version = "2023-07-11T21-29-34Z"; + version = "2023-08-09T23-30-22Z"; src = fetchFromGitHub { owner = "minio"; repo = "minio"; rev = "RELEASE.${version}"; - sha256 = "sha256-H7JArZa7IivsH/vjEHLNUu8FQ8mDZ2tHqla+KBEQK4Y="; + sha256 = "sha256-veuqbXJxz7tyj4nZ0sr/kl/m/q2GcLwQBp0AkyvMpQ4="; }; - vendorHash = "sha256-NpN6Ypb+9xPWf28AvY8v2QSN/P6VJuHPOGR5EJtN7W4="; + vendorHash = "sha256-12JdaDUIfUpFSxhQuF3ib5bQV3s4qO7MRzQCO2+eQZE="; doCheck = false; From 08f2b6b221e31a4ab648faaa403f493cb00f903f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 14:48:11 +0000 Subject: [PATCH 136/154] lagrange: 1.16.6 -> 1.16.7 --- pkgs/applications/networking/browsers/lagrange/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/browsers/lagrange/default.nix b/pkgs/applications/networking/browsers/lagrange/default.nix index 8dad70a3dce2..3957d4c2a0d7 100644 --- a/pkgs/applications/networking/browsers/lagrange/default.nix +++ b/pkgs/applications/networking/browsers/lagrange/default.nix @@ -17,13 +17,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "lagrange"; - version = "1.16.6"; + version = "1.16.7"; src = fetchFromGitHub { owner = "skyjake"; repo = "lagrange"; rev = "v${finalAttrs.version}"; - hash = "sha256-avBZnQi1xuyrJX7YG+8O3+122Of11innCCr5sPYyySg="; + hash = "sha256-d9QmFXDDeYDR1KFtOyQKfaYvex8TFDiYJUrKEp7H5K8="; }; nativeBuildInputs = [ cmake pkg-config zip ]; From 1599ac29d14f2b3795afc47d515262469d1e2d7d Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 12 Aug 2023 16:53:03 +0200 Subject: [PATCH 137/154] cargo-llvm-cov: 0.5.25 -> 0.5.26 Signed-off-by: Matthias Beyer --- pkgs/development/tools/rust/cargo-llvm-cov/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-llvm-cov/default.nix b/pkgs/development/tools/rust/cargo-llvm-cov/default.nix index b1cb0c300552..ed6371795a86 100644 --- a/pkgs/development/tools/rust/cargo-llvm-cov/default.nix +++ b/pkgs/development/tools/rust/cargo-llvm-cov/default.nix @@ -6,13 +6,13 @@ rustPlatform.buildRustPackage rec { pname = "cargo-llvm-cov"; - version = "0.5.25"; + version = "0.5.26"; src = fetchCrate { inherit pname version; - sha256 = "sha256-4ctwvDLluJsLWJPInoFGqxmEzlEuBtEJb3/x+q/5pDA="; + sha256 = "sha256-CDf0O8xp4mEkpyQ90IhPAFoL7/fvOsKnrta0gEisl+Y="; }; - cargoSha256 = "sha256-QghbQYfoCd+ppNz/g5NlCnrFYpsjesQlcgMCEKUgN2k="; + cargoSha256 = "sha256-Uh/k8TaoVz9ZjX1x1DWTLIzIoFyOuMrBrjA20U5+Tbk="; # skip tests which require llvm-tools-preview checkFlags = [ From f0451844bbdf545f696f029d1448de4906c7f753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sat, 12 Aug 2023 17:12:16 +0200 Subject: [PATCH 138/154] cryptomator: fail more gracefully on darwin It was blocking channels since PR #241154 via: https://hydra.nixos.org/build/231587712/nixlog/1/tail --- pkgs/tools/security/cryptomator/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/security/cryptomator/default.nix b/pkgs/tools/security/cryptomator/default.nix index 90dcfcde1eea..57e74654ba65 100644 --- a/pkgs/tools/security/cryptomator/default.nix +++ b/pkgs/tools/security/cryptomator/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub +{ lib, stdenv, fetchFromGitHub , autoPatchelfHook , fuse3 , maven, jdk, makeShellWrapper, glib, wrapGAppsHook @@ -10,6 +10,7 @@ let jdk = jdk; }; in +assert stdenv.isLinux; # better than `called with unexpected argument 'enableJavaFX'` mavenJdk.buildMavenPackage rec { pname = "cryptomator"; version = "1.9.1"; From 3a94dd18bd6221e884016f0febc3db6008f58fd0 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Thu, 10 Aug 2023 09:38:19 -0500 Subject: [PATCH 139/154] python310Packages.numba: unstable-2023-08-02 -> unstable-2023-08-11 --- pkgs/development/python-modules/numba/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/numba/default.nix b/pkgs/development/python-modules/numba/default.nix index 2e2d3a20badb..41be2625819f 100644 --- a/pkgs/development/python-modules/numba/default.nix +++ b/pkgs/development/python-modules/numba/default.nix @@ -29,7 +29,7 @@ let in buildPythonPackage rec { # Using an untagged version, with numpy 1.25 support, when it's released # also drop the versioneer patch in postPatch - version = "unstable-2023-08-02"; + version = "unstable-2023-08-11"; pname = "numba"; format = "setuptools"; disabled = pythonOlder "3.6" || pythonAtLeast "3.11"; @@ -37,7 +37,7 @@ in buildPythonPackage rec { src = fetchFromGitHub { owner = "numba"; repo = "numba"; - rev = "fcf94205335dcc6135d2e19c07bbef968d13610d"; + rev = "6f0c5060a69656319ab0bae1d8bb89484cd5631f"; # Upstream uses .gitattributes to inject information about the revision # hash and the refname into `numba/_version.py`, see: # @@ -50,7 +50,7 @@ in buildPythonPackage rec { # use `forceFetchGit = true;`.` If in the future we'll observe the hash # changes too often, we can always use forceFetchGit, and inject the # relevant strings ourselves, using `sed` commands, in extraPostFetch. - hash = "sha256-Wm1sV4uS/Xkz1BkT2xNmwgBZS0X8YziC6jlbfolXGB8="; + hash = "sha256-34qEn/i2X6Xu1cjuiRrmrm/HryNoN+Am4A4pJ90srAE="; }; env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${lib.getDev libcxx}/include/c++/v1"; From 5672875f42853c191a6966c9a46c9439544a1865 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sat, 12 Aug 2023 10:35:52 -0500 Subject: [PATCH 140/154] python310Packages.numba: add meta.mainProgram --- pkgs/development/python-modules/numba/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/numba/default.nix b/pkgs/development/python-modules/numba/default.nix index 41be2625819f..a4f566df43ea 100644 --- a/pkgs/development/python-modules/numba/default.nix +++ b/pkgs/development/python-modules/numba/default.nix @@ -131,6 +131,7 @@ in buildPythonPackage rec { description = "Compiling Python code using LLVM"; homepage = "https://numba.pydata.org/"; license = licenses.bsd2; + mainProgram = "numba"; maintainers = with maintainers; [ fridh ]; }; } From dfe2f4cd0fa509c30ed9529e6bc2737149c16c35 Mon Sep 17 00:00:00 2001 From: hacker1024 Date: Sun, 13 Aug 2023 01:55:08 +1000 Subject: [PATCH 141/154] nvidia-system-monitor-qt: init at 1.5 (#202844) * maintainers: add hacker1024 * nvidia-system-monitor-qt: init at 1.5 --- .../nvidia-system-monitor-qt/default.nix | 66 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 68 insertions(+) create mode 100644 pkgs/tools/system/nvidia-system-monitor-qt/default.nix diff --git a/pkgs/tools/system/nvidia-system-monitor-qt/default.nix b/pkgs/tools/system/nvidia-system-monitor-qt/default.nix new file mode 100644 index 000000000000..e4e1868997be --- /dev/null +++ b/pkgs/tools/system/nvidia-system-monitor-qt/default.nix @@ -0,0 +1,66 @@ +{ stdenv +, lib +, fetchFromGitHub +, cmake +, qtbase +, wrapQtAppsHook +, makeDesktopItem +, copyDesktopItems +}: + +let + # Based in desktop files from official packages: + # https://github.com/congard/nvidia-system-monitor-qt/tree/master/package + desktopItem = makeDesktopItem { + name = "nvidia-system-monitor-qt"; + desktopName = "NVIDIA System Monitor"; + icon = "qnvsm"; + exec = "qnvsm"; + categories = [ + "System" + "Utility" + "Qt" + ]; + }; +in +stdenv.mkDerivation rec { + pname = "nvidia-system-monitor-qt"; + version = "1.5"; + + src = fetchFromGitHub { + owner = "congard"; + repo = "nvidia-system-monitor-qt"; + rev = "v${version}"; + sha256 = "sha256-VDw5Wp/QFDV1zKF4yz0aR0Hox9KHXZmeAKzKLSlu8Ck="; + }; + + buildInputs = [ qtbase ]; + nativeBuildInputs = [ cmake wrapQtAppsHook copyDesktopItems ]; + + cmakeFlags = [ + "-DIconPath=${placeholder "out"}/share/icons/hicolor/512x512/apps/qnvsm.png" + "-DVersionPrefix=(Nixpkgs)" + ]; + + installPhase = '' + runHook preInstall + + install -Dm755 qnvsm $out/bin/qnvsm + install -Dm644 $src/icon.png $out/share/icons/hicolor/512x512/apps/qnvsm.png + + runHook postInstall + ''; + + desktopItems = [ desktopItem ]; + + meta = rec { + description = "Task Manager for Linux for NVIDIA graphics cards"; + homepage = "https://github.com/congard/nvidia-system-monitor-qt"; + downloadPage = "${homepage}/releases"; + changelog = "${downloadPage}/tag/v${version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ hacker1024 ]; + mainProgram = "qnvsm"; + platforms = lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 61ea7c10be3b..d03d105649ec 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24054,6 +24054,8 @@ with pkgs; nvidia-optical-flow-sdk = callPackage ../development/libraries/nvidia-optical-flow-sdk { }; + nvidia-system-monitor-qt = libsForQt5.callPackage ../tools/system/nvidia-system-monitor-qt { }; + nvitop = callPackage ../tools/system/nvitop { }; nvtop = callPackage ../tools/system/nvtop { }; From efc8403bb5b003b0ca751afde7db4976fb4ccdee Mon Sep 17 00:00:00 2001 From: Colton Donnelly Date: Sat, 12 Aug 2023 12:11:18 -0400 Subject: [PATCH 142/154] bun: 0.7.1 -> 0.7.3 --- pkgs/development/web/bun/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/web/bun/default.nix b/pkgs/development/web/bun/default.nix index 74d98174bc26..7b9ea612ab37 100644 --- a/pkgs/development/web/bun/default.nix +++ b/pkgs/development/web/bun/default.nix @@ -11,7 +11,7 @@ }: stdenvNoCC.mkDerivation rec { - version = "0.7.1"; + version = "0.7.3"; pname = "bun"; src = passthru.sources.${stdenvNoCC.hostPlatform.system} or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}"); @@ -35,19 +35,19 @@ stdenvNoCC.mkDerivation rec { sources = { "aarch64-darwin" = fetchurl { url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-aarch64.zip"; - hash = "sha256-5AC1jd2rTVZ+Rfn7B1uvps9NVVAByMlo0mjhM8Wc6jI="; + hash = "sha256-9gs5PIbYxhhUC+lw/iEIhjdMIUYVnhP7oYrRqmE3HcU="; }; "aarch64-linux" = fetchurl { url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-aarch64.zip"; - hash = "sha256-DM1HVlbqPCOkT05IAVciP1c5g7PIZPmjHmlbWD8DmoU="; + hash = "sha256-CFio1bgsgND54BrklkCVjfDvMDFxpYe1h77nGMOJdsc="; }; "x86_64-darwin" = fetchurl { url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-x64.zip"; - hash = "sha256-UjInXqkdfigrmIJycee4Nxjv+LhYGLjP+Z/B8WnAfmI="; + hash = "sha256-j6NpHAqSBRe2Wa4ztA1Ao4JYTKTEIwlYMCMMICKqZv0="; }; "x86_64-linux" = fetchurl { url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-x64.zip"; - hash = "sha256-l5lSbJwsPHejcgCXvTDPjvzSP6s/OBgOS44g2xTxfYo="; + hash = "sha256-05Duhv2WrYXWS6mKI3zB5QiIlitsysXwmuy+9XHBB9M="; }; }; updateScript = writeShellScript "update-bun" '' From 8951442c6e56270e1de41f3110c8311ba73ee447 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 12 Aug 2023 18:12:57 +0100 Subject: [PATCH 143/154] sudo: backport fix for missing newlines Pull upstream fix for https://bugzilla.sudo.ws/show_bug.cgi?id=1057. Otherwise `sudo` breaks newlines for `stderr` as: $ { sudo printf "a\nb\nc\n" >&2; } |& nl 1 a 2 b 3 c --- pkgs/tools/security/sudo/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/tools/security/sudo/default.nix b/pkgs/tools/security/sudo/default.nix index 6cf8349b09af..7c5546d4e45e 100644 --- a/pkgs/tools/security/sudo/default.nix +++ b/pkgs/tools/security/sudo/default.nix @@ -29,6 +29,12 @@ stdenv.mkDerivation rec { url = "https://github.com/sudo-project/sudo/commit/760c9c11074cb921ecc0da9fbb5f0a12afd46233.patch"; hash = "sha256-smwyoYEkaqfQYz9C4VVz59YMtKabOPpwhS+RBwXbWuE="; }) + # Fix for the patch above: + # https://bugzilla.sudo.ws/show_bug.cgi?id=1057 + (fetchpatch { + url = "https://github.com/sudo-project/sudo/commit/d148e7d8f9a98726dd4fde6f187c7d614e1258c7.patch"; + hash = "sha256-3I3PnuAHlBs3JOn0Ul900aFxuUkDGV4sM3S5DNtW7bE="; + }) ]; prePatch = '' From 025db9a160591dfa17ff023b7b33fba365b8bd30 Mon Sep 17 00:00:00 2001 From: figsoda Date: Sat, 12 Aug 2023 13:16:28 -0400 Subject: [PATCH 144/154] rustypaste-cli: 0.6.0 -> 0.7.0 Diff: https://github.com/orhun/rustypaste-cli/compare/v0.6.0...v0.7.0 Changelog: https://github.com/orhun/rustypaste-cli/blob/v0.7.0/CHANGELOG.md --- pkgs/tools/misc/rustypaste-cli/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/rustypaste-cli/default.nix b/pkgs/tools/misc/rustypaste-cli/default.nix index 807db491a51d..ce7794f0ada8 100644 --- a/pkgs/tools/misc/rustypaste-cli/default.nix +++ b/pkgs/tools/misc/rustypaste-cli/default.nix @@ -7,16 +7,16 @@ rustPlatform.buildRustPackage rec { pname = "rustypaste-cli"; - version = "0.6.0"; + version = "0.7.0"; src = fetchFromGitHub { owner = "orhun"; repo = "rustypaste-cli"; rev = "v${version}"; - hash = "sha256-wAaicErRqQcOlxjTpG7sL4Fx8mZgfqVPFoaHdTlHLew="; + hash = "sha256-5D3wojKFYL+hOwroe0grAQ524uOVI6fn1ENcP7IEEeA="; }; - cargoHash = "sha256-lON5BpV85lnTyYy0TXERkfLd84cBhte0F6EwHTMON/A="; + cargoHash = "sha256-89cPYlQy3PUl1uTJSUMVgTaFX6dmY9Iwut507VzyDoM="; buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security From 08d242047cc34c9c624c8ae507211671cf45f464 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 12 Aug 2023 19:30:15 +0200 Subject: [PATCH 145/154] iso_gnome: Fix evaluation `qt.enable` option requires `qt.style` to be set. Previously, this was set in GNOME module but it has been removed in 622745942bc7b7cc056bfbb0bc6004dd823fa4f5 --- .../cd-dvd/installation-cd-graphical-calamares-gnome.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-gnome.nix b/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-gnome.nix index 12feb2d96ecc..d1a4c27432c2 100644 --- a/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-gnome.nix +++ b/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-gnome.nix @@ -30,12 +30,6 @@ enable = true; }; - # Theme calamares with GNOME theme - qt = { - enable = true; - platformTheme = "gnome"; - }; - # Fix scaling for calamares on wayland environment.variables = { QT_QPA_PLATFORM = "$([[ $XDG_SESSION_TYPE = \"wayland\" ]] && echo \"wayland\")"; From 60200a618363d9b89a24c3186736d013aa219e2e Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Tue, 8 Aug 2023 13:03:17 -0700 Subject: [PATCH 146/154] python310Packages.amazon-kclpy: rename from amazon_kclpy --- .../python-modules/{amazon_kclpy => amazon-kclpy}/default.nix | 2 +- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) rename pkgs/development/python-modules/{amazon_kclpy => amazon-kclpy}/default.nix (97%) diff --git a/pkgs/development/python-modules/amazon_kclpy/default.nix b/pkgs/development/python-modules/amazon-kclpy/default.nix similarity index 97% rename from pkgs/development/python-modules/amazon_kclpy/default.nix rename to pkgs/development/python-modules/amazon-kclpy/default.nix index 3de930cfa415..623ab60ed63a 100644 --- a/pkgs/development/python-modules/amazon_kclpy/default.nix +++ b/pkgs/development/python-modules/amazon-kclpy/default.nix @@ -1,7 +1,7 @@ { lib, buildPythonPackage, fetchFromGitHub, python, mock, boto, pytest }: buildPythonPackage rec { - pname = "amazon_kclpy"; + pname = "amazon-kclpy"; version = "2.1.1"; src = fetchFromGitHub { diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 19e06c64e8f5..ba7cbbb99700 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -37,6 +37,7 @@ mapAliases ({ acebinf = throw "acebinf has been removed because it is abandoned and broken."; # Added 2023-05-19 aioh2 = throw "aioh2 has been removed because it is abandoned and broken."; # Added 2022-03-30 aiosenseme = throw "aiosenseme has been removed, because it does no longer work with the latest firmware and has become unmaintained"; # Added 2023-07-05 + amazon_kclpy = amazon-kclpy; # added 2023-08-08 ansible-base = throw "ansible-base has been removed, because it is end of life"; # added 2022-03-30 ansible-doctor = throw "ansible-doctor has been promoted to a top-level attribute"; # Added 2023-05-16 ansible-later = throw "ansible-later has been promoted to a top-level attribute"; # Added 2023-05-16 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ca9ab2d49599..05a1bd2a56ce 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -456,7 +456,7 @@ self: super: with self; { amazon-ion = callPackage ../development/python-modules/amazon-ion { }; - amazon_kclpy = callPackage ../development/python-modules/amazon_kclpy { }; + amazon-kclpy = callPackage ../development/python-modules/amazon-kclpy { }; ambee = callPackage ../development/python-modules/ambee { }; From 95eca362d9ece03f819a5fc74dc3bc7e8f5082b0 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sat, 12 Aug 2023 11:36:18 -0700 Subject: [PATCH 147/154] idasen: replace reference to poetry with poetry-core --- pkgs/development/python-modules/idasen/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/idasen/default.nix b/pkgs/development/python-modules/idasen/default.nix index 56523d538d5d..e4792be41690 100644 --- a/pkgs/development/python-modules/idasen/default.nix +++ b/pkgs/development/python-modules/idasen/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , pythonOlder , fetchFromGitHub +, fetchpatch , bleak , pyyaml , voluptuous @@ -24,6 +25,14 @@ buildPythonPackage rec { hash = "sha256-t8w4USDzyS0k5yk0XtQF8fVffzdf+udKSkdveMlseHk="; }; + patches = [ + (fetchpatch { + name = "replace-poetry-with-poetry-core.patch"; + url = "https://github.com/newAM/idasen/commit/b9351d5c9def0687e4ae4cb65f38d14ed9ff2df5.patch"; + hash = "sha256-Qi3psPZExJ5tBJ4IIvDC3JnWf4Gym6Z7akGCV8GZUNY="; + }) + ]; + nativeBuildInputs = [ poetry-core ]; From 101b2b4eb7faef77cdd523ad2d167f79f3621e05 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Sat, 12 Aug 2023 21:39:32 +0300 Subject: [PATCH 148/154] hyprland: fix wrong patch location --- pkgs/applications/window-managers/hyprwm/hyprland/wlroots.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/window-managers/hyprwm/hyprland/wlroots.nix b/pkgs/applications/window-managers/hyprwm/hyprland/wlroots.nix index 7b44e9cf5212..bd9232e32c07 100644 --- a/pkgs/applications/window-managers/hyprwm/hyprland/wlroots.nix +++ b/pkgs/applications/window-managers/hyprwm/hyprland/wlroots.nix @@ -54,7 +54,7 @@ wlroots.overrideAttrs patches = (old.patches or [ ]) ++ (lib.optionals enableNvidiaPatches [ - "${hyprland.src}/nix/patches/nvidia.patch" + "${hyprland.src}/nix/patches/wlroots-nvidia.patch" ]); postPatch = From bb72dfdb81dbcd338658a11c2e46e357b8b221a6 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 17 Jul 2023 15:10:36 -0400 Subject: [PATCH 149/154] vimPlugins.image-nvim: init at 2023-07-17 Depends on https://github.com/NixOS/nixpkgs/pull/243687 --- .../editors/vim/plugins/generated.nix | 12 ++++++++++++ .../editors/vim/plugins/overrides.nix | 19 +++++++++++++++++++ .../plugins/patches/image-nvim/magick.patch | 11 +++++++++++ .../editors/vim/plugins/vim-plugin-names | 1 + 4 files changed, 43 insertions(+) create mode 100644 pkgs/applications/editors/vim/plugins/patches/image-nvim/magick.patch diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index c1a1bc5ebec8..67cde22eb848 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -4244,6 +4244,18 @@ final: prev: meta.homepage = "https://github.com/edwinb/idris2-vim/"; }; + image-nvim = buildVimPluginFrom2Nix { + pname = "image.nvim"; + version = "2023-07-17"; + src = fetchFromGitHub { + owner = "3rd"; + repo = "image.nvim"; + rev = "24c312191ca6bc04e45610a7bcb984d3bf208820"; + sha256 = "1fy024nd01wryrasibc4b8divcfzx3a7xxfzx968l4a4l1q3l6vc"; + }; + meta.homepage = "https://github.com/3rd/image.nvim/"; + }; + impatient-nvim = buildVimPluginFrom2Nix { pname = "impatient.nvim"; version = "2023-05-05"; diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index d0cd29215b3a..f14cf064c8bd 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -125,6 +125,7 @@ # must be lua51Packages , luaPackages +, luajitPackages }: self: super: { @@ -600,6 +601,24 @@ self: super: { }; + image-nvim = super.image-nvim.overrideAttrs { + dependencies = with self; [ + nvim-treesitter + nvim-treesitter-parsers.markdown_inline + nvim-treesitter-parsers.norg + ]; + + # Add magick to package.path + patches = [ ./patches/image-nvim/magick.patch ]; + + postPatch = '' + substituteInPlace lua/image/magick.lua \ + --replace @nix_magick@ ${luajitPackages.magick} + ''; + + nvimRequireCheck = "image"; + }; + jedi-vim = super.jedi-vim.overrideAttrs { # checking for python3 support in vim would be neat, too, but nobody else seems to care buildInputs = [ python3.pkgs.jedi ]; diff --git a/pkgs/applications/editors/vim/plugins/patches/image-nvim/magick.patch b/pkgs/applications/editors/vim/plugins/patches/image-nvim/magick.patch new file mode 100644 index 000000000000..43d93ddbd77e --- /dev/null +++ b/pkgs/applications/editors/vim/plugins/patches/image-nvim/magick.patch @@ -0,0 +1,11 @@ +diff --git a/lua/image/magick.lua b/lua/image/magick.lua +index a0c5a64..e3b57d4 100644 +--- a/lua/image/magick.lua ++++ b/lua/image/magick.lua +@@ -1,3 +1,6 @@ ++package.path = package.path .. ";@nix_magick@/share/lua/5.1/?/init.lua;" ++package.path = package.path .. ";@nix_magick@/share/lua/5.1/?.lua;" ++ + local has_magick, magick = pcall(require, "magick") + + ---@return MagickImage diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index 4f541e7a2f94..0577fb46ec6b 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -355,6 +355,7 @@ https://github.com/mboughaba/i3config.vim/,, https://github.com/cocopon/iceberg.vim/,, https://github.com/idris-hackers/idris-vim/,, https://github.com/edwinb/idris2-vim/,, +https://github.com/3rd/image.nvim/,HEAD, https://github.com/lewis6991/impatient.nvim/,, https://github.com/smjonas/inc-rename.nvim/,HEAD, https://github.com/nishigori/increment-activator/,, From 3c2b7caea1f5d8012e0672ae572afbd1b9f2e113 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 18:55:29 +0000 Subject: [PATCH 150/154] hcl2json: 0.5.0 -> 0.6.0 --- pkgs/applications/misc/hcl2json/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/hcl2json/default.nix b/pkgs/applications/misc/hcl2json/default.nix index 980356cff0b2..57d1e8e2ed15 100644 --- a/pkgs/applications/misc/hcl2json/default.nix +++ b/pkgs/applications/misc/hcl2json/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "hcl2json"; - version = "0.5.0"; + version = "0.6.0"; src = fetchFromGitHub { owner = "tmccombs"; repo = pname; rev = "v${version}"; - sha256 = "sha256-kmg483HidFL9mP6jXisLN5VR0dd0xzPXSwqTR8tOCrM="; + sha256 = "sha256-XdPRata9B8cK58eyAKxEBBwKAum+z0yoGgUGSkmhXfw="; }; - vendorHash = "sha256-ejbCY5S/aeY5Sp+5A20y5kUDY0yxgnMUxtr3UPvtic0="; + vendorHash = "sha256-F7G8K0tfXyLHQgqd2PE9eRXlhkFgijAO9LKKj9mvvwc="; subPackages = [ "." ]; From 55ee834beab768101c0ef9e89b96e2d68b9af6b6 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Tue, 8 Aug 2023 10:09:25 +0100 Subject: [PATCH 151/154] linuxPackages.mwprocapture: 1.3.0.4328 -> 1.3.0.4373 --- pkgs/os-specific/linux/mwprocapture/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/mwprocapture/default.nix b/pkgs/os-specific/linux/mwprocapture/default.nix index 681307a00b29..9185f50674ff 100644 --- a/pkgs/os-specific/linux/mwprocapture/default.nix +++ b/pkgs/os-specific/linux/mwprocapture/default.nix @@ -12,12 +12,12 @@ let in stdenv.mkDerivation rec { pname = "mwprocapture"; - subVersion = "4328"; + subVersion = "4373"; version = "1.3.0.${subVersion}-${kernel.version}"; src = fetchurl { url = "https://www.magewell.com/files/drivers/ProCaptureForLinux_${subVersion}.tar.gz"; - sha256 = "197l86ad52ijmmq5an6891gd1chhkxqiagamcchirrky4c50qs36"; + sha256 = "sha256-/6q+6CTlgkHOgq1PF8dSPfl/xm/UFczr/AGkac2mXZ8="; }; nativeBuildInputs = kernel.moduleBuildDependencies; @@ -60,7 +60,7 @@ stdenv.mkDerivation rec { homepage = "https://www.magewell.com/"; description = "Linux driver for the Magewell Pro Capture family"; license = licenses.unfreeRedistributable; - maintainers = with maintainers; [ MP2E ]; + maintainers = with maintainers; [ flexiondotorg MP2E ]; platforms = platforms.linux; }; } From a1d1159daf340c5b0533998c77170b0a34f5556c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Aug 2023 20:10:55 +0000 Subject: [PATCH 152/154] mdbook-toc: 0.13.0 -> 0.14.1 --- pkgs/tools/text/mdbook-toc/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/text/mdbook-toc/default.nix b/pkgs/tools/text/mdbook-toc/default.nix index 3fc144ff84e6..52e8070e0794 100644 --- a/pkgs/tools/text/mdbook-toc/default.nix +++ b/pkgs/tools/text/mdbook-toc/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "mdbook-toc"; - version = "0.13.0"; + version = "0.14.1"; src = fetchFromGitHub { owner = "badboy"; repo = pname; rev = version; - sha256 = "sha256-Z3ZspXD7M3VVi70+dRz7NhO6msw5htmPRX6VzhA9NPY="; + sha256 = "sha256-F0dIqtDEOVUXlWhmXKPOaJTEuA3Tl3h0vaEu7VsBo7s="; }; - cargoHash = "sha256-5EC9xfjSg0sIkZ2fIkX3SrwL0wzBfpIObFQpkMRj6oM="; + cargoHash = "sha256-gbBX6Hj+271BA9FWmkZdyR0tMP2Lny7UgW0o+kZe9bU="; buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; From 74b66861c0790a1a9e99614af4d479ad311089ed Mon Sep 17 00:00:00 2001 From: Jian Lin <75130626+jian-lin@users.noreply.github.com> Date: Sun, 13 Aug 2023 04:24:01 +0800 Subject: [PATCH 153/154] treewide: add meta.mainProgram (#248750) --- pkgs/applications/misc/goldendict/default.nix | 1 + pkgs/applications/video/dmlive/default.nix | 1 + pkgs/tools/misc/xclip/default.nix | 1 + pkgs/tools/security/age/default.nix | 1 + pkgs/tools/typesetting/tectonic/default.nix | 1 + 5 files changed, 5 insertions(+) diff --git a/pkgs/applications/misc/goldendict/default.nix b/pkgs/applications/misc/goldendict/default.nix index 6cee8ce5ece5..532965f9b2ee 100644 --- a/pkgs/applications/misc/goldendict/default.nix +++ b/pkgs/applications/misc/goldendict/default.nix @@ -63,6 +63,7 @@ stdenv.mkDerivation rec { homepage = "http://goldendict.org/"; description = "A feature-rich dictionary lookup program"; platforms = with platforms; linux ++ darwin; + mainProgram = "goldendict"; maintainers = with maintainers; [ gebner astsmtl sikmir ]; license = licenses.gpl3Plus; }; diff --git a/pkgs/applications/video/dmlive/default.nix b/pkgs/applications/video/dmlive/default.nix index b2d215ebee73..5c198ae0dcfa 100644 --- a/pkgs/applications/video/dmlive/default.nix +++ b/pkgs/applications/video/dmlive/default.nix @@ -37,6 +37,7 @@ rustPlatform.buildRustPackage rec { description = "A tool to play and record videos or live streams with danmaku"; homepage = "https://github.com/THMonster/dmlive"; license = licenses.mit; + mainProgram = "dmlive"; maintainers = with maintainers; [ nickcao ]; }; } diff --git a/pkgs/tools/misc/xclip/default.nix b/pkgs/tools/misc/xclip/default.nix index 6c5857f1c9a1..7a250671413d 100644 --- a/pkgs/tools/misc/xclip/default.nix +++ b/pkgs/tools/misc/xclip/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { description = "Tool to access the X clipboard from a console application"; homepage = "https://github.com/astrand/xclip"; license = lib.licenses.gpl2; + mainProgram = "xclip"; platforms = lib.platforms.all; }; } diff --git a/pkgs/tools/security/age/default.nix b/pkgs/tools/security/age/default.nix index 588285973e47..05c682d865ae 100644 --- a/pkgs/tools/security/age/default.nix +++ b/pkgs/tools/security/age/default.nix @@ -57,6 +57,7 @@ buildGoModule rec { homepage = "https://age-encryption.org/"; description = "Modern encryption tool with small explicit keys"; license = licenses.bsd3; + mainProgram = "age"; maintainers = with maintainers; [ tazjin ]; }; } diff --git a/pkgs/tools/typesetting/tectonic/default.nix b/pkgs/tools/typesetting/tectonic/default.nix index c2bace466092..3c8713a4fe53 100644 --- a/pkgs/tools/typesetting/tectonic/default.nix +++ b/pkgs/tools/typesetting/tectonic/default.nix @@ -46,6 +46,7 @@ rustPlatform.buildRustPackage rec { homepage = "https://tectonic-typesetting.github.io/"; changelog = "https://github.com/tectonic-typesetting/tectonic/blob/tectonic@${version}/CHANGELOG.md"; license = with licenses; [ mit ]; + mainProgram = "tectonic"; maintainers = with maintainers; [ lluchs doronbehar ]; }; } From 857f57ffd8202674eeaf602004a987c32efc0773 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Fri, 11 Aug 2023 21:36:42 -0300 Subject: [PATCH 154/154] CONTRIBUTING.md: highlight the need for setting `meta.mainProgram` --- CONTRIBUTING.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f318f19ead39..0734db52129f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -37,7 +37,7 @@ Below is a short excerpt of some points in there: The old config generation system used impure shell scripts and could break in specific circumstances (see #1234). -* `meta.description` should: +* `meta.description` must: * Be short, just one sentence. * Be capitalized. * Not start with the package name. @@ -47,7 +47,8 @@ Below is a short excerpt of some points in there: * `meta.license` must be set and fit the upstream license. * If there is no upstream license, `meta.license` should default to `lib.licenses.unfree`. * If in doubt, try to contact the upstream developers for clarification. -* `meta.maintainers` must be set. +* `meta.mainProgram` must be set when appropriate. +* `meta.maintainers` should be set. See the nixpkgs manual for more details on [standard meta-attributes](https://nixos.org/nixpkgs/manual/#sec-standard-meta-attributes).