From 7ac64fcbae91104edc2d3505302f4b8064e4665d Mon Sep 17 00:00:00 2001 From: Linus Heckemann Date: Mon, 16 May 2022 15:30:36 +0200 Subject: [PATCH 01/35] pjsip: 2.12 -> 2.12.1 Release notes: https://github.com/pjsip/pjproject/releases/tag/2.12.1 Fixes: CVE-2022-24754, CVE-2022-24763, CVE-2022-24764, CVE-2022-24786, CVE-2022-24792, CVE-2022-24793 --- pkgs/applications/networking/pjsip/default.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/networking/pjsip/default.nix b/pkgs/applications/networking/pjsip/default.nix index 6406337541f85..ba9081e25aad4 100644 --- a/pkgs/applications/networking/pjsip/default.nix +++ b/pkgs/applications/networking/pjsip/default.nix @@ -2,22 +2,17 @@ stdenv.mkDerivation rec { pname = "pjsip"; - version = "2.12"; + version = "2.12.1"; src = fetchFromGitHub { owner = pname; repo = "pjproject"; rev = version; - sha256 = "sha256-snp9+PlffU9Ay8o42PM8SqyP60hu9nozp457HM+0bM8="; + sha256 = "sha256-HIDL4xzzTu3irzrIOf8qSNCAvHGOMpi8EDeqZb8mMnc="; }; patches = [ ./fix-aarch64.patch - (fetchpatch { - name = "CVE-2022-24764.patch"; - url = "https://github.com/pjsip/pjproject/commit/560a1346f87aabe126509bb24930106dea292b00.patch"; - sha256 = "1fy78v3clm0gby7qcq3ny6f7d7f4qnn01lkqq67bf2s85k2phisg"; - }) ]; buildInputs = [ openssl libsamplerate ] From d325181784c7acfe58db6ec067185d878a834ad4 Mon Sep 17 00:00:00 2001 From: nixpkgs-upkeep-bot Date: Fri, 20 May 2022 00:22:23 +0000 Subject: [PATCH 02/35] vscode: 1.67.1 -> 1.67.2 --- pkgs/applications/editors/vscode/vscode.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/editors/vscode/vscode.nix b/pkgs/applications/editors/vscode/vscode.nix index 1604cc901e41b..3f4555430a68a 100644 --- a/pkgs/applications/editors/vscode/vscode.nix +++ b/pkgs/applications/editors/vscode/vscode.nix @@ -14,17 +14,17 @@ let archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz"; sha256 = { - x86_64-linux = "1db5vwcwi3w11zm2b72cvddn5k9yav65rg7ii9wq4a0dym39f8ql"; - x86_64-darwin = "1q5vjisdc0q5vigb1lwq8fkxbaar73jnk4ac0fqlhc4gqacz3cs3"; - aarch64-linux = "01lcvjw9nfgp93ydl16bp91gbkivd23jn8pan220fjvdsgvcbg48"; - aarch64-darwin = "06p6p2c9a3rav9c23pvfn8mmd77wc9z7pavpmkgm1f3wplx48q8q"; - armv7l-linux = "0pzim9r2zzwyim3g6f8ixgqllgz4cijaiw76czi0wmz4dxxdljrw"; + x86_64-linux = "0yahcv64jblmz5q0ylgg1sghcnyam4nq47var3y18ndjpaqyb1fl"; + x86_64-darwin = "0zsizwrhc0na9dfics27i48q4x3kz0qq5m2vdjvrgi69y2iy5z4c"; + aarch64-linux = "01wpi9pdf1fjxfx8w5g5da31q561qw7ykjm9spb3arvnivq20dp2"; + aarch64-darwin = "0qk22jyn0vypsx8x4cmpab5wrmhqx6hdkm314k8k06mz5cg1v4r3"; + armv7l-linux = "04r0x31flahzw8y0kkbzqnvcwllifaa0ysr163bb5b8kiyc189kk"; }.${system}; in callPackage ./generic.nix rec { # Please backport all compatible updates to the stable release. # This is important for the extension ecosystem. - version = "1.67.1"; + version = "1.67.2"; pname = "vscode"; executableName = "code" + lib.optionalString isInsiders "-insiders"; From 9c48424780eeb991925ae0c41d483d23b2dcaf85 Mon Sep 17 00:00:00 2001 From: nixpkgs-upkeep-bot Date: Fri, 20 May 2022 00:22:41 +0000 Subject: [PATCH 03/35] vscodium: 1.67.1 -> 1.67.2 --- pkgs/applications/editors/vscode/vscodium.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/editors/vscode/vscodium.nix b/pkgs/applications/editors/vscode/vscodium.nix index 9fde99f3f58a1..4686c532373cb 100644 --- a/pkgs/applications/editors/vscode/vscodium.nix +++ b/pkgs/applications/editors/vscode/vscodium.nix @@ -14,11 +14,11 @@ let archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz"; sha256 = { - x86_64-linux = "0hsq3b8j58xjl8pkrd5x3qh0lsl9gwbd9wgvhzlnx2h94iasr1v5"; - x86_64-darwin = "04fbl8kp3af7xcicx17ay2piwy4y3yiyn9723hlmmf7s359rr1wn"; - aarch64-linux = "0jljsa61zr3symfdsjx9jj4s3y1kqslxh8gc1gqx45zlm5rzr7k8"; - aarch64-darwin = "1swkc0qb1xif8hj6cjp3jq1iqdfqsa681hhp7mxvrpqg0i2zppk3"; - armv7l-linux = "1ssbdc4b11xmd45m7bzhdh6szx331pzah2mjpqjg7cz3ray3xvwy"; + x86_64-linux = "1ns4cpkihbrwgh8pvn1kjlnipssinjkxy28szidnz6q71zyvsjyw"; + x86_64-darwin = "05v0gxal74igc29qjy0ficlyna17bzh1lpfqvyxdpg22is894h2l"; + aarch64-linux = "1x6lhcvdly3a2n0shp2vlgk3s2pj9byxn9dc9pjg4k5ff24dql7l"; + aarch64-darwin = "03knkj0y6n45lin0v6288zbq1nz5qh81ijyw1w3zrpd7pijn9j0x"; + armv7l-linux = "0iwlr5q1qwq3jgldrhz4bbyl3xmdhd4ss690x1lqb4vxm2m7v5jw"; }.${system}; sourceRoot = if stdenv.isDarwin then "" else "."; @@ -28,7 +28,7 @@ in # Please backport all compatible updates to the stable release. # This is important for the extension ecosystem. - version = "1.67.1"; + version = "1.67.2"; pname = "vscodium"; executableName = "codium"; From 1d32db25570dc021997f8e742390c430b3ecec4b Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 20 May 2022 04:20:00 +0000 Subject: [PATCH 04/35] jtc: fix build --- pkgs/development/tools/jtc/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/jtc/default.nix b/pkgs/development/tools/jtc/default.nix index 947f26664f4d1..c8a13c07cb607 100644 --- a/pkgs/development/tools/jtc/default.nix +++ b/pkgs/development/tools/jtc/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub }: +{ lib, stdenv, fetchFromGitHub, fetchpatch }: stdenv.mkDerivation rec { pname = "jtc"; @@ -11,6 +11,14 @@ stdenv.mkDerivation rec { sha256 = "sha256-VATRlOOV4wBInLOm9J0Dp2vhtL5mb0Yxdl/ya0JiqEU="; }; + patches = [ + # Fix building with Clang. Removing with next release. + (fetchpatch { + url = "https://github.com/ldn-softdev/jtc/commit/92a5116e5524c0b6d2f539db7b5cc9fdd7c5b8ab.patch"; + sha256 = "sha256-AAvDH0XsT8/CAguG611/odg0m1HR+veC0jbAw6KLHLM="; + }) + ]; + buildPhase = '' runHook preBuild From 3e4ca50b847dbde7283afa836b3ae8f82fcb8084 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 20 May 2022 04:20:00 +0000 Subject: [PATCH 05/35] snore: fix build --- pkgs/tools/misc/snore/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/misc/snore/default.nix b/pkgs/tools/misc/snore/default.nix index 92c3de77c8421..e9d7d42d772f5 100644 --- a/pkgs/tools/misc/snore/default.nix +++ b/pkgs/tools/misc/snore/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub }: +{ lib, stdenv, fetchFromGitHub, fetchpatch }: stdenv.mkDerivation rec { version = "0.2"; @@ -11,6 +11,14 @@ stdenv.mkDerivation rec { sha256 = "sha256-EOwbRqtQEuGZ+aeCBNVfLUq4m/bFWJTvMDM6a+y74qc="; }; + patches = [ + # Fix POSIX_C_SOURCE macro. Remove with the next release. + (fetchpatch { + url = "https://github.com/clamiax/snore/commit/284e5aa56e775803d24879954136401a106aa063.patch"; + sha256 = "sha256-len8E8h9CXC25WB2lmnLLJ0PR903tgllDh9K2RqzQk0="; + }) + ]; + makeFlags = [ "PREFIX=${placeholder "out"}" ]; meta = with lib; { From 71e22b76fcf17baa28a463b8a3168848c36f06ce Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 21 May 2022 00:06:23 +0200 Subject: [PATCH 06/35] spidermonkey_91: unpin icu, drop yasm, refactor Split the argument list into build and runtime dependencies and sort everything alphabetically. Unpin icu, it works with icu70, which is the latest version at this time. Remove yasm, it's not needed in firefox either. --- .../interpreters/spidermonkey/91.nix | 33 ++++++++++--------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/pkgs/development/interpreters/spidermonkey/91.nix b/pkgs/development/interpreters/spidermonkey/91.nix index f1f5c7bb56a07..025c054986371 100644 --- a/pkgs/development/interpreters/spidermonkey/91.nix +++ b/pkgs/development/interpreters/spidermonkey/91.nix @@ -1,20 +1,24 @@ -{ lib, stdenv +{ lib +, stdenv , fetchurl -, pkg-config + +# build time +, buildPackages +, cargo +, m4 , perl +, pkg-config , python3 -, zip -, buildPackages +, rust-cbindgen +, rustc , which +, zip + +# runtime +, icu +, nspr , readline , zlib -, icu69 -, cargo -, rustc -, rust-cbindgen -, yasm -, nspr -, m4 }: stdenv.mkDerivation rec { @@ -31,20 +35,19 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cargo - rustc.llvmPackages.llvm # for llvm-objdump + m4 perl pkg-config python3 rust-cbindgen rustc + rustc.llvmPackages.llvm # for llvm-objdump which - yasm # to buid icu? seems weird zip - m4 ]; buildInputs = [ - icu69 + icu nspr readline zlib From a369c390b7db90c33ab66bcf9323a672b0f3eed3 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Fri, 20 May 2022 20:49:07 -0400 Subject: [PATCH 07/35] nomad_1_1: 1.1.12 -> 1.1.14 --- pkgs/applications/networking/cluster/nomad/1.1.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/nomad/1.1.nix b/pkgs/applications/networking/cluster/nomad/1.1.nix index bbc1dc9949bba..aa5d723b70c8c 100644 --- a/pkgs/applications/networking/cluster/nomad/1.1.nix +++ b/pkgs/applications/networking/cluster/nomad/1.1.nix @@ -6,7 +6,7 @@ callPackage ./generic.nix { inherit buildGoModule nvidia_x11 nvidiaGpuSupport; - version = "1.1.12"; - sha256 = "19y52sn4qz0vx9s188nf7rkr7y2cbq6h33l98sr4w85kmainn86s"; - vendorSha256 = "0p582y2q6zpyn7vmv1p8p8r2gbh786pqc6lpipgr7rpxbnxf5v4b"; + version = "1.1.14"; + sha256 = "0jzcmv6kw555lz7mrm673qgjfmzm4pznibbz9qn3w1jj4x9ddncy"; + vendorSha256 = "04nyd37viz521qb3frcy39alha0bpx029cy3kswldhh7wbyp7284"; } From 829459e679ab98139d0be7f89f50d42dad07fbb8 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Fri, 20 May 2022 20:50:54 -0400 Subject: [PATCH 08/35] nomad_1_2: 1.2.7 -> 1.2.8 --- pkgs/applications/networking/cluster/nomad/1.2.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/nomad/1.2.nix b/pkgs/applications/networking/cluster/nomad/1.2.nix index a45d5b2e98d94..c888581ae4d85 100644 --- a/pkgs/applications/networking/cluster/nomad/1.2.nix +++ b/pkgs/applications/networking/cluster/nomad/1.2.nix @@ -6,7 +6,7 @@ callPackage ./generic.nix { inherit buildGoModule nvidia_x11 nvidiaGpuSupport; - version = "1.2.7"; - sha256 = "13whyjl0shr00mn46f361ybz90zwkiyab9ygcs0hrs75lgvkmfm9"; - vendorSha256 = "177gv0h8bhxd5j78sf4is86zzq8xl9schg1hbyh0hmwg4whhqm8a"; + version = "1.2.8"; + sha256 = "11yn8g9wsdb35q97wn5vy93kgbn5462k0a33wxlfdz14i5h00yj8"; + vendorSha256 = "06wyfnlm37qjvd1pwzygflfpcp9p52f61wgi6pb9l7hnqy2ph6j5"; } From a83355ba1983cbdf1abc2ebd4b10598522fce58f Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Fri, 20 May 2022 20:55:13 -0400 Subject: [PATCH 09/35] nomad_1_3: 1.3.0 -> 1.3.1 --- pkgs/applications/networking/cluster/nomad/1.3.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/nomad/1.3.nix b/pkgs/applications/networking/cluster/nomad/1.3.nix index 932bbc7270f6c..6670b35f67e01 100644 --- a/pkgs/applications/networking/cluster/nomad/1.3.nix +++ b/pkgs/applications/networking/cluster/nomad/1.3.nix @@ -6,7 +6,7 @@ callPackage ./generic.nix { inherit buildGoModule nvidia_x11 nvidiaGpuSupport; - version = "1.3.0"; - sha256 = "098sg7jl257r6zfi2fsp9dwm0rrzi8m2k85bb097q14n3p4s3pna"; - vendorSha256 = "037bdgnyv8gkm2hz7h727ss46adnkywg28j6i1canmdacpi3qv5c"; + version = "1.3.1"; + sha256 = "03ckhqh5xznvhbk380ka0g9w9hrvsi389h5maw68f3g3acx68jm7"; + vendorSha256 = "08k5dxaq4r2q0km6y9mc14haski6l7hmhmzn5wjb961hwf5hkfgh"; } From b32208c32c584bdcabc96c9a087419d550bd18b9 Mon Sep 17 00:00:00 2001 From: Paul-Nicolas Madelaine Date: Sat, 21 May 2022 08:00:00 +0200 Subject: [PATCH 10/35] amaranth: patch out use of deprecated jinja2 function --- pkgs/development/python-modules/amaranth/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/amaranth/default.nix b/pkgs/development/python-modules/amaranth/default.nix index 99fe555e3f3db..938b44202b9b5 100644 --- a/pkgs/development/python-modules/amaranth/default.nix +++ b/pkgs/development/python-modules/amaranth/default.nix @@ -57,6 +57,10 @@ buildPythonPackage rec { substituteInPlace setup.py \ --replace "Jinja2~=2.11" "Jinja2>=2.11" \ --replace "pyvcd~=0.2.2" "pyvcd" + + # jinja2.contextfunction was removed in jinja2 v3.1 + substituteInPlace amaranth/build/plat.py \ + --replace "@jinja2.contextfunction" "@jinja2.pass_context" ''; pythonImportsCheck = [ "amaranth" ]; From a99ea82e37855324dd378d9da31a73969a74429c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 21 May 2022 11:43:19 +0000 Subject: [PATCH 11/35] python310Packages.pybullet: 3.2.4 -> 3.2.5 --- pkgs/development/python-modules/pybullet/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pybullet/default.nix b/pkgs/development/python-modules/pybullet/default.nix index 24c0014a1184f..c93cc59d91388 100644 --- a/pkgs/development/python-modules/pybullet/default.nix +++ b/pkgs/development/python-modules/pybullet/default.nix @@ -8,11 +8,11 @@ buildPythonPackage rec { pname = "pybullet"; - version = "3.2.4"; + version = "3.2.5"; src = fetchPypi { inherit pname version; - sha256 = "sha256-lZ6FvABRMkucSroj15Nlt33iFvnO68OS+dVR/mOg68Y="; + sha256 = "sha256-G8ua+4eghr4bLeGPCE0f2rgZTaG/cfJkdDyia6o5w1E="; }; buildInputs = [ From 469e8566c4318d7181bf32ade56e61c3983e06a0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 21 May 2022 16:53:14 +0200 Subject: [PATCH 12/35] python310Packages.watchdog: 2.1.7 -> 2.1.8 --- pkgs/development/python-modules/watchdog/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/watchdog/default.nix b/pkgs/development/python-modules/watchdog/default.nix index 9afd0f032fc3c..ee1e866f4a666 100644 --- a/pkgs/development/python-modules/watchdog/default.nix +++ b/pkgs/development/python-modules/watchdog/default.nix @@ -12,12 +12,12 @@ buildPythonPackage rec { pname = "watchdog"; - version = "2.1.7"; + version = "2.1.8"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-P9R4FTU76cRO68lMwo/iaysMW9iJ2vxKWny9+SQUNIA="; + sha256 = "sha256-bQMUkSaGSr0ycV1OkmfSdUzt4lppBSkBOZNWrTvF7P8="; }; buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; From 91198c9987707342d9b321f08e015f1126c9944d Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sat, 21 May 2022 22:27:08 +0300 Subject: [PATCH 13/35] setroot: fix build --- pkgs/tools/X11/setroot/default.nix | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/X11/setroot/default.nix b/pkgs/tools/X11/setroot/default.nix index 014ac4c54be78..bc7b468caaf8a 100644 --- a/pkgs/tools/X11/setroot/default.nix +++ b/pkgs/tools/X11/setroot/default.nix @@ -1,9 +1,7 @@ -{ lib, stdenv, fetchFromGitHub, libX11, imlib2 -, enableXinerama ? true, libXinerama ? null +{ lib, stdenv, fetchFromGitHub, libX11, imlib2, pkg-config, fetchpatch +, enableXinerama ? true, libXinerama }: -assert enableXinerama -> libXinerama != null; - stdenv.mkDerivation rec { version = "2.0.2"; pname = "setroot"; @@ -15,12 +13,21 @@ stdenv.mkDerivation rec { sha256 = "0w95828v0splk7bj5kfacp4pq6wxpyamvyjmahyvn5hc3ycq21mq"; }; + patches = [ + (fetchpatch { + url = "https://github.com/ttzhou/setroot/commit/d8ff8edd7d7594d276d741186bf9ccf0bce30277.patch"; + sha256 = "sha256-e0iMSpiOmTOpQnp599fjH2UCPU4Oq1VKXcVypVoR9hw="; + }) + ]; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ libX11 imlib2 ] - ++ lib.optional enableXinerama libXinerama; + ++ lib.optionals enableXinerama [ libXinerama ]; - buildFlags = [ "CC=${stdenv.cc.targetPrefix}cc" (if enableXinerama then "xinerama=1" else "xinerama=0") ] ; + buildFlags = [ (if enableXinerama then "xinerama=1" else "xinerama=0") ] ; - installFlags = [ "DESTDIR=$(out)" "PREFIX=" ]; + installFlags = [ "PREFIX=$(out)" ]; meta = with lib; { description = "Simple X background setter inspired by imlibsetroot and feh"; From 5dbf948745f3e9390de339d521b7a2fe9ca41b84 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 21 May 2022 23:37:50 +0200 Subject: [PATCH 14/35] python310Packages.ssh-mitm: 2.0.1 -> 2.0.2 --- pkgs/development/python-modules/ssh-mitm/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ssh-mitm/default.nix b/pkgs/development/python-modules/ssh-mitm/default.nix index 2787dda2e74d6..22e30c7e1acc1 100644 --- a/pkgs/development/python-modules/ssh-mitm/default.nix +++ b/pkgs/development/python-modules/ssh-mitm/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "ssh-mitm"; - version = "2.0.1"; + version = "2.0.2"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = pname; repo = pname; rev = version; - hash = "sha256-90ja1xckGC5W0A6xqeTOlR46QhONxGt4PLlue24DWX0="; + hash = "sha256-cFahID4+PMQPG/pDAR0bU5MZAa8LsNiirxrzGi2c/EE="; }; propagatedBuildInputs = [ From 6e769a6a95676683b3b623adf84a87e7b0624b8c Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Sat, 21 May 2022 20:38:59 -0400 Subject: [PATCH 15/35] libsForQt5.qtspeech: add speechd dependency Without a speech synthesizer, qtspeech is useless. --- pkgs/development/libraries/qt-5/modules/qtspeech.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/qt-5/modules/qtspeech.nix b/pkgs/development/libraries/qt-5/modules/qtspeech.nix index d2748ba8d4c54..a1ecb48f0d9d4 100644 --- a/pkgs/development/libraries/qt-5/modules/qtspeech.nix +++ b/pkgs/development/libraries/qt-5/modules/qtspeech.nix @@ -1,7 +1,9 @@ -{ qtModule }: +{ qtModule, speechd, pkg-config }: qtModule { pname = "qtspeech"; qtInputs = [ ]; + buildInputs = [ speechd ]; + nativeBuildInputs = [ pkg-config ]; outputs = [ "out" "dev" ]; } From fc6b1aa4a7a8795605ece7544de7d9434388f135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 22 May 2022 03:11:46 +0000 Subject: [PATCH 16/35] python3Packages.greeclimate: 1.1.1 -> 1.2.0 https://github.com/cmroche/greeclimate/releases/tag/v1.2.0 --- pkgs/development/python-modules/greeclimate/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/greeclimate/default.nix b/pkgs/development/python-modules/greeclimate/default.nix index a7a2c5594e566..94e384d7d2285 100644 --- a/pkgs/development/python-modules/greeclimate/default.nix +++ b/pkgs/development/python-modules/greeclimate/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "greeclimate"; - version = "1.1.1"; + version = "1.2.0"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "cmroche"; repo = "greeclimate"; rev = "refs/tags/v${version}"; - hash = "sha256-TFsuzw9twhoGrgOnTNSmYWqsUW4oqY+SGvrvPUT4tZY="; + hash = "sha256-DRVCBbGj0NfQBn9qNRc0Gu3LNO6KDNF1/ZdSAuhCVsM="; }; propagatedBuildInputs = [ @@ -43,6 +43,7 @@ buildPythonPackage rec { meta = with lib; { description = "Discover, connect and control Gree based minisplit systems"; homepage = "https://github.com/cmroche/greeclimate"; + changelog = "https://github.com/cmroche/greeclimate/blob/${src.rev}/CHANGELOG.md"; license = licenses.gpl3Only; maintainers = with maintainers; [ dotlambda ]; }; From 33b706cacbb0853884c5ced021ad2404765e643c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 22 May 2022 03:59:27 +0000 Subject: [PATCH 17/35] python310Packages.jwcrypto: 1.3 -> 1.3.1 --- pkgs/development/python-modules/jwcrypto/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jwcrypto/default.nix b/pkgs/development/python-modules/jwcrypto/default.nix index 2904380775f17..ce035c1c64e0f 100644 --- a/pkgs/development/python-modules/jwcrypto/default.nix +++ b/pkgs/development/python-modules/jwcrypto/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "jwcrypto"; - version = "1.3"; + version = "1.3.1"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-DWRhuhP3wnHYusUBjuYN28rl/zlAP6+kI3X1fQjjmLs="; + hash = "sha256-VLVRsRX/tNErHx7pO4uipxu4VWuj2F1i9wdUlhPah3w="; }; propagatedBuildInputs = [ From e63339fcba5eac7cae128f07d0656ae99c234d4f Mon Sep 17 00:00:00 2001 From: sudosubin Date: Wed, 18 May 2022 01:35:09 +0900 Subject: [PATCH 18/35] maintainers: add sudosubin --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 0083993e7ef32..3b70ccedd7e83 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -12168,6 +12168,12 @@ githubId = 12984845; name = "Subhrajyoti Sen"; }; + sudosubin = { + email = "sudosubin@gmail.com"; + github = "sudosubin"; + githubId = 32478597; + name = "Subin Kim"; + }; suhr = { email = "suhr@i2pmail.org"; github = "suhr"; From 0c5462544c38db5b8a11d7ca0b6cdda7e66bae00 Mon Sep 17 00:00:00 2001 From: sudosubin Date: Sun, 22 May 2022 13:27:04 +0900 Subject: [PATCH 19/35] pretendard: init at 1.3.0 --- pkgs/data/fonts/pretendard/default.nix | 46 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 5 +++ 2 files changed, 51 insertions(+) create mode 100644 pkgs/data/fonts/pretendard/default.nix diff --git a/pkgs/data/fonts/pretendard/default.nix b/pkgs/data/fonts/pretendard/default.nix new file mode 100644 index 0000000000000..ea2ccfecbc276 --- /dev/null +++ b/pkgs/data/fonts/pretendard/default.nix @@ -0,0 +1,46 @@ +{ lib, fetchzip }: + +let + version = "1.3.0"; + + mkPretendard = { pname, typeface, sha256 }: + fetchzip { + name = "${pname}-${version}"; + + url = "https://github.com/orioncactus/pretendard/releases/download/v${version}/${typeface}-${version}.zip"; + inherit sha256; + + postFetch = '' + mkdir -p $out/share/fonts/opentype + unzip -j $downloadedFile "*.otf" -d $out/share/fonts/opentype + ''; + + meta = with lib; { + homepage = "https://github.com/orioncactus/pretendard"; + description = "An alternative font to system-ui for all platforms"; + license = licenses.ofl; + platforms = platforms.all; + maintainers = with maintainers; [ sudosubin ]; + }; + }; + +in +{ + pretendard = mkPretendard { + pname = "pretendard"; + typeface = "Pretendard"; + sha256 = "sha256-4DM8PZjxW93sgQChs+qu5Svo+iGlFnpglu6acYMCkSQ="; + }; + + pretendard-jp = mkPretendard { + pname = "pretendard-jp"; + typeface = "PretendardJP"; + sha256 = "sha256-3OOUUDiurCpIGNIVjrr2KW0CB3fCXt11P+13teK5kOQ="; + }; + + pretendard-std = mkPretendard { + pname = "pretendard-std"; + typeface = "PretendardStd"; + sha256 = "sha256-iVAPdA6qAiE7pseaB0NKPJBPNGdw/nT6PzXIsLajJH4="; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 294e077998a96..dc79172c31b6d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24825,6 +24825,11 @@ with pkgs; poppler_data = callPackage ../data/misc/poppler-data { }; + inherit (callPackages ../data/fonts/pretendard { }) + pretendard + pretendard-jp + pretendard-std; + quattrocento = callPackage ../data/fonts/quattrocento {}; quattrocento-sans = callPackage ../data/fonts/quattrocento-sans {}; From f7e2353e0b03be01b22fb1c01d75a459580eed6c Mon Sep 17 00:00:00 2001 From: Tae Selene Sandoval Murgan Date: Sun, 22 May 2022 09:16:22 +0200 Subject: [PATCH 20/35] neovim: Pass CoreServices when building on darwin --- pkgs/applications/editors/neovim/default.nix | 3 ++- pkgs/top-level/all-packages.nix | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/editors/neovim/default.nix b/pkgs/applications/editors/neovim/default.nix index b4858b21eeedb..cd046b1871fa0 100644 --- a/pkgs/applications/editors/neovim/default.nix +++ b/pkgs/applications/editors/neovim/default.nix @@ -3,6 +3,7 @@ , unibilium, gperf , libvterm-neovim , tree-sitter +, CoreServices , glibcLocales ? null, procps ? null # now defaults to false because some tests can be flaky (clipboard etc), see @@ -60,7 +61,7 @@ in neovimLuaEnv tree-sitter unibilium - ] ++ optional stdenv.isDarwin libiconv + ] ++ optionals stdenv.isDarwin [ libiconv CoreServices ] ++ optionals doCheck [ glibcLocales procps ] ; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9b6fcf7046c41..1906f274ef576 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -30269,6 +30269,7 @@ with pkgs; wrapNeovimUnstable = callPackage ../applications/editors/neovim/wrapper.nix { }; wrapNeovim = neovim-unwrapped: lib.makeOverridable (neovimUtils.legacyWrapper neovim-unwrapped); neovim-unwrapped = callPackage ../applications/editors/neovim { + CoreServices = darwin.apple_sdk.frameworks.CoreServices; lua = luajit; }; From 9c4c9f588477d86ec4b5ae17c681edd469b19495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Sun, 22 May 2022 10:09:35 +0200 Subject: [PATCH 21/35] ocamlPackages.gd4o: init at 1.0a5 (#169226) --- .../ocaml-modules/gd4o/default.nix | 36 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/development/ocaml-modules/gd4o/default.nix diff --git a/pkgs/development/ocaml-modules/gd4o/default.nix b/pkgs/development/ocaml-modules/gd4o/default.nix new file mode 100644 index 0000000000000..19a1b42f06bda --- /dev/null +++ b/pkgs/development/ocaml-modules/gd4o/default.nix @@ -0,0 +1,36 @@ +{ lib, stdenv, fetchurl, ocaml, gd, freetype, findlib, zlib, libpng, libjpeg }: + +stdenv.mkDerivation rec { + pname = "ocaml${ocaml.version}-gd4o"; + version = "1.0a5"; + + src = fetchurl { + url = "mirror://sourceforge/gd4o/gd4o/1.0%20Alpha%205/gd4o-1.0a5.tar.gz"; + sha256 = "1vbyakz7byvxmqf3hj68rw15b4kb94ppcnhvmjv38rsyg05bc47s"; + }; + + buildInputs = [ ocaml findlib libjpeg libpng ]; + propagatedBuildInputs = [ gd zlib freetype ]; + + + preInstall = '' + mkdir -p $OCAMLFIND_DESTDIR/stublibs + ''; + + buildFlags = [ "all" "opt" ]; + + checkPhase = '' + runHook preCheck + make test.opt + runHook postCheck + ''; + + doCheck = true; + + meta = with lib; { + homepage = "https://sourceforge.net/projects/gd4o/"; + description = "OCaml wrapper for the GD graphics library"; + license = licenses.lgpl21Only; + maintainers = with maintainers; [ dandellion ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 4b31e2484a749..a1effc538b60d 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -450,6 +450,8 @@ let functory = callPackage ../development/ocaml-modules/functory { }; + gd4o = callPackage ../development/ocaml-modules/gd4o { }; + gen = callPackage ../development/ocaml-modules/gen { }; genspio = callPackage ../development/ocaml-modules/genspio { }; From 44c68b8a89a6e183c4c93340b37dce094774d024 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 22 May 2022 10:45:09 +0200 Subject: [PATCH 22/35] python310Packages.faraday-plugins: 1.6.5 -> 1.6.6 --- pkgs/development/python-modules/faraday-plugins/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/faraday-plugins/default.nix b/pkgs/development/python-modules/faraday-plugins/default.nix index 92a9eb9edc0c5..3d7ad0cdf7d6c 100644 --- a/pkgs/development/python-modules/faraday-plugins/default.nix +++ b/pkgs/development/python-modules/faraday-plugins/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "faraday-plugins"; - version = "1.6.5"; + version = "1.6.6"; format = "setuptools"; src = fetchFromGitHub { owner = "infobyte"; repo = "faraday_plugins"; rev = "refs/tags/v${version}"; - sha256 = "sha256-mzzUbUBlzOyFpDaoUwwjxC3dqbheLWAt8gXrIH0XXss="; + sha256 = "sha256-clhWUKpX4q3aXq7HrrGPda+qjPD/GuPS7PRZ7c4xxxI="; }; propagatedBuildInputs = [ From 82c10e4a21150f7e6856c1b7e9ad0e1f82044f91 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 22 May 2022 10:14:01 +0200 Subject: [PATCH 23/35] =?UTF-8?q?gajim:=201.3.3=20=E2=86=92=201.4.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pythonPackages.nbxmpp: 2.0.6 → 3.0.2 --- .../networking/instant-messengers/gajim/default.nix | 8 +++++--- pkgs/development/python-modules/nbxmpp/default.nix | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/gajim/default.nix b/pkgs/applications/networking/instant-messengers/gajim/default.nix index 118a35381a66d..aad4b24d74045 100644 --- a/pkgs/applications/networking/instant-messengers/gajim/default.nix +++ b/pkgs/applications/networking/instant-messengers/gajim/default.nix @@ -2,6 +2,7 @@ # Native dependencies , python3, gtk3, gobject-introspection, gnome +, gtksourceview4 , glib-networking # Test dependencies @@ -21,15 +22,16 @@ python3.pkgs.buildPythonApplication rec { pname = "gajim"; - version = "1.3.3"; + version = "1.4.1"; src = fetchurl { url = "https://gajim.org/downloads/${lib.versions.majorMinor version}/gajim-${version}.tar.gz"; - sha256 = "1337qkpcv7j0fgws9scnk82mn2l7s17060vmrbh3ihinmxmbxg6x"; + sha256 = "sha256:0mbx7s1d2xgk7bkhwqcdss6ynshkqdiwh3qgv7d45frb4c3k33l2"; }; buildInputs = [ gobject-introspection gtk3 gnome.adwaita-icon-theme + gtksourceview4 glib-networking ] ++ lib.optionals enableJingle [ farstream gstreamer gst-plugins-base gst-libav gst-plugins-good libnice ] ++ lib.optional enableSecrets libsecret @@ -74,7 +76,7 @@ python3.pkgs.buildPythonApplication rec { checkPhase = '' xvfb-run dbus-run-session \ --config-file=${dbus.daemon}/share/dbus-1/session.conf \ - ${python3.interpreter} -m unittest discover -s test/unit -v + ${python3.interpreter} -m unittest discover -s test/gtk -v ${python3.interpreter} -m unittest discover -s test/no_gui -v ''; diff --git a/pkgs/development/python-modules/nbxmpp/default.nix b/pkgs/development/python-modules/nbxmpp/default.nix index 749d3e6e30cc6..c94c7a0b01bf0 100644 --- a/pkgs/development/python-modules/nbxmpp/default.nix +++ b/pkgs/development/python-modules/nbxmpp/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "nbxmpp"; - version = "2.0.6"; + version = "3.0.2"; disabled = pythonOlder "3.7"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "gajim"; repo = "python-nbxmpp"; rev = "nbxmpp-${version}"; - sha256 = "sha256:03iydz0r9m8559srawwnhaqzqm9liwrnc8v6abj4w3m1lil32bid"; + sha256 = "sha256:0wvganymqw90y9mz5a5mh531r2s9z0vrkbfspx5akk98syaq6f5p"; }; buildInputs = [ From 18c617fb3692c5d176ea1579e2adc33a74b39329 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 22 May 2022 10:56:32 +0200 Subject: [PATCH 24/35] python310Packages.embrace: disable on older Python releases --- .../python-modules/embrace/default.nix | 31 +++++++++++++++---- 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/embrace/default.nix b/pkgs/development/python-modules/embrace/default.nix index 9b80c5d689b1e..c342c9be5a0bd 100644 --- a/pkgs/development/python-modules/embrace/default.nix +++ b/pkgs/development/python-modules/embrace/default.nix @@ -1,21 +1,40 @@ -{ stdenv, lib, buildPythonPackage, fetchFromSourcehut, - sqlparse, wrapt, pytestCheckHook }: +{ lib +, stdenv +, buildPythonPackage +, fetchFromSourcehut +, pytestCheckHook +, pythonOlder +, sqlparse +, wrapt +}: buildPythonPackage rec { pname = "embrace"; version = "4.1.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromSourcehut { vc = "hg"; owner = "~olly"; repo = "embrace-sql"; rev = "v${version}-release"; - sha256 = "sha256-R6Ug4f8KFZNzaNWqWZkLvOwtsawCuerzvHlysr7bd6M="; + hash = "sha256-R6Ug4f8KFZNzaNWqWZkLvOwtsawCuerzvHlysr7bd6M="; }; - propagatedBuildInputs = [ sqlparse wrapt ]; - checkInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ "embrace" ]; + propagatedBuildInputs = [ + sqlparse + wrapt + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "embrace" + ]; # Some test for hot-reload fails on Darwin, but the rest of the library # should remain usable. (https://todo.sr.ht/~olly/embrace-sql/4) From 2fa955e28c513b21d85de2cfe0c9a488857f968f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 22 May 2022 11:17:50 +0200 Subject: [PATCH 25/35] python310Packages.yappi. 1.3.3 -> 1.3.5 --- .../python-modules/yappi/default.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/yappi/default.nix b/pkgs/development/python-modules/yappi/default.nix index af650f6db3b8b..8ebc8767a85b3 100644 --- a/pkgs/development/python-modules/yappi/default.nix +++ b/pkgs/development/python-modules/yappi/default.nix @@ -2,24 +2,28 @@ , buildPythonPackage , fetchFromGitHub , gevent -, isPy27 , python +, pythonOlder }: buildPythonPackage rec { pname = "yappi"; - version = "1.3.2"; + version = "1.3.5"; + format = "setuptools"; - disabled = isPy27; # invalid syntax + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "sumerc"; repo = pname; - rev = "8bf7a650066f104f59c3cae4a189ec15e7d51c8c"; - sha256 = "1q8lr9n0lny2g3mssy3mksbl9m4k1kqn1a4yv1hfqsahxdvpw2dp"; + # https://github.com/sumerc/yappi/issues/102 + rev = "1f41868a2cdfd1e935a5a60808f7bb09c871fa53"; + hash = "sha256-XxUAYrDQAY7fD9yTSmoRUmWJEs+L6KSQ0/bIVf/o9ag="; }; - patches = [ ./tests.patch ]; + patches = [ + ./tests.patch + ]; checkInputs = [ gevent @@ -34,8 +38,8 @@ buildPythonPackage rec { ]; meta = with lib; { - homepage = "https://github.com/sumerc/yappi"; description = "Python profiler that supports multithreading and measuring CPU time"; + homepage = "https://github.com/sumerc/yappi"; license = licenses.mit; maintainers = with maintainers; [ orivej ]; }; From 13c8a6774d92773a68a756aa9df41ff6706bcc38 Mon Sep 17 00:00:00 2001 From: Ulrik Strid Date: Thu, 24 Mar 2022 18:33:21 +0100 Subject: [PATCH 26/35] ocamlPackages.ppx_cstubs: 0.6.1.2 -> 0.7.0 --- pkgs/development/ocaml-modules/ppx_cstubs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/ocaml-modules/ppx_cstubs/default.nix b/pkgs/development/ocaml-modules/ppx_cstubs/default.nix index f2c844ea0482f..c58004b9adca9 100644 --- a/pkgs/development/ocaml-modules/ppx_cstubs/default.nix +++ b/pkgs/development/ocaml-modules/ppx_cstubs/default.nix @@ -14,7 +14,7 @@ buildDunePackage rec { pname = "ppx_cstubs"; - version = "0.6.1.2"; + version = "0.7.0"; minimalOCamlVersion = "4.08"; @@ -24,7 +24,7 @@ buildDunePackage rec { owner = "fdopen"; repo = "ppx_cstubs"; rev = version; - sha256 = "15cjb9ygnvp2kv85rrb7ncz7yalifyl7wd2hp2cl8r1qrpgi1d0w"; + sha256 = "sha256-qMmwRWCIfNyhCQYPKLiufnb57sTR3P+WInOqtPDywFs="; }; nativeBuildInputs = [ cppo findlib ]; From edfa19a15bb44eb2226be3abff241769aae68c4b Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Thu, 19 May 2022 17:27:55 +0000 Subject: [PATCH 27/35] cloud-hypervisor: 23.0 -> 23.1 --- .../virtualization/cloud-hypervisor/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/virtualization/cloud-hypervisor/default.nix b/pkgs/applications/virtualization/cloud-hypervisor/default.nix index 9e6de7890a48d..10f61bfd233cc 100644 --- a/pkgs/applications/virtualization/cloud-hypervisor/default.nix +++ b/pkgs/applications/virtualization/cloud-hypervisor/default.nix @@ -2,19 +2,19 @@ rustPlatform.buildRustPackage rec { pname = "cloud-hypervisor"; - version = "23.0"; + version = "23.1"; src = fetchFromGitHub { owner = "cloud-hypervisor"; repo = pname; rev = "v${version}"; - sha256 = "0gq23zhpl1rw8i3yv0f058lycsr078yfy8vkb5w382pifgrww1zh"; + sha256 = "sha256-Pyocmj5cr2vOfeyRG3mBU11I3iXndUh3VifRSlnjoE8="; }; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ] ++ lib.optional stdenv.isAarch64 dtc; - cargoSha256 = "0r3r6r5scbw23ipz24glcyvaxx9sffy8kp27fpqvwdha915c1zkp"; + cargoSha256 = "1rx4d38d0ajdq3qs638gmagmj3f9j29i5mhrrzw039mggahjbksw"; OPENSSL_NO_VENDOR = true; From 266e665668dd3599701a6f071b099bf9492e966b Mon Sep 17 00:00:00 2001 From: Ulrik Strid Date: Thu, 24 Mar 2022 14:57:52 +0100 Subject: [PATCH 28/35] ocamlPackages.irmin-watcher: 0.4.1 -> 0.5.0 --- pkgs/development/ocaml-modules/irmin-watcher/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/ocaml-modules/irmin-watcher/default.nix b/pkgs/development/ocaml-modules/irmin-watcher/default.nix index 82818b39492d2..7304528b7dc57 100644 --- a/pkgs/development/ocaml-modules/irmin-watcher/default.nix +++ b/pkgs/development/ocaml-modules/irmin-watcher/default.nix @@ -4,13 +4,13 @@ buildDunePackage rec { pname = "irmin-watcher"; - version = "0.4.1"; + version = "0.5.0"; useDune2 = true; src = fetchurl { url = "https://github.com/mirage/irmin-watcher/releases/download/${version}/irmin-watcher-${version}.tbz"; - sha256 = "00d4ph4jbsw6adp3zqdrwi099hfcf7p1xzi0685qr7bgcmandjfv"; + sha256 = "sha256-vq4kwaz4QUG9x0fGEbQMAuDGjlT3/6lm8xiXTUqJmZM="; }; propagatedBuildInputs = [ astring fmt logs ocaml_lwt ]; From a4850d6ea20e2be75b97467ccbe77e412bc99c9b Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 22 May 2022 11:09:34 +0100 Subject: [PATCH 29/35] menu-cache: pull patch pending upstream inclusion for -fno-common toolchains Without the change build fails on upstream gcc-10 as: ld: menu-compose.o:/build/menu-cache-1.1.0/menu-cache-gen/menu-tags.h:25: multiple definition of `menuTag_Menu'; main.o:/build/menu-cache-1.1.0/menu-cache-gen/menu-tags.h:25: first defined here --- pkgs/development/libraries/menu-cache/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/menu-cache/default.nix b/pkgs/development/libraries/menu-cache/default.nix index 66fadee0b31fe..e05d387846a67 100644 --- a/pkgs/development/libraries/menu-cache/default.nix +++ b/pkgs/development/libraries/menu-cache/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, glib, pkg-config, libfm-extra }: +{ lib, stdenv, fetchurl, fetchpatch, glib, pkg-config, libfm-extra }: stdenv.mkDerivation rec { pname = "menu-cache"; @@ -9,6 +9,16 @@ stdenv.mkDerivation rec { sha256 = "1iry4zlpppww8qai2cw4zid4081hh7fz8nzsp5lqyffbkm2yn0pd"; }; + patches = [ + # Pull patch pending upstream inclusion for -fno-common toolchain support: + # https://github.com/lxde/menu-cache/pull/19 + (fetchpatch { + name = "fno-common.patch"; + url = "https://github.com/lxde/menu-cache/commit/1ce739649b4d66339a03fc0ec9ee7a2f7c141780.patch"; + sha256 = "08x3h0w2pl8ifj83v9jkf4j3zxcwsyzh251divlhhnwx0rw1pyn7"; + }) + ]; + nativeBuildInputs = [ pkg-config ]; buildInputs = [ glib libfm-extra ]; From 02da75e7ae45a9316a9765ad807878aa08d065ba Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 22 May 2022 10:27:07 +0000 Subject: [PATCH 30/35] python310Packages.fontparts: 0.10.4 -> 0.10.5 --- pkgs/development/python-modules/fontparts/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/fontparts/default.nix b/pkgs/development/python-modules/fontparts/default.nix index 16d594eab04f6..f394af315a199 100644 --- a/pkgs/development/python-modules/fontparts/default.nix +++ b/pkgs/development/python-modules/fontparts/default.nix @@ -6,13 +6,13 @@ buildPythonPackage rec { pname = "fontParts"; - version = "0.10.4"; + version = "0.10.5"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "1ic453q86s5hsw8mxnclk1vr4qp69fd67gywhv23zqwz9a7kb7lh"; + sha256 = "sha256-VriGYcpd2uVDMXeF3DXGKCMRQ9pTjDkrUOt2YSUgd5M="; extension = "zip"; }; From 27530ba856d1d5bbd064fcf17e1ab6e43ec6aa77 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sun, 22 May 2022 10:33:22 +0000 Subject: [PATCH 31/35] nixos/postfix: make postfix-setup RemainAfterExit Otherwise, it wouldn't get restarted when a new system configuration was activatad, so the Postfix configuration wouldn't be updated. Fixes: fb2fa1b50fe ("nixos/postfix: pull setup into its own unit") --- nixos/modules/services/mail/postfix.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/mail/postfix.nix b/nixos/modules/services/mail/postfix.nix index da14b6eef7edf..de00c87b95a5b 100644 --- a/nixos/modules/services/mail/postfix.nix +++ b/nixos/modules/services/mail/postfix.nix @@ -725,6 +725,7 @@ in systemd.services.postfix-setup = { description = "Setup for Postfix mail server"; + serviceConfig.RemainAfterExit = true; serviceConfig.Type = "oneshot"; script = '' # Backwards compatibility From 1e95faf0b8f492416bcba50929a0bd715f3b2ddf Mon Sep 17 00:00:00 2001 From: Yureka Date: Sat, 21 May 2022 11:50:27 +0200 Subject: [PATCH 32/35] gitlab: 14.10.2 -> 15.0.0 --- .../version-management/gitlab/data.json | 16 +-- .../version-management/gitlab/default.nix | 2 +- .../gitlab/gitaly/Gemfile.lock | 2 +- .../gitlab/gitaly/default.nix | 11 +- .../gitlab/gitaly/gemset.nix | 4 +- .../gitlab/gitlab-shell/default.nix | 6 +- .../gitlab/gitlab-workhorse/default.nix | 4 +- .../version-management/gitlab/rubyEnv/Gemfile | 15 +- .../gitlab/rubyEnv/Gemfile.lock | 72 +++++----- .../gitlab/rubyEnv/gemset.nix | 135 +++++++++++------- 10 files changed, 152 insertions(+), 115 deletions(-) diff --git a/pkgs/applications/version-management/gitlab/data.json b/pkgs/applications/version-management/gitlab/data.json index cc8cd00b7d14e..40d678bf7bbed 100644 --- a/pkgs/applications/version-management/gitlab/data.json +++ b/pkgs/applications/version-management/gitlab/data.json @@ -1,14 +1,14 @@ { - "version": "14.10.2", - "repo_hash": "0f7cfc1wrzz4m5yhd6jnp3dqpdy7vbj8bf826zjsi2ss48430bk0", - "yarn_hash": "17wxqvig34namf8kvh8bwci3y0f3k2nl4zs99jcvskdad9p45rlc", + "version": "15.0.0", + "repo_hash": "sha256-+ZLHo35BhgWlopuwrVGiMvcWl8qUvHUV2kAEIXWazyY=", + "yarn_hash": "1a8k3x3b9sirzicqkwmr10m27n593iljfh8awdc9700akbj155lr", "owner": "gitlab-org", "repo": "gitlab", - "rev": "v14.10.2-ee", + "rev": "v15.0.0-ee", "passthru": { - "GITALY_SERVER_VERSION": "14.10.2", - "GITLAB_PAGES_VERSION": "1.56.1", - "GITLAB_SHELL_VERSION": "13.25.1", - "GITLAB_WORKHORSE_VERSION": "14.10.2" + "GITALY_SERVER_VERSION": "15.0.0", + "GITLAB_PAGES_VERSION": "1.58.0", + "GITLAB_SHELL_VERSION": "14.3.0", + "GITLAB_WORKHORSE_VERSION": "15.0.0" } } diff --git a/pkgs/applications/version-management/gitlab/default.nix b/pkgs/applications/version-management/gitlab/default.nix index 362cf4702f45b..e5765bb78423c 100644 --- a/pkgs/applications/version-management/gitlab/default.nix +++ b/pkgs/applications/version-management/gitlab/default.nix @@ -74,7 +74,7 @@ let rm lib/tasks/yarn.rake # The rake tasks won't run without a basic configuration in place - mv config/database.yml.env config/database.yml + mv config/database.yml.postgresql config/database.yml mv config/gitlab.yml.example config/gitlab.yml # Yarn and bundler wants a real home directory to write cache, config, etc to diff --git a/pkgs/applications/version-management/gitlab/gitaly/Gemfile.lock b/pkgs/applications/version-management/gitlab/gitaly/Gemfile.lock index cc37adacce62c..cc5344f8e87af 100644 --- a/pkgs/applications/version-management/gitlab/gitaly/Gemfile.lock +++ b/pkgs/applications/version-management/gitlab/gitaly/Gemfile.lock @@ -94,7 +94,7 @@ GEM jaeger-client (1.1.0) opentracing (~> 0.3) thrift - json (2.6.1) + json (2.5.1) licensee (9.14.1) dotenv (~> 2.0) octokit (~> 4.17) diff --git a/pkgs/applications/version-management/gitlab/gitaly/default.nix b/pkgs/applications/version-management/gitlab/gitaly/default.nix index 127a4ec461fc4..aa53fc5171c32 100644 --- a/pkgs/applications/version-management/gitlab/gitaly/default.nix +++ b/pkgs/applications/version-management/gitlab/gitaly/default.nix @@ -11,8 +11,9 @@ let gemdir = ./.; }; - version = "14.10.2"; - gitaly_package = "gitlab.com/gitlab-org/gitaly/v${lib.versions.major version}"; + version = "15.0.0"; + package_version = "v14"; + gitaly_package = "gitlab.com/gitlab-org/gitaly/${package_version}"; in buildGoModule { @@ -23,10 +24,10 @@ buildGoModule { owner = "gitlab-org"; repo = "gitaly"; rev = "v${version}"; - sha256 = "sha256-hLTzkW5GDq1AgTwe1pVj6Tiyd0JpJ76ATFu3Q+m9MVg="; + sha256 = "sha256-ib/gGkXo6W6LZ6j92oUMhJWdDYZRnA1p+tsOK6ewemk="; }; - vendorSha256 = "sha256-ZL61t+Ii2Ns3TmitiF93exinod54+RCqrbdpU67HeY0="; + vendorSha256 = "sha256-/tHKWo09ZV31TSIqlOk36V3y7gNikziUJHf+nS1gHEw="; passthru = { inherit rubyEnv; @@ -42,7 +43,7 @@ buildGoModule { postInstall = '' mkdir -p $ruby cp -rv $src/ruby/{bin,lib,proto} $ruby - mv $out/bin/gitaly-git2go-v${lib.versions.major version} $out/bin/gitaly-git2go-${version} + mv $out/bin/gitaly-git2go-${package_version} $out/bin/gitaly-git2go-${version} ''; outputs = [ "out" "ruby" ]; diff --git a/pkgs/applications/version-management/gitlab/gitaly/gemset.nix b/pkgs/applications/version-management/gitlab/gitaly/gemset.nix index 21db54b6ed566..ccf444330af36 100644 --- a/pkgs/applications/version-management/gitlab/gitaly/gemset.nix +++ b/pkgs/applications/version-management/gitlab/gitaly/gemset.nix @@ -372,10 +372,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1z9grvjyfz16ag55hg522d3q4dh07hf391sf9s96npc0vfi85xkz"; + sha256 = "0lrirj0gw420kw71bjjlqkqhqbrplla61gbv1jzgsz6bv90qr3ci"; type = "gem"; }; - version = "2.6.1"; + version = "2.5.1"; }; licensee = { dependencies = ["dotenv" "octokit" "reverse_markdown" "rugged" "thor"]; diff --git a/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix b/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix index 915d52f1635ba..3888b0ba1104b 100644 --- a/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix +++ b/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix @@ -2,19 +2,19 @@ buildGoModule rec { pname = "gitlab-shell"; - version = "13.25.1"; + version = "14.3.0"; src = fetchFromGitLab { owner = "gitlab-org"; repo = "gitlab-shell"; rev = "v${version}"; - sha256 = "sha256-JItk6gfpBNxabI0vsIOHIBhK7L6E1ijPgrnzhQiKPYw="; + sha256 = "sha256-SFoNtWcY0iJREsA+vZRsVJHmNb2vNvOiBJnochxA/Us="; }; buildInputs = [ ruby ]; patches = [ ./remove-hardcoded-locations.patch ]; - vendorSha256 = "sha256-S7bVQxb+p6o0LPAdx7S6dlsHLecPwMS7myjQZwYhHcU="; + vendorSha256 = "sha256-eSzJon8o7ktV3rFuTE1A4tzdkBzWBZf1JxnrcMj5s00="; postInstall = '' cp -r "$NIX_BUILD_TOP/source"/bin/* $out/bin diff --git a/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix b/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix index 2613fe85f81bd..d67e8bf4d445e 100644 --- a/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix +++ b/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix @@ -5,7 +5,7 @@ in buildGoModule rec { pname = "gitlab-workhorse"; - version = "14.10.2"; + version = "15.0.0"; src = fetchFromGitLab { owner = data.owner; @@ -16,7 +16,7 @@ buildGoModule rec { sourceRoot = "source/workhorse"; - vendorSha256 = "sha256-TNZtggUBMwIPO6ZZGk/EkRcilh7sztlAT7Hu4vhME0w="; + vendorSha256 = "sha256-7hNwBCDMdiiOliZa/lkYLo8gyAksAU0HanCSyaAMYLs="; buildInputs = [ git ]; ldflags = [ "-X main.Version=${version}" ]; doCheck = false; diff --git a/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile b/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile index 732591ae170f5..cbb4d6f90c0fb 100644 --- a/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile +++ b/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile @@ -4,7 +4,7 @@ source 'https://rubygems.org' gem 'rails', '~> 6.1.4.7' -gem 'bootsnap', '~> 1.9.1', require: false +gem 'bootsnap', '~> 1.9.4', require: false # Responders respond_to and respond_with gem 'responders', '~> 3.0' @@ -46,7 +46,6 @@ gem 'omniauth-facebook', '~> 4.0.0' gem 'omniauth-github', '~> 1.4' gem 'omniauth-gitlab', '~> 1.0.2' gem 'omniauth-google-oauth2', '~> 0.6.0' -gem 'omniauth-kerberos', '~> 0.3.0', group: :kerberos gem 'omniauth-oauth2-generic', '~> 0.2.2' gem 'omniauth-saml', '~> 1.10' gem 'omniauth-shibboleth', '~> 1.3.0' @@ -61,6 +60,7 @@ gem 'jwt', '~> 2.1.0' # Kerberos authentication. EE-only gem 'gssapi', group: :kerberos +gem 'timfel-krb5-auth', '~> 0.8', group: :kerberos # Spam and anti-bot protection gem 'recaptcha', '~> 4.11', require: 'recaptcha/rails' @@ -104,7 +104,7 @@ gem 'graphql', '~> 1.11.10' gem 'graphiql-rails', '~> 1.8' gem 'apollo_upload_server', '~> 2.1.0' gem 'graphql-docs', '~> 1.6.0', group: [:development, :test] -gem 'graphlient', '~> 0.4.0' # Used by BulkImport feature (group::import) +gem 'graphlient', '~> 0.5.0' # Used by BulkImport feature (group::import) gem 'hashie' # Disable strong_params so that Mash does not respond to :permitted? @@ -142,9 +142,9 @@ gem 'unf', '~> 0.1.4' gem 'seed-fu', '~> 2.3.7' # Search -gem 'elasticsearch-model', '~> 6.1' -gem 'elasticsearch-rails', '~> 6.1', require: 'elasticsearch/rails/instrumentation' -gem 'elasticsearch-api', '~> 6.8.2' +gem 'elasticsearch-model', '~> 7.2' +gem 'elasticsearch-rails', '~> 7.2', require: 'elasticsearch/rails/instrumentation' +gem 'elasticsearch-api', '7.13.3' gem 'aws-sdk-core', '~> 3' gem 'aws-sdk-cloudformation', '~> 1' gem 'aws-sdk-s3', '~> 1' @@ -345,6 +345,7 @@ gem 'warning', '~> 1.2.0' group :development do gem 'lefthook', '~> 0.7.0', require: false + gem 'rubocop' gem 'solargraph', '~> 0.44.3', require: false gem 'letter_opener_web', '~> 2.0.0' @@ -543,4 +544,4 @@ gem 'ipaddress', '~> 0.8.3' gem 'parslet', '~> 1.8' -gem 'ipynbdiff', '0.4.5' +gem 'ipynbdiff', '0.4.7' diff --git a/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock b/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock index eeb2a8d8a7334..4f5d0e36ab33e 100644 --- a/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock +++ b/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock @@ -143,7 +143,7 @@ GEM rack (>= 0.9.0) bindata (2.4.10) binding_ninja (0.2.3) - bootsnap (1.9.1) + bootsnap (1.9.4) msgpack (~> 1.0) bootstrap_form (4.2.0) actionpack (>= 5.0) @@ -306,17 +306,17 @@ GEM e2mmap (0.1.0) ecma-re-validator (0.3.0) regexp_parser (~> 2.0) - elasticsearch (6.8.2) - elasticsearch-api (= 6.8.2) - elasticsearch-transport (= 6.8.2) - elasticsearch-api (6.8.2) + elasticsearch (7.13.3) + elasticsearch-api (= 7.13.3) + elasticsearch-transport (= 7.13.3) + elasticsearch-api (7.13.3) multi_json - elasticsearch-model (6.1.1) + elasticsearch-model (7.2.0) activesupport (> 3) - elasticsearch (~> 6) + elasticsearch (~> 7) hashie - elasticsearch-rails (6.1.1) - elasticsearch-transport (6.8.2) + elasticsearch-rails (7.2.1) + elasticsearch-transport (7.13.3) faraday (~> 1) multi_json email_reply_trimmer (0.1.6) @@ -342,13 +342,17 @@ GEM factory_bot_rails (6.2.0) factory_bot (~> 6.2.0) railties (>= 5.0.0) - faraday (1.4.2) + faraday (1.10.0) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) faraday-excon (~> 1.1) + faraday-httpclient (~> 1.0) + faraday-multipart (~> 1.0) faraday-net_http (~> 1.0) - faraday-net_http_persistent (~> 1.1) - multipart-post (>= 1.2, < 3) + faraday-net_http_persistent (~> 1.0) + faraday-patron (~> 1.0) + faraday-rack (~> 1.0) + faraday-retry (~> 1.0) ruby2_keywords (>= 0.0.4) faraday-cookie_jar (0.0.7) faraday (>= 0.8.0) @@ -358,9 +362,15 @@ GEM faraday-excon (1.1.0) faraday-http-cache (2.2.0) faraday (>= 0.8) + faraday-httpclient (1.0.1) + faraday-multipart (1.0.3) + multipart-post (>= 1.2, < 3) faraday-net_http (1.0.1) - faraday-net_http_persistent (1.1.0) - faraday_middleware (1.0.0) + faraday-net_http_persistent (1.2.0) + faraday-patron (1.0.0) + faraday-rack (1.0.0) + faraday-retry (1.0.3) + faraday_middleware (1.2.0) faraday (~> 1.0) faraday_middleware-aws-sigv4 (0.3.0) aws-sigv4 (~> 1.0) @@ -560,14 +570,14 @@ GEM graphiql-rails (1.8.0) railties sprockets-rails - graphlient (0.4.0) + graphlient (0.5.0) faraday (>= 1.0) faraday_middleware graphql-client graphql (1.11.10) - graphql-client (0.16.0) + graphql-client (0.17.0) activesupport (>= 3.0) - graphql (~> 1.8) + graphql (~> 1.10) graphql-docs (1.6.0) commonmarker (~> 0.16) escape_utils (~> 1.2) @@ -648,7 +658,7 @@ GEM invisible_captcha (1.1.0) rails (>= 4.2) ipaddress (0.8.3) - ipynbdiff (0.4.5) + ipynbdiff (0.4.7) diffy (~> 3.3) json (~> 2.5, >= 2.5.1) jaeger-client (1.1.0) @@ -767,7 +777,7 @@ GEM faraday (>= 0.9, < 2.0.0) faraday-cookie_jar (~> 0.0.6) ms_rest (~> 0.7.6) - msgpack (1.3.3) + msgpack (1.5.1) multi_json (1.14.1) multi_xml (0.6.0) multipart-post (2.1.1) @@ -856,11 +866,6 @@ GEM jwt (>= 2.0) omniauth (>= 1.1.1) omniauth-oauth2 (>= 1.5) - omniauth-kerberos (0.3.0) - omniauth-multipassword - timfel-krb5-auth (~> 0.8) - omniauth-multipassword (0.4.2) - omniauth (~> 1.0) omniauth-oauth (1.1.0) oauth omniauth (~> 1.0) @@ -1071,7 +1076,7 @@ GEM rspec-expectations (3.10.1) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.10.0) - rspec-mocks (3.10.2) + rspec-mocks (3.10.3) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.10.0) rspec-parameterized (0.5.0) @@ -1133,7 +1138,7 @@ GEM nokogiri (>= 1.10.5) rexml ruby-statistics (3.0.0) - ruby2_keywords (0.0.4) + ruby2_keywords (0.0.5) ruby_parser (3.15.0) sexp_processor (~> 4.9) rubyntlm (0.6.2) @@ -1430,7 +1435,7 @@ DEPENDENCIES benchmark-ips (~> 2.3.0) benchmark-memory (~> 0.1) better_errors (~> 2.9.0) - bootsnap (~> 1.9.1) + bootsnap (~> 1.9.4) bootstrap_form (~> 4.2.0) browser (~> 4.2) bullet (~> 6.1.3) @@ -1459,9 +1464,9 @@ DEPENDENCIES discordrb-webhooks (~> 3.4) doorkeeper (~> 5.5.0.rc2) doorkeeper-openid_connect (~> 1.7.5) - elasticsearch-api (~> 6.8.2) - elasticsearch-model (~> 6.1) - elasticsearch-rails (~> 6.1) + elasticsearch-api (= 7.13.3) + elasticsearch-model (~> 7.2) + elasticsearch-rails (~> 7.2) email_reply_trimmer (~> 0.1) email_spec (~> 2.2.0) erubi (~> 1.9.0) @@ -1513,7 +1518,7 @@ DEPENDENCIES grape-path-helpers (~> 1.7.0) grape_logging (~> 1.7) graphiql-rails (~> 1.8) - graphlient (~> 0.4.0) + graphlient (~> 0.5.0) graphql (~> 1.11.10) graphql-docs (~> 1.6.0) grpc (~> 1.42.0) @@ -1531,7 +1536,7 @@ DEPENDENCIES icalendar invisible_captcha (~> 1.1.0) ipaddress (~> 0.8.3) - ipynbdiff (= 0.4.5) + ipynbdiff (= 0.4.7) jira-ruby (~> 2.1.4) js_regex (~> 3.7) json (~> 2.5.1) @@ -1576,7 +1581,6 @@ DEPENDENCIES omniauth-github (~> 1.4) omniauth-gitlab (~> 1.0.2) omniauth-google-oauth2 (~> 0.6.0) - omniauth-kerberos (~> 0.3.0) omniauth-oauth2-generic (~> 0.2.2) omniauth-salesforce (~> 1.0.5) omniauth-saml (~> 1.10) @@ -1626,6 +1630,7 @@ DEPENDENCIES rspec-retry (~> 0.6.1) rspec_junit_formatter rspec_profiling (~> 0.0.6) + rubocop ruby-fogbugz (~> 0.2.1) ruby-magic (~> 0.5) ruby-prof (~> 1.3.0) @@ -1671,6 +1676,7 @@ DEPENDENCIES thin (~> 1.8.0) thrift (>= 0.14.0) timecop (~> 0.9.1) + timfel-krb5-auth (~> 0.8) toml-rb (~> 2.0) truncato (~> 0.7.11) typhoeus (~> 1.4.0) diff --git a/pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix b/pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix index e9bd35cea5843..87791ff567532 100644 --- a/pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix +++ b/pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix @@ -577,10 +577,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1ndjra3h86dq28njm2swmaw6n3vsywrycrf7i5iy9l8hrhfhv4x2"; + sha256 = "19i4x2nascd74ahcvmrsnf03cygh1y4c9yf8rcv91fv0mcxpvb9n"; type = "gem"; }; - version = "1.9.1"; + version = "1.9.4"; }; bootstrap_form = { dependencies = ["actionpack" "activemodel"]; @@ -1289,10 +1289,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "152z76sp2ymyaqrbm8c6y0p1ydkckwrr6iif66mdsc5s0433va3f"; + sha256 = "0havyxmvl157a653prspnbhgdchlx44xqxl170v1im5ggxwavcaq"; type = "gem"; }; - version = "6.8.2"; + version = "7.13.3"; }; elasticsearch-api = { dependencies = ["multi_json"]; @@ -1300,10 +1300,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "12rjfamnqspvkjs90bvpa5zs7g0nlr9pvlvj228mj71k5pym1x8p"; + sha256 = "0bmssarkk7lqkjdn8c9j7jvxcnn4hg1zcmhsky8bfvc99k33b3w8"; type = "gem"; }; - version = "6.8.2"; + version = "7.13.3"; }; elasticsearch-model = { dependencies = ["activesupport" "elasticsearch" "hashie"]; @@ -1311,20 +1311,20 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1q66mp28696qnr6xgsl1dym2l5wk4j2ifd673r09yi70hn9y5ji8"; + sha256 = "1ivcz5pcrp0760j26590bm3jvwc8548wcy7z7v2274k18l583h9c"; type = "gem"; }; - version = "6.1.1"; + version = "7.2.0"; }; elasticsearch-rails = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "06k97w4xdkdj982b2mgz4bv0gvkpbscn4wxsrqj6kr1x7dxia394"; + sha256 = "1r2nh6csdlbfk5hqq5qbvvw1kvv6qa382alil2ixjn33jl7dql07"; type = "gem"; }; - version = "6.1.1"; + version = "7.2.1"; }; elasticsearch-transport = { dependencies = ["faraday" "multi_json"]; @@ -1332,10 +1332,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "02z7b26vl0wmvkzy10qp530vx5c7pdv2ynfsd7mc5qmz6m0z5pxp"; + sha256 = "0blfii8qvj0m6bg9sbfynxc40in7zfmw2wpi4clv7d9gclk053db"; type = "gem"; }; - version = "6.8.2"; + version = "7.13.3"; }; email_reply_trimmer = { groups = ["default"]; @@ -1484,15 +1484,15 @@ version = "6.2.0"; }; faraday = { - dependencies = ["faraday-em_http" "faraday-em_synchrony" "faraday-excon" "faraday-net_http" "faraday-net_http_persistent" "multipart-post" "ruby2_keywords"]; + dependencies = ["faraday-em_http" "faraday-em_synchrony" "faraday-excon" "faraday-httpclient" "faraday-multipart" "faraday-net_http" "faraday-net_http_persistent" "faraday-patron" "faraday-rack" "faraday-retry" "ruby2_keywords"]; groups = ["danger" "default" "development" "test"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "07mhk70gv453pg38md346470hknyhipdqppnplq706ll3k3lzb7v"; + sha256 = "00palwawk897p5gypw5wjrh93d4p0xz2yl9w93yicb4kq7amh8d4"; type = "gem"; }; - version = "1.4.2"; + version = "1.10.0"; }; faraday-cookie_jar = { dependencies = ["faraday" "http-cookie"]; @@ -1546,6 +1546,27 @@ }; version = "2.2.0"; }; + faraday-httpclient = { + groups = ["danger" "default" "development" "test"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0fyk0jd3ks7fdn8nv3spnwjpzx2lmxmg2gh4inz3by1zjzqg33sc"; + type = "gem"; + }; + version = "1.0.1"; + }; + faraday-multipart = { + dependencies = ["multipart-post"]; + groups = ["danger" "default" "development" "test"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "03qfi9020ynf7hkdiaq01sd2mllvw7fg4qiin3pk028b4wv23j3j"; + type = "gem"; + }; + version = "1.0.3"; + }; faraday-net_http = { groups = ["danger" "default" "development" "test"]; platforms = []; @@ -1561,10 +1582,40 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0l2c835wl7gv34xp49fhd1bl4czkpw2g3ahqsak2251iqv5589ka"; + sha256 = "0dc36ih95qw3rlccffcb0vgxjhmipsvxhn6cw71l7ffs0f7vq30b"; type = "gem"; }; - version = "1.1.0"; + version = "1.2.0"; + }; + faraday-patron = { + groups = ["danger" "default" "development" "test"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "19wgsgfq0xkski1g7m96snv39la3zxz6x7nbdgiwhg5v82rxfb6w"; + type = "gem"; + }; + version = "1.0.0"; + }; + faraday-rack = { + groups = ["danger" "default" "development" "test"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1h184g4vqql5jv9s9im6igy00jp6mrah2h14py6mpf9bkabfqq7g"; + type = "gem"; + }; + version = "1.0.0"; + }; + faraday-retry = { + groups = ["danger" "default" "development" "test"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "153i967yrwnswqgvnnajgwp981k9p50ys1h80yz3q94rygs59ldd"; + type = "gem"; + }; + version = "1.0.3"; }; faraday_middleware = { dependencies = ["faraday"]; @@ -1572,10 +1623,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0jik2kgfinwnfi6fpp512vlvs0mlggign3gkbpkg5fw1jr9his0r"; + sha256 = "1bw8mfh4yin2xk7138rg3fhb2p5g2dlmdma88k82psah9mbmvlfy"; type = "gem"; }; - version = "1.0.0"; + version = "1.2.0"; }; faraday_middleware-aws-sigv4 = { dependencies = ["aws-sigv4" "faraday"]; @@ -2251,10 +2302,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "04c32rcn3j4d8sh039lkdfzn8xpifsbpsp7f90vlp2s531wbs16a"; + sha256 = "14pjw0hd9rmfc687yj1cfd8jjy8gh7k6zn6w9syvcl1f2hb98b0g"; type = "gem"; }; - version = "0.4.0"; + version = "0.5.0"; }; graphql = { groups = ["default" "development" "test"]; @@ -2272,10 +2323,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0g971rccyrs3rk8812r6az54p28g66m4ngdcbszg31mvddjaqkr4"; + sha256 = "0pgb1r4vkyrq8hzhkii48hn7cdlkmnrswzjsl0xqxg1diz705bss"; type = "gem"; }; - version = "0.16.0"; + version = "0.17.0"; }; graphql-docs = { dependencies = ["commonmarker" "escape_utils" "extended-markdown-filter" "gemoji" "graphql" "html-pipeline" "sass"]; @@ -2623,10 +2674,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1r1pl4imiqi75bksh17r2j3w74x561z4bx1mpgv6cin1fcrzw9zy"; + sha256 = "0bm7k1lga4jmbi7fx373npbi0smm7jkhhpvnh7jrjawnjmfii1bz"; type = "gem"; }; - version = "0.4.5"; + version = "0.4.7"; }; jaeger-client = { dependencies = ["opentracing" "thrift"]; @@ -3175,10 +3226,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1lva6bkvb4mfa0m3bqn4lm4s4gi81c40jvdcsrxr6vng49q9daih"; + sha256 = "1i0gbypr1yxwfkaxzrk0i1wz4n6v3mw7z24k65jy3q1h5lda5xbw"; type = "gem"; }; - version = "1.3.3"; + version = "1.5.1"; }; multi_json = { groups = ["default"]; @@ -3572,28 +3623,6 @@ }; version = "0.6.0"; }; - omniauth-kerberos = { - dependencies = ["omniauth-multipassword" "timfel-krb5-auth"]; - groups = ["kerberos"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "05xsv76qjxcxzrvabaar2bchv7435y8l2j0wk4zgchh3yv85kiq7"; - type = "gem"; - }; - version = "0.3.0"; - }; - omniauth-multipassword = { - dependencies = ["omniauth"]; - groups = ["default" "kerberos"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "0qykp76hw80lkgb39hyzrv68hkbivc8cv0vbvrnycjh9fwfp1lv8"; - type = "gem"; - }; - version = "0.4.2"; - }; omniauth-oauth = { dependencies = ["oauth" "omniauth"]; groups = ["default"]; @@ -4558,10 +4587,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1d13g6kipqqc9lmwz5b244pdwc97z15vcbnbq6n9rlf32bipdz4k"; + sha256 = "02i64ihazgm2dp07y89q1m9pyk724g5n9l83cy21x6snnzcg7xnj"; type = "gem"; }; - version = "3.10.2"; + version = "3.10.3"; }; rspec-parameterized = { dependencies = ["binding_ninja" "parser" "proc_to_ast" "rspec" "unparser"]; @@ -4773,10 +4802,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "15wfcqxyfgka05v2a7kpg64x57gl1y4xzvnc9lh60bqx5sf1iqrs"; + sha256 = "1vz322p8n39hz3b4a9gkmz9y7a5jaz41zrm2ywf31dvkqm03glgz"; type = "gem"; }; - version = "0.0.4"; + version = "0.0.5"; }; ruby_parser = { dependencies = ["sexp_processor"]; From 821724b18494e5e1bac92542f97e06521672a380 Mon Sep 17 00:00:00 2001 From: Yureka Date: Sat, 21 May 2022 11:50:41 +0200 Subject: [PATCH 33/35] nixos/gitlab: support 15.x --- nixos/modules/services/misc/gitlab.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/nixos/modules/services/misc/gitlab.nix b/nixos/modules/services/misc/gitlab.nix index 0811b34156e49..24eefb7bf302c 100644 --- a/nixos/modules/services/misc/gitlab.nix +++ b/nixos/modules/services/misc/gitlab.nix @@ -17,8 +17,8 @@ let gitalySocket = "${cfg.statePath}/tmp/sockets/gitaly.socket"; pathUrlQuote = url: replaceStrings ["/"] ["%2F"] url; - databaseConfig = { - production = { + databaseConfig = let + val = { adapter = "postgresql"; database = cfg.databaseName; host = cfg.databaseHost; @@ -26,6 +26,10 @@ let encoding = "utf8"; pool = cfg.databasePool; } // cfg.extraDatabaseConfig; + in if lib.versionAtLeast (lib.getVersion cfg.packages.gitlab) "15.0" then { + production.main = val; + } else { + production = val; }; # We only want to create a database if we're actually going to connect to it. @@ -1184,7 +1188,7 @@ in { fi jq <${pkgs.writeText "database.yml" (builtins.toJSON databaseConfig)} \ - '.production.password = $ENV.db_password' \ + '.${if lib.versionAtLeast (lib.getVersion cfg.packages.gitlab) "15.0" then "production.main" else "production"}.password = $ENV.db_password' \ >'${cfg.statePath}/config/database.yml' '' else '' From 39773cc073737663884c9f3568c314ebf35f1739 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Sat, 14 May 2022 12:40:32 -0400 Subject: [PATCH 34/35] util-linux: make dependencies on pam and libcap optional Introduce new boolean arguments "pamSupport" and "capabilitiesSupport" that control whether "pam" and "libcap" are compiled in. These flags are true by default, so this commit does not cause any rebuilds. --- pkgs/os-specific/linux/util-linux/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/util-linux/default.nix b/pkgs/os-specific/linux/util-linux/default.nix index efd75ce9b3f2d..51eb20ecacdf7 100644 --- a/pkgs/os-specific/linux/util-linux/default.nix +++ b/pkgs/os-specific/linux/util-linux/default.nix @@ -1,6 +1,10 @@ -{ lib, stdenv, fetchurl, pkg-config, zlib, shadow, libcap_ng +{ lib, stdenv, fetchurl, pkg-config, zlib, shadow +, capabilitiesSupport ? true +, libcap_ng , ncursesSupport ? true -, ncurses, pam +, ncurses +, pamSupport ? true +, pam , systemdSupport ? stdenv.isLinux && !stdenv.hostPlatform.isStatic , systemd , nlsSupport ? true @@ -59,7 +63,9 @@ stdenv.mkDerivation rec { ]; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ zlib pam libcap_ng ] + buildInputs = [ zlib ] + ++ lib.optionals pamSupport [ pam ] + ++ lib.optionals capabilitiesSupport [ libcap_ng ] ++ lib.optionals ncursesSupport [ ncurses ] ++ lib.optionals systemdSupport [ systemd ]; From 593dfc4d9d276141cdb0fb65d8839733858b4a50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Fern=C3=A1ndez=20L=C3=B3pez?= Date: Sun, 3 Apr 2022 22:15:42 +0200 Subject: [PATCH 35/35] wasmtime: 0.36.0 -> 0.37.0 Re-enable darwin platform. --- pkgs/development/interpreters/wasmtime/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/interpreters/wasmtime/default.nix b/pkgs/development/interpreters/wasmtime/default.nix index a475f53f91f73..fd5ff80e7afc7 100644 --- a/pkgs/development/interpreters/wasmtime/default.nix +++ b/pkgs/development/interpreters/wasmtime/default.nix @@ -1,24 +1,24 @@ -{ rustPlatform, fetchFromGitHub, lib, v8 }: +{ rustPlatform, fetchFromGitHub, lib, stdenv, v8 }: rustPlatform.buildRustPackage rec { pname = "wasmtime"; - version = "0.36.0"; + version = "0.37.0"; src = fetchFromGitHub { owner = "bytecodealliance"; repo = pname; rev = "v${version}"; - sha256 = "sha256-nSA78eQRbJ5JTDquaRqRgFU0V8RVCzvWUONgHxGj+Mc="; + sha256 = "sha256-ZUr1v94If8ER4lTHLwuP+F3xfXU7IW4ZEztBA2TPvVg="; fetchSubmodules = true; }; - cargoSha256 = "sha256-/+uioJRXiugsV7SUwsDNHGaPxrxrhscQUGyXOzzwG/g="; + cargoSha256 = "sha256-X+KDeWavFTBaxbSPlIiyuiBC7wg1/5C/NXp+VEY8Mk8="; # This environment variable is required so that when wasmtime tries # to run tests by using the rusty_v8 crate, it does not try to # download a static v8 build from the Internet, what would break # build hermetism. - RUSTY_V8_ARCHIVE = "${v8}/lib/libv8.a"; + RUSTY_V8_ARCHIVE = lib.optionalString stdenv.isLinux "${v8}/lib/libv8.a"; doCheck = true; checkFlags = [ @@ -36,6 +36,6 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/bytecodealliance/wasmtime"; license = licenses.asl20; maintainers = [ maintainers.matthewbauer ]; - platforms = platforms.linux; + platforms = platforms.unix; }; }