Merge master into staging-next

authored by github-actions[bot] and committed by GitHub 60fbf92c 9db4d843

+2546 -826
+5
.github/CODEOWNERS
··· 359 nixos/modules/services/continuous-integration/buildbot @Mic92 @zowoq 360 nixos/tests/buildbot.nix @Mic92 @zowoq 361 pkgs/development/tools/continuous-integration/buildbot @Mic92 @zowoq
··· 359 nixos/modules/services/continuous-integration/buildbot @Mic92 @zowoq 360 nixos/tests/buildbot.nix @Mic92 @zowoq 361 pkgs/development/tools/continuous-integration/buildbot @Mic92 @zowoq 362 + 363 + # Pretix 364 + pkgs/by-name/pr/pretix/ @mweinelt 365 + nixos/modules/services/web-apps/pretix.nix @mweinelt 366 + nixos/tests/web-apps/pretix.nix @mweinelt
+10 -1
nixos/doc/manual/release-notes/rl-2405.section.md
··· 103 104 - [Monado](https://monado.freedesktop.org/), an open source XR runtime. Available as [services.monado](#opt-services.monado.enable). 105 106 - [Clevis](https://github.com/latchset/clevis), a pluggable framework for automated decryption, used to unlock encrypted devices in initrd. Available as [boot.initrd.clevis.enable](#opt-boot.initrd.clevis.enable). 107 108 - [armagetronad](https://wiki.armagetronad.org), a mid-2000s 3D lightcycle game widely played at iD Tech Camps. You can define multiple servers using `services.armagetronad.<server>.enable`. ··· 320 321 - `addDriverRunpath` has been added to facilitate the deprecation of the old `addOpenGLRunpath` setuphook. This change is motivated by the evolution of the setuphook to include all hardware acceleration. 322 323 - - Cinnamon has been updated to 6.0. Please beware that the [Wayland session](https://blog.linuxmint.com/?p=4591) is still experimental in this release. 324 325 - New `boot.loader.systemd-boot.xbootldrMountPoint` allows setting up a separate [XBOOTLDR partition](https://uapi-group.org/specifications/specs/boot_loader_specification/) to store boot files. Useful on systems with a small EFI System partition that cannot be easily repartitioned. 326 ··· 346 - `libass` now uses the native CoreText backend on Darwin, which may fix subtitle rendering issues with `mpv`, `ffmpeg`, etc. 347 348 - [Lilypond](https://lilypond.org/index.html) and [Denemo](https://www.denemo.org) are now compiled with Guile 3.0. 349 350 - The following options of the Nextcloud module were moved into [`services.nextcloud.settings`](#opt-services.nextcloud.settings) and renamed to match the name from Nextcloud's `config.php`: 351 - `logLevel` -> [`loglevel`](#opt-services.nextcloud.settings.loglevel),
··· 103 104 - [Monado](https://monado.freedesktop.org/), an open source XR runtime. Available as [services.monado](#opt-services.monado.enable). 105 106 + - [Pretix](https://pretix.eu/about/en/), an open source ticketing software for events. Available as [services.pretix]($opt-services-pretix.enable). 107 + 108 - [Clevis](https://github.com/latchset/clevis), a pluggable framework for automated decryption, used to unlock encrypted devices in initrd. Available as [boot.initrd.clevis.enable](#opt-boot.initrd.clevis.enable). 109 110 - [armagetronad](https://wiki.armagetronad.org), a mid-2000s 3D lightcycle game widely played at iD Tech Camps. You can define multiple servers using `services.armagetronad.<server>.enable`. ··· 322 323 - `addDriverRunpath` has been added to facilitate the deprecation of the old `addOpenGLRunpath` setuphook. This change is motivated by the evolution of the setuphook to include all hardware acceleration. 324 325 + - Cinnamon has been updated to 6.0. Please beware that the [Wayland session](https://blog.linuxmint.com/?p=4591) is still experimental in this release and could potentially [affect Xorg sessions](https://blog.linuxmint.com/?p=4639). We suggest a reboot when switching between sessions. 326 + 327 + - MATE has been updated to 1.28. 328 + - To properly support panel plugins built with Wayland (in-process) support, we are introducing `services.xserver.desktopManager.mate.extraPanelApplets` option, please use that for installing panel applets. 329 + - Similarly, please use `services.xserver.desktopManager.mate.extraCajaExtensions` option for installing Caja extensions. 330 + - To use the Wayland session, enable `services.xserver.desktopManager.mate.enableWaylandSession`. This is opt-in for now as it is in early stage and introduces a new set of Wayfire closure. Due to [known issues with LightDM](https://github.com/canonical/lightdm/issues/63), we suggest using SDDM for display manager. 331 332 - New `boot.loader.systemd-boot.xbootldrMountPoint` allows setting up a separate [XBOOTLDR partition](https://uapi-group.org/specifications/specs/boot_loader_specification/) to store boot files. Useful on systems with a small EFI System partition that cannot be easily repartitioned. 333 ··· 353 - `libass` now uses the native CoreText backend on Darwin, which may fix subtitle rendering issues with `mpv`, `ffmpeg`, etc. 354 355 - [Lilypond](https://lilypond.org/index.html) and [Denemo](https://www.denemo.org) are now compiled with Guile 3.0. 356 + 357 + - The EC2 image module now enables the [Amazon SSM Agent](https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-agent.html) by default. 358 359 - The following options of the Nextcloud module were moved into [`services.nextcloud.settings`](#opt-services.nextcloud.settings) and renamed to match the name from Nextcloud's `config.php`: 360 - `logLevel` -> [`loglevel`](#opt-services.nextcloud.settings.loglevel),
+4 -1
nixos/modules/hardware/video/webcam/ipu6.nix
··· 30 ipu6-drivers 31 ]; 32 33 - hardware.firmware = [ pkgs.ipu6-camera-bins ]; 34 35 services.udev.extraRules = '' 36 SUBSYSTEM=="intel-ipu6-psys", MODE="0660", GROUP="video"
··· 30 ipu6-drivers 31 ]; 32 33 + hardware.firmware = with pkgs; [ 34 + ipu6-camera-bins 35 + ivsc-firmware 36 + ]; 37 38 services.udev.extraRules = '' 39 SUBSYSTEM=="intel-ipu6-psys", MODE="0660", GROUP="video"
+1
nixos/modules/module-list.nix
··· 1358 ./services/web-apps/plausible.nix 1359 ./services/web-apps/powerdns-admin.nix 1360 ./services/web-apps/pretalx.nix 1361 ./services/web-apps/prosody-filer.nix 1362 ./services/web-apps/rimgo.nix 1363 ./services/web-apps/sftpgo.nix
··· 1358 ./services/web-apps/plausible.nix 1359 ./services/web-apps/powerdns-admin.nix 1360 ./services/web-apps/pretalx.nix 1361 + ./services/web-apps/pretix.nix 1362 ./services/web-apps/prosody-filer.nix 1363 ./services/web-apps/rimgo.nix 1364 ./services/web-apps/sftpgo.nix
+2 -3
nixos/modules/services/networking/networkmanager.nix
··· 600 description = "Ensure that NetworkManager declarative profiles are created"; 601 wantedBy = [ "multi-user.target" ]; 602 before = [ "network-online.target" ]; 603 script = let 604 path = id: "/run/NetworkManager/system-connections/${id}.nmconnection"; 605 in '' ··· 609 ${pkgs.envsubst}/bin/envsubst -i ${ini.generate (lib.escapeShellArg profile.n) profile.v} > ${path (lib.escapeShellArg profile.n)} 610 '') (lib.mapAttrsToList (n: v: { inherit n v; }) cfg.ensureProfiles.profiles) 611 + '' 612 - if systemctl is-active --quiet NetworkManager; then 613 - ${pkgs.networkmanager}/bin/nmcli connection reload 614 - fi 615 ''; 616 serviceConfig = { 617 EnvironmentFile = cfg.ensureProfiles.environmentFiles;
··· 600 description = "Ensure that NetworkManager declarative profiles are created"; 601 wantedBy = [ "multi-user.target" ]; 602 before = [ "network-online.target" ]; 603 + after = [ "NetworkManager.service" ]; 604 script = let 605 path = id: "/run/NetworkManager/system-connections/${id}.nmconnection"; 606 in '' ··· 610 ${pkgs.envsubst}/bin/envsubst -i ${ini.generate (lib.escapeShellArg profile.n) profile.v} > ${path (lib.escapeShellArg profile.n)} 611 '') (lib.mapAttrsToList (n: v: { inherit n v; }) cfg.ensureProfiles.profiles) 612 + '' 613 + ${pkgs.networkmanager}/bin/nmcli connection reload 614 ''; 615 serviceConfig = { 616 EnvironmentFile = cfg.ensureProfiles.environmentFiles;
+79 -56
nixos/modules/services/web-apps/komga.nix
··· 1 - { config, pkgs, lib, ... }: 2 - 3 - with lib; 4 5 let 6 cfg = config.services.komga; 7 - 8 - in { 9 options = { 10 services.komga = { 11 - enable = mkEnableOption (lib.mdDoc "Komga, a free and open source comics/mangas media server"); 12 13 port = mkOption { 14 - type = types.port; 15 default = 8080; 16 - description = lib.mdDoc '' 17 - The port that Komga will listen on. 18 - ''; 19 }; 20 21 user = mkOption { 22 - type = types.str; 23 default = "komga"; 24 - description = lib.mdDoc '' 25 - User account under which Komga runs. 26 - ''; 27 }; 28 29 group = mkOption { 30 - type = types.str; 31 default = "komga"; 32 - description = lib.mdDoc '' 33 - Group under which Komga runs. 34 - ''; 35 }; 36 37 stateDir = mkOption { 38 - type = types.str; 39 default = "/var/lib/komga"; 40 - description = lib.mdDoc '' 41 - State and configuration directory Komga will use. 42 - ''; 43 }; 44 45 openFirewall = mkOption { 46 - type = types.bool; 47 default = false; 48 - description = lib.mdDoc '' 49 - Whether to open the firewall for the port in {option}`services.komga.port`. 50 - ''; 51 }; 52 }; 53 }; 54 55 - config = mkIf cfg.enable { 56 57 - networking.firewall.allowedTCPPorts = mkIf cfg.openFirewall [ cfg.port ]; 58 59 - users.groups = mkIf (cfg.group == "komga") { 60 - komga = {}; 61 - }; 62 63 - users.users = mkIf (cfg.user == "komga") { 64 - komga = { 65 - group = cfg.group; 66 - home = cfg.stateDir; 67 - description = "Komga Daemon user"; 68 - isSystemUser = true; 69 }; 70 - }; 71 72 - systemd.services.komga = { 73 - environment = { 74 - SERVER_PORT = builtins.toString cfg.port; 75 - KOMGA_CONFIGDIR = cfg.stateDir; 76 - }; 77 78 - description = "Komga is a free and open source comics/mangas media server"; 79 80 - wantedBy = [ "multi-user.target" ]; 81 - wants = [ "network-online.target" ]; 82 - after = [ "network-online.target" ]; 83 84 - serviceConfig = { 85 - User = cfg.user; 86 - Group = cfg.group; 87 88 - Type = "simple"; 89 - Restart = "on-failure"; 90 - ExecStart = "${pkgs.komga}/bin/komga"; 91 92 - StateDirectory = mkIf (cfg.stateDir == "/var/lib/komga") "komga"; 93 }; 94 - 95 }; 96 - }; 97 98 meta.maintainers = with maintainers; [ govanify ]; 99 }
··· 1 + { 2 + config, 3 + pkgs, 4 + lib, 5 + ... 6 + }: 7 8 let 9 cfg = config.services.komga; 10 + inherit (lib) mkOption mkEnableOption maintainers; 11 + inherit (lib.types) port str bool; 12 + in 13 + { 14 options = { 15 services.komga = { 16 + enable = mkEnableOption "Komga, a free and open source comics/mangas media server"; 17 18 port = mkOption { 19 + type = port; 20 default = 8080; 21 + description = "The port that Komga will listen on."; 22 }; 23 24 user = mkOption { 25 + type = str; 26 default = "komga"; 27 + description = "User account under which Komga runs."; 28 }; 29 30 group = mkOption { 31 + type = str; 32 default = "komga"; 33 + description = "Group under which Komga runs."; 34 }; 35 36 stateDir = mkOption { 37 + type = str; 38 default = "/var/lib/komga"; 39 + description = "State and configuration directory Komga will use."; 40 }; 41 42 openFirewall = mkOption { 43 + type = bool; 44 default = false; 45 + description = "Whether to open the firewall for the port in {option}`services.komga.port`."; 46 }; 47 }; 48 }; 49 50 + config = 51 + let 52 + inherit (lib) mkIf getExe; 53 + in 54 + mkIf cfg.enable { 55 56 + networking.firewall.allowedTCPPorts = mkIf cfg.openFirewall [ cfg.port ]; 57 58 + users.groups = mkIf (cfg.group == "komga") { komga = { }; }; 59 60 + users.users = mkIf (cfg.user == "komga") { 61 + komga = { 62 + group = cfg.group; 63 + home = cfg.stateDir; 64 + description = "Komga Daemon user"; 65 + isSystemUser = true; 66 + }; 67 }; 68 69 + systemd.services.komga = { 70 + environment = { 71 + SERVER_PORT = builtins.toString cfg.port; 72 + KOMGA_CONFIGDIR = cfg.stateDir; 73 + }; 74 75 + description = "Komga is a free and open source comics/mangas media server"; 76 77 + wantedBy = [ "multi-user.target" ]; 78 + wants = [ "network-online.target" ]; 79 + after = [ "network-online.target" ]; 80 + 81 + serviceConfig = { 82 + User = cfg.user; 83 + Group = cfg.group; 84 85 + Type = "simple"; 86 + Restart = "on-failure"; 87 + ExecStart = getExe pkgs.komga; 88 89 + StateDirectory = mkIf (cfg.stateDir == "/var/lib/komga") "komga"; 90 91 + RemoveIPC = true; 92 + NoNewPrivileges = true; 93 + CapabilityBoundingSet = ""; 94 + SystemCallFilter = [ "@system-service" ]; 95 + ProtectSystem = "full"; 96 + PrivateTmp = true; 97 + ProtectProc = "invisible"; 98 + ProtectClock = true; 99 + ProcSubset = "pid"; 100 + PrivateUsers = true; 101 + PrivateDevices = true; 102 + ProtectHostname = true; 103 + ProtectKernelTunables = true; 104 + RestrictAddressFamilies = [ 105 + "AF_INET" 106 + "AF_INET6" 107 + "AF_NETLINK" 108 + ]; 109 + LockPersonality = true; 110 + RestrictNamespaces = true; 111 + ProtectKernelLogs = true; 112 + ProtectControlGroups = true; 113 + ProtectKernelModules = true; 114 + SystemCallArchitectures = "native"; 115 + RestrictSUIDSGID = true; 116 + RestrictRealtime = true; 117 + }; 118 }; 119 }; 120 121 meta.maintainers = with maintainers; [ govanify ]; 122 }
+579
nixos/modules/services/web-apps/pretix.nix
···
··· 1 + { config 2 + , lib 3 + , pkgs 4 + , utils 5 + , ... 6 + }: 7 + 8 + let 9 + inherit (lib) 10 + concatMapStringsSep 11 + escapeShellArgs 12 + filter 13 + filterAttrs 14 + getExe 15 + getExe' 16 + isAttrs 17 + isList 18 + literalExpression 19 + mapAttrs 20 + mkDefault 21 + mkEnableOption 22 + mkIf 23 + mkOption 24 + mkPackageOption 25 + optionals 26 + optionalString 27 + recursiveUpdate 28 + types 29 + ; 30 + 31 + filterRecursiveNull = o: 32 + if isAttrs o then 33 + mapAttrs (_: v: filterRecursiveNull v) (filterAttrs (_: v: v != null) o) 34 + else if isList o then 35 + map filterRecursiveNull (filter (v: v != null) o) 36 + else 37 + o; 38 + 39 + cfg = config.services.pretix; 40 + format = pkgs.formats.ini { }; 41 + 42 + configFile = format.generate "pretix.cfg" (filterRecursiveNull cfg.settings); 43 + 44 + finalPackage = cfg.package.override { 45 + inherit (cfg) plugins; 46 + }; 47 + 48 + pythonEnv = cfg.package.python.buildEnv.override { 49 + extraLibs = with cfg.package.python.pkgs; [ 50 + (toPythonModule finalPackage) 51 + gunicorn 52 + ] 53 + ++ lib.optionals (cfg.settings.memcached.location != null) 54 + cfg.package.optional-dependencies.memcached 55 + ; 56 + }; 57 + 58 + withRedis = cfg.settings.redis.location != null; 59 + in 60 + { 61 + meta = with lib; { 62 + maintainers = with maintainers; [ hexa ]; 63 + }; 64 + 65 + options.services.pretix = { 66 + enable = mkEnableOption "pretix"; 67 + 68 + package = mkPackageOption pkgs "pretix" { }; 69 + 70 + group = mkOption { 71 + type = types.str; 72 + default = "pretix"; 73 + description = '' 74 + Group under which pretix should run. 75 + ''; 76 + }; 77 + 78 + user = mkOption { 79 + type = types.str; 80 + default = "pretix"; 81 + description = '' 82 + User under which pretix should run. 83 + ''; 84 + }; 85 + 86 + environmentFile = mkOption { 87 + type = types.nullOr types.path; 88 + default = null; 89 + example = "/run/keys/pretix-secrets.env"; 90 + description = '' 91 + Environment file to pass secret configuration values. 92 + 93 + Each line must follow the `PRETIX_SECTION_KEY=value` pattern. 94 + ''; 95 + }; 96 + 97 + plugins = mkOption { 98 + type = types.listOf types.package; 99 + default = []; 100 + example = literalExpression '' 101 + with config.services.pretix.package.plugins; [ 102 + passbook 103 + pages 104 + ]; 105 + ''; 106 + description = '' 107 + Pretix plugins to install into the Python environment. 108 + ''; 109 + }; 110 + 111 + gunicorn.extraArgs = mkOption { 112 + type = with types; listOf str; 113 + default = [ 114 + "--name=pretix" 115 + ]; 116 + example = [ 117 + "--name=pretix" 118 + "--workers=4" 119 + "--max-requests=1200" 120 + "--max-requests-jitter=50" 121 + "--log-level=info" 122 + ]; 123 + description = '' 124 + Extra arguments to pass to gunicorn. 125 + See <https://docs.pretix.eu/en/latest/admin/installation/manual_smallscale.html#start-pretix-as-a-service> for details. 126 + ''; 127 + apply = escapeShellArgs; 128 + }; 129 + 130 + celery = { 131 + extraArgs = mkOption { 132 + type = with types; listOf str; 133 + default = [ ]; 134 + description = '' 135 + Extra arguments to pass to celery. 136 + 137 + See <https://docs.celeryq.dev/en/stable/reference/cli.html#celery-worker> for more info. 138 + ''; 139 + apply = utils.escapeSystemdExecArgs; 140 + }; 141 + }; 142 + 143 + nginx = { 144 + enable = mkOption { 145 + type = types.bool; 146 + default = true; 147 + example = false; 148 + description = '' 149 + Whether to set up an nginx virtual host. 150 + ''; 151 + }; 152 + 153 + domain = mkOption { 154 + type = types.str; 155 + example = "talks.example.com"; 156 + description = '' 157 + The domain name under which to set up the virtual host. 158 + ''; 159 + }; 160 + }; 161 + 162 + database.createLocally = mkOption { 163 + type = types.bool; 164 + default = true; 165 + example = false; 166 + description = '' 167 + Whether to automatically set up the database on the local DBMS instance. 168 + 169 + Only supported for PostgreSQL. Not required for sqlite. 170 + ''; 171 + }; 172 + 173 + settings = mkOption { 174 + type = types.submodule { 175 + freeformType = format.type; 176 + options = { 177 + pretix = { 178 + instance_name = mkOption { 179 + type = types.str; 180 + example = "tickets.example.com"; 181 + description = '' 182 + The name of this installation. 183 + ''; 184 + }; 185 + 186 + url = mkOption { 187 + type = types.str; 188 + example = "https://tickets.example.com"; 189 + description = '' 190 + The installation’s full URL, without a trailing slash. 191 + ''; 192 + }; 193 + 194 + cachedir = mkOption { 195 + type = types.path; 196 + default = "/var/cache/pretix"; 197 + description = '' 198 + Directory for storing temporary files. 199 + ''; 200 + }; 201 + 202 + datadir = mkOption { 203 + type = types.path; 204 + default = "/var/lib/pretix"; 205 + description = '' 206 + Directory for storing user uploads and similar data. 207 + ''; 208 + }; 209 + 210 + logdir = mkOption { 211 + type = types.path; 212 + default = "/var/log/pretix"; 213 + description = '' 214 + Directory for storing log files. 215 + ''; 216 + }; 217 + 218 + currency = mkOption { 219 + type = types.str; 220 + default = "EUR"; 221 + example = "USD"; 222 + description = '' 223 + Default currency for events in its ISO 4217 three-letter code. 224 + ''; 225 + }; 226 + 227 + registration = mkOption { 228 + type = types.bool; 229 + default = false; 230 + example = true; 231 + description = '' 232 + Whether to allow registration of new admin users. 233 + ''; 234 + }; 235 + }; 236 + 237 + database = { 238 + backend = mkOption { 239 + type = types.enum [ 240 + "sqlite3" 241 + "postgresql" 242 + ]; 243 + default = "postgresql"; 244 + description = '' 245 + Database backend to use. 246 + 247 + Only postgresql is recommended for production setups. 248 + ''; 249 + }; 250 + 251 + host = mkOption { 252 + type = with types; nullOr types.path; 253 + default = if cfg.settings.database.backend == "postgresql" then "/run/postgresql" else null; 254 + defaultText = literalExpression '' 255 + if config.services.pretix.settings..database.backend == "postgresql" then "/run/postgresql" 256 + else null 257 + ''; 258 + description = '' 259 + Database host or socket path. 260 + ''; 261 + }; 262 + 263 + name = mkOption { 264 + type = types.str; 265 + default = "pretix"; 266 + description = '' 267 + Database name. 268 + ''; 269 + }; 270 + 271 + user = mkOption { 272 + type = types.str; 273 + default = "pretix"; 274 + description = '' 275 + Database username. 276 + ''; 277 + }; 278 + }; 279 + 280 + mail = { 281 + from = mkOption { 282 + type = types.str; 283 + example = "tickets@example.com"; 284 + description = '' 285 + E-Mail address used in the `FROM` header of outgoing mails. 286 + ''; 287 + }; 288 + 289 + host = mkOption { 290 + type = types.str; 291 + default = "localhost"; 292 + example = "mail.example.com"; 293 + description = '' 294 + Hostname of the SMTP server use for mail delivery. 295 + ''; 296 + }; 297 + 298 + port = mkOption { 299 + type = types.port; 300 + default = 25; 301 + example = 587; 302 + description = '' 303 + Port of the SMTP server to use for mail delivery. 304 + ''; 305 + }; 306 + }; 307 + 308 + celery = { 309 + backend = mkOption { 310 + type = types.str; 311 + default = "redis+socket://${config.services.redis.servers.pretix.unixSocket}?virtual_host=1"; 312 + defaultText = literalExpression '' 313 + optionalString config.services.pretix.celery.enable "redis+socket://''${config.services.redis.servers.pretix.unixSocket}?virtual_host=1" 314 + ''; 315 + description = '' 316 + URI to the celery backend used for the asynchronous job queue. 317 + ''; 318 + }; 319 + 320 + broker = mkOption { 321 + type = types.str; 322 + default = "redis+socket://${config.services.redis.servers.pretix.unixSocket}?virtual_host=2"; 323 + defaultText = literalExpression '' 324 + optionalString config.services.pretix.celery.enable "redis+socket://''${config.services.redis.servers.pretix.unixSocket}?virtual_host=2" 325 + ''; 326 + description = '' 327 + URI to the celery broker used for the asynchronous job queue. 328 + ''; 329 + }; 330 + }; 331 + 332 + redis = { 333 + location = mkOption { 334 + type = with types; nullOr str; 335 + default = "unix://${config.services.redis.servers.pretix.unixSocket}?db=0"; 336 + defaultText = literalExpression '' 337 + "unix://''${config.services.redis.servers.pretix.unixSocket}?db=0" 338 + ''; 339 + description = '' 340 + URI to the redis server, used to speed up locking, caching and session storage. 341 + ''; 342 + }; 343 + 344 + sessions = mkOption { 345 + type = types.bool; 346 + default = true; 347 + example = false; 348 + description = '' 349 + Whether to use redis as the session storage. 350 + ''; 351 + }; 352 + }; 353 + 354 + memcached = { 355 + location = mkOption { 356 + type = with types; nullOr str; 357 + default = null; 358 + example = "127.0.0.1:11211"; 359 + description = '' 360 + The `host:port` combination or the path to the UNIX socket of a memcached instance. 361 + 362 + Can be used instead of Redis for caching. 363 + ''; 364 + }; 365 + }; 366 + 367 + tools = { 368 + pdftk = mkOption { 369 + type = types.path; 370 + default = getExe pkgs.pdftk; 371 + defaultText = literalExpression '' 372 + lib.getExe pkgs.pdftk 373 + ''; 374 + description = '' 375 + Path to the pdftk executable. 376 + ''; 377 + }; 378 + }; 379 + }; 380 + }; 381 + default = { }; 382 + description = '' 383 + pretix configuration as a Nix attribute set. All settings can also be passed 384 + from the environment. 385 + 386 + See <https://docs.pretix.eu/en/latest/admin/config.html> for possible options. 387 + ''; 388 + }; 389 + }; 390 + 391 + config = mkIf cfg.enable { 392 + # https://docs.pretix.eu/en/latest/admin/installation/index.html 393 + 394 + environment.systemPackages = [ 395 + (pkgs.writeScriptBin "pretix-manage" '' 396 + cd ${cfg.settings.pretix.datadir} 397 + sudo=exec 398 + if [[ "$USER" != ${cfg.user} ]]; then 399 + sudo='exec /run/wrappers/bin/sudo -u ${cfg.user} ${optionalString withRedis "-g redis-pretix"} --preserve-env=PRETIX_CONFIG_FILE' 400 + fi 401 + export PRETIX_CONFIG_FILE=${configFile} 402 + $sudo ${getExe' pythonEnv "pretix-manage"} "$@" 403 + '') 404 + ]; 405 + 406 + services = { 407 + nginx = mkIf cfg.nginx.enable { 408 + enable = true; 409 + recommendedGzipSettings = mkDefault true; 410 + recommendedOptimisation = mkDefault true; 411 + recommendedProxySettings = mkDefault true; 412 + recommendedTlsSettings = mkDefault true; 413 + upstreams.pretix.servers."unix:/run/pretix/pretix.sock" = { }; 414 + virtualHosts.${cfg.nginx.domain} = { 415 + # https://docs.pretix.eu/en/latest/admin/installation/manual_smallscale.html#ssl 416 + extraConfig = '' 417 + more_set_headers Referrer-Policy same-origin; 418 + more_set_headers X-Content-Type-Options nosniff; 419 + ''; 420 + locations = { 421 + "/".proxyPass = "http://pretix"; 422 + "/media/" = { 423 + alias = "${cfg.settings.pretix.datadir}/media/"; 424 + extraConfig = '' 425 + access_log off; 426 + expires 7d; 427 + ''; 428 + }; 429 + "^~ /media/(cachedfiles|invoices)" = { 430 + extraConfig = '' 431 + deny all; 432 + return 404; 433 + ''; 434 + }; 435 + "/static/" = { 436 + alias = "${finalPackage}/${cfg.package.python.sitePackages}/pretix/static.dist/"; 437 + extraConfig = '' 438 + access_log off; 439 + more_set_headers Cache-Control "public"; 440 + expires 365d; 441 + ''; 442 + }; 443 + }; 444 + }; 445 + }; 446 + 447 + postgresql = mkIf (cfg.database.createLocally && cfg.settings.database.backend == "postgresql") { 448 + enable = true; 449 + ensureUsers = [ { 450 + name = cfg.settings.database.user; 451 + ensureDBOwnership = true; 452 + } ]; 453 + ensureDatabases = [ cfg.settings.database.name ]; 454 + }; 455 + 456 + redis.servers.pretix.enable = withRedis; 457 + }; 458 + 459 + systemd.services = let 460 + commonUnitConfig = { 461 + environment.PRETIX_CONFIG_FILE = configFile; 462 + serviceConfig = { 463 + User = "pretix"; 464 + Group = "pretix"; 465 + EnvironmentFile = optionals (cfg.environmentFile != null) [ 466 + cfg.environmentFile 467 + ]; 468 + StateDirectory = [ 469 + "pretix" 470 + ]; 471 + CacheDirectory = "pretix"; 472 + LogsDirectory = "pretix"; 473 + WorkingDirectory = cfg.settings.pretix.datadir; 474 + SupplementaryGroups = optionals withRedis [ 475 + "redis-pretix" 476 + ]; 477 + AmbientCapabilities = ""; 478 + CapabilityBoundingSet = [ "" ]; 479 + DevicePolicy = "closed"; 480 + LockPersonality = true; 481 + MemoryDenyWriteExecute = true; 482 + NoNewPrivileges = true; 483 + PrivateDevices = true; 484 + PrivateTmp = true; 485 + ProcSubset = "pid"; 486 + ProtectControlGroups = true; 487 + ProtectHome = true; 488 + ProtectHostname = true; 489 + ProtectKernelLogs = true; 490 + ProtectKernelModules = true; 491 + ProtectKernelTunables = true; 492 + ProtectProc = "invisible"; 493 + ProtectSystem = "strict"; 494 + RemoveIPC = true; 495 + RestrictAddressFamilies = [ 496 + "AF_INET" 497 + "AF_INET6" 498 + "AF_UNIX" 499 + ]; 500 + RestrictNamespaces = true; 501 + RestrictRealtime = true; 502 + RestrictSUIDSGID = true; 503 + SystemCallArchitectures = "native"; 504 + SystemCallFilter = [ 505 + "@system-service" 506 + "~@privileged" 507 + "@chown" 508 + ]; 509 + UMask = "0077"; 510 + }; 511 + }; 512 + in { 513 + pretix-web = recursiveUpdate commonUnitConfig { 514 + description = "pretix web service"; 515 + after = [ 516 + "network.target" 517 + "redis-pretix.service" 518 + "postgresql.service" 519 + ]; 520 + wantedBy = [ "multi-user.target" ]; 521 + preStart = '' 522 + versionFile="${cfg.settings.pretix.datadir}/.version" 523 + version=$(cat "$versionFile" 2>/dev/null || echo 0) 524 + 525 + pluginsFile="${cfg.settings.pretix.datadir}/.plugins" 526 + plugins=$(cat "$pluginsFile" 2>/dev/null || echo "") 527 + configuredPlugins="${concatMapStringsSep "|" (package: package.name) cfg.plugins}" 528 + 529 + if [[ $version != ${cfg.package.version} || $plugins != $configuredPlugins ]]; then 530 + ${getExe' pythonEnv "pretix-manage"} migrate 531 + 532 + echo "${cfg.package.version}" > "$versionFile" 533 + echo "$configuredPlugins" > "$pluginsFile" 534 + fi 535 + ''; 536 + serviceConfig = { 537 + ExecStart = "${getExe' pythonEnv "gunicorn"} --bind unix:/run/pretix/pretix.sock ${cfg.gunicorn.extraArgs} pretix.wsgi"; 538 + RuntimeDirectory = "pretix"; 539 + }; 540 + }; 541 + 542 + pretix-periodic = recursiveUpdate commonUnitConfig { 543 + description = "pretix periodic task runner"; 544 + # every 15 minutes 545 + startAt = [ "*:3,18,33,48" ]; 546 + serviceConfig = { 547 + Type = "oneshot"; 548 + ExecStart = "${getExe' pythonEnv "pretix-manage"} runperiodic"; 549 + }; 550 + }; 551 + 552 + pretix-worker = recursiveUpdate commonUnitConfig { 553 + description = "pretix asynchronous job runner"; 554 + after = [ 555 + "network.target" 556 + "redis-pretix.service" 557 + "postgresql.service" 558 + ]; 559 + wantedBy = [ "multi-user.target" ]; 560 + serviceConfig.ExecStart = "${getExe' pythonEnv "celery"} -A pretix.celery_app worker ${cfg.celery.extraArgs}"; 561 + }; 562 + }; 563 + 564 + systemd.sockets.pretix-web.socketConfig = { 565 + ListenStream = "/run/pretix/pretix.sock"; 566 + SocketUser = "nginx"; 567 + }; 568 + 569 + users = { 570 + groups."${cfg.group}" = {}; 571 + users."${cfg.user}" = { 572 + isSystemUser = true; 573 + createHome = true; 574 + home = cfg.settings.pretix.datadir; 575 + inherit (cfg) group; 576 + }; 577 + }; 578 + }; 579 + }
+65 -41
nixos/modules/services/x11/desktop-managers/mate.nix
··· 20 }; 21 22 debug = mkEnableOption (lib.mdDoc "mate-session debug messages"); 23 }; 24 25 environment.mate.excludePackages = mkOption { ··· 31 32 }; 33 34 - config = mkIf cfg.enable { 35 36 - services.xserver.displayManager.sessionPackages = [ 37 - pkgs.mate.mate-session-manager 38 - ]; 39 40 - # Let caja find extensions 41 - environment.sessionVariables.CAJA_EXTENSION_DIRS = [ "${config.system.path}/lib/caja/extensions-2.0" ]; 42 - 43 - # Let mate-panel find applets 44 - environment.sessionVariables."MATE_PANEL_APPLETS_DIR" = "${config.system.path}/share/mate-panel/applets"; 45 - environment.sessionVariables."MATE_PANEL_EXTRA_MODULES" = "${config.system.path}/lib/mate-panel/applets"; 46 - 47 - # Debugging 48 - environment.sessionVariables.MATE_SESSION_DEBUG = mkIf cfg.debug "1"; 49 50 - environment.systemPackages = utils.removePackagesByName 51 - (pkgs.mate.basePackages ++ 52 - pkgs.mate.extraPackages ++ 53 - [ 54 - pkgs.desktop-file-utils 55 - pkgs.glib 56 - pkgs.gtk3.out 57 - pkgs.shared-mime-info 58 - pkgs.xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/ 59 - pkgs.yelp # for 'Contents' in 'Help' menus 60 - ]) 61 - config.environment.mate.excludePackages; 62 63 - programs.dconf.enable = true; 64 - # Shell integration for VTE terminals 65 - programs.bash.vteIntegration = mkDefault true; 66 - programs.zsh.vteIntegration = mkDefault true; 67 68 - # Mate uses this for printing 69 - programs.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true)); 70 71 - services.gnome.at-spi2-core.enable = true; 72 - services.gnome.gnome-keyring.enable = true; 73 - services.udev.packages = [ pkgs.mate.mate-settings-daemon ]; 74 - services.gvfs.enable = true; 75 - services.upower.enable = config.powerManagement.enable; 76 - services.xserver.libinput.enable = mkDefault true; 77 78 - security.pam.services.mate-screensaver.unixAuth = true; 79 80 - xdg.portal.configPackages = mkDefault [ pkgs.mate.mate-desktop ]; 81 82 - environment.pathsToLink = [ "/share" ]; 83 - }; 84 85 }
··· 20 }; 21 22 debug = mkEnableOption (lib.mdDoc "mate-session debug messages"); 23 + 24 + extraPanelApplets = mkOption { 25 + default = [ ]; 26 + example = literalExpression "with pkgs.mate; [ mate-applets ]"; 27 + type = types.listOf types.package; 28 + description = lib.mdDoc "Extra applets to add to mate-panel."; 29 + }; 30 + 31 + extraCajaExtensions = mkOption { 32 + default = [ ]; 33 + example = lib.literalExpression "with pkgs.mate; [ caja-extensions ]"; 34 + type = types.listOf types.package; 35 + description = lib.mdDoc "Extra extensions to add to caja."; 36 + }; 37 + 38 + enableWaylandSession = mkEnableOption (lib.mdDoc "MATE Wayland session"); 39 }; 40 41 environment.mate.excludePackages = mkOption { ··· 47 48 }; 49 50 + config = mkMerge [ 51 + (mkIf (cfg.enable || cfg.enableWaylandSession) { 52 + services.xserver.displayManager.sessionPackages = [ 53 + pkgs.mate.mate-session-manager 54 + ]; 55 56 + # Debugging 57 + environment.sessionVariables.MATE_SESSION_DEBUG = mkIf cfg.debug "1"; 58 59 + environment.systemPackages = utils.removePackagesByName 60 + (pkgs.mate.basePackages ++ 61 + pkgs.mate.extraPackages ++ 62 + [ 63 + (pkgs.mate.caja-with-extensions.override { 64 + extensions = cfg.extraCajaExtensions; 65 + }) 66 + (pkgs.mate.mate-panel-with-applets.override { 67 + applets = cfg.extraPanelApplets; 68 + }) 69 + pkgs.desktop-file-utils 70 + pkgs.glib 71 + pkgs.gtk3.out 72 + pkgs.shared-mime-info 73 + pkgs.xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/ 74 + pkgs.yelp # for 'Contents' in 'Help' menus 75 + ]) 76 + config.environment.mate.excludePackages; 77 78 + programs.dconf.enable = true; 79 + # Shell integration for VTE terminals 80 + programs.bash.vteIntegration = mkDefault true; 81 + programs.zsh.vteIntegration = mkDefault true; 82 83 + # Mate uses this for printing 84 + programs.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true)); 85 86 + services.gnome.at-spi2-core.enable = true; 87 + services.gnome.gnome-keyring.enable = true; 88 + services.udev.packages = [ pkgs.mate.mate-settings-daemon ]; 89 + services.gvfs.enable = true; 90 + services.upower.enable = config.powerManagement.enable; 91 + services.xserver.libinput.enable = mkDefault true; 92 93 + security.pam.services.mate-screensaver.unixAuth = true; 94 95 + xdg.portal.configPackages = mkDefault [ pkgs.mate.mate-desktop ]; 96 97 + environment.pathsToLink = [ "/share" ]; 98 + }) 99 + (mkIf cfg.enableWaylandSession { 100 + programs.wayfire.enable = true; 101 + programs.wayfire.plugins = [ pkgs.wayfirePlugins.firedecor ]; 102 103 + environment.sessionVariables.NIX_GSETTINGS_OVERRIDES_DIR = "${pkgs.mate.mate-gsettings-overrides}/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas"; 104 105 + environment.systemPackages = [ pkgs.mate.mate-wayland-session ]; 106 + services.xserver.displayManager.sessionPackages = [ pkgs.mate.mate-wayland-session ]; 107 + }) 108 + ]; 109 }
+4
nixos/modules/virtualisation/amazon-image.nix
··· 79 serviceConfig.StandardOutput = "journal+console"; 80 }; 81 82 # Allow root logins only using the SSH key that the user specified 83 # at instance creation time. 84 services.openssh.enable = true;
··· 79 serviceConfig.StandardOutput = "journal+console"; 80 }; 81 82 + # Amazon-issued AMIs include the SSM Agent by default, so we do the same. 83 + # https://docs.aws.amazon.com/systems-manager/latest/userguide/ami-preinstalled-agent.html 84 + services.amazon-ssm-agent.enable = true; 85 + 86 # Allow root logins only using the SSH key that the user specified 87 # at instance creation time. 88 services.openssh.enable = true;
+2
nixos/tests/all-tests.nix
··· 513 mastodon = discoverTests (import ./web-apps/mastodon { inherit handleTestOn; }); 514 pixelfed = discoverTests (import ./web-apps/pixelfed { inherit handleTestOn; }); 515 mate = handleTest ./mate.nix {}; 516 matter-server = handleTest ./matter-server.nix {}; 517 matomo = handleTest ./matomo.nix {}; 518 matrix-appservice-irc = handleTest ./matrix/appservice-irc.nix {}; ··· 729 pppd = handleTest ./pppd.nix {}; 730 predictable-interface-names = handleTest ./predictable-interface-names.nix {}; 731 pretalx = runTest ./web-apps/pretalx.nix; 732 printing-socket = handleTest ./printing.nix { socket = true; }; 733 printing-service = handleTest ./printing.nix { socket = false; }; 734 privoxy = handleTest ./privoxy.nix {};
··· 513 mastodon = discoverTests (import ./web-apps/mastodon { inherit handleTestOn; }); 514 pixelfed = discoverTests (import ./web-apps/pixelfed { inherit handleTestOn; }); 515 mate = handleTest ./mate.nix {}; 516 + mate-wayland = handleTest ./mate-wayland.nix {}; 517 matter-server = handleTest ./matter-server.nix {}; 518 matomo = handleTest ./matomo.nix {}; 519 matrix-appservice-irc = handleTest ./matrix/appservice-irc.nix {}; ··· 730 pppd = handleTest ./pppd.nix {}; 731 predictable-interface-names = handleTest ./predictable-interface-names.nix {}; 732 pretalx = runTest ./web-apps/pretalx.nix; 733 + pretix = runTest ./web-apps/pretix.nix; 734 printing-socket = handleTest ./printing.nix { socket = true; }; 735 printing-service = handleTest ./printing.nix { socket = false; }; 736 privoxy = handleTest ./privoxy.nix {};
+63
nixos/tests/mate-wayland.nix
···
··· 1 + import ./make-test-python.nix ({ pkgs, lib, ... }: { 2 + name = "mate-wayland"; 3 + 4 + meta.maintainers = lib.teams.mate.members; 5 + 6 + nodes.machine = { ... }: { 7 + imports = [ 8 + ./common/user-account.nix 9 + ]; 10 + 11 + services.xserver.enable = true; 12 + services.xserver.displayManager = { 13 + sddm.enable = true; # https://github.com/canonical/lightdm/issues/63 14 + sddm.wayland.enable = true; 15 + defaultSession = "MATE"; 16 + autoLogin = { 17 + enable = true; 18 + user = "alice"; 19 + }; 20 + }; 21 + services.xserver.desktopManager.mate.enableWaylandSession = true; 22 + 23 + hardware.pulseaudio.enable = true; 24 + 25 + # Need to switch to a different GPU driver than the default one (-vga std) so that wayfire can launch: 26 + virtualisation.qemu.options = [ "-vga none -device virtio-gpu-pci" ]; 27 + }; 28 + 29 + enableOCR = true; 30 + 31 + testScript = { nodes, ... }: 32 + let 33 + user = nodes.machine.users.users.alice; 34 + in 35 + '' 36 + machine.wait_for_unit("display-manager.service") 37 + 38 + with subtest("Wait for Wayland server"): 39 + machine.wait_for_file("/run/user/${toString user.uid}/wayland-1") 40 + 41 + with subtest("Check if MATE session components actually start"): 42 + for i in ["wayfire", "mate-panel", "mate-wayland.sh", "mate-wayland-components.sh"]: 43 + machine.wait_until_succeeds(f"pgrep -f {i}") 44 + machine.wait_for_text('(Applications|Places|System)') 45 + # It is expected that this applet doesn't work in Wayland 46 + machine.wait_for_text('WorkspaceSwitcherApplet') 47 + 48 + with subtest("Check if various environment variables are set"): 49 + cmd = "xargs --null --max-args=1 echo < /proc/$(pgrep -xf mate-panel)/environ" 50 + machine.succeed(f"{cmd} | grep 'XDG_SESSION_TYPE' | grep 'wayland'") 51 + machine.succeed(f"{cmd} | grep 'XDG_SESSION_DESKTOP' | grep 'MATE'") 52 + machine.succeed(f"{cmd} | grep 'MATE_PANEL_APPLETS_DIR' | grep '${pkgs.mate.mate-panel-with-applets.pname}'") 53 + 54 + with subtest("Check if Wayfire config is properly configured"): 55 + for i in ["button_style = mate", "firedecor", "mate-wayland-components.sh"]: 56 + machine.wait_until_succeeds(f"cat /home/${user.name}/.config/mate/wayfire.ini | grep '{i}'") 57 + 58 + with subtest("Check if Wayfire has ever coredumped"): 59 + machine.fail("coredumpctl --json=short | grep wayfire") 60 + machine.sleep(10) 61 + machine.screenshot("screen") 62 + ''; 63 + })
+9
nixos/tests/mate.nix
··· 54 machine.wait_for_text('(Applications|Places|System)') 55 machine.wait_for_text('(Computer|Home|Trash)') 56 57 with subtest("Lock the screen"): 58 machine.wait_until_succeeds("su - ${user.name} -c '${env} mate-screensaver-command -q' | grep 'The screensaver is inactive'") 59 machine.succeed("su - ${user.name} -c '${env} mate-screensaver-command -l >&2 &'")
··· 54 machine.wait_for_text('(Applications|Places|System)') 55 machine.wait_for_text('(Computer|Home|Trash)') 56 57 + with subtest("Check if various environment variables are set"): 58 + machine.succeed("xargs --null --max-args=1 echo < /proc/$(pgrep -xf marco)/environ | grep 'XDG_CURRENT_DESKTOP' | grep 'MATE'") 59 + # From mate-panel-with-applets packaging 60 + machine.succeed("xargs --null --max-args=1 echo < /proc/$(pgrep -xf mate-panel)/environ | grep 'MATE_PANEL_APPLETS_DIR' | grep '${pkgs.mate.mate-panel-with-applets.pname}'") 61 + 62 + with subtest("Check if applets are built with in-process support"): 63 + # This is needed for Wayland support 64 + machine.fail("pgrep -fa clock-applet") 65 + 66 with subtest("Lock the screen"): 67 machine.wait_until_succeeds("su - ${user.name} -c '${env} mate-screensaver-command -q' | grep 'The screensaver is inactive'") 68 machine.succeed("su - ${user.name} -c '${env} mate-screensaver-command -l >&2 &'")
+47
nixos/tests/web-apps/pretix.nix
···
··· 1 + { 2 + lib, 3 + pkgs, 4 + ... 5 + }: 6 + 7 + { 8 + name = "pretix"; 9 + meta.maintainers = with lib.maintainers; [ hexa ]; 10 + 11 + nodes = { 12 + pretix = { 13 + networking.extraHosts = '' 14 + 127.0.0.1 tickets.local 15 + ''; 16 + 17 + services.pretix = { 18 + enable = true; 19 + nginx.domain = "tickets.local"; 20 + plugins = with pkgs.pretix.plugins; [ 21 + passbook 22 + pages 23 + ]; 24 + settings = { 25 + pretix = { 26 + instance_name = "NixOS Test"; 27 + url = "http://tickets.local"; 28 + }; 29 + mail.from = "hello@tickets.local"; 30 + }; 31 + }; 32 + }; 33 + }; 34 + 35 + testScript = '' 36 + start_all() 37 + 38 + pretix.wait_for_unit("pretix-web.service") 39 + pretix.wait_for_unit("pretix-worker.service") 40 + 41 + pretix.wait_until_succeeds("curl -q --fail http://tickets.local") 42 + 43 + pretix.succeed("pretix-manage --help") 44 + 45 + pretix.log(pretix.succeed("systemd-analyze security pretix-web.service")) 46 + ''; 47 + }
+5 -5
pkgs/applications/editors/vim/plugins/generated.nix
··· 6625 6626 neotest-pest = buildVimPlugin { 6627 pname = "neotest-pest"; 6628 - version = "2024-02-16"; 6629 src = fetchFromGitHub { 6630 - owner = "theutz"; 6631 repo = "neotest-pest"; 6632 - rev = "94ed941af4ea6e7d0caa4de8afbf966f3cfe35e4"; 6633 - sha256 = "1655rpr007ix9z4nxkabnvdk8c0kj080waxddaq656dhdzdj7l1q"; 6634 }; 6635 - meta.homepage = "https://github.com/theutz/neotest-pest/"; 6636 }; 6637 6638 neotest-phpunit = buildVimPlugin {
··· 6625 6626 neotest-pest = buildVimPlugin { 6627 pname = "neotest-pest"; 6628 + version = "2024-03-04"; 6629 src = fetchFromGitHub { 6630 + owner = "V13Axel"; 6631 repo = "neotest-pest"; 6632 + rev = "25501800b5b8da578a03bb178a007d6f8abe7ae3"; 6633 + sha256 = "sha256-S36yvNrg6rroZbySOt9SKrHGSV6HUgRlSPUh79RNZ7M="; 6634 }; 6635 + meta.homepage = "https://github.com/V13Axel/neotest-pest/"; 6636 }; 6637 6638 neotest-phpunit = buildVimPlugin {
+1 -1
pkgs/applications/editors/vim/plugins/vim-plugin-names
··· 555 https://github.com/nvim-neotest/neotest-go/,HEAD, 556 https://github.com/MrcJkb/neotest-haskell/,HEAD, 557 https://github.com/haydenmeade/neotest-jest/,HEAD, 558 - https://github.com/theutz/neotest-pest/,HEAD, 559 https://github.com/olimorris/neotest-phpunit/,HEAD, 560 https://github.com/nvim-neotest/neotest-plenary/,HEAD, 561 https://github.com/nvim-neotest/neotest-python/,HEAD,
··· 555 https://github.com/nvim-neotest/neotest-go/,HEAD, 556 https://github.com/MrcJkb/neotest-haskell/,HEAD, 557 https://github.com/haydenmeade/neotest-jest/,HEAD, 558 + https://github.com/V13Axel/neotest-pest/,HEAD, 559 https://github.com/olimorris/neotest-phpunit/,HEAD, 560 https://github.com/nvim-neotest/neotest-plenary/,HEAD, 561 https://github.com/nvim-neotest/neotest-python/,HEAD,
+1 -1
pkgs/applications/gis/qgis/unwrapped.nix
··· 98 wrapGAppsHook 99 wrapQtAppsHook 100 101 cmake 102 flex 103 - bison 104 ninja 105 ]; 106
··· 98 wrapGAppsHook 99 wrapQtAppsHook 100 101 + bison 102 cmake 103 flex 104 ninja 105 ]; 106
+10 -11
pkgs/applications/misc/hyprdim/default.nix pkgs/by-name/hy/hyprdim/package.nix
··· 1 - { lib 2 - , rustPlatform 3 - , fetchFromGitHub 4 - , installShellFiles 5 - , nix-update-script 6 }: 7 8 rustPlatform.buildRustPackage rec { ··· 18 19 cargoHash = "sha256-hgcGzRLB1L3yxJjw1ECDJPmbl1W+2OS4KDojclyVYrc="; 20 21 - nativeBuildInputs = [ 22 - installShellFiles 23 - ]; 24 25 postInstall = '' 26 installManPage target/man/hyprdim.1 27 28 installShellCompletion --cmd hyprdim \ 29 - --bash <(cat target/completions/hyprdim.bash) \ 30 - --fish <(cat target/completions/hyprdim.fish) \ 31 - --zsh <(cat target/completions/_hyprdim) 32 ''; 33 34 passthru.updateScript = nix-update-script { };
··· 1 + { 2 + lib, 3 + rustPlatform, 4 + fetchFromGitHub, 5 + installShellFiles, 6 + nix-update-script, 7 }: 8 9 rustPlatform.buildRustPackage rec { ··· 19 20 cargoHash = "sha256-hgcGzRLB1L3yxJjw1ECDJPmbl1W+2OS4KDojclyVYrc="; 21 22 + nativeBuildInputs = [ installShellFiles ]; 23 24 postInstall = '' 25 installManPage target/man/hyprdim.1 26 27 installShellCompletion --cmd hyprdim \ 28 + --bash target/completions/hyprdim.bash \ 29 + --fish target/completions/hyprdim.fish \ 30 + --zsh target/completions/_hyprdim 31 ''; 32 33 passthru.updateScript = nix-update-script { };
+10 -11
pkgs/applications/misc/hyprnome/default.nix pkgs/by-name/hy/hyprnome/package.nix
··· 1 - { lib 2 - , rustPlatform 3 - , fetchFromGitHub 4 - , installShellFiles 5 - , nix-update-script 6 }: 7 8 rustPlatform.buildRustPackage rec { ··· 18 19 cargoHash = "sha256-DpbRs97sr5wpJSrYF99ZiQ0SZOZdoQjfaLhKIAU95HA="; 20 21 - nativeBuildInputs = [ 22 - installShellFiles 23 - ]; 24 25 postInstall = '' 26 installManPage target/man/hyprnome.1 27 28 installShellCompletion --cmd hyprnome \ 29 - --bash <(cat target/completions/hyprnome.bash) \ 30 - --fish <(cat target/completions/hyprnome.fish) \ 31 - --zsh <(cat target/completions/_hyprnome) 32 ''; 33 34 passthru.updateScript = nix-update-script { };
··· 1 + { 2 + lib, 3 + rustPlatform, 4 + fetchFromGitHub, 5 + installShellFiles, 6 + nix-update-script, 7 }: 8 9 rustPlatform.buildRustPackage rec { ··· 19 20 cargoHash = "sha256-DpbRs97sr5wpJSrYF99ZiQ0SZOZdoQjfaLhKIAU95HA="; 21 22 + nativeBuildInputs = [ installShellFiles ]; 23 24 postInstall = '' 25 installManPage target/man/hyprnome.1 26 27 installShellCompletion --cmd hyprnome \ 28 + --bash target/completions/hyprnome.bash \ 29 + --fish target/completions/hyprnome.fish \ 30 + --zsh target/completions/_hyprnome 31 ''; 32 33 passthru.updateScript = nix-update-script { };
+4 -2
pkgs/applications/misc/makeself/default.nix
··· 23 checkTarget = "test"; 24 nativeCheckInputs = [ which zstd pbzip2 ]; 25 26 installPhase = '' 27 runHook preInstall 28 installManPage makeself.1 29 install -Dm555 makeself.sh $out/bin/makeself 30 - install -Dm444 -t $out/share/${pname}/ makeself.lsm README.md makeself-header.sh 31 runHook postInstall 32 ''; 33 34 fixupPhase = '' 35 - sed -e "s|^HEADER=.*|HEADER=$out/share/${pname}-${version}/makeself-header.sh|" -i $out/bin/makeself 36 ''; 37 38 meta = with lib; {
··· 23 checkTarget = "test"; 24 nativeCheckInputs = [ which zstd pbzip2 ]; 25 26 + sharePath = "$out/share/${pname}"; 27 + 28 installPhase = '' 29 runHook preInstall 30 installManPage makeself.1 31 install -Dm555 makeself.sh $out/bin/makeself 32 + install -Dm444 -t ${sharePath}/ makeself.lsm README.md makeself-header.sh 33 runHook postInstall 34 ''; 35 36 fixupPhase = '' 37 + sed -e "s|^HEADER=.*|HEADER=${sharePath}/makeself-header.sh|" -i $out/bin/makeself 38 ''; 39 40 meta = with lib; {
+2 -2
pkgs/applications/networking/cluster/bosh-cli/default.nix
··· 8 buildGoModule rec { 9 pname = "bosh-cli"; 10 11 - version = "7.5.4"; 12 13 src = fetchFromGitHub { 14 owner = "cloudfoundry"; 15 repo = pname; 16 rev = "v${version}"; 17 - sha256 = "sha256-aNzKp7QwyhC/ado0NrCyxrRZu+ePGBNSq31/Iw6k6n0="; 18 }; 19 vendorHash = null; 20
··· 8 buildGoModule rec { 9 pname = "bosh-cli"; 10 11 + version = "7.5.5"; 12 13 src = fetchFromGitHub { 14 owner = "cloudfoundry"; 15 repo = pname; 16 rev = "v${version}"; 17 + sha256 = "sha256-LjqMCkEIl+0psxIys/tvJPkEQqDRzLOsaFUfAVG+RrE="; 18 }; 19 vendorHash = null; 20
+2 -2
pkgs/applications/networking/pjsip/default.nix
··· 15 }: 16 stdenv.mkDerivation (finalAttrs: { 17 pname = "pjsip"; 18 - version = "2.14"; 19 20 src = fetchFromGitHub { 21 owner = finalAttrs.pname; 22 repo = "pjproject"; 23 rev = "refs/tags/${finalAttrs.version}"; 24 - hash = "sha256-PWCeIvnBAOqbcNYPhIY7hykdvLzoD9lssSViCCPNT68="; 25 }; 26 27 patches = [
··· 15 }: 16 stdenv.mkDerivation (finalAttrs: { 17 pname = "pjsip"; 18 + version = "2.14.1"; 19 20 src = fetchFromGitHub { 21 owner = finalAttrs.pname; 22 repo = "pjproject"; 23 rev = "refs/tags/${finalAttrs.version}"; 24 + hash = "sha256-LDA3o1QMrAxcGuOi/YRoMzXmw/wFkfDs2wweZuIJ2RY="; 25 }; 26 27 patches = [
+2 -18
pkgs/applications/video/mythtv/default.nix
··· 8 9 mkDerivation rec { 10 pname = "mythtv"; 11 - version = "32.0"; 12 13 src = fetchFromGitHub { 14 owner = "MythTV"; 15 repo = "mythtv"; 16 rev = "v${version}"; 17 - sha256 = "0i4fs3rbk1jggh62wflpa2l03na9i1ihpz2vsdic9vfahqqjxff1"; 18 }; 19 20 patches = [ 21 # Disable sourcing /etc/os-release 22 ./dont-source-os-release.patch 23 - 24 - # Fix QMake variable substitution syntax - MythTV/mythtv#550 25 - (fetchpatch { 26 - name = "fix-qmake-var-syntax.patch"; 27 - url = "https://github.com/MythTV/mythtv/commit/a8da7f7e7ec069164adbef65a8104adc9bb52e36.patch"; 28 - stripLen = 1; 29 - hash = "sha256-JfRME00YNNjl6SKs1HBa0wBa/lR/Rt3zbQtWhsC36JM="; 30 - }) 31 - 32 - # Bachport the build against binutils-2.41 33 - (fetchpatch { 34 - name = "binutils-2.41.patch"; 35 - url = "https://github.com/MythTV/mythtv/commit/f9f9bba62ee2743c816cb2b9634b6b4397e5e2e3.patch"; 36 - stripLen = 1; 37 - hash = "sha256-IcXgBtfqPZ42inYFe7l8mWvKUV13S/YEQAHcOFaDivI="; 38 - }) 39 ]; 40 41 setSourceRoot = "sourceRoot=$(echo */mythtv)";
··· 8 9 mkDerivation rec { 10 pname = "mythtv"; 11 + version = "34.0"; 12 13 src = fetchFromGitHub { 14 owner = "MythTV"; 15 repo = "mythtv"; 16 rev = "v${version}"; 17 + hash = "sha256-6/TEoyYIRq6pufYzGOmO5DB05JuDo9lqRAYT5N5M/L4="; 18 }; 19 20 patches = [ 21 # Disable sourcing /etc/os-release 22 ./dont-source-os-release.patch 23 ]; 24 25 setSourceRoot = "sourceRoot=$(echo */mythtv)";
+1 -1
pkgs/applications/video/mythtv/dont-source-os-release.patch
··· 1 --- a/configure 2 +++ b/configure 3 - @@ -5894,9 +5894,9 @@ else 4 die "ERROR: cannot find soundtouch 1.8.0 or later." 5 fi 6
··· 1 --- a/configure 2 +++ b/configure 3 + @@ -5451,9 +5451,9 @@ else 4 die "ERROR: cannot find soundtouch 1.8.0 or later." 5 fi 6
+2 -2
pkgs/applications/video/vdr/markad/default.nix
··· 19 }: 20 stdenv.mkDerivation rec { 21 pname = "vdr-markad"; 22 - version = "3.4.6"; 23 24 src = fetchFromGitHub { 25 repo = "vdr-plugin-markad"; 26 owner = "kfb77"; 27 - sha256 = "sha256-fixkalZAPz0iO1SmshsO0vYc2sksH2lrStsSOEcdZ1g="; 28 rev = "V${version}"; 29 }; 30
··· 19 }: 20 stdenv.mkDerivation rec { 21 pname = "vdr-markad"; 22 + version = "3.4.12"; 23 24 src = fetchFromGitHub { 25 repo = "vdr-plugin-markad"; 26 owner = "kfb77"; 27 + sha256 = "sha256-yc/zWMGzsfZl3n+Qt5Se2duo3jwntCWaYq1yACsrPzM="; 28 rev = "V${version}"; 29 }; 30
+2 -2
pkgs/applications/video/vdr/softhddevice/default.nix
··· 14 }: 15 stdenv.mkDerivation rec { 16 pname = "vdr-softhddevice"; 17 - version = "2.1.1"; 18 19 src = fetchFromGitHub { 20 owner = "ua0lnj"; 21 repo = "vdr-plugin-softhddevice"; 22 - sha256 = "sha256-d/Cl0sE4laDdjMhd3xTHcY4OT5tWWCFCvLsNF157+zw="; 23 rev = "v${version}"; 24 }; 25
··· 14 }: 15 stdenv.mkDerivation rec { 16 pname = "vdr-softhddevice"; 17 + version = "2.1.2"; 18 19 src = fetchFromGitHub { 20 owner = "ua0lnj"; 21 repo = "vdr-plugin-softhddevice"; 22 + sha256 = "sha256-y6b0nOf597uxS9zDh0NQOwLN81nk4U7lHK2CalyVi8s="; 23 rev = "v${version}"; 24 }; 25
+73
pkgs/applications/window-managers/wayfire/firedecor.nix
···
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , meson 5 + , ninja 6 + , pkg-config 7 + , boost 8 + , cairo 9 + , glib 10 + , libGL 11 + , libinput 12 + , librsvg 13 + , libxkbcommon 14 + , pango 15 + , udev 16 + , wayfire 17 + , wayland 18 + , wf-config 19 + , xcbutilwm 20 + , mate 21 + }: 22 + 23 + stdenv.mkDerivation (finalAttrs: { 24 + pname = "firedecor"; 25 + version = "2023-10-23"; 26 + 27 + src = fetchFromGitHub { 28 + owner = "mntmn"; 29 + repo = "Firedecor"; 30 + rev = finalAttrs.version; 31 + hash = "sha256-7or8HkmIZnLpXEZzUhJ3u8SIPfIQFgn32Ju/5OzK06Y="; 32 + }; 33 + 34 + nativeBuildInputs = [ 35 + meson 36 + ninja 37 + pkg-config 38 + ]; 39 + 40 + buildInputs = [ 41 + boost 42 + cairo 43 + glib 44 + libGL 45 + libinput 46 + librsvg 47 + libxkbcommon 48 + pango 49 + udev 50 + wayfire 51 + wayland 52 + wf-config 53 + xcbutilwm 54 + ]; 55 + 56 + postPatch = '' 57 + substituteInPlace src/firedecor-theme.cpp \ 58 + --replace-fail "/usr/share" "/run/current-system/sw/share" 59 + ''; 60 + 61 + env = { 62 + PKG_CONFIG_WAYFIRE_PLUGINDIR = "${placeholder "out"}/lib/wayfire"; 63 + PKG_CONFIG_WAYFIRE_METADATADIR = "${placeholder "out"}/share/wayfire/metadata"; 64 + }; 65 + 66 + meta = with lib; { 67 + homepage = "https://github.com/mntmn/Firedecor"; 68 + description = "Advanced window decoration plugin for the Wayfire window manager"; 69 + license = licenses.mit; 70 + inherit (mate.mate-wayland-session.meta) maintainers; 71 + inherit (wayfire.meta) platforms; 72 + }; 73 + })
+1
pkgs/applications/window-managers/wayfire/plugins.nix
··· 4 let 5 inherit (self) callPackage; 6 in { 7 wayfire-plugins-extra = callPackage ./wayfire-plugins-extra.nix { }; 8 wcm = callPackage ./wcm.nix { }; 9 wf-shell = callPackage ./wf-shell.nix { };
··· 4 let 5 inherit (self) callPackage; 6 in { 7 + firedecor = callPackage ./firedecor.nix { }; 8 wayfire-plugins-extra = callPackage ./wayfire-plugins-extra.nix { }; 9 wcm = callPackage ./wcm.nix { }; 10 wf-shell = callPackage ./wf-shell.nix { };
+2 -2
pkgs/by-name/co/cockpit/package.nix
··· 44 45 stdenv.mkDerivation rec { 46 pname = "cockpit"; 47 - version = "312"; 48 49 src = fetchFromGitHub { 50 owner = "cockpit-project"; 51 repo = "cockpit"; 52 rev = "refs/tags/${version}"; 53 - hash = "sha256-X3IsUaqXlg/SlqHo9jK+hONY/6LAIAfRO9rAwCQcq64="; 54 fetchSubmodules = true; 55 }; 56
··· 44 45 stdenv.mkDerivation rec { 46 pname = "cockpit"; 47 + version = "313"; 48 49 src = fetchFromGitHub { 50 owner = "cockpit-project"; 51 repo = "cockpit"; 52 rev = "refs/tags/${version}"; 53 + hash = "sha256-k/JbvotOcVs2OXwGOrnjY0xYRRgvk61p0o7VQTTPqz4="; 54 fetchSubmodules = true; 55 }; 56
+149 -83
pkgs/by-name/my/mycelium/Cargo.lock
··· 146 147 [[package]] 148 name = "axum" 149 - version = "0.6.20" 150 source = "registry+https://github.com/rust-lang/crates.io-index" 151 - checksum = "3b829e4e32b91e643de6eafe82b1d90675f5874230191a4ffbc1b336dec4d6bf" 152 dependencies = [ 153 "async-trait", 154 "axum-core", 155 - "bitflags 1.3.2", 156 "bytes", 157 "futures-util", 158 - "http", 159 - "http-body", 160 - "hyper", 161 "itoa", 162 "matchit", 163 "memchr", ··· 178 179 [[package]] 180 name = "axum-core" 181 - version = "0.3.4" 182 source = "registry+https://github.com/rust-lang/crates.io-index" 183 - checksum = "759fa577a247914fd3f7f76d62972792636412fbfd634cd452f6a385a74d2d2c" 184 dependencies = [ 185 "async-trait", 186 "bytes", 187 "futures-util", 188 - "http", 189 - "http-body", 190 "mime", 191 "rustversion", 192 "tower-layer", 193 "tower-service", 194 ] ··· 311 checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 312 313 [[package]] 314 name = "cipher" 315 version = "0.4.4" 316 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 504 505 [[package]] 506 name = "etherparse" 507 - version = "0.13.0" 508 source = "registry+https://github.com/rust-lang/crates.io-index" 509 - checksum = "827292ea592108849932ad8e30218f8b1f21c0dfd0696698a18b5d0aed62d990" 510 dependencies = [ 511 "arrayvec", 512 ] ··· 691 "futures-core", 692 "futures-sink", 693 "futures-util", 694 - "http", 695 "indexmap", 696 "slab", 697 "tokio", ··· 729 ] 730 731 [[package]] 732 name = "http-body" 733 version = "0.4.6" 734 source = "registry+https://github.com/rust-lang/crates.io-index" 735 checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" 736 dependencies = [ 737 "bytes", 738 - "http", 739 "pin-project-lite", 740 ] 741 ··· 767 "futures-channel", 768 "futures-core", 769 "futures-util", 770 - "h2", 771 - "http", 772 - "http-body", 773 "httparse", 774 "httpdate", 775 "itoa", ··· 782 ] 783 784 [[package]] 785 - name = "hyper-rustls" 786 - version = "0.24.2" 787 source = "registry+https://github.com/rust-lang/crates.io-index" 788 - checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" 789 dependencies = [ 790 "futures-util", 791 - "http", 792 - "hyper", 793 - "rustls", 794 "tokio", 795 - "tokio-rustls", 796 ] 797 798 [[package]] ··· 886 887 [[package]] 888 name = "libc" 889 - version = "0.2.152" 890 source = "registry+https://github.com/rust-lang/crates.io-index" 891 - checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7" 892 893 [[package]] 894 name = "libloading" ··· 908 909 [[package]] 910 name = "log" 911 - version = "0.4.20" 912 source = "registry+https://github.com/rust-lang/crates.io-index" 913 - checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" 914 915 [[package]] 916 name = "loom" ··· 972 973 [[package]] 974 name = "mio" 975 - version = "0.8.10" 976 source = "registry+https://github.com/rust-lang/crates.io-index" 977 - checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" 978 dependencies = [ 979 "libc", 980 "wasi", ··· 983 984 [[package]] 985 name = "mycelium" 986 - version = "0.4.2" 987 dependencies = [ 988 "aes-gcm", 989 "axum", ··· 1002 "libc", 1003 "log", 1004 "network-interface", 1005 - "nix 0.27.1", 1006 "pretty_env_logger", 1007 "quinn", 1008 "rand", ··· 1118 dependencies = [ 1119 "bitflags 2.4.2", 1120 "cfg-if", 1121 "libc", 1122 "memoffset", 1123 ] ··· 1360 1361 [[package]] 1362 name = "rcgen" 1363 - version = "0.12.0" 1364 source = "registry+https://github.com/rust-lang/crates.io-index" 1365 - checksum = "5d918c80c5a4c7560db726763020bd16db179e4d5b828078842274a443addb5d" 1366 dependencies = [ 1367 "pem", 1368 "ring 0.17.7", ··· 1425 "encoding_rs", 1426 "futures-core", 1427 "futures-util", 1428 - "h2", 1429 - "http", 1430 - "http-body", 1431 - "hyper", 1432 - "hyper-rustls", 1433 "ipnet", 1434 "js-sys", 1435 "log", ··· 1437 "once_cell", 1438 "percent-encoding", 1439 "pin-project-lite", 1440 - "rustls", 1441 - "rustls-pemfile", 1442 "serde", 1443 "serde_json", 1444 "serde_urlencoded", 1445 "system-configuration", 1446 "tokio", 1447 - "tokio-rustls", 1448 "tower-service", 1449 "url", 1450 "wasm-bindgen", 1451 "wasm-bindgen-futures", 1452 "web-sys", 1453 - "webpki-roots", 1454 "winreg", 1455 ] 1456 ··· 1541 source = "registry+https://github.com/rust-lang/crates.io-index" 1542 checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" 1543 dependencies = [ 1544 - "log", 1545 "ring 0.17.7", 1546 "rustls-webpki", 1547 "sct", 1548 ] 1549 1550 [[package]] 1551 - name = "rustls-pemfile" 1552 - version = "1.0.4" 1553 - source = "registry+https://github.com/rust-lang/crates.io-index" 1554 - checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" 1555 - dependencies = [ 1556 - "base64", 1557 - ] 1558 - 1559 - [[package]] 1560 name = "rustls-webpki" 1561 version = "0.101.7" 1562 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1602 1603 [[package]] 1604 name = "serde" 1605 - version = "1.0.195" 1606 source = "registry+https://github.com/rust-lang/crates.io-index" 1607 - checksum = "63261df402c67811e9ac6def069e4786148c4563f4b50fd4bf30aa370d626b02" 1608 dependencies = [ 1609 "serde_derive", 1610 ] 1611 1612 [[package]] 1613 name = "serde_derive" 1614 - version = "1.0.195" 1615 source = "registry+https://github.com/rust-lang/crates.io-index" 1616 - checksum = "46fe8f8603d81ba86327b23a2e9cdf49e1255fb94a4c5f297f6ee0547178ea2c" 1617 dependencies = [ 1618 "proc-macro2", 1619 "quote", ··· 1622 1623 [[package]] 1624 name = "serde_json" 1625 - version = "1.0.111" 1626 source = "registry+https://github.com/rust-lang/crates.io-index" 1627 - checksum = "176e46fa42316f18edd598015a5166857fc835ec732f5215eac6b7bdbf0a84f4" 1628 dependencies = [ 1629 "itoa", 1630 "ryu", ··· 1880 ] 1881 1882 [[package]] 1883 - name = "tokio-rustls" 1884 - version = "0.24.1" 1885 - source = "registry+https://github.com/rust-lang/crates.io-index" 1886 - checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" 1887 - dependencies = [ 1888 - "rustls", 1889 - "tokio", 1890 - ] 1891 - 1892 - [[package]] 1893 name = "tokio-stream" 1894 version = "0.1.14" 1895 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1929 1930 [[package]] 1931 name = "toml" 1932 - version = "0.7.8" 1933 source = "registry+https://github.com/rust-lang/crates.io-index" 1934 - checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" 1935 dependencies = [ 1936 "serde", 1937 "serde_spanned", ··· 1950 1951 [[package]] 1952 name = "toml_edit" 1953 - version = "0.19.15" 1954 source = "registry+https://github.com/rust-lang/crates.io-index" 1955 - checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" 1956 dependencies = [ 1957 "indexmap", 1958 "serde", ··· 2242 ] 2243 2244 [[package]] 2245 - name = "webpki-roots" 2246 - version = "0.25.3" 2247 - source = "registry+https://github.com/rust-lang/crates.io-index" 2248 - checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10" 2249 - 2250 - [[package]] 2251 name = "winapi" 2252 version = "0.3.9" 2253 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2459 2460 [[package]] 2461 name = "winnow" 2462 - version = "0.5.34" 2463 source = "registry+https://github.com/rust-lang/crates.io-index" 2464 - checksum = "b7cf47b659b318dccbd69cc4797a39ae128f533dce7902a1096044d1967b9c16" 2465 dependencies = [ 2466 "memchr", 2467 ] ··· 2504 2505 [[package]] 2506 name = "x25519-dalek" 2507 - version = "2.0.0" 2508 source = "registry+https://github.com/rust-lang/crates.io-index" 2509 - checksum = "fb66477291e7e8d2b0ff1bcb900bf29489a9692816d79874bea351e7a8b6de96" 2510 dependencies = [ 2511 "curve25519-dalek", 2512 "rand_core",
··· 146 147 [[package]] 148 name = "axum" 149 + version = "0.7.4" 150 source = "registry+https://github.com/rust-lang/crates.io-index" 151 + checksum = "1236b4b292f6c4d6dc34604bb5120d85c3fe1d1aa596bd5cc52ca054d13e7b9e" 152 dependencies = [ 153 "async-trait", 154 "axum-core", 155 "bytes", 156 "futures-util", 157 + "http 1.1.0", 158 + "http-body 1.0.0", 159 + "http-body-util", 160 + "hyper 1.2.0", 161 + "hyper-util", 162 "itoa", 163 "matchit", 164 "memchr", ··· 179 180 [[package]] 181 name = "axum-core" 182 + version = "0.4.3" 183 source = "registry+https://github.com/rust-lang/crates.io-index" 184 + checksum = "a15c63fd72d41492dc4f497196f5da1fb04fb7529e631d73630d1b491e47a2e3" 185 dependencies = [ 186 "async-trait", 187 "bytes", 188 "futures-util", 189 + "http 1.1.0", 190 + "http-body 1.0.0", 191 + "http-body-util", 192 "mime", 193 + "pin-project-lite", 194 "rustversion", 195 + "sync_wrapper", 196 "tower-layer", 197 "tower-service", 198 ] ··· 315 checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 316 317 [[package]] 318 + name = "cfg_aliases" 319 + version = "0.1.1" 320 + source = "registry+https://github.com/rust-lang/crates.io-index" 321 + checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" 322 + 323 + [[package]] 324 name = "cipher" 325 version = "0.4.4" 326 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 514 515 [[package]] 516 name = "etherparse" 517 + version = "0.14.2" 518 source = "registry+https://github.com/rust-lang/crates.io-index" 519 + checksum = "24890603eb4b43aa788f02261ce21714449033e3e2ab93692f0ab18480c3c9b1" 520 dependencies = [ 521 "arrayvec", 522 ] ··· 701 "futures-core", 702 "futures-sink", 703 "futures-util", 704 + "http 0.2.11", 705 + "indexmap", 706 + "slab", 707 + "tokio", 708 + "tokio-util", 709 + "tracing", 710 + ] 711 + 712 + [[package]] 713 + name = "h2" 714 + version = "0.4.2" 715 + source = "registry+https://github.com/rust-lang/crates.io-index" 716 + checksum = "31d030e59af851932b72ceebadf4a2b5986dba4c3b99dd2493f8273a0f151943" 717 + dependencies = [ 718 + "bytes", 719 + "fnv", 720 + "futures-core", 721 + "futures-sink", 722 + "futures-util", 723 + "http 1.1.0", 724 "indexmap", 725 "slab", 726 "tokio", ··· 758 ] 759 760 [[package]] 761 + name = "http" 762 + version = "1.1.0" 763 + source = "registry+https://github.com/rust-lang/crates.io-index" 764 + checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258" 765 + dependencies = [ 766 + "bytes", 767 + "fnv", 768 + "itoa", 769 + ] 770 + 771 + [[package]] 772 name = "http-body" 773 version = "0.4.6" 774 source = "registry+https://github.com/rust-lang/crates.io-index" 775 checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" 776 dependencies = [ 777 "bytes", 778 + "http 0.2.11", 779 + "pin-project-lite", 780 + ] 781 + 782 + [[package]] 783 + name = "http-body" 784 + version = "1.0.0" 785 + source = "registry+https://github.com/rust-lang/crates.io-index" 786 + checksum = "1cac85db508abc24a2e48553ba12a996e87244a0395ce011e62b37158745d643" 787 + dependencies = [ 788 + "bytes", 789 + "http 1.1.0", 790 + ] 791 + 792 + [[package]] 793 + name = "http-body-util" 794 + version = "0.1.0" 795 + source = "registry+https://github.com/rust-lang/crates.io-index" 796 + checksum = "41cb79eb393015dadd30fc252023adb0b2400a0caee0fa2a077e6e21a551e840" 797 + dependencies = [ 798 + "bytes", 799 + "futures-util", 800 + "http 1.1.0", 801 + "http-body 1.0.0", 802 "pin-project-lite", 803 ] 804 ··· 830 "futures-channel", 831 "futures-core", 832 "futures-util", 833 + "h2 0.3.24", 834 + "http 0.2.11", 835 + "http-body 0.4.6", 836 "httparse", 837 "httpdate", 838 "itoa", ··· 845 ] 846 847 [[package]] 848 + name = "hyper" 849 + version = "1.2.0" 850 source = "registry+https://github.com/rust-lang/crates.io-index" 851 + checksum = "186548d73ac615b32a73aafe38fb4f56c0d340e110e5a200bcadbaf2e199263a" 852 dependencies = [ 853 + "bytes", 854 + "futures-channel", 855 "futures-util", 856 + "h2 0.4.2", 857 + "http 1.1.0", 858 + "http-body 1.0.0", 859 + "httparse", 860 + "httpdate", 861 + "itoa", 862 + "pin-project-lite", 863 + "smallvec", 864 "tokio", 865 + ] 866 + 867 + [[package]] 868 + name = "hyper-util" 869 + version = "0.1.3" 870 + source = "registry+https://github.com/rust-lang/crates.io-index" 871 + checksum = "ca38ef113da30126bbff9cd1705f9273e15d45498615d138b0c20279ac7a76aa" 872 + dependencies = [ 873 + "bytes", 874 + "futures-util", 875 + "http 1.1.0", 876 + "http-body 1.0.0", 877 + "hyper 1.2.0", 878 + "pin-project-lite", 879 + "socket2", 880 + "tokio", 881 ] 882 883 [[package]] ··· 971 972 [[package]] 973 name = "libc" 974 + version = "0.2.153" 975 source = "registry+https://github.com/rust-lang/crates.io-index" 976 + checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" 977 978 [[package]] 979 name = "libloading" ··· 993 994 [[package]] 995 name = "log" 996 + version = "0.4.21" 997 source = "registry+https://github.com/rust-lang/crates.io-index" 998 + checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" 999 1000 [[package]] 1001 name = "loom" ··· 1057 1058 [[package]] 1059 name = "mio" 1060 + version = "0.8.11" 1061 source = "registry+https://github.com/rust-lang/crates.io-index" 1062 + checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" 1063 dependencies = [ 1064 "libc", 1065 "wasi", ··· 1068 1069 [[package]] 1070 name = "mycelium" 1071 + version = "0.4.3" 1072 dependencies = [ 1073 "aes-gcm", 1074 "axum", ··· 1087 "libc", 1088 "log", 1089 "network-interface", 1090 + "nix 0.28.0", 1091 "pretty_env_logger", 1092 "quinn", 1093 "rand", ··· 1203 dependencies = [ 1204 "bitflags 2.4.2", 1205 "cfg-if", 1206 + "libc", 1207 + ] 1208 + 1209 + [[package]] 1210 + name = "nix" 1211 + version = "0.28.0" 1212 + source = "registry+https://github.com/rust-lang/crates.io-index" 1213 + checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4" 1214 + dependencies = [ 1215 + "bitflags 2.4.2", 1216 + "cfg-if", 1217 + "cfg_aliases", 1218 "libc", 1219 "memoffset", 1220 ] ··· 1457 1458 [[package]] 1459 name = "rcgen" 1460 + version = "0.12.1" 1461 source = "registry+https://github.com/rust-lang/crates.io-index" 1462 + checksum = "48406db8ac1f3cbc7dcdb56ec355343817958a356ff430259bb07baf7607e1e1" 1463 dependencies = [ 1464 "pem", 1465 "ring 0.17.7", ··· 1522 "encoding_rs", 1523 "futures-core", 1524 "futures-util", 1525 + "h2 0.3.24", 1526 + "http 0.2.11", 1527 + "http-body 0.4.6", 1528 + "hyper 0.14.28", 1529 "ipnet", 1530 "js-sys", 1531 "log", ··· 1533 "once_cell", 1534 "percent-encoding", 1535 "pin-project-lite", 1536 "serde", 1537 "serde_json", 1538 "serde_urlencoded", 1539 "system-configuration", 1540 "tokio", 1541 "tower-service", 1542 "url", 1543 "wasm-bindgen", 1544 "wasm-bindgen-futures", 1545 "web-sys", 1546 "winreg", 1547 ] 1548 ··· 1633 source = "registry+https://github.com/rust-lang/crates.io-index" 1634 checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" 1635 dependencies = [ 1636 "ring 0.17.7", 1637 "rustls-webpki", 1638 "sct", 1639 ] 1640 1641 [[package]] 1642 name = "rustls-webpki" 1643 version = "0.101.7" 1644 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1684 1685 [[package]] 1686 name = "serde" 1687 + version = "1.0.197" 1688 source = "registry+https://github.com/rust-lang/crates.io-index" 1689 + checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" 1690 dependencies = [ 1691 "serde_derive", 1692 ] 1693 1694 [[package]] 1695 name = "serde_derive" 1696 + version = "1.0.197" 1697 source = "registry+https://github.com/rust-lang/crates.io-index" 1698 + checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" 1699 dependencies = [ 1700 "proc-macro2", 1701 "quote", ··· 1704 1705 [[package]] 1706 name = "serde_json" 1707 + version = "1.0.114" 1708 source = "registry+https://github.com/rust-lang/crates.io-index" 1709 + checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0" 1710 dependencies = [ 1711 "itoa", 1712 "ryu", ··· 1962 ] 1963 1964 [[package]] 1965 name = "tokio-stream" 1966 version = "0.1.14" 1967 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2001 2002 [[package]] 2003 name = "toml" 2004 + version = "0.8.10" 2005 source = "registry+https://github.com/rust-lang/crates.io-index" 2006 + checksum = "9a9aad4a3066010876e8dcf5a8a06e70a558751117a145c6ce2b82c2e2054290" 2007 dependencies = [ 2008 "serde", 2009 "serde_spanned", ··· 2022 2023 [[package]] 2024 name = "toml_edit" 2025 + version = "0.22.6" 2026 source = "registry+https://github.com/rust-lang/crates.io-index" 2027 + checksum = "2c1b5fd4128cc8d3e0cb74d4ed9a9cc7c7284becd4df68f5f940e1ad123606f6" 2028 dependencies = [ 2029 "indexmap", 2030 "serde", ··· 2314 ] 2315 2316 [[package]] 2317 name = "winapi" 2318 version = "0.3.9" 2319 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2525 2526 [[package]] 2527 name = "winnow" 2528 + version = "0.6.5" 2529 source = "registry+https://github.com/rust-lang/crates.io-index" 2530 + checksum = "dffa400e67ed5a4dd237983829e66475f0a4a26938c4b04c21baede6262215b8" 2531 dependencies = [ 2532 "memchr", 2533 ] ··· 2570 2571 [[package]] 2572 name = "x25519-dalek" 2573 + version = "2.0.1" 2574 source = "registry+https://github.com/rust-lang/crates.io-index" 2575 + checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" 2576 dependencies = [ 2577 "curve25519-dalek", 2578 "rand_core",
+3 -3
pkgs/by-name/my/mycelium/package.nix
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "mycelium"; 10 - version = "0.4.2"; 11 12 src = fetchFromGitHub { 13 owner = "threefoldtech"; 14 repo = "mycelium"; 15 rev = "v${version}"; 16 - hash = "sha256-VWrWg9UpBSug0cvY/zuzGFI6Y0CRFcrh1Cy4mbYtg9Q="; 17 }; 18 19 cargoLock = { ··· 33 homepage = "https://github.com/threefoldtech/mycelium"; 34 changelog = "https://github.com/threefoldtech/mycelium/blob/${src.rev}/CHANGELOG.md"; 35 license = licenses.asl20; 36 - maintainers = with maintainers; [ matthewcroughan ]; 37 mainProgram = "mycelium"; 38 }; 39 }
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "mycelium"; 10 + version = "0.4.3"; 11 12 src = fetchFromGitHub { 13 owner = "threefoldtech"; 14 repo = "mycelium"; 15 rev = "v${version}"; 16 + hash = "sha256-bA3ci+vqXBCPBaxMvfUdFcqdaZbAw/+r5UbH/as/fnc="; 17 }; 18 19 cargoLock = { ··· 33 homepage = "https://github.com/threefoldtech/mycelium"; 34 changelog = "https://github.com/threefoldtech/mycelium/blob/${src.rev}/CHANGELOG.md"; 35 license = licenses.asl20; 36 + maintainers = with maintainers; [ flokli matthewcroughan ]; 37 mainProgram = "mycelium"; 38 }; 39 }
+264
pkgs/by-name/pr/pretix/package.nix
···
··· 1 + { lib 2 + , buildNpmPackage 3 + , fetchFromGitHub 4 + , fetchPypi 5 + , fetchpatch2 6 + , nodejs 7 + , python3 8 + , gettext 9 + , nixosTests 10 + , plugins ? [ ] 11 + }: 12 + 13 + let 14 + python = python3.override { 15 + packageOverrides = self: super: { 16 + django = super.django_4; 17 + 18 + stripe = super.stripe.overridePythonAttrs rec { 19 + version = "7.9.0"; 20 + 21 + src = fetchPypi { 22 + pname = "stripe"; 23 + inherit version; 24 + hash = "sha256-hOXkMINaSwzU/SpXzjhTJp0ds0OREc2mtu11LjSc9KE="; 25 + }; 26 + }; 27 + 28 + pretix-plugin-build = self.callPackage ./plugin-build.nix { }; 29 + }; 30 + }; 31 + 32 + pname = "pretix"; 33 + version = "2024.2.0"; 34 + 35 + src = fetchFromGitHub { 36 + owner = "pretix"; 37 + repo = "pretix"; 38 + rev = "refs/tags/v${version}"; 39 + hash = "sha256-emtF5dDXEXN8GIucHbjF+m9Vkg1Jj6nmQdHhBOkXMAs="; 40 + }; 41 + 42 + npmDeps = buildNpmPackage { 43 + pname = "pretix-node-modules"; 44 + inherit version src; 45 + 46 + sourceRoot = "${src.name}/src/pretix/static/npm_dir"; 47 + npmDepsHash = "sha256-kE13dcTdWZZNHPMcHEiK0a2dEcu3Z3/q815YhaVkLbQ="; 48 + 49 + dontBuild = true; 50 + 51 + installPhase = '' 52 + runHook preInstall 53 + 54 + mkdir $out 55 + cp -R node_modules $out/ 56 + 57 + runHook postInstall 58 + ''; 59 + }; 60 + in 61 + python.pkgs.buildPythonApplication rec { 62 + inherit pname version src; 63 + pyproject = true; 64 + 65 + patches = [ 66 + # Discover pretix.plugin entrypoints during build and add them into 67 + # INSTALLED_APPS, so that their static files are collected. 68 + ./plugin-build.patch 69 + 70 + (fetchpatch2 { 71 + # Allow customization of cache and log directory 72 + # https://github.com/pretix/pretix/pull/3997 73 + name = "pretix-directory-customization.patch"; 74 + url = "https://github.com/pretix/pretix/commit/e151d1d1f08917e547df49da0779b36bb73b7294.patch"; 75 + hash = "sha256-lO5eCKSqUaCwSm7rouMTFMwauWl9Tz/Yf0JE/IO+bnI="; 76 + }) 77 + ]; 78 + 79 + postPatch = '' 80 + NODE_PREFIX=src/pretix/static.dist/node_prefix 81 + mkdir -p $NODE_PREFIX 82 + cp -R ${npmDeps}/node_modules $NODE_PREFIX/ 83 + chmod -R u+w $NODE_PREFIX/ 84 + 85 + # unused 86 + sed -i "/setuptools-rust/d" pyproject.toml 87 + 88 + substituteInPlace pyproject.toml \ 89 + --replace-fail phonenumberslite phonenumbers \ 90 + --replace-fail psycopg2-binary psycopg2 \ 91 + --replace-fail vat_moss_forked==2020.3.20.0.11.0 vat-moss \ 92 + --replace-fail "bleach==5.0.*" bleach \ 93 + --replace-fail "dnspython==2.5.*" dnspython \ 94 + --replace-fail "importlib_metadata==7.*" importlib_metadata \ 95 + --replace-fail "protobuf==4.25.*" protobuf \ 96 + --replace-fail "pycryptodome==3.20.*" pycryptodome \ 97 + --replace-fail "pypdf==3.9.*" pypdf \ 98 + --replace-fail "python-dateutil==2.8.*" python-dateutil \ 99 + --replace-fail "sentry-sdk==1.40.*" sentry-sdk \ 100 + --replace-fail "stripe==7.9.*" stripe 101 + ''; 102 + 103 + build-system = with python.pkgs; [ 104 + gettext 105 + nodejs 106 + pythonRelaxDepsHook 107 + setuptools 108 + tomli 109 + ]; 110 + 111 + dependencies = with python.pkgs; [ 112 + arabic-reshaper 113 + babel 114 + beautifulsoup4 115 + bleach 116 + celery 117 + chardet 118 + cryptography 119 + css-inline 120 + defusedcsv 121 + dj-static 122 + django 123 + django-bootstrap3 124 + django-compressor 125 + django-countries 126 + django-filter 127 + django-formset-js-improved 128 + django-formtools 129 + django-hierarkey 130 + django-hijack 131 + django-i18nfield 132 + django-libsass 133 + django-localflavor 134 + django-markup 135 + django-oauth-toolkit 136 + django-otp 137 + django-phonenumber-field 138 + django-redis 139 + django-scopes 140 + django-statici18n 141 + djangorestframework 142 + dnspython 143 + drf-ujson2 144 + geoip2 145 + importlib-metadata 146 + isoweek 147 + jsonschema 148 + kombu 149 + libsass 150 + lxml 151 + markdown 152 + mt-940 153 + oauthlib 154 + openpyxl 155 + packaging 156 + paypalrestsdk 157 + paypal-checkout-serversdk 158 + pyjwt 159 + phonenumbers 160 + pillow 161 + pretix-plugin-build 162 + protobuf 163 + psycopg2 164 + pycountry 165 + pycparser 166 + pycryptodome 167 + pypdf 168 + python-bidi 169 + python-dateutil 170 + pytz 171 + pytz-deprecation-shim 172 + pyuca 173 + qrcode 174 + redis 175 + reportlab 176 + requests 177 + sentry-sdk 178 + sepaxml 179 + slimit 180 + static3 181 + stripe 182 + text-unidecode 183 + tlds 184 + tqdm 185 + vat-moss 186 + vobject 187 + webauthn 188 + zeep 189 + ] ++ plugins; 190 + 191 + optional-dependencies = with python.pkgs; { 192 + memcached = [ 193 + pylibmc 194 + ]; 195 + }; 196 + 197 + postInstall = '' 198 + mkdir -p $out/bin 199 + cp ./src/manage.py $out/bin/pretix-manage 200 + 201 + # Trim packages size 202 + rm -rfv $out/${python.sitePackages}/pretix/static.dist/node_prefix 203 + ''; 204 + 205 + dontStrip = true; # no binaries 206 + 207 + nativeCheckInputs = with python.pkgs; [ 208 + pytestCheckHook 209 + pytest-xdist 210 + pytest-mock 211 + pytest-django 212 + pytest-asyncio 213 + pytest-rerunfailures 214 + freezegun 215 + fakeredis 216 + responses 217 + ] ++ lib.flatten (lib.attrValues optional-dependencies); 218 + 219 + pytestFlagsArray = [ 220 + "--reruns" "3" 221 + 222 + # tests fail when run before 4:30am 223 + # https://github.com/pretix/pretix/pull/3987 224 + "--deselect=src/tests/base/test_orders.py::PaymentReminderTests::test_sent_days" 225 + "--deselect=src/tests/plugins/sendmail/test_rules.py::test_sendmail_rule_specified_subevent" 226 + ]; 227 + 228 + preCheck = '' 229 + export PYTHONPATH=$(pwd)/src:$PYTHONPATH 230 + export DJANGO_SETTINGS_MODULE=tests.settings 231 + ''; 232 + 233 + passthru = { 234 + inherit 235 + npmDeps 236 + python 237 + ; 238 + plugins = lib.recurseIntoAttrs 239 + (python.pkgs.callPackage ./plugins { 240 + inherit (python.pkgs) callPackage; 241 + } 242 + ); 243 + tests = { 244 + inherit (nixosTests) pretix; 245 + }; 246 + }; 247 + 248 + meta = with lib; { 249 + description = "Ticketing software that cares about your event—all the way"; 250 + homepage = "https://github.com/pretix/pretix"; 251 + license = with licenses; [ 252 + agpl3Only 253 + # 3rd party components below src/pretix/static 254 + bsd2 255 + isc 256 + mit 257 + ofl # fontawesome 258 + unlicense 259 + # all other files below src/pretix/static and src/pretix/locale and aux scripts 260 + asl20 261 + ]; 262 + maintainers = with maintainers; [ hexa ]; 263 + }; 264 + }
+37
pkgs/by-name/pr/pretix/plugin-build.nix
···
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchPypi, 5 + setuptools, 6 + django, 7 + gettext, 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "pretix-plugin-build"; 12 + version = "1.0.1"; 13 + pyproject = true; 14 + 15 + src = fetchPypi { 16 + inherit pname version; 17 + hash = "sha256-iLbqcCAbeK4PyLXiebpdE27rt6bOP7eXczIG2bdvvYo="; 18 + }; 19 + 20 + build-system = [ 21 + setuptools 22 + ]; 23 + 24 + dependencies = [ 25 + django 26 + gettext 27 + ]; 28 + 29 + doCheck = false; # no tests 30 + 31 + meta = with lib; { 32 + description = ""; 33 + homepage = "https://github.com/pretix/pretix-plugin-build"; 34 + license = licenses.asl20; 35 + maintainers = with maintainers; [ hexa ]; 36 + }; 37 + }
+20
pkgs/by-name/pr/pretix/plugin-build.patch
···
··· 1 + diff --git a/src/pretix/_build_settings.py b/src/pretix/_build_settings.py 2 + index c03f56a1a..d1ea73b84 100644 3 + --- a/src/pretix/_build_settings.py 4 + +++ b/src/pretix/_build_settings.py 5 + @@ -24,6 +24,8 @@ 6 + This file contains settings that we need at wheel require time. All settings that we only need at runtime are set 7 + in settings.py. 8 + """ 9 + +from importlib_metadata import entry_points 10 + + 11 + from ._base_settings import * # NOQA 12 + 13 + ENTROPY = { 14 + @@ -47,3 +49,6 @@ HAS_MEMCACHED = False 15 + HAS_CELERY = False 16 + HAS_GEOIP = False 17 + SENTRY_ENABLED = False 18 + + 19 + +for entry_point in entry_points(group='pretix.plugin'): 20 + + INSTALLED_APPS.append(entry_point.module) # noqa: F405
+13
pkgs/by-name/pr/pretix/plugins/default.nix
···
··· 1 + { callPackage 2 + , ... 3 + }: 4 + 5 + { 6 + pages = callPackage ./pages.nix { }; 7 + 8 + passbook = callPackage ./passbook.nix { }; 9 + 10 + reluctant-stripe = callPackage ./reluctant-stripe.nix { }; 11 + 12 + stretchgoals = callPackage ./stretchgoals.nix { }; 13 + }
+37
pkgs/by-name/pr/pretix/plugins/pages.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pretix-plugin-build 5 + , setuptools 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "pretix-pages"; 10 + version = "1.6.0"; 11 + pyproject = true; 12 + 13 + src = fetchFromGitHub { 14 + owner = "pretix"; 15 + repo = "pretix-pages"; 16 + rev = "v${version}"; 17 + hash = "sha256-cO5tAiOifLpqFEQwYgrGoByUecpzvue8YmChpPwm+y0="; 18 + }; 19 + 20 + build-system = [ 21 + pretix-plugin-build 22 + setuptools 23 + ]; 24 + 25 + doCheck = false; # no tests 26 + 27 + pythonImportsCheck = [ 28 + "pretix_pages" 29 + ]; 30 + 31 + meta = with lib; { 32 + description = "Plugin to add static pages to your pretix event"; 33 + homepage = "https://github.com/pretix/pretix-pages"; 34 + license = licenses.asl20; 35 + maintainers = with maintainers; [ hexa ]; 36 + }; 37 + }
+33
pkgs/by-name/pr/pretix/plugins/passbook-openssl.patch
···
··· 1 + diff --git a/pretix_passbook/apps.py b/pretix_passbook/apps.py 2 + index e34eee1..a7ad382 100644 3 + --- a/pretix_passbook/apps.py 4 + +++ b/pretix_passbook/apps.py 5 + @@ -22,15 +22,6 @@ class PassbookApp(AppConfig): 6 + def ready(self): 7 + from . import signals # NOQA 8 + 9 + - @cached_property 10 + - def compatibility_errors(self): 11 + - import shutil 12 + - 13 + - errs = [] 14 + - if not shutil.which("openssl"): 15 + - errs.append("The OpenSSL binary is not installed or not in the PATH.") 16 + - return errs 17 + - 18 + @cached_property 19 + def compatibility_warnings(self): 20 + errs = [] 21 + diff --git a/pretix_passbook/forms.py b/pretix_passbook/forms.py 22 + index 2a38604..aec38de 100644 23 + --- a/pretix_passbook/forms.py 24 + +++ b/pretix_passbook/forms.py 25 + @@ -41,7 +41,7 @@ class CertificateFileField(forms.FileField): 26 + return SimpleUploadedFile("cert.pem", content, "text/plain") 27 + 28 + openssl_cmd = [ 29 + - "openssl", 30 + + "@openssl@", 31 + "x509", 32 + "-inform", 33 + "DER",
+59
pkgs/by-name/pr/pretix/plugins/passbook.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , substituteAll 5 + 6 + # build-system 7 + , pretix-plugin-build 8 + , setuptools 9 + 10 + # runtime 11 + , openssl 12 + 13 + # dependencies 14 + , googlemaps 15 + , wallet-py3k 16 + }: 17 + 18 + buildPythonPackage rec { 19 + pname = "pretix-passbook"; 20 + version = "1.13.1"; 21 + pyproject = true; 22 + 23 + src = fetchFromGitHub { 24 + owner = "pretix"; 25 + repo = "pretix-passbook"; 26 + rev = "v${version}"; 27 + hash = "sha256-bp64wCEMon05JhOaDr/cVbqUxc+7ndcsSuSesxJt8GE="; 28 + }; 29 + 30 + patches = [ 31 + (substituteAll { 32 + src = ./passbook-openssl.patch; 33 + openssl = lib.getExe openssl; 34 + }) 35 + ]; 36 + 37 + build-system = [ 38 + pretix-plugin-build 39 + setuptools 40 + ]; 41 + 42 + dependencies = [ 43 + googlemaps 44 + wallet-py3k 45 + ]; 46 + 47 + doCheck = false; # no tests 48 + 49 + pythonImportsCheck = [ 50 + "pretix_passbook" 51 + ]; 52 + 53 + meta = with lib; { 54 + description = "Support for Apple Wallet/Passbook files in pretix"; 55 + homepage = "https://github.com/pretix/pretix-passbook"; 56 + license = licenses.asl20; 57 + maintainers = with maintainers; [ hexa ]; 58 + }; 59 + }
+37
pkgs/by-name/pr/pretix/plugins/reluctant-stripe.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pretix-plugin-build 5 + , setuptools 6 + }: 7 + 8 + buildPythonPackage { 9 + pname = "pretix-reluctant-stripe"; 10 + version = "unstable-2023-08-03"; 11 + pyproject = true; 12 + 13 + src = fetchFromGitHub { 14 + owner = "metarheinmain"; 15 + repo = "pretix-reluctant-stripe"; 16 + rev = "ae2d770442553e5fc00815ff4521a8fd2c113fd9"; 17 + hash = "sha256-bw9aDMxl4/uar5KHjj+wwkYkaGMRxHWY/c1N75bxu0o="; 18 + }; 19 + 20 + build-system = [ 21 + pretix-plugin-build 22 + setuptools 23 + ]; 24 + 25 + doCheck = false; # no tests 26 + 27 + pythonImportsCheck = [ 28 + "pretix_reluctant_stripe" 29 + ]; 30 + 31 + meta = with lib; { 32 + description = "Nudge users to not use Stripe as a payment provider"; 33 + homepage = "https://github.com/metarheinmain/pretix-reluctant-stripe"; 34 + license = licenses.asl20; 35 + maintainers = with maintainers; [ hexa ]; 36 + }; 37 + }
+37
pkgs/by-name/pr/pretix/plugins/stretchgoals.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pretix-plugin-build 5 + , setuptools 6 + }: 7 + 8 + buildPythonPackage { 9 + pname = "pretix-avgchart"; 10 + version = "unstable-2023-11-27"; 11 + pyproject = true; 12 + 13 + src = fetchFromGitHub { 14 + owner = "rixx"; 15 + repo = "pretix-avgchart"; 16 + rev = "219816c7ec523a5c23778523b2616ac0c835cb3a"; 17 + hash = "sha256-1V/0PUvStgQeBQ0v6GoofAgyPmWs3RD+v5ekmAO9vFU="; 18 + }; 19 + 20 + build-system = [ 21 + pretix-plugin-build 22 + setuptools 23 + ]; 24 + 25 + doCheck = false; # no tests 26 + 27 + pythonImportsCheck = [ 28 + "pretix_stretchgoals" 29 + ]; 30 + 31 + meta = with lib; { 32 + description = "Display the average ticket sales price over time"; 33 + homepage = "https://github.com/rixx/pretix-avgchart"; 34 + license = licenses.asl20; 35 + maintainers = with maintainers; [ hexa ]; 36 + }; 37 + }
+3 -3
pkgs/by-name/re/renode-dts2repl/package.nix
··· 6 7 python3.pkgs.buildPythonApplication { 8 pname = "renode-dts2repl"; 9 - version = "unstable-2024-02-29"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "antmicro"; 14 repo = "dts2repl"; 15 - rev = "a53f2f01039a462bdd7322d1fb315edd95033b6d"; 16 - hash = "sha256-DsHNS9pZu3ZWM3teG3pUi0EM+8znmCPTSGuzGmJ4IgU="; 17 }; 18 19 nativeBuildInputs = [
··· 6 7 python3.pkgs.buildPythonApplication { 8 pname = "renode-dts2repl"; 9 + version = "unstable-2024-03-12"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "antmicro"; 14 repo = "dts2repl"; 15 + rev = "eff98d616e3541e54ca783c84f598c9e348a76a8"; 16 + hash = "sha256-qNHj5WOSca04ceGeRNa60M6cH9/rRHLEF1YX75yYDO8="; 17 }; 18 19 nativeBuildInputs = [
+10 -11
pkgs/by-name/wl/wl-clipboard-rs/package.nix
··· 6 , withNativeLibs ? false 7 }: 8 9 - rustPlatform.buildRustPackage { 10 pname = "wl-clipboard-rs"; 11 - version = "0.8.0-unstable-2023-11-27"; 12 13 src = fetchFromGitHub { 14 owner = "YaLTeR"; 15 repo = "wl-clipboard-rs"; 16 - rev = "be851408e0f91edffdc2f1a76805035847f9f8a9"; 17 - hash = "sha256-OfLn7izG1KSUjdd2gO4aaSCDlcaWoFiFmgwwhR1hRsQ="; 18 }; 19 20 - cargoHash = "sha256-rYFCPyWTUhyrEcoRM8I+iX7IaY/6i1tBVjhs47m3XY8="; 21 22 cargoBuildFlags = [ 23 "--package=wl-clipboard-rs" ··· 47 "--skip=tests::copy::copy_test" 48 ]; 49 50 - meta = { 51 description = "Command-line copy/paste utilities for Wayland, written in Rust"; 52 homepage = "https://github.com/YaLTeR/wl-clipboard-rs"; 53 - # TODO: add `${version}` once we switch to tagged release 54 - changelog = "https://github.com/YaLTeR/wl-clipboard-rs/blob/master/CHANGELOG.md"; 55 - platforms = lib.platforms.linux; 56 - license = with lib.licenses; [ asl20 mit ]; 57 mainProgram = "wl-clip"; 58 - maintainers = with lib.maintainers; [ thiagokokada ]; 59 }; 60 }
··· 6 , withNativeLibs ? false 7 }: 8 9 + rustPlatform.buildRustPackage rec { 10 pname = "wl-clipboard-rs"; 11 + version = "0.8.1"; 12 13 src = fetchFromGitHub { 14 owner = "YaLTeR"; 15 repo = "wl-clipboard-rs"; 16 + rev = "v${version}"; 17 + hash = "sha256-tNmpGBg21IuhKEzY15O2MKVpMB+eCjvRVwVUahADuJU="; 18 }; 19 20 + cargoHash = "sha256-0Ix+fF1QO1KU8FIOb8EV4iYXe4S69sZOxCdxYccL8m0="; 21 22 cargoBuildFlags = [ 23 "--package=wl-clipboard-rs" ··· 47 "--skip=tests::copy::copy_test" 48 ]; 49 50 + meta = with lib; { 51 description = "Command-line copy/paste utilities for Wayland, written in Rust"; 52 homepage = "https://github.com/YaLTeR/wl-clipboard-rs"; 53 + changelog = "https://github.com/YaLTeR/wl-clipboard-rs/blob/v${version}/CHANGELOG.md"; 54 + platforms = platforms.linux; 55 + license = with licenses; [ asl20 mit ]; 56 mainProgram = "wl-clip"; 57 + maintainers = with maintainers; [ thiagokokada donovanglover ]; 58 }; 59 }
+6 -5
pkgs/desktops/mate/atril/default.nix
··· 3 , fetchurl 4 , pkg-config 5 , gettext 6 , gtk3 7 , glib 8 , libxml2 9 , libarchive 10 , libsecret 11 , poppler 12 , itstool 13 , hicolor-icon-theme 14 , texlive 15 - , mate 16 , wrapGAppsHook 17 , enableEpub ? true 18 , webkitgtk_4_1 ··· 28 29 stdenv.mkDerivation rec { 30 pname = "atril"; 31 - version = "1.26.2"; 32 33 src = fetchurl { 34 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 35 - sha256 = "wwW51fVxP0Jiau4DggkTA0IrPXGlbd1lkyzNsjx86SY="; 36 }; 37 38 nativeBuildInputs = [ ··· 42 ]; 43 44 buildInputs = [ 45 gtk3 46 glib 47 itstool ··· 49 libsecret 50 libxml2 51 poppler 52 - mate.caja 53 - mate.mate-desktop 54 hicolor-icon-theme 55 texlive.bin.core # for synctex, used by the pdf back-end 56 ]
··· 3 , fetchurl 4 , pkg-config 5 , gettext 6 + , caja 7 , gtk3 8 , glib 9 , libxml2 10 , libarchive 11 , libsecret 12 , poppler 13 + , mate-desktop 14 , itstool 15 , hicolor-icon-theme 16 , texlive 17 , wrapGAppsHook 18 , enableEpub ? true 19 , webkitgtk_4_1 ··· 29 30 stdenv.mkDerivation rec { 31 pname = "atril"; 32 + version = "1.28.0"; 33 34 src = fetchurl { 35 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 36 + sha256 = "ztRyX26bccTqY2dr/DzDvgnSnboIqnp6uXlk4LQ1UWI="; 37 }; 38 39 nativeBuildInputs = [ ··· 43 ]; 44 45 buildInputs = [ 46 + caja 47 gtk3 48 glib 49 itstool ··· 51 libsecret 52 libxml2 53 poppler 54 + mate-desktop 55 hicolor-icon-theme 56 texlive.bin.core # for synctex, used by the pdf back-end 57 ]
+4 -4
pkgs/desktops/mate/caja-dropbox/default.nix
··· 5 , pkg-config 6 , gobject-introspection 7 , gdk-pixbuf 8 , gtk3 9 - , mate 10 , python3 11 , dropbox 12 , mateUpdateScript ··· 17 in 18 stdenv.mkDerivation rec { 19 pname = "caja-dropbox"; 20 - version = "1.26.0"; 21 22 src = fetchurl { 23 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 24 - sha256 = "16w4r0zjps12lmzwiwpb9qnmbvd0p391q97296sxa8k88b1x14wn"; 25 }; 26 27 patches = [ ··· 44 ]; 45 46 buildInputs = [ 47 gtk3 48 - mate.caja 49 python3 50 ]; 51
··· 5 , pkg-config 6 , gobject-introspection 7 , gdk-pixbuf 8 + , caja 9 , gtk3 10 , python3 11 , dropbox 12 , mateUpdateScript ··· 17 in 18 stdenv.mkDerivation rec { 19 pname = "caja-dropbox"; 20 + version = "1.28.0"; 21 22 src = fetchurl { 23 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 24 + sha256 = "t0w4qZQlS9PPfLxxK8LsdRagypQqpleFJs29aqYgGWM="; 25 }; 26 27 patches = [ ··· 44 ]; 45 46 buildInputs = [ 47 + caja 48 gtk3 49 python3 50 ]; 51
+13 -23
pkgs/desktops/mate/caja-extensions/default.nix
··· 3 , fetchurl 4 , pkg-config 5 , gettext 6 , gtk3 7 , gupnp 8 - , mate 9 , imagemagick 10 , wrapGAppsHook 11 , mateUpdateScript 12 - , glib 13 - , substituteAll 14 }: 15 16 stdenv.mkDerivation rec { 17 pname = "caja-extensions"; 18 - version = "1.26.1"; 19 20 src = fetchurl { 21 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 22 - sha256 = "WJwZ4/oQJC1iOaXMuVhVmENqVuvpTS6ypQtZUMzh1SA="; 23 }; 24 25 nativeBuildInputs = [ ··· 29 ]; 30 31 buildInputs = [ 32 gtk3 33 gupnp 34 - mate.caja 35 - mate.mate-desktop 36 imagemagick 37 - ]; 38 - 39 - patches = [ 40 - (substituteAll { 41 - src = ./hardcode-gsettings.patch; 42 - caja_gsetttings_path = glib.getSchemaPath mate.caja; 43 - desktop_gsetttings_path = glib.getSchemaPath mate.mate-desktop; 44 - }) 45 ]; 46 47 postPatch = '' 48 - substituteInPlace open-terminal/caja-open-terminal.c --subst-var-by \ 49 - GSETTINGS_PATH ${glib.makeSchemaPath "$out" "${pname}-${version}"} 50 - substituteInPlace sendto/caja-sendto-command.c --subst-var-by \ 51 - GSETTINGS_PATH ${glib.makeSchemaPath "$out" "${pname}-${version}"} 52 - substituteInPlace wallpaper/caja-wallpaper-extension.c --subst-var-by \ 53 - GSETTINGS_PATH ${glib.makeSchemaPath "$out" "${pname}-${version}"} 54 - 55 for f in image-converter/caja-image-{resizer,rotator}.c; do 56 - substituteInPlace $f --replace "/usr/bin/convert" "${imagemagick}/bin/convert" 57 done 58 ''; 59
··· 3 , fetchurl 4 , pkg-config 5 , gettext 6 + , caja 7 + , glib 8 + , gst_all_1 9 , gtk3 10 , gupnp 11 , imagemagick 12 + , mate-desktop 13 , wrapGAppsHook 14 , mateUpdateScript 15 }: 16 17 stdenv.mkDerivation rec { 18 pname = "caja-extensions"; 19 + version = "1.28.0"; 20 21 src = fetchurl { 22 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 23 + sha256 = "0phsXgdAg1/icc+9WCPu6vAyka8XYyA/RwCruBCeMXU="; 24 }; 25 26 nativeBuildInputs = [ ··· 30 ]; 31 32 buildInputs = [ 33 + caja 34 + glib 35 + gst_all_1.gstreamer 36 + gst_all_1.gst-plugins-base 37 + gst_all_1.gst-plugins-good 38 gtk3 39 gupnp 40 imagemagick 41 + mate-desktop 42 ]; 43 44 postPatch = '' 45 for f in image-converter/caja-image-{resizer,rotator}.c; do 46 + substituteInPlace $f --replace-fail 'argv[0] = "convert"' 'argv[0] = "${imagemagick}/bin/convert"' 47 done 48 ''; 49
-169
pkgs/desktops/mate/caja-extensions/hardcode-gsettings.patch
··· 1 - diff --git a/open-terminal/caja-open-terminal.c b/open-terminal/caja-open-terminal.c 2 - index e14a9bf..691afab 100644 3 - --- a/open-terminal/caja-open-terminal.c 4 - +++ b/open-terminal/caja-open-terminal.c 5 - @@ -135,8 +135,18 @@ desktop_opens_home_dir (void) 6 - { 7 - gboolean result; 8 - GSettings* settings; 9 - - 10 - - settings = g_settings_new (COT_SCHEMA); 11 - + GSettingsSchemaSource* schema_source; 12 - + GSettingsSchema* schema; 13 - + 14 - + schema_source = g_settings_schema_source_new_from_directory("@GSETTINGS_PATH@", 15 - + g_settings_schema_source_get_default(), 16 - + TRUE, NULL); 17 - + schema = g_settings_schema_source_lookup(schema_source, 18 - + COT_SCHEMA, 19 - + FALSE); 20 - + settings = g_settings_new_full(schema, NULL, NULL); 21 - + g_settings_schema_source_unref(schema_source); 22 - + g_settings_schema_unref(schema); 23 - result = g_settings_get_boolean (settings, COT_DESKTOP_KEY); 24 - g_object_unref (settings); 25 - return result; 26 - @@ -147,8 +157,18 @@ set_desktop_opens_home_dir (gboolean val) 27 - { 28 - gboolean result; 29 - GSettings* settings; 30 - - 31 - - settings = g_settings_new (COT_SCHEMA); 32 - + GSettingsSchemaSource* schema_source; 33 - + GSettingsSchema* schema; 34 - + 35 - + schema_source = g_settings_schema_source_new_from_directory("@GSETTINGS_PATH@", 36 - + g_settings_schema_source_get_default(), 37 - + TRUE, NULL); 38 - + schema = g_settings_schema_source_lookup(schema_source, 39 - + COT_SCHEMA, 40 - + FALSE); 41 - + settings = g_settings_new_full(schema, NULL, NULL); 42 - + g_settings_schema_source_unref(schema_source); 43 - + g_settings_schema_unref(schema); 44 - result = g_settings_set_boolean (settings, COT_DESKTOP_KEY, val); 45 - g_object_unref (settings); 46 - return result; 47 - @@ -159,8 +179,18 @@ desktop_is_home_dir (void) 48 - { 49 - gboolean result; 50 - GSettings* settings; 51 - - 52 - - settings = g_settings_new (CAJA_SCHEMA); 53 - + GSettingsSchemaSource* schema_source; 54 - + GSettingsSchema* schema; 55 - + 56 - + schema_source = g_settings_schema_source_new_from_directory("@caja_gsetttings_path@", 57 - + g_settings_schema_source_get_default(), 58 - + TRUE, NULL); 59 - + schema = g_settings_schema_source_lookup(schema_source, 60 - + CAJA_SCHEMA, 61 - + FALSE); 62 - + settings = g_settings_new_full(schema, NULL, NULL); 63 - + g_settings_schema_source_unref(schema_source); 64 - + g_settings_schema_unref(schema); 65 - result = g_settings_get_boolean (settings, CAJA_DESKTOP_KEY); 66 - g_object_unref (settings); 67 - return result; 68 - @@ -171,8 +201,18 @@ default_terminal_application (void) 69 - { 70 - gchar *result; 71 - GSettings* settings; 72 - - 73 - - settings = g_settings_new (TERM_SCHEMA); 74 - + GSettingsSchemaSource* schema_source; 75 - + GSettingsSchema* schema; 76 - + 77 - + schema_source = g_settings_schema_source_new_from_directory("@desktop_gsetttings_path@", 78 - + g_settings_schema_source_get_default(), 79 - + TRUE, NULL); 80 - + schema = g_settings_schema_source_lookup(schema_source, 81 - + TERM_SCHEMA, 82 - + FALSE); 83 - + settings = g_settings_new_full(schema, NULL, NULL); 84 - + g_settings_schema_source_unref(schema_source); 85 - + g_settings_schema_unref(schema); 86 - result = g_settings_get_string (settings, TERM_EXEC_KEY); 87 - g_object_unref (settings); 88 - 89 - @@ -189,8 +229,18 @@ set_default_terminal_application (const gchar* exec) 90 - { 91 - gboolean result; 92 - GSettings* settings; 93 - - 94 - - settings = g_settings_new (TERM_SCHEMA); 95 - + GSettingsSchemaSource* schema_source; 96 - + GSettingsSchema* schema; 97 - + 98 - + schema_source = g_settings_schema_source_new_from_directory("@desktop_gsetttings_path@", 99 - + g_settings_schema_source_get_default(), 100 - + TRUE, NULL); 101 - + schema = g_settings_schema_source_lookup(schema_source, 102 - + TERM_SCHEMA, 103 - + FALSE); 104 - + settings = g_settings_new_full(schema, NULL, NULL); 105 - + g_settings_schema_source_unref(schema_source); 106 - + g_settings_schema_unref(schema); 107 - result = g_settings_set_string (settings, TERM_EXEC_KEY, exec); 108 - g_object_unref (settings); 109 - return result; 110 - diff --git a/sendto/caja-sendto-command.c b/sendto/caja-sendto-command.c 111 - index 8181db6..579dc81 100644 112 - --- a/sendto/caja-sendto-command.c 113 - +++ b/sendto/caja-sendto-command.c 114 - @@ -801,6 +801,8 @@ caja_sendto_init (void) 115 - int main (int argc, char **argv) 116 - { 117 - GOptionContext *context; 118 - + GSettingsSchemaSource* schema_source; 119 - + GSettingsSchema* schema; 120 - GError *error = NULL; 121 - 122 - #ifdef ENABLE_NLS 123 - @@ -818,7 +820,15 @@ int main (int argc, char **argv) 124 - return 1; 125 - } 126 - 127 - - settings = g_settings_new ("org.mate.Caja.Sendto"); 128 - + schema_source = g_settings_schema_source_new_from_directory("@GSETTINGS_PATH@", 129 - + g_settings_schema_source_get_default(), 130 - + TRUE, NULL); 131 - + schema = g_settings_schema_source_lookup(schema_source, 132 - + "org.mate.Caja.Sendto", 133 - + FALSE); 134 - + settings = g_settings_new_full(schema, NULL, NULL); 135 - + g_settings_schema_source_unref(schema_source); 136 - + g_settings_schema_unref(schema); 137 - caja_sendto_init (); 138 - if (caja_sendto_plugin_init () == FALSE) { 139 - GtkWidget *error_dialog; 140 - diff --git a/wallpaper/caja-wallpaper-extension.c b/wallpaper/caja-wallpaper-extension.c 141 - index 3119e9f..4f80c88 100644 142 - --- a/wallpaper/caja-wallpaper-extension.c 143 - +++ b/wallpaper/caja-wallpaper-extension.c 144 - @@ -47,6 +47,8 @@ set_wallpaper_callback (CajaMenuItem *item, 145 - { 146 - GList *files; 147 - GSettings *settings; 148 - + GSettingsSchemaSource* schema_source; 149 - + GSettingsSchema* schema; 150 - CajaFileInfo *file; 151 - gchar *uri; 152 - gchar *filename; 153 - @@ -57,7 +59,15 @@ set_wallpaper_callback (CajaMenuItem *item, 154 - uri = caja_file_info_get_uri (file); 155 - filename = g_filename_from_uri(uri, NULL, NULL); 156 - 157 - - settings = g_settings_new (WP_SCHEMA); 158 - + schema_source = g_settings_schema_source_new_from_directory("@desktop_gsetttings_path@", 159 - + g_settings_schema_source_get_default(), 160 - + TRUE, NULL); 161 - + schema = g_settings_schema_source_lookup(schema_source, 162 - + WP_SCHEMA, 163 - + FALSE); 164 - + settings = g_settings_new_full(schema, NULL, NULL); 165 - + g_settings_schema_source_unref(schema_source); 166 - + g_settings_schema_unref(schema); 167 - 168 - g_settings_set_string (settings, WP_FILE_KEY, filename); 169 -
···
-29
pkgs/desktops/mate/caja-with-extensions/default.nix
··· 1 - { stdenv 2 - , lib 3 - , makeWrapper 4 - , caja-extensions 5 - , caja 6 - , extensions ? [ caja-extensions ] 7 - , mateUpdateScript 8 - }: 9 - 10 - stdenv.mkDerivation { 11 - pname = "${caja.pname}-with-extensions"; 12 - version = caja.version; 13 - 14 - dontUnpack = true; 15 - 16 - nativeBuildInputs = [ 17 - makeWrapper 18 - ]; 19 - 20 - inherit caja; 21 - 22 - installPhase = '' 23 - mkdir -p $out/bin 24 - makeWrapper $caja/bin/caja $out/bin/caja \ 25 - --set CAJA_EXTENSION_DIRS ${lib.concatMapStringsSep ":" (x: "${x.outPath}/lib/caja/extensions-2.0") extensions} 26 - ''; 27 - 28 - inherit (caja.meta); 29 - }
···
+8 -4
pkgs/desktops/mate/caja/default.nix
··· 3 , fetchurl 4 , pkg-config 5 , gettext 6 , gtk3 7 , libnotify 8 , libxml2 9 , libexif 10 , exempi 11 - , mate 12 , hicolor-icon-theme 13 , wrapGAppsHook 14 , mateUpdateScript 15 }: 16 17 stdenv.mkDerivation rec { 18 pname = "caja"; 19 - version = "1.26.3"; 20 21 src = fetchurl { 22 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 23 - sha256 = "gT7fCKNvmV7DwVBBMf+K+70CH24VhmQ/5dztXnPleQ0="; 24 }; 25 26 nativeBuildInputs = [ ··· 30 ]; 31 32 buildInputs = [ 33 gtk3 34 libnotify 35 libxml2 36 libexif 37 exempi 38 - mate.mate-desktop 39 hicolor-icon-theme 40 ]; 41 42 configureFlags = [ "--disable-update-mimedb" ];
··· 3 , fetchurl 4 , pkg-config 5 , gettext 6 + , gtk-layer-shell 7 , gtk3 8 , libnotify 9 , libxml2 10 , libexif 11 , exempi 12 + , mate-desktop 13 , hicolor-icon-theme 14 + , wayland 15 , wrapGAppsHook 16 , mateUpdateScript 17 }: 18 19 stdenv.mkDerivation rec { 20 pname = "caja"; 21 + version = "1.28.0"; 22 23 src = fetchurl { 24 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 + sha256 = "HjAUzhRVgX7C73TQnv37aDXYo3LtmhbvtZGe97ghlXo="; 26 }; 27 28 nativeBuildInputs = [ ··· 32 ]; 33 34 buildInputs = [ 35 + gtk-layer-shell 36 gtk3 37 libnotify 38 libxml2 39 libexif 40 exempi 41 + mate-desktop 42 hicolor-icon-theme 43 + wayland 44 ]; 45 46 configureFlags = [ "--disable-update-mimedb" ];
+61
pkgs/desktops/mate/caja/with-extensions.nix
···
··· 1 + { stdenv 2 + , lib 3 + , glib 4 + , wrapGAppsHook 5 + , xorg 6 + , caja 7 + , cajaExtensions 8 + , extensions ? [ ] 9 + , useDefaultExtensions ? true 10 + }: 11 + 12 + let 13 + selectedExtensions = extensions ++ (lib.optionals useDefaultExtensions cajaExtensions); 14 + in 15 + stdenv.mkDerivation { 16 + pname = "${caja.pname}-with-extensions"; 17 + version = caja.version; 18 + 19 + src = null; 20 + 21 + nativeBuildInputs = [ 22 + glib 23 + wrapGAppsHook 24 + ]; 25 + 26 + buildInputs = lib.forEach selectedExtensions (x: x.buildInputs) ++ selectedExtensions 27 + ++ [ caja ] ++ caja.buildInputs; 28 + 29 + dontUnpack = true; 30 + dontConfigure = true; 31 + dontBuild = true; 32 + 33 + preferLocalBuild = true; 34 + allowSubstitutes = false; 35 + 36 + installPhase = '' 37 + runHook preInstall 38 + 39 + mkdir -p $out 40 + ${xorg.lndir}/bin/lndir -silent ${caja} $out 41 + 42 + dbus_service_path="share/dbus-1/services/org.mate.freedesktop.FileManager1.service" 43 + rm -f $out/share/applications/* "$out/$dbus_service_path" 44 + for file in ${caja}/share/applications/*; do 45 + substitute "$file" "$out/share/applications/$(basename $file)" \ 46 + --replace-fail "${caja}" "$out" 47 + done 48 + substitute "${caja}/$dbus_service_path" "$out/$dbus_service_path" \ 49 + --replace-fail "${caja}" "$out" 50 + 51 + runHook postInstall 52 + ''; 53 + 54 + preFixup = lib.optionalString (selectedExtensions != [ ]) '' 55 + gappsWrapperArgs+=( 56 + --set CAJA_EXTENSION_DIRS ${lib.concatMapStringsSep ":" (x: "${x.outPath}/lib/caja/extensions-2.0") selectedExtensions} 57 + ) 58 + ''; 59 + 60 + inherit (caja.meta); 61 + }
+21 -6
pkgs/desktops/mate/default.nix
··· 14 caja = callPackage ./caja { }; 15 caja-dropbox = callPackage ./caja-dropbox { }; 16 caja-extensions = callPackage ./caja-extensions { }; 17 - caja-with-extensions = callPackage ./caja-with-extensions { }; 18 engrampa = callPackage ./engrampa { }; 19 eom = callPackage ./eom { }; 20 libmatekbd = callPackage ./libmatekbd { }; ··· 27 mate-common = callPackage ./mate-common { }; 28 mate-control-center = callPackage ./mate-control-center { }; 29 mate-desktop = callPackage ./mate-desktop { }; 30 mate-icon-theme = callPackage ./mate-icon-theme { }; 31 mate-icon-theme-faenza = callPackage ./mate-icon-theme-faenza { }; 32 mate-indicator-applet = callPackage ./mate-indicator-applet { }; ··· 35 mate-netbook = callPackage ./mate-netbook { }; 36 mate-notification-daemon = callPackage ./mate-notification-daemon { }; 37 mate-panel = callPackage ./mate-panel { }; 38 mate-polkit = callPackage ./mate-polkit { }; 39 mate-power-manager = callPackage ./mate-power-manager { }; 40 mate-sensors-applet = callPackage ./mate-sensors-applet { }; ··· 49 mate-user-guide = callPackage ./mate-user-guide { }; 50 mate-user-share = callPackage ./mate-user-share { }; 51 mate-utils = callPackage ./mate-utils { }; 52 mozo = callPackage ./mozo { }; 53 - pluma = callPackage ./pluma { inherit (pkgs.gnome) adwaita-icon-theme; }; 54 python-caja = callPackage ./python-caja { }; 55 56 basePackages = [ 57 - caja 58 libmatekbd 59 libmatemixer 60 libmateweather ··· 65 mate-icon-theme 66 mate-menus 67 mate-notification-daemon 68 - mate-panel 69 mate-polkit 70 mate-session-manager 71 mate-settings-daemon ··· 75 76 extraPackages = [ 77 atril 78 - caja-extensions 79 engrampa 80 eom 81 mate-applets ··· 86 mate-netbook 87 mate-power-manager 88 mate-screensaver 89 - mate-sensors-applet 90 mate-system-monitor 91 mate-terminal 92 mate-user-guide ··· 96 pluma 97 ]; 98 99 }; 100 101 in lib.makeScope pkgs.newScope packages
··· 14 caja = callPackage ./caja { }; 15 caja-dropbox = callPackage ./caja-dropbox { }; 16 caja-extensions = callPackage ./caja-extensions { }; 17 + caja-with-extensions = callPackage ./caja/with-extensions.nix { }; 18 engrampa = callPackage ./engrampa { }; 19 eom = callPackage ./eom { }; 20 libmatekbd = callPackage ./libmatekbd { }; ··· 27 mate-common = callPackage ./mate-common { }; 28 mate-control-center = callPackage ./mate-control-center { }; 29 mate-desktop = callPackage ./mate-desktop { }; 30 + mate-gsettings-overrides = callPackage ./mate-gsettings-overrides { }; 31 mate-icon-theme = callPackage ./mate-icon-theme { }; 32 mate-icon-theme-faenza = callPackage ./mate-icon-theme-faenza { }; 33 mate-indicator-applet = callPackage ./mate-indicator-applet { }; ··· 36 mate-netbook = callPackage ./mate-netbook { }; 37 mate-notification-daemon = callPackage ./mate-notification-daemon { }; 38 mate-panel = callPackage ./mate-panel { }; 39 + mate-panel-with-applets = callPackage ./mate-panel/with-applets.nix { }; 40 mate-polkit = callPackage ./mate-polkit { }; 41 mate-power-manager = callPackage ./mate-power-manager { }; 42 mate-sensors-applet = callPackage ./mate-sensors-applet { }; ··· 51 mate-user-guide = callPackage ./mate-user-guide { }; 52 mate-user-share = callPackage ./mate-user-share { }; 53 mate-utils = callPackage ./mate-utils { }; 54 + mate-wayland-session = callPackage ./mate-wayland-session { }; 55 mozo = callPackage ./mozo { }; 56 + pluma = callPackage ./pluma { }; 57 python-caja = callPackage ./python-caja { }; 58 59 + # Caja and mate-panel are managed in NixOS module. 60 basePackages = [ 61 libmatekbd 62 libmatemixer 63 libmateweather ··· 68 mate-icon-theme 69 mate-menus 70 mate-notification-daemon 71 mate-polkit 72 mate-session-manager 73 mate-settings-daemon ··· 77 78 extraPackages = [ 79 atril 80 + caja-extensions # for caja-sendto 81 engrampa 82 eom 83 mate-applets ··· 88 mate-netbook 89 mate-power-manager 90 mate-screensaver 91 mate-system-monitor 92 mate-terminal 93 mate-user-guide ··· 97 pluma 98 ]; 99 100 + cajaExtensions = [ 101 + caja-extensions 102 + ]; 103 + 104 + panelApplets = [ 105 + mate-applets 106 + mate-indicator-applet 107 + mate-netbook 108 + mate-notification-daemon 109 + mate-media 110 + mate-power-manager 111 + mate-sensors-applet 112 + mate-utils 113 + ]; 114 }; 115 116 in lib.makeScope pkgs.newScope packages
+9 -6
pkgs/desktops/mate/engrampa/default.nix
··· 5 , gettext 6 , itstool 7 , libxml2 8 , gtk3 9 - , mate 10 , hicolor-icon-theme 11 , wrapGAppsHook 12 , mateUpdateScript 13 - # can be defaulted to true once engrampa builds with meson (version > 1.27.0) 14 , withMagic ? stdenv.buildPlatform.canExecute stdenv.hostPlatform, file 15 }: 16 17 stdenv.mkDerivation rec { 18 pname = "engrampa"; 19 - version = "1.26.2"; 20 21 src = fetchurl { 22 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 23 - sha256 = "cx9cR7UfNvyMiWUrbnfbT7K0Zjid6ZkMmFUpo9T/iEw="; 24 }; 25 26 nativeBuildInputs = [ ··· 32 ]; 33 34 buildInputs = [ 35 gtk3 36 - mate.caja 37 hicolor-icon-theme 38 - mate.mate-desktop 39 ] ++ lib.optionals withMagic [ 40 file 41 ];
··· 5 , gettext 6 , itstool 7 , libxml2 8 + , caja 9 , gtk3 10 , hicolor-icon-theme 11 + , json-glib 12 + , mate-desktop 13 , wrapGAppsHook 14 , mateUpdateScript 15 + # can be defaulted to true once switch to meson 16 , withMagic ? stdenv.buildPlatform.canExecute stdenv.hostPlatform, file 17 }: 18 19 stdenv.mkDerivation rec { 20 pname = "engrampa"; 21 + version = "1.28.1"; 22 23 src = fetchurl { 24 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 + sha256 = "nFxMm8+LCO6qjydVONJLTJVQidWK7AMx6JwCuE2FOGo="; 26 }; 27 28 nativeBuildInputs = [ ··· 34 ]; 35 36 buildInputs = [ 37 + caja 38 gtk3 39 hicolor-icon-theme 40 + json-glib 41 + mate-desktop 42 ] ++ lib.optionals withMagic [ 43 file 44 ];
+4 -4
pkgs/desktops/mate/eom/default.nix
··· 13 , libpeas 14 , shared-mime-info 15 , gtk3 16 - , mate 17 , hicolor-icon-theme 18 , wrapGAppsHook 19 , mateUpdateScript ··· 21 22 stdenv.mkDerivation rec { 23 pname = "eom"; 24 - version = "1.26.1"; 25 26 src = fetchurl { 27 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 - sha256 = "tSUSKUlPfmxi4J+yEeQzCN9PB0xVG6CiM9ws1oZLmWA="; 29 }; 30 31 nativeBuildInputs = [ ··· 45 shared-mime-info 46 gtk3 47 libpeas 48 - mate.mate-desktop 49 hicolor-icon-theme 50 ]; 51
··· 13 , libpeas 14 , shared-mime-info 15 , gtk3 16 + , mate-desktop 17 , hicolor-icon-theme 18 , wrapGAppsHook 19 , mateUpdateScript ··· 21 22 stdenv.mkDerivation rec { 23 pname = "eom"; 24 + version = "1.28.0"; 25 26 src = fetchurl { 27 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 + sha256 = "mgHKsplaGoxyWMhl6uXxgu1HMMRGcq/cOgfkI+3VOrw="; 29 }; 30 31 nativeBuildInputs = [ ··· 45 shared-mime-info 46 gtk3 47 libpeas 48 + mate-desktop 49 hicolor-icon-theme 50 ]; 51
+2 -2
pkgs/desktops/mate/libmatekbd/default.nix
··· 10 11 stdenv.mkDerivation rec { 12 pname = "libmatekbd"; 13 - version = "1.26.1"; 14 15 src = fetchurl { 16 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 17 - sha256 = "Y5ONkSUpRe7qiP2DdNEjG9g9As2WXGu6F8GF7bOXvO0="; 18 }; 19 20 nativeBuildInputs = [
··· 10 11 stdenv.mkDerivation rec { 12 pname = "libmatekbd"; 13 + version = "1.28.0"; 14 15 src = fetchurl { 16 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 17 + sha256 = "XS5YSDwrI9M1A9JMiPi5CijMAYnX5AAbPic6YE9v6A4="; 18 }; 19 20 nativeBuildInputs = [
+9 -5
pkgs/desktops/mate/libmatemixer/default.nix
··· 7 , glib 8 , alsaSupport ? stdenv.isLinux 9 , alsa-lib 10 , pulseaudioSupport ? config.pulseaudio or true 11 , libpulseaudio 12 , ossSupport ? false ··· 15 16 stdenv.mkDerivation rec { 17 pname = "libmatemixer"; 18 - version = "1.26.1"; 19 20 src = fetchurl { 21 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 22 - sha256 = "SWD1mmufr4KgHUpLjMJgtIaN2ZHv1Kmxe10KFaHToa4="; 23 }; 24 25 nativeBuildInputs = [ ··· 29 30 buildInputs = [ 31 glib 32 - ] 33 - ++ lib.optional alsaSupport alsa-lib 34 - ++ lib.optional pulseaudioSupport libpulseaudio; 35 36 configureFlags = lib.optional ossSupport "--enable-oss"; 37
··· 7 , glib 8 , alsaSupport ? stdenv.isLinux 9 , alsa-lib 10 + , udev 11 , pulseaudioSupport ? config.pulseaudio or true 12 , libpulseaudio 13 , ossSupport ? false ··· 16 17 stdenv.mkDerivation rec { 18 pname = "libmatemixer"; 19 + version = "1.28.0"; 20 21 src = fetchurl { 22 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 23 + sha256 = "XXO5Ijl/YGiOPJUw61MrzkbDDiYtsbU1L6MsQNhwoMc="; 24 }; 25 26 nativeBuildInputs = [ ··· 30 31 buildInputs = [ 32 glib 33 + ] ++ lib.optionals alsaSupport [ 34 + alsa-lib 35 + udev 36 + ] ++ lib.optionals pulseaudioSupport [ 37 + libpulseaudio 38 + ]; 39 40 configureFlags = lib.optional ossSupport "--enable-oss"; 41
+2 -2
pkgs/desktops/mate/libmateweather/default.nix
··· 14 15 stdenv.mkDerivation rec { 16 pname = "libmateweather"; 17 - version = "1.26.3"; 18 19 src = fetchurl { 20 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 21 - sha256 = "XmzSRBiEfLRazxfaW0NacTHLTsKs/2joKPNCob8T70o="; 22 }; 23 24 strictDeps = true;
··· 14 15 stdenv.mkDerivation rec { 16 pname = "libmateweather"; 17 + version = "1.28.0"; 18 19 src = fetchurl { 20 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 21 + sha256 = "VUNz3rWzk7nYSydd0spmyaSi0ObskgRPq4qlPjAy0rU="; 22 }; 23 24 strictDeps = true;
+9 -2
pkgs/desktops/mate/marco/default.nix
··· 14 , gnome 15 , glib 16 , gtk3 17 , mate-settings-daemon 18 , wrapGAppsHook 19 , mateUpdateScript ··· 21 22 stdenv.mkDerivation rec { 23 pname = "marco"; 24 - version = "1.26.2"; 25 26 src = fetchurl { 27 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 - sha256 = "EvGiVP4QcvAwSIRxHgiaVoJ4CgEVk0Au043muUgOB6M="; 29 }; 30 31 nativeBuildInputs = [ ··· 45 libstartup_notification 46 gtk3 47 gnome.zenity 48 mate-settings-daemon 49 ]; 50 51 env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0"; 52
··· 14 , gnome 15 , glib 16 , gtk3 17 + , mate-desktop 18 , mate-settings-daemon 19 , wrapGAppsHook 20 , mateUpdateScript ··· 22 23 stdenv.mkDerivation rec { 24 pname = "marco"; 25 + version = "1.28.1"; 26 27 src = fetchurl { 28 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 29 + sha256 = "JJbl5A7pgM1oSUk6w+D4/Q3si4HGdNqNm6GaV38KwuE="; 30 }; 31 32 nativeBuildInputs = [ ··· 46 libstartup_notification 47 gtk3 48 gnome.zenity 49 + mate-desktop 50 mate-settings-daemon 51 ]; 52 + 53 + postPatch = '' 54 + substituteInPlace src/core/util.c \ 55 + --replace-fail 'argvl[i++] = "zenity"' 'argvl[i++] = "${gnome.zenity}/bin/zenity"' 56 + ''; 57 58 env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0"; 59
+5 -6
pkgs/desktops/mate/mate-applets/default.nix
··· 7 , dbus-glib 8 , glib 9 , gtk3 10 - , gtksourceview3 11 , gucharmap 12 , libmateweather 13 , libnl ··· 20 , polkit 21 , upower 22 , wirelesstools 23 - , mate 24 , hicolor-icon-theme 25 , wrapGAppsHook 26 , mateUpdateScript ··· 28 29 stdenv.mkDerivation rec { 30 pname = "mate-applets"; 31 - version = "1.26.1"; 32 33 src = fetchurl { 34 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 35 - sha256 = "Orj2HbN23DM85MGHIsY6B/qz6OEnK34OCXrUWXsXwsI="; 36 }; 37 38 nativeBuildInputs = [ ··· 45 buildInputs = [ 46 dbus-glib 47 gtk3 48 - gtksourceview3 49 gucharmap 50 hicolor-icon-theme 51 libgtop ··· 61 wirelesstools 62 ]; 63 64 - configureFlags = [ "--enable-suid=no" ]; 65 66 env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0"; 67
··· 7 , dbus-glib 8 , glib 9 , gtk3 10 + , gtksourceview4 11 , gucharmap 12 , libmateweather 13 , libnl ··· 20 , polkit 21 , upower 22 , wirelesstools 23 , hicolor-icon-theme 24 , wrapGAppsHook 25 , mateUpdateScript ··· 27 28 stdenv.mkDerivation rec { 29 pname = "mate-applets"; 30 + version = "1.28.0"; 31 32 src = fetchurl { 33 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 34 + sha256 = "G2vva9XTJvudyCj/kQ5LG5KUtGYMMR3ByQMQ/Zw1ZoY="; 35 }; 36 37 nativeBuildInputs = [ ··· 44 buildInputs = [ 45 dbus-glib 46 gtk3 47 + gtksourceview4 48 gucharmap 49 hicolor-icon-theme 50 libgtop ··· 60 wirelesstools 61 ]; 62 63 + configureFlags = [ "--enable-suid=no" "--enable-in-process" ]; 64 65 env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0"; 66
+4 -14
pkgs/desktops/mate/mate-backgrounds/default.nix
··· 1 { lib 2 - , stdenv 3 , fetchurl 4 - , fetchpatch 5 , meson 6 , ninja 7 , gettext 8 , mateUpdateScript 9 }: 10 11 - stdenv.mkDerivation rec { 12 pname = "mate-backgrounds"; 13 - version = "1.26.0"; 14 15 src = fetchurl { 16 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 17 - sha256 = "0379hngy3ap1r5kmqvmzs9r710k2c9nal2ps3hq765df4ir15j8d"; 18 }; 19 - 20 - patches = [ 21 - # Fix build with meson 0.61, can be removed on next update. 22 - # https://github.com/mate-desktop/mate-backgrounds/pull/39 23 - (fetchpatch { 24 - url = "https://github.com/mate-desktop/mate-backgrounds/commit/0096e237d420e6247a75a1c6940a818e309ac2a7.patch"; 25 - sha256 = "HEF8VWunFO+NCG18fZA7lbE2l8pc6Z3jcD+rSZ1Jsqg="; 26 - }) 27 - ]; 28 29 nativeBuildInputs = [ 30 gettext
··· 1 { lib 2 + , stdenvNoCC 3 , fetchurl 4 , meson 5 , ninja 6 , gettext 7 , mateUpdateScript 8 }: 9 10 + stdenvNoCC.mkDerivation rec { 11 pname = "mate-backgrounds"; 12 + version = "1.28.0"; 13 14 src = fetchurl { 15 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 16 + sha256 = "UNGv0CSGvQesIqWmtu+jAxFI8NSKguSI2QmtVwA6aUM="; 17 }; 18 19 nativeBuildInputs = [ 20 gettext
+2 -2
pkgs/desktops/mate/mate-calc/default.nix
··· 14 15 stdenv.mkDerivation rec { 16 pname = "mate-calc"; 17 - version = "1.26.0"; 18 19 src = fetchurl { 20 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 21 - sha256 = "0mddfh9ixhh60nfgx5kcprcl9liavwqyina11q3pnpfs3n02df3y"; 22 }; 23 24 nativeBuildInputs = [
··· 14 15 stdenv.mkDerivation rec { 16 pname = "mate-calc"; 17 + version = "1.28.0"; 18 19 src = fetchurl { 20 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 21 + sha256 = "gEsSXR4oZLHnSvgW2psquLGUcrmvl0Q37nNVraXmKPU="; 22 }; 23 24 nativeBuildInputs = [
+4 -4
pkgs/desktops/mate/mate-common/default.nix
··· 1 { lib 2 - , stdenv 3 , fetchurl 4 , mateUpdateScript 5 }: 6 7 - stdenv.mkDerivation rec { 8 pname = "mate-common"; 9 - version = "1.26.0"; 10 11 src = fetchurl { 12 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 13 - sha256 = "014wpfqpqmfkzv81paap4fz15mj1gsyvaxlrfqsp9a3yxw4f7jaf"; 14 }; 15 16 enableParallelBuilding = true;
··· 1 { lib 2 + , stdenvNoCC 3 , fetchurl 4 , mateUpdateScript 5 }: 6 7 + stdenvNoCC.mkDerivation rec { 8 pname = "mate-common"; 9 + version = "1.28.0"; 10 11 src = fetchurl { 12 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 13 + sha256 = "QrfCzuJo9x1+HBrU9pvNoOzWVXipZyIYfGt2N40mugo="; 14 }; 15 16 enableParallelBuilding = true;
+32 -13
pkgs/desktops/mate/mate-control-center/default.nix
··· 5 , gettext 6 , itstool 7 , libxml2 8 , dbus-glib 9 , libxklavier 10 , libcanberra-gtk3 11 , librsvg 12 - , libappindicator-gtk3 13 , glib 14 , desktop-file-utils 15 , dconf 16 , gtk3 17 , polkit 18 - , mate 19 , hicolor-icon-theme 20 , wrapGAppsHook 21 , mateUpdateScript ··· 23 24 stdenv.mkDerivation rec { 25 pname = "mate-control-center"; 26 - version = "1.26.1"; 27 28 src = fetchurl { 29 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 30 - sha256 = "4F9JKjtleqVvxY989xvIyA344lNR/eTbT1I6uNtbVgg="; 31 }; 32 33 nativeBuildInputs = [ ··· 39 ]; 40 41 buildInputs = [ 42 libxml2 43 dbus-glib 44 libxklavier 45 libcanberra-gtk3 46 librsvg 47 - libappindicator-gtk3 48 gtk3 49 dconf 50 polkit 51 hicolor-icon-theme 52 - mate.mate-desktop 53 - mate.libmatekbd 54 - mate.mate-menus 55 - mate.mate-panel # for org.mate.panel schema, see m-c-c#678 56 - mate.marco 57 - mate.mate-settings-daemon 58 ]; 59 60 configureFlags = [ "--disable-update-mimedb" ]; 61 62 preFixup = '' 63 gappsWrapperArgs+=( 64 # WM keyboard shortcuts 65 - --prefix XDG_DATA_DIRS : "${mate.marco}/share" 66 # Desktop font, works only when passed after gtk3 schemas in the wrapper for some reason 67 - --prefix XDG_DATA_DIRS : "${glib.getSchemaDataDirPath mate.caja}" 68 ) 69 ''; 70
··· 5 , gettext 6 , itstool 7 , libxml2 8 + , accountsservice 9 + , caja 10 , dbus-glib 11 , libxklavier 12 , libcanberra-gtk3 13 + , libgtop 14 + , libmatekbd 15 , librsvg 16 + , libayatana-appindicator 17 , glib 18 , desktop-file-utils 19 , dconf 20 , gtk3 21 , polkit 22 + , marco 23 + , mate-desktop 24 + , mate-menus 25 + , mate-panel 26 + , mate-settings-daemon 27 + , udisks2 28 + , systemd 29 , hicolor-icon-theme 30 , wrapGAppsHook 31 , mateUpdateScript ··· 33 34 stdenv.mkDerivation rec { 35 pname = "mate-control-center"; 36 + version = "1.28.0"; 37 38 src = fetchurl { 39 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 40 + sha256 = "6/LHBP1SSNwvmDb/KQKIae8p1QVJB8xhVzS2ODp5FLw="; 41 }; 42 43 nativeBuildInputs = [ ··· 49 ]; 50 51 buildInputs = [ 52 + accountsservice 53 libxml2 54 dbus-glib 55 libxklavier 56 libcanberra-gtk3 57 + libgtop 58 + libmatekbd 59 librsvg 60 + libayatana-appindicator 61 gtk3 62 dconf 63 polkit 64 hicolor-icon-theme 65 + marco 66 + mate-desktop 67 + mate-menus 68 + mate-panel # for org.mate.panel schema, see m-c-c#678 69 + mate-settings-daemon 70 + udisks2 71 + systemd 72 ]; 73 74 + postPatch = '' 75 + substituteInPlace capplets/system-info/mate-system-info.c \ 76 + --replace-fail "/usr/bin/mate-about" "${mate-desktop}/bin/mate-about" 77 + ''; 78 + 79 configureFlags = [ "--disable-update-mimedb" ]; 80 81 preFixup = '' 82 gappsWrapperArgs+=( 83 # WM keyboard shortcuts 84 + --prefix XDG_DATA_DIRS : "${marco}/share" 85 # Desktop font, works only when passed after gtk3 schemas in the wrapper for some reason 86 + --prefix XDG_DATA_DIRS : "${glib.getSchemaDataDirPath caja}" 87 ) 88 ''; 89
+10 -4
pkgs/desktops/mate/mate-desktop/default.nix
··· 4 , pkg-config 5 , gettext 6 , isocodes 7 - , gnome 8 , gtk3 9 , dconf 10 , wrapGAppsHook ··· 13 14 stdenv.mkDerivation rec { 15 pname = "mate-desktop"; 16 - version = "1.26.2"; 17 18 src = fetchurl { 19 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 20 - sha256 = "XtA/fFLXt+zknKHnNqp2au/rXGOeqz5oxwkMUw0CN2o="; 21 }; 22 23 nativeBuildInputs = [ ··· 28 29 buildInputs = [ 30 dconf 31 - gtk3 32 isocodes 33 ]; 34 35 enableParallelBuilding = true;
··· 4 , pkg-config 5 , gettext 6 , isocodes 7 + , libstartup_notification 8 , gtk3 9 , dconf 10 , wrapGAppsHook ··· 13 14 stdenv.mkDerivation rec { 15 pname = "mate-desktop"; 16 + version = "1.28.2"; 17 + 18 + outputs = [ "out" "dev" ]; 19 20 src = fetchurl { 21 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 22 + sha256 = "MrtLeSAUs5HB4biunBioK01EdlCYS0y6fSjpVWSWSqI="; 23 }; 24 25 nativeBuildInputs = [ ··· 30 31 buildInputs = [ 32 dconf 33 isocodes 34 + ]; 35 + 36 + propagatedBuildInputs = [ 37 + gtk3 38 + libstartup_notification 39 ]; 40 41 enableParallelBuilding = true;
+24
pkgs/desktops/mate/mate-gsettings-overrides/default.nix
···
··· 1 + { lib 2 + , runCommand 3 + , gsettings-desktop-schemas 4 + , mate-wayland-session 5 + , glib 6 + }: 7 + 8 + let 9 + gsettingsOverridePackages = [ 10 + gsettings-desktop-schemas 11 + mate-wayland-session 12 + ]; 13 + in 14 + runCommand "mate-gsettings-overrides" { preferLocalBuild = true; } '' 15 + data_dir="$out/share/gsettings-schemas/nixos-gsettings-overrides" 16 + schema_dir="$data_dir/glib-2.0/schemas" 17 + mkdir -p "$schema_dir" 18 + 19 + ${lib.concatMapStringsSep "\n" (pkg: "cp -rf \"${glib.getSchemaPath pkg}\"/*.xml \"${glib.getSchemaPath pkg}\"/*.gschema.override \"$schema_dir\"") gsettingsOverridePackages} 20 + 21 + chmod -R a+w "$data_dir" 22 + 23 + ${glib.dev}/bin/glib-compile-schemas --strict "$schema_dir" 24 + ''
+2 -2
pkgs/desktops/mate/mate-icon-theme/default.nix
··· 12 13 stdenv.mkDerivation rec { 14 pname = "mate-icon-theme"; 15 - version = "1.26.0"; 16 17 src = fetchurl { 18 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 19 - sha256 = "0nha555fhhn0j5wmzmdc7bh93ckzwwdm8mwmzma5whkzslv09xa1"; 20 }; 21 22 nativeBuildInputs = [
··· 12 13 stdenv.mkDerivation rec { 14 pname = "mate-icon-theme"; 15 + version = "1.28.0"; 16 17 src = fetchurl { 18 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 19 + sha256 = "lNYHkGDKXfdFQpId5O6ji30C0HVhyRk1bZXeh2+abTo="; 20 }; 21 22 nativeBuildInputs = [
+5 -5
pkgs/desktops/mate/mate-indicator-applet/default.nix
··· 5 , gettext 6 , gtk3 7 , libayatana-indicator 8 - , mate 9 , hicolor-icon-theme 10 , wrapGAppsHook 11 , mateUpdateScript ··· 13 14 stdenv.mkDerivation rec { 15 pname = "mate-indicator-applet"; 16 - version = "1.26.0"; 17 18 src = fetchurl { 19 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 20 - sha256 = "144fh9f3lag2cqnmb6zxlh8k83ya8kha6rmd7r8gg3z5w3nzpyz4"; 21 }; 22 23 postPatch = '' 24 # Find installed Unity & Ayatana (new-style) indicators 25 substituteInPlace src/applet-main.c \ 26 - --replace '/usr/share' '/run/current-system/sw/share' 27 ''; 28 29 nativeBuildInputs = [ ··· 35 buildInputs = [ 36 gtk3 37 libayatana-indicator 38 - mate.mate-panel 39 hicolor-icon-theme 40 ]; 41
··· 5 , gettext 6 , gtk3 7 , libayatana-indicator 8 + , mate-panel 9 , hicolor-icon-theme 10 , wrapGAppsHook 11 , mateUpdateScript ··· 13 14 stdenv.mkDerivation rec { 15 pname = "mate-indicator-applet"; 16 + version = "1.28.0"; 17 18 src = fetchurl { 19 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 20 + sha256 = "zrPXA5cKPlWNfNffCxwhceOvdSolSVrO0uIiwemtSc0="; 21 }; 22 23 postPatch = '' 24 # Find installed Unity & Ayatana (new-style) indicators 25 substituteInPlace src/applet-main.c \ 26 + --replace-fail '/usr/share' '/run/current-system/sw/share' 27 ''; 28 29 nativeBuildInputs = [ ··· 35 buildInputs = [ 36 gtk3 37 libayatana-indicator 38 + mate-panel 39 hicolor-icon-theme 40 ]; 41
+22 -14
pkgs/desktops/mate/mate-media/default.nix
··· 4 , pkg-config 5 , gettext 6 , libtool 7 , libxml2 8 - , libcanberra-gtk3 9 - , gtk3 10 - , mate 11 , wrapGAppsHook 12 , mateUpdateScript 13 }: 14 15 stdenv.mkDerivation rec { 16 pname = "mate-media"; 17 - version = "1.26.2"; 18 19 src = fetchurl { 20 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 21 - sha256 = "r0ZjlXTMOIUTCJyhC7FB/8Pm0awz5zDkII21dZZChQ8="; 22 }; 23 24 - buildInputs = [ 25 - libxml2 26 - libcanberra-gtk3 27 - gtk3 28 - mate.libmatemixer 29 - mate.mate-panel 30 - mate.mate-desktop 31 - ]; 32 - 33 nativeBuildInputs = [ 34 pkg-config 35 gettext 36 libtool 37 wrapGAppsHook 38 ]; 39 40 enableParallelBuilding = true; 41
··· 4 , pkg-config 5 , gettext 6 , libtool 7 + , gtk-layer-shell 8 + , gtk3 9 + , libcanberra-gtk3 10 + , libmatemixer 11 , libxml2 12 + , mate-desktop 13 + , mate-panel 14 + , wayland 15 , wrapGAppsHook 16 , mateUpdateScript 17 }: 18 19 stdenv.mkDerivation rec { 20 pname = "mate-media"; 21 + version = "1.28.1"; 22 23 src = fetchurl { 24 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 + sha256 = "vNwQLiL2P1XmMWbVxwjpHBE1cOajCodDRaiGCeg6mRI="; 26 }; 27 28 nativeBuildInputs = [ 29 pkg-config 30 gettext 31 libtool 32 wrapGAppsHook 33 ]; 34 + 35 + buildInputs = [ 36 + gtk-layer-shell 37 + gtk3 38 + libcanberra-gtk3 39 + libmatemixer 40 + libxml2 41 + mate-desktop 42 + mate-panel 43 + wayland 44 + ]; 45 + 46 + configureFlags = [ "--enable-in-process" ]; 47 48 enableParallelBuilding = true; 49
+2 -2
pkgs/desktops/mate/mate-menus/default.nix
··· 11 12 stdenv.mkDerivation rec { 13 pname = "mate-menus"; 14 - version = "1.26.1"; 15 16 src = fetchurl { 17 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 18 - sha256 = "RY1ZmuW2UMfSF0D5/pVMSoOL5F7WKrQOIOMG+vXdHYw="; 19 }; 20 21 nativeBuildInputs = [
··· 11 12 stdenv.mkDerivation rec { 13 pname = "mate-menus"; 14 + version = "1.28.0"; 15 16 src = fetchurl { 17 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 18 + sha256 = "z0DHXH1vCq0dSWmCj8YgJcYiK8aoTwu51urX5FlwUI0="; 19 }; 20 21 nativeBuildInputs = [
+6 -2
pkgs/desktops/mate/mate-notification-daemon/default.nix
··· 7 , libcanberra-gtk3 8 , libnotify 9 , libwnck 10 , gtk3 11 , libxml2 12 , mate-desktop ··· 17 18 stdenv.mkDerivation rec { 19 pname = "mate-notification-daemon"; 20 - version = "1.26.1"; 21 22 src = fetchurl { 23 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 24 - sha256 = "Dq6SlsSKPHH9VvGTGWH5LSnkWgRf5fGgX4PHQAwxmSQ="; 25 }; 26 27 nativeBuildInputs = [ ··· 35 libcanberra-gtk3 36 libnotify 37 libwnck 38 gtk3 39 mate-desktop 40 mate-panel 41 ]; 42 43 env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0"; 44
··· 7 , libcanberra-gtk3 8 , libnotify 9 , libwnck 10 + , gtk-layer-shell 11 , gtk3 12 , libxml2 13 , mate-desktop ··· 18 19 stdenv.mkDerivation rec { 20 pname = "mate-notification-daemon"; 21 + version = "1.28.0"; 22 23 src = fetchurl { 24 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 + sha256 = "pDEDSOrYZsvLm0xGP00mXMapahp4KpQRoIsjvWXbsuA="; 26 }; 27 28 nativeBuildInputs = [ ··· 36 libcanberra-gtk3 37 libnotify 38 libwnck 39 + gtk-layer-shell 40 gtk3 41 mate-desktop 42 mate-panel 43 ]; 44 + 45 + configureFlags = [ "--enable-in-process" ]; 46 47 env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0"; 48
+27 -10
pkgs/desktops/mate/mate-panel/default.nix
··· 5 , gettext 6 , itstool 7 , glib 8 , libwnck 9 , librsvg 10 , libxml2 11 , dconf 12 - , gtk3 13 - , mate 14 , hicolor-icon-theme 15 , gobject-introspection 16 , wrapGAppsHook 17 , mateUpdateScript 18 }: 19 20 stdenv.mkDerivation rec { 21 pname = "mate-panel"; 22 - version = "1.26.4"; 23 24 src = fetchurl { 25 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 26 - sha256 = "IHD51RVlfl3c2g2H73KXE9upy3sq0GIjvWdKIcxrPa8="; 27 }; 28 29 nativeBuildInputs = [ ··· 35 ]; 36 37 buildInputs = [ 38 - glib 39 libwnck 40 librsvg 41 libxml2 42 - gtk3 43 dconf 44 - mate.libmateweather 45 - mate.mate-desktop 46 - mate.mate-menus 47 hicolor-icon-theme 48 ]; 49 50 env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0"; 51 52 makeFlags = [ ··· 57 preFixup = '' 58 gappsWrapperArgs+=( 59 # Workspace switcher settings, works only when passed after gtk3 schemas in the wrapper for some reason 60 - --prefix XDG_DATA_DIRS : "${glib.getSchemaDataDirPath mate.marco}" 61 ) 62 ''; 63
··· 5 , gettext 6 , itstool 7 , glib 8 + , gnome 9 + , gtk-layer-shell 10 + , gtk3 11 + , libmateweather 12 , libwnck 13 , librsvg 14 , libxml2 15 , dconf 16 + , mate-desktop 17 + , mate-menus 18 , hicolor-icon-theme 19 + , wayland 20 , gobject-introspection 21 , wrapGAppsHook 22 + , marco 23 , mateUpdateScript 24 }: 25 26 stdenv.mkDerivation rec { 27 pname = "mate-panel"; 28 + version = "1.28.0"; 29 30 src = fetchurl { 31 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 32 + sha256 = "s70EoJTQ61vX3DOA728MSdmp1SCXM9fM17RtBmogjLo="; 33 }; 34 35 nativeBuildInputs = [ ··· 41 ]; 42 43 buildInputs = [ 44 + gtk-layer-shell 45 + libmateweather 46 libwnck 47 librsvg 48 libxml2 49 dconf 50 + mate-desktop 51 + mate-menus 52 hicolor-icon-theme 53 + wayland 54 ]; 55 56 + propagatedBuildInputs = [ 57 + glib 58 + gtk3 59 + # See https://github.com/mate-desktop/mate-panel/issues/1402 60 + # This is propagated for mate_panel_applet_settings_new and applet's wrapGAppsHook 61 + gnome.dconf-editor 62 + ]; 63 + 64 + # Needed for Wayland support. 65 + configureFlags = [ "--with-in-process-applets=all" ]; 66 + 67 env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0"; 68 69 makeFlags = [ ··· 74 preFixup = '' 75 gappsWrapperArgs+=( 76 # Workspace switcher settings, works only when passed after gtk3 schemas in the wrapper for some reason 77 + --prefix XDG_DATA_DIRS : "${glib.getSchemaDataDirPath marco}" 78 ) 79 ''; 80
+61
pkgs/desktops/mate/mate-panel/with-applets.nix
···
··· 1 + { stdenv 2 + , lib 3 + , glib 4 + , wrapGAppsHook 5 + , xorg 6 + , marco 7 + , mate-panel 8 + , panelApplets 9 + , applets ? [ ] 10 + , useDefaultApplets ? true 11 + }: 12 + 13 + let 14 + selectedApplets = applets ++ (lib.optionals useDefaultApplets panelApplets); 15 + in 16 + stdenv.mkDerivation { 17 + pname = "${mate-panel.pname}-with-applets"; 18 + version = mate-panel.version; 19 + 20 + src = null; 21 + 22 + paths = [ mate-panel ] ++ selectedApplets; 23 + passAsFile = [ "paths" ]; 24 + 25 + nativeBuildInputs = [ 26 + glib 27 + wrapGAppsHook 28 + ]; 29 + 30 + buildInputs = lib.forEach selectedApplets (x: x.buildInputs) ++ selectedApplets 31 + ++ [ mate-panel ] ++ mate-panel.buildInputs ++ mate-panel.propagatedBuildInputs; 32 + 33 + dontUnpack = true; 34 + dontConfigure = true; 35 + dontBuild = true; 36 + 37 + preferLocalBuild = true; 38 + allowSubstitutes = false; 39 + 40 + installPhase = '' 41 + runHook preInstall 42 + 43 + mkdir -p $out 44 + for i in $(cat $pathsPath); do 45 + ${xorg.lndir}/bin/lndir -silent $i $out 46 + done 47 + 48 + runHook postInstall 49 + ''; 50 + 51 + preFixup = '' 52 + gappsWrapperArgs+=( 53 + --set MATE_PANEL_APPLETS_DIR "$out/share/mate-panel/applets" 54 + --set MATE_PANEL_EXTRA_MODULES "$out/lib/mate-panel/applets" 55 + # Workspace switcher settings 56 + --prefix XDG_DATA_DIRS : "${glib.getSchemaDataDirPath marco}" 57 + ) 58 + ''; 59 + 60 + inherit (mate-panel.meta); 61 + }
+4 -6
pkgs/desktops/mate/mate-polkit/default.nix
··· 5 , gettext 6 , gtk3 7 , gobject-introspection 8 - , libappindicator-gtk3 9 - , libindicator-gtk3 10 , polkit 11 , mateUpdateScript 12 }: 13 14 stdenv.mkDerivation rec { 15 pname = "mate-polkit"; 16 - version = "1.26.1"; 17 18 src = fetchurl { 19 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 20 - sha256 = "9bewtd/FMwLEBAMkWZjrkSGvP1DnFmagmrc7slRSA1c="; 21 }; 22 23 nativeBuildInputs = [ ··· 28 29 buildInputs = [ 30 gtk3 31 - libappindicator-gtk3 32 - libindicator-gtk3 33 polkit 34 ]; 35
··· 5 , gettext 6 , gtk3 7 , gobject-introspection 8 + , libayatana-appindicator 9 , polkit 10 , mateUpdateScript 11 }: 12 13 stdenv.mkDerivation rec { 14 pname = "mate-polkit"; 15 + version = "1.28.1"; 16 17 src = fetchurl { 18 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 19 + sha256 = "NQod0KjtaiycGDz/KiHzlCmelo/MauLoyTxWXa5gSug="; 20 }; 21 22 nativeBuildInputs = [ ··· 27 28 buildInputs = [ 29 gtk3 30 + libayatana-appindicator 31 polkit 32 ]; 33
+4 -2
pkgs/desktops/mate/mate-power-manager/default.nix
··· 6 , glib 7 , itstool 8 , libxml2 9 , mate-panel 10 , libnotify 11 , libcanberra-gtk3 ··· 21 22 stdenv.mkDerivation rec { 23 pname = "mate-power-manager"; 24 - version = "1.26.1"; 25 26 src = fetchurl { 27 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 - sha256 = "IM2dIu0Eur+Yu1DnGg7F14qKR2KHcjJ4+H2nbKv7EEI="; 29 }; 30 31 nativeBuildInputs = [ ··· 46 dbus-glib 47 upower 48 polkit 49 mate-panel 50 ]; 51
··· 6 , glib 7 , itstool 8 , libxml2 9 + , mate-desktop 10 , mate-panel 11 , libnotify 12 , libcanberra-gtk3 ··· 22 23 stdenv.mkDerivation rec { 24 pname = "mate-power-manager"; 25 + version = "1.28.1"; 26 27 src = fetchurl { 28 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 29 + sha256 = "jr3LdLYH6Ggza6moFGze+Pl7zlNcKwyzv2UMWPce7iE="; 30 }; 31 32 nativeBuildInputs = [ ··· 47 dbus-glib 48 upower 49 polkit 50 + mate-desktop 51 mate-panel 52 ]; 53
+8 -6
pkgs/desktops/mate/mate-screensaver/default.nix
··· 8 , libXScrnSaver 9 , libnotify 10 , libxml2 11 , pam 12 , systemd 13 - , mate 14 , wrapGAppsHook 15 , mateUpdateScript 16 }: 17 18 stdenv.mkDerivation rec { 19 pname = "mate-screensaver"; 20 - version = "1.26.2"; 21 22 src = fetchurl { 23 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 24 - sha256 = "2pcAziQUW9VdJJJ+7P5tMdClLq6G5WOyxlBUs1al/34="; 25 }; 26 27 nativeBuildInputs = [ ··· 36 dbus-glib 37 libXScrnSaver 38 libnotify 39 pam 40 systemd 41 - mate.mate-desktop 42 - mate.mate-menus 43 - mate.mate-panel 44 ]; 45 46 configureFlags = [ "--without-console-kit" ];
··· 8 , libXScrnSaver 9 , libnotify 10 , libxml2 11 + , mate-desktop 12 + , mate-menus 13 + , mate-panel 14 , pam 15 , systemd 16 , wrapGAppsHook 17 , mateUpdateScript 18 }: 19 20 stdenv.mkDerivation rec { 21 pname = "mate-screensaver"; 22 + version = "1.28.0"; 23 24 src = fetchurl { 25 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 26 + sha256 = "ag8kqPhKL5XhARSrU+Y/1KymiKVf3FA+1lDgpBDj6nA="; 27 }; 28 29 nativeBuildInputs = [ ··· 38 dbus-glib 39 libXScrnSaver 40 libnotify 41 + mate-desktop 42 + mate-menus 43 + mate-panel 44 pam 45 systemd 46 ]; 47 48 configureFlags = [ "--without-console-kit" ];
+6 -7
pkgs/desktops/mate/mate-sensors-applet/default.nix
··· 10 , libatasmart 11 , libnotify 12 , lm_sensors 13 - , mate 14 , hicolor-icon-theme 15 - , wrapGAppsHook 16 , mateUpdateScript 17 }: 18 19 stdenv.mkDerivation rec { 20 pname = "mate-sensors-applet"; 21 - version = "1.26.0"; 22 23 src = fetchurl { 24 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 - sha256 = "0s19r30fsicqvvcnz57lv158pi35w9zn5i7h5hz59224y0zpqhsc"; 26 }; 27 28 nativeBuildInputs = [ 29 pkg-config 30 gettext 31 itstool 32 - wrapGAppsHook 33 ]; 34 35 - # maybe add nvidia-settings later on 36 buildInputs = [ 37 gtk3 38 libxml2 ··· 40 libatasmart 41 libnotify 42 lm_sensors 43 - mate.mate-panel 44 hicolor-icon-theme 45 ]; 46 47 enableParallelBuilding = true; 48
··· 10 , libatasmart 11 , libnotify 12 , lm_sensors 13 + , mate-panel 14 , hicolor-icon-theme 15 , mateUpdateScript 16 }: 17 18 stdenv.mkDerivation rec { 19 pname = "mate-sensors-applet"; 20 + version = "1.28.0"; 21 22 src = fetchurl { 23 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 24 + sha256 = "1GU2ZoKvj+uGGCg8l4notw22/RfKj6lQrG9xAQIxWoE="; 25 }; 26 27 nativeBuildInputs = [ 28 pkg-config 29 gettext 30 itstool 31 ]; 32 33 buildInputs = [ 34 gtk3 35 libxml2 ··· 37 libatasmart 38 libnotify 39 lm_sensors 40 + mate-panel 41 hicolor-icon-theme 42 ]; 43 + 44 + configureFlags = [ "--enable-in-process" ]; 45 46 enableParallelBuilding = true; 47
+10 -5
pkgs/desktops/mate/mate-session-manager/default.nix
··· 8 , systemd 9 , libSM 10 , libXtst 11 , gtk3 12 , libepoxy 13 , polkit 14 , hicolor-icon-theme 15 - , mate 16 , wrapGAppsHook 17 , fetchpatch 18 , mateUpdateScript ··· 20 21 stdenv.mkDerivation rec { 22 pname = "mate-session-manager"; 23 - version = "1.26.1"; 24 25 src = fetchurl { 26 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 27 - sha256 = "W4x9ZEH9nCk8hjiCq2enSTxTzfZOqyfAlFdfQj69Qng="; 28 }; 29 30 patches = [ ··· 48 libSM 49 libXtst 50 gtk3 51 - mate.mate-desktop 52 hicolor-icon-theme 53 libepoxy 54 polkit ··· 56 57 enableParallelBuilding = true; 58 59 postFixup = '' 60 substituteInPlace $out/share/xsessions/mate.desktop \ 61 - --replace "Exec=mate-session" "Exec=$out/bin/mate-session" 62 ''; 63 64 passthru.providedSessions = [ "mate" ];
··· 8 , systemd 9 , libSM 10 , libXtst 11 + , glib 12 , gtk3 13 , libepoxy 14 , polkit 15 , hicolor-icon-theme 16 + , mate-desktop 17 + , mate-screensaver 18 , wrapGAppsHook 19 , fetchpatch 20 , mateUpdateScript ··· 22 23 stdenv.mkDerivation rec { 24 pname = "mate-session-manager"; 25 + version = "1.28.0"; 26 27 src = fetchurl { 28 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 29 + sha256 = "0yzkWVuh2mUpB3cgPyvIK9lzshSjoECAoe9caJkKLXs="; 30 }; 31 32 patches = [ ··· 50 libSM 51 libXtst 52 gtk3 53 + mate-desktop 54 + mate-screensaver # for gsm_manager_init 55 hicolor-icon-theme 56 libepoxy 57 polkit ··· 59 60 enableParallelBuilding = true; 61 62 + env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0"; 63 + 64 postFixup = '' 65 substituteInPlace $out/share/xsessions/mate.desktop \ 66 + --replace-fail "Exec=mate-session" "Exec=$out/bin/mate-session" 67 ''; 68 69 passthru.providedSessions = [ "mate" ];
+8 -8
pkgs/desktops/mate/mate-settings-daemon/default.nix
··· 4 , pkg-config 5 , gettext 6 , glib 7 - , dbus-glib 8 , libxklavier 9 , libcanberra-gtk3 10 , libnotify 11 , nss 12 , polkit 13 , dconf 14 , gtk3 15 - , mate 16 , pulseaudioSupport ? stdenv.config.pulseaudio or true 17 , libpulseaudio 18 , wrapGAppsHook ··· 21 22 stdenv.mkDerivation rec { 23 pname = "mate-settings-daemon"; 24 - version = "1.26.1"; 25 26 src = fetchurl { 27 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 - sha256 = "aX6mW1QpIcK3ZhRSktJo0wCcwtqDFtKnhphpBV5LGFk="; 29 }; 30 31 nativeBuildInputs = [ ··· 35 ]; 36 37 buildInputs = [ 38 - dbus-glib 39 libxklavier 40 libcanberra-gtk3 41 libnotify 42 nss 43 polkit 44 gtk3 45 dconf 46 - mate.mate-desktop 47 - mate.libmatekbd 48 - mate.libmatemixer 49 ] ++ lib.optional pulseaudioSupport libpulseaudio; 50 51 configureFlags = lib.optional pulseaudioSupport "--enable-pulse";
··· 4 , pkg-config 5 , gettext 6 , glib 7 , libxklavier 8 , libcanberra-gtk3 9 , libnotify 10 + , libmatekbd 11 + , libmatemixer 12 , nss 13 , polkit 14 , dconf 15 , gtk3 16 + , mate-desktop 17 , pulseaudioSupport ? stdenv.config.pulseaudio or true 18 , libpulseaudio 19 , wrapGAppsHook ··· 22 23 stdenv.mkDerivation rec { 24 pname = "mate-settings-daemon"; 25 + version = "1.28.0"; 26 27 src = fetchurl { 28 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 29 + sha256 = "TtfNraqkyZ7//AKCuEEXA7t24HLEHEtXmJ+MW0BhGjo="; 30 }; 31 32 nativeBuildInputs = [ ··· 36 ]; 37 38 buildInputs = [ 39 libxklavier 40 libcanberra-gtk3 41 libnotify 42 + libmatekbd 43 + libmatemixer 44 nss 45 polkit 46 gtk3 47 dconf 48 + mate-desktop 49 ] ++ lib.optional pulseaudioSupport libpulseaudio; 50 51 configureFlags = lib.optional pulseaudioSupport "--enable-pulse";
+8 -5
pkgs/desktops/mate/mate-system-monitor/default.nix
··· 7 , gtkmm3 8 , libxml2 9 , libgtop 10 - , libwnck 11 , librsvg 12 , polkit 13 , systemd 14 , wrapGAppsHook 15 , mateUpdateScript 16 }: 17 18 stdenv.mkDerivation rec { 19 pname = "mate-system-monitor"; 20 - version = "1.26.3"; 21 22 src = fetchurl { 23 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 24 - sha256 = "WFthNBX3bucDt7XlK1WWKUKVB+A8kwVKSq3Pb5xlIkk="; 25 }; 26 27 nativeBuildInputs = [ ··· 35 gtkmm3 36 libxml2 37 libgtop 38 - libwnck 39 librsvg 40 polkit 41 systemd 42 ]; 43 44 - configureFlags = [ "--enable-systemd" ]; 45 46 enableParallelBuilding = true; 47
··· 7 , gtkmm3 8 , libxml2 9 , libgtop 10 , librsvg 11 , polkit 12 , systemd 13 , wrapGAppsHook 14 + , mate-desktop 15 , mateUpdateScript 16 }: 17 18 stdenv.mkDerivation rec { 19 pname = "mate-system-monitor"; 20 + version = "1.28.1"; 21 22 src = fetchurl { 23 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 24 + sha256 = "QtZj1rkPtTYevBP2VHmD1vHirHXcKuTxysbqYymWWiU="; 25 }; 26 27 nativeBuildInputs = [ ··· 35 gtkmm3 36 libxml2 37 libgtop 38 librsvg 39 polkit 40 systemd 41 ]; 42 43 + postPatch = '' 44 + # This package does not provide mate-version.xml. 45 + substituteInPlace src/sysinfo.cpp \ 46 + --replace-fail 'DATADIR "/mate-about/mate-version.xml"' '"${mate-desktop}/share/mate-about/mate-version.xml"' 47 + ''; 48 49 enableParallelBuilding = true; 50
+2 -2
pkgs/desktops/mate/mate-terminal/default.nix
··· 16 17 stdenv.mkDerivation rec { 18 pname = "mate-terminal"; 19 - version = "1.26.1"; 20 21 src = fetchurl { 22 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 23 - sha256 = "fBMCBvC0eIfoySdOc/jBn65RETRXKGmnwjERt4nh4dA="; 24 }; 25 26 nativeBuildInputs = [
··· 16 17 stdenv.mkDerivation rec { 18 pname = "mate-terminal"; 19 + version = "1.28.1"; 20 21 src = fetchurl { 22 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 23 + sha256 = "8TXrGp4q4ieY7LLcGRT9tM/XdOa7ZcAVK+N8xslGnpI="; 24 }; 25 26 nativeBuildInputs = [
+3 -3
pkgs/desktops/mate/mate-user-guide/default.nix
··· 10 11 stdenv.mkDerivation rec { 12 pname = "mate-user-guide"; 13 - version = "1.26.2"; 14 15 src = fetchurl { 16 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 17 - sha256 = "TTK241ZKyPTqqysVSC33+XaXUN+IEavtg30KLn7jgIs="; 18 }; 19 20 nativeBuildInputs = [ ··· 29 30 postPatch = '' 31 substituteInPlace mate-user-guide.desktop.in.in \ 32 - --replace "Exec=yelp" "Exec=${yelp}/bin/yelp" 33 ''; 34 35 enableParallelBuilding = true;
··· 10 11 stdenv.mkDerivation rec { 12 pname = "mate-user-guide"; 13 + version = "1.28.0"; 14 15 src = fetchurl { 16 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 17 + sha256 = "U+8IFPUGVEYU7WGre+UiHMjTqfFPfvlpjJD+fkYBS54="; 18 }; 19 20 nativeBuildInputs = [ ··· 29 30 postPatch = '' 31 substituteInPlace mate-user-guide.desktop.in.in \ 32 + --replace-fail "Exec=yelp" "Exec=${yelp}/bin/yelp" 33 ''; 34 35 enableParallelBuilding = true;
+4 -3
pkgs/desktops/mate/mate-user-share/default.nix
··· 5 , gettext 6 , itstool 7 , gtk3 8 , dbus-glib 9 , libnotify 10 , libxml2 ··· 21 in 22 stdenv.mkDerivation rec { 23 pname = "mate-user-share"; 24 - version = "1.26.0"; 25 26 src = fetchurl { 27 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 - sha256 = "1wh0b4qw5wzpl7sg44lpwjb9r6xllch3xfz8c2cchl8rcgbh2kph"; 29 }; 30 31 nativeBuildInputs = [ ··· 38 39 buildInputs = [ 40 gtk3 41 dbus-glib 42 libnotify 43 libcanberra-gtk3 44 - mate.caja 45 hicolor-icon-theme 46 # Should mod_dnssd and apacheHttpd be runtime dependencies? 47 # In gnome-user-share they are not.
··· 5 , gettext 6 , itstool 7 , gtk3 8 + , caja 9 , dbus-glib 10 , libnotify 11 , libxml2 ··· 22 in 23 stdenv.mkDerivation rec { 24 pname = "mate-user-share"; 25 + version = "1.28.0"; 26 27 src = fetchurl { 28 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 29 + sha256 = "iYVgmZkXllE0jkl+8I81C4YIG5expKcwQHfurlc5rjg="; 30 }; 31 32 nativeBuildInputs = [ ··· 39 40 buildInputs = [ 41 gtk3 42 + caja 43 dbus-glib 44 libnotify 45 libcanberra-gtk3 46 hicolor-icon-theme 47 # Should mod_dnssd and apacheHttpd be runtime dependencies? 48 # In gnome-user-share they are not.
+20 -16
pkgs/desktops/mate/mate-utils/default.nix
··· 1 { lib 2 , stdenv 3 , fetchurl 4 - , fetchpatch 5 , pkg-config 6 , gettext 7 , itstool 8 , glib 9 , gtk3 10 , libxml2 11 , libgtop 12 , libcanberra-gtk3 13 , inkscape 14 , udisks2 15 - , mate 16 , hicolor-icon-theme 17 , wrapGAppsHook 18 , mateUpdateScript 19 }: 20 21 stdenv.mkDerivation rec { 22 pname = "mate-utils"; 23 - version = "1.26.1"; 24 25 src = fetchurl { 26 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 27 - sha256 = "L1NHWxoJkd1ak9ndpY/KTkFvJZJTWG2UpbEQjxI3BiA="; 28 }; 29 30 - patches = [ 31 - # Hopefully helps "libxml2.treeError: xmlSetProp() failed" 32 - # This patch is not part of upstream yet. 33 - # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919058 34 - # https://github.com/mate-desktop/mate-utils/issues/210 35 - (fetchpatch { 36 - url = "https://salsa.debian.org/debian-mate-team/mate-utils/-/raw/2b43d78f3fdbf0aa50716b62bcada2ef015957c6/debian/patches/1001_fix-gsearchtool-pt-help-translation.patch"; 37 - sha256 = "SZVpdup/bNv+3hEGQ0L13mgXyNm+wRcL53t9/Oi24wA="; 38 - }) 39 - ]; 40 - 41 nativeBuildInputs = [ 42 pkg-config 43 gettext ··· 47 ]; 48 49 buildInputs = [ 50 gtk3 51 libgtop 52 libcanberra-gtk3 53 libxml2 54 udisks2 55 - mate.mate-panel 56 hicolor-icon-theme 57 ]; 58 59 env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0"; 60
··· 1 { lib 2 , stdenv 3 , fetchurl 4 , pkg-config 5 , gettext 6 , itstool 7 , glib 8 + , gtk-layer-shell 9 , gtk3 10 , libxml2 11 , libgtop 12 , libcanberra-gtk3 13 , inkscape 14 , udisks2 15 + , mate-desktop 16 + , mate-panel 17 , hicolor-icon-theme 18 + , wayland 19 , wrapGAppsHook 20 , mateUpdateScript 21 }: 22 23 stdenv.mkDerivation rec { 24 pname = "mate-utils"; 25 + version = "1.28.0"; 26 27 src = fetchurl { 28 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 29 + sha256 = "WESdeg0dkA/wO3jKn36Ywh6X9H/Ca+5/8cYYNPIviNM="; 30 }; 31 32 nativeBuildInputs = [ 33 pkg-config 34 gettext ··· 38 ]; 39 40 buildInputs = [ 41 + gtk-layer-shell 42 gtk3 43 libgtop 44 libcanberra-gtk3 45 libxml2 46 udisks2 47 + mate-desktop 48 + mate-panel 49 hicolor-icon-theme 50 + wayland 51 ]; 52 + 53 + postPatch = '' 54 + # Workaround undefined version requirements 55 + # https://github.com/mate-desktop/mate-utils/issues/361 56 + substituteInPlace configure \ 57 + --replace-fail '>= $GTK_LAYER_SHELL_REQUIRED_VERSION' "" \ 58 + --replace-fail '>= $GDK_WAYLAND_REQUIRED_VERSION' "" 59 + ''; 60 + 61 + configureFlags = [ "--enable-wayland" ]; 62 63 env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0"; 64
+58
pkgs/desktops/mate/mate-wayland-session/default.nix
···
··· 1 + { stdenvNoCC 2 + , lib 3 + , fetchFromGitHub 4 + , meson 5 + , ninja 6 + , glib 7 + , mate-polkit 8 + , mate-notification-daemon 9 + , wayfire 10 + , wayfirePlugins 11 + , gitUpdater 12 + }: 13 + 14 + stdenvNoCC.mkDerivation rec { 15 + pname = "mate-wayland-session"; 16 + version = "1.28.3"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "mate-desktop"; 20 + repo = "mate-wayland-session"; 21 + rev = "v${version}"; 22 + hash = "sha256-sUAq2BylsvjYn8Lt+nm4yIfVhzIEefxKZYnhJnuxjs0="; 23 + }; 24 + 25 + nativeBuildInputs = [ 26 + meson 27 + ninja 28 + glib 29 + ]; 30 + 31 + postPatch = '' 32 + substituteInPlace session/mate-wayland-components.sh \ 33 + --replace-fail "polkit-mate-authentication-agent-1" "${mate-polkit}/libexec/polkit-mate-authentication-agent-1" \ 34 + --replace-fail "mate-notification-daemon" "${mate-notification-daemon}/libexec/mate-notification-daemon" \ 35 + --replace-fail "cat /usr/bin/blueman-applet" "command -v blueman-applet" \ 36 + --replace-fail "cat /usr/bin/gnome-keyring-daemon" "command -v gnome-keyring-daemon" 37 + 38 + # Ensure wayfire.ini is writable, as this script tries to modify it later. 39 + substituteInPlace session/mate-wayland.sh \ 40 + --replace-fail "cp /usr/share/doc/wayfire/examples/wayfire.ini" "cp --no-preserve=mode,ownership ${wayfire.src}/wayfire.ini" \ 41 + --replace-fail "/usr/share/doc/wayfire/examples/wayfire.ini" "${wayfire.src}/wayfire.ini" \ 42 + --replace-fail "/usr/lib/x86_64-linux-gnu/wayfire/libfiredecor.so" "${wayfirePlugins.firedecor}/lib/wayfire/libfiredecor.so" \ 43 + --replace-fail "/usr/share/doc/firedecor/firedecor.config" "$out/share/doc/firedecor/firedecor.config" 44 + ''; 45 + 46 + passthru = { 47 + providedSessions = [ "MATE" ]; 48 + updateScript = gitUpdater { rev-prefix = "v"; }; 49 + }; 50 + 51 + meta = with lib; { 52 + description = "Wayland session using Wayfire for the MATE desktop"; 53 + homepage = "https://mate-desktop.org"; 54 + license = licenses.gpl2Plus; 55 + platforms = platforms.unix; 56 + maintainers = teams.mate.members; 57 + }; 58 + }
+4 -4
pkgs/desktops/mate/mozo/default.nix
··· 3 , fetchurl 4 , pkg-config 5 , gettext 6 - , mate 7 , gtk3 8 , glib 9 , wrapGAppsHook ··· 13 14 python3.pkgs.buildPythonApplication rec { 15 pname = "mozo"; 16 - version = "1.26.2"; 17 18 format = "other"; 19 doCheck = false; 20 21 src = fetchurl { 22 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 23 - sha256 = "RyxILg7y+xYp5h4X2qoaSH9kOSsCmEncmkCCr7OLye4="; 24 }; 25 26 nativeBuildInputs = [ ··· 31 ]; 32 33 propagatedBuildInputs = [ 34 - mate.mate-menus 35 python3.pkgs.pygobject3 36 ]; 37
··· 3 , fetchurl 4 , pkg-config 5 , gettext 6 + , mate-menus 7 , gtk3 8 , glib 9 , wrapGAppsHook ··· 13 14 python3.pkgs.buildPythonApplication rec { 15 pname = "mozo"; 16 + version = "1.28.0"; 17 18 format = "other"; 19 doCheck = false; 20 21 src = fetchurl { 22 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 23 + sha256 = "/piYT/1qqMNtBZS879ugPeObQtQeAHJRaAOE8870SSQ="; 24 }; 25 26 nativeBuildInputs = [ ··· 31 ]; 32 33 propagatedBuildInputs = [ 34 + mate-menus 35 python3.pkgs.pygobject3 36 ]; 37
+2 -4
pkgs/desktops/mate/pluma/default.nix
··· 9 , enchant 10 , libxml2 11 , python3 12 - , adwaita-icon-theme 13 , gtksourceview4 14 , libpeas 15 , mate-desktop ··· 19 20 stdenv.mkDerivation rec { 21 pname = "pluma"; 22 - version = "1.26.1"; 23 24 src = fetchurl { 25 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 26 - sha256 = "WVns49cRjhBmWfZNIC0O0XY60Qu7ul0qzYy/ui45lPE="; 27 }; 28 29 nativeBuildInputs = [ ··· 37 ]; 38 39 buildInputs = [ 40 - adwaita-icon-theme 41 enchant 42 gtksourceview4 43 libpeas
··· 9 , enchant 10 , libxml2 11 , python3 12 , gtksourceview4 13 , libpeas 14 , mate-desktop ··· 18 19 stdenv.mkDerivation rec { 20 pname = "pluma"; 21 + version = "1.28.0"; 22 23 src = fetchurl { 24 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 + sha256 = "qorflYk0UJOlDjCyft5KeKJCHRcnwn9GX8h8Q1llodQ="; 26 }; 27 28 nativeBuildInputs = [ ··· 36 ]; 37 38 buildInputs = [ 39 enchant 40 gtksourceview4 41 libpeas
+4 -4
pkgs/desktops/mate/python-caja/default.nix
··· 3 , fetchurl 4 , pkg-config 5 , gettext 6 , gtk3 7 - , mate 8 , python3Packages 9 , mateUpdateScript 10 }: 11 12 stdenv.mkDerivation rec { 13 pname = "python-caja"; 14 - version = "1.26.0"; 15 16 src = fetchurl { 17 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 18 - sha256 = "181zcs1pi3762chm4xraqs8048jm7jzwnvgwla1v3z2nqzpp3xr1"; 19 }; 20 21 nativeBuildInputs = [ ··· 25 ]; 26 27 buildInputs = [ 28 gtk3 29 - mate.caja 30 python3Packages.python 31 python3Packages.pygobject3 32 ];
··· 3 , fetchurl 4 , pkg-config 5 , gettext 6 + , caja 7 , gtk3 8 , python3Packages 9 , mateUpdateScript 10 }: 11 12 stdenv.mkDerivation rec { 13 pname = "python-caja"; 14 + version = "1.28.0"; 15 16 src = fetchurl { 17 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 18 + sha256 = "sFbCOdvf4z7QzIQx+zUAqTj3h7Weh19f+TV4umb2gNY="; 19 }; 20 21 nativeBuildInputs = [ ··· 25 ]; 26 27 buildInputs = [ 28 + caja 29 gtk3 30 python3Packages.python 31 python3Packages.pygobject3 32 ];
+17 -15
pkgs/development/libraries/rocksdb/default.nix
··· 39 "tools" 40 ]; 41 42 - env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isGNU [ 43 - "-Wno-error=deprecated-copy" 44 - "-Wno-error=pessimizing-move" 45 - # Needed with GCC 12 46 - "-Wno-error=format-truncation" 47 - "-Wno-error=maybe-uninitialized" 48 - ] ++ lib.optionals stdenv.cc.isClang [ 49 - "-Wno-error=unused-private-field" 50 - "-faligned-allocation" 51 - ] ++ lib.optionals (lib.versionOlder finalAttrs.version "8") [ 52 - "-Wno-error=unused-but-set-variable" 53 - ] ++ lib.optionals (lib.versionOlder finalAttrs.version "7") [ 54 - "-Wno-error=deprecated-copy" 55 - ]); 56 57 cmakeFlags = [ 58 "-DPORTABLE=1" ··· 71 "-DUSE_RTTI=1" 72 "-DROCKSDB_INSTALL_ON_WINDOWS=YES" # harmless elsewhere 73 (lib.optional sse42Support "-DFORCE_SSE42=1") 74 - "-DFAIL_ON_WARNINGS=${if stdenv.hostPlatform.isMinGW then "NO" else "YES"}" 75 ] ++ lib.optional (!enableShared) "-DROCKSDB_BUILD_SHARED=0"; 76 77 # otherwise "cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]" 78 hardeningDisable = lib.optional stdenv.hostPlatform.isWindows "format"; 79 80 preInstall = '' 81 mkdir -p $tools/bin
··· 39 "tools" 40 ]; 41 42 + env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isClang [ 43 + "-faligned-allocation" 44 + ]); 45 46 cmakeFlags = [ 47 "-DPORTABLE=1" ··· 60 "-DUSE_RTTI=1" 61 "-DROCKSDB_INSTALL_ON_WINDOWS=YES" # harmless elsewhere 62 (lib.optional sse42Support "-DFORCE_SSE42=1") 63 + "-DFAIL_ON_WARNINGS=NO" 64 ] ++ lib.optional (!enableShared) "-DROCKSDB_BUILD_SHARED=0"; 65 66 # otherwise "cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]" 67 hardeningDisable = lib.optional stdenv.hostPlatform.isWindows "format"; 68 + 69 + postPatch = lib.optionalString (lib.versionOlder finalAttrs.version "8") '' 70 + # Fix gcc-13 build failures due to missing <cstdint> and 71 + # <system_error> includes, fixed upstyream sice 8.x 72 + sed -e '1i #include <cstdint>' -i db/compaction/compaction_iteration_stats.h 73 + sed -e '1i #include <cstdint>' -i table/block_based/data_block_hash_index.h 74 + sed -e '1i #include <cstdint>' -i util/string_util.h 75 + sed -e '1i #include <cstdint>' -i include/rocksdb/utilities/checkpoint.h 76 + '' + lib.optionalString (lib.versionOlder finalAttrs.version "7") '' 77 + # Fix gcc-13 build failures due to missing <cstdint> and 78 + # <system_error> includes, fixed upstyream sice 7.x 79 + sed -e '1i #include <system_error>' -i third-party/folly/folly/synchronization/detail/ProxyLockable-inl.h 80 + ''; 81 82 preInstall = '' 83 mkdir -p $tools/bin
+2 -2
pkgs/development/python-modules/arviz/default.nix
··· 31 32 buildPythonPackage rec { 33 pname = "arviz"; 34 - version = "0.17.0"; 35 pyproject = true; 36 37 disabled = pythonOlder "3.9"; ··· 40 owner = "arviz-devs"; 41 repo = "arviz"; 42 rev = "refs/tags/v${version}"; 43 - hash = "sha256-DqVwbiNJHdRxK3Ppfa6sqPJzDqMaj1mtlAJHFq09u2Y="; 44 }; 45 46 propagatedBuildInputs = [
··· 31 32 buildPythonPackage rec { 33 pname = "arviz"; 34 + version = "0.17.1"; 35 pyproject = true; 36 37 disabled = pythonOlder "3.9"; ··· 40 owner = "arviz-devs"; 41 repo = "arviz"; 42 rev = "refs/tags/v${version}"; 43 + hash = "sha256-V0/yboKpK/4QuCOzKDiyFpu/J2JLu0aQxRZ+rpMS9eY="; 44 }; 45 46 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/axis/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "axis"; 16 - version = "54"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.11"; ··· 22 owner = "Kane610"; 23 repo = "axis"; 24 rev = "refs/tags/v${version}"; 25 - hash = "sha256-Atx9Lg0WgKcdnXqHieJFadjMPhK1F2qifSa89XxT8J8="; 26 }; 27 28 postPatch = ''
··· 13 14 buildPythonPackage rec { 15 pname = "axis"; 16 + version = "55"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.11"; ··· 22 owner = "Kane610"; 23 repo = "axis"; 24 rev = "refs/tags/v${version}"; 25 + hash = "sha256-WId4+xLr6VD79r5K+fgrxfyJGWmobTMpYGGNkFrlerQ="; 26 }; 27 28 postPatch = ''
+5
pkgs/development/python-modules/css-inline/default.nix
··· 9 # native darwin dependencies 10 , libiconv 11 , Security 12 13 # tests 14 , pytestCheckHook ··· 52 buildInputs = lib.optionals stdenv.isDarwin [ 53 libiconv 54 Security 55 ]; 56 57 pythonImportsCheck = [ ··· 66 disabledTests = [ 67 # fails to connect to local server 68 "test_remote_stylesheet" 69 ]; 70 71 meta = with lib; {
··· 9 # native darwin dependencies 10 , libiconv 11 , Security 12 + , SystemConfiguration 13 14 # tests 15 , pytestCheckHook ··· 53 buildInputs = lib.optionals stdenv.isDarwin [ 54 libiconv 55 Security 56 + SystemConfiguration 57 ]; 58 59 pythonImportsCheck = [ ··· 68 disabledTests = [ 69 # fails to connect to local server 70 "test_remote_stylesheet" 71 + ] ++ lib.optionals (stdenv.isDarwin) [ 72 + # pyo3_runtime.PanicException: event loop thread panicked 73 + "test_invalid_href" 74 ]; 75 76 meta = with lib; {
+29 -11
pkgs/development/python-modules/django-compressor/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 , rcssmin 5 , rjsmin 6 - , django-appconf 7 , beautifulsoup4 8 , brotli 9 - , pytestCheckHook 10 , django-sekizai 11 , pytest-django 12 - , csscompressor 13 - , calmjs 14 - , jinja2 15 - , python 16 }: 17 18 buildPythonPackage rec { 19 pname = "django-compressor"; 20 version = "4.4"; 21 - format = "setuptools"; 22 23 src = fetchPypi { 24 pname = "django_compressor"; ··· 26 hash = "sha256-GwrMnPup9pvDjnxB2psNcKILyVWHtkP/75YJz0YGT2c="; 27 }; 28 29 - propagatedBuildInputs = [ 30 beautifulsoup4 31 calmjs 32 django-appconf ··· 35 rjsmin 36 ]; 37 38 - checkInputs = [ 39 beautifulsoup4 40 brotli 41 csscompressor ··· 52 ]; 53 54 pythonImportsCheck = [ "compressor" ]; 55 - 56 - DJANGO_SETTINGS_MODULE = "compressor.test_settings"; 57 58 meta = with lib; { 59 description = "Compresses linked and inline JavaScript or CSS into single cached files";
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + , pythonRelaxDepsHook 5 + 6 + # build-system 7 + , setuptools 8 + 9 + # dependencies 10 + , calmjs 11 + , django-appconf 12 + , jinja2 13 , rcssmin 14 , rjsmin 15 + 16 + # tests 17 , beautifulsoup4 18 , brotli 19 + , csscompressor 20 , django-sekizai 21 + , pytestCheckHook 22 , pytest-django 23 + 24 }: 25 26 buildPythonPackage rec { 27 pname = "django-compressor"; 28 version = "4.4"; 29 + pyproject = true; 30 31 src = fetchPypi { 32 pname = "django_compressor"; ··· 34 hash = "sha256-GwrMnPup9pvDjnxB2psNcKILyVWHtkP/75YJz0YGT2c="; 35 }; 36 37 + build-system = [ 38 + setuptools 39 + pythonRelaxDepsHook 40 + ]; 41 + 42 + pythonRelaxDeps = [ 43 + "rcssmin" 44 + "rjsmin" 45 + ]; 46 + 47 + dependencies = [ 48 beautifulsoup4 49 calmjs 50 django-appconf ··· 53 rjsmin 54 ]; 55 56 + env.DJANGO_SETTINGS_MODULE = "compressor.test_settings"; 57 + 58 + nativeCheckInputs = [ 59 beautifulsoup4 60 brotli 61 csscompressor ··· 72 ]; 73 74 pythonImportsCheck = [ "compressor" ]; 75 76 meta = with lib; { 77 description = "Compresses linked and inline JavaScript or CSS into single cached files";
+29 -12
pkgs/development/python-modules/django-otp/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 , django 5 , freezegun 6 - , pythonOlder 7 , qrcode 8 }: 9 10 buildPythonPackage rec { 11 pname = "django-otp"; 12 - version = "1.1.3"; 13 - format = "setuptools"; 14 - disabled = pythonOlder "3"; 15 16 src = fetchFromGitHub { 17 owner = "django-otp"; 18 repo = "django-otp"; 19 rev = "v${version}"; 20 - hash = "sha256-Ac9p7q9yaUr3WTTGxCY16Yo/Z8i1RtnD2g0Aj2pqSXY="; 21 }; 22 23 - postPatch = '' 24 - patchShebangs manage.py 25 - ''; 26 27 - propagatedBuildInputs = [ 28 django 29 qrcode 30 ]; 31 32 nativeCheckInputs = [ 33 freezegun 34 ]; 35 36 checkPhase = '' 37 - ./manage.py test django_otp 38 ''; 39 40 - pythonImportsCheck = [ "django_otp" ]; 41 42 meta = with lib; { 43 - homepage = "https://github.com/jazzband/django-model-utils"; 44 description = "Pluggable framework for adding two-factor authentication to Django using one-time passwords"; 45 license = licenses.bsd2; 46 maintainers = with maintainers; [ ];
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 + , hatchling 5 , django 6 , freezegun 7 , qrcode 8 + , pytest 9 + , python 10 }: 11 12 buildPythonPackage rec { 13 pname = "django-otp"; 14 + version = "1.3.0post1"; 15 + pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "django-otp"; 19 repo = "django-otp"; 20 rev = "v${version}"; 21 + hash = "sha256-Q8YTCYERyoAXenSiDabxuxaWiD6ZeJKKKgaR/Rg3y20="; 22 }; 23 24 + build-system = [ 25 + hatchling 26 + ]; 27 28 + dependencies = [ 29 django 30 qrcode 31 ]; 32 + 33 + env.DJANGO_SETTINGS_MODUOLE = "test.test_project.settings"; 34 35 nativeCheckInputs = [ 36 freezegun 37 + pytest 38 ]; 39 40 checkPhase = '' 41 + runHook preCheck 42 + 43 + export PYTHONPATH=$PYTHONPATH:test 44 + export DJANGO_SETTINGS_MODULE=test_project.settings 45 + ${python.interpreter} -m django test django_otp 46 + 47 + runHook postCheck 48 ''; 49 50 + pytestFlagsArray = [ 51 + "src/django_otp/test.py" 52 + ]; 53 + 54 + pythonImportsCheck = [ 55 + "django_otp" 56 + ]; 57 58 meta = with lib; { 59 + homepage = "https://github.com/django-otp/django-otp"; 60 + changelog = "https://github.com/django-otp/django-otp/blob/${src.rev}/CHANGES.rst"; 61 description = "Pluggable framework for adding two-factor authentication to Django using one-time passwords"; 62 license = licenses.bsd2; 63 maintainers = with maintainers; [ ];
+19 -7
pkgs/development/python-modules/django-statici18n/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 , django 5 , django-appconf 6 , pytest-django 7 , pytestCheckHook 8 }: 9 10 buildPythonPackage rec { 11 pname = "django-statici18n"; 12 - version = "2.3.1"; 13 - format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "zyegfryed"; 17 - repo = pname; 18 - rev = "refs/tags/v${version}"; 19 - hash = "sha256-2fFJJNdF0jspS7djDL8sToPTetzNR6pfNp5ohCNa30I="; 20 }; 21 22 - propagatedBuildInputs = [ 23 django 24 django-appconf 25 ]; ··· 28 "statici18n" 29 ]; 30 31 - DJANGO_SETTINGS_MODULE = "tests.test_project.project.settings"; 32 33 nativeCheckInputs = [ 34 pytest-django
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 + 5 + # build-system 6 + , setuptools 7 + 8 + # dependencies 9 , django 10 , django-appconf 11 + 12 + # tests 13 , pytest-django 14 , pytestCheckHook 15 }: 16 17 buildPythonPackage rec { 18 pname = "django-statici18n"; 19 + version = "2.4.0"; 20 + pyproject = true; 21 22 src = fetchFromGitHub { 23 owner = "zyegfryed"; 24 + repo = "django-statici18n"; 25 + # https://github.com/zyegfryed/django-statici18n/issues/59 26 + rev = "9b83a8f0f2e625dd5f56d53cfe4e07aca9479ab6"; 27 + hash = "sha256-KrIlWmN7um9ad2avfANOza579bjYkxTo9F0UFpvLu3A="; 28 }; 29 30 + build-system = [ 31 + setuptools 32 + ]; 33 + 34 + dependencies = [ 35 django 36 django-appconf 37 ]; ··· 40 "statici18n" 41 ]; 42 43 + env.DJANGO_SETTINGS_MODULE = "tests.test_project.project.settings"; 44 45 nativeCheckInputs = [ 46 pytest-django
+2 -2
pkgs/development/python-modules/jsonargparse/default.nix
··· 25 26 buildPythonPackage rec { 27 pname = "jsonargparse"; 28 - version = "4.27.5"; 29 pyproject = true; 30 31 disabled = pythonOlder "3.11"; ··· 34 owner = "omni-us"; 35 repo = "jsonargparse"; 36 rev = "refs/tags/v${version}"; 37 - hash = "sha256-MSvgOF/5X78HSSRvv1TBmaYZgcUVMKGaHfzXu3lIGVY="; 38 }; 39 40 nativeBuildInputs = [
··· 25 26 buildPythonPackage rec { 27 pname = "jsonargparse"; 28 + version = "4.27.6"; 29 pyproject = true; 30 31 disabled = pythonOlder "3.11"; ··· 34 owner = "omni-us"; 35 repo = "jsonargparse"; 36 rev = "refs/tags/v${version}"; 37 + hash = "sha256-N34DRWty3QiXDPpHGUvLpQXtU4TQHxI32rizcwQdHBU="; 38 }; 39 40 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/langchain-core/default.nix
··· 16 17 buildPythonPackage rec { 18 pname = "langchain-core"; 19 - version = "0.1.31"; 20 pyproject = true; 21 22 disabled = pythonOlder "3.8"; ··· 24 src = fetchPypi { 25 pname = "langchain_core"; 26 inherit version; 27 - hash = "sha256-1mDPIJu2zmHLHIUxB7CRqqgJAVpV3Ongzhm1HUyPKnA="; 28 }; 29 30 pythonRelaxDeps = [
··· 16 17 buildPythonPackage rec { 18 pname = "langchain-core"; 19 + version = "0.1.32"; 20 pyproject = true; 21 22 disabled = pythonOlder "3.8"; ··· 24 src = fetchPypi { 25 pname = "langchain_core"; 26 inherit version; 27 + hash = "sha256-1iaDvsvyD1HxKHV5GgQjIPReqgyHomfTC8A7waB/XsI="; 28 }; 29 30 pythonRelaxDeps = [
+2 -2
pkgs/development/python-modules/langsmith/default.nix
··· 15 16 buildPythonPackage rec { 17 pname = "langsmith"; 18 - version = "0.1.23"; 19 pyproject = true; 20 21 disabled = pythonOlder "3.8"; ··· 24 owner = "langchain-ai"; 25 repo = "langsmith-sdk"; 26 rev = "refs/tags/v${version}"; 27 - hash = "sha256-AiXTIk20T9symFUenCxnOUXhyNAkffbEt8acEU0EMBg="; 28 }; 29 30 sourceRoot = "${src.name}/python";
··· 15 16 buildPythonPackage rec { 17 pname = "langsmith"; 18 + version = "0.1.26"; 19 pyproject = true; 20 21 disabled = pythonOlder "3.8"; ··· 24 owner = "langchain-ai"; 25 repo = "langsmith-sdk"; 26 rev = "refs/tags/v${version}"; 27 + hash = "sha256-bvG4B7xUESbj3iX/SjsManv4itR2kkfixzxkKuZgPfw="; 28 }; 29 30 sourceRoot = "${src.name}/python";
+13 -13
pkgs/development/python-modules/mypy-boto3/default.nix
··· 59 60 mypy-boto3-amp = buildMypyBoto3Package "amp" "1.34.39" "sha256-XOousDfEQsZ9z48iH2wVHuUaIwoECwbkHvIAlV3+zu4="; 61 62 - mypy-boto3-amplify = buildMypyBoto3Package "amplify" "1.34.45" "sha256-hV0fg6Y39NkZ6Qa6GyIYicMERjCBAjZYcSsJ+1jXAfA="; 63 64 mypy-boto3-amplifybackend = buildMypyBoto3Package "amplifybackend" "1.34.0" "sha256-wP6fOHAUg4dvrlQ2rUNk/lgIr6JnpWu/0Tr2prTckOk="; 65 ··· 105 106 mypy-boto3-autoscaling-plans = buildMypyBoto3Package "autoscaling-plans" "1.34.0" "sha256-16siojcxNe5MuSZSRJXPAz2UudJozEEyCYUrsGNDAM8="; 107 108 - mypy-boto3-backup = buildMypyBoto3Package "backup" "1.34.0" "sha256-H4wIDyA+/6sH6X5zp/HGP2vfWIY5HzgTfa1ThXfXwYM="; 109 110 mypy-boto3-backup-gateway = buildMypyBoto3Package "backup-gateway" "1.34.0" "sha256-nSIEEDKJfI852/WBQ7OuDPuVijEiMr1vhpkzODbhRRc="; 111 ··· 161 162 mypy-boto3-codeartifact = buildMypyBoto3Package "codeartifact" "1.34.0" "sha256-iUgoanqMSyxRopVctyFLiu+otFSgRvdgQPw4mKX3QIk="; 163 164 - mypy-boto3-codebuild = buildMypyBoto3Package "codebuild" "1.34.59" "sha256-dkX5QeHjfBrY8mU+/5tKVkJlqAodBYqkW8oei1iqTl0="; 165 166 mypy-boto3-codecatalyst = buildMypyBoto3Package "codecatalyst" "1.34.0" "sha256-TsXVy8bx6kaj84PJiNNU+075Tx3WW0mrtZFOyLx9yT4="; 167 ··· 197 198 mypy-boto3-config = buildMypyBoto3Package "config" "1.34.45" "sha256-LN1CcIOj9cgzSNCvnUVwLRNPXlitHAlt+5jj6wu6i8E="; 199 200 - mypy-boto3-connect = buildMypyBoto3Package "connect" "1.34.61" "sha256-LbiRcZWmULytWtEy0J2mXqQtHofbbfbRV2PyvEFcRfA="; 201 202 mypy-boto3-connect-contact-lens = buildMypyBoto3Package "connect-contact-lens" "1.34.0" "sha256-Wx9vcjlgXdWZ2qP3Y/hTY2LAeTd+hyyV5JSIuKQ5I5k="; 203 ··· 251 252 mypy-boto3-ebs = buildMypyBoto3Package "ebs" "1.34.0" "sha256-xIrrXOayZed+Jcn4CFXXNgKz/G+RdiuwA04wq+Ry/fs="; 253 254 - mypy-boto3-ec2 = buildMypyBoto3Package "ec2" "1.34.61" "sha256-rRK8Q3zUJuelfYvaUhrqxbsFUn1Xl6oxCahaRhI3+W8="; 255 256 - mypy-boto3-ec2-instance-connect = buildMypyBoto3Package "ec2-instance-connect" "1.34.0" "sha256-95TXW9HJHciM+lZCdlUYOwcLhkKE8RJpRx9/dEnu3FU="; 257 258 mypy-boto3-ecr = buildMypyBoto3Package "ecr" "1.34.0" "sha256-uD+wMR6WikLUyoIbAGwY1KPj42S4zr7nWOpPqXxaw0U="; 259 ··· 275 276 mypy-boto3-elb = buildMypyBoto3Package "elb" "1.34.0" "sha256-5Eh5D872pVDd7Q+DDh3zpGMVgS8fUJsV+63H1fet73s="; 277 278 - mypy-boto3-elbv2 = buildMypyBoto3Package "elbv2" "1.34.32" "sha256-jDrQb4A0PVBSxH7vuPXehpEYdU8Hwgv2Sc2+j0OGVJg="; 279 280 mypy-boto3-emr = buildMypyBoto3Package "emr" "1.34.44" "sha256-zM1VpAaBSxqdZiSrNiaAKfvliNRXMLEmvFvXcFmkZO0="; 281 ··· 297 298 mypy-boto3-firehose = buildMypyBoto3Package "firehose" "1.34.46" "sha256-Fgs7wrwKPK79cYduCR/RYQ2FEZvghDuWI1hXKzFLfJo="; 299 300 - mypy-boto3-fis = buildMypyBoto3Package "fis" "1.34.0" "sha256-0TJ7iAF9hTOiKoW305p8a5fE0lZrdtoFDj/jjZzfdf0="; 301 302 mypy-boto3-fms = buildMypyBoto3Package "fms" "1.34.0" "sha256-tzaSecIXzkC+Zr5MGpU7GaoiGHGsywEglZ8+Ja0XDDo="; 303 ··· 411 412 mypy-boto3-kinesisanalytics = buildMypyBoto3Package "kinesisanalytics" "1.34.0" "sha256-eEoSmwMTa/hsbKbuKuzAZv4jHljGKq3b5Rw7K2Pgc50="; 413 414 - mypy-boto3-kinesisanalyticsv2 = buildMypyBoto3Package "kinesisanalyticsv2" "1.34.62" "sha256-bL6EKRjfIIUUIMSpoE0BWeAg3xb2xbKi8NBpHSaEEFg="; 415 416 mypy-boto3-kinesisvideo = buildMypyBoto3Package "kinesisvideo" "1.34.48" "sha256-uYSkwOuYKF3B+sj5IWbDL789Xue2yNY9g14j/2b6k6w="; 417 ··· 581 582 mypy-boto3-rbin = buildMypyBoto3Package "rbin" "1.34.0" "sha256-Y+a/p3r5IgWk4oH6MOeq0e7rMiNvLCqoz1ZE+xXNtOw="; 583 584 - mypy-boto3-rds = buildMypyBoto3Package "rds" "1.34.58" "sha256-P3s5qNAV9UG6fMSxvkUevKACU3FGjhOne1D0LRi/eMk="; 585 586 mypy-boto3-rds-data = buildMypyBoto3Package "rds-data" "1.34.6" "sha256-d+WXt3cSUe5ZxynSjPSJxXgv6evP/rhZrX1ua9rtSx8="; 587 ··· 619 620 mypy-boto3-rum = buildMypyBoto3Package "rum" "1.34.49" "sha256-Mq2H+13cjxYRwFfxJpWTAb+W5bx+Vew+jl+zbreRIkQ="; 621 622 - mypy-boto3-s3 = buildMypyBoto3Package "s3" "1.34.62" "sha256-HWDLEJB667VrTYZYircK5C23oRSGnwWLu7tNWG6yLm0="; 623 624 mypy-boto3-s3control = buildMypyBoto3Package "s3control" "1.34.18" "sha256-53s5ii1gFX9toigiazEtS5Jogg3VFFr+1/uiLzoU7Uo="; 625 626 mypy-boto3-s3outposts = buildMypyBoto3Package "s3outposts" "1.34.0" "sha256-xLuGP9Fe0S7zRimt1AKd9KOrytmNd/GTRg5OVi5Xpos="; 627 628 - mypy-boto3-sagemaker = buildMypyBoto3Package "sagemaker" "1.34.53" "sha256-IgZzJstoOg1wzucKqPBx47baLbagrUk1kW4P8cI++cg="; 629 630 mypy-boto3-sagemaker-a2i-runtime = buildMypyBoto3Package "sagemaker-a2i-runtime" "1.34.0" "sha256-jMZ3aWKQPhNec4A/02S1waQi6Mx9JVdENc3kblhsKjA="; 631 ··· 647 648 mypy-boto3-sdb = buildMypyBoto3Package "sdb" "1.34.0" "sha256-13BuAQD8uDwwDhCw+8O3V882H6/oor5Z8mBmjb7HHAU="; 649 650 - mypy-boto3-secretsmanager = buildMypyBoto3Package "secretsmanager" "1.34.43" "sha256-q79WB3XC/g3Dg7f3DBahv3U9mz/8DKpeNUR+aFeDpos="; 651 652 mypy-boto3-securityhub = buildMypyBoto3Package "securityhub" "1.34.20" "sha256-EcLY5SXSN2kJEuo8s2sYJJfq/X78BM1msyI9TfYD7Xw="; 653
··· 59 60 mypy-boto3-amp = buildMypyBoto3Package "amp" "1.34.39" "sha256-XOousDfEQsZ9z48iH2wVHuUaIwoECwbkHvIAlV3+zu4="; 61 62 + mypy-boto3-amplify = buildMypyBoto3Package "amplify" "1.34.63" "sha256-alOtCCZwBcx6g3lm80AzI5aF8WbEABd44A0e6gfZ42o="; 63 64 mypy-boto3-amplifybackend = buildMypyBoto3Package "amplifybackend" "1.34.0" "sha256-wP6fOHAUg4dvrlQ2rUNk/lgIr6JnpWu/0Tr2prTckOk="; 65 ··· 105 106 mypy-boto3-autoscaling-plans = buildMypyBoto3Package "autoscaling-plans" "1.34.0" "sha256-16siojcxNe5MuSZSRJXPAz2UudJozEEyCYUrsGNDAM8="; 107 108 + mypy-boto3-backup = buildMypyBoto3Package "backup" "1.34.64" "sha256-RvxhEmrOtkvagjaj8x2H7AAp+uK9qDIDe7T9p52rKRc="; 109 110 mypy-boto3-backup-gateway = buildMypyBoto3Package "backup-gateway" "1.34.0" "sha256-nSIEEDKJfI852/WBQ7OuDPuVijEiMr1vhpkzODbhRRc="; 111 ··· 161 162 mypy-boto3-codeartifact = buildMypyBoto3Package "codeartifact" "1.34.0" "sha256-iUgoanqMSyxRopVctyFLiu+otFSgRvdgQPw4mKX3QIk="; 163 164 + mypy-boto3-codebuild = buildMypyBoto3Package "codebuild" "1.34.64" "sha256-ZsTKKDanTLB4jFOGLQTLPEterhabpShrchHvvWcUBMo="; 165 166 mypy-boto3-codecatalyst = buildMypyBoto3Package "codecatalyst" "1.34.0" "sha256-TsXVy8bx6kaj84PJiNNU+075Tx3WW0mrtZFOyLx9yT4="; 167 ··· 197 198 mypy-boto3-config = buildMypyBoto3Package "config" "1.34.45" "sha256-LN1CcIOj9cgzSNCvnUVwLRNPXlitHAlt+5jj6wu6i8E="; 199 200 + mypy-boto3-connect = buildMypyBoto3Package "connect" "1.34.64" "sha256-ijgvxHI9taQXYZa1d4yLMp63bCrEFfE0Ug/vmKUGaNM="; 201 202 mypy-boto3-connect-contact-lens = buildMypyBoto3Package "connect-contact-lens" "1.34.0" "sha256-Wx9vcjlgXdWZ2qP3Y/hTY2LAeTd+hyyV5JSIuKQ5I5k="; 203 ··· 251 252 mypy-boto3-ebs = buildMypyBoto3Package "ebs" "1.34.0" "sha256-xIrrXOayZed+Jcn4CFXXNgKz/G+RdiuwA04wq+Ry/fs="; 253 254 + mypy-boto3-ec2 = buildMypyBoto3Package "ec2" "1.34.64" "sha256-fDsnEbTo5UAgPGCoUqGbvk68+9RNN8qZpScW7t/Bq+Q="; 255 256 + mypy-boto3-ec2-instance-connect = buildMypyBoto3Package "ec2-instance-connect" "1.34.63" "sha256-kExmGXEJ5jrvOewmWx7AjVb3boD5GU0cEUp/2PQhzlw="; 257 258 mypy-boto3-ecr = buildMypyBoto3Package "ecr" "1.34.0" "sha256-uD+wMR6WikLUyoIbAGwY1KPj42S4zr7nWOpPqXxaw0U="; 259 ··· 275 276 mypy-boto3-elb = buildMypyBoto3Package "elb" "1.34.0" "sha256-5Eh5D872pVDd7Q+DDh3zpGMVgS8fUJsV+63H1fet73s="; 277 278 + mypy-boto3-elbv2 = buildMypyBoto3Package "elbv2" "1.34.63" "sha256-snXMLMHLEpJjfX1GJp6FfYgIjkS8vkbf/hESBdhxIfk="; 279 280 mypy-boto3-emr = buildMypyBoto3Package "emr" "1.34.44" "sha256-zM1VpAaBSxqdZiSrNiaAKfvliNRXMLEmvFvXcFmkZO0="; 281 ··· 297 298 mypy-boto3-firehose = buildMypyBoto3Package "firehose" "1.34.46" "sha256-Fgs7wrwKPK79cYduCR/RYQ2FEZvghDuWI1hXKzFLfJo="; 299 300 + mypy-boto3-fis = buildMypyBoto3Package "fis" "1.34.63" "sha256-TJnzgQGDcybpVqg+p7Tuvw/RoY79cQPPChyHWlMxhiY="; 301 302 mypy-boto3-fms = buildMypyBoto3Package "fms" "1.34.0" "sha256-tzaSecIXzkC+Zr5MGpU7GaoiGHGsywEglZ8+Ja0XDDo="; 303 ··· 411 412 mypy-boto3-kinesisanalytics = buildMypyBoto3Package "kinesisanalytics" "1.34.0" "sha256-eEoSmwMTa/hsbKbuKuzAZv4jHljGKq3b5Rw7K2Pgc50="; 413 414 + mypy-boto3-kinesisanalyticsv2 = buildMypyBoto3Package "kinesisanalyticsv2" "1.34.64" "sha256-7sJyrWtBcbrWlCjR7pLdBLgW7sXcRazDPBW+OGwh4Xg="; 415 416 mypy-boto3-kinesisvideo = buildMypyBoto3Package "kinesisvideo" "1.34.48" "sha256-uYSkwOuYKF3B+sj5IWbDL789Xue2yNY9g14j/2b6k6w="; 417 ··· 581 582 mypy-boto3-rbin = buildMypyBoto3Package "rbin" "1.34.0" "sha256-Y+a/p3r5IgWk4oH6MOeq0e7rMiNvLCqoz1ZE+xXNtOw="; 583 584 + mypy-boto3-rds = buildMypyBoto3Package "rds" "1.34.63" "sha256-1JsO69vElUUgZlDNejuZz8x7bPCtHkZAG1qEtvg+O5E="; 585 586 mypy-boto3-rds-data = buildMypyBoto3Package "rds-data" "1.34.6" "sha256-d+WXt3cSUe5ZxynSjPSJxXgv6evP/rhZrX1ua9rtSx8="; 587 ··· 619 620 mypy-boto3-rum = buildMypyBoto3Package "rum" "1.34.49" "sha256-Mq2H+13cjxYRwFfxJpWTAb+W5bx+Vew+jl+zbreRIkQ="; 621 622 + mypy-boto3-s3 = buildMypyBoto3Package "s3" "1.34.64" "sha256-6yjHKgKA6lOpr4yEmjm2RR2At+YQwfrhWR7o79OhkNM="; 623 624 mypy-boto3-s3control = buildMypyBoto3Package "s3control" "1.34.18" "sha256-53s5ii1gFX9toigiazEtS5Jogg3VFFr+1/uiLzoU7Uo="; 625 626 mypy-boto3-s3outposts = buildMypyBoto3Package "s3outposts" "1.34.0" "sha256-xLuGP9Fe0S7zRimt1AKd9KOrytmNd/GTRg5OVi5Xpos="; 627 628 + mypy-boto3-sagemaker = buildMypyBoto3Package "sagemaker" "1.34.64" "sha256-Sf1T1aqRMIEZmuA2KH5tzuhTDN8yfFID/+h0DCWxws0="; 629 630 mypy-boto3-sagemaker-a2i-runtime = buildMypyBoto3Package "sagemaker-a2i-runtime" "1.34.0" "sha256-jMZ3aWKQPhNec4A/02S1waQi6Mx9JVdENc3kblhsKjA="; 631 ··· 647 648 mypy-boto3-sdb = buildMypyBoto3Package "sdb" "1.34.0" "sha256-13BuAQD8uDwwDhCw+8O3V882H6/oor5Z8mBmjb7HHAU="; 649 650 + mypy-boto3-secretsmanager = buildMypyBoto3Package "secretsmanager" "1.34.63" "sha256-oZM3PXGPdH1Th4tcx/7y6bj944kuR4isaQ/SsWo1Vkw="; 651 652 mypy-boto3-securityhub = buildMypyBoto3Package "securityhub" "1.34.20" "sha256-EcLY5SXSN2kJEuo8s2sYJJfq/X78BM1msyI9TfYD7Xw="; 653
+44
pkgs/development/python-modules/paypalrestsdk/default.nix
···
··· 1 + { buildPythonPackage 2 + , fetchPypi 3 + 4 + # build-system 5 + , setuptools 6 + 7 + # dependencies 8 + , pyopenssl 9 + , requests 10 + , six 11 + }: 12 + 13 + buildPythonPackage rec { 14 + pname = "paypalrestsdk"; 15 + version = "1.13.2"; 16 + pyproject = true; 17 + 18 + src = fetchPypi { 19 + inherit pname version; 20 + sha256 = "sha256-kZUfNtsw1oW5ceFASYSRo1bPHfjv9xZWYDrKTtcs81o="; 21 + }; 22 + 23 + build-system = [ 24 + setuptools 25 + ]; 26 + 27 + dependencies = [ 28 + pyopenssl 29 + requests 30 + six 31 + ]; 32 + 33 + doCheck = false; # no tests 34 + 35 + pythonImportsCheck = [ 36 + "paypalrestsdk" 37 + ]; 38 + 39 + meta = { 40 + homepage = "https://developer.paypal.com/"; 41 + description = "Python APIs to create, process and manage payment"; 42 + license = "PayPal SDK License"; 43 + }; 44 + }
+2 -2
pkgs/development/python-modules/streamlit/default.nix
··· 32 33 buildPythonPackage rec { 34 pname = "streamlit"; 35 - version = "1.32.1"; 36 pyproject = true; 37 38 disabled = pythonOlder "3.8"; 39 40 src = fetchPypi { 41 inherit pname version; 42 - hash = "sha256-7GQASW9niFIUPLwjxMQ4ifeLbJPC4nVv2OBgzM3kuP0="; 43 }; 44 45 nativeBuildInputs = [
··· 32 33 buildPythonPackage rec { 34 pname = "streamlit"; 35 + version = "1.32.2"; 36 pyproject = true; 37 38 disabled = pythonOlder "3.8"; 39 40 src = fetchPypi { 41 inherit pname version; 42 + hash = "sha256-Eli5y8P/lXv30Jsb/IXO3DCPEGWzB0hUUpWpr41Vd6s="; 43 }; 44 45 nativeBuildInputs = [
+47
pkgs/development/python-modules/wallet-py3k/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , substituteAll 5 + , openssl 6 + , setuptools 7 + , six 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "wallet-py3k"; 12 + version = "0.0.4"; 13 + pyproject = true; 14 + 15 + src = fetchPypi { 16 + inherit pname version; 17 + hash = "sha256-kyHSh8qHbzK6gFLGnL6dUJ/GLJHTNC86jjXa/APqIzI="; 18 + }; 19 + 20 + patches = [ 21 + (substituteAll { 22 + src = ./openssl-path.patch; 23 + openssl = lib.getExe openssl; 24 + }) 25 + ]; 26 + 27 + build-system = [ 28 + setuptools 29 + ]; 30 + 31 + dependencies = [ 32 + six 33 + ]; 34 + 35 + doCheck = false; # no tests 36 + 37 + pythonImportsCheck = [ 38 + "wallet" 39 + ]; 40 + 41 + meta = with lib; { 42 + description = "Passbook file generator"; 43 + homepage = "https://pypi.org/project/wallet-py3k"; 44 + license = licenses.mit; 45 + maintainers = with maintainers; [ hexa ]; 46 + }; 47 + }
+13
pkgs/development/python-modules/wallet-py3k/openssl-path.patch
···
··· 1 + diff --git a/wallet/models.py b/wallet/models.py 2 + index 1b75402..ad115de 100644 3 + --- a/wallet/models.py 4 + +++ b/wallet/models.py 5 + @@ -320,7 +320,7 @@ class Pass(object): 6 + def _createSignature(self, manifest, certificate, key, 7 + wwdr_certificate, password): 8 + openssl_cmd = [ 9 + - 'openssl', 10 + + '@openssl@', 11 + 'smime', 12 + '-binary', 13 + '-sign',
+9
pkgs/development/tools/electron/binary/default.nix
··· 184 aarch64-darwin = "d64947fee370a3b111f170399969977959848f2a2f544a1ae5dc081fc2df75cf"; 185 headers = "1lrwc03ffrf4bi2faampkx7yg0iqsrcp86znp9fw6ajwdwgqsc81"; 186 }; 187 }
··· 184 aarch64-darwin = "d64947fee370a3b111f170399969977959848f2a2f544a1ae5dc081fc2df75cf"; 185 headers = "1lrwc03ffrf4bi2faampkx7yg0iqsrcp86znp9fw6ajwdwgqsc81"; 186 }; 187 + 188 + electron_29-bin = mkElectron "29.1.4" { 189 + armv7l-linux = "12a7e6a8ef214d104ee72eb6636a055c9c6d41bcc58f31a8dc48b9bc8fd0fcb5"; 190 + aarch64-linux = "0d41a51d45712d0312dd24d79a395e80280bd8365ebb8e46c252cadcb780354b"; 191 + x86_64-linux = "83a37103b67378a9073898541cfc4af8b5de708da15135f060bf26993ab426b5"; 192 + x86_64-darwin = "e7887396018840ca482eb481edbff2e9a5580998412ffd217f70fad02f23969d"; 193 + aarch64-darwin = "7ad63253fd6de9dbb337efbf4a6d0161f0e4c5953243bec27de488db98ef8a6c"; 194 + headers = "0plc831v1fva2yrwg1zal5n9wkgy0f6v1by6b3jh8wjgrsrkhk00"; 195 + }; 196 }
+2 -2
pkgs/os-specific/linux/ipp-usb/default.nix
··· 1 { buildGoModule, avahi, libusb1, pkg-config, lib, fetchFromGitHub, ronn }: 2 buildGoModule rec { 3 pname = "ipp-usb"; 4 - version = "0.9.24"; 5 6 src = fetchFromGitHub { 7 owner = "openprinting"; 8 repo = "ipp-usb"; 9 rev = version; 10 - sha256 = "sha256-06Kb4s9oN53llz/Yya45ig5rd86VvlcK+vRh3bL/MAw="; 11 }; 12 13 postPatch = ''
··· 1 { buildGoModule, avahi, libusb1, pkg-config, lib, fetchFromGitHub, ronn }: 2 buildGoModule rec { 3 pname = "ipp-usb"; 4 + version = "0.9.25"; 5 6 src = fetchFromGitHub { 7 owner = "openprinting"; 8 repo = "ipp-usb"; 9 rev = version; 10 + sha256 = "sha256-ryKQDzb31JA192lbCYkwJrXgwErViqIzP4mD2NmWdgA="; 11 }; 12 13 postPatch = ''
+3 -2
pkgs/os-specific/linux/kernel/generic.nix
··· 12 , rustc 13 , rustPlatform 14 , rust-bindgen 15 16 - , # The kernel source tarball. 17 src 18 19 , # The kernel version. ··· 66 , preferBuiltin ? stdenv.hostPlatform.linux-kernel.preferBuiltin or false 67 , kernelArch ? stdenv.hostPlatform.linuxArch 68 , kernelTests ? [] 69 - , nixosTests 70 , ... 71 }@args: 72
··· 12 , rustc 13 , rustPlatform 14 , rust-bindgen 15 + , nixosTests 16 + }: 17 18 + { # The kernel source tarball. 19 src 20 21 , # The kernel version. ··· 68 , preferBuiltin ? stdenv.hostPlatform.linux-kernel.preferBuiltin or false 69 , kernelArch ? stdenv.hostPlatform.linuxArch 70 , kernelTests ? [] 71 , ... 72 }@args: 73
+4
pkgs/servers/home-assistant/custom-components/default.nix
··· 10 11 emporia_vue = callPackage ./emporia_vue {}; 12 13 govee-lan = callPackage ./govee-lan {}; 14 15 gpio = callPackage ./gpio {}; ··· 17 localtuya = callPackage ./localtuya {}; 18 19 miele = callPackage ./miele {}; 20 21 omnik_inverter = callPackage ./omnik_inverter {}; 22
··· 10 11 emporia_vue = callPackage ./emporia_vue {}; 12 13 + epex_spot = callPackage ./epex_spot {}; 14 + 15 govee-lan = callPackage ./govee-lan {}; 16 17 gpio = callPackage ./gpio {}; ··· 19 localtuya = callPackage ./localtuya {}; 20 21 miele = callPackage ./miele {}; 22 + 23 + moonraker = callPackage ./moonraker {}; 24 25 omnik_inverter = callPackage ./omnik_inverter {}; 26
+39
pkgs/servers/home-assistant/custom-components/epex_spot/default.nix
···
··· 1 + { lib 2 + , fetchFromGitHub 3 + , buildHomeAssistantComponent 4 + , beautifulsoup4 5 + }: 6 + 7 + buildHomeAssistantComponent rec { 8 + owner = "mampfes"; 9 + domain = "epex_spot"; 10 + version = "2.3.5"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "mampfes"; 14 + repo = "ha_epex_spot"; 15 + rev = "refs/tags/${version}"; 16 + hash = "sha256-WmPsFfQm8ChEr41XVgKi2BGwta5aKH9GDz4iIfTAPK4="; 17 + }; 18 + 19 + propagatedBuildInputs = [ 20 + beautifulsoup4 21 + ]; 22 + 23 + postPatch = '' 24 + substituteInPlace custom_components/epex_spot/manifest.json --replace-fail 'bs4' 'beautifulsoup4' 25 + ''; 26 + 27 + #skip phases without activity 28 + dontConfigure = true; 29 + doCheck = false; 30 + dontBuild = true; 31 + 32 + meta = with lib; { 33 + changelog = "https://github.com/mampfes/ha_epex_spot/releases/tag/${version}"; 34 + description = "This component adds electricity prices from stock exchange EPEX Spot to Home Assistant"; 35 + homepage = "https://github.com/mampfes/ha_epex_spot"; 36 + maintainers = with maintainers; [ _9R ]; 37 + license = licenses.mit; 38 + }; 39 + }
+35
pkgs/servers/home-assistant/custom-components/moonraker/default.nix
···
··· 1 + { lib 2 + , fetchFromGitHub 3 + , buildHomeAssistantComponent 4 + , moonraker-api 5 + }: 6 + 7 + buildHomeAssistantComponent rec { 8 + owner = "marcolivierarsenault"; 9 + domain = "moonraker"; 10 + version = "1.1.1"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "marcolivierarsenault"; 14 + repo = "moonraker-home-assistant"; 15 + rev = "refs/tags/${version}"; 16 + hash = "sha256-jxMi4hmSVBU9ztoHxFINoJo8klirfo6j7gWty7FXFkQ="; 17 + }; 18 + 19 + propagatedBuildInputs = [ 20 + moonraker-api 21 + ]; 22 + 23 + #skip phases with nothing to do 24 + dontConfigure = true; 25 + dontBuild = true; 26 + doCheck = false; 27 + 28 + meta = with lib; { 29 + changelog = "https://github.com/marcolivierarsenault/moonraker-home-assistant/releases/tag/${version}"; 30 + description = "Custom integration for Moonraker and Klipper in Home Assistant"; 31 + homepage = "https://github.com/marcolivierarsenault/moonraker-home-assistant"; 32 + maintainers = with maintainers; [ _9R ]; 33 + license = licenses.mit; 34 + }; 35 + }
+3 -3
pkgs/servers/minio/default.nix
··· 21 in 22 buildGoModule rec { 23 pname = "minio"; 24 - version = "2024-03-07T00-43-48Z"; 25 26 src = fetchFromGitHub { 27 owner = "minio"; 28 repo = "minio"; 29 rev = "RELEASE.${version}"; 30 - hash = "sha256-W82479M4Bgq1ERpiAR6Zc5YDr8vADOtQThV6lSlDuTs="; 31 }; 32 33 - vendorHash = "sha256-VHokz58pSZd2Tt3hG8MgpeilEMFGjOZ/y6YKt9Fe5xw="; 34 35 doCheck = false; 36
··· 21 in 22 buildGoModule rec { 23 pname = "minio"; 24 + version = "2024-03-10T02-53-48Z"; 25 26 src = fetchFromGitHub { 27 owner = "minio"; 28 repo = "minio"; 29 rev = "RELEASE.${version}"; 30 + hash = "sha256-XcJm5FcX0NNjjY/WDQyR2RF8J3GkqEvpAhFDZj9ztks="; 31 }; 32 33 + vendorHash = "sha256-0W2D5CQkrZMPlehvmExeQ6txwEyRe3XZl0Bv0Ww5COs="; 34 35 doCheck = false; 36
+6 -46
pkgs/servers/monitoring/grafana/default.nix
··· 18 done 19 rm -r packages/grafana-e2e 20 ''; 21 - 22 - # Injects a `t.Skip()` into a given test since 23 - # there's apparently no other way to skip tests here. 24 - skipTest = lineOffset: testCase: file: 25 - let 26 - jumpAndAppend = lib.concatStringsSep ";" (lib.replicate (lineOffset - 1) "n" ++ [ "a" ]); 27 - in '' 28 - sed -i -e '/${testCase}/{ 29 - ${jumpAndAppend} t.Skip(); 30 - }' ${file} 31 - ''; 32 in 33 buildGoModule rec { 34 pname = "grafana"; 35 - version = "10.3.4"; 36 37 - excludedPackages = [ "alert_webhook_listener" "clean-swagger" "release_publisher" "slow_proxy" "slow_proxy_mac" "macaron" "devenv" "modowners" ]; 38 39 src = fetchFromGitHub { 40 owner = "grafana"; 41 repo = "grafana"; 42 rev = "v${version}"; 43 - hash = "sha256-zogjS8ywNVYF5W2/jCpBXmCu1MEqPbt2e6mCFborP7o="; 44 }; 45 46 offlineCache = stdenv.mkDerivation { ··· 48 inherit src; 49 nativeBuildInputs = [ 50 yarn nodejs cacert 51 - jq moreutils 52 ]; 53 postPatch = '' 54 ${patchAwayGrafanaE2E} ··· 67 dontInstall = true; 68 dontFixup = true; 69 outputHashMode = "recursive"; 70 - outputHash = "sha256-70eMa8E483f/Bz7iy+4Seap1EfIdjD5krnt6W9CUows="; 71 }; 72 73 disallowedRequisites = [ offlineCache ]; 74 75 - vendorHash = "sha256-PEPk3T/tCfJNZKOn3tL6p8Bnpc5wZMduNeHrv+l8mmU="; 76 77 nativeBuildInputs = [ wire yarn jq moreutils removeReferencesTo python3 ]; 78 ··· 90 GOARCH= CGO_ENABLED=0 go generate ./kinds/gen.go 91 GOARCH= CGO_ENABLED=0 go generate ./public/app/plugins/gen.go 92 GOARCH= CGO_ENABLED=0 go generate ./pkg/kindsys/report.go 93 - 94 - # Work around `main module (github.com/grafana/grafana) does not contain package github.com/grafana/grafana/pkg/util/xorm`. 95 - # Apparently these files confuse the dependency resolution for the go builder implemented here. 96 - rm pkg/util/xorm/go.{mod,sum} 97 - 98 - # The testcase makes an API call against grafana.com: 99 - # 100 - # [...] 101 - # grafana> t=2021-12-02T14:24:58+0000 lvl=dbug msg="Failed to get latest.json repo from github.com" logger=update.checker error="Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com on [::1]:53: read udp [::1]:36391->[::1]:53: read: connection refused" 102 - # grafana> t=2021-12-02T14:24:58+0000 lvl=dbug msg="Failed to get plugins repo from grafana.com" logger=plugin.manager error="Get \"https://grafana.com/api/plugins/versioncheck?slugIn=&grafanaVersion=\": dial tcp: lookup grafana.com on [::1]:53: read udp [::1]:41796->[::1]:53: read: connection refused" 103 - ${skipTest 1 "Request is not forbidden if from an admin" "pkg/tests/api/plugins/api_plugins_test.go"} 104 - 105 - # Skip a flaky test (https://github.com/NixOS/nixpkgs/pull/126928#issuecomment-861424128) 106 - ${skipTest 2 "it should change folder successfully and return correct result" "pkg/services/libraryelements/libraryelements_patch_test.go"} 107 - 108 - # Skip flaky tests (https://logs.ofborg.org/?key=nixos/nixpkgs.263185&attempt_id=5b056a17-67a7-4b74-9dc7-888eb1d6c2dd) 109 - ${skipTest 1 "TestIntegrationRulerAccess" "pkg/tests/api/alerting/api_alertmanager_test.go"} 110 - ${skipTest 1 "TestIntegrationRulePause" "pkg/tests/api/alerting/api_ruler_test.go"} 111 - 112 - # main module (github.com/grafana/grafana) does not contain package github.com/grafana/grafana/scripts/go 113 - rm -r scripts/go 114 - 115 - # Requires making API calls against storage.googleapis.com: 116 - # 117 - # [...] 118 - # grafana> 2023/08/24 08:30:23 failed to copy objects, err: Post "https://storage.googleapis.com/upload/storage/v1/b/grafana-testing-repo/o?alt=json&name=test-path%2Fbuild%2FTestCopyLocalDir2194093976%2F001%2Ffile2.txt&prettyPrint=false&projection=full&uploadType=multipart": dial tcp: lookup storage.googleapis.com on [::1]:53: read udp [::1]:36436->[::1]:53: read: connection refused 119 - # grafana> panic: test timed out after 10m0s 120 - rm pkg/build/gcloud/storage/gsutil_test.go 121 - 122 # Setup node_modules 123 export HOME="$(mktemp -d)" 124
··· 18 done 19 rm -r packages/grafana-e2e 20 ''; 21 in 22 buildGoModule rec { 23 pname = "grafana"; 24 + version = "10.4.0"; 25 26 + subPackages = [ "pkg/cmd/grafana" "pkg/cmd/grafana-server" "pkg/cmd/grafana-cli" ]; 27 28 src = fetchFromGitHub { 29 owner = "grafana"; 30 repo = "grafana"; 31 rev = "v${version}"; 32 + hash = "sha256-Rp2jGspbmqJFzSbiVy2/5oqQJnAdGG/T+VNBHVsHSwg="; 33 }; 34 35 offlineCache = stdenv.mkDerivation { ··· 37 inherit src; 38 nativeBuildInputs = [ 39 yarn nodejs cacert 40 + jq moreutils python3 41 ]; 42 postPatch = '' 43 ${patchAwayGrafanaE2E} ··· 56 dontInstall = true; 57 dontFixup = true; 58 outputHashMode = "recursive"; 59 + outputHash = "sha256-QdyXSPshzugkDTJoUrJlHNuhPAyR9gae5Cbk8Q8FSl4="; 60 }; 61 62 disallowedRequisites = [ offlineCache ]; 63 64 + vendorHash = "sha256-cNkMVLXp3hPMcW0ilOM0VlrrDX/IsZaze+/6qlTfmRs="; 65 66 nativeBuildInputs = [ wire yarn jq moreutils removeReferencesTo python3 ]; 67 ··· 79 GOARCH= CGO_ENABLED=0 go generate ./kinds/gen.go 80 GOARCH= CGO_ENABLED=0 go generate ./public/app/plugins/gen.go 81 GOARCH= CGO_ENABLED=0 go generate ./pkg/kindsys/report.go 82 # Setup node_modules 83 export HOME="$(mktemp -d)" 84
+3 -3
pkgs/servers/monitoring/prometheus/smartctl-exporter/default.nix
··· 6 7 buildGoModule rec { 8 pname = "smartctl_exporter"; 9 - version = "0.11.0"; 10 11 src = fetchFromGitHub { 12 owner = "prometheus-community"; 13 repo = pname; 14 rev = "refs/tags/v${version}"; 15 - hash = "sha256-oUdMsUAlN/4uRSzxQrO0TOVRgyEdxYkGtf3VoNbxdhw="; 16 }; 17 18 - vendorHash = "sha256-0WLI+nLhRkf1CGhSer1Jkv1nUho5sxIbTE/Mf5JmX7U="; 19 20 ldflags = [ 21 "-X github.com/prometheus/common/version.Version=${version}"
··· 6 7 buildGoModule rec { 8 pname = "smartctl_exporter"; 9 + version = "0.12.0"; 10 11 src = fetchFromGitHub { 12 owner = "prometheus-community"; 13 repo = pname; 14 rev = "refs/tags/v${version}"; 15 + hash = "sha256-QQoWAsnE/7ifvgEfQJ6cbzmwOrE7oe2zalTbu/P7r18="; 16 }; 17 18 + vendorHash = "sha256-WUB2FgBl4Tybz7T0yvcSYIlG75NEhXpn1F0yuB9F21g="; 19 20 ldflags = [ 21 "-X github.com/prometheus/common/version.Version=${version}"
+3 -3
pkgs/servers/redpanda/default.nix
··· 7 , stdenv 8 }: 9 let 10 - version = "23.3.7"; 11 src = fetchFromGitHub { 12 owner = "redpanda-data"; 13 repo = "redpanda"; 14 rev = "v${version}"; 15 - sha256 = "sha256-z5V9u81skkCBDoYGyC3ThGKI4KhQEdtmBqJSEbBHPF0="; 16 }; 17 server = callPackage ./server.nix { inherit src version; }; 18 in ··· 21 inherit doCheck src version; 22 modRoot = "./src/go/rpk"; 23 runVend = false; 24 - vendorHash = "sha256-dSCF44F+2GjWD/IcdA4fsfHsjVnX0bCXsG7r6C6ECak="; 25 26 ldflags = [ 27 ''-X "github.com/redpanda-data/redpanda/src/go/rpk/pkg/cli/cmd/version.version=${version}"''
··· 7 , stdenv 8 }: 9 let 10 + version = "23.3.8"; 11 src = fetchFromGitHub { 12 owner = "redpanda-data"; 13 repo = "redpanda"; 14 rev = "v${version}"; 15 + sha256 = "sha256-a5V9kvRm7Np0pE/gMHtlkgbIlKfY9ehFVU35QDwpHh0="; 16 }; 17 server = callPackage ./server.nix { inherit src version; }; 18 in ··· 21 inherit doCheck src version; 22 modRoot = "./src/go/rpk"; 23 runVend = false; 24 + vendorHash = "sha256-qjX0DVAZqr7Ec1dFs4zBlDpu69IkhgLkvy4FA7br7bk="; 25 26 ldflags = [ 27 ''-X "github.com/redpanda-data/redpanda/src/go/rpk/pkg/cli/cmd/version.version=${version}"''
+3 -3
pkgs/tools/networking/v2ray/default.nix
··· 6 7 buildGoModule rec { 8 pname = "v2ray-core"; 9 - version = "5.14.1"; 10 11 src = fetchFromGitHub { 12 owner = "v2fly"; 13 repo = "v2ray-core"; 14 rev = "v${version}"; 15 - hash = "sha256-fa8bgI1xpxunAr69xz2CPmo7XWoCODlBAnlb7fQg43U="; 16 }; 17 18 # `nix-update` doesn't support `vendorHash` yet. 19 # https://github.com/Mic92/nix-update/pull/95 20 - vendorHash = "sha256-PPytLBW+dvZW/TWjTpqkP1zPwgh1Ji58BHzBUY9wRW8="; 21 22 ldflags = [ "-s" "-w" ]; 23
··· 6 7 buildGoModule rec { 8 pname = "v2ray-core"; 9 + version = "5.15.0"; 10 11 src = fetchFromGitHub { 12 owner = "v2fly"; 13 repo = "v2ray-core"; 14 rev = "v${version}"; 15 + hash = "sha256-XxmzJfZa05Kf32Lh6FapYpQZProJyzlXoXKnDPiWqMQ="; 16 }; 17 18 # `nix-update` doesn't support `vendorHash` yet. 19 # https://github.com/Mic92/nix-update/pull/95 20 + vendorHash = "sha256-SQ7DcrKYf4Wclp/HG8e7q5YPvVNj/kHV/pGmEyOU/BY="; 21 22 ldflags = [ "-s" "-w" ]; 23
+3 -3
pkgs/tools/package-management/comma/default.nix
··· 10 11 rustPlatform.buildRustPackage rec { 12 pname = "comma"; 13 - version = "1.7.1"; 14 15 src = fetchFromGitHub { 16 owner = "nix-community"; 17 repo = "comma"; 18 rev = "v${version}"; 19 - hash = "sha256-x2HVm2vcEFHDrCQLIp5QzNsDARcbBfPdaIMLWVNfi4c="; 20 }; 21 22 - cargoHash = "sha256-N6Bc0+m0Qz1c/80oLvQTj8gvMusPXIriegNlRYWWStU="; 23 24 nativeBuildInputs = [ makeBinaryWrapper ]; 25
··· 10 11 rustPlatform.buildRustPackage rec { 12 pname = "comma"; 13 + version = "1.8.0"; 14 15 src = fetchFromGitHub { 16 owner = "nix-community"; 17 repo = "comma"; 18 rev = "v${version}"; 19 + hash = "sha256-PW9OS/ccRxigP0ikk1XR4QhQX4j9+ALQz0FMKXF3yRA="; 20 }; 21 22 + cargoHash = "sha256-lNz4E+dcJ6ACkNraM4DUR4yFbkWgAZ4ngbAML8JYVtE="; 23 24 nativeBuildInputs = [ makeBinaryWrapper ]; 25
+3 -3
pkgs/tools/security/cnspec/default.nix
··· 5 6 buildGoModule rec { 7 pname = "cnspec"; 8 - version = "10.7.1"; 9 10 src = fetchFromGitHub { 11 owner = "mondoohq"; 12 repo = "cnspec"; 13 rev = "refs/tags/v${version}"; 14 - hash = "sha256-i7XZXZuEZasW00HMpwyyS7pxI8hMrx6DZmp39sj1IyI="; 15 }; 16 17 proxyVendor = true; 18 19 - vendorHash = "sha256-B5wwA2S6LiMRBpM6fWaPVubKuOjkdYcffAssSbpLs48="; 20 21 subPackages = [ 22 "apps/cnspec"
··· 5 6 buildGoModule rec { 7 pname = "cnspec"; 8 + version = "10.7.3"; 9 10 src = fetchFromGitHub { 11 owner = "mondoohq"; 12 repo = "cnspec"; 13 rev = "refs/tags/v${version}"; 14 + hash = "sha256-TFwMquMyHnUGyHGKBrialsDKL5Mubsop1Sudyu/IGjE="; 15 }; 16 17 proxyVendor = true; 18 19 + vendorHash = "sha256-+hlJqcX3cGo/ej5HPPZBZCTUHvB9+/iPTebNKdokLQ0="; 20 21 subPackages = [ 22 "apps/cnspec"
+7 -8
pkgs/top-level/all-packages.nix
··· 5631 hypr = callPackage ../applications/window-managers/hyprwm/hypr { 5632 cairo = cairo.override { xcbSupport = true; }; }; 5633 5634 - hyprdim = callPackage ../applications/misc/hyprdim { }; 5635 - 5636 hyprland = callPackage ../applications/window-managers/hyprwm/hyprland { 5637 wlroots = callPackage ../applications/window-managers/hyprwm/hyprland/wlroots.nix { }; 5638 udis86 = callPackage ../applications/window-managers/hyprwm/hyprland/udis86.nix { }; ··· 5643 hyprland-per-window-layout = callPackage ../tools/wayland/hyprland-per-window-layout { }; 5644 5645 hyprland-protocols = callPackage ../applications/window-managers/hyprwm/hyprland-protocols { }; 5646 - 5647 - hyprnome = callPackage ../applications/misc/hyprnome { }; 5648 5649 hyprpaper = callPackage ../applications/window-managers/hyprwm/hyprpaper { }; 5650 ··· 18260 electron_25-bin 18261 electron_26-bin 18262 electron_27-bin 18263 - electron_28-bin; 18264 18265 electron_10 = electron_10-bin; 18266 electron_11 = electron_11-bin; ··· 18281 electron_26 = electron_26-bin; 18282 electron_27 = if lib.meta.availableOn stdenv.hostPlatform electron-source.electron_27 then electron-source.electron_27 else electron_27-bin; 18283 electron_28 = if lib.meta.availableOn stdenv.hostPlatform electron-source.electron_28 then electron-source.electron_28 else electron_28-bin; 18284 - electron_29 = electron-source.electron_29; 18285 electron = electron_29; 18286 18287 autobuild = callPackage ../development/tools/misc/autobuild { }; ··· 24454 24455 rlottie = callPackage ../development/libraries/rlottie { }; 24456 24457 - rocksdb = pin-to-gcc12-if-gcc13 (callPackage ../development/libraries/rocksdb { }); 24458 24459 rocksdb_7_10 = rocksdb.overrideAttrs rec { 24460 pname = "rocksdb"; ··· 38651 38652 getdp = callPackage ../applications/science/math/getdp { }; 38653 38654 - gurobi = callPackage ../applications/science/math/gurobi { }; 38655 38656 jags = callPackage ../applications/science/math/jags { }; 38657
··· 5631 hypr = callPackage ../applications/window-managers/hyprwm/hypr { 5632 cairo = cairo.override { xcbSupport = true; }; }; 5633 5634 hyprland = callPackage ../applications/window-managers/hyprwm/hyprland { 5635 wlroots = callPackage ../applications/window-managers/hyprwm/hyprland/wlroots.nix { }; 5636 udis86 = callPackage ../applications/window-managers/hyprwm/hyprland/udis86.nix { }; ··· 5641 hyprland-per-window-layout = callPackage ../tools/wayland/hyprland-per-window-layout { }; 5642 5643 hyprland-protocols = callPackage ../applications/window-managers/hyprwm/hyprland-protocols { }; 5644 5645 hyprpaper = callPackage ../applications/window-managers/hyprwm/hyprpaper { }; 5646 ··· 18256 electron_25-bin 18257 electron_26-bin 18258 electron_27-bin 18259 + electron_28-bin 18260 + electron_29-bin; 18261 18262 electron_10 = electron_10-bin; 18263 electron_11 = electron_11-bin; ··· 18278 electron_26 = electron_26-bin; 18279 electron_27 = if lib.meta.availableOn stdenv.hostPlatform electron-source.electron_27 then electron-source.electron_27 else electron_27-bin; 18280 electron_28 = if lib.meta.availableOn stdenv.hostPlatform electron-source.electron_28 then electron-source.electron_28 else electron_28-bin; 18281 + electron_29 = if lib.meta.availableOn stdenv.hostPlatform electron-source.electron_29 then electron-source.electron_29 else electron_29-bin; 18282 electron = electron_29; 18283 18284 autobuild = callPackage ../development/tools/misc/autobuild { }; ··· 24451 24452 rlottie = callPackage ../development/libraries/rlottie { }; 24453 24454 + rocksdb = callPackage ../development/libraries/rocksdb { }; 24455 24456 rocksdb_7_10 = rocksdb.overrideAttrs rec { 24457 pname = "rocksdb"; ··· 38648 38649 getdp = callPackage ../applications/science/math/getdp { }; 38650 38651 + gurobi = callPackage ../applications/science/math/gurobi { 38652 + python3 = python310; 38653 + }; 38654 38655 jags = callPackage ../applications/science/math/jags { }; 38656
+1 -2
pkgs/top-level/linux-kernels.nix
··· 713 ''; 714 }; 715 716 - buildLinux = attrs: callPackage ../os-specific/linux/kernel/generic.nix attrs; 717 - 718 }
··· 713 ''; 714 }; 715 716 + buildLinux = callPackage ../os-specific/linux/kernel/generic.nix {}; 717 }
-1
pkgs/top-level/python-aliases.nix
··· 302 pam = python-pam; # added 2020-09-07. 303 PasteDeploy = pastedeploy; # added 2021-10-07 304 pathpy = path; # added 2022-04-12 305 - paypalrestsdk = throw "paypalrestsdk was removed, the upstream repo was archived back in 2020"; # Added 2023-11-25 306 pdfposter = throw "pdfposter was promoted to a top-level attribute"; # Added 2023-06-29 307 pdfminer = pdfminer-six; # added 2022-05-25 308 pep257 = pydocstyle; # added 2022-04-12
··· 302 pam = python-pam; # added 2020-09-07. 303 PasteDeploy = pastedeploy; # added 2021-10-07 304 pathpy = path; # added 2022-04-12 305 pdfposter = throw "pdfposter was promoted to a top-level attribute"; # Added 2023-06-29 306 pdfminer = pdfminer-six; # added 2022-05-25 307 pep257 = pydocstyle; # added 2022-04-12
+5 -1
pkgs/top-level/python-packages.nix
··· 2527 2528 css-inline = callPackage ../development/python-modules/css-inline { 2529 inherit (pkgs.darwin) libiconv; 2530 - inherit (pkgs.darwin.apple_sdk.frameworks) Security; 2531 }; 2532 2533 css-parser = callPackage ../development/python-modules/css-parser { }; ··· 9297 paypal-checkout-serversdk = callPackage ../development/python-modules/paypal-checkout-serversdk { }; 9298 9299 paypalhttp = callPackage ../development/python-modules/paypalhttp { }; 9300 9301 pbkdf2 = callPackage ../development/python-modules/pbkdf2 { }; 9302 ··· 16357 wakeonlan = callPackage ../development/python-modules/wakeonlan { }; 16358 16359 wallbox = callPackage ../development/python-modules/wallbox { }; 16360 16361 walrus = callPackage ../development/python-modules/walrus { }; 16362
··· 2527 2528 css-inline = callPackage ../development/python-modules/css-inline { 2529 inherit (pkgs.darwin) libiconv; 2530 + inherit (pkgs.darwin.apple_sdk.frameworks) Security SystemConfiguration; 2531 }; 2532 2533 css-parser = callPackage ../development/python-modules/css-parser { }; ··· 9297 paypal-checkout-serversdk = callPackage ../development/python-modules/paypal-checkout-serversdk { }; 9298 9299 paypalhttp = callPackage ../development/python-modules/paypalhttp { }; 9300 + 9301 + paypalrestsdk = callPackage ../development/python-modules/paypalrestsdk { }; 9302 9303 pbkdf2 = callPackage ../development/python-modules/pbkdf2 { }; 9304 ··· 16359 wakeonlan = callPackage ../development/python-modules/wakeonlan { }; 16360 16361 wallbox = callPackage ../development/python-modules/wallbox { }; 16362 + 16363 + wallet-py3k = callPackage ../development/python-modules/wallet-py3k { }; 16364 16365 walrus = callPackage ../development/python-modules/walrus { }; 16366