Merge master into staging-next

authored by github-actions[bot] and committed by GitHub 69accc4d 5df08e00

+41 -70
+14 -14
pkgs/applications/accessibility/contrast/default.nix
··· 2 , lib 3 , fetchFromGitLab 4 , cairo 5 - , dbus 6 , desktop-file-utils 7 , gettext 8 , glib 9 - , gtk3 10 - , libhandy_0 11 - , libsass 12 , meson 13 , ninja 14 , pango 15 , pkg-config 16 , python3 17 , rustPlatform 18 - , wrapGAppsHook 19 }: 20 21 stdenv.mkDerivation rec { 22 pname = "contrast"; 23 - version = "0.0.3"; 24 25 src = fetchFromGitLab { 26 domain = "gitlab.gnome.org"; ··· 28 owner = "design"; 29 repo = "contrast"; 30 rev = version; 31 - sha256 = "0kk3mv7a6y258109xvgicmsi0lw0rcs00gfyivl5hdz7qh47iccy"; 32 }; 33 34 cargoDeps = rustPlatform.fetchCargoTarball { 35 inherit src; 36 name = "${pname}-${version}"; 37 - hash = "sha256-ePkPiWGn79PHrMsSEql5OXZW5uRMdTP+w0/DCcm2KG4="; 38 }; 39 40 nativeBuildInputs = [ ··· 47 rustPlatform.rust.cargo 48 rustPlatform.cargoSetupHook 49 rustPlatform.rust.rustc 50 - wrapGAppsHook 51 glib # for glib-compile-resources 52 ]; 53 54 buildInputs = [ 55 cairo 56 - dbus 57 glib 58 - gtk3 59 - libhandy_0 60 - libsass 61 pango 62 ]; 63 64 postPatch = '' 65 patchShebangs build-aux/meson_post_install.py 66 ''; 67 68 meta = with lib; { 69 description = "Checks whether the contrast between two colors meet the WCAG requirements"; 70 homepage = "https://gitlab.gnome.org/World/design/contrast"; 71 - license = licenses.gpl3; 72 maintainers = with maintainers; [ jtojnar ]; 73 }; 74 } 75
··· 2 , lib 3 , fetchFromGitLab 4 , cairo 5 , desktop-file-utils 6 , gettext 7 , glib 8 + , gtk4 9 + , libadwaita 10 , meson 11 , ninja 12 , pango 13 , pkg-config 14 , python3 15 , rustPlatform 16 + , wrapGAppsHook4 17 }: 18 19 stdenv.mkDerivation rec { 20 pname = "contrast"; 21 + version = "0.0.5"; 22 23 src = fetchFromGitLab { 24 domain = "gitlab.gnome.org"; ··· 26 owner = "design"; 27 repo = "contrast"; 28 rev = version; 29 + sha256 = "cypSbqLwSmauOoWOuppWpF3hvrxiqmkLspxAWzvlUC0="; 30 }; 31 32 cargoDeps = rustPlatform.fetchCargoTarball { 33 inherit src; 34 name = "${pname}-${version}"; 35 + hash = "sha256-W4FyqwJpimf0isQRCq9TegpTQPQfsumx40AFQCFG5VQ="; 36 }; 37 38 nativeBuildInputs = [ ··· 45 rustPlatform.rust.cargo 46 rustPlatform.cargoSetupHook 47 rustPlatform.rust.rustc 48 + wrapGAppsHook4 49 glib # for glib-compile-resources 50 ]; 51 52 buildInputs = [ 53 cairo 54 glib 55 + gtk4 56 + libadwaita 57 pango 58 ]; 59 60 postPatch = '' 61 patchShebangs build-aux/meson_post_install.py 62 + # https://gitlab.gnome.org/World/design/contrast/-/merge_requests/23 63 + substituteInPlace build-aux/meson_post_install.py \ 64 + --replace "gtk-update-icon-cache" "gtk4-update-icon-cache" 65 ''; 66 67 meta = with lib; { 68 description = "Checks whether the contrast between two colors meet the WCAG requirements"; 69 homepage = "https://gitlab.gnome.org/World/design/contrast"; 70 + license = licenses.gpl3Plus; 71 maintainers = with maintainers; [ jtojnar ]; 72 + platforms = platforms.unix; 73 }; 74 } 75
+10
pkgs/desktops/gnome/extensions/pop-shell/default.nix
··· 26 extensionPortalSlug = "pop-shell"; 27 }; 28 29 meta = with lib; { 30 description = "Keyboard-driven layer for GNOME Shell"; 31 license = licenses.gpl3Only;
··· 26 extensionPortalSlug = "pop-shell"; 27 }; 28 29 + postPatch = '' 30 + for file in */main.js; do 31 + substituteInPlace $file --replace "gjs" "${gjs}/bin/gjs" 32 + done 33 + ''; 34 + 35 + preFixup = '' 36 + chmod +x $out/share/gnome-shell/extensions/pop-shell@system76.com/*/main.js 37 + ''; 38 + 39 meta = with lib; { 40 description = "Keyboard-driven layer for GNOME Shell"; 41 license = licenses.gpl3Only;
-34
pkgs/desktops/gnome/extensions/pop-shell/fix-gjs.patch
··· 1 - diff --git a/src/color_dialog/src/main.ts b/src/color_dialog/src/main.ts 2 - index 9522499..9911530 100644 3 - --- a/src/color_dialog/src/main.ts 4 - +++ b/src/color_dialog/src/main.ts 5 - @@ -1,4 +1,4 @@ 6 - -#!/usr/bin/gjs 7 - +#!/usr/bin/env gjs 8 - 9 - imports.gi.versions.Gtk = '3.0'; 10 - 11 - @@ -84,4 +84,4 @@ function launch_color_dialog() { 12 - 13 - Gtk.init(null); 14 - 15 - -launch_color_dialog() 16 - \ No newline at end of file 17 - +launch_color_dialog() 18 diff --git a/src/extension.ts b/src/extension.ts 19 index 7417c46..00d5829 100644 20 --- a/src/extension.ts ··· 28 29 if (ipc) { 30 const generator = (stdout: any, res: any) => { 31 - diff --git a/src/floating_exceptions/src/main.ts b/src/floating_exceptions/src/main.ts 32 - index f298ec7..87a6bc4 100644 33 - --- a/src/floating_exceptions/src/main.ts 34 - +++ b/src/floating_exceptions/src/main.ts 35 - @@ -1,4 +1,4 @@ 36 - -#!/usr/bin/gjs 37 - +#!/usr/bin/env gjs 38 - 39 - imports.gi.versions.Gtk = '3.0' 40 - 41 - @@ -329,4 +329,4 @@ function main() { 42 - Gtk.main() 43 - } 44 - 45 - -main() 46 - \ No newline at end of file 47 - +main() 48 diff --git a/src/panel_settings.ts b/src/panel_settings.ts 49 index 83ff56c..1bc1e98 100644 50 --- a/src/panel_settings.ts
··· 1 diff --git a/src/extension.ts b/src/extension.ts 2 index 7417c46..00d5829 100644 3 --- a/src/extension.ts ··· 11 12 if (ipc) { 13 const generator = (stdout: any, res: any) => { 14 diff --git a/src/panel_settings.ts b/src/panel_settings.ts 15 index 83ff56c..1bc1e98 100644 16 --- a/src/panel_settings.ts
+1
pkgs/development/interpreters/quickjs/default.nix
··· 55 maintainers = with maintainers; [ stesie AndersonTorres ]; 56 platforms = platforms.linux; 57 license = licenses.mit; 58 }; 59 }
··· 55 maintainers = with maintainers; [ stesie AndersonTorres ]; 56 platforms = platforms.linux; 57 license = licenses.mit; 58 + mainProgram = "qjs"; 59 }; 60 }
+2 -2
pkgs/development/python-modules/amcrest/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "amcrest"; 17 - version = "1.9.3"; 18 disabled = pythonOlder "3.6"; 19 20 src = fetchFromGitHub { 21 owner = "tchellomello"; 22 repo = "python-amcrest"; 23 rev = version; 24 - sha256 = "0f9l8xbn40xwx2zzssx5qmkpmv82j6syj8ncnmm6z9dc5wpr6sw7"; 25 }; 26 27 propagatedBuildInputs = [
··· 14 15 buildPythonPackage rec { 16 pname = "amcrest"; 17 + version = "1.9.4"; 18 disabled = pythonOlder "3.6"; 19 20 src = fetchFromGitHub { 21 owner = "tchellomello"; 22 repo = "python-amcrest"; 23 rev = version; 24 + sha256 = "sha256-smwPKZLevolNvpkLxoFR3NGL9YFPlBk3WYQqJXBaS7s="; 25 }; 26 27 propagatedBuildInputs = [
+2 -2
pkgs/development/tools/analysis/checkov/default.nix
··· 22 23 buildPythonApplication rec { 24 pname = "checkov"; 25 - version = "2.0.805"; 26 27 src = fetchFromGitHub { 28 owner = "bridgecrewio"; 29 repo = pname; 30 rev = version; 31 - hash = "sha256-vQ5BJUwjik9Wfh4eFGuefpMuTcEV83hYEJKa5/n+kRc="; 32 }; 33 34 nativeBuildInputs = with py.pkgs; [
··· 22 23 buildPythonApplication rec { 24 pname = "checkov"; 25 + version = "2.0.812"; 26 27 src = fetchFromGitHub { 28 owner = "bridgecrewio"; 29 repo = pname; 30 rev = version; 31 + hash = "sha256-dCGcg0v83/KJGCvq2jQSemaHJb5wvluN6U73dRer6gY="; 32 }; 33 34 nativeBuildInputs = with py.pkgs; [
+2 -2
pkgs/games/fheroes2/default.nix
··· 7 8 stdenv.mkDerivation rec { 9 pname = "fheroes2"; 10 - version = "0.9.11"; 11 12 src = fetchFromGitHub { 13 owner = "ihhub"; 14 repo = "fheroes2"; 15 rev = version; 16 - sha256 = "sha256-p2FG4oWLTGflOoxsp8A+FpoVHfKiEw3DEnK8n3UiBtU="; 17 }; 18 19 buildInputs = [ gettext libpng SDL2 SDL2_image SDL2_mixer SDL2_ttf zlib ];
··· 7 8 stdenv.mkDerivation rec { 9 pname = "fheroes2"; 10 + version = "0.9.12"; 11 12 src = fetchFromGitHub { 13 owner = "ihhub"; 14 repo = "fheroes2"; 15 rev = version; 16 + sha256 = "sha256-6voM6aQ22zW6NHm9x2TDsM4Kea6TLYZTdSLyc/6fz8A="; 17 }; 18 19 buildInputs = [ gettext libpng SDL2 SDL2_image SDL2_mixer SDL2_ttf zlib ];
+3 -3
pkgs/os-specific/linux/anbox/default.nix
··· 49 50 stdenv.mkDerivation rec { 51 pname = "anbox"; 52 - version = "unstable-2020-11-29"; 53 54 src = fetchFromGitHub { 55 owner = pname; 56 repo = pname; 57 - rev = "6c10125a7f13908d2cbe56d2d9ab09872755f265"; 58 - sha256 = "00bqssh4zcs0jj6w07b91719xkrpdw75vpcplwrvlhwsvl55f901"; 59 fetchSubmodules = true; 60 }; 61
··· 49 50 stdenv.mkDerivation rec { 51 pname = "anbox"; 52 + version = "unstable-2021-10-20"; 53 54 src = fetchFromGitHub { 55 owner = pname; 56 repo = pname; 57 + rev = "84f0268012cbe322ad858d76613f4182074510ac"; 58 + sha256 = "sha256-QXWhatewiUDQ93cH1UZsYgbjUxpgB1ajtGFYZnKmabc="; 59 fetchSubmodules = true; 60 }; 61
+3 -3
pkgs/tools/admin/realvnc-vnc-viewer/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "realvnc-vnc-viewer"; 5 - version = "6.21.920"; 6 7 src = { 8 "x86_64-linux" = fetchurl { 9 url = "https://www.realvnc.com/download/file/viewer.files/VNC-Viewer-${version}-Linux-x64.rpm"; 10 - sha256 = "1qghc5380h4b2pczksmky3kcffz5wn9shw033w4f969wl96p31fz"; 11 }; 12 "i686-linux" = fetchurl { 13 url = "https://www.realvnc.com/download/file/viewer.files/VNC-Viewer-${version}-Linux-x86.rpm"; 14 - sha256 = "034iwqxpqhnm6i292fakva7vkwrrzamwcvbm7xyccpd54adj0grn"; 15 }; 16 }.${stdenv.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); 17
··· 2 3 stdenv.mkDerivation rec { 4 pname = "realvnc-vnc-viewer"; 5 + version = "6.21.1109"; 6 7 src = { 8 "x86_64-linux" = fetchurl { 9 url = "https://www.realvnc.com/download/file/viewer.files/VNC-Viewer-${version}-Linux-x64.rpm"; 10 + sha256 = "12zxp9kvi070nzxbrnrfsyla38ryb69zlidw6cvypmsgqnylfxj7"; 11 }; 12 "i686-linux" = fetchurl { 13 url = "https://www.realvnc.com/download/file/viewer.files/VNC-Viewer-${version}-Linux-x86.rpm"; 14 + sha256 = "03vhdmzyd16r0kdxpkq9azyy1h705lk4sbgnbw5fr8gkifwng60f"; 15 }; 16 }.${stdenv.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); 17
-6
pkgs/tools/misc/screen/default.nix
··· 23 stripLen = 1; 24 }); 25 26 - postPatch = lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) 27 - # XXX: Awful hack to allow cross-compilation. 28 - '' sed -i ./configure \ 29 - -e 's/^as_fn_error .. \("cannot run test program while cross compiling\)/$as_echo \1/g' 30 - ''; # " 31 - 32 nativeBuildInputs = [ 33 autoreconfHook 34 ];
··· 23 stripLen = 1; 24 }); 25 26 nativeBuildInputs = [ 27 autoreconfHook 28 ];
+2 -2
pkgs/tools/security/exploitdb/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "exploitdb"; 5 - version = "2022-02-05"; 6 7 src = fetchFromGitHub { 8 owner = "offensive-security"; 9 repo = pname; 10 rev = version; 11 - sha256 = "sha256-1wdIvJ7AeCNNbApS16ZFmytsPL8Oal+ivem8cHOD1iA="; 12 }; 13 14 nativeBuildInputs = [ makeWrapper ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "exploitdb"; 5 + version = "2022-02-09"; 6 7 src = fetchFromGitHub { 8 owner = "offensive-security"; 9 repo = pname; 10 rev = version; 11 + sha256 = "sha256-+E8MmkXnynCudGfKnCa6usmyPVM+y6kRB8eAm4F9glY="; 12 }; 13 14 nativeBuildInputs = [ makeWrapper ];
+2 -2
pkgs/tools/system/thinkfan/default.nix
··· 11 12 stdenv.mkDerivation rec { 13 pname = "thinkfan"; 14 - version = "1.3.0"; 15 16 src = fetchFromGitHub { 17 owner = "vmatare"; 18 repo = "thinkfan"; 19 rev = version; 20 - sha256 = "sha256-ZCZqi7A4qdWtDSkTw6ktHIZnPhdes2AX7+QBroaDDfI="; 21 }; 22 23 postPatch = ''
··· 11 12 stdenv.mkDerivation rec { 13 pname = "thinkfan"; 14 + version = "1.3.1"; 15 16 src = fetchFromGitHub { 17 owner = "vmatare"; 18 repo = "thinkfan"; 19 rev = version; 20 + sha256 = "sha256-aREZv+t4QhtfLKOMrneLiRxgnu0fzB8UV8dvr1dnhx4="; 21 }; 22 23 postPatch = ''