Merge remote-tracking branch 'origin/staging-next' into staging

K900 ca300e32 e12fb0d2

+2260 -2102
-4
.github/workflows/periodic-merge-24h.yml
··· 35 35 pairs: 36 36 - from: master 37 37 into: haskell-updates 38 - - from: release-24.05 39 - into: staging-next-24.05 40 - - from: staging-next-24.05 41 - into: staging-24.05 42 38 - from: release-24.11 43 39 into: staging-next-24.11 44 40 - from: staging-next-24.11
+3 -4
doc/doc-support/lib-function-docs.nix
··· 94 94 stdenvNoCC.mkDerivation { 95 95 name = "nixpkgs-lib-docs"; 96 96 97 - src = lib.fileset.toSource { 98 - root = ../..; 99 - fileset = ../../lib; 100 - }; 97 + src = ../../lib; 101 98 102 99 nativeBuildInputs = [ 103 100 nixdoc ··· 105 102 ]; 106 103 107 104 installPhase = '' 105 + cd .. 106 + 108 107 export NIX_STATE_DIR=$(mktemp -d) 109 108 nix-instantiate --eval --strict --json ${./lib-function-locations.nix} \ 110 109 --arg nixpkgsPath "./." \
+16 -10
doc/doc-support/package.nix
··· 25 25 26 26 nativeBuildInputs = [ nixos-render-docs ]; 27 27 28 - src = lib.fileset.toSource { 29 - root = ../.; 30 - fileset = lib.fileset.unions [ 31 - (lib.fileset.fileFilter (file: file.hasExt "md" || file.hasExt "md.in") ../.) 32 - ../style.css 33 - ../anchor-use.js 34 - ../anchor.min.js 35 - ../manpage-urls.json 36 - ../redirects.json 37 - ]; 28 + src = lib.cleanSourceWith { 29 + src = ../.; 30 + filter = 31 + path: type: 32 + type == "directory" 33 + || lib.hasSuffix ".md" path 34 + || lib.hasSuffix ".md.in" path 35 + || lib.elem path ( 36 + map toString [ 37 + ../style.css 38 + ../anchor-use.js 39 + ../anchor.min.js 40 + ../manpage-urls.json 41 + ../redirects.json 42 + ] 43 + ); 38 44 }; 39 45 40 46 postPatch = ''
+1 -1
lib/trivial.nix
··· 416 416 */ 417 417 oldestSupportedRelease = 418 418 # Update on master only. Do not backport. 419 - 2405; 419 + 2411; 420 420 421 421 /** 422 422 Whether a feature is supported in all supported releases (at the time of
+1 -11
nixos/lib/test-driver/default.nix
··· 14 14 extraPythonPackages ? (_: [ ]), 15 15 nixosTests, 16 16 }: 17 - let 18 - fs = lib.fileset; 19 - in 20 17 python3Packages.buildPythonApplication { 21 18 pname = "nixos-test-driver"; 22 19 version = "1.1"; 23 20 pyproject = true; 24 21 25 - src = fs.toSource { 26 - root = ./.; 27 - fileset = fs.unions [ 28 - ./pyproject.toml 29 - ./test_driver 30 - ./extract-docstrings.py 31 - ]; 32 - }; 22 + src = ./src; 33 23 34 24 build-system = with python3Packages; [ 35 25 setuptools
nixos/lib/test-driver/extract-docstrings.py nixos/lib/test-driver/src/extract-docstrings.py
+1 -1
nixos/lib/test-driver/nixos-test-driver-docstrings.nix
··· 11 11 12 12 runCommand "nixos-test-driver-docstrings" env '' 13 13 mkdir $out 14 - python3 ${./extract-docstrings.py} ${./test_driver/machine.py} \ 14 + python3 ${./src/extract-docstrings.py} ${./src/test_driver/machine.py} \ 15 15 > $out/machine-methods.md 16 16 ''
nixos/lib/test-driver/pyproject.toml nixos/lib/test-driver/src/pyproject.toml
nixos/lib/test-driver/test_driver/__init__.py nixos/lib/test-driver/src/test_driver/__init__.py
nixos/lib/test-driver/test_driver/driver.py nixos/lib/test-driver/src/test_driver/driver.py
nixos/lib/test-driver/test_driver/logger.py nixos/lib/test-driver/src/test_driver/logger.py
nixos/lib/test-driver/test_driver/machine.py nixos/lib/test-driver/src/test_driver/machine.py
nixos/lib/test-driver/test_driver/polling_condition.py nixos/lib/test-driver/src/test_driver/polling_condition.py
nixos/lib/test-driver/test_driver/py.typed nixos/lib/test-driver/src/test_driver/py.typed
nixos/lib/test-driver/test_driver/qmp.py nixos/lib/test-driver/src/test_driver/qmp.py
nixos/lib/test-driver/test_driver/vlan.py nixos/lib/test-driver/src/test_driver/vlan.py
+4 -4
nixos/modules/services/continuous-integration/hydra/default.nix
··· 515 515 '' 516 516 set -eou pipefail 517 517 compression=$(sed -nr 's/compress_build_logs_compression = ()/\1/p' ${baseDir}/hydra.conf) 518 - if [[ $compression == "" ]]; then 519 - compression="bzip2" 518 + if [[ $compression == "" || $compression == bzip2 ]]; then 519 + compressionCmd=(bzip2) 520 520 elif [[ $compression == zstd ]]; then 521 - compression="zstd --rm" 521 + compressionCmd=(zstd --rm) 522 522 fi 523 - find ${baseDir}/build-logs -type f -name "*.drv" -mtime +3 -size +0c -print0 | xargs -0 -r "$compression" --force --quiet 523 + find ${baseDir}/build-logs -type f -name "*.drv" -mtime +3 -size +0c -print0 | xargs -0 -r "''${compressionCmd[@]}" --force --quiet 524 524 ''; 525 525 startAt = "Sun 01:45"; 526 526 serviceConfig.Slice = "system-hydra.slice";
+5 -2
nixos/modules/services/x11/colord.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 9 12 cfg = config.services.colord; ··· 14 17 options = { 15 18 16 19 services.colord = { 17 - enable = lib.mkEnableOption "colord, the color management daemon"; 20 + enable = mkEnableOption "colord, the color management daemon"; 18 21 }; 19 22 20 23 }; 21 24 22 - config = lib.mkIf cfg.enable { 25 + config = mkIf cfg.enable { 23 26 24 27 environment.systemPackages = [ pkgs.colord ]; 25 28
+8 -5
nixos/modules/services/x11/desktop-managers/cde.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 xcfg = config.services.xserver; 9 12 cfg = xcfg.desktopManager.cde; 10 13 in 11 14 { 12 15 options.services.xserver.desktopManager.cde = { 13 - enable = lib.mkEnableOption "Common Desktop Environment"; 16 + enable = mkEnableOption "Common Desktop Environment"; 14 17 15 - extraPackages = lib.mkOption { 16 - type = with lib.types; listOf package; 18 + extraPackages = mkOption { 19 + type = with types; listOf package; 17 20 default = with pkgs.xorg; [ 18 21 xclock 19 22 bitmap ··· 26 29 xwd 27 30 xwud 28 31 ]; 29 - defaultText = lib.literalExpression '' 32 + defaultText = literalExpression '' 30 33 with pkgs.xorg; [ 31 34 xclock bitmap xlsfonts xfd xrefresh xload xwininfo xdpyinfo xwd xwud 32 35 ] ··· 37 40 }; 38 41 }; 39 42 40 - config = lib.mkIf (xcfg.enable && cfg.enable) { 43 + config = mkIf (xcfg.enable && cfg.enable) { 41 44 environment.systemPackages = cfg.extraPackages; 42 45 43 46 services.rpcbind.enable = true;
+46 -43
nixos/modules/services/x11/desktop-managers/cinnamon.nix
··· 1 1 { config, lib, pkgs, utils, ... }: 2 + 3 + with lib; 4 + 2 5 let 3 6 4 7 cfg = config.services.xserver.desktopManager.cinnamon; ··· 15 18 { 16 19 options = { 17 20 services.cinnamon = { 18 - apps.enable = lib.mkEnableOption "Cinnamon default applications"; 21 + apps.enable = mkEnableOption "Cinnamon default applications"; 19 22 }; 20 23 21 24 services.xserver.desktopManager.cinnamon = { 22 - enable = lib.mkEnableOption "the cinnamon desktop manager"; 25 + enable = mkEnableOption "the cinnamon desktop manager"; 23 26 24 - sessionPath = lib.mkOption { 27 + sessionPath = mkOption { 25 28 default = []; 26 - type = lib.types.listOf lib.types.package; 27 - example = lib.literalExpression "[ pkgs.gpaste ]"; 29 + type = types.listOf types.package; 30 + example = literalExpression "[ pkgs.gpaste ]"; 28 31 description = '' 29 32 Additional list of packages to be added to the session search path. 30 33 Useful for GSettings-conditional autostart. ··· 33 36 ''; 34 37 }; 35 38 36 - extraGSettingsOverrides = lib.mkOption { 39 + extraGSettingsOverrides = mkOption { 37 40 default = ""; 38 - type = lib.types.lines; 41 + type = types.lines; 39 42 description = "Additional gsettings overrides."; 40 43 }; 41 44 42 - extraGSettingsOverridePackages = lib.mkOption { 45 + extraGSettingsOverridePackages = mkOption { 43 46 default = []; 44 - type = lib.types.listOf lib.types.path; 47 + type = types.listOf types.path; 45 48 description = "List of packages for which gsettings are overridden."; 46 49 }; 47 50 }; 48 51 49 - environment.cinnamon.excludePackages = lib.mkOption { 52 + environment.cinnamon.excludePackages = mkOption { 50 53 default = []; 51 - example = lib.literalExpression "[ pkgs.blueman ]"; 52 - type = lib.types.listOf lib.types.package; 54 + example = literalExpression "[ pkgs.blueman ]"; 55 + type = types.listOf types.package; 53 56 description = "Which packages cinnamon should exclude from the default environment"; 54 57 }; 55 58 56 59 }; 57 60 58 - config = lib.mkMerge [ 59 - (lib.mkIf cfg.enable { 61 + config = mkMerge [ 62 + (mkIf cfg.enable { 60 63 services.displayManager.sessionPackages = [ pkgs.cinnamon-common ]; 61 64 62 65 services.xserver.displayManager.lightdm.greeters.slick = { 63 - enable = lib.mkDefault true; 66 + enable = mkDefault true; 64 67 65 68 # Taken from mint-artwork.gschema.override 66 - theme = lib.mkIf (notExcluded pkgs.mint-themes) { 67 - name = lib.mkDefault "Mint-Y-Aqua"; 68 - package = lib.mkDefault pkgs.mint-themes; 69 + theme = mkIf (notExcluded pkgs.mint-themes) { 70 + name = mkDefault "Mint-Y-Aqua"; 71 + package = mkDefault pkgs.mint-themes; 69 72 }; 70 - iconTheme = lib.mkIf (notExcluded pkgs.mint-y-icons) { 71 - name = lib.mkDefault "Mint-Y-Sand"; 72 - package = lib.mkDefault pkgs.mint-y-icons; 73 + iconTheme = mkIf (notExcluded pkgs.mint-y-icons) { 74 + name = mkDefault "Mint-Y-Sand"; 75 + package = mkDefault pkgs.mint-y-icons; 73 76 }; 74 - cursorTheme = lib.mkIf (notExcluded pkgs.mint-cursor-themes) { 75 - name = lib.mkDefault "Bibata-Modern-Classic"; 76 - package = lib.mkDefault pkgs.mint-cursor-themes; 77 + cursorTheme = mkIf (notExcluded pkgs.mint-cursor-themes) { 78 + name = mkDefault "Bibata-Modern-Classic"; 79 + package = mkDefault pkgs.mint-cursor-themes; 77 80 }; 78 81 }; 79 82 80 83 # Have to take care of GDM + Cinnamon on Wayland users 81 84 environment.extraInit = '' 82 - ${lib.concatMapStrings (p: '' 85 + ${concatMapStrings (p: '' 83 86 if [ -d "${p}/share/gsettings-schemas/${p.name}" ]; then 84 87 export XDG_DATA_DIRS=$XDG_DATA_DIRS''${XDG_DATA_DIRS:+:}${p}/share/gsettings-schemas/${p.name} 85 88 fi ··· 92 95 ''; 93 96 94 97 # Default services 95 - services.blueman.enable = lib.mkDefault (notExcluded pkgs.blueman); 96 - hardware.bluetooth.enable = lib.mkDefault true; 98 + services.blueman.enable = mkDefault (notExcluded pkgs.blueman); 99 + hardware.bluetooth.enable = mkDefault true; 97 100 security.polkit.enable = true; 98 101 services.accounts-daemon.enable = true; 99 - services.system-config-printer.enable = (lib.mkIf config.services.printing.enable (lib.mkDefault true)); 102 + services.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true)); 100 103 services.dbus.packages = with pkgs; [ 101 104 cinnamon-common 102 105 cinnamon-screensaver 103 106 nemo-with-extensions 104 107 xapp 105 108 ]; 106 - services.cinnamon.apps.enable = lib.mkDefault true; 109 + services.cinnamon.apps.enable = mkDefault true; 107 110 services.gnome.evolution-data-server.enable = true; 108 111 services.gnome.glib-networking.enable = true; 109 112 services.gnome.gnome-keyring.enable = true; 110 113 services.gvfs.enable = true; 111 - services.power-profiles-daemon.enable = lib.mkDefault true; 112 - services.switcherooControl.enable = lib.mkDefault true; # xapp-gpu-offload-helper 113 - services.touchegg.enable = lib.mkDefault true; 114 + services.power-profiles-daemon.enable = mkDefault true; 115 + services.switcherooControl.enable = mkDefault true; # xapp-gpu-offload-helper 116 + services.touchegg.enable = mkDefault true; 114 117 services.udisks2.enable = true; 115 - services.upower.enable = lib.mkDefault config.powerManagement.enable; 116 - services.libinput.enable = lib.mkDefault true; 118 + services.upower.enable = mkDefault config.powerManagement.enable; 119 + services.libinput.enable = mkDefault true; 117 120 services.xserver.updateDbusEnvironment = true; 118 - networking.networkmanager.enable = lib.mkDefault true; 121 + networking.networkmanager.enable = mkDefault true; 119 122 120 123 # Enable colord server 121 124 services.colord.enable = true; ··· 201 204 pkgs.xdg-desktop-portal-gtk 202 205 ]; 203 206 204 - services.orca.enable = lib.mkDefault (notExcluded pkgs.orca); 207 + services.orca.enable = mkDefault (notExcluded pkgs.orca); 205 208 206 - xdg.portal.configPackages = lib.mkDefault [ pkgs.cinnamon-common ]; 209 + xdg.portal.configPackages = mkDefault [ pkgs.cinnamon-common ]; 207 210 208 211 # Override GSettings schemas 209 212 environment.sessionVariables.NIX_GSETTINGS_OVERRIDES_DIR = "${nixos-gsettings-overrides}/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas"; ··· 214 217 ]; 215 218 216 219 # Shell integration for VTE terminals 217 - programs.bash.vteIntegration = lib.mkDefault true; 218 - programs.zsh.vteIntegration = lib.mkDefault true; 220 + programs.bash.vteIntegration = mkDefault true; 221 + programs.zsh.vteIntegration = mkDefault true; 219 222 220 223 # Default Fonts 221 224 fonts.packages = with pkgs; [ ··· 224 227 ]; 225 228 }) 226 229 227 - (lib.mkIf serviceCfg.apps.enable { 228 - programs.gnome-disks.enable = lib.mkDefault (notExcluded pkgs.gnome-disk-utility); 229 - programs.gnome-terminal.enable = lib.mkDefault (notExcluded pkgs.gnome-terminal); 230 - programs.file-roller.enable = lib.mkDefault (notExcluded pkgs.file-roller); 230 + (mkIf serviceCfg.apps.enable { 231 + programs.gnome-disks.enable = mkDefault (notExcluded pkgs.gnome-disk-utility); 232 + programs.gnome-terminal.enable = mkDefault (notExcluded pkgs.gnome-terminal); 233 + programs.file-roller.enable = mkDefault (notExcluded pkgs.file-roller); 231 234 232 235 environment.systemPackages = with pkgs; utils.removePackagesByName [ 233 236 # cinnamon team apps
+30 -27
nixos/modules/services/x11/desktop-managers/deepin.nix
··· 5 5 utils, 6 6 ... 7 7 }: 8 + 9 + with lib; 10 + 8 11 let 9 12 xcfg = config.services.xserver; 10 13 cfg = xcfg.desktopManager.deepin; ··· 18 21 options = { 19 22 20 23 services.xserver.desktopManager.deepin = { 21 - enable = lib.mkEnableOption "Deepin desktop manager"; 22 - extraGSettingsOverrides = lib.mkOption { 24 + enable = mkEnableOption "Deepin desktop manager"; 25 + extraGSettingsOverrides = mkOption { 23 26 default = ""; 24 - type = lib.types.lines; 27 + type = types.lines; 25 28 description = "Additional gsettings overrides."; 26 29 }; 27 - extraGSettingsOverridePackages = lib.mkOption { 30 + extraGSettingsOverridePackages = mkOption { 28 31 default = [ ]; 29 - type = lib.types.listOf lib.types.path; 32 + type = types.listOf types.path; 30 33 description = "List of packages for which gsettings are overridden."; 31 34 }; 32 35 }; 33 36 34 - environment.deepin.excludePackages = lib.mkOption { 37 + environment.deepin.excludePackages = mkOption { 35 38 default = [ ]; 36 - type = lib.types.listOf lib.types.package; 39 + type = types.listOf types.package; 37 40 description = "List of default packages to exclude from the configuration"; 38 41 }; 39 42 40 43 }; 41 44 42 - config = lib.mkIf cfg.enable { 45 + config = mkIf cfg.enable { 43 46 services.displayManager.sessionPackages = [ pkgs.deepin.dde-session ]; 44 - services.displayManager.defaultSession = lib.mkDefault "dde-x11"; 47 + services.displayManager.defaultSession = mkDefault "dde-x11"; 45 48 46 49 # Update the DBus activation environment after launching the desktop manager. 47 50 services.xserver.displayManager.sessionCommands = '' 48 51 ${lib.getBin pkgs.dbus}/bin/dbus-update-activation-environment --systemd --all 49 52 ''; 50 53 51 - hardware.bluetooth.enable = lib.mkDefault true; 54 + hardware.bluetooth.enable = mkDefault true; 52 55 security.polkit.enable = true; 53 56 54 - services.deepin.dde-daemon.enable = lib.mkForce true; 55 - services.deepin.dde-api.enable = lib.mkForce true; 56 - services.deepin.app-services.enable = lib.mkForce true; 57 + services.deepin.dde-daemon.enable = mkForce true; 58 + services.deepin.dde-api.enable = mkForce true; 59 + services.deepin.app-services.enable = mkForce true; 57 60 58 - services.colord.enable = lib.mkDefault true; 59 - services.accounts-daemon.enable = lib.mkDefault true; 60 - services.gvfs.enable = lib.mkDefault true; 61 - services.gnome.glib-networking.enable = lib.mkDefault true; 62 - services.gnome.gnome-keyring.enable = lib.mkDefault true; 63 - services.bamf.enable = lib.mkDefault true; 61 + services.colord.enable = mkDefault true; 62 + services.accounts-daemon.enable = mkDefault true; 63 + services.gvfs.enable = mkDefault true; 64 + services.gnome.glib-networking.enable = mkDefault true; 65 + services.gnome.gnome-keyring.enable = mkDefault true; 66 + services.bamf.enable = mkDefault true; 64 67 65 - services.libinput.enable = lib.mkDefault true; 68 + services.libinput.enable = mkDefault true; 66 69 services.udisks2.enable = true; 67 - services.upower.enable = lib.mkDefault config.powerManagement.enable; 68 - networking.networkmanager.enable = lib.mkDefault true; 69 - programs.dconf.enable = lib.mkDefault true; 70 - programs.gnupg.agent.pinentryPackage = lib.mkDefault pkgs.pinentry-qt; 70 + services.upower.enable = mkDefault config.powerManagement.enable; 71 + networking.networkmanager.enable = mkDefault true; 72 + programs.dconf.enable = mkDefault true; 73 + programs.gnupg.agent.pinentryPackage = mkDefault pkgs.pinentry-qt; 71 74 72 75 fonts.packages = with pkgs; [ noto-fonts ]; 73 76 xdg.mime.enable = true; 74 77 xdg.menus.enable = true; 75 78 xdg.icons.enable = true; 76 - xdg.portal.enable = lib.mkDefault true; 77 - xdg.portal.extraPortals = lib.mkDefault [ 79 + xdg.portal.enable = mkDefault true; 80 + xdg.portal.extraPortals = mkDefault [ 78 81 pkgs.xdg-desktop-portal-gtk 79 82 ]; 80 83 81 84 # https://github.com/NixOS/nixpkgs/pull/247766#issuecomment-1722839259 82 - xdg.portal.config.deepin.default = lib.mkDefault [ "gtk" ]; 85 + xdg.portal.config.deepin.default = mkDefault [ "gtk" ]; 83 86 84 87 environment.sessionVariables = { 85 88 NIX_GSETTINGS_OVERRIDES_DIR = "${nixos-gsettings-overrides}/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas";
+9 -6
nixos/modules/services/x11/desktop-managers/enlightenment.nix
··· 4 4 lib, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 9 12 e = pkgs.enlightenment; ··· 20 23 21 24 { 22 25 meta = { 23 - maintainers = lib.teams.enlightenment.members; 26 + maintainers = teams.enlightenment.members; 24 27 }; 25 28 26 29 imports = [ 27 - (lib.mkRenamedOptionModule 30 + (mkRenamedOptionModule 28 31 [ "services" "xserver" "desktopManager" "e19" "enable" ] 29 32 [ "services" "xserver" "desktopManager" "enlightenment" "enable" ] 30 33 ) ··· 32 35 33 36 options = { 34 37 35 - services.xserver.desktopManager.enlightenment.enable = lib.mkOption { 36 - type = lib.types.bool; 38 + services.xserver.desktopManager.enlightenment.enable = mkOption { 39 + type = types.bool; 37 40 default = false; 38 41 description = "Enable the Enlightenment desktop environment."; 39 42 }; 40 43 41 44 }; 42 45 43 - config = lib.mkIf cfg.enable { 46 + config = mkIf cfg.enable { 44 47 45 48 environment.systemPackages = with pkgs; [ 46 49 enlightenment.econnman ··· 102 105 103 106 services.udisks2.enable = true; 104 107 services.upower.enable = config.powerManagement.enable; 105 - services.libinput.enable = lib.mkDefault true; 108 + services.libinput.enable = mkDefault true; 106 109 107 110 services.dbus.packages = [ e.efl ]; 108 111
+7 -4
nixos/modules/services/x11/desktop-managers/kodi.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 cfg = config.services.xserver.desktopManager.kodi; 9 12 in ··· 11 14 { 12 15 options = { 13 16 services.xserver.desktopManager.kodi = { 14 - enable = lib.mkOption { 15 - type = lib.types.bool; 17 + enable = mkOption { 18 + type = types.bool; 16 19 default = false; 17 20 description = "Enable the kodi multimedia center."; 18 21 }; 19 22 20 - package = lib.mkPackageOption pkgs "kodi" { 23 + package = mkPackageOption pkgs "kodi" { 21 24 example = "kodi.withPackages (p: with p; [ jellyfin pvr-iptvsimple vfs-sftp ])"; 22 25 }; 23 26 }; 24 27 }; 25 28 26 - config = lib.mkIf cfg.enable { 29 + config = mkIf cfg.enable { 27 30 services.xserver.desktopManager.session = [ 28 31 { 29 32 name = "kodi";
+7 -4
nixos/modules/services/x11/desktop-managers/lumina.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 9 12 xcfg = config.services.xserver; ··· 13 16 14 17 { 15 18 meta = { 16 - maintainers = lib.teams.lumina.members; 19 + maintainers = teams.lumina.members; 17 20 }; 18 21 19 22 options = { 20 23 21 - services.xserver.desktopManager.lumina.enable = lib.mkOption { 22 - type = lib.types.bool; 24 + services.xserver.desktopManager.lumina.enable = mkOption { 25 + type = types.bool; 23 26 default = false; 24 27 description = "Enable the Lumina desktop manager"; 25 28 }; 26 29 27 30 }; 28 31 29 - config = lib.mkIf cfg.enable { 32 + config = mkIf cfg.enable { 30 33 31 34 services.displayManager.sessionPackages = [ 32 35 pkgs.lumina.lumina
+15 -12
nixos/modules/services/x11/desktop-managers/lxqt.nix
··· 1 1 { config, lib, pkgs, utils, ... }: 2 + 3 + with lib; 4 + 2 5 let 3 6 xcfg = config.services.xserver; 4 7 cfg = xcfg.desktopManager.lxqt; ··· 7 10 8 11 { 9 12 meta = { 10 - maintainers = lib.teams.lxqt.members; 13 + maintainers = teams.lxqt.members; 11 14 }; 12 15 13 16 options = { 14 17 15 - services.xserver.desktopManager.lxqt.enable = lib.mkOption { 16 - type = lib.types.bool; 18 + services.xserver.desktopManager.lxqt.enable = mkOption { 19 + type = types.bool; 17 20 default = false; 18 21 description = "Enable the LXQt desktop manager"; 19 22 }; 20 23 21 - environment.lxqt.excludePackages = lib.mkOption { 24 + environment.lxqt.excludePackages = mkOption { 22 25 default = []; 23 - example = lib.literalExpression "[ pkgs.lxqt.qterminal ]"; 24 - type = lib.types.listOf lib.types.package; 26 + example = literalExpression "[ pkgs.lxqt.qterminal ]"; 27 + type = types.listOf types.package; 25 28 description = "Which LXQt packages to exclude from the default environment"; 26 29 }; 27 30 28 31 }; 29 32 30 - config = lib.mkIf cfg.enable { 33 + config = mkIf cfg.enable { 31 34 32 - services.xserver.desktopManager.session = lib.singleton { 35 + services.xserver.desktopManager.session = singleton { 33 36 name = "lxqt"; 34 37 bgSupport = true; 35 38 start = '' ··· 59 62 # Link some extra directories in /run/current-system/software/share 60 63 environment.pathsToLink = [ "/share" ]; 61 64 62 - programs.gnupg.agent.pinentryPackage = lib.mkDefault pkgs.pinentry-qt; 65 + programs.gnupg.agent.pinentryPackage = mkDefault pkgs.pinentry-qt; 63 66 64 67 # virtual file systems support for PCManFM-QT 65 68 services.gvfs.enable = true; 66 69 67 70 services.upower.enable = config.powerManagement.enable; 68 71 69 - services.libinput.enable = lib.mkDefault true; 72 + services.libinput.enable = mkDefault true; 70 73 71 - xdg.portal.lxqt.enable = lib.mkDefault true; 74 + xdg.portal.lxqt.enable = mkDefault true; 72 75 73 76 # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050804 74 - xdg.portal.config.lxqt.default = lib.mkDefault [ "lxqt" "gtk" ]; 77 + xdg.portal.config.lxqt.default = mkDefault [ "lxqt" "gtk" ]; 75 78 }; 76 79 77 80 }
+24 -23
nixos/modules/services/x11/desktop-managers/mate.nix
··· 5 5 utils, 6 6 ... 7 7 }: 8 + 9 + with lib; 10 + 8 11 let 9 12 10 13 xcfg = config.services.xserver; ··· 16 19 options = { 17 20 18 21 services.xserver.desktopManager.mate = { 19 - enable = lib.mkOption { 20 - type = lib.types.bool; 22 + enable = mkOption { 23 + type = types.bool; 21 24 default = false; 22 25 description = "Enable the MATE desktop environment"; 23 26 }; 24 27 25 - debug = lib.mkEnableOption "mate-session debug messages"; 28 + debug = mkEnableOption "mate-session debug messages"; 26 29 27 - extraPanelApplets = lib.mkOption { 30 + extraPanelApplets = mkOption { 28 31 default = [ ]; 29 - example = lib.literalExpression "with pkgs.mate; [ mate-applets ]"; 30 - type = lib.types.listOf lib.types.package; 32 + example = literalExpression "with pkgs.mate; [ mate-applets ]"; 33 + type = types.listOf types.package; 31 34 description = "Extra applets to add to mate-panel."; 32 35 }; 33 36 34 - extraCajaExtensions = lib.mkOption { 37 + extraCajaExtensions = mkOption { 35 38 default = [ ]; 36 39 example = lib.literalExpression "with pkgs.mate; [ caja-extensions ]"; 37 - type = lib.types.listOf lib.types.package; 40 + type = types.listOf types.package; 38 41 description = "Extra extensions to add to caja."; 39 42 }; 40 43 41 - enableWaylandSession = lib.mkEnableOption "MATE Wayland session"; 44 + enableWaylandSession = mkEnableOption "MATE Wayland session"; 42 45 }; 43 46 44 - environment.mate.excludePackages = lib.mkOption { 47 + environment.mate.excludePackages = mkOption { 45 48 default = [ ]; 46 - example = lib.literalExpression "[ pkgs.mate.mate-terminal pkgs.mate.pluma ]"; 47 - type = lib.types.listOf lib.types.package; 49 + example = literalExpression "[ pkgs.mate.mate-terminal pkgs.mate.pluma ]"; 50 + type = types.listOf types.package; 48 51 description = "Which MATE packages to exclude from the default environment"; 49 52 }; 50 53 51 54 }; 52 55 53 - config = lib.mkMerge [ 54 - (lib.mkIf (cfg.enable || cfg.enableWaylandSession) { 56 + config = mkMerge [ 57 + (mkIf (cfg.enable || cfg.enableWaylandSession) { 55 58 services.displayManager.sessionPackages = [ 56 59 pkgs.mate.mate-session-manager 57 60 ]; 58 61 59 62 # Debugging 60 - environment.sessionVariables.MATE_SESSION_DEBUG = lib.mkIf cfg.debug "1"; 63 + environment.sessionVariables.MATE_SESSION_DEBUG = mkIf cfg.debug "1"; 61 64 62 65 environment.systemPackages = utils.removePackagesByName ( 63 66 pkgs.mate.basePackages ··· 80 83 81 84 programs.dconf.enable = true; 82 85 # Shell integration for VTE terminals 83 - programs.bash.vteIntegration = lib.mkDefault true; 84 - programs.zsh.vteIntegration = lib.mkDefault true; 86 + programs.bash.vteIntegration = mkDefault true; 87 + programs.zsh.vteIntegration = mkDefault true; 85 88 86 89 # Mate uses this for printing 87 - programs.system-config-printer.enable = ( 88 - lib.mkIf config.services.printing.enable (lib.mkDefault true) 89 - ); 90 + programs.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true)); 90 91 91 92 services.gnome.at-spi2-core.enable = true; 92 93 services.gnome.glib-networking.enable = true; ··· 94 95 services.udev.packages = [ pkgs.mate.mate-settings-daemon ]; 95 96 services.gvfs.enable = true; 96 97 services.upower.enable = config.powerManagement.enable; 97 - services.libinput.enable = lib.mkDefault true; 98 + services.libinput.enable = mkDefault true; 98 99 99 100 security.pam.services.mate-screensaver.unixAuth = true; 100 101 101 - xdg.portal.configPackages = lib.mkDefault [ pkgs.mate.mate-desktop ]; 102 + xdg.portal.configPackages = mkDefault [ pkgs.mate.mate-desktop ]; 102 103 103 104 environment.pathsToLink = [ "/share" ]; 104 105 }) 105 - (lib.mkIf cfg.enableWaylandSession { 106 + (mkIf cfg.enableWaylandSession { 106 107 programs.wayfire.enable = true; 107 108 programs.wayfire.plugins = [ pkgs.wayfirePlugins.firedecor ]; 108 109
+6 -5
nixos/modules/services/x11/desktop-managers/none.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + with lib; 7 8 let 8 9 runXdgAutostart = config.services.xserver.desktopManager.runXdgAutostartIfNone; 9 10 in 10 11 { 11 12 options = { 12 - services.xserver.desktopManager.runXdgAutostartIfNone = lib.mkOption { 13 - type = lib.types.bool; 13 + services.xserver.desktopManager.runXdgAutostartIfNone = mkOption { 14 + type = types.bool; 14 15 default = false; 15 16 description = '' 16 17 Whether to run XDG autostart files for sessions without a desktop manager ··· 26 27 }; 27 28 }; 28 29 29 - config = lib.mkMerge [ 30 + config = mkMerge [ 30 31 { 31 32 services.xserver.desktopManager.session = [ 32 33 { 33 34 name = "none"; 34 - start = lib.optionalString runXdgAutostart '' 35 + start = optionalString runXdgAutostart '' 35 36 /run/current-system/systemd/bin/systemctl --user start xdg-autostart-if-no-desktop-manager.target 36 37 ''; 37 38 } 38 39 ]; 39 40 } 40 - (lib.mkIf runXdgAutostart { 41 + (mkIf runXdgAutostart { 41 42 systemd.user.targets.xdg-autostart-if-no-desktop-manager = { 42 43 description = "Run XDG autostart files"; 43 44 # From `plasma-workspace`, `share/systemd/user/plasma-workspace@.target`.
+53 -50
nixos/modules/services/x11/desktop-managers/pantheon.nix
··· 1 1 { config, lib, utils, pkgs, ... }: 2 + 3 + with lib; 4 + 2 5 let 3 6 4 7 cfg = config.services.xserver.desktopManager.pantheon; ··· 16 19 17 20 meta = { 18 21 doc = ./pantheon.md; 19 - maintainers = lib.teams.pantheon.members; 22 + maintainers = teams.pantheon.members; 20 23 }; 21 24 22 25 options = { ··· 24 27 services.pantheon = { 25 28 26 29 contractor = { 27 - enable = lib.mkEnableOption "contractor, a desktop-wide extension service used by Pantheon"; 30 + enable = mkEnableOption "contractor, a desktop-wide extension service used by Pantheon"; 28 31 }; 29 32 30 - apps.enable = lib.mkEnableOption "Pantheon default applications"; 33 + apps.enable = mkEnableOption "Pantheon default applications"; 31 34 32 35 }; 33 36 34 37 services.xserver.desktopManager.pantheon = { 35 - enable = lib.mkOption { 36 - type = lib.types.bool; 38 + enable = mkOption { 39 + type = types.bool; 37 40 default = false; 38 41 description = "Enable the pantheon desktop manager"; 39 42 }; 40 43 41 - sessionPath = lib.mkOption { 44 + sessionPath = mkOption { 42 45 default = []; 43 - type = lib.types.listOf lib.types.package; 44 - example = lib.literalExpression "[ pkgs.gpaste ]"; 46 + type = types.listOf types.package; 47 + example = literalExpression "[ pkgs.gpaste ]"; 45 48 description = '' 46 49 Additional list of packages to be added to the session search path. 47 50 Useful for GSettings-conditional autostart. ··· 50 53 ''; 51 54 }; 52 55 53 - extraWingpanelIndicators = lib.mkOption { 56 + extraWingpanelIndicators = mkOption { 54 57 default = null; 55 - type = with lib.types; nullOr (listOf package); 58 + type = with types; nullOr (listOf package); 56 59 description = "Indicators to add to Wingpanel."; 57 60 }; 58 61 59 - extraSwitchboardPlugs = lib.mkOption { 62 + extraSwitchboardPlugs = mkOption { 60 63 default = null; 61 - type = with lib.types; nullOr (listOf package); 64 + type = with types; nullOr (listOf package); 62 65 description = "Plugs to add to Switchboard."; 63 66 }; 64 67 65 - extraGSettingsOverrides = lib.mkOption { 68 + extraGSettingsOverrides = mkOption { 66 69 default = ""; 67 - type = lib.types.lines; 70 + type = types.lines; 68 71 description = "Additional gsettings overrides."; 69 72 }; 70 73 71 - extraGSettingsOverridePackages = lib.mkOption { 74 + extraGSettingsOverridePackages = mkOption { 72 75 default = []; 73 - type = lib.types.listOf lib.types.path; 76 + type = types.listOf types.path; 74 77 description = "List of packages for which gsettings are overridden."; 75 78 }; 76 79 77 - debug = lib.mkEnableOption "gnome-session debug messages"; 80 + debug = mkEnableOption "gnome-session debug messages"; 78 81 79 82 }; 80 83 81 - environment.pantheon.excludePackages = lib.mkOption { 84 + environment.pantheon.excludePackages = mkOption { 82 85 default = []; 83 - example = lib.literalExpression "[ pkgs.pantheon.elementary-camera ]"; 84 - type = lib.types.listOf lib.types.package; 86 + example = literalExpression "[ pkgs.pantheon.elementary-camera ]"; 87 + type = types.listOf types.package; 85 88 description = "Which packages pantheon should exclude from the default environment"; 86 89 }; 87 90 88 91 }; 89 92 90 93 91 - config = lib.mkMerge [ 92 - (lib.mkIf cfg.enable { 94 + config = mkMerge [ 95 + (mkIf cfg.enable { 93 96 services.xserver.desktopManager.pantheon.sessionPath = utils.removePackagesByName [ 94 97 pkgs.pantheon.pantheon-agent-geoclue2 95 98 ] config.environment.pantheon.excludePackages; ··· 98 101 99 102 # Ensure lightdm is used when Pantheon is enabled 100 103 # Without it screen locking will be nonfunctional because of the use of lightlocker 101 - warnings = lib.optional (config.services.xserver.displayManager.lightdm.enable != true) 104 + warnings = optional (config.services.xserver.displayManager.lightdm.enable != true) 102 105 '' 103 106 Using Pantheon without LightDM as a displayManager will break screenlocking from the UI. 104 107 ''; 105 108 106 - services.xserver.displayManager.lightdm.greeters.pantheon.enable = lib.mkDefault true; 109 + services.xserver.displayManager.lightdm.greeters.pantheon.enable = mkDefault true; 107 110 108 111 # Without this, elementary LightDM greeter will pre-select non-existent `default` session 109 112 # https://github.com/elementary/greeter/issues/368 110 - services.displayManager.defaultSession = lib.mkDefault "pantheon"; 113 + services.displayManager.defaultSession = mkDefault "pantheon"; 111 114 112 115 services.xserver.displayManager.sessionCommands = '' 113 116 if test "$XDG_CURRENT_DESKTOP" = "Pantheon"; then 114 117 true 115 - ${lib.concatMapStrings (p: '' 118 + ${concatMapStrings (p: '' 116 119 if [ -d "${p}/share/gsettings-schemas/${p.name}" ]; then 117 120 export XDG_DATA_DIRS=$XDG_DATA_DIRS''${XDG_DATA_DIRS:+:}${p}/share/gsettings-schemas/${p.name} 118 121 fi ··· 126 129 ''; 127 130 128 131 # Default services 129 - hardware.bluetooth.enable = lib.mkDefault true; 132 + hardware.bluetooth.enable = mkDefault true; 130 133 security.polkit.enable = true; 131 134 services.accounts-daemon.enable = true; 132 135 services.bamf.enable = true; 133 - services.colord.enable = lib.mkDefault true; 134 - services.fwupd.enable = lib.mkDefault true; 136 + services.colord.enable = mkDefault true; 137 + services.fwupd.enable = mkDefault true; 135 138 # TODO: Enable once #177946 is resolved 136 139 # services.packagekit.enable = mkDefault true; 137 - services.power-profiles-daemon.enable = lib.mkDefault true; 138 - services.touchegg.enable = lib.mkDefault true; 140 + services.power-profiles-daemon.enable = mkDefault true; 141 + services.touchegg.enable = mkDefault true; 139 142 services.touchegg.package = pkgs.pantheon.touchegg; 140 - services.tumbler.enable = lib.mkDefault true; 141 - services.system-config-printer.enable = (lib.mkIf config.services.printing.enable (lib.mkDefault true)); 143 + services.tumbler.enable = mkDefault true; 144 + services.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true)); 142 145 services.dbus.packages = with pkgs.pantheon; [ 143 146 switchboard-plug-power 144 147 elementary-default-settings # accountsservice extensions 145 148 ]; 146 - services.pantheon.apps.enable = lib.mkDefault true; 147 - services.pantheon.contractor.enable = lib.mkDefault true; 149 + services.pantheon.apps.enable = mkDefault true; 150 + services.pantheon.contractor.enable = mkDefault true; 148 151 services.gnome.at-spi2-core.enable = true; 149 152 services.gnome.evolution-data-server.enable = true; 150 153 services.gnome.glib-networking.enable = true; 151 154 services.gnome.gnome-keyring.enable = true; 152 155 services.gvfs.enable = true; 153 - services.gnome.rygel.enable = lib.mkDefault true; 156 + services.gnome.rygel.enable = mkDefault true; 154 157 services.udisks2.enable = true; 155 158 services.upower.enable = config.powerManagement.enable; 156 - services.libinput.enable = lib.mkDefault true; 157 - services.switcherooControl.enable = lib.mkDefault true; 159 + services.libinput.enable = mkDefault true; 160 + services.switcherooControl.enable = mkDefault true; 158 161 services.xserver.updateDbusEnvironment = true; 159 - services.zeitgeist.enable = lib.mkDefault true; 160 - services.geoclue2.enable = lib.mkDefault true; 162 + services.zeitgeist.enable = mkDefault true; 163 + services.geoclue2.enable = mkDefault true; 161 164 # pantheon has pantheon-agent-geoclue2 162 165 services.geoclue2.enableDemoAgent = false; 163 166 services.geoclue2.appConfig."io.elementary.desktop.agent-geoclue2" = { ··· 170 173 # https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1443 171 174 pkgs.pantheon.mutter 172 175 ]; 173 - services.orca.enable = lib.mkDefault (notExcluded pkgs.orca); 176 + services.orca.enable = mkDefault (notExcluded pkgs.orca); 174 177 systemd.packages = with pkgs; [ 175 178 gnome-session 176 179 pantheon.gala ··· 178 181 pantheon.elementary-session-settings 179 182 ]; 180 183 programs.dconf.enable = true; 181 - networking.networkmanager.enable = lib.mkDefault true; 184 + networking.networkmanager.enable = mkDefault true; 182 185 183 186 systemd.user.targets."gnome-session-x11-services".wants = [ 184 187 "org.gnome.SettingsDaemon.XSettings.service" ··· 243 246 xdg-desktop-portal-pantheon 244 247 ]); 245 248 246 - xdg.portal.configPackages = lib.mkDefault [ pkgs.pantheon.elementary-default-settings ]; 249 + xdg.portal.configPackages = mkDefault [ pkgs.pantheon.elementary-default-settings ]; 247 250 248 251 # Override GSettings schemas 249 252 environment.sessionVariables.NIX_GSETTINGS_OVERRIDES_DIR = "${nixos-gsettings-desktop-schemas}/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas"; 250 253 251 - environment.sessionVariables.GNOME_SESSION_DEBUG = lib.mkIf cfg.debug "1"; 254 + environment.sessionVariables.GNOME_SESSION_DEBUG = mkIf cfg.debug "1"; 252 255 253 256 environment.pathsToLink = [ 254 257 # FIXME: modules should link subdirs of `/share` rather than relying on this ··· 262 265 programs.nm-applet.indicator = false; 263 266 264 267 # Shell integration for VTE terminals 265 - programs.bash.vteIntegration = lib.mkDefault true; 266 - programs.zsh.vteIntegration = lib.mkDefault true; 268 + programs.bash.vteIntegration = mkDefault true; 269 + programs.zsh.vteIntegration = mkDefault true; 267 270 268 271 # Default Fonts 269 272 fonts.packages = with pkgs; [ ··· 279 282 }; 280 283 }) 281 284 282 - (lib.mkIf serviceCfg.apps.enable { 283 - programs.evince.enable = lib.mkDefault (notExcluded pkgs.evince); 284 - programs.file-roller.enable = lib.mkDefault (notExcluded pkgs.file-roller); 285 + (mkIf serviceCfg.apps.enable { 286 + programs.evince.enable = mkDefault (notExcluded pkgs.evince); 287 + programs.file-roller.enable = mkDefault (notExcluded pkgs.file-roller); 285 288 286 289 environment.systemPackages = utils.removePackagesByName ([ 287 290 pkgs.gnome-font-viewer ··· 312 315 ]; 313 316 }) 314 317 315 - (lib.mkIf serviceCfg.contractor.enable { 318 + (mkIf serviceCfg.contractor.enable { 316 319 environment.systemPackages = with pkgs.pantheon; [ 317 320 contractor 318 321 file-roller-contract
+10 -7
nixos/modules/services/x11/desktop-managers/retroarch.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 cfg = config.services.xserver.desktopManager.retroarch; 9 12 10 13 in 11 14 { 12 15 options.services.xserver.desktopManager.retroarch = { 13 - enable = lib.mkEnableOption "RetroArch"; 16 + enable = mkEnableOption "RetroArch"; 14 17 15 - package = lib.mkPackageOption pkgs "retroarch" { 18 + package = mkPackageOption pkgs "retroarch" { 16 19 example = "retroarch-full"; 17 20 }; 18 21 19 - extraArgs = lib.mkOption { 20 - type = lib.types.listOf lib.types.str; 22 + extraArgs = mkOption { 23 + type = types.listOf types.str; 21 24 default = [ ]; 22 25 example = [ 23 26 "--verbose" ··· 27 30 }; 28 31 }; 29 32 30 - config = lib.mkIf cfg.enable { 33 + config = mkIf cfg.enable { 31 34 services.xserver.desktopManager.session = [ 32 35 { 33 36 name = "RetroArch"; 34 37 start = '' 35 - ${cfg.package}/bin/retroarch -f ${lib.escapeShellArgs cfg.extraArgs} & 38 + ${cfg.package}/bin/retroarch -f ${escapeShellArgs cfg.extraArgs} & 36 39 waitPID=$! 37 40 ''; 38 41 } ··· 41 44 environment.systemPackages = [ cfg.package ]; 42 45 }; 43 46 44 - meta.maintainers = with lib.maintainers; [ j0hax ]; 47 + meta.maintainers = with maintainers; [ j0hax ]; 45 48 }
+18 -15
nixos/modules/services/x11/desktop-managers/surf-display.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 cfg = config.services.xserver.desktopManager.surf-display; 9 12 ··· 48 51 { 49 52 options = { 50 53 services.xserver.desktopManager.surf-display = { 51 - enable = lib.mkEnableOption "surf-display as a kiosk browser session"; 54 + enable = mkEnableOption "surf-display as a kiosk browser session"; 52 55 53 - defaultWwwUri = lib.mkOption { 54 - type = lib.types.str; 56 + defaultWwwUri = mkOption { 57 + type = types.str; 55 58 default = "${pkgs.surf-display}/share/surf-display/empty-page.html"; 56 - defaultText = lib.literalExpression ''"''${pkgs.surf-display}/share/surf-display/empty-page.html"''; 59 + defaultText = literalExpression ''"''${pkgs.surf-display}/share/surf-display/empty-page.html"''; 57 60 example = "https://www.example.com/"; 58 61 description = "Default URI to display."; 59 62 }; 60 63 61 - inactivityInterval = lib.mkOption { 62 - type = lib.types.int; 64 + inactivityInterval = mkOption { 65 + type = types.int; 63 66 default = 300; 64 67 example = 0; 65 68 description = '' ··· 72 75 ''; 73 76 }; 74 77 75 - screensaverSettings = lib.mkOption { 76 - type = lib.types.separatedString " "; 78 + screensaverSettings = mkOption { 79 + type = types.separatedString " "; 77 80 default = ""; 78 81 description = '' 79 82 Screensaver settings, see `man 1 xset` for possible options. 80 83 ''; 81 84 }; 82 85 83 - pointerButtonMap = lib.mkOption { 84 - type = lib.types.str; 86 + pointerButtonMap = mkOption { 87 + type = types.str; 85 88 default = "1 0 0 4 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"; 86 89 description = '' 87 90 Disable right and middle pointer device click in browser sessions ··· 90 93 ''; 91 94 }; 92 95 93 - hideIdlePointer = lib.mkOption { 94 - type = lib.types.str; 96 + hideIdlePointer = mkOption { 97 + type = types.str; 95 98 default = "yes"; 96 99 example = "no"; 97 100 description = "Hide idle mouse pointer."; 98 101 }; 99 102 100 - extraConfig = lib.mkOption { 101 - type = lib.types.lines; 103 + extraConfig = mkOption { 104 + type = types.lines; 102 105 default = ""; 103 106 example = '' 104 107 # Enforce fixed resolution for all displays (default: not set): ··· 121 124 }; 122 125 }; 123 126 124 - config = lib.mkIf cfg.enable { 127 + config = mkIf cfg.enable { 125 128 services.displayManager.sessionPackages = [ 126 129 pkgs.surf-display 127 130 ];
+40 -37
nixos/modules/services/x11/desktop-managers/xfce.nix
··· 1 1 { config, lib, pkgs, utils, ... }: 2 + 3 + with lib; 4 + 2 5 let 3 6 cfg = config.services.xserver.desktopManager.xfce; 4 7 excludePackages = config.environment.xfce.excludePackages; ··· 6 9 in 7 10 { 8 11 meta = { 9 - maintainers = lib.teams.xfce.members; 12 + maintainers = teams.xfce.members; 10 13 }; 11 14 12 15 imports = [ 13 16 # added 2019-08-18 14 17 # needed to preserve some semblance of UI familarity 15 18 # with original XFCE module 16 - (lib.mkRenamedOptionModule 19 + (mkRenamedOptionModule 17 20 [ "services" "xserver" "desktopManager" "xfce4-14" "extraSessionCommands" ] 18 21 [ "services" "xserver" "displayManager" "sessionCommands" ]) 19 22 20 23 # added 2019-11-04 21 24 # xfce4-14 module removed and promoted to xfce. 22 25 # Needed for configs that used xfce4-14 module to migrate to this one. 23 - (lib.mkRenamedOptionModule 26 + (mkRenamedOptionModule 24 27 [ "services" "xserver" "desktopManager" "xfce4-14" "enable" ] 25 28 [ "services" "xserver" "desktopManager" "xfce" "enable" ]) 26 - (lib.mkRenamedOptionModule 29 + (mkRenamedOptionModule 27 30 [ "services" "xserver" "desktopManager" "xfce4-14" "noDesktop" ] 28 31 [ "services" "xserver" "desktopManager" "xfce" "noDesktop" ]) 29 - (lib.mkRenamedOptionModule 32 + (mkRenamedOptionModule 30 33 [ "services" "xserver" "desktopManager" "xfce4-14" "enableXfwm" ] 31 34 [ "services" "xserver" "desktopManager" "xfce" "enableXfwm" ]) 32 - (lib.mkRenamedOptionModule 35 + (mkRenamedOptionModule 33 36 [ "services" "xserver" "desktopManager" "xfce" "extraSessionCommands" ] 34 37 [ "services" "xserver" "displayManager" "sessionCommands" ]) 35 - (lib.mkRemovedOptionModule [ "services" "xserver" "desktopManager" "xfce" "screenLock" ] "") 38 + (mkRemovedOptionModule [ "services" "xserver" "desktopManager" "xfce" "screenLock" ] "") 36 39 37 40 # added 2022-06-26 38 41 # thunar has its own module 39 - (lib.mkRenamedOptionModule 42 + (mkRenamedOptionModule 40 43 [ "services" "xserver" "desktopManager" "xfce" "thunarPlugins" ] 41 44 [ "programs" "thunar" "plugins" ]) 42 45 ]; 43 46 44 47 options = { 45 48 services.xserver.desktopManager.xfce = { 46 - enable = lib.mkOption { 47 - type = lib.types.bool; 49 + enable = mkOption { 50 + type = types.bool; 48 51 default = false; 49 52 description = "Enable the Xfce desktop environment."; 50 53 }; 51 54 52 - noDesktop = lib.mkOption { 53 - type = lib.types.bool; 55 + noDesktop = mkOption { 56 + type = types.bool; 54 57 default = false; 55 58 description = "Don't install XFCE desktop components (xfdesktop and panel)."; 56 59 }; 57 60 58 - enableXfwm = lib.mkOption { 59 - type = lib.types.bool; 61 + enableXfwm = mkOption { 62 + type = types.bool; 60 63 default = true; 61 64 description = "Enable the XFWM (default) window manager."; 62 65 }; 63 66 64 - enableScreensaver = lib.mkOption { 65 - type = lib.types.bool; 67 + enableScreensaver = mkOption { 68 + type = types.bool; 66 69 default = true; 67 70 description = "Enable the XFCE screensaver."; 68 71 }; 69 72 70 - enableWaylandSession = lib.mkEnableOption "the experimental Xfce Wayland session"; 73 + enableWaylandSession = mkEnableOption "the experimental Xfce Wayland session"; 71 74 72 - waylandSessionCompositor = lib.mkOption { 75 + waylandSessionCompositor = mkOption { 73 76 type = lib.types.str; 74 77 default = ""; 75 78 example = "wayfire"; ··· 84 87 }; 85 88 }; 86 89 87 - environment.xfce.excludePackages = lib.mkOption { 90 + environment.xfce.excludePackages = mkOption { 88 91 default = []; 89 - example = lib.literalExpression "[ pkgs.xfce.xfce4-volumed-pulse ]"; 90 - type = lib.types.listOf lib.types.package; 92 + example = literalExpression "[ pkgs.xfce.xfce4-volumed-pulse ]"; 93 + type = types.listOf types.package; 91 94 description = "Which packages XFCE should exclude from the default environment"; 92 95 }; 93 96 }; 94 97 95 - config = lib.mkIf cfg.enable { 98 + config = mkIf cfg.enable { 96 99 environment.systemPackages = utils.removePackagesByName (with pkgs; [ 97 100 glib # for gsettings 98 101 gtk3.out # gtk-update-icon-cache ··· 127 130 xfce.xfce4-taskmanager 128 131 xfce.xfce4-terminal 129 132 ] # TODO: NetworkManager doesn't belong here 130 - ++ optional config.networking.networkmanager.enable networkmanagerapplet 131 - ++ optional config.powerManagement.enable xfce.xfce4-power-manager 132 - ++ optionals (config.services.pulseaudio.enable || config.services.pipewire.pulse.enable) [ 133 + ++ lib.optional config.networking.networkmanager.enable networkmanagerapplet 134 + ++ lib.optional config.powerManagement.enable xfce.xfce4-power-manager 135 + ++ lib.optionals (config.services.pulseaudio.enable || config.services.pipewire.pulse.enable) [ 133 136 pavucontrol 134 137 # volume up/down keys support: 135 138 # xfce4-pulseaudio-plugin includes all the functionalities of xfce4-volumed-pulse 136 139 # but can only be used with xfce4-panel, so for no-desktop usage we still include 137 140 # xfce4-volumed-pulse 138 141 (if cfg.noDesktop then xfce.xfce4-volumed-pulse else xfce.xfce4-pulseaudio-plugin) 139 - ] ++ optionals cfg.enableXfwm [ 142 + ] ++ lib.optionals cfg.enableXfwm [ 140 143 xfce.xfwm4 141 144 xfce.xfwm4-themes 142 - ] ++ optionals (!cfg.noDesktop) [ 145 + ] ++ lib.optionals (!cfg.noDesktop) [ 143 146 xfce.xfce4-panel 144 147 xfce.xfdesktop 145 - ] ++ optional cfg.enableScreensaver xfce.xfce4-screensaver) excludePackages; 148 + ] ++ lib.optional cfg.enableScreensaver xfce.xfce4-screensaver) excludePackages; 146 149 147 - programs.gnupg.agent.pinentryPackage = lib.mkDefault pkgs.pinentry-gtk2; 150 + programs.gnupg.agent.pinentryPackage = mkDefault pkgs.pinentry-gtk2; 148 151 programs.xfconf.enable = true; 149 152 programs.thunar.enable = true; 150 - programs.labwc.enable = lib.mkDefault (cfg.enableWaylandSession && ( 153 + programs.labwc.enable = mkDefault (cfg.enableWaylandSession && ( 151 154 cfg.waylandSessionCompositor == "" || lib.substring 0 5 cfg.waylandSessionCompositor == "labwc")); 152 155 153 156 environment.pathsToLink = [ ··· 170 173 171 174 # Copied from https://gitlab.xfce.org/xfce/xfce4-session/-/blob/xfce4-session-4.19.2/xfce-wayland.desktop.in 172 175 # to maintain consistent l10n state with X11 session file and to support the waylandSessionCompositor option. 173 - services.displayManager.sessionPackages = lib.optionals cfg.enableWaylandSession [ 176 + services.displayManager.sessionPackages = optionals cfg.enableWaylandSession [ 174 177 ((pkgs.writeTextDir "share/wayland-sessions/xfce-wayland.desktop" '' 175 178 [Desktop Entry] 176 179 Version=1.0 ··· 195 198 services.gnome.glib-networking.enable = true; 196 199 services.gvfs.enable = true; 197 200 services.tumbler.enable = true; 198 - services.system-config-printer.enable = (lib.mkIf config.services.printing.enable (lib.mkDefault true)); 199 - services.libinput.enable = lib.mkDefault true; # used in xfce4-settings-manager 200 - services.colord.enable = lib.mkDefault true; 201 + services.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true)); 202 + services.libinput.enable = mkDefault true; # used in xfce4-settings-manager 203 + services.colord.enable = mkDefault true; 201 204 202 205 # Enable default programs 203 206 programs.dconf.enable = true; 204 207 205 208 # Shell integration for VTE terminals 206 - programs.bash.vteIntegration = lib.mkDefault true; 207 - programs.zsh.vteIntegration = lib.mkDefault true; 209 + programs.bash.vteIntegration = mkDefault true; 210 + programs.zsh.vteIntegration = mkDefault true; 208 211 209 212 # Systemd services 210 213 systemd.packages = utils.removePackagesByName (with pkgs.xfce; [ ··· 213 216 214 217 security.pam.services.xfce4-screensaver.unixAuth = cfg.enableScreensaver; 215 218 216 - xdg.portal.configPackages = lib.mkDefault [ pkgs.xfce.xfce4-session ]; 219 + xdg.portal.configPackages = mkDefault [ pkgs.xfce.xfce4-session ]; 217 220 }; 218 221 }
+9 -6
nixos/modules/services/x11/desktop-managers/xterm.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 9 12 cfg = config.services.xserver.desktopManager.xterm; ··· 14 17 { 15 18 options = { 16 19 17 - services.xserver.desktopManager.xterm.enable = lib.mkOption { 18 - type = lib.types.bool; 19 - default = lib.versionOlder config.system.stateVersion "19.09" && xSessionEnabled; 20 - defaultText = lib.literalExpression ''versionOlder config.system.stateVersion "19.09" && config.services.xserver.enable;''; 20 + services.xserver.desktopManager.xterm.enable = mkOption { 21 + type = types.bool; 22 + default = versionOlder config.system.stateVersion "19.09" && xSessionEnabled; 23 + defaultText = literalExpression ''versionOlder config.system.stateVersion "19.09" && config.services.xserver.enable;''; 21 24 description = "Enable a xterm terminal as a desktop manager."; 22 25 }; 23 26 24 27 }; 25 28 26 - config = lib.mkIf cfg.enable { 29 + config = mkIf cfg.enable { 27 30 28 - services.xserver.desktopManager.session = lib.singleton { 31 + services.xserver.desktopManager.session = singleton { 29 32 name = "xterm"; 30 33 start = '' 31 34 ${pkgs.xterm}/bin/xterm -ls &
+28 -26
nixos/modules/services/x11/display-managers/lightdm-greeters/enso-os.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 7 9 let 8 10 dmcfg = config.services.xserver.displayManager; 9 11 ldmcfg = dmcfg.lightdm; ··· 27 29 { 28 30 options = { 29 31 services.xserver.displayManager.lightdm.greeters.enso = { 30 - enable = lib.mkOption { 31 - type = lib.types.bool; 32 + enable = mkOption { 33 + type = types.bool; 32 34 default = false; 33 35 description = '' 34 36 Whether to enable enso-os-greeter as the lightdm greeter ··· 36 38 }; 37 39 38 40 theme = { 39 - package = lib.mkOption { 40 - type = lib.types.package; 41 + package = mkOption { 42 + type = types.package; 41 43 default = pkgs.gnome-themes-extra; 42 - defaultText = lib.literalExpression "pkgs.gnome-themes-extra"; 44 + defaultText = literalExpression "pkgs.gnome-themes-extra"; 43 45 description = '' 44 46 The package path that contains the theme given in the name option. 45 47 ''; 46 48 }; 47 49 48 - name = lib.mkOption { 49 - type = lib.types.str; 50 + name = mkOption { 51 + type = types.str; 50 52 default = "Adwaita"; 51 53 description = '' 52 54 Name of the theme to use for the lightdm-enso-os-greeter ··· 55 57 }; 56 58 57 59 iconTheme = { 58 - package = lib.mkOption { 59 - type = lib.types.package; 60 + package = mkOption { 61 + type = types.package; 60 62 default = pkgs.papirus-icon-theme; 61 - defaultText = lib.literalExpression "pkgs.papirus-icon-theme"; 63 + defaultText = literalExpression "pkgs.papirus-icon-theme"; 62 64 description = '' 63 65 The package path that contains the icon theme given in the name option. 64 66 ''; 65 67 }; 66 68 67 - name = lib.mkOption { 68 - type = lib.types.str; 69 + name = mkOption { 70 + type = types.str; 69 71 default = "ePapirus"; 70 72 description = '' 71 73 Name of the icon theme to use for the lightdm-enso-os-greeter ··· 74 76 }; 75 77 76 78 cursorTheme = { 77 - package = lib.mkOption { 78 - type = lib.types.package; 79 + package = mkOption { 80 + type = types.package; 79 81 default = pkgs.capitaine-cursors; 80 - defaultText = lib.literalExpression "pkgs.capitaine-cursors"; 82 + defaultText = literalExpression "pkgs.capitaine-cursors"; 81 83 description = '' 82 84 The package path that contains the cursor theme given in the name option. 83 85 ''; 84 86 }; 85 87 86 - name = lib.mkOption { 87 - type = lib.types.str; 88 + name = mkOption { 89 + type = types.str; 88 90 default = "capitane-cursors"; 89 91 description = '' 90 92 Name of the cursor theme to use for the lightdm-enso-os-greeter ··· 92 94 }; 93 95 }; 94 96 95 - blur = lib.mkOption { 96 - type = lib.types.bool; 97 + blur = mkOption { 98 + type = types.bool; 97 99 default = false; 98 100 description = '' 99 101 Whether or not to enable blur 100 102 ''; 101 103 }; 102 104 103 - brightness = lib.mkOption { 104 - type = lib.types.int; 105 + brightness = mkOption { 106 + type = types.int; 105 107 default = 7; 106 108 description = '' 107 109 Brightness 108 110 ''; 109 111 }; 110 112 111 - extraConfig = lib.mkOption { 112 - type = lib.types.lines; 113 + extraConfig = mkOption { 114 + type = types.lines; 113 115 default = ""; 114 116 description = '' 115 117 Extra configuration that should be put in the greeter.conf ··· 119 121 }; 120 122 }; 121 123 122 - config = lib.mkIf (ldmcfg.enable && cfg.enable) { 124 + config = mkIf (ldmcfg.enable && cfg.enable) { 123 125 environment.etc."lightdm/greeter.conf".source = ensoGreeterConf; 124 126 125 127 environment.systemPackages = [ ··· 129 131 ]; 130 132 131 133 services.xserver.displayManager.lightdm = { 132 - greeter = lib.mkDefault { 134 + greeter = mkDefault { 133 135 package = pkgs.lightdm-enso-os-greeter.xgreeters; 134 136 name = "pantheon-greeter"; 135 137 }; 136 138 137 139 greeters = { 138 140 gtk = { 139 - enable = lib.mkDefault false; 141 + enable = mkDefault false; 140 142 }; 141 143 }; 142 144 };
+33 -32
nixos/modules/services/x11/display-managers/lightdm-greeters/gtk.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 9 12 dmcfg = config.services.xserver.displayManager; ··· 24 27 cursor-theme-name = ${cfg.cursorTheme.name} 25 28 cursor-theme-size = ${toString cfg.cursorTheme.size} 26 29 background = ${ldmcfg.background} 27 - ${lib.optionalString (cfg.clock-format != null) "clock-format = ${cfg.clock-format}"} 28 - ${lib.optionalString ( 29 - cfg.indicators != null 30 - ) "indicators = ${lib.concatStringsSep ";" cfg.indicators}"} 31 - ${lib.optionalString (xcfg.dpi != null) "xft-dpi=${toString xcfg.dpi}"} 30 + ${optionalString (cfg.clock-format != null) "clock-format = ${cfg.clock-format}"} 31 + ${optionalString (cfg.indicators != null) "indicators = ${concatStringsSep ";" cfg.indicators}"} 32 + ${optionalString (xcfg.dpi != null) "xft-dpi=${toString xcfg.dpi}"} 32 33 ${cfg.extraConfig} 33 34 ''; 34 35 ··· 38 39 39 40 services.xserver.displayManager.lightdm.greeters.gtk = { 40 41 41 - enable = lib.mkOption { 42 - type = lib.types.bool; 42 + enable = mkOption { 43 + type = types.bool; 43 44 default = true; 44 45 description = '' 45 46 Whether to enable lightdm-gtk-greeter as the lightdm greeter. ··· 48 49 49 50 theme = { 50 51 51 - package = lib.mkOption { 52 - type = lib.types.package; 52 + package = mkOption { 53 + type = types.package; 53 54 default = pkgs.gnome-themes-extra; 54 - defaultText = lib.literalExpression "pkgs.gnome-themes-extra"; 55 + defaultText = literalExpression "pkgs.gnome-themes-extra"; 55 56 description = '' 56 57 The package path that contains the theme given in the name option. 57 58 ''; 58 59 }; 59 60 60 - name = lib.mkOption { 61 - type = lib.types.str; 61 + name = mkOption { 62 + type = types.str; 62 63 default = "Adwaita"; 63 64 description = '' 64 65 Name of the theme to use for the lightdm-gtk-greeter. ··· 69 70 70 71 iconTheme = { 71 72 72 - package = lib.mkOption { 73 - type = lib.types.package; 73 + package = mkOption { 74 + type = types.package; 74 75 default = pkgs.adwaita-icon-theme; 75 - defaultText = lib.literalExpression "pkgs.adwaita-icon-theme"; 76 + defaultText = literalExpression "pkgs.adwaita-icon-theme"; 76 77 description = '' 77 78 The package path that contains the icon theme given in the name option. 78 79 ''; 79 80 }; 80 81 81 - name = lib.mkOption { 82 - type = lib.types.str; 82 + name = mkOption { 83 + type = types.str; 83 84 default = "Adwaita"; 84 85 description = '' 85 86 Name of the icon theme to use for the lightdm-gtk-greeter. ··· 90 91 91 92 cursorTheme = { 92 93 93 - package = lib.mkOption { 94 - type = lib.types.package; 94 + package = mkOption { 95 + type = types.package; 95 96 default = pkgs.adwaita-icon-theme; 96 - defaultText = lib.literalExpression "pkgs.adwaita-icon-theme"; 97 + defaultText = literalExpression "pkgs.adwaita-icon-theme"; 97 98 description = '' 98 99 The package path that contains the cursor theme given in the name option. 99 100 ''; 100 101 }; 101 102 102 - name = lib.mkOption { 103 - type = lib.types.str; 103 + name = mkOption { 104 + type = types.str; 104 105 default = "Adwaita"; 105 106 description = '' 106 107 Name of the cursor theme to use for the lightdm-gtk-greeter. 107 108 ''; 108 109 }; 109 110 110 - size = lib.mkOption { 111 - type = lib.types.int; 111 + size = mkOption { 112 + type = types.int; 112 113 default = 16; 113 114 description = '' 114 115 Size of the cursor theme to use for the lightdm-gtk-greeter. ··· 116 117 }; 117 118 }; 118 119 119 - clock-format = lib.mkOption { 120 - type = lib.types.nullOr lib.types.str; 120 + clock-format = mkOption { 121 + type = types.nullOr types.str; 121 122 default = null; 122 123 example = "%F"; 123 124 description = '' ··· 128 129 ''; 129 130 }; 130 131 131 - indicators = lib.mkOption { 132 - type = lib.types.nullOr (lib.types.listOf lib.types.str); 132 + indicators = mkOption { 133 + type = types.nullOr (types.listOf types.str); 133 134 default = null; 134 135 example = [ 135 136 "~host" ··· 154 155 ''; 155 156 }; 156 157 157 - extraConfig = lib.mkOption { 158 - type = lib.types.lines; 158 + extraConfig = mkOption { 159 + type = types.lines; 159 160 default = ""; 160 161 description = '' 161 162 Extra configuration that should be put in the lightdm-gtk-greeter.conf ··· 167 168 168 169 }; 169 170 170 - config = lib.mkIf (ldmcfg.enable && cfg.enable) { 171 + config = mkIf (ldmcfg.enable && cfg.enable) { 171 172 172 - services.xserver.displayManager.lightdm.greeter = lib.mkDefault { 173 + services.xserver.displayManager.lightdm.greeter = mkDefault { 173 174 package = pkgs.lightdm-gtk-greeter.xgreeters; 174 175 name = "lightdm-gtk-greeter"; 175 176 };
+11 -8
nixos/modules/services/x11/display-managers/lightdm-greeters/mini.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 9 12 dmcfg = config.services.xserver.displayManager; ··· 53 56 54 57 services.xserver.displayManager.lightdm.greeters.mini = { 55 58 56 - enable = lib.mkOption { 57 - type = lib.types.bool; 59 + enable = mkOption { 60 + type = types.bool; 58 61 default = false; 59 62 description = '' 60 63 Whether to enable lightdm-mini-greeter as the lightdm greeter. ··· 65 68 ''; 66 69 }; 67 70 68 - user = lib.mkOption { 69 - type = lib.types.str; 71 + user = mkOption { 72 + type = types.str; 70 73 default = "root"; 71 74 description = '' 72 75 The user to login as. 73 76 ''; 74 77 }; 75 78 76 - extraConfig = lib.mkOption { 77 - type = lib.types.lines; 79 + extraConfig = mkOption { 80 + type = types.lines; 78 81 default = ""; 79 82 description = '' 80 83 Extra configuration that should be put in the lightdm-mini-greeter.conf ··· 86 89 87 90 }; 88 91 89 - config = lib.mkIf (ldmcfg.enable && cfg.enable) { 92 + config = mkIf (ldmcfg.enable && cfg.enable) { 90 93 91 94 services.xserver.displayManager.lightdm.greeters.gtk.enable = false; 92 95 93 - services.xserver.displayManager.lightdm.greeter = lib.mkDefault { 96 + services.xserver.displayManager.lightdm.greeter = mkDefault { 94 97 package = pkgs.lightdm-mini-greeter.xgreeters; 95 98 name = "lightdm-mini-greeter"; 96 99 };
+5 -3
nixos/modules/services/x11/display-managers/lightdm-greeters/mobile.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 7 9 let 8 10 dmcfg = config.services.xserver.displayManager; 9 11 ldmcfg = dmcfg.lightdm; ··· 12 14 { 13 15 options = { 14 16 services.xserver.displayManager.lightdm.greeters.mobile = { 15 - enable = lib.mkEnableOption "lightdm-mobile-greeter as the lightdm greeter"; 17 + enable = mkEnableOption "lightdm-mobile-greeter as the lightdm greeter"; 16 18 }; 17 19 }; 18 20 19 - config = lib.mkIf (ldmcfg.enable && cfg.enable) { 21 + config = mkIf (ldmcfg.enable && cfg.enable) { 20 22 services.xserver.displayManager.lightdm.greeters.gtk.enable = false; 21 23 22 - services.xserver.displayManager.lightdm.greeter = lib.mkDefault { 24 + services.xserver.displayManager.lightdm.greeter = mkDefault { 23 25 package = pkgs.lightdm-mobile-greeter.xgreeters; 24 26 name = "lightdm-mobile-greeter"; 25 27 };
+7 -4
nixos/modules/services/x11/display-managers/lightdm-greeters/pantheon.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 9 12 dmcfg = config.services.xserver.displayManager; ··· 20 23 21 24 services.xserver.displayManager.lightdm.greeters.pantheon = { 22 25 23 - enable = lib.mkOption { 24 - type = lib.types.bool; 26 + enable = mkOption { 27 + type = types.bool; 25 28 default = false; 26 29 description = '' 27 30 Whether to enable elementary-greeter as the lightdm greeter. ··· 32 35 33 36 }; 34 37 35 - config = lib.mkIf (ldmcfg.enable && cfg.enable) { 38 + config = mkIf (ldmcfg.enable && cfg.enable) { 36 39 37 40 services.xserver.displayManager.lightdm.greeters.gtk.enable = false; 38 41 39 - services.xserver.displayManager.lightdm.greeter = lib.mkDefault { 42 + services.xserver.displayManager.lightdm.greeter = mkDefault { 40 43 package = pkgs.pantheon.elementary-greeter.xgreeters; 41 44 name = "io.elementary.greeter"; 42 45 };
+32 -29
nixos/modules/services/x11/display-managers/lightdm-greeters/slick.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 ldmcfg = config.services.xserver.displayManager.lightdm; 9 12 cfg = ldmcfg.greeters.slick; ··· 23 26 font-name=${cfg.font.name} 24 27 cursor-theme-name=${cfg.cursorTheme.name} 25 28 cursor-theme-size=${toString cfg.cursorTheme.size} 26 - draw-user-backgrounds=${lib.boolToString cfg.draw-user-backgrounds} 29 + draw-user-backgrounds=${boolToString cfg.draw-user-backgrounds} 27 30 ${cfg.extraConfig} 28 31 ''; 29 32 in 30 33 { 31 34 options = { 32 35 services.xserver.displayManager.lightdm.greeters.slick = { 33 - enable = lib.mkEnableOption "lightdm-slick-greeter as the lightdm greeter"; 36 + enable = mkEnableOption "lightdm-slick-greeter as the lightdm greeter"; 34 37 35 38 theme = { 36 - package = lib.mkOption { 37 - type = lib.types.package; 39 + package = mkOption { 40 + type = types.package; 38 41 default = pkgs.gnome-themes-extra; 39 - defaultText = lib.literalExpression "pkgs.gnome-themes-extra"; 42 + defaultText = literalExpression "pkgs.gnome-themes-extra"; 40 43 description = '' 41 44 The package path that contains the theme given in the name option. 42 45 ''; 43 46 }; 44 47 45 - name = lib.mkOption { 46 - type = lib.types.str; 48 + name = mkOption { 49 + type = types.str; 47 50 default = "Adwaita"; 48 51 description = '' 49 52 Name of the theme to use for the lightdm-slick-greeter. ··· 52 55 }; 53 56 54 57 iconTheme = { 55 - package = lib.mkOption { 56 - type = lib.types.package; 58 + package = mkOption { 59 + type = types.package; 57 60 default = pkgs.adwaita-icon-theme; 58 - defaultText = lib.literalExpression "pkgs.adwaita-icon-theme"; 61 + defaultText = literalExpression "pkgs.adwaita-icon-theme"; 59 62 description = '' 60 63 The package path that contains the icon theme given in the name option. 61 64 ''; 62 65 }; 63 66 64 - name = lib.mkOption { 65 - type = lib.types.str; 67 + name = mkOption { 68 + type = types.str; 66 69 default = "Adwaita"; 67 70 description = '' 68 71 Name of the icon theme to use for the lightdm-slick-greeter. ··· 71 74 }; 72 75 73 76 font = { 74 - package = lib.mkOption { 75 - type = lib.types.package; 77 + package = mkOption { 78 + type = types.package; 76 79 default = pkgs.ubuntu-classic; 77 - defaultText = lib.literalExpression "pkgs.ubuntu-classic"; 80 + defaultText = literalExpression "pkgs.ubuntu-classic"; 78 81 description = '' 79 82 The package path that contains the font given in the name option. 80 83 ''; 81 84 }; 82 85 83 - name = lib.mkOption { 84 - type = lib.types.str; 86 + name = mkOption { 87 + type = types.str; 85 88 default = "Ubuntu 11"; 86 89 description = '' 87 90 Name of the font to use. ··· 90 93 }; 91 94 92 95 cursorTheme = { 93 - package = lib.mkOption { 94 - type = lib.types.package; 96 + package = mkOption { 97 + type = types.package; 95 98 default = pkgs.adwaita-icon-theme; 96 - defaultText = lib.literalExpression "pkgs.adwaita-icon-theme"; 99 + defaultText = literalExpression "pkgs.adwaita-icon-theme"; 97 100 description = '' 98 101 The package path that contains the cursor theme given in the name option. 99 102 ''; 100 103 }; 101 104 102 - name = lib.mkOption { 103 - type = lib.types.str; 105 + name = mkOption { 106 + type = types.str; 104 107 default = "Adwaita"; 105 108 description = '' 106 109 Name of the cursor theme to use for the lightdm-slick-greeter. 107 110 ''; 108 111 }; 109 112 110 - size = lib.mkOption { 111 - type = lib.types.int; 113 + size = mkOption { 114 + type = types.int; 112 115 default = 24; 113 116 description = '' 114 117 Size of the cursor theme to use for the lightdm-slick-greeter. ··· 116 119 }; 117 120 }; 118 121 119 - draw-user-backgrounds = lib.mkEnableOption "draw user backgrounds"; 122 + draw-user-backgrounds = mkEnableOption "draw user backgrounds"; 120 123 121 - extraConfig = lib.mkOption { 122 - type = lib.types.lines; 124 + extraConfig = mkOption { 125 + type = types.lines; 123 126 default = ""; 124 127 description = '' 125 128 Extra configuration that should be put in the lightdm-slick-greeter.conf ··· 129 132 }; 130 133 }; 131 134 132 - config = lib.mkIf (ldmcfg.enable && cfg.enable) { 135 + config = mkIf (ldmcfg.enable && cfg.enable) { 133 136 services.xserver.displayManager.lightdm = { 134 137 greeters.gtk.enable = false; 135 - greeter = lib.mkDefault { 138 + greeter = mkDefault { 136 139 package = pkgs.lightdm-slick-greeter.xgreeters; 137 140 name = "lightdm-slick-greeter"; 138 141 };
+14 -11
nixos/modules/services/x11/display-managers/lightdm-greeters/tiny.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 9 12 dmcfg = config.services.xserver.displayManager; ··· 16 19 17 20 services.xserver.displayManager.lightdm.greeters.tiny = { 18 21 19 - enable = lib.mkOption { 20 - type = lib.types.bool; 22 + enable = mkOption { 23 + type = types.bool; 21 24 default = false; 22 25 description = '' 23 26 Whether to enable lightdm-tiny-greeter as the lightdm greeter. ··· 29 32 }; 30 33 31 34 label = { 32 - user = lib.mkOption { 33 - type = lib.types.str; 35 + user = mkOption { 36 + type = types.str; 34 37 default = "Username"; 35 38 description = '' 36 39 The string to represent the user_text label. 37 40 ''; 38 41 }; 39 42 40 - pass = lib.mkOption { 41 - type = lib.types.str; 43 + pass = mkOption { 44 + type = types.str; 42 45 default = "Password"; 43 46 description = '' 44 47 The string to represent the pass_text label. ··· 46 49 }; 47 50 }; 48 51 49 - extraConfig = lib.mkOption { 50 - type = lib.types.lines; 52 + extraConfig = mkOption { 53 + type = types.lines; 51 54 default = ""; 52 55 description = '' 53 56 Section to describe style and ui. ··· 58 61 59 62 }; 60 63 61 - config = lib.mkIf (ldmcfg.enable && cfg.enable) { 64 + config = mkIf (ldmcfg.enable && cfg.enable) { 62 65 63 66 services.xserver.displayManager.lightdm.greeters.gtk.enable = false; 64 67 ··· 70 73 static const char *pass_text = "${cfg.label.pass}"; 71 74 static const char *session = "${dmcfg.defaultSession}"; 72 75 ''; 73 - config = lib.optionalString (cfg.extraConfig != "") (configHeader + cfg.extraConfig); 76 + config = optionalString (cfg.extraConfig != "") (configHeader + cfg.extraConfig); 74 77 package = pkgs.lightdm-tiny-greeter.override { conf = config; }; 75 78 in 76 - lib.mkDefault { 79 + mkDefault { 77 80 package = package.xgreeters; 78 81 name = "lightdm-tiny-greeter"; 79 82 };
+31 -28
nixos/modules/services/x11/display-managers/lightdm.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 9 12 xcfg = config.services.xserver; ··· 19 22 # lightdm runs with clearenv(), but we need a few things in the environment for X to startup 20 23 xserverWrapper = writeScript "xserver-wrapper" '' 21 24 #! ${pkgs.bash}/bin/bash 22 - ${lib.concatMapStrings (n: "export ${n}=\"${lib.getAttr n xEnv}\"\n") (lib.attrNames xEnv)} 25 + ${concatMapStrings (n: "export ${n}=\"${getAttr n xEnv}\"\n") (attrNames xEnv)} 23 26 24 27 display=$(echo "$@" | xargs -n 1 | grep -P ^:\\d\$ | head -n 1 | sed s/^://) 25 28 if [ -z "$display" ] ··· 33 36 usersConf = writeText "users.conf" '' 34 37 [UserList] 35 38 minimum-uid=1000 36 - hidden-users=${lib.concatStringsSep " " dmcfg.hiddenUsers} 39 + hidden-users=${concatStringsSep " " dmcfg.hiddenUsers} 37 40 hidden-shells=/run/current-system/sw/bin/nologin 38 41 ''; 39 42 40 43 lightdmConf = writeText "lightdm.conf" '' 41 44 [LightDM] 42 - ${lib.optionalString cfg.greeter.enable '' 45 + ${optionalString cfg.greeter.enable '' 43 46 greeter-user = ${config.users.users.lightdm.name} 44 47 greeters-directory = ${cfg.greeter.package} 45 48 ''} ··· 49 52 [Seat:*] 50 53 xserver-command = ${xserverWrapper} 51 54 session-wrapper = ${dmcfg.sessionData.wrapper} 52 - ${lib.optionalString cfg.greeter.enable '' 55 + ${optionalString cfg.greeter.enable '' 53 56 greeter-session = ${cfg.greeter.name} 54 57 ''} 55 - ${lib.optionalString dmcfg.autoLogin.enable '' 58 + ${optionalString dmcfg.autoLogin.enable '' 56 59 autologin-user = ${dmcfg.autoLogin.user} 57 60 autologin-user-timeout = ${toString cfg.autoLogin.timeout} 58 61 autologin-session = ${sessionData.autologinSession} 59 62 ''} 60 - ${lib.optionalString (xcfg.displayManager.setupCommands != "") '' 63 + ${optionalString (xcfg.displayManager.setupCommands != "") '' 61 64 display-setup-script=${pkgs.writeScript "lightdm-display-setup" '' 62 65 #!${pkgs.bash}/bin/bash 63 66 ${xcfg.displayManager.setupCommands} ··· 84 87 ./lightdm-greeters/tiny.nix 85 88 ./lightdm-greeters/slick.nix 86 89 ./lightdm-greeters/mobile.nix 87 - (lib.mkRenamedOptionModule 90 + (mkRenamedOptionModule 88 91 [ "services" "xserver" "displayManager" "lightdm" "autoLogin" "enable" ] 89 92 [ 90 93 "services" ··· 93 96 "enable" 94 97 ] 95 98 ) 96 - (lib.mkRenamedOptionModule 99 + (mkRenamedOptionModule 97 100 [ "services" "xserver" "displayManager" "lightdm" "autoLogin" "user" ] 98 101 [ 99 102 "services" ··· 108 111 109 112 services.xserver.displayManager.lightdm = { 110 113 111 - enable = lib.mkOption { 112 - type = lib.types.bool; 114 + enable = mkOption { 115 + type = types.bool; 113 116 default = false; 114 117 description = '' 115 118 Whether to enable lightdm as the display manager. ··· 117 120 }; 118 121 119 122 greeter = { 120 - enable = lib.mkOption { 121 - type = lib.types.bool; 123 + enable = mkOption { 124 + type = types.bool; 122 125 default = true; 123 126 description = '' 124 127 If set to false, run lightdm in greeterless mode. This only works if autologin 125 128 is enabled and autoLogin.timeout is zero. 126 129 ''; 127 130 }; 128 - package = lib.mkOption { 129 - type = lib.types.package; 131 + package = mkOption { 132 + type = types.package; 130 133 description = '' 131 134 The LightDM greeter to login via. The package should be a directory 132 135 containing a .desktop file matching the name in the 'name' option. 133 136 ''; 134 137 135 138 }; 136 - name = lib.mkOption { 137 - type = lib.types.str; 139 + name = mkOption { 140 + type = types.str; 138 141 description = '' 139 142 The name of a .desktop file in the directory specified 140 143 in the 'package' option. ··· 142 145 }; 143 146 }; 144 147 145 - extraConfig = lib.mkOption { 146 - type = lib.types.lines; 148 + extraConfig = mkOption { 149 + type = types.lines; 147 150 default = ""; 148 151 example = '' 149 152 user-authority-in-system-dir = true ··· 151 154 description = "Extra lines to append to LightDM section."; 152 155 }; 153 156 154 - background = lib.mkOption { 155 - type = lib.types.either lib.types.path (lib.types.strMatching "^#[0-9]\{6\}$"); 157 + background = mkOption { 158 + type = types.either types.path (types.strMatching "^#[0-9]\{6\}$"); 156 159 # Manual cannot depend on packages, we are actually setting the default in config below. 157 - defaultText = lib.literalExpression "pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom.gnomeFilePath"; 160 + defaultText = literalExpression "pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom.gnomeFilePath"; 158 161 description = '' 159 162 The background image or color to use. 160 163 ''; 161 164 }; 162 165 163 - extraSeatDefaults = lib.mkOption { 164 - type = lib.types.lines; 166 + extraSeatDefaults = mkOption { 167 + type = types.lines; 165 168 default = ""; 166 169 example = '' 167 170 greeter-show-manual-login=true ··· 170 173 }; 171 174 172 175 # Configuration for automatic login specific to LightDM 173 - autoLogin.timeout = lib.mkOption { 174 - type = lib.types.int; 176 + autoLogin.timeout = mkOption { 177 + type = types.int; 175 178 default = 0; 176 179 description = '' 177 180 Show the greeter for this many seconds before automatic login occurs. ··· 181 184 }; 182 185 }; 183 186 184 - config = lib.mkIf cfg.enable { 187 + config = mkIf cfg.enable { 185 188 186 189 assertions = [ 187 190 { ··· 207 210 208 211 # Keep in sync with the defaultText value from the option definition. 209 212 services.xserver.displayManager.lightdm.background = 210 - lib.mkDefault pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom.gnomeFilePath; 213 + mkDefault pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom.gnomeFilePath; 211 214 212 215 # Set default session in session chooser to a specified values – basically ignore session history. 213 216 # Auto-login is already covered by a config value. 214 217 services.displayManager.preStart = 215 - lib.optionalString (!dmcfg.autoLogin.enable && dmcfg.defaultSession != null) 218 + optionalString (!dmcfg.autoLogin.enable && dmcfg.defaultSession != null) 216 219 '' 217 220 ${setSessionScript}/bin/set-session ${dmcfg.defaultSession} 218 221 '';
+4 -1
nixos/modules/services/x11/display-managers/slim.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 { 8 11 # added 2019-11-11 9 12 imports = [ 10 - (lib.mkRemovedOptionModule [ "services" "xserver" "displayManager" "slim" ] '' 13 + (mkRemovedOptionModule [ "services" "xserver" "displayManager" "slim" ] '' 11 14 The SLIM project is abandoned and their last release was in 2013. 12 15 Because of this it poses a security risk to your system. 13 16 Other issues include it not fully supporting systemd and logind sessions.
+7 -4
nixos/modules/services/x11/display-managers/startx.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 9 12 cfg = config.services.xserver.displayManager.startx; ··· 16 19 17 20 options = { 18 21 services.xserver.displayManager.startx = { 19 - enable = lib.mkOption { 20 - type = lib.types.bool; 22 + enable = mkOption { 23 + type = types.bool; 21 24 default = false; 22 25 description = '' 23 26 Whether to enable the dummy "startx" pseudo-display manager, ··· 33 36 34 37 ###### implementation 35 38 36 - config = lib.mkIf cfg.enable { 39 + config = mkIf cfg.enable { 37 40 services.xserver = { 38 41 exportConfiguration = true; 39 42 }; ··· 43 46 # 44 47 # To send log to Xorg's default log location ($XDG_DATA_HOME/xorg/), we do 45 48 # not specify a log file when running X 46 - services.xserver.logFile = lib.mkDefault null; 49 + services.xserver.logFile = mkDefault null; 47 50 48 51 # Implement xserverArgs via xinit's system-wide xserverrc 49 52 environment.etc."X11/xinit/xserverrc".source = pkgs.writeShellScript "xserverrc" ''
+22 -19
nixos/modules/services/x11/display-managers/xpra.nix
··· 1 1 { config, lib, pkgs, ... }: 2 + 3 + with lib; 4 + 2 5 let 3 6 cfg = config.services.xserver.displayManager.xpra; 4 7 dmcfg = config.services.xserver.displayManager; ··· 10 13 11 14 options = { 12 15 services.xserver.displayManager.xpra = { 13 - enable = lib.mkOption { 14 - type = lib.types.bool; 16 + enable = mkOption { 17 + type = types.bool; 15 18 default = false; 16 19 description = "Whether to enable xpra as display manager."; 17 20 }; 18 21 19 - bindTcp = lib.mkOption { 22 + bindTcp = mkOption { 20 23 default = "127.0.0.1:10000"; 21 24 example = "0.0.0.0:10000"; 22 - type = lib.types.nullOr lib.types.str; 25 + type = types.nullOr types.str; 23 26 description = "Bind xpra to TCP"; 24 27 }; 25 28 26 - desktop = lib.mkOption { 27 - type = lib.types.nullOr lib.types.str; 29 + desktop = mkOption { 30 + type = types.nullOr types.str; 28 31 default = null; 29 32 example = "gnome-shell"; 30 33 description = "Start a desktop environment instead of seamless mode"; 31 34 }; 32 35 33 - auth = lib.mkOption { 34 - type = lib.types.str; 36 + auth = mkOption { 37 + type = types.str; 35 38 default = "pam"; 36 39 example = "password:value=mysecret"; 37 40 description = "Authentication to use when connecting to xpra"; 38 41 }; 39 42 40 - pulseaudio = lib.mkEnableOption "pulseaudio audio streaming"; 43 + pulseaudio = mkEnableOption "pulseaudio audio streaming"; 41 44 42 - extraOptions = lib.mkOption { 45 + extraOptions = mkOption { 43 46 description = "Extra xpra options"; 44 47 default = []; 45 - type = lib.types.listOf lib.types.str; 48 + type = types.listOf types.str; 46 49 }; 47 50 }; 48 51 }; 49 52 50 53 ###### implementation 51 54 52 - config = lib.mkIf cfg.enable { 55 + config = mkIf cfg.enable { 53 56 services.xserver.videoDrivers = ["dummy"]; 54 57 55 58 services.xserver.monitorSection = '' ··· 224 227 ''; 225 228 226 229 services.displayManager.execCmd = '' 227 - ${lib.optionalString (cfg.pulseaudio) 230 + ${optionalString (cfg.pulseaudio) 228 231 "export PULSE_COOKIE=/run/pulse/.config/pulse/cookie"} 229 232 exec ${pkgs.xpra}/bin/xpra ${if cfg.desktop == null then "start" else "start-desktop --start=${cfg.desktop}"} \ 230 233 --daemon=off \ ··· 236 239 --speaker=yes \ 237 240 --mdns=no \ 238 241 --pulseaudio=no \ 239 - ${lib.optionalString (cfg.pulseaudio) "--sound-source=pulse"} \ 242 + ${optionalString (cfg.pulseaudio) "--sound-source=pulse"} \ 240 243 --socket-dirs=/run/xpra \ 241 - --xvfb="xpra_Xdummy ${lib.concatStringsSep " " dmcfg.xserverArgs}" \ 242 - ${lib.optionalString (cfg.bindTcp != null) "--bind-tcp=${cfg.bindTcp}"} \ 244 + --xvfb="xpra_Xdummy ${concatStringsSep " " dmcfg.xserverArgs}" \ 245 + ${optionalString (cfg.bindTcp != null) "--bind-tcp=${cfg.bindTcp}"} \ 243 246 --auth=${cfg.auth} \ 244 - ${lib.concatStringsSep " " cfg.extraOptions} 247 + ${concatStringsSep " " cfg.extraOptions} 245 248 ''; 246 249 247 250 services.xserver.terminateOnReset = false; 248 251 249 252 environment.systemPackages = [pkgs.xpra]; 250 253 251 - services.pulseaudio.enable = lib.mkDefault cfg.pulseaudio; 252 - services.pulseaudio.systemWide = lib.mkDefault cfg.pulseaudio; 254 + services.pulseaudio.enable = mkDefault cfg.pulseaudio; 255 + services.pulseaudio.systemWide = mkDefault cfg.pulseaudio; 253 256 }; 254 257 255 258 }
+21 -18
nixos/modules/services/x11/extra-layouts.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 layouts = config.services.xserver.xkb.extraLayouts; 9 12 10 13 layoutOpts = { 11 14 options = { 12 - description = lib.mkOption { 13 - type = lib.types.str; 15 + description = mkOption { 16 + type = types.str; 14 17 description = "A short description of the layout."; 15 18 }; 16 19 17 - languages = lib.mkOption { 18 - type = lib.types.listOf lib.types.str; 20 + languages = mkOption { 21 + type = types.listOf types.str; 19 22 description = '' 20 23 A list of languages provided by the layout. 21 24 (Use ISO 639-2 codes, for example: "eng" for english) 22 25 ''; 23 26 }; 24 27 25 - compatFile = lib.mkOption { 26 - type = lib.types.nullOr lib.types.path; 28 + compatFile = mkOption { 29 + type = types.nullOr types.path; 27 30 default = null; 28 31 description = '' 29 32 The path to the xkb compat file. ··· 33 36 ''; 34 37 }; 35 38 36 - geometryFile = lib.mkOption { 37 - type = lib.types.nullOr lib.types.path; 39 + geometryFile = mkOption { 40 + type = types.nullOr types.path; 38 41 default = null; 39 42 description = '' 40 43 The path to the xkb geometry file. ··· 44 47 ''; 45 48 }; 46 49 47 - keycodesFile = lib.mkOption { 48 - type = lib.types.nullOr lib.types.path; 50 + keycodesFile = mkOption { 51 + type = types.nullOr types.path; 49 52 default = null; 50 53 description = '' 51 54 The path to the xkb keycodes file. ··· 55 58 ''; 56 59 }; 57 60 58 - symbolsFile = lib.mkOption { 59 - type = lib.types.nullOr lib.types.path; 61 + symbolsFile = mkOption { 62 + type = types.nullOr types.path; 60 63 default = null; 61 64 description = '' 62 65 The path to the xkb symbols file. ··· 66 69 ''; 67 70 }; 68 71 69 - typesFile = lib.mkOption { 70 - type = lib.types.nullOr lib.types.path; 72 + typesFile = mkOption { 73 + type = types.nullOr types.path; 71 74 default = null; 72 75 description = '' 73 76 The path to the xkb types file. ··· 108 111 ###### interface 109 112 110 113 options.services.xserver.xkb = { 111 - extraLayouts = lib.mkOption { 112 - type = lib.types.attrsOf (lib.types.submodule layoutOpts); 114 + extraLayouts = mkOption { 115 + type = types.attrsOf (types.submodule layoutOpts); 113 116 default = { }; 114 - example = lib.literalExpression '' 117 + example = literalExpression '' 115 118 { 116 119 mine = { 117 120 description = "My custom xkb layout."; ··· 133 136 134 137 ###### implementation 135 138 136 - config = lib.mkIf (layouts != { }) { 139 + config = mkIf (layouts != { }) { 137 140 138 141 environment.sessionVariables = { 139 142 # runtime override supported by multiple libraries e. g. libxkbcommon
+10 -9
nixos/modules/services/x11/fractalart.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + with lib; 7 8 let 8 9 cfg = config.services.fractalart; 9 10 in 10 11 { 11 12 options.services.fractalart = { 12 - enable = lib.mkOption { 13 - type = lib.types.bool; 13 + enable = mkOption { 14 + type = types.bool; 14 15 default = false; 15 16 example = true; 16 17 description = "Enable FractalArt for generating colorful wallpapers on login"; 17 18 }; 18 19 19 - width = lib.mkOption { 20 - type = lib.types.nullOr lib.types.int; 20 + width = mkOption { 21 + type = types.nullOr types.int; 21 22 default = null; 22 23 example = 1920; 23 24 description = "Screen width"; 24 25 }; 25 26 26 - height = lib.mkOption { 27 - type = lib.types.nullOr lib.types.int; 27 + height = mkOption { 28 + type = types.nullOr types.int; 28 29 default = null; 29 30 example = 1080; 30 31 description = "Screen height"; 31 32 }; 32 33 }; 33 34 34 - config = lib.mkIf cfg.enable { 35 + config = mkIf cfg.enable { 35 36 environment.systemPackages = [ pkgs.haskellPackages.FractalArt ]; 36 37 services.xserver.displayManager.sessionCommands = 37 38 "${pkgs.haskellPackages.FractalArt}/bin/FractalArt --no-bg -f .background-image" 38 - + lib.optionalString (cfg.width != null) " -w ${toString cfg.width}" 39 - + lib.optionalString (cfg.height != null) " -h ${toString cfg.height}"; 39 + + optionalString (cfg.width != null) " -w ${toString cfg.width}" 40 + + optionalString (cfg.height != null) " -h ${toString cfg.height}"; 40 41 }; 41 42 }
+8 -5
nixos/modules/services/x11/hardware/cmt.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 9 12 cfg = config.services.xserver.cmt; ··· 15 18 options = { 16 19 17 20 services.xserver.cmt = { 18 - enable = lib.mkOption { 19 - type = lib.types.bool; 21 + enable = mkOption { 22 + type = types.bool; 20 23 default = false; 21 24 description = "Enable chrome multitouch input (cmt). Touchpad drivers that are configured for chromebooks."; 22 25 }; 23 - models = lib.mkOption { 24 - type = lib.types.enum [ 26 + models = mkOption { 27 + type = types.enum [ 25 28 "atlas" 26 29 "banjo" 27 30 "candy" ··· 80 83 }; # closes services 81 84 }; # closes options 82 85 83 - config = lib.mkIf cfg.enable { 86 + config = mkIf cfg.enable { 84 87 85 88 services.xserver.modules = [ pkgs.xf86_input_cmt ]; 86 89
+5 -2
nixos/modules/services/x11/hardware/digimend.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 9 12 cfg = config.services.xserver.digimend; ··· 18 21 19 22 services.xserver.digimend = { 20 23 21 - enable = lib.mkEnableOption "the digimend drivers for Huion/XP-Pen/etc. tablets"; 24 + enable = mkEnableOption "the digimend drivers for Huion/XP-Pen/etc. tablets"; 22 25 23 26 }; 24 27 25 28 }; 26 29 27 - config = lib.mkIf cfg.enable { 30 + config = mkIf cfg.enable { 28 31 29 32 # digimend drivers use xsetwacom and wacom X11 drivers 30 33 services.xserver.wacom.enable = true;
+56 -53
nixos/modules/services/x11/hardware/synaptics.nix
··· 5 5 pkgs, 6 6 ... 7 7 }: 8 + 9 + with lib; 10 + 8 11 let 9 12 cfg = config.services.xserver.synaptics; 10 13 opt = options.services.xserver.synaptics; ··· 32 35 33 36 services.xserver.synaptics = { 34 37 35 - enable = lib.mkOption { 36 - type = lib.types.bool; 38 + enable = mkOption { 39 + type = types.bool; 37 40 default = false; 38 41 description = "Whether to enable touchpad support. Deprecated: Consider services.libinput.enable."; 39 42 }; 40 43 41 - dev = lib.mkOption { 42 - type = lib.types.nullOr lib.types.str; 44 + dev = mkOption { 45 + type = types.nullOr types.str; 43 46 default = null; 44 47 example = "/dev/input/event0"; 45 48 description = '' ··· 48 51 ''; 49 52 }; 50 53 51 - accelFactor = lib.mkOption { 52 - type = lib.types.nullOr lib.types.str; 54 + accelFactor = mkOption { 55 + type = types.nullOr types.str; 53 56 default = "0.001"; 54 57 description = "Cursor acceleration (how fast speed increases from minSpeed to maxSpeed)."; 55 58 }; 56 59 57 - minSpeed = lib.mkOption { 58 - type = lib.types.nullOr lib.types.str; 60 + minSpeed = mkOption { 61 + type = types.nullOr types.str; 59 62 default = "0.6"; 60 63 description = "Cursor speed factor for precision finger motion."; 61 64 }; 62 65 63 - maxSpeed = lib.mkOption { 64 - type = lib.types.nullOr lib.types.str; 66 + maxSpeed = mkOption { 67 + type = types.nullOr types.str; 65 68 default = "1.0"; 66 69 description = "Cursor speed factor for highest-speed finger motion."; 67 70 }; 68 71 69 - scrollDelta = lib.mkOption { 70 - type = lib.types.nullOr lib.types.int; 72 + scrollDelta = mkOption { 73 + type = types.nullOr types.int; 71 74 default = null; 72 75 example = 75; 73 76 description = "Move distance of the finger for a scroll event."; 74 77 }; 75 78 76 - twoFingerScroll = lib.mkOption { 77 - type = lib.types.bool; 79 + twoFingerScroll = mkOption { 80 + type = types.bool; 78 81 default = false; 79 82 description = "Whether to enable two-finger drag-scrolling. Overridden by horizTwoFingerScroll and vertTwoFingerScroll."; 80 83 }; 81 84 82 - horizTwoFingerScroll = lib.mkOption { 83 - type = lib.types.bool; 85 + horizTwoFingerScroll = mkOption { 86 + type = types.bool; 84 87 default = cfg.twoFingerScroll; 85 - defaultText = lib.literalExpression "config.${opt.twoFingerScroll}"; 88 + defaultText = literalExpression "config.${opt.twoFingerScroll}"; 86 89 description = "Whether to enable horizontal two-finger drag-scrolling."; 87 90 }; 88 91 89 - vertTwoFingerScroll = lib.mkOption { 90 - type = lib.types.bool; 92 + vertTwoFingerScroll = mkOption { 93 + type = types.bool; 91 94 default = cfg.twoFingerScroll; 92 - defaultText = lib.literalExpression "config.${opt.twoFingerScroll}"; 95 + defaultText = literalExpression "config.${opt.twoFingerScroll}"; 93 96 description = "Whether to enable vertical two-finger drag-scrolling."; 94 97 }; 95 98 96 - horizEdgeScroll = lib.mkOption { 97 - type = lib.types.bool; 99 + horizEdgeScroll = mkOption { 100 + type = types.bool; 98 101 default = !cfg.horizTwoFingerScroll; 99 - defaultText = lib.literalExpression "! config.${opt.horizTwoFingerScroll}"; 102 + defaultText = literalExpression "! config.${opt.horizTwoFingerScroll}"; 100 103 description = "Whether to enable horizontal edge drag-scrolling."; 101 104 }; 102 105 103 - vertEdgeScroll = lib.mkOption { 104 - type = lib.types.bool; 106 + vertEdgeScroll = mkOption { 107 + type = types.bool; 105 108 default = !cfg.vertTwoFingerScroll; 106 - defaultText = lib.literalExpression "! config.${opt.vertTwoFingerScroll}"; 109 + defaultText = literalExpression "! config.${opt.vertTwoFingerScroll}"; 107 110 description = "Whether to enable vertical edge drag-scrolling."; 108 111 }; 109 112 110 - tapButtons = lib.mkOption { 111 - type = lib.types.bool; 113 + tapButtons = mkOption { 114 + type = types.bool; 112 115 default = true; 113 116 description = "Whether to enable tap buttons."; 114 117 }; 115 118 116 - buttonsMap = lib.mkOption { 117 - type = lib.types.listOf lib.types.int; 119 + buttonsMap = mkOption { 120 + type = types.listOf types.int; 118 121 default = [ 119 122 1 120 123 2 ··· 129 132 apply = map toString; 130 133 }; 131 134 132 - fingersMap = lib.mkOption { 133 - type = lib.types.listOf lib.types.int; 135 + fingersMap = mkOption { 136 + type = types.listOf types.int; 134 137 default = [ 135 138 1 136 139 2 ··· 145 148 apply = map toString; 146 149 }; 147 150 148 - palmDetect = lib.mkOption { 149 - type = lib.types.bool; 151 + palmDetect = mkOption { 152 + type = types.bool; 150 153 default = false; 151 154 description = "Whether to enable palm detection (hardware support required)"; 152 155 }; 153 156 154 - palmMinWidth = lib.mkOption { 155 - type = lib.types.nullOr lib.types.int; 157 + palmMinWidth = mkOption { 158 + type = types.nullOr types.int; 156 159 default = null; 157 160 example = 5; 158 161 description = "Minimum finger width at which touch is considered a palm"; 159 162 }; 160 163 161 - palmMinZ = lib.mkOption { 162 - type = lib.types.nullOr lib.types.int; 164 + palmMinZ = mkOption { 165 + type = types.nullOr types.int; 163 166 default = null; 164 167 example = 20; 165 168 description = "Minimum finger pressure at which touch is considered a palm"; 166 169 }; 167 170 168 - horizontalScroll = lib.mkOption { 169 - type = lib.types.bool; 171 + horizontalScroll = mkOption { 172 + type = types.bool; 170 173 default = true; 171 174 description = "Whether to enable horizontal scrolling (on touchpad)"; 172 175 }; 173 176 174 - additionalOptions = lib.mkOption { 175 - type = lib.types.str; 177 + additionalOptions = mkOption { 178 + type = types.str; 176 179 default = ""; 177 180 example = '' 178 181 Option "RTCornerButton" "2" ··· 187 190 188 191 }; 189 192 190 - config = lib.mkIf cfg.enable { 193 + config = mkIf cfg.enable { 191 194 192 195 services.xserver.modules = [ pkg.out ]; 193 196 ··· 200 203 Section "InputClass" 201 204 Identifier "synaptics touchpad catchall" 202 205 MatchIsTouchpad "on" 203 - ${lib.optionalString (cfg.dev != null) ''MatchDevicePath "${cfg.dev}"''} 206 + ${optionalString (cfg.dev != null) ''MatchDevicePath "${cfg.dev}"''} 204 207 Driver "synaptics" 205 - ${lib.optionalString (cfg.minSpeed != null) ''Option "MinSpeed" "${cfg.minSpeed}"''} 206 - ${lib.optionalString (cfg.maxSpeed != null) ''Option "MaxSpeed" "${cfg.maxSpeed}"''} 207 - ${lib.optionalString (cfg.accelFactor != null) ''Option "AccelFactor" "${cfg.accelFactor}"''} 208 - ${lib.optionalString cfg.tapButtons tapConfig} 208 + ${optionalString (cfg.minSpeed != null) ''Option "MinSpeed" "${cfg.minSpeed}"''} 209 + ${optionalString (cfg.maxSpeed != null) ''Option "MaxSpeed" "${cfg.maxSpeed}"''} 210 + ${optionalString (cfg.accelFactor != null) ''Option "AccelFactor" "${cfg.accelFactor}"''} 211 + ${optionalString cfg.tapButtons tapConfig} 209 212 Option "ClickFinger1" "${builtins.elemAt cfg.buttonsMap 0}" 210 213 Option "ClickFinger2" "${builtins.elemAt cfg.buttonsMap 1}" 211 214 Option "ClickFinger3" "${builtins.elemAt cfg.buttonsMap 2}" ··· 213 216 Option "HorizTwoFingerScroll" "${if cfg.horizTwoFingerScroll then "1" else "0"}" 214 217 Option "VertEdgeScroll" "${if cfg.vertEdgeScroll then "1" else "0"}" 215 218 Option "HorizEdgeScroll" "${if cfg.horizEdgeScroll then "1" else "0"}" 216 - ${lib.optionalString cfg.palmDetect ''Option "PalmDetect" "1"''} 217 - ${lib.optionalString ( 219 + ${optionalString cfg.palmDetect ''Option "PalmDetect" "1"''} 220 + ${optionalString ( 218 221 cfg.palmMinWidth != null 219 222 ) ''Option "PalmMinWidth" "${toString cfg.palmMinWidth}"''} 220 - ${lib.optionalString (cfg.palmMinZ != null) ''Option "PalmMinZ" "${toString cfg.palmMinZ}"''} 221 - ${lib.optionalString ( 223 + ${optionalString (cfg.palmMinZ != null) ''Option "PalmMinZ" "${toString cfg.palmMinZ}"''} 224 + ${optionalString ( 222 225 cfg.scrollDelta != null 223 226 ) ''Option "VertScrollDelta" "${toString cfg.scrollDelta}"''} 224 227 ${ 225 228 if !cfg.horizontalScroll then 226 229 ''Option "HorizScrollDelta" "0"'' 227 230 else 228 - (lib.optionalString ( 231 + (optionalString ( 229 232 cfg.scrollDelta != null 230 233 ) ''Option "HorizScrollDelta" "${toString cfg.scrollDelta}"'') 231 234 }
+6 -3
nixos/modules/services/x11/hardware/wacom.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 9 12 cfg = config.services.xserver.wacom; ··· 16 19 17 20 services.xserver.wacom = { 18 21 19 - enable = lib.mkOption { 20 - type = lib.types.bool; 22 + enable = mkOption { 23 + type = types.bool; 21 24 default = false; 22 25 description = '' 23 26 Whether to enable the Wacom touchscreen/digitizer/tablet. ··· 34 37 35 38 }; 36 39 37 - config = lib.mkIf cfg.enable { 40 + config = mkIf cfg.enable { 38 41 39 42 environment.systemPackages = [ pkgs.xf86_input_wacom ]; # provides xsetwacom 40 43
+10 -9
nixos/modules/services/x11/imwheel.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + with lib; 7 8 let 8 9 cfg = config.services.xserver.imwheel; 9 10 in 10 11 { 11 12 options = { 12 13 services.xserver.imwheel = { 13 - enable = lib.mkEnableOption "IMWheel service"; 14 + enable = mkEnableOption "IMWheel service"; 14 15 15 - extraOptions = lib.mkOption { 16 - type = lib.types.listOf lib.types.str; 16 + extraOptions = mkOption { 17 + type = types.listOf types.str; 17 18 default = [ "--buttons=45" ]; 18 19 example = [ "--debug" ]; 19 20 description = '' ··· 22 23 ''; 23 24 }; 24 25 25 - rules = lib.mkOption { 26 - type = lib.types.attrsOf lib.types.str; 26 + rules = mkOption { 27 + type = types.attrsOf types.str; 27 28 default = { }; 28 - example = lib.literalExpression '' 29 + example = literalExpression '' 29 30 { 30 31 ".*" = ''' 31 32 None, Up, Button4, 8 ··· 48 49 }; 49 50 }; 50 51 51 - config = lib.mkIf cfg.enable { 52 + config = mkIf cfg.enable { 52 53 environment.systemPackages = [ pkgs.imwheel ]; 53 54 54 55 environment.etc."X11/imwheel/imwheelrc".source = pkgs.writeText "imwheelrc" ( 55 - lib.concatStringsSep "\n\n" (lib.mapAttrsToList (rule: conf: "\"${rule}\"\n${conf}") cfg.rules) 56 + concatStringsSep "\n\n" (mapAttrsToList (rule: conf: "\"${rule}\"\n${conf}") cfg.rules) 56 57 ); 57 58 58 59 systemd.user.services.imwheel = { ··· 62 63 serviceConfig = { 63 64 ExecStart = 64 65 "${pkgs.imwheel}/bin/imwheel " 65 - + lib.escapeShellArgs ( 66 + + escapeShellArgs ( 66 67 [ 67 68 "--detach" 68 69 "--kill"
+67 -64
nixos/modules/services/x11/picom.nix
··· 5 5 pkgs, 6 6 ... 7 7 }: 8 + 9 + with lib; 10 + 8 11 let 9 12 10 13 cfg = config.services.picom; ··· 12 15 13 16 pairOf = 14 17 x: 15 - with lib.types; 18 + with types; 16 19 addCheck (listOf x) (y: length y == 2) // { description = "pair of ${x.description}"; }; 17 20 18 - mkDefaultAttrs = lib.mapAttrs (n: v: lib.mkDefault v); 21 + mkDefaultAttrs = mapAttrs (n: v: mkDefault v); 19 22 20 23 # Basically a tinkered lib.generators.mkKeyValueDefault 21 24 # It either serializes a top-level definition "key: { values };" 22 25 # or an expression "key = { values };" 23 26 mkAttrsString = 24 27 top: 25 - lib.mapAttrsToList ( 28 + mapAttrsToList ( 26 29 k: v: 27 30 let 28 - sep = if (top && lib.isAttrs v) then ":" else "="; 31 + sep = if (top && isAttrs v) then ":" else "="; 29 32 in 30 - "${lib.escape [ sep ] k}${sep}${mkValueString v};" 33 + "${escape [ sep ] k}${sep}${mkValueString v};" 31 34 ); 32 35 33 36 # This serializes a Nix expression to the libconfig format. 34 37 mkValueString = 35 38 v: 36 - if lib.types.bool.check v then 37 - lib.boolToString v 38 - else if lib.types.int.check v then 39 + if types.bool.check v then 40 + boolToString v 41 + else if types.int.check v then 39 42 toString v 40 - else if lib.types.float.check v then 43 + else if types.float.check v then 41 44 toString v 42 - else if lib.types.str.check v then 43 - "\"${lib.escape [ "\"" ] v}\"" 45 + else if types.str.check v then 46 + "\"${escape [ "\"" ] v}\"" 44 47 else if builtins.isList v then 45 - "[ ${lib.concatMapStringsSep " , " mkValueString v} ]" 46 - else if lib.types.attrs.check v then 47 - "{ ${lib.concatStringsSep " " (mkAttrsString false v)} }" 48 + "[ ${concatMapStringsSep " , " mkValueString v} ]" 49 + else if types.attrs.check v then 50 + "{ ${concatStringsSep " " (mkAttrsString false v)} }" 48 51 else 49 52 throw '' 50 53 invalid expression used in option services.picom.settings: 51 54 ${v} 52 55 ''; 53 56 54 - toConf = attrs: lib.concatStringsSep "\n" (mkAttrsString true cfg.settings); 57 + toConf = attrs: concatStringsSep "\n" (mkAttrsString true cfg.settings); 55 58 56 59 configFile = pkgs.writeText "picom.conf" (toConf cfg.settings); 57 60 ··· 59 62 { 60 63 61 64 imports = [ 62 - (lib.mkAliasOptionModuleMD [ "services" "compton" ] [ "services" "picom" ]) 63 - (lib.mkRemovedOptionModule [ "services" "picom" "refreshRate" ] '' 65 + (mkAliasOptionModuleMD [ "services" "compton" ] [ "services" "picom" ]) 66 + (mkRemovedOptionModule [ "services" "picom" "refreshRate" ] '' 64 67 This option corresponds to `refresh-rate`, which has been unused 65 68 since picom v6 and was subsequently removed by upstream. 66 69 See https://github.com/yshui/picom/commit/bcbc410 67 70 '') 68 - (lib.mkRemovedOptionModule [ "services" "picom" "experimentalBackends" ] '' 71 + (mkRemovedOptionModule [ "services" "picom" "experimentalBackends" ] '' 69 72 This option was removed by upstream since picom v10. 70 73 '') 71 74 ]; 72 75 73 76 options.services.picom = { 74 - enable = lib.mkOption { 75 - type = lib.types.bool; 77 + enable = mkOption { 78 + type = types.bool; 76 79 default = false; 77 80 description = '' 78 81 Whether or not to enable Picom as the X.org composite manager. 79 82 ''; 80 83 }; 81 84 82 - package = lib.mkPackageOption pkgs "picom" { }; 85 + package = mkPackageOption pkgs "picom" { }; 83 86 84 - fade = lib.mkOption { 85 - type = lib.types.bool; 87 + fade = mkOption { 88 + type = types.bool; 86 89 default = false; 87 90 description = '' 88 91 Fade windows in and out. 89 92 ''; 90 93 }; 91 94 92 - fadeDelta = lib.mkOption { 93 - type = lib.types.ints.positive; 95 + fadeDelta = mkOption { 96 + type = types.ints.positive; 94 97 default = 10; 95 98 example = 5; 96 99 description = '' ··· 98 101 ''; 99 102 }; 100 103 101 - fadeSteps = lib.mkOption { 102 - type = pairOf (lib.types.numbers.between 0.01 1); 104 + fadeSteps = mkOption { 105 + type = pairOf (types.numbers.between 0.01 1); 103 106 default = [ 104 107 0.028 105 108 0.03 ··· 113 116 ''; 114 117 }; 115 118 116 - fadeExclude = lib.mkOption { 117 - type = lib.types.listOf lib.types.str; 119 + fadeExclude = mkOption { 120 + type = types.listOf types.str; 118 121 default = [ ]; 119 122 example = [ 120 123 "window_type *= 'menu'" ··· 127 130 ''; 128 131 }; 129 132 130 - shadow = lib.mkOption { 131 - type = lib.types.bool; 133 + shadow = mkOption { 134 + type = types.bool; 132 135 default = false; 133 136 description = '' 134 137 Draw window shadows. 135 138 ''; 136 139 }; 137 140 138 - shadowOffsets = lib.mkOption { 139 - type = pairOf lib.types.int; 141 + shadowOffsets = mkOption { 142 + type = pairOf types.int; 140 143 default = [ 141 144 (-15) 142 145 (-15) ··· 150 153 ''; 151 154 }; 152 155 153 - shadowOpacity = lib.mkOption { 154 - type = lib.types.numbers.between 0 1; 156 + shadowOpacity = mkOption { 157 + type = types.numbers.between 0 1; 155 158 default = 0.75; 156 159 example = 0.8; 157 160 description = '' ··· 159 162 ''; 160 163 }; 161 164 162 - shadowExclude = lib.mkOption { 163 - type = lib.types.listOf lib.types.str; 165 + shadowExclude = mkOption { 166 + type = types.listOf types.str; 164 167 default = [ ]; 165 168 example = [ 166 169 "window_type *= 'menu'" ··· 173 176 ''; 174 177 }; 175 178 176 - activeOpacity = lib.mkOption { 177 - type = lib.types.numbers.between 0 1; 179 + activeOpacity = mkOption { 180 + type = types.numbers.between 0 1; 178 181 default = 1.0; 179 182 example = 0.8; 180 183 description = '' ··· 182 185 ''; 183 186 }; 184 187 185 - inactiveOpacity = lib.mkOption { 186 - type = lib.types.numbers.between 0.1 1; 188 + inactiveOpacity = mkOption { 189 + type = types.numbers.between 0.1 1; 187 190 default = 1.0; 188 191 example = 0.8; 189 192 description = '' ··· 191 194 ''; 192 195 }; 193 196 194 - menuOpacity = lib.mkOption { 195 - type = lib.types.numbers.between 0 1; 197 + menuOpacity = mkOption { 198 + type = types.numbers.between 0 1; 196 199 default = 1.0; 197 200 example = 0.8; 198 201 description = '' ··· 200 203 ''; 201 204 }; 202 205 203 - wintypes = lib.mkOption { 204 - type = lib.types.attrs; 206 + wintypes = mkOption { 207 + type = types.attrs; 205 208 default = { 206 209 popup_menu = { 207 210 opacity = cfg.menuOpacity; ··· 210 213 opacity = cfg.menuOpacity; 211 214 }; 212 215 }; 213 - defaultText = lib.literalExpression '' 216 + defaultText = literalExpression '' 214 217 { 215 218 popup_menu = { opacity = config.${opt.menuOpacity}; }; 216 219 dropdown_menu = { opacity = config.${opt.menuOpacity}; }; ··· 222 225 ''; 223 226 }; 224 227 225 - opacityRules = lib.mkOption { 226 - type = lib.types.listOf lib.types.str; 228 + opacityRules = mkOption { 229 + type = types.listOf types.str; 227 230 default = [ ]; 228 231 example = [ 229 232 "95:class_g = 'URxvt' && !_NET_WM_STATE@:32a" ··· 234 237 ''; 235 238 }; 236 239 237 - backend = lib.mkOption { 238 - type = lib.types.enum [ 240 + backend = mkOption { 241 + type = types.enum [ 239 242 "egl" 240 243 "glx" 241 244 "xrender" ··· 247 250 ''; 248 251 }; 249 252 250 - vSync = lib.mkOption { 253 + vSync = mkOption { 251 254 type = 252 - with lib.types; 255 + with types; 253 256 either bool (enum [ 254 257 "none" 255 258 "drm" ··· 265 268 res = x != "none"; 266 269 msg = 267 270 "The type of services.picom.vSync has changed to bool:" 268 - + " interpreting ${x} as ${lib.boolToString res}"; 271 + + " interpreting ${x} as ${boolToString res}"; 269 272 in 270 - if lib.isBool x then x else lib.warn msg res; 273 + if isBool x then x else warn msg res; 271 274 272 275 description = '' 273 276 Enable vertical synchronization. Chooses the best method ··· 277 280 }; 278 281 279 282 settings = 280 - with lib.types; 283 + with types; 281 284 let 282 285 scalar = 283 286 oneOf [ ··· 310 313 }; 311 314 312 315 in 313 - lib.mkOption { 316 + mkOption { 314 317 type = topLevel; 315 318 default = { }; 316 - example = lib.literalExpression '' 319 + example = literalExpression '' 317 320 blur = 318 321 { method = "gaussian"; 319 322 size = 10; ··· 328 331 }; 329 332 }; 330 333 331 - config = lib.mkIf cfg.enable { 334 + config = mkIf cfg.enable { 332 335 services.picom.settings = mkDefaultAttrs { 333 336 # fading 334 337 fading = cfg.fade; 335 338 fade-delta = cfg.fadeDelta; 336 - fade-in-step = lib.elemAt cfg.fadeSteps 0; 337 - fade-out-step = lib.elemAt cfg.fadeSteps 1; 339 + fade-in-step = elemAt cfg.fadeSteps 0; 340 + fade-out-step = elemAt cfg.fadeSteps 1; 338 341 fade-exclude = cfg.fadeExclude; 339 342 340 343 # shadows 341 344 shadow = cfg.shadow; 342 - shadow-offset-x = lib.elemAt cfg.shadowOffsets 0; 343 - shadow-offset-y = lib.elemAt cfg.shadowOffsets 1; 345 + shadow-offset-x = elemAt cfg.shadowOffsets 0; 346 + shadow-offset-y = elemAt cfg.shadowOffsets 1; 344 347 shadow-opacity = cfg.shadowOpacity; 345 348 shadow-exclude = cfg.shadowExclude; 346 349 ··· 363 366 partOf = [ "graphical-session.target" ]; 364 367 365 368 # Temporarily fixes corrupt colours with Mesa 18 366 - environment = lib.mkIf (cfg.backend == "glx") { 369 + environment = mkIf (cfg.backend == "glx") { 367 370 allow_rgb10_configs = "false"; 368 371 }; 369 372 370 373 serviceConfig = { 371 - ExecStart = "${lib.getExe cfg.package} --config ${configFile}"; 374 + ExecStart = "${getExe cfg.package} --config ${configFile}"; 372 375 RestartSec = 3; 373 376 Restart = "always"; 374 377 };
+24 -21
nixos/modules/services/x11/redshift.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 9 12 cfg = config.services.redshift; ··· 13 16 { 14 17 15 18 imports = [ 16 - (lib.mkChangedOptionModule [ "services" "redshift" "latitude" ] [ "location" "latitude" ] ( 19 + (mkChangedOptionModule [ "services" "redshift" "latitude" ] [ "location" "latitude" ] ( 17 20 config: 18 21 let 19 - value = lib.getAttrFromPath [ "services" "redshift" "latitude" ] config; 22 + value = getAttrFromPath [ "services" "redshift" "latitude" ] config; 20 23 in 21 24 if value == null then 22 25 throw "services.redshift.latitude is set to null, you can remove this" 23 26 else 24 27 builtins.fromJSON value 25 28 )) 26 - (lib.mkChangedOptionModule [ "services" "redshift" "longitude" ] [ "location" "longitude" ] ( 29 + (mkChangedOptionModule [ "services" "redshift" "longitude" ] [ "location" "longitude" ] ( 27 30 config: 28 31 let 29 - value = lib.getAttrFromPath [ "services" "redshift" "longitude" ] config; 32 + value = getAttrFromPath [ "services" "redshift" "longitude" ] config; 30 33 in 31 34 if value == null then 32 35 throw "services.redshift.longitude is set to null, you can remove this" 33 36 else 34 37 builtins.fromJSON value 35 38 )) 36 - (lib.mkRenamedOptionModule [ "services" "redshift" "provider" ] [ "location" "provider" ]) 39 + (mkRenamedOptionModule [ "services" "redshift" "provider" ] [ "location" "provider" ]) 37 40 ]; 38 41 39 42 options.services.redshift = { 40 - enable = lib.mkOption { 41 - type = lib.types.bool; 43 + enable = mkOption { 44 + type = types.bool; 42 45 default = false; 43 46 description = '' 44 47 Enable Redshift to change your screen's colour temperature depending on ··· 47 50 }; 48 51 49 52 temperature = { 50 - day = lib.mkOption { 51 - type = lib.types.int; 53 + day = mkOption { 54 + type = types.int; 52 55 default = 5500; 53 56 description = '' 54 57 Colour temperature to use during the day, between 55 58 `1000` and `25000` K. 56 59 ''; 57 60 }; 58 - night = lib.mkOption { 59 - type = lib.types.int; 61 + night = mkOption { 62 + type = types.int; 60 63 default = 3700; 61 64 description = '' 62 65 Colour temperature to use at night, between ··· 66 69 }; 67 70 68 71 brightness = { 69 - day = lib.mkOption { 70 - type = lib.types.str; 72 + day = mkOption { 73 + type = types.str; 71 74 default = "1"; 72 75 description = '' 73 76 Screen brightness to apply during the day, 74 77 between `0.1` and `1.0`. 75 78 ''; 76 79 }; 77 - night = lib.mkOption { 78 - type = lib.types.str; 80 + night = mkOption { 81 + type = types.str; 79 82 default = "1"; 80 83 description = '' 81 84 Screen brightness to apply during the night, ··· 84 87 }; 85 88 }; 86 89 87 - package = lib.mkPackageOption pkgs "redshift" { }; 90 + package = mkPackageOption pkgs "redshift" { }; 88 91 89 - executable = lib.mkOption { 90 - type = lib.types.str; 92 + executable = mkOption { 93 + type = types.str; 91 94 default = "/bin/redshift"; 92 95 example = "/bin/redshift-gtk"; 93 96 description = '' ··· 95 98 ''; 96 99 }; 97 100 98 - extraOptions = lib.mkOption { 99 - type = lib.types.listOf lib.types.str; 101 + extraOptions = mkOption { 102 + type = types.listOf types.str; 100 103 default = [ ]; 101 104 example = [ 102 105 "-v" ··· 109 112 }; 110 113 }; 111 114 112 - config = lib.mkIf cfg.enable { 115 + config = mkIf cfg.enable { 113 116 # needed so that .desktop files are installed, which geoclue cares about 114 117 environment.systemPackages = [ cfg.package ]; 115 118
+7 -4
nixos/modules/services/x11/touchegg.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 cfg = config.services.touchegg; 9 12 10 13 in 11 14 { 12 15 meta = { 13 - maintainers = lib.teams.pantheon.members; 16 + maintainers = teams.pantheon.members; 14 17 }; 15 18 16 19 ###### interface 17 20 options.services.touchegg = { 18 - enable = lib.mkEnableOption "touchegg, a multi-touch gesture recognizer"; 21 + enable = mkEnableOption "touchegg, a multi-touch gesture recognizer"; 19 22 20 - package = lib.mkPackageOption pkgs "touchegg" { }; 23 + package = mkPackageOption pkgs "touchegg" { }; 21 24 }; 22 25 23 26 ###### implementation 24 - config = lib.mkIf cfg.enable { 27 + config = mkIf cfg.enable { 25 28 systemd.services.touchegg = { 26 29 description = "Touchegg Daemon"; 27 30 serviceConfig = {
+14 -11
nixos/modules/services/x11/unclutter-xfixes.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 cfg = config.services.unclutter-xfixes; 9 12 ··· 11 14 { 12 15 options.services.unclutter-xfixes = { 13 16 14 - enable = lib.mkOption { 17 + enable = mkOption { 15 18 description = "Enable unclutter-xfixes to hide your mouse cursor when inactive."; 16 - type = lib.types.bool; 19 + type = types.bool; 17 20 default = false; 18 21 }; 19 22 20 - package = lib.mkPackageOption pkgs "unclutter-xfixes" { }; 23 + package = mkPackageOption pkgs "unclutter-xfixes" { }; 21 24 22 - timeout = lib.mkOption { 25 + timeout = mkOption { 23 26 description = "Number of seconds before the cursor is marked inactive."; 24 - type = lib.types.int; 27 + type = types.int; 25 28 default = 1; 26 29 }; 27 30 28 - threshold = lib.mkOption { 31 + threshold = mkOption { 29 32 description = "Minimum number of pixels considered cursor movement."; 30 - type = lib.types.int; 33 + type = types.int; 31 34 default = 1; 32 35 }; 33 36 34 - extraOptions = lib.mkOption { 37 + extraOptions = mkOption { 35 38 description = "More arguments to pass to the unclutter-xfixes command."; 36 - type = lib.types.listOf lib.types.str; 39 + type = types.listOf types.str; 37 40 default = [ ]; 38 41 example = [ 39 42 "exclude-root" ··· 43 46 }; 44 47 }; 45 48 46 - config = lib.mkIf cfg.enable { 49 + config = mkIf cfg.enable { 47 50 systemd.user.services.unclutter-xfixes = { 48 51 description = "unclutter-xfixes"; 49 52 wantedBy = [ "graphical-session.target" ]; ··· 52 55 ${cfg.package}/bin/unclutter \ 53 56 --timeout ${toString cfg.timeout} \ 54 57 --jitter ${toString (cfg.threshold - 1)} \ 55 - ${lib.concatMapStrings (x: " --" + x) cfg.extraOptions} \ 58 + ${concatMapStrings (x: " --" + x) cfg.extraOptions} \ 56 59 ''; 57 60 serviceConfig.RestartSec = 3; 58 61 serviceConfig.Restart = "always";
+21 -18
nixos/modules/services/x11/unclutter.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 cfg = config.services.unclutter; 9 12 ··· 11 14 { 12 15 options.services.unclutter = { 13 16 14 - enable = lib.mkOption { 17 + enable = mkOption { 15 18 description = "Enable unclutter to hide your mouse cursor when inactive"; 16 - type = lib.types.bool; 19 + type = types.bool; 17 20 default = false; 18 21 }; 19 22 20 - package = lib.mkPackageOption pkgs "unclutter" { }; 23 + package = mkPackageOption pkgs "unclutter" { }; 21 24 22 - keystroke = lib.mkOption { 25 + keystroke = mkOption { 23 26 description = "Wait for a keystroke before hiding the cursor"; 24 - type = lib.types.bool; 27 + type = types.bool; 25 28 default = false; 26 29 }; 27 30 28 - timeout = lib.mkOption { 31 + timeout = mkOption { 29 32 description = "Number of seconds before the cursor is marked inactive"; 30 - type = lib.types.int; 33 + type = types.int; 31 34 default = 1; 32 35 }; 33 36 34 - threshold = lib.mkOption { 37 + threshold = mkOption { 35 38 description = "Minimum number of pixels considered cursor movement"; 36 - type = lib.types.int; 39 + type = types.int; 37 40 default = 1; 38 41 }; 39 42 40 - excluded = lib.mkOption { 43 + excluded = mkOption { 41 44 description = "Names of windows where unclutter should not apply"; 42 - type = lib.types.listOf lib.types.str; 45 + type = types.listOf types.str; 43 46 default = [ ]; 44 47 example = [ "" ]; 45 48 }; 46 49 47 - extraOptions = lib.mkOption { 50 + extraOptions = mkOption { 48 51 description = "More arguments to pass to the unclutter command"; 49 - type = lib.types.listOf lib.types.str; 52 + type = types.listOf types.str; 50 53 default = [ ]; 51 54 example = [ 52 55 "noevent" ··· 55 58 }; 56 59 }; 57 60 58 - config = lib.mkIf cfg.enable { 61 + config = mkIf cfg.enable { 59 62 systemd.user.services.unclutter = { 60 63 description = "unclutter"; 61 64 wantedBy = [ "graphical-session.target" ]; ··· 64 67 ${cfg.package}/bin/unclutter \ 65 68 -idle ${toString cfg.timeout} \ 66 69 -jitter ${toString (cfg.threshold - 1)} \ 67 - ${lib.optionalString cfg.keystroke "-keystroke"} \ 68 - ${lib.concatMapStrings (x: " -" + x) cfg.extraOptions} \ 69 - -not ${lib.concatStringsSep " " cfg.excluded} \ 70 + ${optionalString cfg.keystroke "-keystroke"} \ 71 + ${concatMapStrings (x: " -" + x) cfg.extraOptions} \ 72 + -not ${concatStringsSep " " cfg.excluded} \ 70 73 ''; 71 74 serviceConfig.PassEnvironment = "DISPLAY"; 72 75 serviceConfig.RestartSec = 3; ··· 75 78 }; 76 79 77 80 imports = [ 78 - (lib.mkRenamedOptionModule 81 + (mkRenamedOptionModule 79 82 [ "services" "unclutter" "threeshold" ] 80 83 [ "services" "unclutter" "threshold" ] 81 84 )
+8 -4
nixos/modules/services/x11/urxvtd.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 7 8 # maintainer: siddharthist 9 + 10 + with lib; 11 + 8 12 let 9 13 cfg = config.services.urxvtd; 10 14 in 11 15 { 12 16 options.services.urxvtd = { 13 - enable = lib.mkOption { 14 - type = lib.types.bool; 17 + enable = mkOption { 18 + type = types.bool; 15 19 default = false; 16 20 description = '' 17 21 Enable urxvtd, the urxvt terminal daemon. To use urxvtd, run ··· 19 23 ''; 20 24 }; 21 25 22 - package = lib.mkPackageOption pkgs "rxvt-unicode" { }; 26 + package = mkPackageOption pkgs "rxvt-unicode" { }; 23 27 }; 24 28 25 - config = lib.mkIf cfg.enable { 29 + config = mkIf cfg.enable { 26 30 systemd.user.services.urxvtd = { 27 31 description = "urxvt terminal daemon"; 28 32 wantedBy = [ "graphical-session.target" ];
+6 -3
nixos/modules/services/x11/window-managers/2bwm.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 9 12 cfg = config.services.xserver.windowManager."2bwm"; ··· 15 18 ###### interface 16 19 17 20 options = { 18 - services.xserver.windowManager."2bwm".enable = lib.mkEnableOption "2bwm"; 21 + services.xserver.windowManager."2bwm".enable = mkEnableOption "2bwm"; 19 22 }; 20 23 21 24 ###### implementation 22 25 23 - config = lib.mkIf cfg.enable { 26 + config = mkIf cfg.enable { 24 27 25 - services.xserver.windowManager.session = lib.singleton { 28 + services.xserver.windowManager.session = singleton { 26 29 name = "2bwm"; 27 30 start = '' 28 31 ${pkgs._2bwm}/bin/2bwm &
+6 -3
nixos/modules/services/x11/window-managers/afterstep.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 cfg = config.services.xserver.windowManager.afterstep; 9 12 in 10 13 { 11 14 ###### interface 12 15 options = { 13 - services.xserver.windowManager.afterstep.enable = lib.mkEnableOption "afterstep"; 16 + services.xserver.windowManager.afterstep.enable = mkEnableOption "afterstep"; 14 17 }; 15 18 16 19 ###### implementation 17 - config = lib.mkIf cfg.enable { 18 - services.xserver.windowManager.session = lib.singleton { 20 + config = mkIf cfg.enable { 21 + services.xserver.windowManager.session = singleton { 19 22 name = "afterstep"; 20 23 start = '' 21 24 ${pkgs.afterstep}/bin/afterstep &
+12 -9
nixos/modules/services/x11/window-managers/awesome.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 9 12 cfg = config.services.xserver.windowManager.awesome; ··· 22 25 23 26 services.xserver.windowManager.awesome = { 24 27 25 - enable = lib.mkEnableOption "Awesome window manager"; 28 + enable = mkEnableOption "Awesome window manager"; 26 29 27 - luaModules = lib.mkOption { 30 + luaModules = mkOption { 28 31 default = [ ]; 29 - type = lib.types.listOf lib.types.package; 32 + type = types.listOf types.package; 30 33 description = "List of lua packages available for being used in the Awesome configuration."; 31 - example = lib.literalExpression "[ pkgs.luaPackages.vicious ]"; 34 + example = literalExpression "[ pkgs.luaPackages.vicious ]"; 32 35 }; 33 36 34 - package = lib.mkPackageOption pkgs "awesome" { }; 37 + package = mkPackageOption pkgs "awesome" { }; 35 38 36 - noArgb = lib.mkOption { 39 + noArgb = mkOption { 37 40 default = false; 38 - type = lib.types.bool; 41 + type = types.bool; 39 42 description = "Disable client transparency support, which can be greatly detrimental to performance in some setups"; 40 43 }; 41 44 }; ··· 44 47 45 48 ###### implementation 46 49 47 - config = lib.mkIf cfg.enable { 50 + config = mkIf cfg.enable { 48 51 49 - services.xserver.windowManager.session = lib.singleton { 52 + services.xserver.windowManager.session = singleton { 50 53 name = "awesome"; 51 54 start = '' 52 55 ${awesome}/bin/awesome ${lib.optionalString cfg.noArgb "--no-argb"} ${makeSearchPath cfg.luaModules} &
+6 -3
nixos/modules/services/x11/window-managers/berry.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 cfg = config.services.xserver.windowManager.berry; 9 12 in 10 13 { 11 14 ###### interface 12 15 options = { 13 - services.xserver.windowManager.berry.enable = lib.mkEnableOption "berry"; 16 + services.xserver.windowManager.berry.enable = mkEnableOption "berry"; 14 17 }; 15 18 16 19 ###### implementation 17 - config = lib.mkIf cfg.enable { 18 - services.xserver.windowManager.session = lib.singleton { 20 + config = mkIf cfg.enable { 21 + services.xserver.windowManager.session = singleton { 19 22 name = "berry"; 20 23 start = '' 21 24 ${pkgs.berry}/bin/berry &
+19 -16
nixos/modules/services/x11/window-managers/bspwm.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 cfg = config.services.xserver.windowManager.bspwm; 9 12 in ··· 11 14 { 12 15 options = { 13 16 services.xserver.windowManager.bspwm = { 14 - enable = lib.mkEnableOption "bspwm"; 17 + enable = mkEnableOption "bspwm"; 15 18 16 - package = lib.mkPackageOption pkgs "bspwm" { 19 + package = mkPackageOption pkgs "bspwm" { 17 20 example = "bspwm-unstable"; 18 21 }; 19 - configFile = lib.mkOption { 20 - type = with lib.types; nullOr path; 21 - example = lib.literalExpression ''"''${pkgs.bspwm}/share/doc/bspwm/examples/bspwmrc"''; 22 + configFile = mkOption { 23 + type = with types; nullOr path; 24 + example = literalExpression ''"''${pkgs.bspwm}/share/doc/bspwm/examples/bspwmrc"''; 22 25 default = null; 23 26 description = '' 24 27 Path to the bspwm configuration file. ··· 27 30 }; 28 31 29 32 sxhkd = { 30 - package = lib.mkPackageOption pkgs "sxhkd" { 33 + package = mkPackageOption pkgs "sxhkd" { 31 34 example = "sxhkd-unstable"; 32 35 }; 33 - configFile = lib.mkOption { 34 - type = with lib.types; nullOr path; 35 - example = lib.literalExpression ''"''${pkgs.bspwm}/share/doc/bspwm/examples/sxhkdrc"''; 36 + configFile = mkOption { 37 + type = with types; nullOr path; 38 + example = literalExpression ''"''${pkgs.bspwm}/share/doc/bspwm/examples/sxhkdrc"''; 36 39 default = null; 37 40 description = '' 38 41 Path to the sxhkd configuration file. ··· 43 46 }; 44 47 }; 45 48 46 - config = lib.mkIf cfg.enable { 47 - services.xserver.windowManager.session = lib.singleton { 49 + config = mkIf cfg.enable { 50 + services.xserver.windowManager.session = singleton { 48 51 name = "bspwm"; 49 52 start = '' 50 53 export _JAVA_AWT_WM_NONREPARENTING=1 51 54 SXHKD_SHELL=/bin/sh ${cfg.sxhkd.package}/bin/sxhkd ${ 52 - lib.optionalString (cfg.sxhkd.configFile != null) "-c \"${cfg.sxhkd.configFile}\"" 55 + optionalString (cfg.sxhkd.configFile != null) "-c \"${cfg.sxhkd.configFile}\"" 53 56 } & 54 - ${cfg.package}/bin/bspwm ${lib.optionalString (cfg.configFile != null) "-c \"${cfg.configFile}\""} & 57 + ${cfg.package}/bin/bspwm ${optionalString (cfg.configFile != null) "-c \"${cfg.configFile}\""} & 55 58 waitPID=$! 56 59 ''; 57 60 }; ··· 59 62 }; 60 63 61 64 imports = [ 62 - (lib.mkRemovedOptionModule [ "services" "xserver" "windowManager" "bspwm-unstable" "enable" ] 65 + (mkRemovedOptionModule [ "services" "xserver" "windowManager" "bspwm-unstable" "enable" ] 63 66 "Use services.xserver.windowManager.bspwm.enable and set services.xserver.windowManager.bspwm.package to pkgs.bspwm-unstable to use the unstable version of bspwm." 64 67 ) 65 - (lib.mkRemovedOptionModule [ 68 + (mkRemovedOptionModule [ 66 69 "services" 67 70 "xserver" 68 71 "windowManager" 69 72 "bspwm" 70 73 "startThroughSession" 71 74 ] "bspwm package does not provide bspwm-session anymore.") 72 - (lib.mkRemovedOptionModule [ 75 + (mkRemovedOptionModule [ 73 76 "services" 74 77 "xserver" 75 78 "windowManager"
+7 -4
nixos/modules/services/x11/window-managers/clfswm.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 cfg = config.services.xserver.windowManager.clfswm; 9 12 in ··· 11 14 { 12 15 options = { 13 16 services.xserver.windowManager.clfswm = { 14 - enable = lib.mkEnableOption "clfswm"; 15 - package = lib.mkPackageOption pkgs [ "sbclPackages" "clfswm" ] { }; 17 + enable = mkEnableOption "clfswm"; 18 + package = mkPackageOption pkgs [ "sbclPackages" "clfswm" ] { }; 16 19 }; 17 20 }; 18 21 19 - config = lib.mkIf cfg.enable { 20 - services.xserver.windowManager.session = lib.singleton { 22 + config = mkIf cfg.enable { 23 + services.xserver.windowManager.session = singleton { 21 24 name = "clfswm"; 22 25 start = '' 23 26 ${cfg.package}/bin/clfswm &
+6 -3
nixos/modules/services/x11/window-managers/cwm.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 cfg = config.services.xserver.windowManager.cwm; 9 12 in 10 13 { 11 14 options = { 12 - services.xserver.windowManager.cwm.enable = lib.mkEnableOption "cwm"; 15 + services.xserver.windowManager.cwm.enable = mkEnableOption "cwm"; 13 16 }; 14 - config = lib.mkIf cfg.enable { 15 - services.xserver.windowManager.session = lib.singleton { 17 + config = mkIf cfg.enable { 18 + services.xserver.windowManager.session = singleton { 16 19 name = "cwm"; 17 20 start = '' 18 21 cwm &
+7 -4
nixos/modules/services/x11/window-managers/dwm.nix
··· 1 1 { config, lib, pkgs, ... }: 2 + 3 + with lib; 4 + 2 5 let 3 6 4 7 cfg = config.services.xserver.windowManager.dwm; ··· 11 14 12 15 options = { 13 16 services.xserver.windowManager.dwm = { 14 - enable = lib.mkEnableOption "dwm"; 15 - package = lib.mkPackageOption pkgs "dwm" { 17 + enable = mkEnableOption "dwm"; 18 + package = mkPackageOption pkgs "dwm" { 16 19 example = '' 17 20 pkgs.dwm.overrideAttrs (oldAttrs: rec { 18 21 patches = [ ··· 30 33 31 34 ###### implementation 32 35 33 - config = lib.mkIf cfg.enable { 36 + config = mkIf cfg.enable { 34 37 35 - services.xserver.windowManager.session = lib.singleton 38 + services.xserver.windowManager.session = singleton 36 39 { name = "dwm"; 37 40 start = 38 41 ''
+6 -3
nixos/modules/services/x11/window-managers/e16.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 + 8 + with lib; 9 + 7 10 let 8 11 cfg = config.services.xserver.windowManager.e16; 9 12 in 10 13 { 11 14 ###### interface 12 15 options = { 13 - services.xserver.windowManager.e16.enable = lib.mkEnableOption "e16"; 16 + services.xserver.windowManager.e16.enable = mkEnableOption "e16"; 14 17 }; 15 18 16 19 ###### implementation 17 - config = lib.mkIf cfg.enable { 18 - services.xserver.windowManager.session = lib.singleton { 20 + config = mkIf cfg.enable { 21 + services.xserver.windowManager.session = singleton { 19 22 name = "E16"; 20 23 start = '' 21 24 ${pkgs.e16}/bin/e16 &
-2
pkgs/applications/audio/ardour/default.nix
··· 29 29 , libltc 30 30 , libogg 31 31 , libpulseaudio 32 - , librdf_raptor 33 32 , librdf_rasqal 34 33 , libsamplerate 35 34 , libsigcxx ··· 133 132 libltc 134 133 libogg 135 134 libpulseaudio 136 - librdf_raptor 137 135 librdf_rasqal 138 136 libsamplerate 139 137 libsigcxx
+3 -3
pkgs/applications/networking/discordo/default.nix
··· 3 3 4 4 buildGoModule rec { 5 5 pname = "discordo"; 6 - version = "0-unstable-2024-12-12"; 6 + version = "0-unstable-2024-12-22"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "ayn2op"; 10 10 repo = pname; 11 - rev = "c97307d5425ba0fef24f0bdd5b9d63f660e11b20"; 12 - hash = "sha256-I2rO0PKtxQUiyaAt4BmE4zvOmqShbydGwWbPmnzUjHY="; 11 + rev = "9f15a6342413f68531402b8aeb5ed272159fc370"; 12 + hash = "sha256-8VBw7DsX/xnNkfiIe8jiG2oXjIp1tNT6wy6eTDBZxUg="; 13 13 }; 14 14 15 15 vendorHash = "sha256-UTZIx4zXIMdQBQXfzk3+j43yx7vlitw4Mwmon8oYjd8=";
-92
pkgs/applications/office/qownnotes/default.nix
··· 1 - { lib 2 - , stdenv 3 - , fetchurl 4 - , cmake 5 - , qttools 6 - , qtbase 7 - , qtdeclarative 8 - , qtsvg 9 - , qtwayland 10 - , qtwebsockets 11 - , makeWrapper 12 - , wrapQtAppsHook 13 - , botan2 14 - , pkg-config 15 - , nixosTests 16 - , installShellFiles 17 - , xvfb-run 18 - }: 19 - 20 - let 21 - pname = "qownnotes"; 22 - appname = "QOwnNotes"; 23 - version = "24.12.7"; 24 - in 25 - stdenv.mkDerivation { 26 - inherit pname version; 27 - 28 - src = fetchurl { 29 - url = "https://github.com/pbek/QOwnNotes/releases/download/v${version}/qownnotes-${version}.tar.xz"; 30 - hash = "sha256-48puEyScG6EIrsXZpFc62dl4a23p+TO2buzuwq9m3Sw="; 31 - }; 32 - 33 - nativeBuildInputs = [ 34 - cmake 35 - qttools 36 - wrapQtAppsHook 37 - pkg-config 38 - installShellFiles 39 - ] ++ lib.optionals stdenv.hostPlatform.isLinux [ xvfb-run ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ makeWrapper ]; 40 - 41 - buildInputs = [ 42 - qtbase 43 - qtdeclarative 44 - qtsvg 45 - qtwebsockets 46 - botan2 47 - ] ++ lib.optionals stdenv.hostPlatform.isLinux [ qtwayland ]; 48 - 49 - cmakeFlags = [ 50 - "-DQON_QT6_BUILD=ON" 51 - "-DBUILD_WITH_SYSTEM_BOTAN=ON" 52 - ]; 53 - 54 - # Install shell completion on Linux (with xvfb-run) 55 - postInstall = lib.optionalString stdenv.hostPlatform.isLinux '' 56 - installShellCompletion --cmd ${appname} \ 57 - --bash <(xvfb-run $out/bin/${appname} --completion bash) \ 58 - --fish <(xvfb-run $out/bin/${appname} --completion fish) 59 - installShellCompletion --cmd ${pname} \ 60 - --bash <(xvfb-run $out/bin/${appname} --completion bash) \ 61 - --fish <(xvfb-run $out/bin/${appname} --completion fish) 62 - '' 63 - # Install shell completion on macOS 64 - + lib.optionalString stdenv.isDarwin '' 65 - installShellCompletion --cmd ${pname} \ 66 - --bash <($out/bin/${appname} --completion bash) \ 67 - --fish <($out/bin/${appname} --completion fish) 68 - '' 69 - # Create a lowercase symlink for Linux 70 - + lib.optionalString stdenv.hostPlatform.isLinux '' 71 - ln -s $out/bin/${appname} $out/bin/${pname} 72 - '' 73 - # Rename application for macOS as lowercase binary 74 - + lib.optionalString stdenv.hostPlatform.isDarwin '' 75 - # Prevent "same file" error 76 - mv $out/bin/${appname} $out/bin/${pname}.bin 77 - mv $out/bin/${pname}.bin $out/bin/${pname} 78 - ''; 79 - 80 - # Tests QOwnNotes using the NixOS module by launching xterm: 81 - passthru.tests.basic-nixos-module-functionality = nixosTests.qownnotes; 82 - 83 - meta = with lib; { 84 - description = "Plain-text file notepad and todo-list manager with markdown support and Nextcloud/ownCloud integration"; 85 - homepage = "https://www.qownnotes.org/"; 86 - changelog = "https://www.qownnotes.org/changelog.html"; 87 - downloadPage = "https://github.com/pbek/QOwnNotes/releases/tag/v${version}"; 88 - license = licenses.gpl2Only; 89 - maintainers = with maintainers; [ pbek totoroot ]; 90 - platforms = platforms.unix; 91 - }; 92 - }
+3 -3
pkgs/applications/office/treesheets/default.nix
··· 12 12 13 13 stdenv.mkDerivation rec { 14 14 pname = "treesheets"; 15 - version = "0-unstable-2024-12-11"; 15 + version = "0-unstable-2024-12-22"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "aardappel"; 19 19 repo = "treesheets"; 20 - rev = "81e74a0f3f325ada0abe35211e90b74132f91470"; 21 - hash = "sha256-6Ao1dl0tRLAZZxx0xV7uaojuCO9i3bUIdccsZ37Jm/g="; 20 + rev = "b3bf8f2763aa9efaac428107d62194582839df1b"; 21 + hash = "sha256-qY5DSFW6jnngvHCBgz9Go9Xsfo2nd7xDyZWuKSpyMMM="; 22 22 }; 23 23 24 24 nativeBuildInputs = [
+5 -4
pkgs/applications/video/mplayer/default.nix
··· 120 120 121 121 stdenv.mkDerivation rec { 122 122 pname = "mplayer"; 123 - version = "1.5-unstable-2024-07-03"; 123 + version = "1.5-unstable-2024-12-21"; 124 124 125 125 src = fetchsvn { 126 126 url = "svn://svn.mplayerhq.hu/mplayer/trunk"; 127 - rev = "38637"; 128 - hash = "sha256-9KQOB6QIs1VZhazJqW8dY4ASiMgoxV6davfpKgLPbmE="; 127 + rev = "38668"; 128 + hash = "sha256-ezWYBkhiSBgf/SeTrO6sKGbL/IrX+82KXCIlqYMEtgY="; 129 129 }; 130 130 131 131 prePatch = '' ··· 276 276 description = "Movie player that supports many video formats"; 277 277 homepage = "http://mplayerhq.hu"; 278 278 license = licenses.gpl2Only; 279 - maintainers = [ ]; 279 + # Picking it up: no idea about the origin of some choices (but seems fine) 280 + maintainers = [ maintainers.raskin ]; 280 281 platforms = [ 281 282 "i686-linux" 282 283 "x86_64-linux"
+8 -3
pkgs/applications/window-managers/i3/status-rust.nix
··· 11 11 , lm_sensors 12 12 , iw 13 13 , iproute2 14 + , pipewire 14 15 , withICUCalendar ? false 16 + , withPipewire ? true 15 17 }: 16 18 17 19 rustPlatform.buildRustPackage rec { ··· 27 29 28 30 cargoHash = "sha256-9jbJVnZhFbMYldBkRVSIiorUYDNtF3AAwNEpyNJXpjo="; 29 31 30 - nativeBuildInputs = [ pkg-config makeWrapper ]; 32 + nativeBuildInputs = [ pkg-config makeWrapper ] 33 + ++ (lib.optionals withPipewire [ rustPlatform.bindgenHook ]); 31 34 32 - buildInputs = [ dbus libpulseaudio notmuch openssl lm_sensors ]; 35 + buildInputs = [ dbus libpulseaudio notmuch openssl lm_sensors ] 36 + ++ (lib.optionals withPipewire [ pipewire ]); 33 37 34 38 buildFeatures = [ 35 39 "notmuch" 36 40 "maildir" 37 41 "pulseaudio" 38 - ] ++ (lib.optionals withICUCalendar [ "icu_calendar" ]); 42 + ] ++ (lib.optionals withICUCalendar [ "icu_calendar" ]) 43 + ++ (lib.optionals withPipewire [ "pipewire" ]); 39 44 40 45 prePatch = '' 41 46 substituteInPlace src/util.rs \
pkgs/build-support/testers/shellcheck/example.sh pkgs/build-support/testers/shellcheck/src/example.sh
+6 -5
pkgs/build-support/testers/shellcheck/tester.nix
··· 2 2 { 3 3 lib, 4 4 stdenv, 5 + runCommand, 5 6 shellcheck, 6 7 }: 7 8 ··· 10 11 # Tests: ./tests.nix 11 12 { src }: 12 13 let 13 - inherit (lib) fileset pathType isPath; 14 + inherit (lib) pathType isPath; 14 15 in 15 16 stdenv.mkDerivation { 16 17 name = "run-shellcheck"; ··· 18 19 if 19 20 isPath src && pathType src == "regular" # note that for strings this would have been IFD, which we prefer to avoid 20 21 then 21 - fileset.toSource { 22 - root = dirOf src; 23 - fileset = src; 24 - } 22 + runCommand "testers-shellcheck-src" { } '' 23 + mkdir $out 24 + cp ${src} $out 25 + '' 25 26 else 26 27 src; 27 28 nativeBuildInputs = [ shellcheck ];
+2 -10
pkgs/build-support/testers/shellcheck/tests.nix
··· 6 6 testers, 7 7 runCommand, 8 8 }: 9 - let 10 - inherit (lib) fileset; 11 - in 12 9 lib.recurseIntoAttrs { 13 10 14 11 example-dir = ··· 16 13 { 17 14 failure = testers.testBuildFailure ( 18 15 testers.shellcheck { 19 - src = fileset.toSource { 20 - root = ./.; 21 - fileset = fileset.unions [ 22 - ./example.sh 23 - ]; 24 - }; 16 + src = ./src; 25 17 } 26 18 ); 27 19 } ··· 37 29 { 38 30 failure = testers.testBuildFailure ( 39 31 testers.shellcheck { 40 - src = ./example.sh; 32 + src = ./src/example.sh; 41 33 } 42 34 ); 43 35 }
+3 -3
pkgs/by-name/at/atlantis/package.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "atlantis"; 9 - version = "0.30.0"; 9 + version = "0.32.0"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "runatlantis"; 13 13 repo = "atlantis"; 14 14 rev = "v${version}"; 15 - hash = "sha256-hM4IycRE3/jiwFLqkU/jz9sPP9KTfeu8ouIJlqgPxmk="; 15 + hash = "sha256-7D7msKDnHym3uiMJur2kCRf6MurwkMEKI+aYcwqOVX0="; 16 16 }; 17 17 ldflags = [ 18 18 "-X=main.version=${version}" 19 19 "-X=main.date=1970-01-01T00:00:00Z" 20 20 ]; 21 21 22 - vendorHash = "sha256-uH+Q5NXBL1+LFa6tw3x2CE1B5QElqK9KuFeYQpCFAW0="; 22 + vendorHash = "sha256-wPsEE6sR1GDD3Npdcf/JmeZc451+x9UBE8+DwXkj/qE="; 23 23 24 24 subPackages = [ "." ]; 25 25
+21
pkgs/by-name/av/avro-cpp/0001-get-rid-of-fmt-fetchcontent.patch
··· 1 + diff --git a/CMakeLists.txt b/CMakeLists.txt 2 + index 19059a41b..6e3ae0ad7 100644 3 + --- a/CMakeLists.txt 4 + +++ b/CMakeLists.txt 5 + @@ -82,15 +82,7 @@ endif () 6 + find_package (Boost 1.38 REQUIRED 7 + COMPONENTS filesystem iostreams program_options regex system) 8 + 9 + -include(FetchContent) 10 + -FetchContent_Declare( 11 + - fmt 12 + - GIT_REPOSITORY https://github.com/fmtlib/fmt.git 13 + - GIT_TAG 10.2.1 14 + - GIT_PROGRESS TRUE 15 + - USES_TERMINAL_DOWNLOAD TRUE 16 + -) 17 + -FetchContent_MakeAvailable(fmt) 18 + +find_package(fmt REQUIRED) 19 + 20 + find_package(Snappy) 21 + if (SNAPPY_FOUND)
+19 -16
pkgs/by-name/av/avro-cpp/package.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchurl, 5 - fetchpatch, 6 5 cmake, 7 6 boost, 8 7 python3, 8 + fmt, 9 + versionCheckHook, 9 10 }: 10 11 11 12 stdenv.mkDerivation rec { 12 13 pname = "avro-c++"; 13 - version = "1.11.3"; 14 + version = "1.12.0"; 14 15 15 16 src = fetchurl { 16 17 url = "mirror://apache/avro/avro-${version}/cpp/avro-cpp-${version}.tar.gz"; 17 - hash = "sha256-+6JCrvd+yBnQdWH8upN1FyGVbejQyujh8vMAtUszG64="; 18 + hash = "sha256-8u33cSanWw7BrRZncr4Fg1HOo9dESL5+LO8gBQwPmKs="; 18 19 }; 20 + 19 21 patches = [ 20 - # This patch fixes boost compatibility and can be removed when 21 - # upgrading beyond 1.11.3 https://github.com/apache/avro/pull/1920 22 - (fetchpatch { 23 - name = "fix-boost-compatibility.patch"; 24 - url = "https://github.com/apache/avro/commit/016323828f147f185d03f50d2223a2f50bfafce1.patch"; 25 - hash = "sha256-hP/5J2JzSplMvg8EjEk98Vim8DfTyZ4hZ/WGiVwvM1A="; 26 - }) 22 + ./0001-get-rid-of-fmt-fetchcontent.patch 27 23 ]; 28 - patchFlags = [ "-p3" ]; 29 24 30 25 nativeBuildInputs = [ 31 26 cmake 32 27 python3 33 28 ]; 34 - buildInputs = [ boost ]; 29 + 30 + propagatedBuildInputs = [ 31 + boost 32 + fmt 33 + ]; 34 + 35 + doCheck = true; 35 36 36 - preConfigure = '' 37 - substituteInPlace test/SchemaTests.cc --replace "BOOST_CHECKPOINT" "BOOST_TEST_CHECKPOINT" 38 - substituteInPlace test/buffertest.cc --replace "BOOST_MESSAGE" "BOOST_TEST_MESSAGE" 39 - ''; 37 + nativeInstallCheckInputs = [ 38 + versionCheckHook 39 + ]; 40 + doInstallCheck = true; 41 + versionCheckProgram = "${placeholder "out"}/bin/avrogencpp"; 42 + versionCheckProgramArg = [ "--version" ]; 40 43 41 44 meta = { 42 45 description = "C++ library which implements parts of the Avro Specification";
+2 -2
pkgs/by-name/ba/bazarr/package.nix
··· 17 17 in 18 18 stdenv.mkDerivation rec { 19 19 pname = "bazarr"; 20 - version = "1.4.5"; 20 + version = "1.5.0"; 21 21 22 22 src = fetchzip { 23 23 url = "https://github.com/morpheus65535/bazarr/releases/download/v${version}/bazarr.zip"; 24 - hash = "sha256-BV+ON+SavPc0ZUlIk6tlsvmWub8TiYSSJSRutZb1q+g="; 24 + hash = "sha256-Q/KlqvVWhegSxkxHls0WwCClaQwkmLAfuzfi3X4xgAY="; 25 25 stripRoot = false; 26 26 }; 27 27
+2 -2
pkgs/by-name/bi/bitwuzla/package.nix
··· 18 18 19 19 stdenv.mkDerivation (finalAttrs: { 20 20 pname = "bitwuzla"; 21 - version = "0.6.1"; 21 + version = "0.7.0"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "bitwuzla"; 25 25 repo = "bitwuzla"; 26 26 rev = finalAttrs.version; 27 - hash = "sha256-auW+YeUCpl7SzVAMTyHxrWh6ShwElq6wTEP7Qf2M7jk="; 27 + hash = "sha256-S8CtK8WEehUdOoqOmu5KnoqHFpCGrYWjZKv1st4M7bo="; 28 28 }; 29 29 30 30 strictDeps = true;
+2 -2
pkgs/by-name/bk/bkcrack/package.nix
··· 8 8 9 9 stdenv.mkDerivation (finalAttrs: { 10 10 pname = "bkcrack"; 11 - version = "1.7.0"; 11 + version = "1.7.1"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "kimci86"; 15 15 repo = "bkcrack"; 16 16 rev = "v${finalAttrs.version}"; 17 - hash = "sha256-smDmnqmYuFT3ip3ULQfiiF5YxkwzPwPYBujqq9GUyMs="; 17 + hash = "sha256-88zAR1XE+C5UNmvY/ph1I1tL2nVGbywqh6zHRGbImXU="; 18 18 }; 19 19 20 20 passthru.updateScript = nix-update-script { };
+3 -3
pkgs/by-name/bo/bodyclose/package.nix
··· 7 7 8 8 buildGoModule { 9 9 pname = "bodyclose"; 10 - version = "0-unstable-2024-10-17"; 10 + version = "0-unstable-2024-12-22"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "timakin"; 14 14 repo = "bodyclose"; 15 - rev = "adbc21e6bf369ca6d936dbb140733f34867639bd"; 16 - hash = "sha256-GNZNzXEZnIxep5BS1sBZsMl876FwwIkOBwHAMk/73fo="; 15 + rev = "1db5c5ca4d6719fe28430df1ae8d337ee2ac09c7"; 16 + hash = "sha256-s5bWvpV6gHGEsuiNXJl2ZuyDaffD82/rCbusov3zsyw="; 17 17 }; 18 18 19 19 vendorHash = "sha256-8grdJuV8aSETsJr2VazC/3ctfnGh3UgjOWD4/xf3uC8=";
+3 -3
pkgs/by-name/ca/cairo-lang/package.nix
··· 8 8 9 9 rustPlatform.buildRustPackage rec { 10 10 pname = "cairo"; 11 - version = "2.8.5"; 11 + version = "2.9.2"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "starkware-libs"; 15 15 repo = "cairo"; 16 16 rev = "v${version}"; 17 - hash = "sha256-zNSQVMF5ciGGUBQyPFvIVtePNMbJ3e0LXBmRWMohoGA="; 17 + hash = "sha256-zjgCOrTlIPN4aU0+FCohJmISPiwpppj3zO/7unVi/iU="; 18 18 }; 19 19 20 - cargoHash = "sha256-jVQErw89rCm9f3uJftmyytru1xQa+FKsUkszHJWBGNU="; 20 + cargoHash = "sha256-2qm2hL4M2xHidRYF9Fhxxn2IG22mPEBZW5yhu6wPVDY="; 21 21 22 22 # openssl crate requires perl during build process 23 23 nativeBuildInputs = [
+3 -3
pkgs/by-name/cl/clusterctl/package.nix
··· 9 9 10 10 buildGoModule rec { 11 11 pname = "clusterctl"; 12 - version = "1.9.0"; 12 + version = "1.9.2"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "kubernetes-sigs"; 16 16 repo = "cluster-api"; 17 17 rev = "v${version}"; 18 - hash = "sha256-ENbNgstu+YsNESJ2RsJri3B4zO8UI3Dt60/8AFgsxn8="; 18 + hash = "sha256-H86EkdGmzvQDGC/a+J6ISB0aYkJabBjE2P6Ab5FRlv4="; 19 19 }; 20 20 21 - vendorHash = "sha256-rjo8fwUAnVDM7XvY31I5z6RMRSrNSur6wH7NfGTIdcc="; 21 + vendorHash = "sha256-JSWk6FgjWnDcVmp/9+M0x7QsiX08QtIOn5RRifjs2mI="; 22 22 23 23 subPackages = [ "cmd/clusterctl" ]; 24 24
+5 -5
pkgs/by-name/co/codeium/package.nix
··· 23 23 24 24 hash = 25 25 { 26 - x86_64-linux = "sha256-xbMiPmFGte4I6p+Zt4HaLL4MuHoMs++gf5iVPl7+h70="; 27 - aarch64-linux = "sha256-2bu8cI0u8Q3mCxZFoM0W/gQ4BipLUIoVe2e0a16ZQco="; 28 - x86_64-darwin = "sha256-lGRqxZxIpioTA5I9lsWIQ8S7AN8AXR7NGgSMCNN3cQI="; 29 - aarch64-darwin = "sha256-MGqT4Jhq81rvnMhQtg+N0C4ElOfUvLpVBq7EtwKztOE="; 26 + x86_64-linux = "sha256-/VkobDCai9+Lac0TCzm9gg/pNFDA1T2OJiad3qdz/2o="; 27 + aarch64-linux = "sha256-glJRQIFSs5D7b3BVblaL0o8Rndh3QuCup45AfRWymG0="; 28 + x86_64-darwin = "sha256-TBCgbaJ5Yyp+I8VCljYf3tlNnVaLkfwusJMlfY+Rggo="; 29 + aarch64-darwin = "sha256-MfJ/zIfmKJN4Fe6a50NwAqvetxB/W+BriQ+5mEIhWMg="; 30 30 } 31 31 .${system} or throwSystem; 32 32 ··· 35 35 in 36 36 stdenv.mkDerivation (finalAttrs: { 37 37 pname = "codeium"; 38 - version = "1.30.2"; 38 + version = "1.30.18"; 39 39 src = fetchurl { 40 40 name = "${finalAttrs.pname}-${finalAttrs.version}.gz"; 41 41 url = "https://github.com/Exafunction/codeium/releases/download/language-server-v${finalAttrs.version}/language_server_${plat}.gz";
+3 -3
pkgs/by-name/co/coroot-node-agent/package.nix
··· 7 7 8 8 buildGoModule rec { 9 9 pname = "coroot-node-agent"; 10 - version = "1.22.2"; 10 + version = "1.23.1"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "coroot"; 14 14 repo = "coroot-node-agent"; 15 15 rev = "v${version}"; 16 - hash = "sha256-b9JI0q6CF4D+sdfuwTkouAwJF/ghJByzsQBehwXttoU="; 16 + hash = "sha256-kisYm0bM+IZJ9qRx1lDlcFtZIdjsNfu6Ao75q84ruDM="; 17 17 }; 18 18 19 - vendorHash = "sha256-OZj3t8eFDbk2zZ+zGlgV8o9VC4/vYalIEm2dhD2JwK8="; 19 + vendorHash = "sha256-EXI4xpo4j/EzugW8zyu0Dvk2i6bYFBIF+SsL6GZ+J2Q="; 20 20 21 21 buildInputs = [ systemdLibs ]; 22 22
+2 -2
pkgs/by-name/co/coursier/package.nix
··· 20 20 in 21 21 stdenv.mkDerivation rec { 22 22 pname = "coursier"; 23 - version = "2.1.19"; 23 + version = "2.1.22"; 24 24 25 25 src = fetchurl { 26 26 url = "https://github.com/coursier/coursier/releases/download/v${version}/coursier"; 27 - hash = "sha256-E6LEi2m/BMCT9T5UYzMbIcoj42MKP2OIc27XGDMUI7w="; 27 + hash = "sha256-0ugWgvG3AHt7h8F8W8kCksyx93YO51i5StqGAEZXGmg="; 28 28 }; 29 29 30 30 dontUnpack = true;
+3 -3
pkgs/by-name/de/deck/package.nix
··· 8 8 9 9 buildGoModule rec { 10 10 pname = "deck"; 11 - version = "1.40.3"; 11 + version = "1.42.1"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "Kong"; 15 15 repo = "deck"; 16 16 rev = "refs/tags/v${version}"; 17 - hash = "sha256-n6WASCtDwBX4FASSWI17JpU7rDXIeSidPWhj/MB2tUs="; 17 + hash = "sha256-+HXTBTE8oEvyEwzwJbM0snVV0sKcKFHFnHB1iJ+4LJc="; 18 18 }; 19 19 20 20 nativeBuildInputs = [ installShellFiles ]; ··· 27 27 ]; 28 28 29 29 proxyVendor = true; # darwin/linux hash mismatch 30 - vendorHash = "sha256-csoSvu7uce1diB4EsQCRRt08mX+rJoxfZqAtaoo0x4M="; 30 + vendorHash = "sha256-YFEiv+mbU8ZE9u1lL4cZUo+7sVSu9P1UEkuKyAGwlkg="; 31 31 32 32 postInstall = '' 33 33 installShellCompletion --cmd deck \
+3 -3
pkgs/by-name/do/dolt/package.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "dolt"; 5 - version = "1.44.0"; 5 + version = "1.45.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "dolthub"; 9 9 repo = "dolt"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-sumd663G9Tztkuo21w7AE7ylzH2GnwNIL+/cGQz1SX8="; 11 + sha256 = "sha256-O5y3AdFOtxNwpt8uGkTC7XHY1M/6Cv3vTyeHyVlTRGw="; 12 12 }; 13 13 14 14 modRoot = "./go"; 15 15 subPackages = [ "cmd/dolt" ]; 16 - vendorHash = "sha256-bHLudlThXd4ttgmDyVwGD+SI9KJxIMo2iZARREZUSxk="; 16 + vendorHash = "sha256-h9HE90mOaDid2/uZcDBKZdbi6K1P2o27LZDnLAm+XSE="; 17 17 proxyVendor = true; 18 18 doCheck = false; 19 19
+3 -3
pkgs/by-name/du/dumbpipe/package.nix
··· 8 8 9 9 rustPlatform.buildRustPackage rec { 10 10 pname = "dumbpipe"; 11 - version = "0.21.0"; 11 + version = "0.22.0"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "n0-computer"; 15 15 repo = pname; 16 16 rev = "v${version}"; 17 - hash = "sha256-WJwjxVtv022Qm1NUnibh2jq1g0P/hi0HjeA9l7fMdRw="; 17 + hash = "sha256-NNSR8qAikwXC0bJ4jGQQ2gZZmgPin5M6xAaY2YhuBvw="; 18 18 }; 19 19 20 - cargoHash = "sha256-oq8jWRFVEB9sMZ7ufke5D1BMpGms8WJWVL/LGV+g/GI="; 20 + cargoHash = "sha256-yAz/VjdS4FeKKM9vjOPcASGByNQp2StvrFHwJnk2YUg="; 21 21 22 22 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin ( 23 23 with darwin.apple_sdk.frameworks;
+2 -2
pkgs/by-name/du/duo-unix/package.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "duo-unix"; 5 - version = "2.0.2"; 5 + version = "2.0.4"; 6 6 7 7 src = fetchurl { 8 8 url = "https://dl.duosecurity.com/duo_unix-${version}.tar.gz"; 9 - sha256 = "sha256-7huWd71SdnTe1ef8OoHgQKjYQKVpE8k/oNT7bA+OJR0="; 9 + sha256 = "sha256-P7IVX4RyMER2BX99FJUgv2JZx7KddktiJ101rTJJwmQ="; 10 10 }; 11 11 12 12 buildInputs = [ pam openssl zlib ];
+2 -1
pkgs/by-name/du/duplicity/package.nix
··· 88 88 paramiko 89 89 pyasn1 90 90 pycrypto 91 - pydrive2 91 + # Currently marked as broken. 92 + # pydrive2 92 93 future 93 94 ] 94 95 ++ paramiko.optional-dependencies.invoke;
+3 -3
pkgs/by-name/ec/eclint/package.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "eclint"; 9 - version = "0.5.0"; 9 + version = "0.5.1"; 10 10 11 11 src = fetchFromGitLab { 12 12 owner = "greut"; 13 13 repo = pname; 14 14 rev = "v${version}"; 15 - hash = "sha256-x0dBiRHaDxKrTCR2RfP2/bpBo6xewu8FX7Bv4ugaUAY="; 15 + hash = "sha256-XY+D0bRIgWTm2VH+uDVodYeyGeu+8Xyyq4xDvTDLii4="; 16 16 }; 17 17 18 - vendorHash = "sha256-aNQuALDe37lsmTGpClIBOQJlL0NFSAZCgcmTjx0kP+U="; 18 + vendorHash = "sha256-4bka3GRl75aUYpZrWuCIvKNwPY8ykp25e+kn+G6JQ/I="; 19 19 20 20 ldflags = [ "-X main.version=${version}" ]; 21 21
+4 -10
pkgs/by-name/fl/flattenReferencesGraph/package.nix
··· 1 1 { 2 2 callPackage, 3 - lib, 3 + nix-gitignore, 4 4 python3Packages, 5 5 }: 6 6 let 7 - inherit (lib) fileset; 8 7 helpers = callPackage ./helpers.nix { }; 9 8 pythonPackages = python3Packages; 9 + 10 10 in 11 11 pythonPackages.buildPythonApplication { 12 12 version = "0.1.0"; 13 13 pname = "flatten-references-graph"; 14 14 15 - src = fileset.toSource { 16 - root = ./src; 17 - fileset = fileset.unions [ 18 - ./src/.flake8 19 - ./src/flatten_references_graph 20 - ./src/setup.py 21 - ]; 22 - }; 15 + # Note: this uses only ./src/.gitignore 16 + src = nix-gitignore.gitignoreSource [ ] ./src; 23 17 24 18 propagatedBuildInputs = with pythonPackages; [ 25 19 igraph
+69 -11
pkgs/by-name/fl/flexget/package.nix
··· 1 1 { 2 2 lib, 3 - python3, 3 + python3Packages, 4 4 fetchFromGitHub, 5 + stdenv, 5 6 }: 6 7 7 - python3.pkgs.buildPythonApplication rec { 8 + python3Packages.buildPythonApplication rec { 8 9 pname = "flexget"; 9 - version = "3.13.2"; 10 + version = "3.13.5"; 10 11 pyproject = true; 11 12 12 13 # Fetch from GitHub in order to use `requirements.in` ··· 14 15 owner = "Flexget"; 15 16 repo = "Flexget"; 16 17 tag = "v${version}"; 17 - hash = "sha256-UjKYHZwAOOv3Adj13r2zJkVmxwEpJLQk87UslddX9Qk="; 18 + hash = "sha256-R6E5NWnrnezJsDm+Nnqgibv4e6mXVrOrKaCl/MBqUnY="; 18 19 }; 19 20 20 21 # relax dep constrains, keep environment constraints 21 22 pythonRelaxDeps = true; 22 23 23 - build-system = with python3.pkgs; [ setuptools ]; 24 + build-system = with python3Packages; [ setuptools ]; 24 25 25 - dependencies = with python3.pkgs; [ 26 + dependencies = with python3Packages; [ 26 27 # See https://github.com/Flexget/Flexget/blob/master/pyproject.toml 27 28 # and https://github.com/Flexget/Flexget/blob/develop/requirements.txt 28 29 apscheduler ··· 40 41 pyrss2gen 41 42 python-dateutil 42 43 pyyaml 44 + rarfile 43 45 rebulk 44 46 requests 45 47 rich ··· 66 68 deluge-client 67 69 cloudscraper 68 70 python-telegram-bot 71 + boto3 69 72 ]; 70 73 71 74 pythonImportsCheck = [ ··· 93 96 "flexget.plugins.services.pogcal_acquired" 94 97 ]; 95 98 96 - # ~400 failures 97 - doCheck = false; 99 + nativeCheckInputs = [ 100 + python3Packages.pytestCheckHook 101 + python3Packages.pytest-vcr 102 + python3Packages.paramiko 103 + ]; 98 104 99 - meta = with lib; { 105 + doCheck = !stdenv.isDarwin; 106 + 107 + disabledTests = [ 108 + # reach the Internet 109 + "TestExistsMovie" 110 + "TestImdb" 111 + "TestImdbLookup" 112 + "TestImdbParser" 113 + "TestInputHtml" 114 + "TestInputSites" 115 + "TestNfoLookupWithMovies" 116 + "TestNpoWatchlistInfo" 117 + "TestNpoWatchlistLanguageTheTVDBLookup" 118 + "TestNpoWatchlistPremium" 119 + "TestPlex" 120 + "TestRadarrListActions" 121 + "TestRssOnline" 122 + "TestSeriesRootAPI" 123 + "TestSftpDownload" 124 + "TestSftpList" 125 + "TestSonarrListActions" 126 + "TestSubtitleList" 127 + "TestTMDBMovieLookupAPI" 128 + "TestTVDBEpisodeABSLookupAPI" 129 + "TestTVDBEpisodeAirDateLookupAPI" 130 + "TestTVDBEpisodeLookupAPI" 131 + "TestTVDBExpire" 132 + "TestTVDBFavorites" 133 + "TestTVDBLanguages" 134 + "TestTVDBList" 135 + "TestTVDBLookup" 136 + "TestTVDBLookup" 137 + "TestTVDBSeriesActorsLookupAPI" 138 + "TestTVDBSeriesLookupAPI" 139 + "TestTVDSearchIMDBLookupAPI" 140 + "TestTVDSearchNameLookupAPI" 141 + "TestTVDSearchZAP2ITLookupAPI" 142 + "TestTVMAzeSeriesLookupAPI" 143 + "TestTVMazeSeasonLookup" 144 + "TestTVMazeShowLookup" 145 + "TestTVMazeUnicodeLookup" 146 + "TestTaskParsing::test_selected_parser_cleared" 147 + "TestTheTVDBLanguages" 148 + "TestTheTVDBList" 149 + "TestTmdbLookup" 150 + "TestURLRewriters" 151 + "TestURLRewriters::test_ettv" 152 + # others 153 + "TestRegexp" 154 + "TestYamlLists" 155 + ]; 156 + 157 + meta = { 100 158 homepage = "https://flexget.com/"; 101 159 changelog = "https://github.com/Flexget/Flexget/releases/tag/v${version}"; 102 160 description = "Multipurpose automation tool for all of your media"; 103 - license = licenses.mit; 104 - maintainers = with maintainers; [ pbsds ]; 161 + license = lib.licenses.mit; 162 + maintainers = with lib.maintainers; [ pbsds ]; 105 163 }; 106 164 }
-62
pkgs/by-name/gh/ghostty/darwin.nix
··· 1 - { 2 - pname, 3 - version, 4 - outputs, 5 - meta, 6 - lib, 7 - stdenvNoCC, 8 - fetchurl, 9 - _7zz, 10 - makeWrapper, 11 - }: 12 - 13 - stdenvNoCC.mkDerivation (finalAttrs: { 14 - inherit pname version outputs; 15 - 16 - src = fetchurl { 17 - url = "https://release.files.ghostty.org/${finalAttrs.version}/Ghostty.dmg"; 18 - sha256 = "sha256-CR96Kz9BYKFtfVKygiEku51XFJk4FfYqfXACeYQ3JlI="; 19 - }; 20 - 21 - nativeBuildInputs = [ 22 - _7zz 23 - makeWrapper 24 - ]; 25 - 26 - sourceRoot = "."; 27 - installPhase = '' 28 - runHook preInstall 29 - 30 - mkdir -p $out/Applications 31 - mv Ghostty.app $out/Applications/ 32 - makeWrapper $out/Applications/Ghostty.app/Contents/MacOS/ghostty $out/bin/ghostty 33 - 34 - runHook postInstall 35 - ''; 36 - 37 - postFixup = 38 - let 39 - resources = "$out/Applications/Ghostty.app/Contents/Resources"; 40 - in 41 - '' 42 - mkdir -p $man/share 43 - ln -s ${resources}/man $man/share/man 44 - 45 - mkdir -p $terminfo/share 46 - ln -s ${resources}/terminfo $terminfo/share/terminfo 47 - 48 - mkdir -p $shell_integration 49 - for folder in "${resources}/ghostty/shell-integration"/*; do 50 - ln -s $folder $shell_integration/$(basename "$folder") 51 - done 52 - 53 - mkdir -p $vim 54 - for folder in "${resources}/vim/vimfiles"/*; do 55 - ln -s $folder $vim/$(basename "$folder") 56 - done 57 - ''; 58 - 59 - meta = meta // { 60 - sourceProvenance = [ lib.sourceTypes.binaryNativeCode ]; 61 - }; 62 - })
+7 -7
pkgs/by-name/gh/ghostty/deps.nix
··· 1 1 # generated by zon2nix (https://github.com/Cloudef/zig2nix) 2 + 2 3 { 3 4 lib, 4 5 linkFarm, ··· 8 9 zig, 9 10 name ? "zig-packages", 10 11 }: 12 + 11 13 with builtins; 12 14 with lib; 15 + 13 16 let 14 17 unpackZigArtifact = 15 - { 16 - name, 17 - artifact, 18 - }: 18 + { name, artifact }: 19 19 runCommandLocal name 20 20 { 21 21 nativeBuildInputs = [ zig ]; ··· 169 169 }; 170 170 } 171 171 { 172 - name = "12204358b2848ffd993d3425055bff0a5ba9b1b60bead763a6dea0517965d7290a6c"; 172 + name = "1220cc25b537556a42b0948437c791214c229efb78b551c80b1e9b18d70bf0498620"; 173 173 path = fetchZigArtifact { 174 174 name = "iterm2_themes"; 175 - url = "https://github.com/mbadolato/iTerm2-Color-Schemes/archive/d6c42066b3045292e0b1154ad84ff22d6863ebf7.tar.gz"; 176 - hash = "sha256-s6us3PkOPmQCtLS9QNPM7BDLt7x+37KbmYF9d4NMD/c="; 175 + url = "https://github.com/mbadolato/iTerm2-Color-Schemes/archive/e030599a6a6e19fcd1ea047c7714021170129d56.tar.gz"; 176 + hash = "sha256-hFGjD0rNfZ7Qd7uJZgVn+FmIVXunbjLT+E1BoXhXoJE="; 177 177 }; 178 178 } 179 179 {
-178
pkgs/by-name/gh/ghostty/linux.nix
··· 1 - { 2 - pname, 3 - version, 4 - outputs, 5 - meta, 6 - lib, 7 - stdenv, 8 - bzip2, 9 - callPackage, 10 - fetchFromGitHub, 11 - fontconfig, 12 - freetype, 13 - glib, 14 - glslang, 15 - harfbuzz, 16 - libGL, 17 - libX11, 18 - libadwaita, 19 - ncurses, 20 - nixosTests, 21 - oniguruma, 22 - pandoc, 23 - pkg-config, 24 - removeReferencesTo, 25 - versionCheckHook, 26 - wrapGAppsHook4, 27 - zig_0_13, 28 - # Usually you would override `zig.hook` with this, but we do that internally 29 - # since upstream recommends a non-default level 30 - # https://github.com/ghostty-org/ghostty/blob/4b4d4062dfed7b37424c7210d1230242c709e990/PACKAGING.md#build-options 31 - optimizeLevel ? "ReleaseFast", 32 - # https://github.com/ghostty-org/ghostty/blob/4b4d4062dfed7b37424c7210d1230242c709e990/build.zig#L106 33 - withAdwaita ? true, 34 - }: 35 - 36 - let 37 - zig_hook = zig_0_13.hook.overrideAttrs { 38 - zig_default_flags = "-Dcpu=baseline -Doptimize=${optimizeLevel} --color off"; 39 - }; 40 - 41 - # https://github.com/ghostty-org/ghostty/blob/4b4d4062dfed7b37424c7210d1230242c709e990/src/apprt.zig#L72-L76 42 - appRuntime = if stdenv.hostPlatform.isLinux then "gtk" else "none"; 43 - # https://github.com/ghostty-org/ghostty/blob/4b4d4062dfed7b37424c7210d1230242c709e990/src/font/main.zig#L94 44 - fontBackend = if stdenv.hostPlatform.isDarwin then "coretext" else "fontconfig_freetype"; 45 - # https://github.com/ghostty-org/ghostty/blob/4b4d4062dfed7b37424c7210d1230242c709e990/src/renderer.zig#L51-L52 46 - renderer = if stdenv.hostPlatform.isDarwin then "metal" else "opengl"; 47 - in 48 - 49 - stdenv.mkDerivation (finalAttrs: { 50 - inherit 51 - pname 52 - version 53 - outputs 54 - meta 55 - ; 56 - 57 - src = fetchFromGitHub { 58 - owner = "ghostty-org"; 59 - repo = "ghostty"; 60 - tag = "v${finalAttrs.version}"; 61 - hash = "sha256-AHI1Z4mfgXkNwQA8xYq4tS0/BARbHL7gQUT41vCxQTM="; 62 - }; 63 - 64 - # Avoid using runtime hacks to help find X11 65 - postPatch = lib.optionalString (appRuntime == "gtk") '' 66 - substituteInPlace src/apprt/gtk/x11.zig \ 67 - --replace-warn 'std.DynLib.open("libX11.so");' 'std.DynLib.open("${lib.getLib libX11}/lib/libX11.so");' 68 - ''; 69 - 70 - deps = callPackage ./deps.nix { 71 - name = "${finalAttrs.pname}-cache-${finalAttrs.version}"; 72 - }; 73 - 74 - strictDeps = true; 75 - 76 - nativeBuildInputs = 77 - [ 78 - ncurses 79 - pandoc 80 - pkg-config 81 - removeReferencesTo 82 - zig_hook 83 - ] 84 - ++ lib.optionals (appRuntime == "gtk") [ 85 - glib # Required for `glib-compile-schemas` 86 - wrapGAppsHook4 87 - ]; 88 - 89 - buildInputs = 90 - [ 91 - glslang 92 - oniguruma 93 - ] 94 - ++ lib.optional (appRuntime == "gtk" && withAdwaita) libadwaita 95 - ++ lib.optional (appRuntime == "gtk") libX11 96 - ++ lib.optional (renderer == "opengl") libGL 97 - ++ lib.optionals (fontBackend == "fontconfig_freetype") [ 98 - bzip2 99 - fontconfig 100 - freetype 101 - harfbuzz 102 - ]; 103 - 104 - zigBuildFlags = 105 - [ 106 - "--system" 107 - "${finalAttrs.deps}" 108 - "-Dversion-string=${finalAttrs.version}" 109 - 110 - "-Dapp-runtime=${appRuntime}" 111 - "-Dfont-backend=${fontBackend}" 112 - "-Dgtk-adwaita=${lib.boolToString withAdwaita}" 113 - "-Drenderer=${renderer}" 114 - ] 115 - ++ lib.mapAttrsToList (name: package: "-fsys=${name} --search-prefix ${lib.getLib package}") { 116 - inherit glslang; 117 - }; 118 - 119 - zigCheckFlags = finalAttrs.zigBuildFlags; 120 - 121 - # Unit tests currently fail inside the sandbox 122 - doCheck = false; 123 - 124 - /** 125 - Ghostty really likes all of it's resources to be in the same directory, so link them back after we split them 126 - 127 - - https://github.com/ghostty-org/ghostty/blob/4b4d4062dfed7b37424c7210d1230242c709e990/src/os/resourcesdir.zig#L11-L52 128 - - https://github.com/ghostty-org/ghostty/blob/4b4d4062dfed7b37424c7210d1230242c709e990/src/termio/Exec.zig#L745-L750 129 - - https://github.com/ghostty-org/ghostty/blob/4b4d4062dfed7b37424c7210d1230242c709e990/src/termio/Exec.zig#L818-L834 130 - 131 - terminfo and shell integration should also be installable on remote machines 132 - 133 - ```nix 134 - { pkgs, ... }: { 135 - environment.systemPackages = [ pkgs.ghostty.terminfo ]; 136 - 137 - programs.bash = { 138 - interactiveShellInit = '' 139 - if [[ "$TERM" == "xterm-ghostty" ]]; then 140 - builtin source ${pkgs.ghostty.shell_integration}/bash/ghostty.bash 141 - fi 142 - ''; 143 - }; 144 - } 145 - ``` 146 - */ 147 - postFixup = '' 148 - ln -s $man/share/man $out/share/man 149 - 150 - moveToOutput share/terminfo $terminfo 151 - ln -s $terminfo/share/terminfo $out/share/terminfo 152 - 153 - mv $out/share/ghostty/shell-integration $shell_integration 154 - ln -s $shell_integration $out/share/ghostty/shell-integration 155 - 156 - mv $out/share/vim/vimfiles $vim 157 - rmdir $out/share/vim 158 - ln -s $vim $out/share/vim-plugins 159 - 160 - remove-references-to -t ${finalAttrs.deps} $out/bin/.ghostty-wrapped 161 - ''; 162 - 163 - nativeInstallCheckInputs = [ 164 - versionCheckHook 165 - ]; 166 - 167 - doInstallCheck = true; 168 - 169 - versionCheckProgramArg = [ "--version" ]; 170 - 171 - passthru = { 172 - tests = lib.optionalAttrs stdenv.hostPlatform.isLinux { 173 - inherit (nixosTests) allTerminfo; 174 - nixos = nixosTests.terminal-emulators.ghostty; 175 - }; 176 - }; 177 - 178 - })
+163 -25
pkgs/by-name/gh/ghostty/package.nix
··· 1 1 { 2 - stdenvNoCC, 2 + lib, 3 + stdenv, 4 + bzip2, 3 5 callPackage, 4 - lib, 6 + fetchFromGitHub, 7 + fontconfig, 8 + freetype, 9 + glib, 10 + glslang, 11 + harfbuzz, 12 + libGL, 13 + libX11, 14 + libadwaita, 15 + ncurses, 16 + nixosTests, 17 + oniguruma, 18 + pandoc, 19 + pkg-config, 20 + removeReferencesTo, 21 + versionCheckHook, 22 + wrapGAppsHook4, 23 + zig_0_13, 24 + # Usually you would override `zig.hook` with this, but we do that internally 25 + # since upstream recommends a non-default level 26 + # https://github.com/ghostty-org/ghostty/blob/4b4d4062dfed7b37424c7210d1230242c709e990/PACKAGING.md#build-options 27 + optimizeLevel ? "ReleaseFast", 28 + # https://github.com/ghostty-org/ghostty/blob/4b4d4062dfed7b37424c7210d1230242c709e990/build.zig#L106 29 + withAdwaita ? true, 5 30 }: 6 31 7 32 let 33 + zig_hook = zig_0_13.hook.overrideAttrs { 34 + zig_default_flags = "-Dcpu=baseline -Doptimize=${optimizeLevel} --color off"; 35 + }; 36 + 37 + # https://github.com/ghostty-org/ghostty/blob/4b4d4062dfed7b37424c7210d1230242c709e990/src/apprt.zig#L72-L76 38 + appRuntime = if stdenv.hostPlatform.isLinux then "gtk" else "none"; 39 + # https://github.com/ghostty-org/ghostty/blob/4b4d4062dfed7b37424c7210d1230242c709e990/src/font/main.zig#L94 40 + fontBackend = if stdenv.hostPlatform.isDarwin then "coretext" else "fontconfig_freetype"; 41 + # https://github.com/ghostty-org/ghostty/blob/4b4d4062dfed7b37424c7210d1230242c709e990/src/renderer.zig#L51-L52 42 + renderer = if stdenv.hostPlatform.isDarwin then "metal" else "opengl"; 43 + in 44 + 45 + stdenv.mkDerivation (finalAttrs: { 8 46 pname = "ghostty"; 9 - version = "1.0.0"; 47 + version = "1.0.1"; 10 48 outputs = [ 11 49 "out" 12 50 "man" ··· 14 52 "terminfo" 15 53 "vim" 16 54 ]; 55 + 56 + src = fetchFromGitHub { 57 + owner = "ghostty-org"; 58 + repo = "ghostty"; 59 + tag = "v${finalAttrs.version}"; 60 + hash = "sha256-BiXFNeoL+BYpiqzCuDIrZGQ6JVI8cBOXerJH48CbnxU="; 61 + }; 62 + 63 + deps = callPackage ./deps.nix { 64 + name = "${finalAttrs.pname}-cache-${finalAttrs.version}"; 65 + }; 66 + 67 + strictDeps = true; 68 + 69 + nativeBuildInputs = 70 + [ 71 + ncurses 72 + pandoc 73 + pkg-config 74 + removeReferencesTo 75 + zig_hook 76 + ] 77 + ++ lib.optionals (appRuntime == "gtk") [ 78 + glib # Required for `glib-compile-schemas` 79 + wrapGAppsHook4 80 + ]; 81 + 82 + buildInputs = 83 + [ 84 + glslang 85 + oniguruma 86 + ] 87 + ++ lib.optional (appRuntime == "gtk" && withAdwaita) libadwaita 88 + ++ lib.optional (appRuntime == "gtk") libX11 89 + ++ lib.optional (renderer == "opengl") libGL 90 + ++ lib.optionals (fontBackend == "fontconfig_freetype") [ 91 + bzip2 92 + fontconfig 93 + freetype 94 + harfbuzz 95 + ]; 96 + 97 + zigBuildFlags = 98 + [ 99 + "--system" 100 + "${finalAttrs.deps}" 101 + "-Dversion-string=${finalAttrs.version}" 102 + 103 + "-Dapp-runtime=${appRuntime}" 104 + "-Dfont-backend=${fontBackend}" 105 + "-Dgtk-adwaita=${lib.boolToString withAdwaita}" 106 + "-Drenderer=${renderer}" 107 + ] 108 + ++ lib.mapAttrsToList (name: package: "-fsys=${name} --search-prefix ${lib.getLib package}") { 109 + inherit glslang; 110 + }; 111 + 112 + zigCheckFlags = finalAttrs.zigBuildFlags; 113 + 114 + doCheck = true; 115 + 116 + /** 117 + Ghostty really likes all of it's resources to be in the same directory, so link them back after we split them 118 + 119 + - https://github.com/ghostty-org/ghostty/blob/4b4d4062dfed7b37424c7210d1230242c709e990/src/os/resourcesdir.zig#L11-L52 120 + - https://github.com/ghostty-org/ghostty/blob/4b4d4062dfed7b37424c7210d1230242c709e990/src/termio/Exec.zig#L745-L750 121 + - https://github.com/ghostty-org/ghostty/blob/4b4d4062dfed7b37424c7210d1230242c709e990/src/termio/Exec.zig#L818-L834 122 + 123 + terminfo and shell integration should also be installable on remote machines 124 + 125 + ```nix 126 + { pkgs, ... }: { 127 + environment.systemPackages = [ pkgs.ghostty.terminfo ]; 128 + 129 + programs.bash = { 130 + interactiveShellInit = '' 131 + if [[ "$TERM" == "xterm-ghostty" ]]; then 132 + builtin source ${pkgs.ghostty.shell_integration}/bash/ghostty.bash 133 + fi 134 + ''; 135 + }; 136 + } 137 + ``` 138 + */ 139 + postFixup = '' 140 + ln -s $man/share/man $out/share/man 141 + 142 + moveToOutput share/terminfo $terminfo 143 + ln -s $terminfo/share/terminfo $out/share/terminfo 144 + 145 + mv $out/share/ghostty/shell-integration $shell_integration 146 + ln -s $shell_integration $out/share/ghostty/shell-integration 147 + 148 + mv $out/share/vim/vimfiles $vim 149 + rmdir $out/share/vim 150 + ln -s $vim $out/share/vim-plugins 151 + 152 + 153 + remove-references-to -t ${finalAttrs.deps} $out/bin/.ghostty-wrapped 154 + ''; 155 + 156 + nativeInstallCheckInputs = [ 157 + versionCheckHook 158 + ]; 159 + 160 + doInstallCheck = true; 161 + 162 + versionCheckProgramArg = [ "--version" ]; 163 + 164 + passthru = { 165 + tests = lib.optionalAttrs stdenv.hostPlatform.isLinux { 166 + inherit (nixosTests) allTerminfo; 167 + nixos = nixosTests.terminal-emulators.ghostty; 168 + }; 169 + }; 170 + 17 171 meta = { 18 172 description = "Fast, native, feature-rich terminal emulator pushing modern features"; 19 173 longDescription = '' ··· 24 178 ''; 25 179 homepage = "https://ghostty.org/"; 26 180 downloadPage = "https://ghostty.org/download"; 27 - 181 + changelog = "https://ghostty.org/docs/install/release-notes/${ 182 + builtins.replaceStrings [ "." ] [ "-" ] finalAttrs.version 183 + }"; 28 184 license = lib.licenses.mit; 29 185 mainProgram = "ghostty"; 30 186 maintainers = with lib.maintainers; [ 31 187 jcollie 32 188 pluiedev 33 189 getchoo 34 - DimitarNestorov 35 190 ]; 36 191 outputsToInstall = [ 37 192 "out" ··· 40 195 "terminfo" 41 196 ]; 42 197 platforms = lib.platforms.linux ++ lib.platforms.darwin; 198 + # Issues finding the SDK in the sandbox 199 + broken = stdenv.hostPlatform.isDarwin; 43 200 }; 44 - in 45 - 46 - if stdenvNoCC.hostPlatform.isDarwin then 47 - callPackage ./darwin.nix { 48 - inherit 49 - pname 50 - version 51 - outputs 52 - meta 53 - ; 54 - } 55 - else 56 - callPackage ./linux.nix { 57 - inherit 58 - pname 59 - version 60 - outputs 61 - meta 62 - ; 63 - } 201 + })
+2 -2
pkgs/by-name/gi/gi-crystal/package.nix
··· 7 7 }: 8 8 crystal.buildCrystalPackage rec { 9 9 pname = "gi-crystal"; 10 - version = "0.22.2"; 10 + version = "0.24.0"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "hugopl"; 14 14 repo = "gi-crystal"; 15 15 rev = "v${version}"; 16 - hash = "sha256-JfBbKqobikpTGMryeO86zZ46EbOHybem+Cc5FZEL6i4="; 16 + hash = "sha256-0LsYREn4zWLQYUTpNWJhLLHWmg7UQzxOoQiAMmw3ZXQ="; 17 17 }; 18 18 19 19 # Make sure gi-crystal picks up the name of the so or dylib and not the leading nix store path
+419
pkgs/by-name/gl/glib/package.nix
··· 1 + { 2 + config, 3 + lib, 4 + stdenv, 5 + fetchurl, 6 + gettext, 7 + meson, 8 + ninja, 9 + pkg-config, 10 + perl, 11 + python3, 12 + python3Packages, 13 + libiconv, 14 + zlib, 15 + libffi, 16 + pcre2, 17 + elfutils, 18 + gnome, 19 + libselinux, 20 + bash, 21 + gnum4, 22 + libxslt, 23 + docutils, 24 + gi-docgen, 25 + # use util-linuxMinimal to avoid circular dependency (util-linux, systemd, glib) 26 + util-linuxMinimal ? null, 27 + buildPackages, 28 + 29 + # this is just for tests (not in the closure of any regular package) 30 + dbus, 31 + tzdata, 32 + desktop-file-utils, 33 + shared-mime-info, 34 + darwin, 35 + makeHardcodeGsettingsPatch, 36 + testers, 37 + gobject-introspection, 38 + libsystemtap, 39 + libsysprof-capture, 40 + mesonEmulatorHook, 41 + withIntrospection ? 42 + stdenv.hostPlatform.emulatorAvailable buildPackages 43 + && lib.meta.availableOn stdenv.hostPlatform gobject-introspection 44 + && stdenv.hostPlatform.isLittleEndian == stdenv.buildPlatform.isLittleEndian, 45 + }: 46 + 47 + assert stdenv.hostPlatform.isLinux -> util-linuxMinimal != null; 48 + 49 + let 50 + gobject-introspection' = buildPackages.gobject-introspection.override { 51 + propagateFullGlib = false; 52 + # Avoid introducing cairo, which enables gobjectSupport by default. 53 + x11Support = false; 54 + }; 55 + 56 + librarySuffix = 57 + if (stdenv.hostPlatform.extensions.library == ".so") then 58 + "2.0.so.0" 59 + else if (stdenv.hostPlatform.extensions.library == ".dylib") then 60 + "2.0.0.dylib" 61 + else if (stdenv.hostPlatform.extensions.library == ".a") then 62 + "2.0.a" 63 + else if (stdenv.hostPlatform.extensions.library == ".dll") then 64 + "2.0-0.dll" 65 + else 66 + "2.0-0.lib"; 67 + 68 + systemtap' = buildPackages.linuxPackages.systemtap.override { withStap = false; }; 69 + 70 + withDtrace = 71 + lib.meta.availableOn stdenv.buildPlatform systemtap' 72 + && 73 + # dtrace support requires sys/sdt.h header 74 + lib.meta.availableOn stdenv.hostPlatform libsystemtap; 75 + in 76 + 77 + stdenv.mkDerivation (finalAttrs: { 78 + pname = "glib"; 79 + version = "2.82.4"; 80 + 81 + outputs = [ 82 + "bin" 83 + "out" 84 + "dev" 85 + "devdoc" 86 + ]; 87 + 88 + setupHook = ./setup-hook.sh; 89 + 90 + src = fetchurl { 91 + url = "mirror://gnome/sources/glib/${lib.versions.majorMinor finalAttrs.version}/glib-${finalAttrs.version}.tar.xz"; 92 + hash = "sha256-N90Id/6WTNFemicQsEShgw+xvZNlKm0Mtriy3/GHxwk="; 93 + }; 94 + 95 + patches = 96 + lib.optionals stdenv.hostPlatform.isDarwin [ 97 + ./darwin-compilation.patch 98 + ] 99 + ++ lib.optionals stdenv.hostPlatform.isMusl [ 100 + ./quark_init_on_demand.patch 101 + ./gobject_init_on_demand.patch 102 + ] 103 + ++ [ 104 + # This patch lets GLib's GDesktopAppInfo API watch and notice changes 105 + # to the Nix user and system profiles. That way, the list of available 106 + # applications shown by the desktop environment is immediately updated 107 + # when the user installs or removes any 108 + # (see <https://issues.guix.gnu.org/35594>). 109 + 110 + # It does so by monitoring /nix/var/nix/profiles (for changes to the system 111 + # profile) and /nix/var/nix/profiles/per-user/USER (for changes to the user 112 + # profile) as well as /etc/profiles/per-user (for chanes to the user 113 + # environment profile) and crawling their share/applications sub-directory when 114 + # changes happen. 115 + ./glib-appinfo-watch.patch 116 + 117 + ./schema-override-variable.patch 118 + 119 + # Add support for Pantheon’s terminal emulator. 120 + ./elementary-terminal-support.patch 121 + 122 + # GLib contains many binaries used for different purposes; 123 + # we will install them to different outputs: 124 + # 1. Tools for desktop environment and introspection ($bin) 125 + # * gapplication (non-darwin) 126 + # * gdbus 127 + # * gi-compile-repository 128 + # * gi-decompile-typelib 129 + # * gi-inspect-typelib 130 + # * gio 131 + # * gio-launch-desktop (symlink to $out) 132 + # * gsettings 133 + # 2. Development/build tools ($dev) 134 + # * gdbus-codegen 135 + # * gio-querymodules 136 + # * glib-compile-resources 137 + # * glib-compile-schemas 138 + # * glib-genmarshal 139 + # * glib-gettextize 140 + # * glib-mkenums 141 + # * gobject-query 142 + # * gresource 143 + # * gtester 144 + # * gtester-report 145 + # 3. Tools for desktop environment that cannot go to $bin due to $out depending on them ($out) 146 + # * gio-launch-desktop 147 + ./split-dev-programs.patch 148 + 149 + # Tell Meson to install gdb scripts next to the lib 150 + # GDB only looks there and in ${gdb}/share/gdb/auto-load, 151 + # and by default meson installs in to $out/share/gdb/auto-load 152 + # which does not help 153 + ./gdb_script.patch 154 + ]; 155 + 156 + strictDeps = true; 157 + 158 + buildInputs = 159 + [ 160 + finalAttrs.setupHook 161 + ] 162 + ++ lib.optionals (!stdenv.hostPlatform.isFreeBSD) [ 163 + libsysprof-capture 164 + ] 165 + ++ [ 166 + pcre2 167 + ] 168 + ++ lib.optionals (!stdenv.hostPlatform.isWindows) [ 169 + bash 170 + gnum4 # install glib-gettextize and m4 macros for other apps to use 171 + ] 172 + ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform elfutils) [ 173 + elfutils 174 + ] 175 + ++ lib.optionals withDtrace [ 176 + libsystemtap 177 + ] 178 + ++ lib.optionals stdenv.hostPlatform.isLinux [ 179 + libselinux 180 + util-linuxMinimal # for libmount 181 + ] 182 + ++ lib.optionals stdenv.hostPlatform.isDarwin ( 183 + with darwin.apple_sdk.frameworks; 184 + [ 185 + AppKit 186 + Carbon 187 + Cocoa 188 + CoreFoundation 189 + CoreServices 190 + Foundation 191 + ] 192 + ); 193 + 194 + depsBuildBuild = [ 195 + pkg-config # required to find native gi-docgen 196 + ]; 197 + 198 + nativeBuildInputs = 199 + [ 200 + docutils # for rst2man, rst2html5 201 + meson 202 + ninja 203 + pkg-config 204 + perl 205 + python3 206 + python3Packages.packaging # mostly used to make meson happy 207 + python3Packages.wrapPython # for patchPythonScript 208 + gettext 209 + libxslt 210 + ] 211 + ++ lib.optionals withIntrospection [ 212 + gi-docgen 213 + gobject-introspection' 214 + ] 215 + ++ lib.optionals (withIntrospection && !stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ 216 + mesonEmulatorHook 217 + ] 218 + ++ lib.optionals withDtrace [ 219 + systemtap' # for dtrace 220 + ]; 221 + 222 + propagatedBuildInputs = [ 223 + zlib 224 + libffi 225 + gettext 226 + libiconv 227 + ]; 228 + 229 + nativeCheckInputs = [ 230 + tzdata 231 + desktop-file-utils 232 + shared-mime-info 233 + ]; 234 + 235 + mesonFlags = 236 + [ 237 + "-Dglib_debug=disabled" # https://gitlab.gnome.org/GNOME/glib/-/issues/3421#note_2206315 238 + "-Ddocumentation=true" # gvariant specification can be built without gi-docgen 239 + (lib.mesonEnable "dtrace" withDtrace) 240 + (lib.mesonEnable "systemtap" withDtrace) # requires dtrace option to be enabled 241 + "-Dnls=enabled" 242 + "-Ddevbindir=${placeholder "dev"}/bin" 243 + (lib.mesonEnable "introspection" withIntrospection) 244 + # FIXME: Fails when linking target glib/tests/libconstructor-helper.so 245 + # relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a shared object 246 + "-Dtests=${lib.boolToString (!stdenv.hostPlatform.isStatic)}" 247 + ] 248 + ++ lib.optionals (!lib.meta.availableOn stdenv.hostPlatform elfutils) [ 249 + "-Dlibelf=disabled" 250 + ] 251 + ++ lib.optionals stdenv.hostPlatform.isFreeBSD [ 252 + "-Db_lundef=false" 253 + "-Dxattr=false" 254 + "-Dsysprof=disabled" # sysprof-capture does not build on FreeBSD 255 + ]; 256 + 257 + env = { 258 + NIX_CFLAGS_COMPILE = toString [ 259 + "-Wno-error=nonnull" 260 + # Default for release buildtype but passed manually because 261 + # we're using plain 262 + "-DG_DISABLE_CAST_CHECKS" 263 + ]; 264 + }; 265 + 266 + postPatch = 267 + '' 268 + patchShebangs glib/gen-unicode-tables.pl 269 + patchShebangs glib/tests/gen-casefold-txt.py 270 + patchShebangs glib/tests/gen-casemap-txt.py 271 + patchShebangs tools/gen-visibility-macros.py 272 + patchShebangs tests 273 + 274 + # Needs machine-id, comment the test 275 + sed -e '/\/gdbus\/codegen-peer-to-peer/ s/^\/*/\/\//' -i gio/tests/gdbus-peer.c 276 + sed -e '/g_test_add_func/ s/^\/*/\/\//' -i gio/tests/gdbus-address-get-session.c 277 + # All gschemas fail to pass the test, upstream bug? 278 + sed -e '/g_test_add_data_func/ s/^\/*/\/\//' -i gio/tests/gschema-compile.c 279 + # Cannot reproduce the failing test_associations on hydra 280 + sed -e '/\/appinfo\/associations/d' -i gio/tests/appinfo.c 281 + # Needed because of libtool wrappers 282 + sed -e '/g_subprocess_launcher_set_environ (launcher, envp);/a g_subprocess_launcher_setenv (launcher, "PATH", g_getenv("PATH"), TRUE);' -i gio/tests/gsubprocess.c 283 + '' 284 + + lib.optionalString stdenv.hostPlatform.isWindows '' 285 + substituteInPlace gio/win32/meson.build \ 286 + --replace "libintl, " "" 287 + ''; 288 + 289 + postConfigure = '' 290 + patchShebangs gio/gdbus-2.0/codegen/gdbus-codegen gobject/glib-{genmarshal,mkenums} 291 + ''; 292 + 293 + DETERMINISTIC_BUILD = 1; 294 + 295 + postInstall = '' 296 + moveToOutput "share/glib-2.0" "$dev" 297 + moveToOutput "share/glib-2.0/gdb" "$out" 298 + substituteInPlace "$dev/bin/gdbus-codegen" --replace "$out" "$dev" 299 + sed -i "$dev/bin/glib-gettextize" -e "s|^gettext_dir=.*|gettext_dir=$dev/share/glib-2.0/gettext|" 300 + 301 + # This file is *included* in gtk3 and would introduce runtime reference via __FILE__. 302 + sed '1i#line 1 "glib-${finalAttrs.version}/include/glib-2.0/gobject/gobjectnotifyqueue.c"' \ 303 + -i "$dev"/include/glib-2.0/gobject/gobjectnotifyqueue.c 304 + for i in $bin/bin/*; do 305 + moveToOutput "share/bash-completion/completions/''${i##*/}" "$bin" 306 + done 307 + for i in $dev/bin/*; do 308 + moveToOutput "share/bash-completion/completions/''${i##*/}" "$dev" 309 + done 310 + ''; 311 + 312 + preFixup = lib.optionalString (!stdenv.hostPlatform.isStatic) '' 313 + buildPythonPath ${python3Packages.packaging} 314 + patchPythonScript "$dev/share/glib-2.0/codegen/utils.py" 315 + ''; 316 + 317 + # Move man pages to the same output as their binaries (needs to be 318 + # done after preFixupHooks which moves man pages too - in 319 + # _multioutDocs) 320 + postFixup = '' 321 + for i in $dev/bin/*; do 322 + moveToOutput "share/man/man1/''${i##*/}.1.*" "$dev" 323 + done 324 + 325 + # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back. 326 + moveToOutput "share/doc" "$devdoc" 327 + ''; 328 + 329 + # Conditional necessary to break infinite recursion with passthru.tests 330 + preCheck = lib.optionalString finalAttrs.finalPackage.doCheck or config.doCheckByDefault or false '' 331 + export LD_LIBRARY_PATH="$NIX_BUILD_TOP/glib-${finalAttrs.version}/glib/.libs''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" 332 + export TZDIR="${tzdata}/share/zoneinfo" 333 + export XDG_CACHE_HOME="$TMP" 334 + export XDG_RUNTIME_HOME="$TMP" 335 + export HOME="$TMP" 336 + export XDG_DATA_DIRS="${desktop-file-utils}/share:${shared-mime-info}/share" 337 + export G_TEST_DBUS_DAEMON="${dbus}/bin/dbus-daemon" 338 + 339 + # pkg_config_tests expects a PKG_CONFIG_PATH that points to meson-private, wrapped pkg-config 340 + # tries to be clever and picks up the wrong glib at the end. 341 + export PATH="${buildPackages.pkg-config-unwrapped}/bin:$PATH:$(pwd)/gobject" 342 + echo "PATH=$PATH" 343 + 344 + # Our gobject-introspection patches make the shared library paths absolute 345 + # in the GIR files. When running tests, the library is not yet installed, 346 + # though, so we need to replace the absolute path with a local one during build. 347 + # We are using a symlink that we will delete before installation. 348 + mkdir -p $out/lib 349 + ln -s $PWD/gobject/libgobject-${librarySuffix} $out/lib/libgobject-${librarySuffix} 350 + ln -s $PWD/gio/libgio-${librarySuffix} $out/lib/libgio-${librarySuffix} 351 + ln -s $PWD/glib/libglib-${librarySuffix} $out/lib/libglib-${librarySuffix} 352 + ''; 353 + 354 + postCheck = '' 355 + rm $out/lib/libgobject-${librarySuffix} 356 + rm $out/lib/libgio-${librarySuffix} 357 + rm $out/lib/libglib-${librarySuffix} 358 + ''; 359 + 360 + separateDebugInfo = stdenv.hostPlatform.isLinux; 361 + 362 + passthru = rec { 363 + gioModuleDir = "lib/gio/modules"; 364 + 365 + makeSchemaDataDirPath = dir: name: "${dir}/share/gsettings-schemas/${name}"; 366 + makeSchemaPath = dir: name: "${makeSchemaDataDirPath dir name}/glib-2.0/schemas"; 367 + getSchemaPath = pkg: makeSchemaPath pkg pkg.name; 368 + getSchemaDataDirPath = pkg: makeSchemaDataDirPath pkg pkg.name; 369 + 370 + tests = { 371 + withChecks = finalAttrs.finalPackage.overrideAttrs (_: { 372 + doCheck = true; 373 + }); 374 + pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 375 + }; 376 + 377 + updateScript = gnome.updateScript { 378 + packageName = "glib"; 379 + versionPolicy = "odd-unstable"; 380 + }; 381 + 382 + mkHardcodeGsettingsPatch = 383 + { 384 + src, 385 + glib-schema-to-var, 386 + }: 387 + builtins.trace 388 + "glib.mkHardcodeGsettingsPatch is deprecated, please use makeHardcodeGsettingsPatch instead" 389 + (makeHardcodeGsettingsPatch { 390 + inherit src; 391 + schemaIdToVariableMapping = glib-schema-to-var; 392 + }); 393 + }; 394 + 395 + meta = with lib; { 396 + description = "C library of programming buildings blocks"; 397 + homepage = "https://gitlab.gnome.org/GNOME/glib"; 398 + license = licenses.lgpl21Plus; 399 + maintainers = 400 + teams.gnome.members 401 + ++ (with maintainers; [ 402 + lovek323 403 + raskin 404 + ]); 405 + pkgConfigModules = [ 406 + "gio-2.0" 407 + "gobject-2.0" 408 + "gthread-2.0" 409 + ]; 410 + platforms = platforms.unix ++ platforms.windows; 411 + 412 + longDescription = '' 413 + GLib provides the core application building blocks for libraries 414 + and applications written in C. It provides the core object 415 + system used in GNOME, the main loop implementation, and a large 416 + set of utility functions for strings and common data structures. 417 + ''; 418 + }; 419 + })
+2 -2
pkgs/by-name/gr/grml-zsh-config/package.nix
··· 1 1 { stdenv, fetchFromGitHub, lib, zsh, coreutils, inetutils, procps, txt2tags }: 2 2 stdenv.mkDerivation rec { 3 3 pname = "grml-zsh-config"; 4 - version = "0.19.8"; 4 + version = "0.19.11"; 5 5 6 6 src = fetchFromGitHub { 7 7 owner = "grml"; 8 8 repo = "grml-etc-core"; 9 9 rev = "v${version}"; 10 - sha256 = "sha256-Tx9u0mH3hFYmyKGAmI5lLxrau/tmE9/BaU43gSr7iFw="; 10 + sha256 = "sha256-plVyzuVFw7wxFlhfCCjZe2QqkytTgUvsxrIdB7nv66g="; 11 11 }; 12 12 13 13 strictDeps = true;
+2 -2
pkgs/by-name/hy/hyprutils/package.nix
··· 10 10 11 11 stdenv.mkDerivation (finalAttrs: { 12 12 pname = "hyprutils"; 13 - version = "0.2.6"; 13 + version = "0.3.0"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "hyprwm"; 17 17 repo = "hyprutils"; 18 18 rev = "refs/tags/v${finalAttrs.version}"; 19 - hash = "sha256-+JeO9gevnXannQxMfR5xzZtF4sYmSlWkX/BPmPx0mWk="; 19 + hash = "sha256-5Wvsn+0/Hu6eUUToK9hBWwRlbg1i++lc9or4yPYBUuk="; 20 20 }; 21 21 22 22 nativeBuildInputs = [
+3 -3
pkgs/by-name/in/intentrace/package.nix
··· 5 5 }: 6 6 7 7 let 8 - version = "0.4.1"; 8 + version = "0.4.2"; 9 9 in 10 10 rustPlatform.buildRustPackage { 11 11 inherit version; ··· 15 15 owner = "sectordistrict"; 16 16 repo = "intentrace"; 17 17 rev = "refs/tags/v${version}"; 18 - hash = "sha256-9BlCDtWnBDJuo6ovDi347jAQSOG8LizJAyQ/xN+HJ0w="; 18 + hash = "sha256-ZcGZK4GX78ls3nHb7SBKszmZXMAbCxS4osW3MLqgnHQ="; 19 19 }; 20 20 21 - cargoHash = "sha256-eJlAQpkI+RgfpDJGP9evWH28nU891PF4jeRpf2Os4Ts="; 21 + cargoHash = "sha256-LkLSPFCfQxBb5DJZ67I7xPxzIYqTzKccyLW0S65/MLU="; 22 22 23 23 meta = { 24 24 description = "Prettified Linux syscall tracing tool (like strace)";
+3 -3
pkgs/by-name/ku/kube-bench/package.nix
··· 7 7 8 8 buildGoModule rec { 9 9 pname = "kube-bench"; 10 - version = "0.9.3"; 10 + version = "0.9.4"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "aquasecurity"; 14 14 repo = pname; 15 15 rev = "refs/tags/v${version}"; 16 - hash = "sha256-i0iSIK3nJ83bCuxIVxLBjJbBCpTU5TavmX2DTEJzG+Q="; 16 + hash = "sha256-SkXf8zZif1l+yOSUjYpW474gYOmxifaLtj/DNK+ZNfg="; 17 17 }; 18 18 19 - vendorHash = "sha256-c4+ruUR52TcjI+Xvuv9Xt8GAyjpbEvJhqDqWSRgVGWI="; 19 + vendorHash = "sha256-6ApPEt9SkPI5yu3ejzR1AU1ZCHmltp8Cxso6j//pEAk="; 20 20 21 21 nativeBuildInputs = [ installShellFiles ]; 22 22
+17 -3
pkgs/by-name/li/libserdes/package.nix
··· 4 4 fetchFromGitHub, 5 5 perl, 6 6 which, 7 - boost, 8 7 rdkafka, 9 8 jansson, 10 9 curl, ··· 35 34 ]; 36 35 37 36 buildInputs = [ 38 - boost 39 37 rdkafka 40 38 jansson 41 39 curl ··· 43 41 avro-cpp 44 42 ]; 45 43 46 - makeFlags = [ "GEN_PKG_CONFIG=y" ]; 44 + configureFlags = [ 45 + # avro-cpp public headers use at least C++17 features, but libserdes configure scripts 46 + # basically cap it at C++11. It's really unfortunate that we have to patch the configure scripts for this, 47 + # but this seems to be the most sensible way. 48 + # - NIX_CFLAGS_COMPILE - fails because of -Werror in compiler checks since --std=... has no effect for C compilers. 49 + # - CXXFLAGS without patching configure.self does nothing, because --std=c++11 is appended to the final flags, overriding 50 + # everything specified manually. 51 + "--CXXFLAGS=${toString [ "--std=c++17" ]}" 52 + ]; 53 + 54 + makeFlags = [ 55 + "GEN_PKG_CONFIG=y" 56 + ]; 47 57 48 58 postPatch = '' 49 59 patchShebangs configure lds-gen.pl 60 + # Don't append the standard to CXXFLAGS, since we want to set it higher for avro-cpp. 61 + substituteInPlace configure.self --replace-fail \ 62 + 'mkl_mkvar_append CXXFLAGS CXXFLAGS "--std=c++11"' \ 63 + ":" # Do nothing, we set the standard ourselves. 50 64 ''; 51 65 52 66 # Has a configure script but it’s not Autoconf so steal some bits from multiple-outputs.sh:
+2 -2
pkgs/by-name/lt/ltex-ls-plus/package.nix
··· 8 8 9 9 stdenvNoCC.mkDerivation rec { 10 10 pname = "ltex-ls-plus"; 11 - version = "18.3.0"; 11 + version = "18.4.0"; 12 12 13 13 src = fetchurl { 14 14 url = "https://github.com/ltex-plus/ltex-ls-plus/releases/download/${version}/ltex-ls-plus-${version}.tar.gz"; 15 - sha256 = "sha256-TV8z8nYz2lFsL86yxpIWDh3hDEZn/7P0kax498oicls="; 15 + sha256 = "sha256-BkVPLtyF62keDDEnET8zF7g0FqDz6UkDWI6BM8W2qMQ="; 16 16 }; 17 17 18 18 nativeBuildInputs = [ makeBinaryWrapper ];
+3 -3
pkgs/by-name/ma/mani/package.nix
··· 9 9 10 10 buildGoModule rec { 11 11 pname = "mani"; 12 - version = "0.25.0"; 12 + version = "0.30.0"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "alajmo"; 16 16 repo = "mani"; 17 17 rev = "v${version}"; 18 - sha256 = "sha256-TqxoU2g4ZegJGHrnNO+ivPu209NDFcLnxpHGj8pOA4E="; 18 + sha256 = "sha256-LxW9LPK4cXIXhBWPhOYWLeV5PIf+o710SWX8JVpZhPI="; 19 19 }; 20 20 21 - vendorHash = "sha256-mFan09oJ+BPVJHAxoROj282WJ+4e7TD0ZqeQH1kDabQ="; 21 + vendorHash = "sha256-8ckflry+KsEu+QgqjocXg6yyfS9R7fCfCMXwUqUSlhE="; 22 22 23 23 nativeBuildInputs = [ 24 24 installShellFiles
+2 -2
pkgs/by-name/mi/micronaut/package.nix
··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "micronaut"; 12 - version = "4.7.2"; 12 + version = "4.7.3"; 13 13 14 14 src = fetchzip { 15 15 url = "https://github.com/micronaut-projects/micronaut-starter/releases/download/v${version}/micronaut-cli-${version}.zip"; 16 - sha256 = "sha256-oyLJ3PGXT7/PDtXiPl0vX/jhaaYavwtoxuFPRLdGV8w="; 16 + sha256 = "sha256-rCGJnZ+WD0chYVa6XqkhHJqJUQKw2K+AebzYSftAsOk="; 17 17 }; 18 18 19 19 nativeBuildInputs = [
+3 -3
pkgs/by-name/ns/nsc/package.nix
··· 8 8 9 9 buildGoModule rec { 10 10 pname = "nsc"; 11 - version = "2.10.1"; 11 + version = "2.10.2"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "nats-io"; 15 15 repo = pname; 16 16 rev = "v${version}"; 17 - hash = "sha256-8HFlWrkDgekW/0IV9LQdn68vygFq0QtR6p4xyJZwAw4="; 17 + hash = "sha256-F/9yAF1vXG4eWMmS6l/qWqlEV8YkS7nihHN2vK3JFbE="; 18 18 }; 19 19 20 20 ldflags = [ ··· 47 47 # the test strips table formatting from the command output in a naive way 48 48 # that removes all the table characters, including '-'. 49 49 # The nix build directory looks something like: 50 - # /private/tmp/nix-build-nsc-2.10.1.drv-0/nsc_test2000598938/keys 50 + # /private/tmp/nix-build-nsc-2.10.2.drv-0/nsc_test2000598938/keys 51 51 # Then the `-` are removed from the path unintentionally and the test fails. 52 52 # This should be fixed upstream to avoid mangling the path when 53 53 # removing the table decorations from the command output.
+2 -2
pkgs/by-name/op/open-in-mpv/package.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "open-in-mpv"; 9 - version = "2.4.0"; 9 + version = "2.4.2"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "Baldomo"; 13 13 repo = "open-in-mpv"; 14 14 rev = "v${version}"; 15 - hash = "sha256-EkWz28X+pPfSjinYEMP2y1YiZ46HdnjRGjXRDwO28PY="; 15 + hash = "sha256-5Hu/BXUMI8CSOvE09I0YXfQ6BuIRA37yLlSTqWrrqy0="; 16 16 }; 17 17 18 18 vendorHash = "sha256-G6GZO2+CfEAYcf7zBcqDa808A0eJjM8dq7+4VGZ+P4c=";
+2 -2
pkgs/by-name/pl/plumber/package.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "plumber"; 9 - version = "2.8.0"; 9 + version = "2.9.0"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "streamdal"; 13 13 repo = pname; 14 14 rev = "v${version}"; 15 - hash = "sha256-38tLlFeQtXIiHuQa9c/IfIYbyf+GrOsERAdWQnHSeck="; 15 + hash = "sha256-0pyeCTkmS7gG51Xm4Gc62p+I5DRUA2F9tPHaZjO+/WE="; 16 16 }; 17 17 18 18 vendorHash = null;
+2 -2
pkgs/by-name/pl/pluto/package.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "pluto"; 9 - version = "5.20.3"; 9 + version = "5.21.0"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "FairwindsOps"; 13 13 repo = "pluto"; 14 14 rev = "v${version}"; 15 - hash = "sha256-WbXIg453VewOejX/hyGi1DEi0cSwcQ+hKUFG8Ne4cPE="; 15 + hash = "sha256-jz1hne6Lwow1a2Ckfp4C1/gD57V2kYFdik9DQ/EkjLI="; 16 16 }; 17 17 18 18 vendorHash = "sha256-VkaFANSzKOpmHWUwFp7YjwvsJegcJOrvJOBNNAIxOak=";
pkgs/by-name/pu/purescm/.gitignore pkgs/by-name/pu/purescm/manifests/.gitignore
+2 -2
pkgs/by-name/pu/purescm/README.rst
··· 14 14 To update this package 15 15 ====================== 16 16 17 - #. Bump the ``./package.json`` version pin 18 - #. Run ``nix-shell -p nodejs --command "npm i --package-lock-only"`` 17 + #. Bump the ``./manifests/package.json`` version pin 18 + #. Run ``(cd manifests && nix-shell -p nodejs --command "npm i --package-lock-only")`` 19 19 #. Update ``npmDeps.hash`` in the ``package.nix``
pkgs/by-name/pu/purescm/package-lock.json pkgs/by-name/pu/purescm/manifests/package-lock.json
pkgs/by-name/pu/purescm/package.json pkgs/by-name/pu/purescm/manifests/package.json
+3 -16
pkgs/by-name/pu/purescm/package.nix
··· 8 8 let 9 9 inherit (lib) fileset; 10 10 11 - packageLock = builtins.fromJSON (builtins.readFile ./package-lock.json); 11 + packageLock = builtins.fromJSON (builtins.readFile ./manifests/package-lock.json); 12 12 13 13 pname = "purescm"; 14 14 version = packageLock.packages."node_modules/${pname}".version; ··· 16 16 package = buildNpmPackage { 17 17 inherit pname version; 18 18 19 - src = fileset.toSource { 20 - root = ./.; 21 - fileset = fileset.unions [ 22 - ./package.json 23 - ./package-lock.json 24 - ./.gitignore 25 - ]; 26 - }; 19 + src = ./manifests; 27 20 dontNpmBuild = true; 28 21 29 22 npmDeps = fetchNpmDeps { 30 - src = fileset.toSource { 31 - root = ./.; 32 - fileset = fileset.unions [ 33 - ./package-lock.json 34 - ./package.json 35 - ]; 36 - }; 23 + src = ./manifests; 37 24 hash = "sha256-ljeFcLvIET77Q0OR6O5Ok1fGnaxaKaoywpcy2aHq/6o="; 38 25 }; 39 26
+2 -2
pkgs/by-name/qb/qbittorrent-enhanced/package.nix
··· 7 7 8 8 (qbittorrent.override { inherit guiSupport; }).overrideAttrs (old: rec { 9 9 pname = "qbittorrent-enhanced" + lib.optionalString (!guiSupport) "-nox"; 10 - version = "5.0.2.10"; 10 + version = "5.0.3.10"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "c0re100"; 14 14 repo = "qBittorrent-Enhanced-Edition"; 15 15 rev = "release-${version}"; 16 - hash = "sha256-9RCG530zWQ+qzP0Y+y69NFlBWVA8GT29dY8aC1cvq7o="; 16 + hash = "sha256-efQFjdJeVMrPvCQ5aYtUb65hozKc73MnP0/Kheti9BI="; 17 17 }; 18 18 19 19 meta = old.meta // {
+94
pkgs/by-name/qo/qownnotes/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + qt6Packages, 6 + cmake, 7 + makeWrapper, 8 + botan2, 9 + pkg-config, 10 + nixosTests, 11 + installShellFiles, 12 + xvfb-run, 13 + }: 14 + 15 + let 16 + pname = "qownnotes"; 17 + appname = "QOwnNotes"; 18 + version = "24.12.7"; 19 + in 20 + qt6Packages.stdenv.mkDerivation { 21 + inherit pname version; 22 + 23 + src = fetchurl { 24 + url = "https://github.com/pbek/QOwnNotes/releases/download/v${version}/qownnotes-${version}.tar.xz"; 25 + hash = "sha256-48puEyScG6EIrsXZpFc62dl4a23p+TO2buzuwq9m3Sw="; 26 + }; 27 + 28 + nativeBuildInputs = 29 + [ 30 + cmake 31 + qt6Packages.qttools 32 + qt6Packages.wrapQtAppsHook 33 + pkg-config 34 + installShellFiles 35 + ] 36 + ++ lib.optionals stdenv.hostPlatform.isLinux [ xvfb-run ] 37 + ++ lib.optionals stdenv.hostPlatform.isDarwin [ makeWrapper ]; 38 + 39 + buildInputs = [ 40 + qt6Packages.qtbase 41 + qt6Packages.qtdeclarative 42 + qt6Packages.qtsvg 43 + qt6Packages.qtwebsockets 44 + botan2 45 + ] ++ lib.optionals stdenv.hostPlatform.isLinux [ qt6Packages.qtwayland ]; 46 + 47 + cmakeFlags = [ 48 + "-DQON_QT6_BUILD=ON" 49 + "-DBUILD_WITH_SYSTEM_BOTAN=ON" 50 + ]; 51 + 52 + # Install shell completion on Linux (with xvfb-run) 53 + postInstall = 54 + lib.optionalString stdenv.hostPlatform.isLinux '' 55 + installShellCompletion --cmd ${appname} \ 56 + --bash <(xvfb-run $out/bin/${appname} --completion bash) \ 57 + --fish <(xvfb-run $out/bin/${appname} --completion fish) 58 + installShellCompletion --cmd ${pname} \ 59 + --bash <(xvfb-run $out/bin/${appname} --completion bash) \ 60 + --fish <(xvfb-run $out/bin/${appname} --completion fish) 61 + '' 62 + # Install shell completion on macOS 63 + + lib.optionalString stdenv.isDarwin '' 64 + installShellCompletion --cmd ${pname} \ 65 + --bash <($out/bin/${appname} --completion bash) \ 66 + --fish <($out/bin/${appname} --completion fish) 67 + '' 68 + # Create a lowercase symlink for Linux 69 + + lib.optionalString stdenv.hostPlatform.isLinux '' 70 + ln -s $out/bin/${appname} $out/bin/${pname} 71 + '' 72 + # Rename application for macOS as lowercase binary 73 + + lib.optionalString stdenv.hostPlatform.isDarwin '' 74 + # Prevent "same file" error 75 + mv $out/bin/${appname} $out/bin/${pname}.bin 76 + mv $out/bin/${pname}.bin $out/bin/${pname} 77 + ''; 78 + 79 + # Tests QOwnNotes using the NixOS module by launching xterm: 80 + passthru.tests.basic-nixos-module-functionality = nixosTests.qownnotes; 81 + 82 + meta = with lib; { 83 + description = "Plain-text file notepad and todo-list manager with markdown support and Nextcloud/ownCloud integration"; 84 + homepage = "https://www.qownnotes.org/"; 85 + changelog = "https://www.qownnotes.org/changelog.html"; 86 + downloadPage = "https://github.com/pbek/QOwnNotes/releases/tag/v${version}"; 87 + license = licenses.gpl2Only; 88 + maintainers = with maintainers; [ 89 + pbek 90 + totoroot 91 + ]; 92 + platforms = platforms.unix; 93 + }; 94 + }
+2 -2
pkgs/by-name/qu/quarkus/package.nix
··· 8 8 9 9 stdenv.mkDerivation (finalAttrs: { 10 10 pname = "quarkus-cli"; 11 - version = "3.17.3"; 11 + version = "3.17.5"; 12 12 13 13 src = fetchurl { 14 14 url = "https://github.com/quarkusio/quarkus/releases/download/${finalAttrs.version}/quarkus-cli-${finalAttrs.version}.tar.gz"; 15 - hash = "sha256-Nm0tu4YYjD1NH4n0qV1YZl7ZXfN5jccFV6EPn5mPu+8="; 15 + hash = "sha256-EFSL1FDbpZ7uue+MHeeKp+2+Hp4Hi7lCOIBww4/k9yE="; 16 16 }; 17 17 18 18 nativeBuildInputs = [ makeWrapper ];
+3 -3
pkgs/by-name/se/sendme/package.nix
··· 8 8 9 9 rustPlatform.buildRustPackage rec { 10 10 pname = "sendme"; 11 - version = "0.20.0"; 11 + version = "0.21.0"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "n0-computer"; 15 15 repo = pname; 16 16 rev = "v${version}"; 17 - hash = "sha256-wnQ2NO+s6HumdxpO/qS/UeVdHgk9MvE6jpiSiBO0EIg="; 17 + hash = "sha256-t6861ct4zGqm4MuQGVIyGUlRY+ZhojKpbCYbip6Uoec="; 18 18 }; 19 19 20 - cargoHash = "sha256-5H/AQBPNSE5J+NQsSFn0z9dfG0ssxungpFJR220scgY="; 20 + cargoHash = "sha256-nYdJbuBwW66uZs3gK05cRlQni0vT3BNlohaysYmddhQ="; 21 21 22 22 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin ( 23 23 with darwin.apple_sdk.frameworks;
pkgs/by-name/sh/shopify-cli/package-lock.json pkgs/by-name/sh/shopify-cli/manifests/package-lock.json
pkgs/by-name/sh/shopify-cli/package.json pkgs/by-name/sh/shopify-cli/manifests/package.json
+1 -7
pkgs/by-name/sh/shopify-cli/package.nix
··· 6 6 pname = "shopify"; 7 7 version = version; 8 8 9 - src = lib.fileset.toSource { 10 - root = ./.; 11 - fileset = with lib.fileset; unions [ 12 - ./package.json 13 - ./package-lock.json 14 - ]; 15 - }; 9 + src = ./manifests; 16 10 17 11 npmDepsHash = "sha256-QhbOKOs/0GEOeySG4uROzgtD4o7C+6tS/TAaPcmC3xk="; 18 12 dontNpmBuild = true;
+5
pkgs/by-name/sh/shopify-cli/update.sh
··· 18 18 exit 0 19 19 fi 20 20 21 + pushd manifests 22 + 21 23 # Update the package.json 22 24 sed -i "s|$UPDATE_NIX_OLD_VERSION|$version|g" package.json 23 25 ··· 25 27 rm -f package-lock.json 26 28 npm i --package-lock-only 27 29 npm_hash=$(prefetch-npm-deps package-lock.json) 30 + 31 + popd 32 + 28 33 sed -i "s|npmDepsHash = \".*\";|npmDepsHash = \"$npm_hash\";|" package.nix 29 34 30 35 popd
+3 -3
pkgs/by-name/si/simple64-netplay-server/package.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "simple64-netplay-server"; 9 - version = "2024.10.1"; 9 + version = "2024.12.2"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "simple64"; 13 13 repo = "simple64-netplay-server"; 14 14 rev = "refs/tags/v${version}"; 15 - hash = "sha256-p9hHVf1LD95w280ScUkxHKmBJLJ9eiH3WEYV+kaALgQ="; 15 + hash = "sha256-B0elTjklyXGpBAoqPN1HHeC9FIXsggKNKiDVvl8xgeU="; 16 16 }; 17 17 18 - vendorHash = "sha256-HeYA/nR0NuP/fPMJXGGuN2eP6vB4yj1yWFfFDyp34QE="; 18 + vendorHash = "sha256-1gySXbp1N0lnWToVQU3N9zQxl9Z0e9ICCeAIKwSoxaY="; 19 19 20 20 meta = { 21 21 description = "Dedicated server for simple64 netplay";
+2 -2
pkgs/by-name/si/simple64/package.nix
··· 27 27 in 28 28 stdenv.mkDerivation (finalAttrs: { 29 29 pname = "simple64"; 30 - version = "2024.11.1"; 30 + version = "2024.12.1"; 31 31 32 32 src = fetchFromGitHub { 33 33 owner = "simple64"; 34 34 repo = "simple64"; 35 35 rev = "refs/tags/v${finalAttrs.version}"; 36 - hash = "sha256-wWBW+iYPY+5C3pvyyFYb4iIK8GlAyCbaAzr2Q5RL+n8="; 36 + hash = "sha256-rvoUyvhpbibXbAreu6twTeeVRTCbhJiJuyKaJz0uT5k="; 37 37 }; 38 38 39 39 patches = [
+2 -2
pkgs/by-name/si/simplex-chat-desktop/package.nix
··· 7 7 8 8 let 9 9 pname = "simplex-chat-desktop"; 10 - version = "6.2.1"; 10 + version = "6.2.3"; 11 11 12 12 src = fetchurl { 13 13 url = "https://github.com/simplex-chat/simplex-chat/releases/download/v${version}/simplex-desktop-x86_64.AppImage"; 14 - hash = "sha256-JEe4dmbb/T2A4+t1ycvgJofes2CkEphytFMnWJgpZ7s="; 14 + hash = "sha256-yS3KnR9JLUEwtV8e2J5l4WW+XNHWg7PDOKtlfT/zfUE="; 15 15 }; 16 16 17 17 appimageContents = appimageTools.extract {
+2 -2
pkgs/by-name/sp/spring-boot-cli/package.nix
··· 12 12 13 13 stdenv.mkDerivation (finalAttrs: { 14 14 pname = "spring-boot-cli"; 15 - version = "3.4.0"; 15 + version = "3.4.1"; 16 16 17 17 src = fetchzip { 18 18 url = "mirror://maven/org/springframework/boot/spring-boot-cli/${finalAttrs.version}/spring-boot-cli-${finalAttrs.version}-bin.zip"; 19 - hash = "sha256-jmqmWlp40DE/CWzPEMfApb3OTDDb0upcePCHj1+yTs4="; 19 + hash = "sha256-XJGopVQclKVfVXNlHj9LXu8Kt3hcfsajH5p63k6nQ94="; 20 20 }; 21 21 22 22 nativeBuildInputs = [
+3 -3
pkgs/by-name/ta/taproot-assets/package.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "taproot-assets"; 9 - version = "0.4.1"; 9 + version = "0.5.0"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "lightninglabs"; 13 13 repo = "taproot-assets"; 14 14 rev = "v${version}"; 15 - hash = "sha256-aQYVPSDudLK4ZBcBN/wNjVoF/9inOaJRbcyTP6VMdA0="; 15 + hash = "sha256-XOEbrz0kFJKoYG91VUeSAuMVJRfGRNTQ8jucMtnvxJo="; 16 16 }; 17 17 18 - vendorHash = "sha256-IFzYW5vAtBoUC2ebFYnxS/TojQR4kXxQACNbyn2ZkCs="; 18 + vendorHash = "sha256-hDmRyWSf4jokomfJQBLlIbm9I3v2/sg/xD52BW3Wvy4="; 19 19 20 20 subPackages = [ 21 21 "cmd/tapcli"
+1
pkgs/by-name/te/termscp/package.nix
··· 53 53 ++ lib.optionals stdenvNoCC.hostPlatform.isDarwin [ 54 54 "--skip=system::watcher::test::should_poll_file_removed" 55 55 "--skip=system::watcher::test::should_poll_file_update" 56 + "--skip=system::watcher::test::should_poll_nothing" 56 57 ]; 57 58 58 59 passthru = {
+3 -3
pkgs/by-name/te/terraform-ls/package.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "terraform-ls"; 9 - version = "0.36.2"; 9 + version = "0.36.3"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "hashicorp"; 13 13 repo = pname; 14 14 rev = "v${version}"; 15 - hash = "sha256-XihFvQZQ+cJrFd9ly9mDVcXUDBXwndd796bterxaaAQ="; 15 + hash = "sha256-bn4eDAR3fYioT2kB7Hp0zP1190FMFAJ1L5lYFUUwhWk="; 16 16 }; 17 17 18 - vendorHash = "sha256-/ZlWx8/6eJfoiCl6yOtotoju2LVPP6YHqjk+5WE7jzQ="; 18 + vendorHash = "sha256-Qx18IisnEt0xr6Mb0nxjRp+ORu5xbmSJKrRCgRJFlbc="; 19 19 20 20 ldflags = [ 21 21 "-s"
+15 -3
pkgs/by-name/te/tex-fmt/package.nix
··· 2 2 lib, 3 3 fetchFromGitHub, 4 4 rustPlatform, 5 + installShellFiles, 5 6 }: 6 7 7 8 rustPlatform.buildRustPackage rec { 8 9 pname = "tex-fmt"; 9 - version = "0.4.7"; 10 + version = "0.5.1"; 10 11 11 12 src = fetchFromGitHub { 12 13 owner = "WGUNDERWOOD"; 13 14 repo = "tex-fmt"; 14 15 rev = "refs/tags/v${version}"; 15 - hash = "sha256-jVrd3yZ07+ppsdt+8sNKX1rdmU+UiRCyx80EMXdoK54="; 16 + hash = "sha256-LeoV500tnvnvl869NXi4b4LpBvX1FclYJzYAcC0QVRo="; 16 17 }; 17 18 18 - cargoHash = "sha256-XQ1oEF+axp8pC6OkLlab1qI7RJeAyeSb58oChgaaS1s="; 19 + cargoHash = "sha256-jjBPGrdCJ3zk/kuIImEXkZTI5+492yekt5+iNyYhHGM="; 20 + 21 + nativeBuildInputs = [ installShellFiles ]; 22 + 23 + postInstall = '' 24 + installManPage man/tex-fmt.1 25 + installShellCompletion \ 26 + --bash completion/tex-fmt.bash \ 27 + --fish completion/tex-fmt.fish \ 28 + --zsh completion/_tex-fmt 29 + ''; 19 30 20 31 meta = { 21 32 description = "LaTeX formatter written in Rust"; 22 33 homepage = "https://github.com/WGUNDERWOOD/tex-fmt"; 34 + changelog = "https://github.com/WGUNDERWOOD/tex-fmt/releases/tag/v${version}"; 23 35 license = lib.licenses.mit; 24 36 mainProgram = "tex-fmt"; 25 37 maintainers = with lib.maintainers; [ wgunderwood ];
+17 -5
pkgs/by-name/tf/tftp-hpa/package.nix
··· 1 1 { 2 2 lib, 3 3 stdenv, 4 - fetchurl, 4 + fetchgit, 5 + autoconf, 6 + automake, 5 7 }: 6 8 7 9 stdenv.mkDerivation rec { 8 10 pname = "tftp-hpa"; 9 - version = "5.2"; 10 - src = fetchurl { 11 - url = "mirror://kernel/software/network/tftp/tftp-hpa/${pname}-${version}.tar.xz"; 12 - sha256 = "12vidchglhyc20znq5wdsbhi9mqg90jnl7qr9qs8hbvaz4fkdvmg"; 11 + version = "5.2-untagged-2024-06-10"; 12 + src = fetchgit { 13 + url = "git://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git"; 14 + hash = "sha256-lTMldYO/cZdLj0UjOPPBHfYf2GBG0O+5lhP9ikqn3tY="; 15 + rev = "2c86ff58dcc003107b47f2d35aa0fdc4a3fd95e1"; 13 16 }; 14 17 15 18 # Workaround build failure on -fno-common toolchains like upstream ··· 17 20 # ld: main.o:/build/tftp-hpa-5.2/tftp/main.c:98: multiple definition of 18 21 # `toplevel'; tftp.o:/build/tftp-hpa-5.2/tftp/tftp.c:51: first defined here 19 22 env.NIX_CFLAGS_COMPILE = "-fcommon"; 23 + 24 + preConfigure = '' 25 + ./autogen.sh 26 + ''; 27 + 28 + nativeBuildInputs = [ 29 + autoconf 30 + automake 31 + ]; 20 32 21 33 meta = with lib; { 22 34 description = "TFTP tools - a lot of fixes on top of BSD TFTP";
+2 -2
pkgs/by-name/to/todo-txt-cli/package.nix
··· 4 4 fetchurl, 5 5 }: 6 6 let 7 - version = "2.12.0"; 7 + version = "2.13.0"; 8 8 in 9 9 stdenv.mkDerivation { 10 10 pname = "todo.txt-cli"; ··· 12 12 13 13 src = fetchurl { 14 14 url = "https://github.com/ginatrapani/todo.txt-cli/releases/download/v${version}/todo.txt_cli-${version}.tar.gz"; 15 - sha256 = "0gni8nj3wwdf7nl98d1bpx064bz5xari65hb998qqr92h0n9pnp6"; 15 + sha256 = "sha256-07klQ0ApqsISITwQP7ZXOk+WDHTdRno++sm9mv6J0V8="; 16 16 }; 17 17 18 18 installPhase = ''
+3 -3
pkgs/by-name/tr/trunk/package.nix
··· 8 8 9 9 rustPlatform.buildRustPackage rec { 10 10 pname = "trunk"; 11 - version = "0.21.4"; 11 + version = "0.21.5"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "trunk-rs"; 15 15 repo = "trunk"; 16 16 rev = "v${version}"; 17 - hash = "sha256-tU0Xob0dS1+rrfRVitwOe0K1AG05LHlGPHhFL0yOjxM="; 17 + hash = "sha256-AHW686xPGCMLISrOLLfDR5g+2XpMJ+zfmWGn3fMfKbA="; 18 18 }; 19 19 20 20 nativeBuildInputs = [ pkg-config ]; ··· 22 22 # requires network 23 23 checkFlags = [ "--skip=tools::tests::download_and_install_binaries" ]; 24 24 25 - cargoHash = "sha256-iuxACtr91qWzojKWaieAd6kk/q9j5JSD1Fa50oCKogA="; 25 + cargoHash = "sha256-m09ZV0Z4bNyAfO6XNiDKyqMeqv2/tx4vpQnWlesCW2A="; 26 26 27 27 meta = with lib; { 28 28 homepage = "https://github.com/trunk-rs/trunk";
+34 -65
pkgs/by-name/wa/waveterm/package.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchurl, 5 - makeDesktopItem, 6 - copyDesktopItems, 5 + dpkg, 7 6 autoPatchelfHook, 8 7 atk, 9 8 at-spi2-atk, ··· 28 27 wrapGAppsHook3, 29 28 udev, 30 29 libGL, 31 - fetchzip, 32 30 unzip, 31 + makeWrapper, 33 32 }: 34 33 let 35 34 selectSystem = attrs: attrs.${stdenv.hostPlatform.system}; 36 35 pname = "waveterm"; 37 - version = "0.10.1"; 38 - passthru.updateScript = ./update.sh; 36 + version = "0.10.4"; 39 37 40 - desktopItems = [ 41 - (makeDesktopItem { 42 - name = "waveterm"; 43 - exec = "waveterm --no-sandbox %U"; 44 - icon = fetchurl { 45 - url = "https://raw.githubusercontent.com/wavetermdev/waveterm/refs/tags/v${version}/build/appicon.png"; 46 - hash = "sha256-qob27/64C9XPBtXghxg5/g0qRaiOUOpuFYL1n7/aEB0="; 47 - }; 48 - startupWMClass = "Wave"; 49 - comment = "Open-Source AI-Native Terminal Built for Seamless Workflows"; 50 - desktopName = "Wave"; 51 - genericName = "Terminal Emulator"; 52 - categories = [ 53 - "Development" 54 - "Utility" 55 - "TerminalEmulator" 56 - ]; 57 - keywords = [ 58 - "developer" 59 - "terminal" 60 - "emulator" 61 - ]; 62 - }) 63 - ]; 38 + passthru.updateScript = ./update.sh; 64 39 65 - meta = { 40 + metaCommon = { 66 41 description = "Open-source, cross-platform terminal for seamless workflows"; 67 42 homepage = "https://www.waveterm.dev"; 68 - mainProgram = "waveterm"; 69 43 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; 70 44 license = lib.licenses.asl20; 71 45 platforms = [ ··· 78 52 }; 79 53 80 54 linux = stdenv.mkDerivation { 81 - inherit 82 - pname 83 - version 84 - desktopItems 85 - meta 86 - passthru 87 - ; 55 + inherit pname version passthru; 88 56 89 57 src = 90 58 let 91 59 arch = selectSystem { 92 - x86_64-linux = "x64"; 60 + x86_64-linux = "amd64"; 93 61 aarch64-linux = "arm64"; 94 62 }; 63 + in 64 + fetchurl { 65 + url = "https://github.com/wavetermdev/waveterm/releases/download/v${version}/waveterm-linux-${arch}-${version}.deb"; 95 66 hash = selectSystem { 96 - x86_64-linux = "sha256-zv8ndwMt4VqsdJEEdfXzK4rnyslxF/gwnFdUu5OavNY="; 97 - aarch64-linux = "sha256-6EFk1CDPeYc1KWeIxBQEsMLA9tYpnSxjG+yRg5CkGZA="; 67 + x86_64-linux = "sha256-dwBnRuskajMpfaBQ5zr19+CQ3A/qen2RtxmV7GnXx0E="; 68 + aarch64-linux = "sha256-HfzvbAV8RkmuwvuBtgvHgzAslbejlPJJJO7juGSMm1o="; 98 69 }; 99 - in 100 - fetchzip { 101 - url = "https://github.com/wavetermdev/waveterm/releases/download/v${version}/waveterm-linux-${arch}-${version}.zip"; 102 - inherit hash; 103 - stripRoot = false; 104 70 }; 105 71 106 72 nativeBuildInputs = [ 107 - copyDesktopItems 73 + dpkg 108 74 autoPatchelfHook 109 75 wrapGAppsHook3 76 + makeWrapper 110 77 ]; 111 78 112 79 buildInputs = [ ··· 139 106 installPhase = '' 140 107 runHook preInstall 141 108 142 - mkdir $out 143 - cp -r . $out/waveterm 109 + cp -r opt $out 110 + cp -r usr/share $out/share 111 + substituteInPlace $out/share/applications/waveterm.desktop \ 112 + --replace-fail "/opt/Wave/" "" 144 113 145 114 runHook postInstall 146 115 ''; 147 116 148 117 preFixup = '' 149 118 mkdir $out/bin 150 - makeWrapper $out/waveterm/waveterm $out/bin/waveterm \ 119 + makeWrapper $out/Wave/waveterm $out/bin/waveterm \ 151 120 --prefix LD_LIBRARY_PATH : "${ 152 121 lib.makeLibraryPath [ 153 122 libGL 154 123 ] 155 124 }" 156 125 ''; 126 + 127 + meta = metaCommon // { 128 + mainProgram = "waveterm"; 129 + }; 157 130 }; 158 131 159 - darwin = stdenv.mkDerivation rec { 160 - inherit 161 - pname 162 - version 163 - meta 164 - passthru 165 - ; 132 + darwin = stdenv.mkDerivation { 133 + inherit pname version passthru; 166 134 167 135 src = 168 136 let ··· 170 138 x86_64-darwin = "x64"; 171 139 aarch64-darwin = "arm64"; 172 140 }; 173 - hash = selectSystem { 174 - x86_64-darwin = "sha256-7TCDg0TU0Bx9WLwLiQRcyzrFTlmkXYQIpya2SUiEXoc="; 175 - aarch64-darwin = "sha256-pVxPmTz1bCKREUOvA3Jrf7kiOI5iLzqgnutblEqc4IA="; 176 - }; 177 141 in 178 142 fetchurl { 179 143 url = "https://github.com/wavetermdev/waveterm/releases/download/v${version}/Wave-darwin-${arch}-${version}.zip"; 180 - inherit hash; 144 + hash = selectSystem { 145 + x86_64-darwin = "sha256-iQimmHhpojimZvJtPgOExLaEu/io6BrWWkTsx/1avjY="; 146 + aarch64-darwin = "sha256-4txsd3aKIcsjSvx+XeDm7a6M9YRkZNLUuvv5adLOVx8="; 147 + }; 181 148 }; 182 149 183 150 nativeBuildInputs = [ 184 151 unzip 185 152 ]; 186 - 187 - sourceRoot = "Wave.app"; 188 153 189 154 installPhase = '' 190 155 runHook preInstall 191 156 192 157 mkdir -p $out/Applications 193 - cp -r . $out/Applications/Wave.app 158 + cp -r . "$out/Applications/Wave.app" 194 159 195 160 runHook postInstall 196 161 ''; 162 + 163 + meta = metaCommon // { 164 + mainProgram = "Wave"; 165 + }; 197 166 }; 198 167 in 199 168 if stdenv.hostPlatform.isDarwin then darwin else linux
+6 -6
pkgs/by-name/wa/waveterm/update.sh
··· 16 16 fi 17 17 18 18 for i in \ 19 - "x86_64-linux waveterm-linux-x64" \ 20 - "aarch64-linux waveterm-linux-arm64"; do 19 + "x86_64-linux amd64" \ 20 + "aarch64-linux arm64"; do 21 21 set -- $i 22 - prefetch=$(nix-prefetch-url --unpack "https://github.com/wavetermdev/waveterm/releases/download/v$latestVersion/$2-$latestVersion.zip") 22 + prefetch=$(nix-prefetch-url "https://github.com/wavetermdev/waveterm/releases/download/v$latestVersion/waveterm-linux-$2-$latestVersion.deb") 23 23 hash=$(nix hash convert --hash-algo sha256 --to sri $prefetch) 24 24 update-source-version waveterm $latestVersion $hash --system=$1 --ignore-same-version 25 25 done 26 26 27 27 for i in \ 28 - "x86_64-darwin Wave-darwin-x64" \ 29 - "aarch64-darwin Wave-darwin-arm64"; do 28 + "x86_64-darwin x64" \ 29 + "aarch64-darwin arm64"; do 30 30 set -- $i 31 - prefetch=$(nix-prefetch-url "https://github.com/wavetermdev/waveterm/releases/download/v$latestVersion/$2-$latestVersion.zip") 31 + prefetch=$(nix-prefetch-url "https://github.com/wavetermdev/waveterm/releases/download/v$latestVersion/Wave-darwin-$2-$latestVersion.zip") 32 32 hash=$(nix hash convert --hash-algo sha256 --to sri $prefetch) 33 33 update-source-version waveterm $latestVersion $hash --system=$1 --ignore-same-version 34 34 done
+3 -3
pkgs/by-name/we/weaviate/package.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "weaviate"; 9 - version = "1.28.0"; 9 + version = "1.28.2"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "weaviate"; 13 13 repo = "weaviate"; 14 14 rev = "v${version}"; 15 - hash = "sha256-HSBgsnjkkWie1hjo3WlZmh3InLnUz+8f7FhRMfRFpeU="; 15 + hash = "sha256-yIa8AHyoT1z/M/tyPtlNtSMgOhU3XyWtw9OsqrDjO7A="; 16 16 }; 17 17 18 - vendorHash = "sha256-A6Ikxy+zrAgy617ldtj4BkIFN/KiiEgjMb0ZNG6mVrs="; 18 + vendorHash = "sha256-u1pfPsc1NuzONyuXPVNO5UcA6vekChnBkLT3MHa2xcc="; 19 19 20 20 subPackages = [ "cmd/weaviate-server" ]; 21 21
+3 -3
pkgs/by-name/wg/wgcf/package.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "wgcf"; 9 - version = "2.2.23"; 9 + version = "2.2.24"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "ViRb3"; 13 13 repo = pname; 14 14 rev = "refs/tags/v${version}"; 15 - hash = "sha256-zASb21C3GX4wQGf5V5Y+rKwq28S3CDi0gh696lspVnM="; 15 + hash = "sha256-BtZvR+dZzauByQR5+VWzh6tOgAQV1sXfr0ThOy05uRo="; 16 16 }; 17 17 18 18 subPackages = "."; 19 19 20 - vendorHash = "sha256-ihcIEoVNSPJzJGeH2bRot4fldIhZ0r/yuYU6Jp9F1Eo="; 20 + vendorHash = "sha256-txE00e8n9JJ89G1Exp/k8LTv36+MkGduCjqL7mHXuoQ="; 21 21 22 22 meta = with lib; { 23 23 description = "Cross-platform, unofficial CLI for Cloudflare Warp";
+3 -3
pkgs/by-name/xq/xq-xml/package.nix
··· 8 8 9 9 buildGoModule rec { 10 10 pname = "xq"; 11 - version = "1.2.5"; 11 + version = "1.3.0"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "sibprogrammer"; 15 15 repo = "xq"; 16 16 rev = "v${version}"; 17 - hash = "sha256-Xr5k7YBx8GjrBapmThpLnPPvzEP6mcQG4mKXxZaEan4="; 17 + hash = "sha256-KLpf4db3D+SQzbitc9ROO+k/VHggWpwZmwwhV3QVNiE="; 18 18 }; 19 19 20 - vendorHash = "sha256-UV6Z4GyeFPkiyhUll7hCFkt+iBdWAl02QdzYYX0N2e4="; 20 + vendorHash = "sha256-LKkYA0wZ+MQ67Gox2e+iuWSgbxF0daJj7RWLA6C+v+I="; 21 21 22 22 ldflags = [ 23 23 "-s"
+3 -3
pkgs/by-name/zo/zoekt/package.nix
··· 7 7 8 8 buildGoModule { 9 9 pname = "zoekt"; 10 - version = "3.7.2-2-unstable-2024-12-09"; 10 + version = "3.7.2-2-unstable-2024-12-18"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "sourcegraph"; 14 14 repo = "zoekt"; 15 - rev = "37c4df87f75cb0de7b71181301e0f6df6aa9ade6"; 16 - hash = "sha256-pH21Kz/qMs7Cy1nKoaWOzUt6W9jBYtmgIiF6GIcdwsg="; 15 + rev = "dc1b23bb0da9a0fa91056ad6d5fcf9b8e641f67d"; 16 + hash = "sha256-sMYGFA6zazY64IGELbp4H1xNfKeH72pJ7bJ0Vy9YYFk="; 17 17 }; 18 18 19 19 vendorHash = "sha256-Dvs8XMOxZEE9moA8aCxuxg947+x/6C8cKtgdcByL4Eo=";
+1 -1
pkgs/data/fonts/iosevka/bin.nix
··· 17 17 in 18 18 stdenv.mkDerivation rec { 19 19 pname = "${name}-bin"; 20 - version = "32.2.1"; 20 + version = "32.3.0"; 21 21 22 22 src = fetchurl { 23 23 url = "https://github.com/be5invis/Iosevka/releases/download/v${version}/PkgTTC-${name}-${version}.zip";
+90 -90
pkgs/data/fonts/iosevka/variants.nix
··· 1 1 # This file was autogenerated. DO NOT EDIT! 2 2 { 3 - Iosevka = "0y1gsyjj0931rfhimszjcbmwkffznbhjdnjiqszg6g9wiqd3q8kv"; 4 - IosevkaAile = "04qynqhpzcz45plpdrik4y5x2h2pz2l2jzymdb1smp3dm4f6sk5p"; 5 - IosevkaCurly = "02qrd3j6xiz69a932cn6qdnz4bab7ycsg48dzxdwkakyympmhh7c"; 6 - IosevkaCurlySlab = "0sc4hylp72x84f6y3sjrc0jkw5nx0hynr0swram8fs4yvddqgrq8"; 7 - IosevkaEtoile = "0qkjivzjm3h2cwydxy5rhrk37qb5ci2bsrdmggmlv6v1syyn46kn"; 8 - IosevkaSlab = "1bg43x2baifa3y44bwsjav5lhbn7i0g5fhvwz0c55j16sqb4rizi"; 9 - IosevkaSS01 = "10pzgi0vhkmlnwsyc9jqjkzi4id5gmspyd1x467x3wrdjhm9zihv"; 10 - IosevkaSS02 = "1kyciyfdlvxvi4gbn5x8921mz71nxkhpyb48mwcmqjri6h7a4hkb"; 11 - IosevkaSS03 = "15f0khxancql140bivimg3mgn0kmzcykarrgqd0lmjqdv3iyng9a"; 12 - IosevkaSS04 = "1ym8pynzgsm16fr2myh2z9z6dn38lny736jbn8q92ngcl6mca0bl"; 13 - IosevkaSS05 = "0a3dkc2by23qls050ahri14sdgqclfagjhsxhhzv9cc66qvmr3xr"; 14 - IosevkaSS06 = "09d2ir6hrzpr5vq85j4jkhqkpghjid1zp0dxinps4digbix9ylc0"; 15 - IosevkaSS07 = "1m4mmr4px56b4fhpn77s0gf46as153c23gslhhbldj1jiyzfd1q8"; 16 - IosevkaSS08 = "01iv4sx21f2mkg6cspkpxcq9a1pp7b897jcwnf1gx6y4r9s04zj7"; 17 - IosevkaSS09 = "15v6y640qadq27rh5vx35ay6qj2xgyirza8182m7ypjrvnb96rip"; 18 - IosevkaSS10 = "1b35zy0rv5kgaiwm8wqak7drq3mncbvdgqbkwrk1hrfpf9j0hxch"; 19 - IosevkaSS11 = "0qdz0x9rbwycddq4yhmzf8daihqkpgpbn8kk0781vcfc38jayfbd"; 20 - IosevkaSS12 = "0lq23n4n9pyrb4z2zgp8y45asb36yl2r2s80y2p5l7anjndpwczs"; 21 - IosevkaSS13 = "13csq6ka9mhs5y2dl6l2imgldw5dm9ivjckx9ap1h90aq73ld3m1"; 22 - IosevkaSS14 = "1hv5y0z123a3a28wxargpkw9yvrciyvb48z29viwrlm3laf14f78"; 23 - IosevkaSS15 = "1pxh0nqnw8901d964hjiddzgaxnhhgbjsc4dv2gbs1nvfp4wz613"; 24 - IosevkaSS16 = "1bja13nxf5iqy6kzwqjpwxrv74kdaydamk3325km1lgaca6b13a9"; 25 - IosevkaSS17 = "00c4807ligsx29ipm75g7a3siqi4lfaf5dqjqrll5x2f5l04q4c1"; 26 - IosevkaSS18 = "1bk0p24h0vizjrlx4dzyz4yyi1b6s9ymakckprx4gxa97jln71z9"; 27 - SGr-Iosevka = "1vrxg8kbrm767mzrzlainfqv2prqmkwgip0ab4wd875x8lv3mq1w"; 28 - SGr-IosevkaCurly = "0mm0bmdr9ca29096bcb4z583ivyz7qf8h6bin74dd9vvvi3rlkla"; 29 - SGr-IosevkaCurlySlab = "0f45a6p3kgjqgyci5m7gj1bnlsdv2cif2yx8yp1npgqdyyaiq8ah"; 30 - SGr-IosevkaFixed = "1jfwj3w2rmhf00l628c9813yrx65cvjbl2q74xmwxwp4m7gjh7m6"; 31 - SGr-IosevkaFixedCurly = "05230lnw2p7hz77bgch20fibb2kvn1jqp0zl92vdim3f13n7yfv4"; 32 - SGr-IosevkaFixedCurlySlab = "1xqv070hfzng7bdi7dwhypi8vx4b7nlkz2d65gsvfxj1vk229c5l"; 33 - SGr-IosevkaFixedSlab = "14v3fawjijzzn94zgybkjkgz6bw2g4hqwxjz0rwflvr1w5m3fh1z"; 34 - SGr-IosevkaFixedSS01 = "1n221fd0ln91q2p506c2rgfc46xhgxksaajnbwan5hlll618y90v"; 35 - SGr-IosevkaFixedSS02 = "1zm8kzn2layp17glbs7l6243kmvmfz1cngbrgj3iwgraman6ac62"; 36 - SGr-IosevkaFixedSS03 = "0bgmgdipk1xysc658ngdhqyy6plfkcb4vbmq2vk8cjz8ixk12mh6"; 37 - SGr-IosevkaFixedSS04 = "046yjmmir4cxyl8mk3wyp3zy6rnm85mzxcpy8gmd9yb4qnbq9nm1"; 38 - SGr-IosevkaFixedSS05 = "106ii42m4wpffpynd35r97ks5q6a8py3g1h8k8q5919kxqakrfnh"; 39 - SGr-IosevkaFixedSS06 = "1g0d5jhb76g1x50z8qg934s5j97c60fg1aqga1n1dmqvmm0zmdwv"; 40 - SGr-IosevkaFixedSS07 = "13z7f78p01v0225rq49zv8wq7p4g303rj17zh8y96ggyajbhfn6y"; 41 - SGr-IosevkaFixedSS08 = "1sbkhmzdlh9z3zfmy1mdag4nccb2ndvz0lnli2hsk72iszjsk325"; 42 - SGr-IosevkaFixedSS09 = "1fkg5qhdx19v9k56kbrf69sfg87skc0h57mpz7jdiwzwpzlqv79v"; 43 - SGr-IosevkaFixedSS10 = "0smg99rxh27b8i7p07r0gmywpxlhn75ln8ccf18jlzv4baa12pn7"; 44 - SGr-IosevkaFixedSS11 = "07winxlw5di447j0yjxg7fxyj7vl1iwa766rx44xj9vz34s62v9l"; 45 - SGr-IosevkaFixedSS12 = "1l23f8d0gbddcawx2sdk2zcz8pqkj03gi9l0bw05pig72i3ipls6"; 46 - SGr-IosevkaFixedSS13 = "1b7yvrmfnspxa14kwb6rinqx9h712iadii4yf8v6z14iss6vrk87"; 47 - SGr-IosevkaFixedSS14 = "0fxwsss5mrizrg426gn1g0aj4imnr0ghkfbyx081hjbgn9569mid"; 48 - SGr-IosevkaFixedSS15 = "18xr3100ixq6p5s80ixlrdxna21cy9hqw1x6vypyvbqz9fc3nakx"; 49 - SGr-IosevkaFixedSS16 = "05j75njl8pi54kdp0hbaww4hm9mpyswl4msk0vma1v1jjasvggxp"; 50 - SGr-IosevkaFixedSS17 = "0xqp0dy1srqlzf92fvg45msay8r42k0bcfv04hsii87h6xq28q6i"; 51 - SGr-IosevkaFixedSS18 = "0rs2vwr3v6wy471cd604rm5qc5m35gg1pyna2l3kch1vrcjcvfas"; 52 - SGr-IosevkaSlab = "1g7aidcc43ibc7jwwmrlbwj2v0yq34cb5rs3q76bhyl498hizvn4"; 53 - SGr-IosevkaSS01 = "0wjsjv9g2xmvw1338lah688lj7hw8dlfn2y6x0pafffach2a42cs"; 54 - SGr-IosevkaSS02 = "1l7l4gpi0vk4d1rx8j2fysfwfdq8ifkx88qh610z3lqd9lia25ik"; 55 - SGr-IosevkaSS03 = "1pal6kg3dd4rq5vyr22ngziqrbs48prvz40jaynb78nd4v5hfm96"; 56 - SGr-IosevkaSS04 = "0381kgbx3l26wqi9i9fvsprqjxlvj2jfczni4qsiw4vczdiclkg8"; 57 - SGr-IosevkaSS05 = "0fzgncaln6il7zp5bxx47kygawkpaibvcchznpfr1kmb6i8mcy4a"; 58 - SGr-IosevkaSS06 = "0yh9gpzddwi8j752h7d9k4xmqp2092xhjpfd6qwzs98g180czqyx"; 59 - SGr-IosevkaSS07 = "1i6rnbddc7r69133y1pn44hng461hcdanl2xksjws49wcyhrdclz"; 60 - SGr-IosevkaSS08 = "0d4j6x79nlsrb1fpg52bscxdl8bsfzp2qjr3lmn1kph5n12g91an"; 61 - SGr-IosevkaSS09 = "1lmqi80hqb3nx5nl5w0fdbakkqp0w261zh19m48yii2wq8bl48sj"; 62 - SGr-IosevkaSS10 = "083g92r66mlklsh4xn6v650p1czcg0vszl758861jmsqrj1irknp"; 63 - SGr-IosevkaSS11 = "006fybldx9iz48yc1ndwnhxjdqjy9k1raxibcdgdm73n0y1fiwg6"; 64 - SGr-IosevkaSS12 = "0r2w6wk82yws1qnvipia5srxrvxcp17hvy1zzbs7756h9xq2qyjv"; 65 - SGr-IosevkaSS13 = "0q7z5a8z9dwvi3ax6f2zix020icx78wz8xq6i7mb1p9v5mr7vh22"; 66 - SGr-IosevkaSS14 = "16ii7aynq3q1k1h22q0hz5jxxhrwx9w06c7jfyqcmc4166xmz1bc"; 67 - SGr-IosevkaSS15 = "1lbi138qxpwbasl10447ql23j26ib0rsmvb3db54rdd458yhc99b"; 68 - SGr-IosevkaSS16 = "0xq8fnmlz7v6jamsqfvdg81vry8ccc0164nzl93rfj7i6ri0jvg0"; 69 - SGr-IosevkaSS17 = "0j3gzn6mghyjndzkxyrjbgpr5284hpwr9b9aifq0m4ri1pmsbwnn"; 70 - SGr-IosevkaSS18 = "0b3hgfl4r5s1f5i7n401yp22glbjghkh2wcx7k4mn8qrci7lhvwv"; 71 - SGr-IosevkaTerm = "0ijcrzh91pinf83wdqdk42z3raas2mjw2p872xgkkx0wpzy01vbn"; 72 - SGr-IosevkaTermCurly = "0s2g9dpnc1nw7f9cpgnw6yjfm71c4q63qvmf5ld35sp4h21qgc3w"; 73 - SGr-IosevkaTermCurlySlab = "1kndi5p6w7pm64621v9bjkmk80r1wq5p8ihxmnzv7va84r43sjdy"; 74 - SGr-IosevkaTermSlab = "0ah7vn8ycrwxvarpmxjf07spky9r3fa3qvjy38nvagwh3ppx0xxd"; 75 - SGr-IosevkaTermSS01 = "1c36199qjdvcs0h237xy0pvcbk6rjkrrsnq35k432y7b1jp9nyy2"; 76 - SGr-IosevkaTermSS02 = "0b16096xihjy1ny5k35rg2nm73fpkk9yb05gf2i8b34nwmysif8m"; 77 - SGr-IosevkaTermSS03 = "17kq2cylrgccqkmzjg03m3apib4z0zjs25sp9sdx2wahjh07bw6d"; 78 - SGr-IosevkaTermSS04 = "12qsqpp3jlw6961mdal8ihx07x4lb8c8ckiwaks00y53shrknq6s"; 79 - SGr-IosevkaTermSS05 = "0yy8ls7vvsj5h411cg1x7ys1va1qp1dkza8zrr562r04q671748m"; 80 - SGr-IosevkaTermSS06 = "01dd1pbfj0ga4h1bvzk8z16hw5syc41appbdc6ysr3rcr982p8as"; 81 - SGr-IosevkaTermSS07 = "1181rabk0abiny2ifs3v0431s8i9zm8ins7pdfk1qlgjfx0axkwb"; 82 - SGr-IosevkaTermSS08 = "07az3bnr0l7igybcm4a0mhh6l0disvrih61zdvm2c2nx8308bl4l"; 83 - SGr-IosevkaTermSS09 = "0fssz0j9nlph94hqzwgiqs1hdbw8qkr5f442hw0f1j1fmkbr8h41"; 84 - SGr-IosevkaTermSS10 = "0847d38s6dpkagymna374wqnw7bg05idj370bgjnk7l6xqbwh096"; 85 - SGr-IosevkaTermSS11 = "1d5in68yzllcq6bkmdyws4amysh7fi8i9mvphdd4sdw26abwpyw6"; 86 - SGr-IosevkaTermSS12 = "0wdax0f8w1qrczaa9dyg9b2jkl37vnm0ms4bwa7gzifg1v6rkl83"; 87 - SGr-IosevkaTermSS13 = "1vh13gc5dddjkb4qmdr1dpq2vqwbf2xggpn6mdj6s2my1irgqhv1"; 88 - SGr-IosevkaTermSS14 = "1bcjhxpdl0m2nc895rg4ha90mpakz4l8xdhhlm88fvdakjp3wa53"; 89 - SGr-IosevkaTermSS15 = "0mwxzjdrrnl85q3y97hlsb63n2rl6ysvcpi2yf0828f81x9xgldj"; 90 - SGr-IosevkaTermSS16 = "1cglchggcb49p6v6irapkx9dwdic0qalrpk447p6lg2vhv0ka676"; 91 - SGr-IosevkaTermSS17 = "00d0cydhjxplyavp47bsaijrxb06hnriqili5mq8p0g01r1fzxqb"; 92 - SGr-IosevkaTermSS18 = "1n6mc2hfkgyb0rqffnc65i07p94p61sf0yf9vr8k6ir7m7fb30n9"; 3 + Iosevka = "0x9h41jhhxgafad7zc39jb4la30sxkqcz1m4l2har9zfakc3jhnm"; 4 + IosevkaAile = "1rf70nsqkza1zwzpl2i015rhxs2wqq9msvkjhghg6scfir2bmpky"; 5 + IosevkaCurly = "0hqn94k9vh9ds077m4gmdhdhcg1x8libb6cp1c2iqgy7nyc9qywd"; 6 + IosevkaCurlySlab = "18ya3c8fw0hwifxdkyyfrnqybpwhf21ir3lhajs0x772ifs7xs22"; 7 + IosevkaEtoile = "1ycwyfyg1dk47mxgnc729liqnffyk2f5f0vzavdamydfdqnd9wrq"; 8 + IosevkaSlab = "1dfgbx0clsz7dxy32n7gzza8bx63gfq2j77vyfqwi9201qbmsyqr"; 9 + IosevkaSS01 = "1x4fayq749lcn857v5kls4kizdn2nm7sv3n5r9ac3x1vhnjp03c9"; 10 + IosevkaSS02 = "0ghwab6cx958kk5znc8d59bkjw1pfif3cz583j99n2jyd524y6bf"; 11 + IosevkaSS03 = "04g41ds76nkva8ai23xbq62szfdvrn659hrn0bjn1f754aq921h8"; 12 + IosevkaSS04 = "1c34cbmnmfnss9sncrkh92n054q8lhdpn7qvvi0p3kq1xbg17iny"; 13 + IosevkaSS05 = "03ii0w908k9xvgal7ja6sw3bmc3gnvhkgd6j023whrcjis77ryi9"; 14 + IosevkaSS06 = "1hv41jn17zacmfck1r6kc905i0aikz51xwx4zdnmmqq0xyyxdkrn"; 15 + IosevkaSS07 = "0vfys80wc4rznynvv8zck8h41nfz5ig01by03f6m8qd5fnjdbhw1"; 16 + IosevkaSS08 = "0ramm4jd6wfkfnwymfqpcgapbrqcsq1irfh33mkzamj35racnkgm"; 17 + IosevkaSS09 = "0f0y536nfmbkz5b57wm978ywrn5qc3f1wzfmwpdc7h3jqygakbdc"; 18 + IosevkaSS10 = "030blnwf75psiiqi5haypwvp9f9jnh5h24fz9x6swxx23x6pl6gn"; 19 + IosevkaSS11 = "06c9ka1ca57srnn81ahbmnvimcyb090izw22yrkkyd6nnf59ma34"; 20 + IosevkaSS12 = "11jv4xy9xva97v1lhz7w8c1qj9yb69a7l17aycdq1ma3mx73dpk0"; 21 + IosevkaSS13 = "07l3adjiz9i7hqfs8174db1283m2ly6nn0c91njx84fm541sizfn"; 22 + IosevkaSS14 = "1862fcq9zxdm5dh2032bvs2l2wg3ryrcsyjz0addgih7arp4gzfd"; 23 + IosevkaSS15 = "111pj1l1vmfcpj1jcb1cpdl1xbm2pjvmlvpmxbn8qh3ms2cvdgra"; 24 + IosevkaSS16 = "14dk6j8dw8scd0kn7hazld41731fgf5ym6ylljdq4jcgi6kygsiz"; 25 + IosevkaSS17 = "0ci8l5i2iwb8yjdxdzs41204x3zypsbcdn7a4sgjwc0fcg6ln89m"; 26 + IosevkaSS18 = "1wkwfdlz0kxymiii4i1wg1kiwbksnqkdpd5xjlg5abixj9dg2kcf"; 27 + SGr-Iosevka = "1q3x9b9h7daxfhz56mnlgsbcl3a4sr3h87f04dl3cxqxwmf1c65q"; 28 + SGr-IosevkaCurly = "0xplpj2na2427znwphrifyh5firc2z1pdq6sf7rc5apfizydspxc"; 29 + SGr-IosevkaCurlySlab = "1jbsq475fg0bmjjbrl0ylxzpi59cn9wm00693y3f2n900lrbbd6x"; 30 + SGr-IosevkaFixed = "1kw90cqj9fkjhhgjpi2pmjjxljhirfk68jz2k07b213qvg1ca1ab"; 31 + SGr-IosevkaFixedCurly = "1kpvimfga2harfb13i1gp4h5nl8qffa6a4dg9fcjwi56j9p1r0hq"; 32 + SGr-IosevkaFixedCurlySlab = "03r9h4gh7g7b80pwddm9vvldps9b32wfzd4bysmgn918wqiqkcwh"; 33 + SGr-IosevkaFixedSlab = "0q9l1djgsg15qhwl11kxdckrds05pkr6w34048r2hdxgvzr7f6gm"; 34 + SGr-IosevkaFixedSS01 = "1acc8cv14vv21p60iv0ldpmkd7a0hzpi6s1mw5z1zilnrm8swbfk"; 35 + SGr-IosevkaFixedSS02 = "1kp2b891wna0k4y8k40hdmm34a0p7788ja2ip9h7xvc2n1g64yl8"; 36 + SGr-IosevkaFixedSS03 = "1vgb6vdwc2kmh0219rpzqhg27zamka801zv7gm9ic24hfizy713x"; 37 + SGr-IosevkaFixedSS04 = "1g49bqkzsjdb5bli3pxh1rbmr8n6c0dxn2vdxjachxcz5mf4ja9z"; 38 + SGr-IosevkaFixedSS05 = "1sni2mxlwsbpvgh0rpjmr3ifjq4awgsc44s3yjiqw0y8wmd90qmg"; 39 + SGr-IosevkaFixedSS06 = "0nsv3bxjbm2r6dnva74d67f9r3k42jdvcjfrdgxkpwgydrcrkar7"; 40 + SGr-IosevkaFixedSS07 = "0qxx9mmg5i7rgqwl7zy3m11bhrqr6akv4jqlns4119clfq1bh1ip"; 41 + SGr-IosevkaFixedSS08 = "0w9v8slpp9q2ywn5absc97zqmg3f55vfd52rrv6rcc7jkd7zsz72"; 42 + SGr-IosevkaFixedSS09 = "19js1wah54mbkpf3vjqrxwk6lf2y7nq86dc5xxrj015yimkzsbsw"; 43 + SGr-IosevkaFixedSS10 = "03vvjfm69mvm0873b1ws93vkjbqjzd7f3kg65h7zwxg6r9l20ikc"; 44 + SGr-IosevkaFixedSS11 = "0jcwgblwx0bhvfibnlizsgwqryjqhyj80cz4dqhhrjlviirm17v3"; 45 + SGr-IosevkaFixedSS12 = "1pm1kmlmpaz5nnkbk4s0n12am134kb5mh2b6rhs104dkngf1zfkf"; 46 + SGr-IosevkaFixedSS13 = "1h3v8c7qsf7iyypvbhn7qsmm0a7mfyyh7i0p4f3pvkfdpb1sd509"; 47 + SGr-IosevkaFixedSS14 = "1fpwrck8dhha5rkrbz7dykyqrlg46fgih3sn1c36s7j737j69vch"; 48 + SGr-IosevkaFixedSS15 = "16iwab1gpc3xzgxld8km43n9dm6jxv0z39zgyxknw7xdxkwy247z"; 49 + SGr-IosevkaFixedSS16 = "0di6sr995gjadky3nd6k68i88cl745i2awq69cnv6akvcyy53fhd"; 50 + SGr-IosevkaFixedSS17 = "1p7qm49ww201yaddc0m18vjgp5xjn69cpmg3lsxav4bapf3yq01q"; 51 + SGr-IosevkaFixedSS18 = "08858lgilwqhrvpzciagh95a2cqc4bfipdyidl9bj718z67vwmgq"; 52 + SGr-IosevkaSlab = "10y6ykq3aaki5m4j4kmsv5y79li3l9bqisrwbvzw6vcs4895z6qw"; 53 + SGr-IosevkaSS01 = "0mdkm5fb6srxd9bmw41a1rglnap0fmfv78anzff6w0g4azvxlwxj"; 54 + SGr-IosevkaSS02 = "1z6bf14qcx5qkhfd99g0p26flin8wqmvlkqmxl32r0697a1yhaqm"; 55 + SGr-IosevkaSS03 = "1jvf58qnx89f90h1gwlm8nzfb4ab1wv6z39p9fzawcrsk70fj29q"; 56 + SGr-IosevkaSS04 = "11akqjhjc1nnmc1b0x05v78b3pr2mq4x1w9ldq07mq088cp9n1v8"; 57 + SGr-IosevkaSS05 = "0dn1d4gkgfqars6nj84lbic3ybld3h0h321kkrbl4s5wplli264k"; 58 + SGr-IosevkaSS06 = "1lxjvgipr4w7865xvcrx5vl5w40c9bz91rb7wm6lnxs9fljg9nim"; 59 + SGr-IosevkaSS07 = "0kyb0qyvq7z0m1z8561w6bkz73hfhnxp4hshx68pcbvyh3ah25hs"; 60 + SGr-IosevkaSS08 = "07f1qy450v6k9dn2l15b8xfdhkx2ri773lnld2jv482wm8nqn54z"; 61 + SGr-IosevkaSS09 = "1gkxlaip18fnxkcdf6iqh7in0qgjk4kvjqky3qjwhww3nbkww5cl"; 62 + SGr-IosevkaSS10 = "0g25n440ad8n2xxc4m9mrjfi5lf77jhjg9hld26w9ir5fhbg5gd9"; 63 + SGr-IosevkaSS11 = "06xgh13qsmfjzk925s30qwrvdhaxk3f04qrsyb12fyns7r8q39k2"; 64 + SGr-IosevkaSS12 = "05s9x6h609mrmq9dn1ca25crbb2nkf4v3av0mb7phc9narp2nl9d"; 65 + SGr-IosevkaSS13 = "1yz26cgb1mcbqhn2x85yh3hhivkdmrxpnkkqh28kqhp6yajb7cma"; 66 + SGr-IosevkaSS14 = "0ql72ic7m28p1k5c2zbrgpdllsciggcm26iylxxqvirsvrxpa4gg"; 67 + SGr-IosevkaSS15 = "1j3xib3szygxjx658jj1kzn8sn5qyyw14w7ayz9zi5dr2l86cnzy"; 68 + SGr-IosevkaSS16 = "0m48y236m5incc8p45mq7rryqyisjfrpihym7fsv10hylvfmjfp4"; 69 + SGr-IosevkaSS17 = "1c7hwxjzjcdil0vl44pndsa89rlp4i9p254zsr7qb23frjrd1jn5"; 70 + SGr-IosevkaSS18 = "0m09ilj16p2fl6mcf6hx2v3v2zshr1fwm49jvhcc1l72niafm2wm"; 71 + SGr-IosevkaTerm = "0n91a4icwxxbg3nhr4jc0ssjxf70wh7r5k7rhacha80kbb3n5yai"; 72 + SGr-IosevkaTermCurly = "0fbkad52yi2svh309klhr36pf79avp62nnh0sgh3pi5ss0fs1msr"; 73 + SGr-IosevkaTermCurlySlab = "0pzffbjjb8rm1cbc8v6qpl0xavgq0hdfipi3fafw5grl79hiz266"; 74 + SGr-IosevkaTermSlab = "01sif6fvszbsjq35gpydiy450n3l9s6zcgv16yg0yl7qpkcdjnyj"; 75 + SGr-IosevkaTermSS01 = "06x65513mr1xjqhvq72l28ki341v9zy51006pjm7q47gryvj9z9g"; 76 + SGr-IosevkaTermSS02 = "1wxryjk65idhkjbzamxr82zbqhh5vzc6kfi8f4zjsqi5mvd3x1fc"; 77 + SGr-IosevkaTermSS03 = "08vdzxy4rvpsdn2q1014ma4v9sk7f75i4633x2d3cysj08yq62qg"; 78 + SGr-IosevkaTermSS04 = "143wf50dfwn734zmq69d9nm98ynhicv0685d8s86kdn9lwrviz6a"; 79 + SGr-IosevkaTermSS05 = "1myql01syc1d9i61jrfdkk6j515dj6v01dkn8fcn1rcqkavz0r6j"; 80 + SGr-IosevkaTermSS06 = "1sha89llc72n4jf76yqh87pa2dx0rqwz1pq2v2gcljlmimmvknki"; 81 + SGr-IosevkaTermSS07 = "1ksd28c7i047ms01jih3xfkq39l1dvfmrr8zb994363qrxa8ycp8"; 82 + SGr-IosevkaTermSS08 = "02f35fkr31zm5z7zd081v2slv65f584lymbf5a6hjdpvf5bl42br"; 83 + SGr-IosevkaTermSS09 = "130xq18wwkbfr8myvga9zrpwf3y57ca5943ff1j88prmsq4m2gpx"; 84 + SGr-IosevkaTermSS10 = "0wj8k7a0ddgysrdfwqvcr615ch4d55rd22cr96jwmindx0k86az3"; 85 + SGr-IosevkaTermSS11 = "0bv4jxpq43gp8y6wbml06zbdzwb7zzk3l593c1zq41vs28lk6qb0"; 86 + SGr-IosevkaTermSS12 = "0nijgws4mlv6sp34l9fqlrk78krrbc2zxzkbbn7a0yalpnzddilz"; 87 + SGr-IosevkaTermSS13 = "04i434zafahf1wkdj87zd8fdvpi7nc83h00d844afcx8rdamm3fq"; 88 + SGr-IosevkaTermSS14 = "0qsb5jdq4b0p749fksqvj6givkn8ba5lqpm93rjrf2xxqv1bacy4"; 89 + SGr-IosevkaTermSS15 = "1j9jcr1823vw8bfvvvlw1v1sar14csmmwwcam4m69p9f3yxp8l2c"; 90 + SGr-IosevkaTermSS16 = "02v6qb7j0rnzm87mx4mvhkfj2888752a850sflsfv97fk5g4dnxs"; 91 + SGr-IosevkaTermSS17 = "1d1b5h8z21yqqzppnfwx22q3938a9r5gdkr5183608jrqhwnjlzr"; 92 + SGr-IosevkaTermSS18 = "1jzihaabkj33bxp2wxi6mndkxwfiv153i3941hmh5p6gmbm386a7"; 93 93 }
pkgs/development/cuda-modules/saxpy/CMakeLists.txt pkgs/development/cuda-modules/saxpy/src/CMakeLists.txt
+1 -8
pkgs/development/cuda-modules/saxpy/default.nix
··· 18 18 libcublas 19 19 ; 20 20 inherit (lib) getDev getLib getOutput; 21 - fs = lib.fileset; 22 21 in 23 22 backendStdenv.mkDerivation { 24 23 pname = "saxpy"; 25 24 version = "unstable-2023-07-11"; 26 25 27 - src = fs.toSource { 28 - root = ./.; 29 - fileset = fs.unions [ 30 - ./CMakeLists.txt 31 - ./saxpy.cu 32 - ]; 33 - }; 26 + src = ./src; 34 27 35 28 __structuredAttrs = true; 36 29 strictDeps = true;
pkgs/development/cuda-modules/saxpy/saxpy.cu pkgs/development/cuda-modules/saxpy/src/saxpy.cu
+2 -2
pkgs/development/interpreters/babashka/clojure-tools.nix
··· 7 7 }: 8 8 clojure.overrideAttrs (previousAttrs: { 9 9 pname = "babashka-clojure-tools"; 10 - version = "1.12.0.1479"; 10 + version = "1.12.0.1488"; 11 11 12 12 src = fetchurl { 13 13 url = previousAttrs.src.url; 14 - hash = "sha256-KlFcRXVd8e3zeP36+zgCUcdzbeLbFffb5V7XKV8NKWw="; 14 + hash = "sha256-vBm+ABC+8EIcJv077HvDvKCMGSgo1ZoVGEVCLcRCB0I="; 15 15 }; 16 16 })
+2 -2
pkgs/development/interpreters/babashka/default.nix
··· 9 9 let 10 10 babashka-unwrapped = buildGraalvmNativeImage rec { 11 11 pname = "babashka-unwrapped"; 12 - version = "1.12.195"; 12 + version = "1.12.196"; 13 13 14 14 src = fetchurl { 15 15 url = "https://github.com/babashka/babashka/releases/download/v${version}/babashka-${version}-standalone.jar"; 16 - sha256 = "sha256-1bZaWg1AtStF1uuoY8Z0V4s0fMSchSTR/pTSWdEzcuw="; 16 + sha256 = "sha256-11HrLQi/BYX+LqqUAN3mZx13775dzXCDFxpJP33bKQY="; 17 17 }; 18 18 19 19 graalvmDrv = graalvmPackages.graalvm-ce;
pkgs/development/libraries/glib/darwin-compilation.patch pkgs/by-name/gl/glib/darwin-compilation.patch
-346
pkgs/development/libraries/glib/default.nix
··· 1 - { config 2 - , lib 3 - , stdenv 4 - , fetchurl 5 - , gettext 6 - , meson 7 - , ninja 8 - , pkg-config 9 - , perl 10 - , python3 11 - , python3Packages 12 - , libiconv, zlib, libffi, pcre2, elfutils, gnome, libselinux, bash, gnum4, libxslt 13 - , docutils, gi-docgen 14 - # use util-linuxMinimal to avoid circular dependency (util-linux, systemd, glib) 15 - , util-linuxMinimal ? null 16 - , buildPackages 17 - 18 - # this is just for tests (not in the closure of any regular package) 19 - , dbus, tzdata 20 - , desktop-file-utils, shared-mime-info 21 - , darwin 22 - , makeHardcodeGsettingsPatch 23 - , testers 24 - , gobject-introspection 25 - , libsystemtap 26 - , libsysprof-capture 27 - , mesonEmulatorHook 28 - , withIntrospection ? 29 - stdenv.hostPlatform.emulatorAvailable buildPackages && 30 - lib.meta.availableOn stdenv.hostPlatform gobject-introspection && 31 - stdenv.hostPlatform.isLittleEndian == stdenv.buildPlatform.isLittleEndian 32 - }: 33 - 34 - assert stdenv.hostPlatform.isLinux -> util-linuxMinimal != null; 35 - 36 - let 37 - gobject-introspection' = buildPackages.gobject-introspection.override { 38 - propagateFullGlib = false; 39 - # Avoid introducing cairo, which enables gobjectSupport by default. 40 - x11Support = false; 41 - }; 42 - 43 - librarySuffix = if (stdenv.hostPlatform.extensions.library == ".so") then "2.0.so.0" 44 - else if (stdenv.hostPlatform.extensions.library == ".dylib") then "2.0.0.dylib" 45 - else if (stdenv.hostPlatform.extensions.library == ".a") then "2.0.a" 46 - else if (stdenv.hostPlatform.extensions.library == ".dll") then "2.0-0.dll" 47 - else "2.0-0.lib"; 48 - 49 - systemtap' = buildPackages.linuxPackages.systemtap.override { withStap = false; }; 50 - withDtrace = 51 - lib.meta.availableOn stdenv.buildPlatform systemtap' && 52 - # dtrace support requires sys/sdt.h header 53 - lib.meta.availableOn stdenv.hostPlatform libsystemtap; 54 - in 55 - 56 - stdenv.mkDerivation (finalAttrs: { 57 - pname = "glib"; 58 - version = "2.82.4"; 59 - 60 - src = fetchurl { 61 - url = "mirror://gnome/sources/glib/${lib.versions.majorMinor finalAttrs.version}/glib-${finalAttrs.version}.tar.xz"; 62 - hash = "sha256-N90Id/6WTNFemicQsEShgw+xvZNlKm0Mtriy3/GHxwk="; 63 - }; 64 - 65 - patches = lib.optionals stdenv.hostPlatform.isDarwin [ 66 - ./darwin-compilation.patch 67 - ] ++ lib.optionals stdenv.hostPlatform.isMusl [ 68 - ./quark_init_on_demand.patch 69 - ./gobject_init_on_demand.patch 70 - ] ++ [ 71 - # This patch lets GLib's GDesktopAppInfo API watch and notice changes 72 - # to the Nix user and system profiles. That way, the list of available 73 - # applications shown by the desktop environment is immediately updated 74 - # when the user installs or removes any 75 - # (see <https://issues.guix.gnu.org/35594>). 76 - 77 - # It does so by monitoring /nix/var/nix/profiles (for changes to the system 78 - # profile) and /nix/var/nix/profiles/per-user/USER (for changes to the user 79 - # profile) as well as /etc/profiles/per-user (for chanes to the user 80 - # environment profile) and crawling their share/applications sub-directory when 81 - # changes happen. 82 - ./glib-appinfo-watch.patch 83 - 84 - ./schema-override-variable.patch 85 - 86 - # Add support for Pantheon’s terminal emulator. 87 - ./elementary-terminal-support.patch 88 - 89 - # GLib contains many binaries used for different purposes; 90 - # we will install them to different outputs: 91 - # 1. Tools for desktop environment and introspection ($bin) 92 - # * gapplication (non-darwin) 93 - # * gdbus 94 - # * gi-compile-repository 95 - # * gi-decompile-typelib 96 - # * gi-inspect-typelib 97 - # * gio 98 - # * gio-launch-desktop (symlink to $out) 99 - # * gsettings 100 - # 2. Development/build tools ($dev) 101 - # * gdbus-codegen 102 - # * gio-querymodules 103 - # * glib-compile-resources 104 - # * glib-compile-schemas 105 - # * glib-genmarshal 106 - # * glib-gettextize 107 - # * glib-mkenums 108 - # * gobject-query 109 - # * gresource 110 - # * gtester 111 - # * gtester-report 112 - # 3. Tools for desktop environment that cannot go to $bin due to $out depending on them ($out) 113 - # * gio-launch-desktop 114 - ./split-dev-programs.patch 115 - 116 - # Tell Meson to install gdb scripts next to the lib 117 - # GDB only looks there and in ${gdb}/share/gdb/auto-load, 118 - # and by default meson installs in to $out/share/gdb/auto-load 119 - # which does not help 120 - ./gdb_script.patch 121 - ]; 122 - 123 - outputs = [ "bin" "out" "dev" "devdoc" ]; 124 - 125 - setupHook = ./setup-hook.sh; 126 - 127 - buildInputs = [ 128 - finalAttrs.setupHook 129 - ] ++ lib.optionals (!stdenv.hostPlatform.isFreeBSD) [ 130 - libsysprof-capture 131 - ] ++ [ 132 - pcre2 133 - ] ++ lib.optionals (!stdenv.hostPlatform.isWindows) [ 134 - bash gnum4 # install glib-gettextize and m4 macros for other apps to use 135 - ] ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform elfutils) [ 136 - elfutils 137 - ] ++ lib.optionals withDtrace [ 138 - libsystemtap 139 - ] ++ lib.optionals stdenv.hostPlatform.isLinux [ 140 - libselinux 141 - util-linuxMinimal # for libmount 142 - ] ++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [ 143 - AppKit Carbon Cocoa CoreFoundation CoreServices Foundation 144 - ]); 145 - 146 - strictDeps = true; 147 - 148 - depsBuildBuild = [ 149 - pkg-config # required to find native gi-docgen 150 - ]; 151 - 152 - nativeBuildInputs = [ 153 - docutils # for rst2man, rst2html5 154 - meson 155 - ninja 156 - pkg-config 157 - perl 158 - python3 159 - python3Packages.packaging # mostly used to make meson happy 160 - python3Packages.wrapPython # for patchPythonScript 161 - gettext 162 - libxslt 163 - ] ++ lib.optionals withIntrospection [ 164 - gi-docgen 165 - gobject-introspection' 166 - ] ++ lib.optionals (withIntrospection && !stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ 167 - mesonEmulatorHook 168 - ] ++ lib.optionals withDtrace [ 169 - systemtap' # for dtrace 170 - ]; 171 - 172 - propagatedBuildInputs = [ zlib libffi gettext libiconv ]; 173 - 174 - mesonFlags = [ 175 - "-Dglib_debug=disabled" # https://gitlab.gnome.org/GNOME/glib/-/issues/3421#note_2206315 176 - "-Ddocumentation=true" # gvariant specification can be built without gi-docgen 177 - (lib.mesonEnable "dtrace" withDtrace) 178 - (lib.mesonEnable "systemtap" withDtrace) # requires dtrace option to be enabled 179 - "-Dnls=enabled" 180 - "-Ddevbindir=${placeholder "dev"}/bin" 181 - (lib.mesonEnable "introspection" withIntrospection) 182 - # FIXME: Fails when linking target glib/tests/libconstructor-helper.so 183 - # relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a shared object 184 - "-Dtests=${lib.boolToString (!stdenv.hostPlatform.isStatic)}" 185 - ] ++ lib.optionals (!lib.meta.availableOn stdenv.hostPlatform elfutils) [ 186 - "-Dlibelf=disabled" 187 - ] ++ lib.optionals stdenv.hostPlatform.isFreeBSD [ 188 - "-Db_lundef=false" 189 - "-Dxattr=false" 190 - "-Dsysprof=disabled" # sysprof-capture does not build on FreeBSD 191 - ]; 192 - 193 - env.NIX_CFLAGS_COMPILE = toString [ 194 - "-Wno-error=nonnull" 195 - # Default for release buildtype but passed manually because 196 - # we're using plain 197 - "-DG_DISABLE_CAST_CHECKS" 198 - ]; 199 - 200 - postPatch = '' 201 - patchShebangs glib/gen-unicode-tables.pl 202 - patchShebangs glib/tests/gen-casefold-txt.py 203 - patchShebangs glib/tests/gen-casemap-txt.py 204 - patchShebangs tools/gen-visibility-macros.py 205 - patchShebangs tests 206 - 207 - # Needs machine-id, comment the test 208 - sed -e '/\/gdbus\/codegen-peer-to-peer/ s/^\/*/\/\//' -i gio/tests/gdbus-peer.c 209 - sed -e '/g_test_add_func/ s/^\/*/\/\//' -i gio/tests/gdbus-address-get-session.c 210 - # All gschemas fail to pass the test, upstream bug? 211 - sed -e '/g_test_add_data_func/ s/^\/*/\/\//' -i gio/tests/gschema-compile.c 212 - # Cannot reproduce the failing test_associations on hydra 213 - sed -e '/\/appinfo\/associations/d' -i gio/tests/appinfo.c 214 - # Needed because of libtool wrappers 215 - sed -e '/g_subprocess_launcher_set_environ (launcher, envp);/a g_subprocess_launcher_setenv (launcher, "PATH", g_getenv("PATH"), TRUE);' -i gio/tests/gsubprocess.c 216 - '' + lib.optionalString stdenv.hostPlatform.isWindows '' 217 - substituteInPlace gio/win32/meson.build \ 218 - --replace "libintl, " "" 219 - ''; 220 - 221 - postConfigure = '' 222 - patchShebangs gio/gdbus-2.0/codegen/gdbus-codegen gobject/glib-{genmarshal,mkenums} 223 - ''; 224 - 225 - DETERMINISTIC_BUILD = 1; 226 - 227 - postInstall = '' 228 - moveToOutput "share/glib-2.0" "$dev" 229 - moveToOutput "share/glib-2.0/gdb" "$out" 230 - substituteInPlace "$dev/bin/gdbus-codegen" --replace "$out" "$dev" 231 - sed -i "$dev/bin/glib-gettextize" -e "s|^gettext_dir=.*|gettext_dir=$dev/share/glib-2.0/gettext|" 232 - 233 - # This file is *included* in gtk3 and would introduce runtime reference via __FILE__. 234 - sed '1i#line 1 "glib-${finalAttrs.version}/include/glib-2.0/gobject/gobjectnotifyqueue.c"' \ 235 - -i "$dev"/include/glib-2.0/gobject/gobjectnotifyqueue.c 236 - for i in $bin/bin/*; do 237 - moveToOutput "share/bash-completion/completions/''${i##*/}" "$bin" 238 - done 239 - for i in $dev/bin/*; do 240 - moveToOutput "share/bash-completion/completions/''${i##*/}" "$dev" 241 - done 242 - ''; 243 - 244 - preFixup = lib.optionalString (!stdenv.hostPlatform.isStatic) '' 245 - buildPythonPath ${python3Packages.packaging} 246 - patchPythonScript "$dev/share/glib-2.0/codegen/utils.py" 247 - ''; 248 - 249 - # Move man pages to the same output as their binaries (needs to be 250 - # done after preFixupHooks which moves man pages too - in 251 - # _multioutDocs) 252 - postFixup = '' 253 - for i in $dev/bin/*; do 254 - moveToOutput "share/man/man1/''${i##*/}.1.*" "$dev" 255 - done 256 - 257 - # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back. 258 - moveToOutput "share/doc" "$devdoc" 259 - ''; 260 - 261 - nativeCheckInputs = [ tzdata desktop-file-utils shared-mime-info ]; 262 - 263 - # Conditional necessary to break infinite recursion with passthru.tests 264 - preCheck = lib.optionalString finalAttrs.finalPackage.doCheck or config.doCheckByDefault or false '' 265 - export LD_LIBRARY_PATH="$NIX_BUILD_TOP/glib-${finalAttrs.version}/glib/.libs''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" 266 - export TZDIR="${tzdata}/share/zoneinfo" 267 - export XDG_CACHE_HOME="$TMP" 268 - export XDG_RUNTIME_HOME="$TMP" 269 - export HOME="$TMP" 270 - export XDG_DATA_DIRS="${desktop-file-utils}/share:${shared-mime-info}/share" 271 - export G_TEST_DBUS_DAEMON="${dbus}/bin/dbus-daemon" 272 - 273 - # pkg_config_tests expects a PKG_CONFIG_PATH that points to meson-private, wrapped pkg-config 274 - # tries to be clever and picks up the wrong glib at the end. 275 - export PATH="${buildPackages.pkg-config-unwrapped}/bin:$PATH:$(pwd)/gobject" 276 - echo "PATH=$PATH" 277 - 278 - # Our gobject-introspection patches make the shared library paths absolute 279 - # in the GIR files. When running tests, the library is not yet installed, 280 - # though, so we need to replace the absolute path with a local one during build. 281 - # We are using a symlink that we will delete before installation. 282 - mkdir -p $out/lib 283 - ln -s $PWD/gobject/libgobject-${librarySuffix} $out/lib/libgobject-${librarySuffix} 284 - ln -s $PWD/gio/libgio-${librarySuffix} $out/lib/libgio-${librarySuffix} 285 - ln -s $PWD/glib/libglib-${librarySuffix} $out/lib/libglib-${librarySuffix} 286 - ''; 287 - 288 - postCheck = '' 289 - rm $out/lib/libgobject-${librarySuffix} 290 - rm $out/lib/libgio-${librarySuffix} 291 - rm $out/lib/libglib-${librarySuffix} 292 - ''; 293 - 294 - separateDebugInfo = stdenv.hostPlatform.isLinux; 295 - 296 - passthru = rec { 297 - gioModuleDir = "lib/gio/modules"; 298 - 299 - makeSchemaDataDirPath = dir: name: "${dir}/share/gsettings-schemas/${name}"; 300 - makeSchemaPath = dir: name: "${makeSchemaDataDirPath dir name}/glib-2.0/schemas"; 301 - getSchemaPath = pkg: makeSchemaPath pkg pkg.name; 302 - getSchemaDataDirPath = pkg: makeSchemaDataDirPath pkg pkg.name; 303 - 304 - tests = { 305 - withChecks = finalAttrs.finalPackage.overrideAttrs (_: { doCheck = true; }); 306 - pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 307 - }; 308 - 309 - updateScript = gnome.updateScript { 310 - packageName = "glib"; 311 - versionPolicy = "odd-unstable"; 312 - }; 313 - 314 - mkHardcodeGsettingsPatch = 315 - { 316 - src, 317 - glib-schema-to-var, 318 - }: 319 - builtins.trace 320 - "glib.mkHardcodeGsettingsPatch is deprecated, please use makeHardcodeGsettingsPatch instead" 321 - (makeHardcodeGsettingsPatch { 322 - inherit src; 323 - schemaIdToVariableMapping = glib-schema-to-var; 324 - }); 325 - }; 326 - 327 - meta = with lib; { 328 - description = "C library of programming buildings blocks"; 329 - homepage = "https://gitlab.gnome.org/GNOME/glib"; 330 - license = licenses.lgpl21Plus; 331 - maintainers = teams.gnome.members ++ (with maintainers; [ lovek323 raskin ]); 332 - pkgConfigModules = [ 333 - "gio-2.0" 334 - "gobject-2.0" 335 - "gthread-2.0" 336 - ]; 337 - platforms = platforms.unix ++ platforms.windows; 338 - 339 - longDescription = '' 340 - GLib provides the core application building blocks for libraries 341 - and applications written in C. It provides the core object 342 - system used in GNOME, the main loop implementation, and a large 343 - set of utility functions for strings and common data structures. 344 - ''; 345 - }; 346 - })
pkgs/development/libraries/glib/elementary-terminal-support.patch pkgs/by-name/gl/glib/elementary-terminal-support.patch
pkgs/development/libraries/glib/gdb_script.patch pkgs/by-name/gl/glib/gdb_script.patch
pkgs/development/libraries/glib/glib-appinfo-watch.patch pkgs/by-name/gl/glib/glib-appinfo-watch.patch
pkgs/development/libraries/glib/gobject_init_on_demand.patch pkgs/by-name/gl/glib/gobject_init_on_demand.patch
pkgs/development/libraries/glib/quark_init_on_demand.patch pkgs/by-name/gl/glib/quark_init_on_demand.patch
pkgs/development/libraries/glib/schema-override-variable.patch pkgs/by-name/gl/glib/schema-override-variable.patch
pkgs/development/libraries/glib/setup-hook.sh pkgs/by-name/gl/glib/setup-hook.sh
pkgs/development/libraries/glib/split-dev-programs.patch pkgs/by-name/gl/glib/split-dev-programs.patch
+2 -2
pkgs/development/python-modules/ansitable/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "ansitable"; 15 - version = "0.11.3"; 15 + version = "0.11.4"; 16 16 pyproject = true; 17 17 18 18 disabled = pythonOlder "3.7"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - hash = "sha256-navayezkSSHgwOysC3fbgTQahRZjIV24JzIAQl+X5Jk="; 22 + hash = "sha256-XUjXVs9/ETlbbtvYz8YJqCsP1BFajqQKQfSM+Rvm4O0="; 23 23 }; 24 24 25 25 build-system = [ setuptools ];
+2 -2
pkgs/development/python-modules/awscrt/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "awscrt"; 15 - version = "0.23.0"; 15 + version = "0.23.6"; 16 16 format = "setuptools"; 17 17 18 18 disabled = pythonOlder "3.7"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - hash = "sha256-/fV2FX2CMt3jjpnJ4XjhfWVa1yWmWna7eYO/6npPxig="; 22 + hash = "sha256-FMT4E0TseXccmqk4AFlClu5+qknbD7n9FatmKiH634o="; 23 23 }; 24 24 25 25 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
+2 -2
pkgs/development/python-modules/azure-servicebus/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "azure-servicebus"; 14 - version = "7.12.3"; 14 + version = "7.13.0"; 15 15 pyproject = true; 16 16 17 17 disabled = pythonOlder "3.8"; ··· 19 19 src = fetchPypi { 20 20 pname = "azure_servicebus"; 21 21 inherit version; 22 - hash = "sha256-PwdZcxrSIRxo60sh5byimCf31v8Ccr3H7vEDwcE/gyI="; 22 + hash = "sha256-p16aYUNco606eX8di/T90Nhz66nl04OJSsh+9eGnDPA="; 23 23 }; 24 24 25 25 build-system = [ setuptools ];
+3 -3
pkgs/development/python-modules/bandit/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "bandit"; 15 - version = "1.7.10"; 15 + version = "1.8.0"; 16 16 pyproject = true; 17 17 18 - disabled = pythonOlder "3.8"; 18 + disabled = pythonOlder "3.9"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - hash = "sha256-We1cr12Stq2kv2W8ZDf+6kqdoQkzhERf7U1HKsxs/3s="; 22 + hash = "sha256-tb/lWglavZ/iAJkXinxsBg+ES/1P5MdtKONeTFK50x4="; 23 23 }; 24 24 25 25 nativeBuildInputs = [ pbr ];
+2 -2
pkgs/development/python-modules/berkeleydb/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "berkeleydb"; 13 - version = "18.1.10"; 13 + version = "18.1.12"; 14 14 pyproject = true; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - hash = "sha256-QmNBoWAHqQAtmHpvTZcib46v/8saBIhIgFPTijEnyBo="; 18 + hash = "sha256-SVqBecajayLQ+i9ogfp4PPdSIUooV2BSlgX2CBAd6yg="; 19 19 }; 20 20 21 21 build-system = [ setuptools ];
+3 -3
pkgs/development/python-modules/bottleneck/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "bottleneck"; 13 - version = "1.4.0"; 13 + version = "1.4.2"; 14 14 format = "setuptools"; 15 15 16 - disabled = pythonOlder "3.7"; 16 + disabled = pythonOlder "3.9"; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - hash = "sha256-vrNt9Rm4cJ59NXwMljmwO4hcpjVbv15TdSxoXeUWBbg="; 20 + hash = "sha256-+o6OF5nepUg85maUYmYPnZqVZJ9vmKgNMVuE7In0SfQ="; 21 21 }; 22 22 23 23 propagatedBuildInputs = [ numpy ];
+2 -2
pkgs/development/python-modules/cloudsmith-api/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "cloudsmith-api"; 14 - version = "2.0.13"; 14 + version = "2.0.16"; 15 15 format = "wheel"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 19 19 src = fetchPypi { 20 20 pname = "cloudsmith_api"; 21 21 inherit format version; 22 - hash = "sha256-xPPARaxclTRy7thJXtXaMK0F5/91q7o35LyzSmx1HPU="; 22 + hash = "sha256-Hgg2mwBdUwW26h0mkgTIFLyigefAENDItQ0EvPGAOc0="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+3 -3
pkgs/development/python-modules/confluent-kafka/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "confluent-kafka"; 21 - version = "2.5.3"; 21 + version = "2.6.1"; 22 22 pyproject = true; 23 23 24 24 disabled = pythonOlder "3.7"; ··· 26 26 src = fetchFromGitHub { 27 27 owner = "confluentinc"; 28 28 repo = "confluent-kafka-python"; 29 - rev = "refs/tags/v${version}"; 30 - hash = "sha256-b9RTz4wUtDzGkoeB0cp5vbZEBk8jSw2JiXEx6tUuPVw="; 29 + tag = "v${version}"; 30 + hash = "sha256-SFmZ/KriysvLkGT5mvIS9SJcUHWmvZXrqFAY0lC6bGc="; 31 31 }; 32 32 33 33 buildInputs = [ rdkafka ];
+2 -2
pkgs/development/python-modules/consolekit/default.nix
··· 12 12 }: 13 13 buildPythonPackage rec { 14 14 pname = "consolekit"; 15 - version = "1.7.1"; 15 + version = "1.7.2"; 16 16 pyproject = true; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - hash = "sha256-TU5sufqJ0znCD/QOidrT7jB1NCXJ1p8Z7FPFNPp97qg="; 20 + hash = "sha256-3qa58lA2nquII99W+SGEQHHlb1BRrAWdihUOiQYmcns="; 21 21 }; 22 22 23 23 build-system = [ flit-core ];
+23 -12
pkgs/development/python-modules/cx-freeze/default.nix
··· 1 1 { 2 2 lib, 3 + stdenv, 3 4 buildPythonPackage, 4 5 distutils, 5 6 fetchPypi, ··· 8 9 packaging, 9 10 setuptools, 10 11 filelock, 11 - wheel, 12 12 patchelf, 13 + tomli, 14 + importlib-metadata, 15 + typing-extensions, 16 + dmgbuild, 13 17 }: 14 18 15 19 buildPythonPackage rec { 16 20 pname = "cx-freeze"; 17 - version = "7.2.2"; 21 + version = "7.2.7"; 18 22 pyproject = true; 19 23 20 - disabled = pythonOlder "3.11"; 24 + disabled = pythonOlder "3.8"; 21 25 22 26 src = fetchPypi { 23 27 pname = "cx_freeze"; 24 28 inherit version; 25 - hash = "sha256-6bLEvWjr9PuZtq8v8oHA5TewSa7pSIBcxKAo4XGKvGo="; 29 + hash = "sha256-xNQ6TlNXNSrFqJID/aOoz63wM9Q2gvc6u+/ThgzlD7Q="; 26 30 }; 27 31 28 32 postPatch = '' ··· 34 38 35 39 build-system = [ 36 40 setuptools 37 - wheel 38 41 ]; 39 42 40 43 buildInputs = [ ncurses ]; 41 44 42 - dependencies = [ 43 - distutils 44 - filelock 45 - packaging 46 - setuptools 47 - wheel 48 - ]; 45 + dependencies = 46 + [ 47 + distutils 48 + packaging 49 + setuptools 50 + ] 51 + ++ lib.optionals (pythonOlder "3.11") [ 52 + tomli 53 + ] 54 + ++ lib.optionals (pythonOlder "3.10") [ 55 + importlib-metadata 56 + typing-extensions 57 + ] 58 + ++ lib.optional stdenv.hostPlatform.isLinux filelock 59 + ++ lib.optional stdenv.hostPlatform.isDarwin dmgbuild; 49 60 50 61 makeWrapperArgs = [ 51 62 "--prefix"
+5 -5
pkgs/development/python-modules/django-pgactivity/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "django-pgactivity"; 12 - version = "1.7.0"; 12 + version = "1.7.1"; 13 13 pyproject = true; 14 14 15 15 src = fetchFromGitHub { 16 - owner = "Opus10"; 16 + owner = "AmbitionEng"; 17 17 repo = "django-pgactivity"; 18 18 tag = version; 19 - hash = "sha256-XJDnNMhkoaRQBVsAdDqnFjOobUHi/RaMQZJnI61MuVI="; 19 + hash = "sha256-PDJJf0PI5aqFn1HODv6wRSgTCr9ajfpPSDCB8twrFcQ="; 20 20 }; 21 21 22 22 build-system = [ poetry-core ]; ··· 30 30 31 31 meta = { 32 32 description = "View, filter, and kill Postgres queries"; 33 - homepage = "https://github.com/Opus10/django-pgactivity"; 34 - changelog = "https://github.com/Opus10/django-pgactivity/blob/${version}/CHANGELOG.md"; 33 + homepage = "https://github.com/AmbitionEng/django-pgactivity"; 34 + changelog = "https://github.com/AmbitionEng/django-pgactivity/blob/${version}/CHANGELOG.md"; 35 35 license = lib.licenses.bsd3; 36 36 maintainers = with lib.maintainers; [ jopejoe1 ]; 37 37 };
+5 -5
pkgs/development/python-modules/django-pglock/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "django-pglock"; 12 - version = "1.7.0"; 12 + version = "1.7.1"; 13 13 pyproject = true; 14 14 15 15 src = fetchFromGitHub { 16 - owner = "Opus10"; 16 + owner = "AmbitionEng"; 17 17 repo = "django-pglock"; 18 18 tag = version; 19 - hash = "sha256-7PBZvI4OTDIZjjLWnfOwGAdEJr3D6snmR20hPboLvXc="; 19 + hash = "sha256-WbifapA2A0grxePozwDSPzREIzmgBV+V5wpA9jeYfJ8="; 20 20 }; 21 21 22 22 build-system = [ poetry-core ]; ··· 30 30 31 31 meta = { 32 32 description = "Postgres advisory locks, table locks, and blocking lock management"; 33 - homepage = "https://github.com/Opus10/django-pglock"; 34 - changelog = "https://github.com/Opus10/django-pglock/blob/${version}/CHANGELOG.md"; 33 + homepage = "https://github.com/AmbitionEng/django-pglock"; 34 + changelog = "https://github.com/AmbitionEng/django-pglock/blob/${version}/CHANGELOG.md"; 35 35 license = lib.licenses.bsd3; 36 36 maintainers = with lib.maintainers; [ jopejoe1 ]; 37 37 };
+2 -2
pkgs/development/python-modules/django-soft-delete/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "django-soft-delete"; 11 - version = "1.0.14"; 11 + version = "1.0.16"; 12 12 pyproject = true; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - hash = "sha256-Qo31bqT7sT9C1PdS8R8qUXqjGsPRtFDmt4xMXV2d/Ds="; 16 + hash = "sha256-zEA5jM2GnHWm1rp/Um4WxK/isMCBHCE6MY2Wu0xYp4c="; 17 17 }; 18 18 19 19 dependencies = [ django ];
+3 -3
pkgs/development/python-modules/dploot/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "dploot"; 15 - version = "3.0.0"; 15 + version = "3.0.3"; 16 16 pyproject = true; 17 17 18 - disabled = pythonOlder "3.7"; 18 + disabled = pythonOlder "3.10"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - hash = "sha256-G39dzP5A6ZySo7AhDIZWXjhtk2zm15wSnrdknLqHHcY="; 22 + hash = "sha256-MBuO9anCe8wDD+72pR/bFrV5pAmEIWY2pKSvPSTq0yQ="; 23 23 }; 24 24 25 25 pythonRelaxDeps = [
+2 -2
pkgs/development/python-modules/etils/default.nix
··· 29 29 30 30 buildPythonPackage rec { 31 31 pname = "etils"; 32 - version = "1.10.0"; 32 + version = "1.11.0"; 33 33 pyproject = true; 34 34 35 35 disabled = pythonOlder "3.10"; 36 36 37 37 src = fetchPypi { 38 38 inherit pname version; 39 - hash = "sha256-Tqqdckj9Tut15E1HyimHWlzOoETMFKF0NXlL+KwRagU="; 39 + hash = "sha256-r/Mnijvn/d8wLf2AM16fkkJEZmxxI5zZHoNvPQVfHEo="; 40 40 }; 41 41 42 42 nativeBuildInputs = [ flit-core ];
+2 -2
pkgs/development/python-modules/fabio/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "fabio"; 19 - version = "2024.4.0"; 19 + version = "2024.9.0"; 20 20 pyproject = true; 21 21 22 22 src = fetchPypi { 23 23 inherit pname version; 24 - hash = "sha256-NPVxu4sZ7hIvrHrh1iRakraa5fj1cUnH259tTDByRNc="; 24 + hash = "sha256-+HPfUfRoUxwRqufgzYihTyIfTvCUMfvFpspnse1HU1s="; 25 25 }; 26 26 27 27 pythonImportsCheck = [ "fabio" ];
+3
pkgs/development/python-modules/flask-restx/default.nix
··· 17 17 pytest-flask, 18 18 pytest-mock, 19 19 pytest-benchmark, 20 + pytest-vcr, 20 21 pytestCheckHook, 21 22 setuptools, 22 23 }: ··· 55 56 pytest-benchmark 56 57 pytest-flask 57 58 pytest-mock 59 + pytest-vcr 58 60 pytestCheckHook 59 61 ]; 60 62 ··· 70 72 ]; 71 73 72 74 disabledTests = [ 75 + "test_specs_endpoint_host_and_subdomain" 73 76 # broken in werkzeug 2.3 upgrade 74 77 "test_media_types_method" 75 78 "test_media_types_q"
+2 -2
pkgs/development/python-modules/githubkit/default.nix
··· 17 17 18 18 buildPythonPackage rec { 19 19 pname = "githubkit"; 20 - version = "0.12.1"; 20 + version = "0.12.3"; 21 21 pyproject = true; 22 22 23 23 disabled = pythonOlder "3.9"; ··· 26 26 owner = "yanyongyu"; 27 27 repo = "githubkit"; 28 28 tag = "v${version}"; 29 - hash = "sha256-ewPCALnkGDhzxn3P9GO5QUaFZDhqsbQNeCmyTCXd7kE="; 29 + hash = "sha256-sI24tSvwbh+zPTPVjkNlBg7TM6D5qMxfeF4pfj+6Q+E="; 30 30 }; 31 31 32 32 pythonRelaxDeps = [ "hishel" ];
+2 -2
pkgs/development/python-modules/glyphslib/default.nix
··· 17 17 18 18 buildPythonPackage rec { 19 19 pname = "glyphslib"; 20 - version = "6.9.0"; 20 + version = "6.9.5"; 21 21 22 22 format = "pyproject"; 23 23 ··· 25 25 owner = "googlefonts"; 26 26 repo = "glyphsLib"; 27 27 rev = "refs/tags/v${version}"; 28 - hash = "sha256-NanqjZZkxrhPaBsR+FrARvsO3vdT2MYnWFtkO0hpbQg="; 28 + hash = "sha256-9b4nPiGyBsTplEhfmPdhjalV0fexYXerdRqUbOUXlh0="; 29 29 }; 30 30 31 31 nativeBuildInputs = [ setuptools-scm ];
+2 -2
pkgs/development/python-modules/gnureadline/default.nix
··· 7 7 }: 8 8 9 9 buildPythonPackage rec { 10 - version = "8.2.10"; 10 + version = "8.2.13"; 11 11 format = "setuptools"; 12 12 pname = "gnureadline"; 13 13 disabled = isPyPy; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - hash = "sha256-p0a6mNTeN7B55C2Um3BMM8FoswvR+QcaHSXJ2ppEmZc="; 17 + hash = "sha256-ybnh57qZqAu1DBICfWzmkldPd6Zb9XvJcEHPgcD0m9E="; 18 18 }; 19 19 20 20 buildInputs = [ pkgs.ncurses ];
+2 -2
pkgs/development/python-modules/google-cloud-dataproc/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "google-cloud-dataproc"; 19 - version = "5.12.0"; 19 + version = "5.16.0"; 20 20 pyproject = true; 21 21 22 22 disabled = pythonOlder "3.7"; ··· 24 24 src = fetchPypi { 25 25 pname = "google_cloud_dataproc"; 26 26 inherit version; 27 - hash = "sha256-S1jXIPAgxONTeKKeqHzoKGr2Mes7w4LMvL/zncAZnik="; 27 + hash = "sha256-I7LYrk9kjgG2b+0KvqEUtgDTNj2VW4VYx2Rak/KNbjw="; 28 28 }; 29 29 30 30 build-system = [ setuptools ];
+2 -2
pkgs/development/python-modules/google-cloud-dlp/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "google-cloud-dlp"; 18 - version = "3.25.1"; 18 + version = "3.26.0"; 19 19 pyproject = true; 20 20 21 21 disabled = pythonOlder "3.7"; ··· 23 23 src = fetchPypi { 24 24 pname = "google_cloud_dlp"; 25 25 inherit version; 26 - hash = "sha256-6R4CSOyB+beTUPNtj8wQc7uQmMUxhyO8lebV0PDu1Lg="; 26 + hash = "sha256-+kxjk9deiNQU+Vhjs53Xpgo/UZEtA2gDylr7WR1obzQ="; 27 27 }; 28 28 29 29 build-system = [ setuptools ];
+2 -2
pkgs/development/python-modules/hg-evolve/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "hg-evolve"; 10 - version = "11.1.4"; 10 + version = "11.1.6"; 11 11 format = "setuptools"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - hash = "sha256-Yph2g254fSnPVfgmkmeRSqlmsUfHgP+wqN0GHLIV/wc="; 15 + hash = "sha256-Jun1gZYZXv8nuJBnberK1bcTPTLCDgGGd543OeOEVOs="; 16 16 }; 17 17 18 18 nativeCheckInputs = [ mercurial ];
+2 -5
pkgs/development/python-modules/import-expression/default.nix
··· 5 5 pytestCheckHook, 6 6 pythonOlder, 7 7 setuptools, 8 - typing-extensions, 9 8 }: 10 9 11 10 buildPythonPackage rec { 12 11 pname = "import-expression"; 13 - version = "2.1.0.post1"; 12 + version = "2.2.1.post1"; 14 13 pyproject = true; 15 14 16 15 disabled = pythonOlder "3.9"; ··· 18 17 src = fetchPypi { 19 18 pname = "import_expression"; 20 19 inherit version; 21 - hash = "sha256-mclYGeuISXUDrOS1mhpVgDp1439KnHAwzHKIbRtdibQ="; 20 + hash = "sha256-HIMb8mvvft82qXs0xoe5Yuer4GEWxm8A4U+aMhhiPU8="; 22 21 }; 23 22 24 23 build-system = [ setuptools ]; 25 - 26 - dependencies = [ typing-extensions ]; 27 24 28 25 nativeCheckInputs = [ pytestCheckHook ]; 29 26
+2 -2
pkgs/development/python-modules/influxdb-client/default.nix
··· 17 17 18 18 buildPythonPackage rec { 19 19 pname = "influxdb-client"; 20 - version = "1.47.0"; 20 + version = "1.48.0"; 21 21 pyproject = true; 22 22 23 23 disabled = pythonOlder "3.7"; ··· 26 26 owner = "influxdata"; 27 27 repo = "influxdb-client-python"; 28 28 rev = "refs/tags/v${version}"; 29 - hash = "sha256-1QWy+mdVttowdbIBmtW6gYwkJ4p9sL0D+DxsHk3xgvc="; 29 + hash = "sha256-MKTfRsqizZDXPMqJAypUDQBm+a2s6FaEG3TM30wucrI="; 30 30 }; 31 31 32 32 build-system = [ setuptools ];
+2 -2
pkgs/development/python-modules/jianpu-ly/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "jianpu-ly"; 11 - version = "1.801"; 11 + version = "1.826"; 12 12 pyproject = true; 13 13 14 14 src = fetchPypi { 15 15 inherit version; 16 16 pname = "jianpu_ly"; 17 - hash = "sha256-piK9Ym94cKdaHGz/ogX7ylyAF1ww0jCdRXnHN6lu2MI="; 17 + hash = "sha256-9vNCwXCOEHG2WNu8nDqCKJ3Z4vrsfX1lwKvkVGRrPPA="; 18 18 }; 19 19 20 20 dependencies = [ lilypond ];
+3 -3
pkgs/development/python-modules/json-repair/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "json-repair"; 11 - version = "0.32.0"; 11 + version = "0.35.0"; 12 12 pyproject = true; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "mangiucugna"; 16 16 repo = "json_repair"; 17 17 tag = "v${version}"; 18 - hash = "sha256-js2XTplrRZyyVHztA3yGicdjfBFNoUTvjzT/U2NESWQ="; 18 + hash = "sha256-39MxXX3bBYLmpaUpNYLWq+8Huoy0zQSyURQiZvXFaZc="; 19 19 }; 20 20 21 21 build-system = [ setuptools ]; 22 22 23 - nativeBuildInputs = [ pytestCheckHook ]; 23 + nativeCheckInputs = [ pytestCheckHook ]; 24 24 25 25 disabledTestPaths = [ 26 26 "tests/test_performance.py"
+6 -6
pkgs/development/python-modules/langcodes/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "langcodes"; 15 - version = "3.4.1"; 16 - format = "pyproject"; 15 + version = "3.5.0"; 16 + pyproject = true; 17 17 18 - disabled = pythonOlder "3.6"; 18 + disabled = pythonOlder "3.9"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - hash = "sha256-okh5/tI4ATrDryQkudESTji0o4sgRP0pfI/zjlkS5xg="; 22 + hash = "sha256-Hu+BaNB+UeExokl//srUtmP2II58OuO43BXFFzSm+AE="; 23 23 }; 24 24 25 - nativeBuildInputs = [ 25 + build-system = [ 26 26 setuptools 27 27 setuptools-scm 28 28 ]; 29 29 30 - propagatedBuildInputs = [ 30 + dependencies = [ 31 31 language-data 32 32 marisa-trie 33 33 setuptools # pkg_resources import in language_data/util.py
+2 -2
pkgs/development/python-modules/libusbsio/default.nix
··· 8 8 buildPythonPackage rec { 9 9 pname = "libusbsio"; 10 10 format = "setuptools"; 11 - version = "2.1.12"; 11 + version = "2.1.13"; 12 12 # If the versions come back into sync switch back to inheriting from c lib 13 13 # inherit (libusbsio) version; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - hash = "sha256-RdUhwilBOwg19ay3Po3zsxqlBV9FTy3btJDbO4YEKS8="; 17 + hash = "sha256-3xudSyqfXq3wsFdOgBeGK1nSY0NZjx9UhmTqbQGXWyU="; 18 18 }; 19 19 20 20 # The source includes both the python module directly and also prebuilt binaries
+2 -2
pkgs/development/python-modules/limnoria/default.nix
··· 17 17 18 18 buildPythonPackage rec { 19 19 pname = "limnoria"; 20 - version = "2024.8.26"; 20 + version = "2024.12.20"; 21 21 pyproject = true; 22 22 23 23 disabled = pythonOlder "3.6"; 24 24 25 25 src = fetchPypi { 26 26 inherit pname version; 27 - hash = "sha256-X1Nvm7bccwHn9KIKQuRb+mLzUwEdeiLNkzyxKa2Jk8Y="; 27 + hash = "sha256-e8YvB29tggssX8aMRSoLvprsSBWeKVKfhDrSZeA2rCQ="; 28 28 }; 29 29 30 30 build-system = [ setuptools ];
+3 -3
pkgs/development/python-modules/line-profiler/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "line-profiler"; 17 - version = "4.1.3"; 17 + version = "4.2.0"; 18 18 format = "setuptools"; 19 19 20 - disabled = pythonOlder "3.6" || isPyPy; 20 + disabled = pythonOlder "3.8" || isPyPy; 21 21 22 22 src = fetchPypi { 23 23 pname = "line_profiler"; 24 24 inherit version; 25 - hash = "sha256-5fESPDZywyGLoGPCO9ZKURWeRGSf7WeAuZPHgfte0xg="; 25 + hash = "sha256-CeEPJfh2UUOAs/rubek/sMIoq7qFgguhpZHds+tFGpY="; 26 26 }; 27 27 28 28 nativeBuildInputs = [
+3 -3
pkgs/development/python-modules/linode-api/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "linode-api"; 17 - version = "5.22.0"; 17 + version = "5.25.0"; 18 18 pyproject = true; 19 19 20 20 disabled = pythonOlder "3.6"; ··· 23 23 src = fetchFromGitHub { 24 24 owner = "linode"; 25 25 repo = "python-linode-api"; 26 - rev = "refs/tags/v${version}"; 27 - hash = "sha256-f9v9xhlOfSCKEWHmzi/tpoMIXccGwA6isoAAIZOf3r4="; 26 + tag = "v${version}"; 27 + hash = "sha256-rEBMZft4o7R2e0N7x1ZEaCisRmhKggMbZWdtDvraoD0="; 28 28 }; 29 29 30 30 nativeBuildInputs = [ setuptools ];
+2 -2
pkgs/development/python-modules/manuel/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "manuel"; 14 - version = "1.12.4"; 14 + version = "1.13.0"; 15 15 format = "setuptools"; 16 16 disabled = isPy27; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - hash = "sha256-A5Wq32mR+SSseVz61Z2l3AYYcyqMxYrQ9HSWWrco9/Q="; 20 + hash = "sha256-XWMSDej6bZJ3gLaa4oqj6dFmmxCvPTJ4Xz+6EaW+iFo="; 21 21 }; 22 22 23 23 patches = lib.optionals (lib.versionAtLeast python.version "3.11") [
+2 -2
pkgs/development/python-modules/marimo/default.nix
··· 30 30 31 31 buildPythonPackage rec { 32 32 pname = "marimo"; 33 - version = "0.9.27"; 33 + version = "0.10.5"; 34 34 pyproject = true; 35 35 36 36 # The github archive does not include the static assets 37 37 src = fetchPypi { 38 38 inherit pname version; 39 - hash = "sha256-vs1miLjM/xRrnFYpHte65CfDt4ZRoCKjFMClWukIWZY="; 39 + hash = "sha256-KJKnGVOM0ahZOWDXHyS5meRS1xXypKzgo3X9RvD1tJs="; 40 40 }; 41 41 42 42 build-system = [ hatchling ];
+2 -2
pkgs/development/python-modules/mecab-python3/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "mecab-python3"; 13 - version = "1.0.9"; 13 + version = "1.0.10"; 14 14 format = "setuptools"; 15 15 16 16 disabled = pythonOlder "3.7"; ··· 18 18 src = fetchPypi { 19 19 pname = "mecab_python3"; 20 20 inherit version; 21 - hash = "sha256-LYkfSgEZ+3Zvp5bijYgaVXk6DDVE5EbP9k3JRq1yJ8w="; 21 + hash = "sha256-Ic1EFgQ+mpk/z7mG3ek+Q2agdUPdlYSbXvLlDJqa/M4="; 22 22 }; 23 23 24 24 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/meraki/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "meraki"; 12 - version = "1.52.0"; 12 + version = "1.53.0"; 13 13 format = "setuptools"; 14 14 15 15 disabled = pythonOlder "3.8"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - hash = "sha256-8fNrHRZZ58FW0UOBdbUUzI3y+Y6kAyue4uHnPoODdzw="; 19 + hash = "sha256-GC07gpx0Yeajm8LPcHFtkz/Uuc4kO46TUQs58/IEzyg="; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+4 -4
pkgs/development/python-modules/mkdocs-git-authors-plugin/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "mkdocs-git-authors-plugin"; 11 - version = "0.9.0"; 11 + version = "0.9.2"; 12 12 format = "setuptools"; 13 13 14 - disabled = pythonOlder "3.7"; 14 + disabled = pythonOlder "3.8"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "timvink"; 18 18 repo = "mkdocs-git-authors-plugin"; 19 - rev = "refs/tags/v${version}"; 20 - hash = "sha256-UomcEXWNt5aVE9JxP9wskkHkFYXKN/+jXwr1SXCmeyE="; 19 + tag = "v${version}"; 20 + hash = "sha256-2ITro34lZ+tz7ev7Yuh1wJjsSNik6VUTt3dupIajmLU="; 21 21 }; 22 22 23 23 propagatedBuildInputs = [ mkdocs ];
+2 -2
pkgs/development/python-modules/mkdocs-material/default.nix
··· 28 28 29 29 buildPythonPackage rec { 30 30 pname = "mkdocs-material"; 31 - version = "9.5.39"; 31 + version = "9.5.45"; 32 32 pyproject = true; 33 33 34 34 disabled = pythonOlder "3.7"; ··· 37 37 owner = "squidfunk"; 38 38 repo = "mkdocs-material"; 39 39 rev = "refs/tags/${version}"; 40 - hash = "sha256-ArCd7NbqvPw3kHJd4MG62FplgXwW1gFTfdCHZqfxuqU="; 40 + hash = "sha256-uhUatalHcObQbar1xbdR44FnQs/+qS4ad0sdB2jH/OU="; 41 41 }; 42 42 43 43 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/num2words/default.nix
··· 8 8 }: 9 9 10 10 buildPythonPackage rec { 11 - version = "0.5.13"; 11 + version = "0.5.14"; 12 12 format = "setuptools"; 13 13 pname = "num2words"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - hash = "sha256-owZHFvu/kNdcRJRQzr+8c6ahPmOyUx0JvezDqxoiCc8="; 17 + hash = "sha256-sGbsGOVrZhajs4CGtXR9qvuqiGiyJqNhJ+BFHAzzecY="; 18 18 }; 19 19 20 20 propagatedBuildInputs = [ docopt ];
+8 -13
pkgs/development/python-modules/oci/default.nix
··· 7 7 fetchFromGitHub, 8 8 pyopenssl, 9 9 python-dateutil, 10 - pythonOlder, 11 10 pytz, 12 11 setuptools, 13 12 }: 14 13 15 14 buildPythonPackage rec { 16 15 pname = "oci"; 17 - version = "2.139.0"; 18 - format = "setuptools"; 19 - 20 - disabled = pythonOlder "3.7"; 16 + version = "2.141.1"; 17 + pyproject = true; 21 18 22 19 src = fetchFromGitHub { 23 20 owner = "oracle"; 24 21 repo = "oci-python-sdk"; 25 22 tag = "v${version}"; 26 - hash = "sha256-FjP68c1h97KwCCuqLVB677YyR4/HMstGfwlLUqdtNLU="; 23 + hash = "sha256-D2iaEK25ryU1oRRahnlC3wuEIxtyjR6rAa7TXFTaRi4="; 27 24 }; 28 25 29 26 pythonRelaxDeps = [ ··· 31 28 "pyOpenSSL" 32 29 ]; 33 30 34 - nativeBuildInputs = [ 35 - setuptools 36 - ]; 31 + build-system = [ setuptools ]; 37 32 38 - propagatedBuildInputs = [ 33 + dependencies = [ 39 34 certifi 40 35 circuitbreaker 41 36 cryptography ··· 49 44 50 45 pythonImportsCheck = [ "oci" ]; 51 46 52 - meta = with lib; { 47 + meta = { 53 48 description = "Oracle Cloud Infrastructure Python SDK"; 54 49 homepage = "https://github.com/oracle/oci-python-sdk"; 55 50 changelog = "https://github.com/oracle/oci-python-sdk/blob/v${version}/CHANGELOG.rst"; 56 - license = with licenses; [ 51 + license = with lib.licenses; [ 57 52 asl20 # or 58 53 upl 59 54 ]; 60 - maintainers = with maintainers; [ ilian ]; 55 + maintainers = with lib.maintainers; [ ilian ]; 61 56 }; 62 57 }
+2 -2
pkgs/development/python-modules/panel/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "panel"; 19 - version = "1.5.1"; 19 + version = "1.5.5"; 20 20 21 21 format = "wheel"; 22 22 ··· 25 25 # tries to fetch even more artifacts 26 26 src = fetchPypi { 27 27 inherit pname version format; 28 - hash = "sha256-cglT8X3x6tb5ewWluKdTNDi4lFUQqeJQIBSmHGAGDmI="; 28 + hash = "sha256-MfdvzTr+OoawjPGstBAhK7XpkqgVxk/CMApYsllRVv0="; 29 29 dist = "py3"; 30 30 python = "py3"; 31 31 };
+2 -2
pkgs/development/python-modules/parsedmarc/default.nix
··· 42 42 in 43 43 buildPythonPackage rec { 44 44 pname = "parsedmarc"; 45 - version = "8.15.4"; 45 + version = "8.16.0"; 46 46 pyproject = true; 47 47 48 48 disabled = pythonOlder "3.7"; 49 49 50 50 src = fetchPypi { 51 51 inherit pname version; 52 - hash = "sha256-lxW92jlSWgGVxOO+CwIZi5sKHqoZuR5VQCnDVORXmXU="; 52 + hash = "sha256-yoDvEja9UIubfWfpfEE/LhPa085QM3B5TmiwOPRBDDA="; 53 53 }; 54 54 55 55 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/peewee/default.nix
··· 17 17 18 18 buildPythonPackage rec { 19 19 pname = "peewee"; 20 - version = "3.17.7"; 20 + version = "3.17.8"; 21 21 pyproject = true; 22 22 23 23 disabled = pythonOlder "3.7"; ··· 26 26 owner = "coleifer"; 27 27 repo = "peewee"; 28 28 rev = "refs/tags/${version}"; 29 - hash = "sha256-j10c3mnrHISk04l65ieUB11jt3a3iiQsroTt/L0tKaw="; 29 + hash = "sha256-2mViwo39adzzhpFS056C1JU5fXr3zKorzkVyJrKKRhI="; 30 30 }; 31 31 32 32 build-system = [ setuptools ];
+2 -2
pkgs/development/python-modules/py-scrypt/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "py-scrypt"; 10 - version = "0.8.24"; 10 + version = "0.8.27"; 11 11 12 12 src = fetchPypi { 13 13 pname = "scrypt"; 14 14 inherit version; 15 - hash = "sha256-mP/eReSpVGHXPe1UunomhXZ5kg1Pj/Mg9vet5uKVMb0="; 15 + hash = "sha256-p7Y3hI7VGMHqKzGp7Kqj9JYWWY2EQt6HBs8fAfur8Kc="; 16 16 }; 17 17 18 18 buildInputs = [ openssl ];
+2 -2
pkgs/development/python-modules/pydata-sphinx-theme/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "pydata-sphinx-theme"; 16 - version = "0.16.0"; 16 + version = "0.16.1"; 17 17 18 18 format = "wheel"; 19 19 ··· 24 24 dist = "py3"; 25 25 python = "py3"; 26 26 pname = "pydata_sphinx_theme"; 27 - hash = "sha256-GMgQ7k5n4FKB43HhVsH7W7D6HydHJARhsiUnL32NV9g="; 27 + hash = "sha256-IlMx6KxLMmgsGPysWlem9xfE5jLOpd0OJHtVFV+uzN4="; 28 28 }; 29 29 30 30 propagatedBuildInputs = [
+4
pkgs/development/python-modules/pydrive2/default.nix
··· 57 57 description = "Google Drive API Python wrapper library"; 58 58 homepage = "https://github.com/iterative/PyDrive2"; 59 59 changelog = "https://github.com/iterative/PyDrive2/releases/tag/${version}"; 60 + # Not compatible with pyopenssl 24.3.0 61 + # https://github.com/iterative/PyDrive2/issues/361 62 + # TODO: re-enable it in `duplicity` when fixed 63 + broken = true; 60 64 license = licenses.asl20; 61 65 maintainers = with maintainers; [ sei40kr ]; 62 66 };
+2 -2
pkgs/development/python-modules/pyexcel/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "pyexcel"; 14 - version = "0.7.0"; 14 + version = "0.7.1"; 15 15 format = "setuptools"; 16 16 17 17 disabled = !isPy3k; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - hash = "sha256-+/Du5dk7ls728ZqfAHA/IsCmTxlyjZG5VCgAmlISlwk="; 21 + hash = "sha256-yHWZHB3pAUBjRdE8fd5sSs/V8IsWr2xKiBpSxsPDqwY="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pyinstaller/default.nix
··· 25 25 26 26 buildPythonPackage rec { 27 27 pname = "pyinstaller"; 28 - version = "6.11.0"; 28 + version = "6.11.1"; 29 29 pyproject = true; 30 30 31 31 src = fetchPypi { 32 32 inherit pname version; 33 - hash = "sha256-y01DOj2zDZ0Xz18s97tN+Ap4jUk8HWfdgi3FeR2YZK8="; 33 + hash = "sha256-SR37TZ1dHZZQ2VB9rsH/aClSeiVNjjlrrdYKCv/Lcu8="; 34 34 }; 35 35 36 36 build-system = [ setuptools ];
+2 -2
pkgs/development/python-modules/pylibftdi/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "pylibftdi"; 13 - version = "0.22.0"; 13 + version = "0.23.0"; 14 14 pyproject = true; 15 15 16 16 disabled = pythonOlder "3.7"; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - hash = "sha256-haaqtDj3ZTQoQ6otWbso+7DTCEemIfuYAJhRhZkPAa8="; 20 + hash = "sha256-v1tMa6c9eab234ScNFsAunY9AjIBvtm6Udh2pDl7Ftg="; 21 21 }; 22 22 23 23 build-system = [ poetry-core ];
+2 -2
pkgs/development/python-modules/pymssql/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "pymssql"; 19 - version = "2.3.1"; 19 + version = "2.3.2"; 20 20 pyproject = true; 21 21 22 22 src = fetchPypi { 23 23 inherit pname version; 24 - hash = "sha256-3e4VxMGT4UyS/izXIMqb4duh4PQXgkA4C49fbwDaBMY="; 24 + hash = "sha256-GAiWQbaHvh69D2Tw0f+XdHijl/+hrzcr3xDb7CnPbS4="; 25 25 }; 26 26 27 27 build-system = [
+3 -3
pkgs/development/python-modules/pyspellchecker/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "pyspellchecker"; 11 - version = "0.8.1"; 11 + version = "0.8.2"; 12 12 format = "pyproject"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "barrust"; 16 16 repo = "pyspellchecker"; 17 - rev = "refs/tags/v${version}"; 18 - hash = "sha256-8IwTMj/RqMc9UqhzyvmrirPGuMEwj3iMr+FmF+8312U="; 17 + tag = "v${version}"; 18 + hash = "sha256-sQNYtm+EK/F4S/Kfy87MwqDjCfV33/v8bYi48UBz+qc="; 19 19 }; 20 20 21 21 nativeBuildInputs = [ setuptools ];
+2 -2
pkgs/development/python-modules/pytapo/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "pytapo"; 15 - version = "3.3.32"; 15 + version = "3.3.37"; 16 16 pyproject = true; 17 17 18 18 disabled = pythonOlder "3.7"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - hash = "sha256-OYRcgX30O0/F+0H4x2jbPyVNh6xVeBSdfqbtuqUgoNE="; 22 + hash = "sha256-InDbfWzRb+Q+E6feeatHIliq83g83oUfo3Yze/BAJdM="; 23 23 }; 24 24 25 25 build-system = [ setuptools ];
+2 -2
pkgs/development/python-modules/python-sql/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "python-sql"; 11 - version = "1.5.1"; 11 + version = "1.5.2"; 12 12 format = "setuptools"; 13 13 14 14 disabled = pythonOlder "3.7"; ··· 16 16 src = fetchPypi { 17 17 pname = "python_sql"; 18 18 inherit version; 19 - hash = "sha256-93RnHx0IT6a6Q4mJJM3r5O0NAHHfjWCAQKzU8cjYaqM="; 19 + hash = "sha256-c19SNyGHy5VrGu6MoHADn3O6iRO7i33vlC78FNUGzTY="; 20 20 }; 21 21 22 22 nativeCheckInputs = [ pytestCheckHook ];
+2 -2
pkgs/development/python-modules/pyvcd/default.nix
··· 9 9 }: 10 10 11 11 buildPythonPackage rec { 12 - version = "0.4.0"; 12 + version = "0.4.1"; 13 13 format = "setuptools"; 14 14 pname = "pyvcd"; 15 15 disabled = pythonOlder "3.6"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - hash = "sha256-Mb4/UBRBqbjF3HJmD/e5z++bQ7ISGiPZb1htKGMnApA="; 19 + hash = "sha256-3GJ16Vp5SbgjYIarLm0Dr+3nNEEkPsUQnJ6okHfz1pY="; 20 20 }; 21 21 22 22 buildInputs = [ setuptools-scm ];
+2 -2
pkgs/development/python-modules/pywebpush/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "pywebpush"; 19 - version = "2.0.1"; 19 + version = "2.0.3"; 20 20 pyproject = true; 21 21 22 22 disabled = pythonOlder "3.6"; 23 23 24 24 src = fetchPypi { 25 25 inherit pname version; 26 - hash = "sha256-cuNYauyJoGNzwFheb5fG/QuBUZ5B8yiWo2OZCez0XbA="; 26 + hash = "sha256-WEh448JD6HOiLbiJVQXZVxW8eW73TMG4/pn1lhdBYeM="; 27 27 }; 28 28 29 29 build-system = [ setuptools ];
+3 -3
pkgs/development/python-modules/redshift-connector/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "redshift-connector"; 19 - version = "2.1.3"; 19 + version = "2.1.5"; 20 20 format = "setuptools"; 21 21 22 22 disabled = pythonOlder "3.6"; ··· 24 24 src = fetchFromGitHub { 25 25 owner = "aws"; 26 26 repo = "amazon-redshift-python-driver"; 27 - rev = "refs/tags/v${version}"; 28 - hash = "sha256-NjUgmvmy0buBFpXjcEsZU0F2JNeXE3GBpkaxClvo4T0="; 27 + tag = "v${version}"; 28 + hash = "sha256-q8OF8osAfnAXL1BSgnhE3vQpLHfD/8vPeU2+wCCGSQs="; 29 29 }; 30 30 31 31 # remove addops as they add test directory and coverage parameters to pytest
+2 -2
pkgs/development/python-modules/reportlab/default.nix
··· 18 18 in 19 19 buildPythonPackage rec { 20 20 pname = "reportlab"; 21 - version = "4.2.4"; 21 + version = "4.2.5"; 22 22 pyproject = true; 23 23 24 24 # See https://bitbucket.org/pypy/compatibility/wiki/reportlab%20toolkit ··· 26 26 27 27 src = fetchPypi { 28 28 inherit pname version; 29 - hash = "sha256-oAtXKS4VanvahO3zHWDCVXgVMHbI+5YzHQxZ7d2gUsg="; 29 + hash = "sha256-XPNbj9YJtoCArHu7CuHjdhBPfV97LTkUx63GPyWTlB8="; 30 30 }; 31 31 32 32 postPatch = ''
+5 -5
pkgs/development/python-modules/returns/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "returns"; 21 - version = "0.23.0"; 22 - format = "pyproject"; 21 + version = "0.24.0"; 22 + pyproject = true; 23 23 24 - disabled = pythonOlder "3.7"; 24 + disabled = pythonOlder "3.10"; 25 25 26 26 src = fetchFromGitHub { 27 27 owner = "dry-python"; 28 28 repo = "returns"; 29 - rev = "refs/tags/${version}"; 30 - hash = "sha256-4ZP/wvPgqQQec/BaXuL9r7BEc2G+LztMdFul0NeEJTc="; 29 + tag = version; 30 + hash = "sha256-qmBxW1XxUlFpAqf2t2ix01TN5NSxOtnYqLyE5ovZU58="; 31 31 }; 32 32 33 33 postPatch = ''
+2 -2
pkgs/development/python-modules/rjsmin/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "rjsmin"; 10 - version = "1.2.2"; 10 + version = "1.2.3"; 11 11 format = "setuptools"; 12 12 13 13 disabled = pythonOlder "3.7"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - hash = "sha256-jBvNghFD/s8jJCAStV4TYQhAqDnNRns1jxY1kBDWLa4="; 17 + hash = "sha256-E4i1JJOkwE+8lwotdXwwH6BaPDdkAxTCzp38jYpzDMY="; 18 18 }; 19 19 20 20 # The package does not ship tests, and the setup machinary confuses
+2 -2
pkgs/development/python-modules/roombapy/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "roombapy"; 19 - version = "1.8.1"; 19 + version = "1.8.2"; 20 20 pyproject = true; 21 21 22 22 disabled = pythonOlder "3.10"; ··· 25 25 owner = "pschmitt"; 26 26 repo = "roombapy"; 27 27 rev = "refs/tags/${version}"; 28 - hash = "sha256-1yfmaTzZ7cZW2+Yb3Zbo8+5TfD+H1sA0+SzC1c9MdsQ="; 28 + hash = "sha256-plmdGVfrkdz7pyyAztzZKlDpUjKxBIRtDVeBXoqaB5s="; 29 29 }; 30 30 31 31 nativeBuildInputs = [
+3 -3
pkgs/development/python-modules/rotary-embedding-torch/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "rotary-embedding-torch"; 18 - version = "0.8.5"; 18 + version = "0.8.6"; 19 19 pyproject = true; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "lucidrains"; 23 23 repo = "rotary-embedding-torch"; 24 - rev = "refs/tags/${version}"; 25 - hash = "sha256-sd2zi0dKXLo9HCFDQrLr4icaJnwWeMPoaeTV8qaoyhQ="; 24 + tag = version; 25 + hash = "sha256-4/vKf5RwWbiFYKCQo4kAQzXLM85L4CwaL/MR7/xTkH8="; 26 26 }; 27 27 28 28 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/simplemma/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "simplemma"; 15 - version = "1.1.1"; 15 + version = "1.1.2"; 16 16 pyproject = true; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "adbar"; 20 20 repo = "simplemma"; 21 21 rev = "refs/tags/v${version}"; 22 - hash = "sha256-X0mqFPdCo0/sTexv4bi4bND7LFHOJvlOPH6tB39ybZY="; 22 + hash = "sha256-aFN/cOSqsrTJ5GMw0/SM7uoC+T1RhDTQFf8AF00Tz/o="; 23 23 }; 24 24 25 25 build-system = [
+2 -2
pkgs/development/python-modules/sopel/default.nix
··· 20 20 21 21 buildPythonPackage rec { 22 22 pname = "sopel"; 23 - version = "8.0.0"; 23 + version = "8.0.1"; 24 24 pyproject = true; 25 25 26 26 disabled = isPyPy || pythonOlder "3.7"; 27 27 28 28 src = fetchPypi { 29 29 inherit pname version; 30 - hash = "sha256-juLJp0Et5qMZwBZzw0e4tKg1cBYqAsH8KUzqNoIP70U="; 30 + hash = "sha256-Z9Tcn2lb5a7c6aVbhPjuO6trrZQwSBA1iaMiDzpe+DA="; 31 31 }; 32 32 33 33 build-system = [ setuptools ];
+2 -2
pkgs/development/python-modules/sphinxawesome-theme/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "sphinxawesome-theme"; 12 - version = "5.2.0"; 12 + version = "5.3.2"; 13 13 pyproject = true; 14 14 15 15 src = fetchPypi { 16 16 inherit version; 17 17 pname = "sphinxawesome_theme"; 18 - hash = "sha256-wk8eXAueR1OA0W/F8fO/2ElVgX2gkF2V9+IICdfNPF0="; 18 + hash = "sha256-BinTi4Cu/CebEYbFOnpvryHnIbWy7NoU9IjKEHTiYx8="; 19 19 }; 20 20 21 21 build-system = [ poetry-core ];
+3 -3
pkgs/development/python-modules/strawberry-graphql/default.nix
··· 44 44 45 45 buildPythonPackage rec { 46 46 pname = "strawberry-graphql"; 47 - version = "0.253.1"; 47 + version = "0.254.0"; 48 48 pyproject = true; 49 49 50 50 disabled = pythonOlder "3.10"; ··· 52 52 src = fetchFromGitHub { 53 53 owner = "strawberry-graphql"; 54 54 repo = "strawberry"; 55 - rev = "refs/tags/${version}"; 56 - hash = "sha256-lerQynV/c0fLX+Du1j9bX0i2kvuWKmtH7RIBZxuDkK8="; 55 + tag = version; 56 + hash = "sha256-lD5TQvBxv4+1fuDHoX45kkTFRHrURRL2jLH/rPfCzzA="; 57 57 }; 58 58 59 59 postPatch = ''
+2 -2
pkgs/development/python-modules/torchdiffeq/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "torchdiffeq"; 16 - version = "0.2.4"; 16 + version = "0.2.5"; 17 17 format = "setuptools"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - hash = "sha256-wOV8PIif7dp/I6YBXb/Nba5QcqBt1u0Q6CAMIAmEQEM="; 21 + hash = "sha256-tQ03YNE/0TjczqxlH0uAOW9E/vzr0DegM/7P6qnMEuc="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/types-dateutil/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "types-dateutil"; 10 - version = "2.9.0.20240906"; 10 + version = "2.9.0.20241003"; 11 11 pyproject = true; 12 12 13 13 src = fetchPypi { 14 14 pname = "types-python-dateutil"; 15 15 inherit version; 16 - hash = "sha256-lwbDtoKEwlrf/Ecxnsx5R+W7hrN3P4Q8c5Bv1Zi8F24="; 16 + hash = "sha256-WMuFRJsqVtZoTkGu77TEKAYxJGoNoacZvb5vP7AxdEY="; 17 17 }; 18 18 19 19 nativeBuildInputs = [ setuptools ];
+2 -2
pkgs/development/python-modules/types-redis/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "types-redis"; 12 - version = "4.6.0.20240903"; 12 + version = "4.6.0.20241004"; 13 13 pyproject = true; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - hash = "sha256-S6saN42/I8LJXDcN/biajwM5V8T9GlP+5xtSnBgv4Ag="; 17 + hash = "sha256-XxfSs/kJGrdThBU7+idmGf+hz2o42mDhDV5nScxbkC4="; 18 18 }; 19 19 20 20 build-system = [ setuptools ];
+2 -2
pkgs/development/python-modules/types-s3transfer/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "types-s3transfer"; 11 - version = "0.10.2"; 11 + version = "0.10.4"; 12 12 pyproject = true; 13 13 14 14 disabled = pythonOlder "3.8"; ··· 16 16 src = fetchPypi { 17 17 pname = "types_s3transfer"; 18 18 inherit version; 19 - hash = "sha256-YBZ6O/tcU27GzbWBj3+aKO3KncPgtf+FrjdFJvxeV24="; 19 + hash = "sha256-AxI0d+MGTIHv5xK/nTcsfHLyeQcRQx+bqlnPlupgcmc="; 20 20 }; 21 21 22 22 build-system = [ setuptools ];
+2 -2
pkgs/development/python-modules/virtualenvwrapper/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "virtualenvwrapper"; 16 - version = "6.1.0"; 16 + version = "6.1.1"; 17 17 format = "setuptools"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - hash = "sha256-1Ge+rFpEvgD7XNG88zI5jD2rX7O9OveBXqhrTWuz06Q="; 21 + hash = "sha256-ES5+o0qaPOkKrqVBgvDTr+9NGpE+63XpiiY7SXjNc8Y="; 22 22 }; 23 23 24 24 # pip depend on $HOME setting
+2 -2
pkgs/development/python-modules/viv-utils/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "viv-utils"; 19 - version = "0.7.11"; 19 + version = "0.7.13"; 20 20 pyproject = true; 21 21 22 22 disabled = pythonOlder "3.9"; ··· 25 25 owner = "williballenthin"; 26 26 repo = "viv-utils"; 27 27 rev = "refs/tags/v${version}"; 28 - hash = "sha256-zYamhG5oeoYYVLEvv1EdZ1buFDByZatuCxbl0uRhk6Y="; 28 + hash = "sha256-NiXLNsRQ/ah+fB2r91A1oqf/8Yt95Vdt2JQFJE73HXo="; 29 29 }; 30 30 31 31 build-system = [ setuptools-scm ];
+1 -11
pkgs/development/python-modules/waitress-django/default.nix
··· 6 6 waitress, 7 7 }: 8 8 9 - let 10 - fs = lib.fileset; 11 - in 12 - 13 9 buildPythonPackage { 14 10 pname = "waitress-django"; 15 11 version = "1.0.0"; 16 12 pyproject = true; 17 13 18 - src = fs.toSource { 19 - root = ./.; 20 - fileset = fs.unions [ 21 - ./setup.py 22 - ./src 23 - ]; 24 - }; 14 + src = ./src; 25 15 26 16 build-system = [ setuptools ]; 27 17
+1 -2
pkgs/development/python-modules/waitress-django/setup.py pkgs/development/python-modules/waitress-django/src/setup.py
··· 7 7 , description = "A waitress WSGI server serving django" 8 8 , author = "Bas van Dijk" 9 9 , author_email = "v.dijk.bas@gmail.com" 10 - , package_dir = {"" : "src"} 11 - , scripts = ["src/waitress-serve-django"] 10 + , scripts = ["waitress-serve-django"] 12 11 )
+2 -2
pkgs/development/python-modules/wheel-inspect/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "wheel-inspect"; 21 - version = "1.7.1"; 21 + version = "1.7.2"; 22 22 pyproject = true; 23 23 24 24 disabled = pythonOlder "3.6"; ··· 27 27 owner = "jwodder"; 28 28 repo = "wheel-inspect"; 29 29 rev = "refs/tags/v${version}"; 30 - hash = "sha256-pB9Rh+A7GlxnYuka2mTSBoxpoyYCzoaMPVgsHDlpos0="; 30 + hash = "sha256-Mdw9IlY/2qDlb5FumNH+VHmg7vrUzo3vn+03QsUGgo8="; 31 31 }; 32 32 33 33 pythonRelaxDeps = [
+2 -2
pkgs/development/python-modules/yark/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "yark"; 17 - version = "1.2.10"; 17 + version = "1.2.12"; 18 18 pyproject = true; 19 19 20 20 disabled = pythonOlder "3.9"; 21 21 22 22 src = fetchPypi { 23 23 inherit pname version; 24 - hash = "sha256-Y1fWHpvrqGuBPyJ2dO2y0W2zhEgcTJABtkOAoZ7uyZU="; 24 + hash = "sha256-K66LC/HhajAMCWU7PPfxkoaK84kLlAccYAH5FXoc+yE="; 25 25 }; 26 26 27 27 pythonRelaxDeps = [
+2 -2
pkgs/development/python-modules/zope-testrunner/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "zope.testrunner"; 13 - version = "6.4"; 13 + version = "6.6"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - hash = "sha256-C4Wfx01vK2xd2K353uTsdAX3PykOyrJXCsY2+DYSKMg="; 17 + hash = "sha256-sReX6XWocHseM7ZUTKz5A3KHiG7leA7P7UvxiZ1CFe8="; 18 18 }; 19 19 20 20 propagatedBuildInputs = [
+2 -2
pkgs/development/tools/misc/linuxkit/default.nix
··· 13 13 14 14 buildGoModule rec { 15 15 pname = "linuxkit"; 16 - version = "1.5.2"; 16 + version = "1.5.3"; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "linuxkit"; 20 20 repo = "linuxkit"; 21 21 rev = "v${version}"; 22 - sha256 = "sha256-M/M4m/vsvvtSDnNNy8p6x+xpv1QmVzyfPRf/BNBX7zA="; 22 + sha256 = "sha256-dCRTBy2Nbl5KP8dxXt+1ww1BF/gWm3PfLtSBAaVcBvw="; 23 23 }; 24 24 25 25 vendorHash = null;
+3 -11
pkgs/development/tools/yarn2nix-moretea/yarn2nix/default.nix pkgs/development/tools/yarn2nix-moretea/default.nix
··· 398 398 }); 399 399 400 400 yarn2nix = mkYarnPackage { 401 - src = lib.fileset.toSource { 402 - root = ./.; 403 - fileset = lib.fileset.unions [ 404 - ./bin 405 - ./lib 406 - ./package.json 407 - ./yarn.lock 408 - ]; 409 - }; 401 + src = ./yarn2nix; 410 402 411 403 # yarn2nix is the only package that requires the yarnNix option. 412 404 # All the other projects can auto-generate that file. ··· 415 407 # Using the filter above and importing package.json from the filtered 416 408 # source results in an error in restricted mode. To circumvent this, 417 409 # we import package.json from the unfiltered source 418 - packageJSON = ./package.json; 410 + packageJSON = ./yarn2nix/package.json; 419 411 420 412 yarnFlags = defaultYarnFlags ++ [ "--ignore-scripts" "--production=true" ]; 421 413 ··· 446 438 mkdir -p $out/lib 447 439 mkdir -p $out/bin 448 440 449 - cp ${./lib/urlToName.js} $out/lib/urlToName.js 441 + cp ${./yarn2nix/lib/urlToName.js} $out/lib/urlToName.js 450 442 cp ${./internal/fixup_yarn_lock.js} $out/bin/fixup_yarn_lock 451 443 452 444 patchShebangs $out
pkgs/development/tools/yarn2nix-moretea/yarn2nix/internal/fixup_bin.js pkgs/development/tools/yarn2nix-moretea/internal/fixup_bin.js
pkgs/development/tools/yarn2nix-moretea/yarn2nix/internal/fixup_yarn_lock.js pkgs/development/tools/yarn2nix-moretea/internal/fixup_yarn_lock.js
pkgs/development/tools/yarn2nix-moretea/yarn2nix/nix/expectShFunctions.sh pkgs/development/tools/yarn2nix-moretea/nix/expectShFunctions.sh
pkgs/development/tools/yarn2nix-moretea/yarn2nix/yarn.nix pkgs/development/tools/yarn2nix-moretea/yarn.nix
+3 -3
pkgs/servers/monitoring/prometheus/mongodb-exporter.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "mongodb_exporter"; 9 - version = "0.43.0"; 9 + version = "0.43.1"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "percona"; 13 13 repo = "mongodb_exporter"; 14 14 rev = "v${version}"; 15 - hash = "sha256-MmevWy5RJaSC1ocuuxqFYpagyjIaHBbd5PQ8HfCF0R0="; 15 + hash = "sha256-lf5sh9ADz1L5thNsjj1EdGJGuNmlcFOMUxwOUZUf8Xo="; 16 16 }; 17 17 18 - vendorHash = "sha256-VHQdmEOCHTwszUUOF5JTbBWacgLM6MyuxAC6FNFD5PI="; 18 + vendorHash = "sha256-c5PET4xGR2RzgOW9gUxo2JB/P1XO1JgWr2hQ/vGfk6E="; 19 19 20 20 ldflags = [ 21 21 "-s"
+2 -2
pkgs/servers/web-apps/bookstack/default.nix
··· 27 27 in 28 28 package.override rec { 29 29 pname = "bookstack"; 30 - version = "24.10.3"; 30 + version = "24.12"; 31 31 32 32 src = fetchFromGitHub { 33 33 owner = "bookstackapp"; 34 34 repo = pname; 35 35 rev = "v${version}"; 36 - sha256 = "11gbzx5qb79vknrs2ci5g21jxz7sxm3b69m0xhqpkbpdfnrgp4pl"; 36 + sha256 = "sha256-7ZC4C84XNGAR8efwQsupbAQbRGA8LUixuDoirCHPkiQ="; 37 37 }; 38 38 39 39 meta = with lib; {
+3 -3
pkgs/shells/carapace/default.nix
··· 8 8 9 9 buildGoModule rec { 10 10 pname = "carapace"; 11 - version = "1.1.0"; 11 + version = "1.1.1"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "carapace-sh"; 15 15 repo = "carapace-bin"; 16 16 rev = "v${version}"; 17 - hash = "sha256-UUWZ/ZI8GTwvS8811Uzc8CjBsM/9ALxJLSFnzEE5pi4="; 17 + hash = "sha256-4tsqzXQwLTJ3icoCFJAmUWEXvv/RwzBnOXJd4vXOE7s="; 18 18 }; 19 19 20 - vendorHash = "sha256-Fd1tbeBfbGnhOfowas2lF90TwjoRwOuk5xx9GhYEiRc="; 20 + vendorHash = "sha256-8EuPHhTNK+7OnjYKAdkSmIS/iZR2AYrDw4nfY5ixYIo="; 21 21 22 22 ldflags = [ 23 23 "-s"
+3 -15
pkgs/test/haskell/cabalSdist/default.nix
··· 6 6 }: 7 7 8 8 let 9 - src = lib.fileset.toSource { 10 - root = ./local; 11 - fileset = lib.fileset.unions [ 12 - ./local/app 13 - ./local/CHANGELOG.md 14 - ./local/local.cabal 15 - ]; 16 - }; 17 - # This prevents the source from depending on the formatting of the ./local/generated.nix file 18 - localRaw = haskell.lib.compose.overrideSrc { 19 - inherit src; 20 - } (haskellPackages.callPackage ./local/generated.nix { }); 9 + localRaw = haskellPackages.callPackage ./generated.nix { }; 21 10 in 22 11 lib.recurseIntoAttrs rec { 23 12 ··· 28 17 29 18 localFromCabalSdist = haskellPackages.buildFromCabalSdist localRaw; 30 19 31 - # NOTE: ./local refers to the "./." path in `./local/generated.nix`. 32 20 # This test makes sure that localHasNoDirectReference can actually fail if 33 21 # it doesn't do anything. If this test fails, either the test setup was broken, 34 22 # or Haskell packaging has changed the way `src` is treated in such a way that ··· 39 27 drvPath = builtins.unsafeDiscardOutputDependency localRaw.drvPath; 40 28 } 41 29 '' 42 - grep ${src} $drvPath >/dev/null 30 + grep ${localRaw.src} $drvPath >/dev/null 43 31 touch $out 44 32 ''; 45 33 ··· 49 37 drvPath = builtins.unsafeDiscardOutputDependency localFromCabalSdist.drvPath; 50 38 } 51 39 '' 52 - grep -v ${src} $drvPath >/dev/null 40 + grep -v ${localRaw.src} $drvPath >/dev/null 53 41 touch $out 54 42 ''; 55 43 }
+3 -2
pkgs/test/haskell/cabalSdist/local/generated.nix pkgs/test/haskell/cabalSdist/generated.nix
··· 1 - # nix run ../../../../..#cabal2nix -- ./. 1 + # nix run ../../../../..#cabal2nix -- ./local 2 2 { 3 3 mkDerivation, 4 4 base, ··· 7 7 mkDerivation { 8 8 pname = "local"; 9 9 version = "0.1.0.0"; 10 - src = ./.; # also referred to as ./local in the test; these are the same path constants 10 + src = ./local; 11 11 isLibrary = false; 12 12 isExecutable = true; 13 13 executableHaskellDepends = [ base ]; 14 14 description = "Nixpkgs test case"; 15 15 license = lib.licenses.mit; 16 + mainProgram = "local"; 16 17 }
pkgs/test/haskell/setBuildTarget/Bar.hs pkgs/test/haskell/setBuildTarget/src/Bar.hs
pkgs/test/haskell/setBuildTarget/Foo.hs pkgs/test/haskell/setBuildTarget/src/Foo.hs
pkgs/test/haskell/setBuildTarget/Setup.hs pkgs/test/haskell/setBuildTarget/src/Setup.hs
+3 -11
pkgs/test/haskell/setBuildTarget/default.nix
··· 1 1 { pkgs, haskellPackages }: 2 2 3 3 let 4 - # This can be regenerated by running `cabal2nix .` in the current directory. 4 + # This can be regenerated by running `cabal2nix ./src` in the current directory. 5 5 pkgDef = 6 6 { 7 7 mkDerivation, ··· 11 11 mkDerivation { 12 12 pname = "haskell-setBuildTarget"; 13 13 version = "0.1.0.0"; 14 - src = lib.fileset.toSource { 15 - root = ./.; 16 - fileset = lib.fileset.unions [ 17 - ./haskell-setBuildTarget.cabal 18 - ./Bar.hs 19 - ./Foo.hs 20 - ./Setup.hs 21 - ]; 22 - }; 14 + src = ./src; 23 15 isLibrary = false; 24 16 isExecutable = true; 25 17 executableHaskellDepends = [ base ]; 26 - license = lib.licenses.bsd3; 18 + license = "unknown"; 27 19 }; 28 20 29 21 drv = haskellPackages.callPackage pkgDef { };
pkgs/test/haskell/setBuildTarget/haskell-setBuildTarget.cabal pkgs/test/haskell/setBuildTarget/src/haskell-setBuildTarget.cabal
pkgs/test/make-binary-wrapper/add-flags.c pkgs/test/make-binary-wrapper/add-flags/add-flags.c
pkgs/test/make-binary-wrapper/add-flags.cmdline pkgs/test/make-binary-wrapper/add-flags/add-flags.cmdline
pkgs/test/make-binary-wrapper/add-flags.env pkgs/test/make-binary-wrapper/add-flags/add-flags.env
pkgs/test/make-binary-wrapper/argv0.c pkgs/test/make-binary-wrapper/argv0/argv0.c
pkgs/test/make-binary-wrapper/argv0.cmdline pkgs/test/make-binary-wrapper/argv0/argv0.cmdline
pkgs/test/make-binary-wrapper/argv0.env pkgs/test/make-binary-wrapper/argv0/argv0.env
pkgs/test/make-binary-wrapper/basic.c pkgs/test/make-binary-wrapper/basic/basic.c
pkgs/test/make-binary-wrapper/basic.cmdline pkgs/test/make-binary-wrapper/basic/basic.cmdline
pkgs/test/make-binary-wrapper/basic.env pkgs/test/make-binary-wrapper/basic/basic.env
pkgs/test/make-binary-wrapper/chdir.c pkgs/test/make-binary-wrapper/chdir/chdir.c
pkgs/test/make-binary-wrapper/chdir.cmdline pkgs/test/make-binary-wrapper/chdir/chdir.cmdline
pkgs/test/make-binary-wrapper/chdir.env pkgs/test/make-binary-wrapper/chdir/chdir.env
pkgs/test/make-binary-wrapper/combination.c pkgs/test/make-binary-wrapper/combination/combination.c
pkgs/test/make-binary-wrapper/combination.cmdline pkgs/test/make-binary-wrapper/combination/combination.cmdline
pkgs/test/make-binary-wrapper/combination.env pkgs/test/make-binary-wrapper/combination/combination.env
+1 -10
pkgs/test/make-binary-wrapper/default.nix
··· 20 20 runCommand "make-binary-wrapper-test-${testname}" env '' 21 21 mkdir -p tmp/foo # for the chdir test 22 22 23 - source=${ 24 - lib.fileset.toSource { 25 - root = ./.; 26 - fileset = lib.fileset.unions [ 27 - (./. + "/${testname}.cmdline") 28 - (./. + "/${testname}.c") 29 - (lib.fileset.maybeMissing (./. + "/${testname}.env")) 30 - ]; 31 - } 32 - } 23 + source=${./${testname}} 33 24 34 25 params=$(<"$source/${testname}.cmdline") 35 26 eval "makeCWrapper /send/me/flags $params" > wrapper.c
pkgs/test/make-binary-wrapper/env.c pkgs/test/make-binary-wrapper/env/env.c
pkgs/test/make-binary-wrapper/env.cmdline pkgs/test/make-binary-wrapper/env/env.cmdline
pkgs/test/make-binary-wrapper/env.env pkgs/test/make-binary-wrapper/env/env.env
pkgs/test/make-binary-wrapper/inherit-argv0.c pkgs/test/make-binary-wrapper/inherit-argv0/inherit-argv0.c
pkgs/test/make-binary-wrapper/inherit-argv0.cmdline pkgs/test/make-binary-wrapper/inherit-argv0/inherit-argv0.cmdline
pkgs/test/make-binary-wrapper/inherit-argv0.env pkgs/test/make-binary-wrapper/inherit-argv0/inherit-argv0.env
pkgs/test/make-binary-wrapper/invalid-env.c pkgs/test/make-binary-wrapper/invalid-env/invalid-env.c
pkgs/test/make-binary-wrapper/invalid-env.cmdline pkgs/test/make-binary-wrapper/invalid-env/invalid-env.cmdline
pkgs/test/make-binary-wrapper/overlength-strings.c pkgs/test/make-binary-wrapper/overlength-strings/overlength-strings.c
pkgs/test/make-binary-wrapper/overlength-strings.cmdline pkgs/test/make-binary-wrapper/overlength-strings/overlength-strings.cmdline
pkgs/test/make-binary-wrapper/overlength-strings.env pkgs/test/make-binary-wrapper/overlength-strings/overlength-strings.env
pkgs/test/make-binary-wrapper/prefix.c pkgs/test/make-binary-wrapper/prefix/prefix.c
pkgs/test/make-binary-wrapper/prefix.cmdline pkgs/test/make-binary-wrapper/prefix/prefix.cmdline
pkgs/test/make-binary-wrapper/prefix.env pkgs/test/make-binary-wrapper/prefix/prefix.env
pkgs/test/make-binary-wrapper/suffix.c pkgs/test/make-binary-wrapper/suffix/suffix.c
pkgs/test/make-binary-wrapper/suffix.cmdline pkgs/test/make-binary-wrapper/suffix/suffix.cmdline
pkgs/test/make-binary-wrapper/suffix.env pkgs/test/make-binary-wrapper/suffix/suffix.env
+2 -2
pkgs/tools/package-management/apk-tools/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "apk-tools"; 7 - version = "2.14.5"; 7 + version = "2.14.7"; 8 8 9 9 src = fetchFromGitLab { 10 10 domain = "gitlab.alpinelinux.org"; 11 11 owner = "alpine"; 12 12 repo = "apk-tools"; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-GtWwLQoN0106uErEDjPrwlz8pmOKdV3OrtfisFhGqoY="; 14 + sha256 = "sha256-4MA+wP8G1Qbv8mbzx1R0eFG7gbwUAfSAFJZ6ulrBHUY="; 15 15 }; 16 16 17 17 nativeBuildInputs = [ pkg-config scdoc ]
+3 -3
pkgs/tools/security/gotrue/supabase.nix
··· 8 8 9 9 buildGoModule rec { 10 10 pname = "auth"; 11 - version = "2.165.1"; 11 + version = "2.166.0"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "supabase"; 15 15 repo = "auth"; 16 16 rev = "v${version}"; 17 - hash = "sha256-Tp8h20GM2YULlElFtHS41rFyWSIT3EGGXKtExkuO5P8="; 17 + hash = "sha256-e4PLop+enPt0IkPYRNH0UyZwiBhQKsk0mTFXokGcLug="; 18 18 }; 19 19 20 - vendorHash = "sha256-w6qbqHHdXdDYHO5Asa0fkf0UBI7Wr2Voc2K4Ss1zDCE="; 20 + vendorHash = "sha256-em1dBnNHsVPI7owd2gjERcJnrQbiVtZGtIqnFyker6M="; 21 21 22 22 ldflags = [ 23 23 "-s"
+2 -6
pkgs/top-level/all-packages.nix
··· 4930 4930 4931 4931 qosmic = libsForQt5.callPackage ../applications/graphics/qosmic { }; 4932 4932 4933 - qownnotes = qt6Packages.callPackage ../applications/office/qownnotes { 4934 - stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; 4935 - }; 4936 - 4937 4933 qtikz = libsForQt5.callPackage ../applications/graphics/ktikz { }; 4938 4934 4939 4935 qtspim = libsForQt5.callPackage ../development/tools/misc/qtspim { }; ··· 5656 5652 5657 5653 yarn-berry = callPackage ../development/tools/yarn-berry { }; 5658 5654 5659 - yarn2nix-moretea = callPackage ../development/tools/yarn2nix-moretea/yarn2nix { pkgs = pkgs.__splicedPackages; }; 5655 + yarn2nix-moretea = callPackage ../development/tools/yarn2nix-moretea { pkgs = pkgs.__splicedPackages; }; 5660 5656 5661 5657 inherit (yarn2nix-moretea) 5662 5658 yarn2nix ··· 9237 9233 9238 9234 grantlee = libsForQt5.callPackage ../development/libraries/grantlee { }; 9239 9235 9240 - glib = callPackage ../development/libraries/glib (let 9236 + glib = callPackage ../by-name/gl/glib/package.nix (let 9241 9237 glib-untested = glib.overrideAttrs { doCheck = false; }; 9242 9238 in { 9243 9239 # break dependency cycles
+22 -1
pkgs/top-level/default.nix
··· 27 27 , # Allow a configuration attribute set to be passed in as an argument. 28 28 config ? {} 29 29 30 + , # Temporary hack to let Nixpkgs forbid internal use of `lib.fileset` 31 + # until <https://github.com/NixOS/nix/issues/11503> is fixed. 32 + __allowFileset ? true 33 + 30 34 , # List of overlays layers used to extend Nixpkgs. 31 35 overlays ? [] 32 36 ··· 47 51 crossSystem0 = crossSystem; 48 52 49 53 in let 50 - lib = import ../../lib; 54 + pristineLib = import ../../lib; 55 + 56 + lib = 57 + if __allowFileset then 58 + pristineLib 59 + else 60 + pristineLib.extend (_: _: { 61 + fileset = abort '' 62 + 63 + The use of `lib.fileset` is currently forbidden in Nixpkgs due to the 64 + upstream Nix bug <https://github.com/NixOS/nix/issues/11503>. This 65 + causes difficult‐to‐debug errors when combined with chroot stores, 66 + such as in the NixOS installer. 67 + 68 + For packages that require source to be vendored inside Nixpkgs, 69 + please use a subdirectory of the package instead. 70 + ''; 71 + }); 51 72 52 73 inherit (lib) throwIfNot; 53 74
+4 -1
pkgs/top-level/release-cross.nix
··· 17 17 , # Strip most of attributes when evaluating to spare memory usage 18 18 scrubJobs ? true 19 19 , # Attributes passed to nixpkgs. Don't build packages marked as unfree. 20 - nixpkgsArgs ? { config = { allowUnfree = false; inHydra = true; }; } 20 + nixpkgsArgs ? { 21 + config = { allowUnfree = false; inHydra = true; }; 22 + __allowFileset = false; 23 + } 21 24 }: 22 25 23 26 let
+2
pkgs/top-level/release-cuda.nix
··· 43 43 "${variant}Support" = true; 44 44 inHydra = true; 45 45 }; 46 + 47 + __allowFileset = false; 46 48 }, 47 49 ... 48 50 }@args:
+4 -1
pkgs/top-level/release-lib.nix
··· 3 3 , packageSet ? (import ../..) 4 4 , scrubJobs ? true 5 5 , # Attributes passed to nixpkgs. Don't build packages marked as unfree. 6 - nixpkgsArgs ? { config = { allowUnfree = false; inHydra = true; }; } 6 + nixpkgsArgs ? { 7 + config = { allowUnfree = false; inHydra = true; }; 8 + __allowFileset = false; 9 + } 7 10 }: 8 11 9 12 let
+2
pkgs/top-level/release-outpaths.nix
··· 57 57 58 58 inHydra = true; 59 59 }; 60 + 61 + __allowFileset = false; 60 62 }; 61 63 }; 62 64 recurseIntoAttrs = attrs: attrs // { recurseForDerivations = true; };
+2
pkgs/top-level/release-python.nix
··· 15 15 allowUnfree = false; 16 16 inHydra = true; 17 17 }; 18 + 19 + __allowFileset = false; 18 20 }, 19 21 }: 20 22
+2
pkgs/top-level/release-small.nix
··· 19 19 allowUnfree = false; 20 20 inHydra = true; 21 21 }; 22 + 23 + __allowFileset = false; 22 24 }, 23 25 }: 24 26
+2
pkgs/top-level/release-unfree-redistributable.nix
··· 37 37 cudaSupport = true; 38 38 inHydra = true; 39 39 }; 40 + 41 + __allowFileset = false; 40 42 }, 41 43 # We only build the full package set on infrequently releasing channels. 42 44 full ? false,
+14 -10
pkgs/top-level/release.nix
··· 28 28 # Strip most of attributes when evaluating to spare memory usage 29 29 , scrubJobs ? true 30 30 # Attributes passed to nixpkgs. Don't build packages marked as unfree. 31 - , nixpkgsArgs ? { config = { 32 - allowUnfree = false; 33 - inHydra = true; 34 - # Exceptional unsafe packages that we still build and distribute, 35 - # so users choosing to allow don't have to rebuild them every time. 36 - permittedInsecurePackages = [ 37 - "olm-3.2.16" # see PR #347899 38 - "kanidm_1_3-1.3.3" 39 - ]; 40 - }; } 31 + , nixpkgsArgs ? { 32 + config = { 33 + allowUnfree = false; 34 + inHydra = true; 35 + # Exceptional unsafe packages that we still build and distribute, 36 + # so users choosing to allow don't have to rebuild them every time. 37 + permittedInsecurePackages = [ 38 + "olm-3.2.16" # see PR #347899 39 + "kanidm_1_3-1.3.3" 40 + ]; 41 + }; 42 + 43 + __allowFileset = false; 44 + } 41 45 42 46 # This flag, if set to true, will inhibit the use of `mapTestOn` 43 47 # and `release-lib.packagePlatforms`. Generally, it causes the