nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

Merge master into haskell-updates

authored by

github-actions[bot] and committed by
GitHub
f22d2b21 a67028b8

+3355 -2014
+2 -2
doc/builders/packages/citrix.section.md
··· 4 4 5 5 ## Basic usage {#sec-citrix-base} 6 6 7 - The tarball archive needs to be downloaded manually, as the license agreements of the vendor for [Citrix Workspace](https://www.citrix.de/downloads/workspace-app/linux/workspace-app-for-linux-latest.html) needs to be accepted first. Then run `nix-prefetch-url file://$PWD/linuxx64-$version.tar.gz`. With the archive available in the store, the package can be built and installed with Nix. 7 + The tarball archive needs to be downloaded manually, as the license agreements of the vendor for [Citrix Workspace](https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html) needs to be accepted first. Then run `nix-prefetch-url file://$PWD/linuxx64-$version.tar.gz`. With the archive available in the store, the package can be built and installed with Nix. 8 8 9 9 ## Citrix Self-service {#sec-citrix-selfservice} 10 10 ··· 19 19 20 20 ## Custom certificates {#sec-citrix-custom-certs} 21 21 22 - The `Citrix Workspace App` in `nixpkgs` trusts several certificates [from the Mozilla database](https://curl.haxx.se/docs/caextract.html) by default. However, several companies using Citrix might require their own corporate certificate. On distros with imperative packaging, these certs can be stored easily in [`$ICAROOT`](https://developer-docs.citrix.com/projects/receiver-for-linux-command-reference/en/13.7/), however this directory is a store path in `nixpkgs`. In order to work around this issue, the package provides a simple mechanism to add custom certificates without rebuilding the entire package using `symlinkJoin`: 22 + The `Citrix Workspace App` in `nixpkgs` trusts several certificates [from the Mozilla database](https://curl.haxx.se/docs/caextract.html) by default. However, several companies using Citrix might require their own corporate certificate. On distros with imperative packaging, these certs can be stored easily in [`$ICAROOT`](https://citrix.github.io/receiver-for-linux-command-reference/), however this directory is a store path in `nixpkgs`. In order to work around this issue, the package provides a simple mechanism to add custom certificates without rebuilding the entire package using `symlinkJoin`: 23 23 24 24 ```nix 25 25 with import <nixpkgs> { config.allowUnfree = true; };
+1 -1
doc/builders/packages/ibus.section.md
··· 4 4 5 5 ## Activating the engine {#sec-ibus-typing-booster-activate} 6 6 7 - IBus needs to be configured accordingly to activate `typing-booster`. The configuration depends on the desktop manager in use. For detailed instructions, please refer to the [upstream docs](https://mike-fabian.github.io/ibus-typing-booster/documentation.html). 7 + IBus needs to be configured accordingly to activate `typing-booster`. The configuration depends on the desktop manager in use. For detailed instructions, please refer to the [upstream docs](https://mike-fabian.github.io/ibus-typing-booster/). 8 8 9 9 On NixOS, you need to explicitly enable `ibus` with given engines before customizing your desktop to use `typing-booster`. This can be achieved using the `ibus` module: 10 10
+3 -3
doc/languages-frameworks/dotnet.section.md
··· 28 28 packages = [ 29 29 (with dotnetCorePackages; combinePackages [ 30 30 sdk_3_1 31 - sdk_5_0 31 + sdk_6_0 32 32 ]) 33 33 ]; 34 34 } 35 35 ``` 36 36 37 - This will produce a dotnet installation that has the dotnet 3.1, 3.0, and 2.1 sdk. The first sdk listed will have it's cli utility present in the resulting environment. Example info output: 37 + This will produce a dotnet installation that has the dotnet 3.1 6.0 sdk. The first sdk listed will have it's cli utility present in the resulting environment. Example info output: 38 38 39 39 ```ShellSession 40 40 $ dotnet --info ··· 120 120 projectReferences = [ referencedProject ]; # `referencedProject` must contain `nupkg` in the folder structure. 121 121 122 122 dotnet-sdk = dotnetCorePackages.sdk_3_1; 123 - dotnet-runtime = dotnetCorePackages.net_5_0; 123 + dotnet-runtime = dotnetCorePackages.net_6_0; 124 124 125 125 executables = [ "foo" ]; # This wraps "$out/lib/$pname/foo" to `$out/bin/foo`. 126 126 executables = []; # Don't install any executables.
+2 -2
doc/languages-frameworks/gnome.section.md
··· 34 34 35 35 ### GdkPixbuf loaders {#ssec-gnome-gdk-pixbuf-loaders} 36 36 37 - GTK applications typically use [GdkPixbuf](https://developer.gnome.org/gdk-pixbuf/stable/) to load images. But `gdk-pixbuf` package only supports basic bitmap formats like JPEG, PNG or TIFF, requiring to use third-party loader modules for other formats. This is especially painful since GTK itself includes SVG icons, which cannot be rendered without a loader provided by `librsvg`. 37 + GTK applications typically use [GdkPixbuf](https://gitlab.gnome.org/GNOME/gdk-pixbuf/) to load images. But `gdk-pixbuf` package only supports basic bitmap formats like JPEG, PNG or TIFF, requiring to use third-party loader modules for other formats. This is especially painful since GTK itself includes SVG icons, which cannot be rendered without a loader provided by `librsvg`. 38 38 39 39 Unlike other libraries mentioned in this section, GdkPixbuf only supports a single value in its controlling environment variable `GDK_PIXBUF_MODULE_FILE`. It is supposed to point to a cache file containing information about the available loaders. Each loader package will contain a `lib/gdk-pixbuf-2.0/2.10.0/loaders.cache` file describing the default loaders in `gdk-pixbuf` package plus the loader contained in the package itself. If you want to use multiple third-party loaders, you will need to create your own cache file manually. Fortunately, this is pretty rare as [not many loaders exist](https://gitlab.gnome.org/federico/gdk-pixbuf-survey/blob/master/src/modules.md). 40 40 ··· 70 70 71 71 ### GTK Themes {#ssec-gnome-themes} 72 72 73 - Previously, a GTK theme needed to be in `XDG_DATA_DIRS`. This is no longer necessary for most programs since GTK incorporated Adwaita theme. Some programs (for example, those designed for [elementary HIG](https://elementary.io/docs/human-interface-guidelines#human-interface-guidelines)) might require a special theme like `pantheon.elementary-gtk-theme`. 73 + Previously, a GTK theme needed to be in `XDG_DATA_DIRS`. This is no longer necessary for most programs since GTK incorporated Adwaita theme. Some programs (for example, those designed for [elementary HIG](https://docs.elementary.io/hig)) might require a special theme like `pantheon.elementary-gtk-theme`. 74 74 75 75 ### GObject introspection typelibs {#ssec-gnome-typelibs} 76 76
+6 -1
lib/licenses.nix
··· 715 715 716 716 ncsa = { 717 717 spdxId = "NCSA"; 718 - fullName = "University of Illinois/NCSA Open Source License"; 718 + fullName = "University of Illinois/NCSA Open Source License"; 719 + }; 720 + 721 + nlpl = { 722 + spdxId = "NLPL"; 723 + fullName = "No Limit Public License"; 719 724 }; 720 725 721 726 nposl3 = {
+6
maintainers/maintainer-list.nix
··· 12269 12269 githubId = 710906; 12270 12270 name = "Roel van Dijk"; 12271 12271 }; 12272 + roman = { 12273 + email = "open-source@roman-gonzalez.info"; 12274 + github = "roman"; 12275 + githubId = 7335; 12276 + name = "Roman Gonzalez"; 12277 + }; 12272 12278 romildo = { 12273 12279 email = "malaquias@gmail.com"; 12274 12280 github = "romildo";
+1
maintainers/scripts/luarocks-packages.csv
··· 65 65 luaexpat,,,,1.4.1-1,,arobyn flosse 66 66 luaffi,,,http://luarocks.org/dev,,, 67 67 luafilesystem,,,,1.8.0-1,,flosse 68 + lualdap,,,,,,aanderse 68 69 lualogging,,,,,, 69 70 luaossl,,,,,5.1, 70 71 luaposix,,,,34.1.1-1,,vyp lblasc
+14
nixos/doc/manual/from_md/release-notes/rl-2305.section.xml
··· 63 63 </listitem> 64 64 <listitem> 65 65 <para> 66 + <link xlink:href="https://www.magicbug.co.uk/cloudlog/">Cloudlog</link>, 67 + a web-based Amateur Radio logging application. Available as 68 + <link linkend="opt-services.cloudlog.enable">services.cloudlog</link>. 69 + </para> 70 + </listitem> 71 + <listitem> 72 + <para> 66 73 <link xlink:href="https://github.com/junegunn/fzf">fzf</link>, 67 74 a command line fuzzyfinder. Available as 68 75 <link linkend="opt-programs.fzf.fuzzyCompletion">programs.fzf</link>. ··· 377 370 package has been removed in favour of direct use of its 378 371 constitutents: <literal>xorg.libX11</literal>, 379 372 <literal>freetype</literal> and others. 373 + </para> 374 + </listitem> 375 + <listitem> 376 + <para> 377 + .NET 5.0 was removed due to being end-of-life, use a newer, 378 + supported .NET version - 379 + https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core 380 380 </para> 381 381 </listitem> 382 382 </itemizedlist>
+4
nixos/doc/manual/release-notes/rl-2305.section.md
··· 24 24 25 25 - [cups-pdf-to-pdf](https://github.com/alexivkin/CUPS-PDF-to-PDF), a pdf-generating cups backend based on [cups-pdf](https://www.cups-pdf.de/). Available as [services.printing.cups-pdf](#opt-services.printing.cups-pdf.enable). 26 26 27 + - [Cloudlog](https://www.magicbug.co.uk/cloudlog/), a web-based Amateur Radio logging application. Available as [services.cloudlog](#opt-services.cloudlog.enable). 28 + 27 29 - [fzf](https://github.com/junegunn/fzf), a command line fuzzyfinder. Available as [programs.fzf](#opt-programs.fzf.fuzzyCompletion). 28 30 29 31 - [gmediarender](https://github.com/hzeller/gmrender-resurrect), a simple, headless UPnP/DLNA renderer. Available as [services.gmediarender](options.html#opt-services.gmediarender.enable). ··· 92 90 - The `nix.readOnlyStore` option has been renamed to `boot.readOnlyNixStore` to clarify that it configures the NixOS boot process, not the Nix daemon. 93 91 94 92 - Deprecated `xlibsWrapper` transitional package has been removed in favour of direct use of its constitutents: `xorg.libX11`, `freetype` and others. 93 + 94 + - .NET 5.0 was removed due to being end-of-life, use a newer, supported .NET version - https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core 95 95 96 96 ## Other Notable Changes {#sec-release-23.05-notable-changes} 97 97
+3
nixos/modules/config/no-x-libs.nix
··· 59 59 pinentry = super.pinentry.override { enabledFlavors = [ "curses" "tty" "emacs" ]; withLibsecret = false; }; 60 60 qemu = super.qemu.override { gtkSupport = false; spiceSupport = false; sdlSupport = false; }; 61 61 qrencode = super.qrencode.overrideAttrs (_: { doCheck = false; }); 62 + qt5 = super.qt5.overrideScope' (self: super: { 63 + qtbase = super.qtbase.override { withGtk3 = false; }; 64 + }); 62 65 stoken = super.stoken.override { withGTK3 = false; }; 63 66 # translateManpages -> perlPackages.po4a -> texlive-combined-basic -> texlive-core-big -> libX11 64 67 util-linux = super.util-linux.override { translateManpages = false; };
+1
nixos/modules/module-list.nix
··· 1119 1119 ./services/web-apps/bookstack.nix 1120 1120 ./services/web-apps/calibre-web.nix 1121 1121 ./services/web-apps/changedetection-io.nix 1122 + ./services/web-apps/cloudlog.nix 1122 1123 ./services/web-apps/code-server.nix 1123 1124 ./services/web-apps/convos.nix 1124 1125 ./services/web-apps/dex.nix
+502
nixos/modules/services/web-apps/cloudlog.nix
··· 1 + { config, pkgs, lib, ... }: 2 + 3 + with lib; 4 + 5 + let 6 + cfg = config.services.cloudlog; 7 + dbFile = let 8 + password = if cfg.database.createLocally 9 + then "''" 10 + else "trim(file_get_contents('${cfg.database.passwordFile}'))"; 11 + in pkgs.writeText "database.php" '' 12 + <?php 13 + defined('BASEPATH') OR exit('No direct script access allowed'); 14 + $active_group = 'default'; 15 + $query_builder = TRUE; 16 + $db['default'] = array( 17 + 'dsn' => "", 18 + 'hostname' => '${cfg.database.host}', 19 + 'username' => '${cfg.database.user}', 20 + 'password' => ${password}, 21 + 'database' => '${cfg.database.name}', 22 + 'dbdriver' => 'mysqli', 23 + 'dbprefix' => "", 24 + 'pconnect' => TRUE, 25 + 'db_debug' => (ENVIRONMENT !== 'production'), 26 + 'cache_on' => FALSE, 27 + 'cachedir' => "", 28 + 'char_set' => 'utf8mb4', 29 + 'dbcollat' => 'utf8mb4_general_ci', 30 + 'swap_pre' => "", 31 + 'encrypt' => FALSE, 32 + 'compress' => FALSE, 33 + 'stricton' => FALSE, 34 + 'failover' => array(), 35 + 'save_queries' => TRUE 36 + ); 37 + ''; 38 + configFile = pkgs.writeText "config.php" '' 39 + ${strings.fileContents "${pkgs.cloudlog}/install/config/config.php"} 40 + $config['datadir'] = "${cfg.dataDir}/"; 41 + $config['base_url'] = "${cfg.baseUrl}"; 42 + ${cfg.extraConfig} 43 + ''; 44 + package = pkgs.stdenv.mkDerivation rec { 45 + pname = "cloudlog"; 46 + version = src.version; 47 + src = pkgs.cloudlog; 48 + installPhase = '' 49 + mkdir -p $out 50 + cp -r * $out/ 51 + 52 + ln -s ${configFile} $out/application/config/config.php 53 + ln -s ${dbFile} $out/application/config/database.php 54 + 55 + # link writable directories 56 + for directory in updates uploads backup logbook; do 57 + rm -rf $out/$directory 58 + ln -s ${cfg.dataDir}/$directory $out/$directory 59 + done 60 + 61 + # link writable asset files 62 + for asset in dok sota wwff; do 63 + rm -rf $out/assets/json/$asset.txt 64 + ln -s ${cfg.dataDir}/assets/json/$asset.txt $out/assets/json/$asset.txt 65 + done 66 + ''; 67 + }; 68 + in 69 + { 70 + options.services.cloudlog = with types; { 71 + enable = mkEnableOption (mdDoc "Whether to enable Cloudlog."); 72 + dataDir = mkOption { 73 + type = str; 74 + default = "/var/lib/cloudlog"; 75 + description = mdDoc "Cloudlog data directory."; 76 + }; 77 + baseUrl = mkOption { 78 + type = str; 79 + default = "http://localhost"; 80 + description = mdDoc "Cloudlog base URL"; 81 + }; 82 + user = mkOption { 83 + type = str; 84 + default = "cloudlog"; 85 + description = mdDoc "User account under which Cloudlog runs."; 86 + }; 87 + database = { 88 + createLocally = mkOption { 89 + type = types.bool; 90 + default = true; 91 + description = lib.mdDoc "Create the database and database user locally."; 92 + }; 93 + host = mkOption { 94 + type = str; 95 + description = mdDoc "MySQL database host"; 96 + default = "localhost"; 97 + }; 98 + name = mkOption { 99 + type = str; 100 + description = mdDoc "MySQL database name."; 101 + default = "cloudlog"; 102 + }; 103 + user = mkOption { 104 + type = str; 105 + description = mdDoc "MySQL user name."; 106 + default = "cloudlog"; 107 + }; 108 + passwordFile = mkOption { 109 + type = nullOr str; 110 + description = mdDoc "MySQL user password file."; 111 + default = null; 112 + }; 113 + }; 114 + poolConfig = mkOption { 115 + type = attrsOf (oneOf [ str int bool ]); 116 + default = { 117 + "pm" = "dynamic"; 118 + "pm.max_children" = 32; 119 + "pm.start_servers" = 2; 120 + "pm.min_spare_servers" = 2; 121 + "pm.max_spare_servers" = 4; 122 + "pm.max_requests" = 500; 123 + }; 124 + description = mdDoc '' 125 + Options for Cloudlog's PHP-FPM pool. 126 + ''; 127 + }; 128 + virtualHost = mkOption { 129 + type = nullOr str; 130 + default = "localhost"; 131 + description = mdDoc '' 132 + Name of the nginx virtualhost to use and setup. If null, do not setup 133 + any virtualhost. 134 + ''; 135 + }; 136 + extraConfig = mkOption { 137 + description = mdDoc '' 138 + Any additional text to be appended to the config.php 139 + configuration file. This is a PHP script. For configuration 140 + settings, see <https://github.com/magicbug/Cloudlog/wiki/Cloudlog.php-Configuration-File>. 141 + ''; 142 + default = ""; 143 + type = str; 144 + example = '' 145 + $config['show_time'] = TRUE; 146 + ''; 147 + }; 148 + upload-lotw = { 149 + enable = mkOption { 150 + type = bool; 151 + default = true; 152 + description = mdDoc '' 153 + Whether to periodically upload logs to LoTW. If enabled, a systemd 154 + timer will run the log upload task as specified by the interval 155 + option. 156 + ''; 157 + }; 158 + interval = mkOption { 159 + type = str; 160 + default = "daily"; 161 + description = mdDoc '' 162 + Specification (in the format described by systemd.time(7)) of the 163 + time at which the LoTW upload will occur. 164 + ''; 165 + }; 166 + }; 167 + upload-clublog = { 168 + enable = mkOption { 169 + type = bool; 170 + default = true; 171 + description = mdDoc '' 172 + Whether to periodically upload logs to Clublog. If enabled, a systemd 173 + timer will run the log upload task as specified by the interval option. 174 + ''; 175 + }; 176 + interval = mkOption { 177 + type = str; 178 + default = "daily"; 179 + description = mdDoc '' 180 + Specification (in the format described by systemd.time(7)) of the time 181 + at which the Clublog upload will occur. 182 + ''; 183 + }; 184 + }; 185 + update-lotw-users = { 186 + enable = mkOption { 187 + type = bool; 188 + default = true; 189 + description = mdDoc '' 190 + Whether to periodically update the list of LoTW users. If enabled, a 191 + systemd timer will run the update task as specified by the interval 192 + option. 193 + ''; 194 + }; 195 + interval = mkOption { 196 + type = str; 197 + default = "weekly"; 198 + description = mdDoc '' 199 + Specification (in the format described by systemd.time(7)) of the 200 + time at which the LoTW user update will occur. 201 + ''; 202 + }; 203 + }; 204 + update-dok = { 205 + enable = mkOption { 206 + type = bool; 207 + default = true; 208 + description = mdDoc '' 209 + Whether to periodically update the DOK resource file. If enabled, a 210 + systemd timer will run the update task as specified by the interval option. 211 + ''; 212 + }; 213 + interval = mkOption { 214 + type = str; 215 + default = "monthly"; 216 + description = mdDoc '' 217 + Specification (in the format described by systemd.time(7)) of the 218 + time at which the DOK update will occur. 219 + ''; 220 + }; 221 + }; 222 + update-clublog-scp = { 223 + enable = mkOption { 224 + type = bool; 225 + default = true; 226 + description = mdDoc '' 227 + Whether to periodically update the Clublog SCP database. If enabled, 228 + a systemd timer will run the update task as specified by the interval 229 + option. 230 + ''; 231 + }; 232 + interval = mkOption { 233 + type = str; 234 + default = "monthly"; 235 + description = mdDoc '' 236 + Specification (in the format described by systemd.time(7)) of the time 237 + at which the Clublog SCP update will occur. 238 + ''; 239 + }; 240 + }; 241 + update-wwff = { 242 + enable = mkOption { 243 + type = bool; 244 + default = true; 245 + description = mdDoc '' 246 + Whether to periodically update the WWFF database. If enabled, a 247 + systemd timer will run the update task as specified by the interval 248 + option. 249 + ''; 250 + }; 251 + interval = mkOption { 252 + type = str; 253 + default = "monthly"; 254 + description = mdDoc '' 255 + Specification (in the format described by systemd.time(7)) of the time 256 + at which the WWFF update will occur. 257 + ''; 258 + }; 259 + }; 260 + upload-qrz = { 261 + enable = mkOption { 262 + type = bool; 263 + default = true; 264 + description = mdDoc '' 265 + Whether to periodically upload logs to QRZ. If enabled, a systemd 266 + timer will run the update task as specified by the interval option. 267 + ''; 268 + }; 269 + interval = mkOption { 270 + type = str; 271 + default = "daily"; 272 + description = mdDoc '' 273 + Specification (in the format described by systemd.time(7)) of the 274 + time at which the QRZ upload will occur. 275 + ''; 276 + }; 277 + }; 278 + update-sota = { 279 + enable = mkOption { 280 + type = bool; 281 + default = true; 282 + description = mdDoc '' 283 + Whether to periodically update the SOTA database. If enabled, a 284 + systemd timer will run the update task as specified by the interval option. 285 + ''; 286 + }; 287 + interval = mkOption { 288 + type = str; 289 + default = "monthly"; 290 + description = mdDoc '' 291 + Specification (in the format described by systemd.time(7)) of the time 292 + at which the SOTA update will occur. 293 + ''; 294 + }; 295 + }; 296 + }; 297 + config = mkIf cfg.enable { 298 + 299 + assertions = [ 300 + { 301 + assertion = cfg.database.createLocally -> cfg.database.passwordFile == null; 302 + message = "services.cloudlog.database.passwordFile cannot be specified if services.cloudlog.database.createLocally is set to true."; 303 + } 304 + ]; 305 + 306 + services.phpfpm = { 307 + pools.cloudlog = { 308 + inherit (cfg) user; 309 + group = config.services.nginx.group; 310 + settings = { 311 + "listen.owner" = config.services.nginx.user; 312 + "listen.group" = config.services.nginx.group; 313 + } // cfg.poolConfig; 314 + }; 315 + }; 316 + 317 + services.nginx = mkIf (cfg.virtualHost != null) { 318 + enable = true; 319 + virtualHosts = { 320 + "${cfg.virtualHost}" = { 321 + root = "${package}"; 322 + locations."/".tryFiles = "$uri /index.php$is_args$args"; 323 + locations."~ ^/index.php(/|$)".extraConfig = '' 324 + include ${config.services.nginx.package}/conf/fastcgi_params; 325 + include ${pkgs.nginx}/conf/fastcgi.conf; 326 + fastcgi_split_path_info ^(.+\.php)(.+)$; 327 + fastcgi_pass unix:${config.services.phpfpm.pools.cloudlog.socket}; 328 + fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; 329 + ''; 330 + }; 331 + }; 332 + }; 333 + 334 + services.mysql = mkIf cfg.database.createLocally { 335 + enable = true; 336 + ensureDatabases = [ cfg.database.name ]; 337 + ensureUsers = [{ 338 + name = cfg.database.user; 339 + ensurePermissions = { 340 + "${cfg.database.name}.*" = "ALL PRIVILEGES"; 341 + }; 342 + }]; 343 + }; 344 + 345 + systemd = { 346 + services = { 347 + cloudlog-setup-database = mkIf cfg.database.createLocally { 348 + description = "Set up cloudlog database"; 349 + serviceConfig = { 350 + Type = "oneshot"; 351 + RemainAfterExit = true; 352 + }; 353 + wantedBy = [ "phpfpm-cloudlog.service" ]; 354 + after = [ "mysql.service" ]; 355 + script = let 356 + mysql = "${config.services.mysql.package}/bin/mysql"; 357 + in '' 358 + if [ ! -f ${cfg.dataDir}/.dbexists ]; then 359 + ${mysql} ${cfg.database.name} < ${pkgs.cloudlog}/install/assets/install.sql 360 + touch ${cfg.dataDir}/.dbexists 361 + fi 362 + ''; 363 + }; 364 + cloudlog-upload-lotw = { 365 + description = "Upload QSOs to LoTW if certs have been provided"; 366 + enable = cfg.upload-lotw.enable; 367 + script = "${pkgs.curl}/bin/curl -s ${cfg.baseUrl}/lotw/lotw_upload"; 368 + }; 369 + cloudlog-update-lotw-users = { 370 + description = "Update LOTW Users Database"; 371 + enable = cfg.update-lotw-users.enable; 372 + script = "${pkgs.curl}/bin/curl -s ${cfg.baseUrl}/lotw/load_users"; 373 + }; 374 + cloudlog-update-dok = { 375 + description = "Update DOK File for autocomplete"; 376 + enable = cfg.update-dok.enable; 377 + script = "${pkgs.curl}/bin/curl -s ${cfg.baseUrl}/update/update_dok"; 378 + }; 379 + cloudlog-update-clublog-scp = { 380 + description = "Update Clublog SCP Database File"; 381 + enable = cfg.update-clublog-scp.enable; 382 + script = "${pkgs.curl}/bin/curl -s ${cfg.baseUrl}/update/update_clublog_scp"; 383 + }; 384 + cloudlog-update-wwff = { 385 + description = "Update WWFF File for autocomplete"; 386 + enable = cfg.update-wwff.enable; 387 + script = "${pkgs.curl}/bin/curl -s ${cfg.baseUrl}/update/update_wwff"; 388 + }; 389 + cloudlog-upload-qrz = { 390 + description = "Upload QSOs to QRZ Logbook"; 391 + enable = cfg.upload-qrz.enable; 392 + script = "${pkgs.curl}/bin/curl -s ${cfg.baseUrl}/qrz/upload"; 393 + }; 394 + cloudlog-update-sota = { 395 + description = "Update SOTA File for autocomplete"; 396 + enable = cfg.update-sota.enable; 397 + script = "${pkgs.curl}/bin/curl -s ${cfg.baseUrl}/update/update_sota"; 398 + }; 399 + }; 400 + timers = { 401 + cloudlog-upload-lotw = { 402 + enable = cfg.upload-lotw.enable; 403 + wantedBy = [ "timers.target" ]; 404 + partOf = [ "cloudlog-upload-lotw.service" ]; 405 + after = [ "phpfpm-cloudlog.service" ]; 406 + timerConfig = { 407 + OnCalendar = cfg.upload-lotw.interval; 408 + Persistent = true; 409 + }; 410 + }; 411 + cloudlog-upload-clublog = { 412 + enable = cfg.upload-clublog.enable; 413 + wantedBy = [ "timers.target" ]; 414 + partOf = [ "cloudlog-upload-clublog.service" ]; 415 + after = [ "phpfpm-cloudlog.service" ]; 416 + timerConfig = { 417 + OnCalendar = cfg.upload-clublog.interval; 418 + Persistent = true; 419 + }; 420 + }; 421 + cloudlog-update-lotw-users = { 422 + enable = cfg.update-lotw-users.enable; 423 + wantedBy = [ "timers.target" ]; 424 + partOf = [ "cloudlog-update-lotw-users.service" ]; 425 + after = [ "phpfpm-cloudlog.service" ]; 426 + timerConfig = { 427 + OnCalendar = cfg.update-lotw-users.interval; 428 + Persistent = true; 429 + }; 430 + }; 431 + cloudlog-update-dok = { 432 + enable = cfg.update-dok.enable; 433 + wantedBy = [ "timers.target" ]; 434 + partOf = [ "cloudlog-update-dok.service" ]; 435 + after = [ "phpfpm-cloudlog.service" ]; 436 + timerConfig = { 437 + OnCalendar = cfg.update-dok.interval; 438 + Persistent = true; 439 + }; 440 + }; 441 + cloudlog-update-clublog-scp = { 442 + enable = cfg.update-clublog-scp.enable; 443 + wantedBy = [ "timers.target" ]; 444 + partOf = [ "cloudlog-update-clublog-scp.service" ]; 445 + after = [ "phpfpm-cloudlog.service" ]; 446 + timerConfig = { 447 + OnCalendar = cfg.update-clublog-scp.interval; 448 + Persistent = true; 449 + }; 450 + }; 451 + cloudlog-update-wwff = { 452 + enable = cfg.update-wwff.enable; 453 + wantedBy = [ "timers.target" ]; 454 + partOf = [ "cloudlog-update-wwff.service" ]; 455 + after = [ "phpfpm-cloudlog.service" ]; 456 + timerConfig = { 457 + OnCalendar = cfg.update-wwff.interval; 458 + Persistent = true; 459 + }; 460 + }; 461 + cloudlog-upload-qrz = { 462 + enable = cfg.upload-qrz.enable; 463 + wantedBy = [ "timers.target" ]; 464 + partOf = [ "cloudlog-upload-qrz.service" ]; 465 + after = [ "phpfpm-cloudlog.service" ]; 466 + timerConfig = { 467 + OnCalendar = cfg.upload-qrz.interval; 468 + Persistent = true; 469 + }; 470 + }; 471 + cloudlog-update-sota = { 472 + enable = cfg.update-sota.enable; 473 + wantedBy = [ "timers.target" ]; 474 + partOf = [ "cloudlog-update-sota.service" ]; 475 + after = [ "phpfpm-cloudlog.service" ]; 476 + timerConfig = { 477 + OnCalendar = cfg.update-sota.interval; 478 + Persistent = true; 479 + }; 480 + }; 481 + }; 482 + tmpfiles.rules = let 483 + group = config.services.nginx.group; 484 + in [ 485 + "d ${cfg.dataDir} 0750 ${cfg.user} ${group} - -" 486 + "d ${cfg.dataDir}/updates 0750 ${cfg.user} ${group} - -" 487 + "d ${cfg.dataDir}/uploads 0750 ${cfg.user} ${group} - -" 488 + "d ${cfg.dataDir}/backup 0750 ${cfg.user} ${group} - -" 489 + "d ${cfg.dataDir}/logbook 0750 ${cfg.user} ${group} - -" 490 + "d ${cfg.dataDir}/assets/json 0750 ${cfg.user} ${group} - -" 491 + "d ${cfg.dataDir}/assets/qslcard 0750 ${cfg.user} ${group} - -" 492 + ]; 493 + }; 494 + 495 + users.users."${cfg.user}" = { 496 + isSystemUser = true; 497 + group = config.services.nginx.group; 498 + }; 499 + }; 500 + 501 + meta.maintainers = with maintainers; [ melling ]; 502 + }
+5 -3
nixos/modules/system/boot/systemd/initrd.nix
··· 343 343 system.build = { inherit initialRamdisk; }; 344 344 345 345 boot.initrd.availableKernelModules = [ 346 - "autofs4" # systemd needs this for some features 347 - "tpm-tis" "tpm-crb" # systemd-cryptenroll 348 - ]; 346 + # systemd needs this for some features 347 + "autofs4" 348 + # systemd-cryptenroll 349 + "tpm-tis" 350 + ] ++ lib.optional (pkgs.stdenv.hostPlatform.system != "riscv64-linux") "tpm-crb"; 349 351 350 352 boot.initrd.systemd = { 351 353 initrdBin = [pkgs.bash pkgs.coreutils cfg.package.kmod cfg.package] ++ config.system.fsPackages;
+1
nixos/tests/all-tests.nix
··· 131 131 clickhouse = handleTest ./clickhouse.nix {}; 132 132 cloud-init = handleTest ./cloud-init.nix {}; 133 133 cloud-init-hostname = handleTest ./cloud-init-hostname.nix {}; 134 + cloudlog = handleTest ./cloudlog.nix {}; 134 135 cntr = handleTestOn ["aarch64-linux" "x86_64-linux"] ./cntr.nix {}; 135 136 cockroachdb = handleTestOn ["x86_64-linux"] ./cockroachdb.nix {}; 136 137 collectd = handleTest ./collectd.nix {};
+18
nixos/tests/cloudlog.nix
··· 1 + import ./make-test-python.nix ({ pkgs, ... }: { 2 + name = "cloudlog"; 3 + meta = { 4 + maintainers = with pkgs.lib.maintainers; [ melling ]; 5 + }; 6 + nodes = { 7 + machine = { 8 + services.mysql.package = pkgs.mariadb; 9 + services.cloudlog.enable = true; 10 + }; 11 + }; 12 + testScript = '' 13 + start_all() 14 + machine.wait_for_unit("phpfpm-cloudlog") 15 + machine.wait_for_open_port(80); 16 + machine.wait_until_succeeds("curl -s -L --fail http://localhost | grep 'Login - Cloudlog'") 17 + ''; 18 + })
+7 -4
pkgs/applications/blockchains/polkadot/default.nix
··· 3 3 , lib 4 4 , llvmPackages 5 5 , protobuf 6 + , rocksdb 6 7 , rustPlatform 7 8 , stdenv 8 9 , writeShellScriptBin 9 10 , Security 11 + , SystemConfiguration 10 12 }: 11 13 rustPlatform.buildRustPackage rec { 12 14 pname = "polkadot"; 13 - version = "0.9.36"; 15 + version = "0.9.37"; 14 16 15 17 src = fetchFromGitHub { 16 18 owner = "paritytech"; 17 19 repo = "polkadot"; 18 20 rev = "v${version}"; 19 - sha256 = "sha256-HzQFlnn+SPasI0g0DYDCRoFCMVyxlUmEQAobvzRnAW4="; 21 + hash = "sha256-/mgJNjliPUmMkhT/1oiX9+BJHfY3SMsKfFv9HCyWRQQ="; 20 22 21 23 # the build process of polkadot requires a .git folder in order to determine 22 24 # the git commit hash that is being built and add it to the version string. ··· 34 32 ''; 35 33 }; 36 34 37 - cargoSha256 = "sha256-P31GW/1HiaZLF6e8Fq1YnH1ZLhiOhURm8st9a4KRlJU="; 35 + cargoHash = "sha256-o+APFYKgA3zjQSGrkpnyf5LEBBqvZtcfWlzCk6nL02A="; 38 36 39 - buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 37 + buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ]; 40 38 41 39 nativeBuildInputs = [ rustPlatform.bindgenHook ]; 42 40 ··· 46 44 ''; 47 45 48 46 PROTOC = "${protobuf}/bin/protoc"; 47 + ROCKSDB_LIB_DIR = "${rocksdb}/lib"; 49 48 50 49 # NOTE: We don't build the WASM runtimes since this would require a more 51 50 # complicated rust environment setup and this is only needed for developer
+6 -6
pkgs/applications/editors/android-studio/default.nix
··· 10 10 inherit tiling_wm; 11 11 }; 12 12 stableVersion = { 13 - version = "2021.3.1.17"; # "Android Studio Dolphin (2021.3.1)" 14 - sha256Hash = "sha256-ia2wzg/6RreJTnv+2xQrH11SxDwXHmpsualaSfd3Vso="; 13 + version = "2022.1.1.19"; # "Android Studio Electric Eel (2022.1.1)" 14 + sha256Hash = "luxE6a2C86JB28ezuIZV49TyE314S1RcNXQnCQamjUA="; 15 15 }; 16 16 betaVersion = { 17 - version = "2022.1.1.12"; # "Android Studio Electric Eel (2022.1.1) Beta 2" 18 - sha256Hash = "8iSFPH0PTQkzV1t8bEq7CBtOU8pzdnD/PrpVcgPnO6Q="; 17 + version = "2022.2.1.12"; # "Android Studio Flamingo (2022.2.1) Beta 1" 18 + sha256Hash = "tIgmX9KiRInIupgIXWgg4dMf8bTwkVopOxAO5O1PUAc="; 19 19 }; 20 20 latestVersion = { # canary & dev 21 - version = "2022.2.1.2"; # "Android Studio Flamingo (2022.2.1) Canary 2" 22 - sha256Hash = "hlHlgyl9If2LH4aExpElx0rqmWeoFX+qx4w6RRb5e8U="; 21 + version = "2022.3.1.1"; # "Android Studio Girrafe (2022.3.1) Canary 1" 22 + sha256Hash = "I7Zc4DDByUB6XOnk7v+91ccpNI7eX/T4d3vH60ih8ec="; 23 23 }; 24 24 in { 25 25 # Attributes are named by their corresponding release channels
+2 -2
pkgs/applications/editors/nano/default.nix
··· 14 14 15 15 in stdenv.mkDerivation rec { 16 16 pname = "nano"; 17 - version = "7.1"; 17 + version = "7.2"; 18 18 19 19 src = fetchurl { 20 20 url = "mirror://gnu/nano/${pname}-${version}.tar.xz"; 21 - sha256 = "V7p1Hpt1GfD23e5QUgLjh8dd3kQMH3qhuTEMw4FAaDY="; 21 + sha256 = "hvNEJ2i9KHPOxpP4PN+AtLRErTzBR2C3Q2FHT8h6RSY="; 22 22 }; 23 23 24 24 nativeBuildInputs = [ texinfo ] ++ lib.optional enableNls gettext;
+5 -9
pkgs/applications/editors/standardnotes/src.json
··· 1 1 { 2 - "version": "3.129.0", 2 + "version": "3.139.0", 3 3 "appimage": { 4 4 "x86_64-linux": { 5 - "url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.129.0/standard-notes-3.129.0-linux-x86_64.AppImage", 6 - "hash": "sha512-JLO2jX9Us6BjqmTZIkVyxy2pqFM/eFGpwi6vXicMOgDB0UsgEMTK+Ww+9g+vJ1KbFRFmlt187qkdSNcevQPt7w==" 5 + "url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.139.0/standard-notes-3.139.0-linux-x86_64.AppImage", 6 + "hash": "sha512-0s/tQmP5PINoQB7FOhR5wYuBvynKHpM9uMNmkJs77z84rY+WXOdZRjki6ZeG60niNXr8rUSLOBffy4jyLka6tg==" 7 7 }, 8 8 "aarch64-linux": { 9 - "url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.129.0/standard-notes-3.129.0-linux-arm64.AppImage", 10 - "hash": "sha512-LGUSRqMrJ+hVHyi/bjI/NkWRVsmY0Kh/wRY9RNJXm0C3dKQSFV8ca4GeY9+VCuJEecR4LGnWp4agS5jPybPP6w==" 11 - }, 12 - "i686-linux": { 13 - "url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.129.0/standard-notes-3.129.0-linux-i386.AppImage", 14 - "hash": "sha512-XbQ4hn3QJ61hDC12cK95zsUowbyXPYArHZoRDx5trQ30phtQxtz6nV+pL00m4S9kYeEhsAwk1wXlRq9Ylbz2IA==" 9 + "url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.139.0/standard-notes-3.139.0-linux-arm64.AppImage", 10 + "hash": "sha512-LralbOiIVQCtQTqmhTtKttdtMz4M14drPFZ00LPFcwzQviLdU2C/od3NUxf5H5piGgqt5TJlgMCOcLIiyoNKFA==" 15 11 } 16 12 } 17 13 }
-1
pkgs/applications/editors/standardnotes/update.nix
··· 50 50 51 51 updatePlatform x86_64-linux linux-x86_64 52 52 updatePlatform aarch64-linux linux-arm64 53 - updatePlatform i686-linux linux-i386 54 53 setJsonKey .version "$newVersion" 55 54 ''
+7 -2
pkgs/applications/editors/vscode/extensions/default.nix
··· 756 756 version = "2.2.6"; 757 757 sha256 = "sha256-1yZeyLrXuubhKzobWcd00F/CdU824uJDTkB6qlHkJlQ="; 758 758 }; 759 - meta = { 760 - license = lib.licenses.mit; 759 + meta = with lib; { 760 + changelog = "https://marketplace.visualstudio.com/items/dbaeumer.vscode-eslint/changelog"; 761 + description = "Integrates ESLint JavaScript into VS Code."; 762 + downloadPage = "https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint"; 763 + homepage = "https://github.com/Microsoft/vscode-eslint"; 764 + license = licenses.mit; 765 + maintainers = with maintainers; [ datafoo ]; 761 766 }; 762 767 }; 763 768
+63
pkgs/applications/emulators/zsnes/2.x.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , SDL 5 + , libGL 6 + , libGLU 7 + , libpng 8 + , nasm 9 + , pkg-config 10 + , zlib 11 + }: 12 + 13 + stdenv.mkDerivation (finalAttrs: { 14 + pname = "zsnes2"; 15 + version = "2.0.10"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "xyproto"; 19 + repo = "zsnes"; 20 + rev = finalAttrs.version; 21 + hash = "sha256-QFPl3I2nFWMmgQRGxrlt4Vh5N4SygvBLjeFiQpgRr8o="; 22 + }; 23 + 24 + nativeBuildInputs = [ 25 + nasm 26 + pkg-config 27 + ]; 28 + 29 + buildInputs = [ 30 + SDL 31 + libGL 32 + libGLU 33 + libpng 34 + zlib 35 + ]; 36 + 37 + dontConfigure = true; 38 + 39 + NIX_CFLAGS_COMPILE = [ 40 + # Until upstream fixes the issues... 41 + "-Wp,-D_FORTIFY_SOURCE=0" 42 + ]; 43 + 44 + installFlags = [ 45 + "PREFIX=${placeholder "out"}" 46 + ]; 47 + 48 + postInstall = '' 49 + install -Dm644 linux/zsnes.desktop $out/share/applications/zsnes.desktop 50 + install -Dm644 icons/16x16x32.png $out/share/icons/hicolor/16x16/apps/zsnes.png 51 + install -Dm644 icons/32x32x32.png $out/share/icons/hicolor/32x32/apps/zsnes.png 52 + install -Dm644 icons/48x48x32.png $out/share/icons/hicolor/48x48/apps/zsnes.png 53 + install -Dm644 icons/64x64x32.png $out/share/icons/hicolor/64x64/apps/zsnes.png 54 + ''; 55 + 56 + meta = { 57 + homepage = "https://github.com/xyproto/zsnes"; 58 + description = "A maintained fork of zsnes"; 59 + license = lib.licenses.gpl2Plus; 60 + maintainers = [ lib.maintainers.AndersonTorres ]; 61 + platforms = lib.intersectLists lib.platforms.linux lib.platforms.x86; 62 + }; 63 + })
+2 -2
pkgs/applications/file-managers/doublecmd/default.nix
··· 13 13 14 14 stdenv.mkDerivation (finalAttrs: { 15 15 pname = "doublecmd"; 16 - version = "1.0.9"; 16 + version = "1.0.10"; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "doublecmd"; 20 20 repo = "doublecmd"; 21 21 rev = "v${finalAttrs.version}"; 22 - hash = "sha256-ruZNHvHBRXRM4h0R571jvasW8rYawq4cn7Hnd9riMnk="; 22 + hash = "sha256-S30/exZsw9Rs/l5Sml/q7dqUIcS55ZxbLFYv+M9Jr6o="; 23 23 }; 24 24 25 25 nativeBuildInputs = [
+58
pkgs/applications/graphics/potreeconverter/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , boost 6 + , tbb 7 + , makeWrapper 8 + }: 9 + 10 + stdenv.mkDerivation rec { 11 + pname = "PotreeConverter"; 12 + version = "unstable-2022-08-04"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "potree"; 16 + repo = "PotreeConverter"; 17 + rev = "758bbac98a662de5e57d2280675e11cc76241688"; 18 + sha256 = "sha256-pDdV2/edYhhBWs153hSy1evI3cXD0Xq9nrEsw3JNcH4="; 19 + }; 20 + 21 + buildInputs = [ 22 + boost 23 + tbb 24 + ]; 25 + 26 + nativeBuildInputs = [ 27 + makeWrapper 28 + cmake 29 + ]; 30 + 31 + patchPhase = '' 32 + substituteInPlace ./CMakeLists.txt \ 33 + --replace "find_package(TBB REQUIRED)" "" 34 + ''; 35 + 36 + installPhase = '' 37 + runHook preInstall 38 + mkdir -p $out/{bin,lib} 39 + mv liblaszip.so $out/lib 40 + mv PotreeConverter $out/bin 41 + ln -s $out/bin/PotreeConverter $out/bin/potreeconverter 42 + 43 + # Create an empty wrapper, since PotreeConverter segfaults if called via 44 + # $PATH rather than absolute path. An empty wrapper forces an absolute path 45 + # on each invocation 46 + wrapProgram $out/bin/PotreeConverter 47 + 48 + runHook postInstall 49 + ''; 50 + 51 + meta = with lib; { 52 + description = "Create multi res point cloud to use with potree"; 53 + homepage = "https://github.com/potree/PotreeConverter"; 54 + license = licenses.bsd2; 55 + maintainers = with maintainers; [ matthewcroughan ]; 56 + platforms = with platforms; linux; 57 + }; 58 + }
+11 -12
pkgs/applications/misc/blender/default.nix
··· 16 16 , embree, gmp, libharu 17 17 }: 18 18 19 - with lib; 20 19 let 21 20 python = python310Packages.python; 22 21 optix = fetchzip { ··· 37 38 patches = lib.optional stdenv.isDarwin ./darwin.patch; 38 39 39 40 nativeBuildInputs = [ cmake makeWrapper python310Packages.wrapPython llvmPackages.llvm.dev ] 40 - ++ optionals cudaSupport [ addOpenGLRunpath ]; 41 + ++ lib.optionals cudaSupport [ addOpenGLRunpath ]; 41 42 buildInputs = 42 43 [ boost ffmpeg gettext glew ilmbase 43 44 freetype libjpeg libpng libsamplerate libsndfile libtiff libwebp ··· 62 63 else [ 63 64 llvmPackages.openmp SDL Cocoa CoreGraphics ForceFeedback OpenAL OpenGL 64 65 ]) 65 - ++ optional jackaudioSupport libjack2 66 - ++ optional cudaSupport cudaPackages.cudatoolkit 67 - ++ optional colladaSupport opencollada 68 - ++ optional spaceNavSupport libspnav; 66 + ++ lib.optional jackaudioSupport libjack2 67 + ++ lib.optional cudaSupport cudaPackages.cudatoolkit 68 + ++ lib.optional colladaSupport opencollada 69 + ++ lib.optional spaceNavSupport libspnav; 69 70 pythonPath = with python310Packages; [ numpy requests ]; 70 71 71 72 postPatch = '' ··· 117 118 "-DWITH_IMAGE_OPENJPEG=ON" 118 119 "-DWITH_OPENCOLLADA=${if colladaSupport then "ON" else "OFF"}" 119 120 ] 120 - ++ optionals stdenv.isDarwin [ 121 + ++ lib.optionals stdenv.isDarwin [ 121 122 "-DWITH_CYCLES_OSL=OFF" # requires LLVM 122 123 "-DWITH_OPENVDB=OFF" # OpenVDB currently doesn't build on darwin 123 124 124 125 "-DLIBDIR=/does-not-exist" 125 126 ] 126 127 # Clang doesn't support "-export-dynamic" 127 - ++ optional stdenv.cc.isClang "-DPYTHON_LINKFLAGS=" 128 - ++ optional jackaudioSupport "-DWITH_JACK=ON" 129 - ++ optionals cudaSupport [ 128 + ++ lib.optional stdenv.cc.isClang "-DPYTHON_LINKFLAGS=" 129 + ++ lib.optional jackaudioSupport "-DWITH_JACK=ON" 130 + ++ lib.optionals cudaSupport [ 130 131 "-DWITH_CYCLES_CUDA_BINARIES=ON" 131 132 "-DWITH_CYCLES_DEVICE_OPTIX=ON" 132 133 "-DOPTIX_ROOT_DIR=${optix}" ··· 136 137 137 138 # Since some dependencies are built with gcc 6, we need gcc 6's 138 139 # libstdc++ in our RPATH. Sigh. 139 - NIX_LDFLAGS = optionalString cudaSupport "-rpath ${stdenv.cc.cc.lib}/lib"; 140 + NIX_LDFLAGS = lib.optionalString cudaSupport "-rpath ${stdenv.cc.cc.lib}/lib"; 140 141 141 142 blenderExecutable = 142 143 placeholder "out" + (if stdenv.isDarwin then "/Applications/Blender.app/Contents/MacOS/Blender" else "/bin/blender"); ··· 153 154 154 155 # Set RUNPATH so that libcuda and libnvrtc in /run/opengl-driver(-32)/lib can be 155 156 # found. See the explanation in libglvnd. 156 - postFixup = optionalString cudaSupport '' 157 + postFixup = lib.optionalString cudaSupport '' 157 158 for program in $out/bin/blender $out/bin/.blender-wrapped; do 158 159 isELF "$program" || continue 159 160 addOpenGLRunpath "$program"
+2 -4
pkgs/applications/misc/electrum/update.nix
··· 10 10 , nix 11 11 }: 12 12 13 - with lib; 14 - 15 13 let 16 14 downloadPageUrl = "https://download.electrum.org"; 17 15 ··· 21 23 22 24 set -eu -o pipefail 23 25 24 - export PATH=${makeBinPath [ 26 + export PATH=${lib.makeBinPath [ 25 27 common-updater-scripts 26 28 coreutils 27 29 curl ··· 48 50 export GNUPGHOME=$PWD/gnupg 49 51 mkdir -m 700 -p "$GNUPGHOME" 50 52 51 - gpg --batch --recv-keys ${concatStringsSep " " (map (x: "'${x}'") signingKeys)} 53 + gpg --batch --recv-keys ${lib.concatStringsSep " " (map (x: "'${x}'") signingKeys)} 52 54 gpg --batch --verify "$sigFile" "$srcFile" 53 55 54 56 sha256=$(nix-prefetch-url --type sha256 "file://$PWD/$srcFile")
+1 -3
pkgs/applications/misc/elogind/default.nix
··· 25 25 , enableSystemd ? false 26 26 }: 27 27 28 - with lib; 29 - 30 28 stdenv.mkDerivation rec { 31 29 pname = "elogind"; 32 30 version = "246.10"; ··· 70 72 "-Dsysconfdir=${placeholder "out"}/etc" 71 73 ]; 72 74 73 - meta = { 75 + meta = with lib; { 74 76 homepage = "https://github.com/elogind/elogind"; 75 77 description = ''The systemd project's "logind", extracted to a standalone package''; 76 78 platforms = platforms.linux; # probably more
+3 -5
pkgs/applications/misc/gammu/default.nix
··· 4 4 , postgresSupport ? false, postgresql ? null 5 5 }: 6 6 7 - with lib; 8 - 9 7 stdenv.mkDerivation rec { 10 8 pname = "gammu"; 11 9 version = "1.42.0"; ··· 29 31 strictDeps = true; 30 32 31 33 buildInputs = [ bash bluez libusb1 curl gettext sqlite libiconv ] 32 - ++ optionals dbiSupport [ libdbi libdbiDrivers ] 33 - ++ optionals postgresSupport [ postgresql ]; 34 + ++ lib.optionals dbiSupport [ libdbi libdbiDrivers ] 35 + ++ lib.optionals postgresSupport [ postgresql ]; 34 36 35 - meta = { 37 + meta = with lib; { 36 38 homepage = "https://wammu.eu/gammu/"; 37 39 description = "Command line utility and library to control mobile phones"; 38 40 license = licenses.gpl2;
+2 -4
pkgs/applications/misc/get_iplayer/default.nix
··· 1 1 { lib, fetchFromGitHub, atomicparsley, flvstreamer, ffmpeg, makeWrapper, perl, perlPackages, rtmpdump}: 2 2 3 - with lib; 4 - 5 3 perlPackages.buildPerlPackage rec { 6 4 pname = "get_iplayer"; 7 5 version = "3.27"; ··· 24 26 installPhase = '' 25 27 mkdir -p $out/bin $out/share/man/man1 26 28 cp get_iplayer $out/bin 27 - wrapProgram $out/bin/get_iplayer --suffix PATH : ${makeBinPath [ atomicparsley ffmpeg flvstreamer rtmpdump ]} --prefix PERL5LIB : $PERL5LIB 29 + wrapProgram $out/bin/get_iplayer --suffix PATH : ${lib.makeBinPath [ atomicparsley ffmpeg flvstreamer rtmpdump ]} --prefix PERL5LIB : $PERL5LIB 28 30 cp get_iplayer.1 $out/share/man/man1 29 31 ''; 30 32 31 - meta = { 33 + meta = with lib; { 32 34 description = "Downloads TV and radio from BBC iPlayer"; 33 35 license = licenses.gpl3Plus; 34 36 homepage = "https://squarepenguin.co.uk/";
+7 -9
pkgs/applications/misc/k2pdfopt/default.nix
··· 8 8 , enableTesseract ? true, leptonica, tesseract4 9 9 }: 10 10 11 - with lib; 12 - 13 11 # k2pdfopt is a pain to package. It requires modified versions of mupdf, 14 12 # leptonica, and tesseract. Instead of shipping patches for these upstream 15 13 # packages, k2pdfopt includes just the modified source files for these ··· 138 140 }; 139 141 in 140 142 [ zlib libpng ] ++ 141 - optional enableGSL gsl ++ 142 - optional enableGhostScript ghostscript ++ 143 - optional enableMuPDF mupdf_modded ++ 144 - optional enableDJVU djvulibre ++ 145 - optional enableGOCR gocr ++ 146 - optionals enableTesseract [ leptonica_modded tesseract_modded ]; 143 + lib.optional enableGSL gsl ++ 144 + lib.optional enableGhostScript ghostscript ++ 145 + lib.optional enableMuPDF mupdf_modded ++ 146 + lib.optional enableDJVU djvulibre ++ 147 + lib.optional enableGOCR gocr ++ 148 + lib.optionals enableTesseract [ leptonica_modded tesseract_modded ]; 147 149 148 150 dontUseCmakeBuildDir = true; 149 151 ··· 155 157 install -D -m 755 k2pdfopt $out/bin/k2pdfopt 156 158 ''; 157 159 158 - preFixup = optionalString enableTesseract '' 160 + preFixup = lib.optionalString enableTesseract '' 159 161 wrapProgram $out/bin/k2pdfopt --set-default TESSDATA_PREFIX ${tesseract4}/share/tessdata 160 162 ''; 161 163
+2 -2
pkgs/applications/misc/kanboard/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "kanboard"; 5 - version = "1.2.25"; 5 + version = "1.2.26"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "kanboard"; 9 9 repo = "kanboard"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-yBUvePVbNDLYL1d6cNrLBn6+/p1agVzSx29JB3EZ5Fk="; 11 + sha256 = "sha256-/Unxl9Vh9pEWjO89sSviGGPFzUwxdb1mbOfpTFTyRL0="; 12 12 }; 13 13 14 14 dontBuild = true;
+14 -16
pkgs/applications/misc/keepassx/community.nix
··· 37 37 , nixosTests 38 38 }: 39 39 40 - with lib; 41 - 42 40 stdenv.mkDerivation rec { 43 41 pname = "keepassxc"; 44 42 version = "2.7.4"; ··· 48 50 sha256 = "sha256-amedKK9nplLVJTldeabN3/c+g/QesrdH+qx+rba2/4s="; 49 51 }; 50 52 51 - NIX_CFLAGS_COMPILE = optionalString stdenv.cc.isClang [ 53 + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang [ 52 54 "-Wno-old-style-cast" 53 55 "-Wno-error" 54 56 "-D__BIG_ENDIAN__=${if stdenv.isBigEndian then "1" else "0"}" 55 57 ]; 56 58 57 - NIX_LDFLAGS = optionalString stdenv.isDarwin "-rpath ${libargon2}/lib"; 59 + NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-rpath ${libargon2}/lib"; 58 60 59 61 patches = [ 60 62 ./darwin.patch ··· 65 67 "-DWITH_GUI_TESTS=ON" 66 68 "-DWITH_XC_UPDATECHECK=OFF" 67 69 ] 68 - ++ (optional (!withKeePassX11) "-DWITH_XC_X11=OFF") 69 - ++ (optional (withKeePassFDOSecrets && stdenv.isLinux) "-DWITH_XC_FDOSECRETS=ON") 70 - ++ (optional (withKeePassYubiKey && stdenv.isLinux) "-DWITH_XC_YUBIKEY=ON") 71 - ++ (optional withKeePassBrowser "-DWITH_XC_BROWSER=ON") 72 - ++ (optional withKeePassKeeShare "-DWITH_XC_KEESHARE=ON") 73 - ++ (optional withKeePassNetworking "-DWITH_XC_NETWORKING=ON") 74 - ++ (optional withKeePassSSHAgent "-DWITH_XC_SSHAGENT=ON"); 70 + ++ (lib.optional (!withKeePassX11) "-DWITH_XC_X11=OFF") 71 + ++ (lib.optional (withKeePassFDOSecrets && stdenv.isLinux) "-DWITH_XC_FDOSECRETS=ON") 72 + ++ (lib.optional (withKeePassYubiKey && stdenv.isLinux) "-DWITH_XC_YUBIKEY=ON") 73 + ++ (lib.optional withKeePassBrowser "-DWITH_XC_BROWSER=ON") 74 + ++ (lib.optional withKeePassKeeShare "-DWITH_XC_KEESHARE=ON") 75 + ++ (lib.optional withKeePassNetworking "-DWITH_XC_NETWORKING=ON") 76 + ++ (lib.optional withKeePassSSHAgent "-DWITH_XC_SSHAGENT=ON"); 75 77 76 78 doCheck = true; 77 79 checkPhase = '' ··· 110 112 readline 111 113 zlib 112 114 ] 113 - ++ optional (stdenv.isDarwin && withKeePassTouchID) darwin.apple_sdk.frameworks.LocalAuthentication 114 - ++ optional stdenv.isDarwin qtmacextras 115 - ++ optional stdenv.isLinux libusb1 116 - ++ optional withKeePassX11 qtx11extras; 115 + ++ lib.optional (stdenv.isDarwin && withKeePassTouchID) darwin.apple_sdk.frameworks.LocalAuthentication 116 + ++ lib.optional stdenv.isDarwin qtmacextras 117 + ++ lib.optional stdenv.isLinux libusb1 118 + ++ lib.optional withKeePassX11 qtx11extras; 117 119 118 120 passthru.tests = nixosTests.keepassxc; 119 121 120 - meta = { 122 + meta = with lib; { 121 123 description = "Offline password manager with many features."; 122 124 longDescription = '' 123 125 A community fork of KeePassX, which is itself a port of KeePass Password Safe.
pkgs/applications/misc/lukesmithxyz-bible/kjv.nix pkgs/applications/misc/kjv/lukesmithxyz-kjv.nix
+2 -2
pkgs/applications/misc/madonctl/default.nix
··· 8 8 owner = "McKael"; 9 9 repo = "madonctl"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-mo185EKjLkiujAKcAFM1XqkXWvcfYbnv+r3dF9ywaf8="; 11 + hash = "sha256-mo185EKjLkiujAKcAFM1XqkXWvcfYbnv+r3dF9ywaf8="; 12 12 }; 13 13 14 - vendorSha256 = null; 14 + vendorHash = null; 15 15 16 16 nativeBuildInputs = [ installShellFiles ]; 17 17
+2 -2
pkgs/applications/misc/metadata-cleaner/default.nix
··· 18 18 19 19 python3.pkgs.buildPythonApplication rec { 20 20 pname = "metadata-cleaner"; 21 - version = "2.3.1"; 21 + version = "2.4.0"; 22 22 23 23 format = "other"; 24 24 ··· 26 26 owner = "rmnvgr"; 27 27 repo = pname; 28 28 rev = "v${version}"; 29 - hash = "sha256-nH2BsfXFwBdu7/YH2OuG90HxYgiuqKJqMC4p0PRlgPw="; 29 + hash = "sha256-/Zi82ri61cQHt1D8DjeVHTSeEn9ubQJD931kP0ffiOs="; 30 30 }; 31 31 32 32 nativeBuildInputs = [
+2 -2
pkgs/applications/misc/osmium-tool/default.nix
··· 14 14 15 15 stdenv.mkDerivation rec { 16 16 pname = "osmium-tool"; 17 - version = "1.14.0"; 17 + version = "1.15.0"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "osmcode"; 21 21 repo = "osmium-tool"; 22 22 rev = "v${version}"; 23 - sha256 = "sha256-xedunFzar44o+b/45isXWacDcC81wWkxgGwnpLPH/n0="; 23 + sha256 = "sha256-xV/1LFby0L/o648XEQQ9gS9/eHssWhMIG7R1E8bfIDU="; 24 24 }; 25 25 26 26 nativeBuildInputs = [
+1 -1
pkgs/applications/misc/pokemon-colorscripts-mac/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "pokemon-colorscripts-mac"; 9 - version = "stable=2021-08-10"; 9 + version = "stable-2021-08-10"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "nuke-dash";
+25
pkgs/applications/misc/pomodoro/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub, rustPlatform, Foundation }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "pomodoro"; 5 + version = "unstable-2021-06-18"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "SanderJSA"; 9 + repo = "Pomodoro"; 10 + rev = "c833b9551ed0b09e311cdb369cc8226c5b9cac6a"; 11 + sha256 = "sha256-ZA1q1YVJcdSUF9NTikyT3vrRnqbsu5plzRI2gMu+qnQ="; 12 + }; 13 + 14 + cargoSha256 = "sha256-6ZhWStZebXSwrej36DXifrsrmR1SWW3PwGUX0hqPwE4="; 15 + buildInputs = lib.optionals stdenv.isDarwin [ Foundation ]; 16 + 17 + meta = with lib; { 18 + description = "A simple CLI pomodoro timer using desktop notifications written in Rust"; 19 + homepage = "https://github.com/SanderJSA/Pomodoro"; 20 + license = licenses.mit; 21 + maintainers = with maintainers; [ annaaurora ]; 22 + # error: redefinition of module 'ObjectiveC' 23 + broken = stdenv.isDarwin; 24 + }; 25 + }
+30
pkgs/applications/misc/river-tag-overlay/default.nix
··· 1 + { lib, stdenv, fetchFromSourcehut, nixos, wayland, pixman, pkg-config }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "river-tag-overlay"; 5 + version = "1.0.0"; 6 + 7 + src = fetchFromSourcehut { 8 + owner = "~leon_plickat"; 9 + repo = pname; 10 + rev = "v${version}"; 11 + hash = "sha256-hLyXdLi/ldvwPJ1oQQsH5wgflQJuXu6vhYw/qdKAV9E="; 12 + }; 13 + 14 + buildInputs = [ pixman wayland ]; 15 + nativeBuildInputs = [ pkg-config ]; 16 + 17 + makeFlags = [ 18 + "DESTDIR=${placeholder "out"}" 19 + "PREFIX=" 20 + ]; 21 + 22 + meta = with lib; { 23 + description = "A pop-up showing tag status"; 24 + homepage = "https://sr.ht/~leon_plickat/river-tag-overlay"; 25 + license = licenses.gpl3Only; 26 + maintainers = with maintainers; [ edrex ]; 27 + platforms = platforms.linux; 28 + broken = stdenv.isAarch64; 29 + }; 30 + }
+1 -3
pkgs/applications/misc/rm-improved/default.nix
··· 1 1 { fetchFromGitHub, rustPlatform, lib }: 2 2 3 - with lib; 4 - 5 3 rustPlatform.buildRustPackage rec { 6 4 pname = "rm-improved"; 7 5 version = "0.13.0"; ··· 13 15 sha256 = "0d065xia4mwdhxkiqfg7pic6scfzipzmsvvx7l6l97w62lzpiqx3"; 14 16 }; 15 17 16 - meta = { 18 + meta = with lib; { 17 19 description = "Replacement for rm with focus on safety, ergonomics and performance"; 18 20 homepage = "https://github.com/nivekuil/rip"; 19 21 maintainers = with maintainers; [ nils-degroot ];
+3 -5
pkgs/applications/misc/slstatus/default.nix
··· 1 1 { lib, stdenv, fetchgit, pkg-config, writeText, libX11, conf ? null, patches ? [] }: 2 2 3 - with lib; 4 - 5 3 stdenv.mkDerivation rec { 6 4 pname = "slstatus"; 7 5 version = "unstable-2019-02-16"; ··· 10 12 sha256 = "0kayyhpmppybhwndxgabw48wsk9v8x9xdb05xrly9szkw3jbvgw4"; 11 13 }; 12 14 13 - configFile = optionalString (conf!=null) (writeText "config.def.h" conf); 14 - preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h"; 15 + configFile = lib.optionalString (conf!=null) (writeText "config.def.h" conf); 16 + preBuild = lib.optionalString (conf!=null) "cp ${configFile} config.def.h"; 15 17 16 18 inherit patches; 17 19 ··· 22 24 23 25 installFlags = [ "PREFIX=$(out)" ]; 24 26 25 - meta = { 27 + meta = with lib; { 26 28 homepage = "https://tools.suckless.org/slstatus/"; 27 29 description = "status monitor for window managers that use WM_NAME like dwm"; 28 30 license = licenses.isc;
+2 -4
pkgs/applications/misc/veracrypt/default.nix
··· 14 14 , btrfs-progs 15 15 }: 16 16 17 - with lib; 18 - 19 17 stdenv.mkDerivation rec { 20 18 pname = "veracrypt"; 21 19 version = "1.25.9"; 22 20 23 21 src = fetchurl { 24 - url = "https://launchpad.net/${pname}/trunk/${toLower version}/+download/VeraCrypt_${version}_Source.tar.bz2"; 22 + url = "https://launchpad.net/${pname}/trunk/${lib.toLower version}/+download/VeraCrypt_${version}_Source.tar.bz2"; 25 23 sha256 = "sha256-drbhgYS8IaQdKUn/Y9ch1JBUpxbO/zpL13tcNRC3lK8="; 26 24 }; 27 25 ··· 52 54 --replace "Icon=veracrypt" "Icon=veracrypt.xpm" 53 55 ''; 54 56 55 - meta = { 57 + meta = with lib; { 56 58 description = "Free Open-Source filesystem on-the-fly encryption"; 57 59 homepage = "https://www.veracrypt.fr/"; 58 60 license = with licenses; [ asl20 /* and */ unfree /* TrueCrypt License version 3.0 */ ];
+2 -4
pkgs/applications/misc/xsuspender/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, cmake, makeWrapper, pkg-config 2 2 , glib, libwnck, procps }: 3 3 4 - with lib; 5 - 6 4 stdenv.mkDerivation rec { 7 5 pname = "xsuspender"; 8 6 version = "1.3"; ··· 19 21 20 22 postInstall = '' 21 23 wrapProgram $out/bin/xsuspender \ 22 - --prefix PATH : "${makeBinPath [ procps ]}" 24 + --prefix PATH : "${lib.makeBinPath [ procps ]}" 23 25 ''; 24 26 25 - meta = { 27 + meta = with lib; { 26 28 description = "Auto-suspend inactive X11 applications"; 27 29 homepage = "https://kernc.github.io/xsuspender/"; 28 30 license = licenses.wtfpl;
+4 -6
pkgs/applications/misc/zathura/core/default.nix
··· 6 6 , gtk-mac-integration 7 7 }: 8 8 9 - with lib; 10 - 11 9 stdenv.mkDerivation rec { 12 10 pname = "zathura"; 13 11 version = "0.5.2"; ··· 26 28 "-Dsynctex=enabled" 27 29 # Make sure tests are enabled for doCheck 28 30 "-Dtests=enabled" 29 - ] ++ optional (!stdenv.isLinux) "-Dseccomp=disabled"; 31 + ] ++ lib.optional (!stdenv.isLinux) "-Dseccomp=disabled"; 30 32 31 33 nativeBuildInputs = [ 32 34 meson ninja pkg-config desktop-file-utils python3.pkgs.sphinx ··· 36 38 buildInputs = [ 37 39 gtk girara libintl sqlite glib file librsvg 38 40 texlive.bin.core 39 - ] ++ optional stdenv.isLinux libseccomp 40 - ++ optional stdenv.isDarwin gtk-mac-integration; 41 + ] ++ lib.optional stdenv.isLinux libseccomp 42 + ++ lib.optional stdenv.isDarwin gtk-mac-integration; 41 43 42 44 doCheck = !stdenv.isDarwin; 43 45 44 - meta = { 46 + meta = with lib; { 45 47 homepage = "https://git.pwmt.org/pwmt/zathura"; 46 48 description = "A core component for zathura PDF viewer"; 47 49 license = licenses.zlib;
+6 -6
pkgs/applications/networking/appgate-sdp/default.nix
··· 38 38 , xorg 39 39 , zlib 40 40 }: 41 - with lib; 41 + 42 42 let 43 43 deps = [ 44 44 alsa-lib ··· 89 89 version = "6.0.3"; 90 90 91 91 src = fetchurl { 92 - url = "https://bin.appgate-sdp.com/${versions.majorMinor version}/client/appgate-sdp_${version}_amd64.deb"; 92 + url = "https://bin.appgate-sdp.com/${lib.versions.majorMinor version}/client/appgate-sdp_${version}_amd64.deb"; 93 93 sha256 = "sha256-UDyVPoQM78CKVWXgr08An77QTiFVmRNHwQPGaj1jAIM="; 94 94 }; 95 95 ··· 134 134 --replace "/etc/appgate.conf" "$out/etc/appgate.conf" 135 135 136 136 wrapProgram $out/opt/appgate/service/createdump \ 137 - --set LD_LIBRARY_PATH "${makeLibraryPath [ stdenv.cc.cc ]}" 137 + --set LD_LIBRARY_PATH "${lib.makeLibraryPath [ stdenv.cc.cc ]}" 138 138 139 139 wrapProgram $out/opt/appgate/appgate-driver \ 140 - --prefix PATH : ${makeBinPath [ iproute2 networkmanager dnsmasq ]} \ 140 + --prefix PATH : ${lib.makeBinPath [ iproute2 networkmanager dnsmasq ]} \ 141 141 --set LD_LIBRARY_PATH $out/opt/appgate/service 142 142 143 143 # make xdg-open overrideable at runtime 144 144 makeWrapper $out/opt/appgate/Appgate $out/bin/appgate \ 145 - --suffix PATH : ${makeBinPath [ xdg-utils ]} \ 146 - --set LD_LIBRARY_PATH $out/opt/appgate:${makeLibraryPath deps} 145 + --suffix PATH : ${lib.makeBinPath [ xdg-utils ]} \ 146 + --set LD_LIBRARY_PATH $out/opt/appgate:${lib.makeLibraryPath deps} 147 147 148 148 wrapProgram $out/opt/appgate/linux/set_dns --set PYTHONPATH $PYTHONPATH 149 149 '';
+4 -6
pkgs/applications/networking/browsers/chromium/browser.nix
··· 3 3 , enableWideVine, ungoogled 4 4 }: 5 5 6 - with lib; 7 - 8 6 mkChromiumDerivation (base: rec { 9 7 name = "chromium-browser"; 10 8 packageName = "chromium"; ··· 74 76 75 77 meta = { 76 78 description = "An open source web browser from Google" 77 - + optionalString ungoogled ", with dependencies on Google web services removed"; 79 + + lib.optionalString ungoogled ", with dependencies on Google web services removed"; 78 80 longDescription = '' 79 81 Chromium is an open source web browser from Google that aims to build a 80 82 safer, faster, and more stable way for all Internet users to experience ··· 84 86 homepage = if ungoogled 85 87 then "https://github.com/Eloston/ungoogled-chromium" 86 88 else "https://www.chromium.org/"; 87 - maintainers = with maintainers; if ungoogled 89 + maintainers = with lib.maintainers; if ungoogled 88 90 then [ squalus primeos michaeladler ] 89 91 else [ primeos thefloweringash ]; 90 - license = if enableWideVine then licenses.unfree else licenses.bsd3; 91 - platforms = platforms.linux; 92 + license = if enableWideVine then lib.licenses.unfree else lib.licenses.bsd3; 93 + platforms = lib.platforms.linux; 92 94 mainProgram = "chromium"; 93 95 hydraPlatforms = if (channel == "stable" || channel == "ungoogled-chromium") 94 96 then ["aarch64-linux" "x86_64-linux"]
+15 -17
pkgs/applications/networking/browsers/chromium/common.nix
··· 51 51 52 52 buildFun: 53 53 54 - with lib; 55 - 56 54 let 57 55 python3WithPackages = python3.withPackages(ps: with ps; [ 58 56 ply jinja2 setuptools ··· 73 75 let 74 76 # Serialize Nix types into GN types according to this document: 75 77 # https://source.chromium.org/gn/gn/+/master:docs/language.md 76 - mkGnString = value: "\"${escape ["\"" "$" "\\"] value}\""; 78 + mkGnString = value: "\"${lib.escape ["\"" "$" "\\"] value}\""; 77 79 sanitize = value: 78 80 if value == true then "true" 79 81 else if value == false then "false" 80 - else if isList value then "[${concatMapStringsSep ", " sanitize value}]" 81 - else if isInt value then toString value 82 - else if isString value then mkGnString value 82 + else if lib.isList value then "[${lib.concatMapStringsSep ", " sanitize value}]" 83 + else if lib.isInt value then toString value 84 + else if lib.isString value then mkGnString value 83 85 else throw "Unsupported type for GN value `${value}'."; 84 86 toFlag = key: value: "${key}=${sanitize value}"; 85 - in attrs: concatStringsSep " " (attrValues (mapAttrs toFlag attrs)); 87 + in attrs: lib.concatStringsSep " " (lib.attrValues (lib.mapAttrs toFlag attrs)); 86 88 87 89 # https://source.chromium.org/chromium/chromium/src/+/master:build/linux/unbundle/replace_gn_files.py 88 90 gnSystemLibraries = [ ··· 149 151 libdrm wayland mesa.drivers libxkbcommon 150 152 curl 151 153 libepoxy 152 - ] ++ optional systemdSupport systemd 153 - ++ optionals cupsSupport [ libgcrypt cups ] 154 - ++ optional pulseSupport libpulseaudio; 154 + ] ++ lib.optional systemdSupport systemd 155 + ++ lib.optionals cupsSupport [ libgcrypt cups ] 156 + ++ lib.optional pulseSupport libpulseaudio; 155 157 156 158 patches = [ 157 159 # Optional patch to use SOURCE_DATE_EPOCH in compute_build_timestamp.py (should be upstreamed): ··· 235 237 # Allow building against system libraries in official builds 236 238 sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' tools/generate_shim_headers/generate_shim_headers.py 237 239 238 - '' + optionalString stdenv.isAarch64 '' 240 + '' + lib.optionalString stdenv.isAarch64 '' 239 241 substituteInPlace build/toolchain/linux/BUILD.gn \ 240 242 --replace 'toolprefix = "aarch64-linux-gnu-"' 'toolprefix = ""' 241 - '' + optionalString ungoogled '' 243 + '' + lib.optionalString ungoogled '' 242 244 ${ungoogler}/utils/prune_binaries.py . ${ungoogler}/pruning.list || echo "some errors" 243 245 ${ungoogler}/utils/patches.py . ${ungoogler}/patches 244 246 ${ungoogler}/utils/domain_substitution.py apply -r ${ungoogler}/domain_regex.list -f ${ungoogler}/domain_substitution.list -c ./ungoogled-domsubcache.tar.gz . ··· 298 300 # as well to avoid incompatibilities (if this continues to be a problem 299 301 # from time to time): 300 302 use_system_libwayland = true; 301 - } // optionalAttrs proprietaryCodecs { 303 + } // lib.optionalAttrs proprietaryCodecs { 302 304 # enable support for the H.264 codec 303 305 proprietary_codecs = true; 304 306 enable_hangout_services_extension = true; 305 307 ffmpeg_branding = "Chrome"; 306 - } // optionalAttrs pulseSupport { 308 + } // lib.optionalAttrs pulseSupport { 307 309 use_pulseaudio = true; 308 310 link_pulseaudio = true; 309 - } // optionalAttrs ungoogled (importTOML ./ungoogled-flags.toml) 311 + } // lib.optionalAttrs ungoogled (lib.importTOML ./ungoogled-flags.toml) 310 312 // (extraAttrs.gnFlags or {})); 311 313 312 314 configurePhase = '' ··· 315 317 # This is to ensure expansion of $out. 316 318 libExecPath="${libExecPath}" 317 319 ${python3}/bin/python3 build/linux/unbundle/replace_gn_files.py --system-libraries ${toString gnSystemLibraries} 318 - ${gnChromium}/bin/gn gen --args=${escapeShellArg gnFlags} out/Release | tee gn-gen-outputs.txt 320 + ${gnChromium}/bin/gn gen --args=${lib.escapeShellArg gnFlags} out/Release | tee gn-gen-outputs.txt 319 321 320 322 # Fail if `gn gen` contains a WARNING. 321 323 grep -o WARNING gn-gen-outputs.txt && echo "Found gn WARNING, exiting nix build" && exit 1 ··· 340 342 ''; 341 343 targets = extraAttrs.buildTargets or []; 342 344 commands = map buildCommand targets; 343 - in concatStringsSep "\n" commands; 345 + in lib.concatStringsSep "\n" commands; 344 346 345 347 postFixup = '' 346 348 # Make sure that libGLESv2 is found by dlopen (if using EGL).
+6 -8
pkgs/applications/networking/browsers/google-chrome/default.nix
··· 47 47 , addOpenGLRunpath 48 48 }: 49 49 50 - with lib; 51 - 52 50 let 53 51 opusWithCustomModes = libopus.override { 54 52 withCustomModes = true; ··· 66 68 bzip2 libcap at-spi2-atk at-spi2-core 67 69 libkrb5 libdrm libglvnd mesa coreutils 68 70 libxkbcommon pipewire wayland 69 - ] ++ optional pulseSupport libpulseaudio 70 - ++ optional libvaSupport libva 71 + ] ++ lib.optional pulseSupport libpulseaudio 72 + ++ lib.optional libvaSupport libva 71 73 ++ [ gtk3 ]; 72 74 73 75 suffix = if channel != "stable" then "-" + channel else ""; ··· 97 99 tar xf data.tar.xz 98 100 ''; 99 101 100 - rpath = makeLibraryPath deps + ":" + makeSearchPathOutput "lib" "lib64" deps; 101 - binpath = makeBinPath deps; 102 + rpath = lib.makeLibraryPath deps + ":" + lib.makeSearchPathOutput "lib" "lib64" deps; 103 + binpath = lib.makeBinPath deps; 102 104 103 105 installPhase = '' 104 106 runHook preInstall ··· 147 149 --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH:${addOpenGLRunpath.driverLink}/share" \ 148 150 --set CHROME_WRAPPER "google-chrome-$dist" \ 149 151 --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \ 150 - --add-flags ${escapeShellArg commandLineArgs} 152 + --add-flags ${lib.escapeShellArg commandLineArgs} 151 153 152 154 for elf in $out/share/google/$appname/{chrome,chrome-sandbox,${crashpadHandlerBinary},nacl_helper}; do 153 155 patchelf --set-rpath $rpath $elf ··· 157 159 runHook postInstall 158 160 ''; 159 161 160 - meta = { 162 + meta = with lib; { 161 163 description = "A freeware web browser developed by Google"; 162 164 homepage = "https://www.google.com/chrome/browser/"; 163 165 license = licenses.unfree;
+11 -13
pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix
··· 53 53 , extraPrefs ? "" 54 54 }: 55 55 56 - with lib; 57 - 58 56 let 59 - libPath = makeLibraryPath libPkgs; 57 + libPath = lib.makeLibraryPath libPkgs; 60 58 61 59 libPkgs = [ 62 60 atk ··· 76 78 stdenv.cc.libc 77 79 zlib 78 80 ] 79 - ++ optionals pulseaudioSupport [ libpulseaudio ] 80 - ++ optionals mediaSupport [ 81 + ++ lib.optionals pulseaudioSupport [ libpulseaudio ] 82 + ++ lib.optionals mediaSupport [ 81 83 ffmpeg 82 84 ]; 83 85 84 86 # Library search path for the fte transport 85 - fteLibPath = makeLibraryPath [ stdenv.cc.cc gmp ]; 87 + fteLibPath = lib.makeLibraryPath [ stdenv.cc.cc gmp ]; 86 88 87 89 # Upstream source 88 90 version = "11.5.8"; ··· 154 156 libPath=${libPath}:$TBB_IN_STORE:$TBB_IN_STORE/TorBrowser/Tor 155 157 156 158 # apulse uses a non-standard library path. For now special-case it. 157 - ${optionalString (audioSupport && !pulseaudioSupport) '' 159 + ${lib.optionalString (audioSupport && !pulseaudioSupport) '' 158 160 libPath=${apulse}/lib/apulse:$libPath 159 161 ''} 160 162 ··· 222 224 clearPref("security.sandbox.content.write_path_whitelist"); 223 225 ''} 224 226 225 - ${optionalString (extraPrefs != "") '' 227 + ${lib.optionalString (extraPrefs != "") '' 226 228 ${extraPrefs} 227 229 ''} 228 230 EOF ··· 249 251 GeoIPv6File $TBB_IN_STORE/TorBrowser/Data/Tor/geoip6 250 252 EOF 251 253 252 - WRAPPER_LD_PRELOAD=${optionalString useHardenedMalloc 254 + WRAPPER_LD_PRELOAD=${lib.optionalString useHardenedMalloc 253 255 "${graphene-hardened-malloc}/lib/libhardened_malloc.so"} 254 256 255 - WRAPPER_XDG_DATA_DIRS=${concatMapStringsSep ":" (x: "${x}/share") [ 257 + WRAPPER_XDG_DATA_DIRS=${lib.concatMapStringsSep ":" (x: "${x}/share") [ 256 258 gnome.adwaita-icon-theme 257 259 shared-mime-info 258 260 ]} 259 - WRAPPER_XDG_DATA_DIRS+=":"${concatMapStringsSep ":" (x: "${x}/share/gsettings-schemas/${x.name}") [ 261 + WRAPPER_XDG_DATA_DIRS+=":"${lib.concatMapStringsSep ":" (x: "${x}/share/gsettings-schemas/${x.name}") [ 260 262 glib 261 263 gsettings-desktop-schemas 262 264 gtk3 ··· 268 270 #! ${runtimeShell} 269 271 set -o errexit -o nounset 270 272 271 - PATH=${makeBinPath [ coreutils ]} 273 + PATH=${lib.makeBinPath [ coreutils ]} 272 274 export LC_ALL=C 273 275 export LOCALE_ARCHIVE=${glibcLocales}/lib/locale/locale-archive 274 276 ··· 315 317 : "\''${XDG_RUNTIME_DIR:=/run/user/\$(id -u)}" 316 318 : "\''${XDG_CONFIG_HOME:=\$REAL_HOME/.config}" 317 319 318 - ${optionalString pulseaudioSupport '' 320 + ${lib.optionalString pulseaudioSupport '' 319 321 # Figure out some envvars for pulseaudio 320 322 : "\''${PULSE_SERVER:=\$XDG_RUNTIME_DIR/pulse/native}" 321 323 : "\''${PULSE_COOKIE:=\$XDG_CONFIG_HOME/pulse/cookie}"
+1 -3
pkgs/applications/networking/cluster/k3s/default.nix
··· 25 25 , pkgsBuildBuild 26 26 }: 27 27 28 - with lib; 29 - 30 28 # k3s is a kinda weird derivation. One of the main points of k3s is the 31 29 # simplicity of it being one binary that can perform several tasks. 32 30 # However, when you have a good package manager (like nix), that doesn't ··· 71 73 # run `grep github.com/kubernetes-sigs/cri-tools go.mod | head -n1 | awk '{print $4}'` in the k3s repo at the tag 72 74 criCtlVersion = "1.26.0-rc.0-k3s1"; 73 75 74 - baseMeta = { 76 + baseMeta = with lib; { 75 77 description = "A lightweight Kubernetes distribution"; 76 78 license = licenses.asl20; 77 79 homepage = "https://k3s.io";
+5 -7
pkgs/applications/networking/cluster/spark/default.nix
··· 12 12 , R 13 13 }: 14 14 15 - with lib; 16 - 17 15 let 18 16 spark = { pname, version, sha256, extraMeta ? {} }: 19 17 stdenv.mkDerivation rec { ··· 24 26 nativeBuildInputs = [ makeWrapper ]; 25 27 buildInputs = [ jdk python3Packages.python ] 26 28 ++ extraPythonPackages 27 - ++ optional RSupport R; 29 + ++ lib.optional RSupport R; 28 30 29 31 untarDir = "${pname}-${version}"; 30 32 installPhase = '' ··· 36 38 cat > $out/lib/${untarDir}/conf/spark-env.sh <<- EOF 37 39 export JAVA_HOME="${jdk}" 38 40 export SPARK_HOME="$out/lib/${untarDir}" 39 - '' + optionalString hadoopSupport '' 41 + '' + lib.optionalString hadoopSupport '' 40 42 export SPARK_DIST_CLASSPATH=$(${hadoop}/bin/hadoop classpath) 41 43 '' + '' 42 44 export PYSPARK_PYTHON="${python3Packages.python}/bin/${python3Packages.python.executable}" 43 45 export PYTHONPATH="\$PYTHONPATH:$PYTHONPATH" 44 - ${optionalString RSupport '' 46 + ${lib.optionalString RSupport '' 45 47 export SPARKR_R_SHELL="${R}/bin/R" 46 48 export PATH="\$PATH:${R}/bin"''} 47 49 EOF ··· 62 64 meta = { 63 65 description = "Apache Spark is a fast and general engine for large-scale data processing"; 64 66 homepage = "https://spark.apache.org/"; 65 - sourceProvenance = with sourceTypes; [ binaryBytecode ]; 67 + sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; 66 68 license = lib.licenses.asl20; 67 69 platforms = lib.platforms.all; 68 - maintainers = with maintainers; [ thoughtpolice offline kamilchm illustris ]; 70 + maintainers = with lib.maintainers; [ thoughtpolice offline kamilchm illustris ]; 69 71 } // extraMeta; 70 72 }; 71 73 in
+8 -8
pkgs/applications/networking/cluster/terraform-providers/providers.json
··· 442 442 "vendorHash": "sha256-aVbJT31IIgW0GYzwVX7kT4j7E+dadSbnttThh2lzGyE=" 443 443 }, 444 444 "google": { 445 - "hash": "sha256-/UgxXHucsrt960zLQiPruqJLxjFriTrNKjeI1gNEWys=", 445 + "hash": "sha256-R104jYttXER/Pzd3ePHh9ZOvpcziuVQK0JcFqdbWtG0=", 446 446 "homepage": "https://registry.terraform.io/providers/hashicorp/google", 447 447 "owner": "hashicorp", 448 448 "proxyVendor": true, 449 449 "repo": "terraform-provider-google", 450 - "rev": "v4.49.0", 450 + "rev": "v4.50.0", 451 451 "spdx": "MPL-2.0", 452 452 "vendorHash": "sha256-oModEw/gaQCDHLf+2EKf1O1HQSGWnqEReXowE6F7W0o=" 453 453 }, 454 454 "google-beta": { 455 - "hash": "sha256-EGwErLYIL0OEIZJQgQizJqqAsZwn1ewPOqAEyg4tC7Q=", 455 + "hash": "sha256-OrotSvDNK7PC6nyHEAvmTOYgdYFiHEE8YwfWcOAbPsk=", 456 456 "homepage": "https://registry.terraform.io/providers/hashicorp/google-beta", 457 457 "owner": "hashicorp", 458 458 "proxyVendor": true, 459 459 "repo": "terraform-provider-google-beta", 460 - "rev": "v4.49.0", 460 + "rev": "v4.50.0", 461 461 "spdx": "MPL-2.0", 462 462 "vendorHash": "sha256-oModEw/gaQCDHLf+2EKf1O1HQSGWnqEReXowE6F7W0o=" 463 463 }, ··· 643 643 "vendorHash": "sha256-lXQHo66b9X0jZhoF+5Ix5qewQGyI82VPJ7gGzc2CHao=" 644 644 }, 645 645 "kubernetes": { 646 - "hash": "sha256-aKGcKmnlYxNS7SrFW2SouRQUXYy339qHrDtQMXGD4DE=", 646 + "hash": "sha256-mjxFKCUmXg9CPz/ZZWPr1F8DSUadNroEEwvJgwHYk5s=", 647 647 "homepage": "https://registry.terraform.io/providers/hashicorp/kubernetes", 648 648 "owner": "hashicorp", 649 649 "repo": "terraform-provider-kubernetes", 650 - "rev": "v2.16.1", 650 + "rev": "v2.17.0", 651 651 "spdx": "MPL-2.0", 652 652 "vendorHash": null 653 653 }, ··· 816 816 "vendorHash": "sha256-LRIfxQGwG988HE5fftGl6JmBG7tTknvmgpm4Fu1NbWI=" 817 817 }, 818 818 "oci": { 819 - "hash": "sha256-nky2PxHA9TznFh6IGrx3UvOuwrGPnQID04qlDQ4/rm4=", 819 + "hash": "sha256-EewM1/7zzmJ5KL+/KqstFg6rQT8YpvMULScYeD2ClUQ=", 820 820 "homepage": "https://registry.terraform.io/providers/oracle/oci", 821 821 "owner": "oracle", 822 822 "repo": "terraform-provider-oci", 823 - "rev": "v4.104.0", 823 + "rev": "v4.104.2", 824 824 "spdx": "MPL-2.0", 825 825 "vendorHash": null 826 826 },
+1 -3
pkgs/applications/networking/droopy/default.nix
··· 1 1 { stdenv, lib, fetchFromGitHub, wrapPython, fetchpatch }: 2 2 3 - with lib; 4 - 5 3 stdenv.mkDerivation { 6 4 pname = "droopy"; 7 5 version = "20160830"; ··· 30 32 wrapPythonPrograms 31 33 ''; 32 34 33 - meta = { 35 + meta = with lib; { 34 36 description = "Mini Web server that let others upload files to your computer"; 35 37 homepage = "http://stackp.online.fr/droopy"; 36 38 license = licenses.bsd3;
+2 -2
pkgs/applications/networking/ftp/filezilla/default.nix
··· 19 19 20 20 stdenv.mkDerivation rec { 21 21 pname = "filezilla"; 22 - version = "3.61.0"; 22 + version = "3.62.2"; 23 23 24 24 src = fetchurl { 25 25 url = "https://download.filezilla-project.org/client/FileZilla_${version}_src.tar.bz2"; 26 - hash = "sha256-Cv7w5NolICaHsy7Wsf/NhELVs1vc0W308Cuy6pLimfc="; 26 + hash = "sha256-p2cJY1yg6kdPaR9sYLGRM0rzB57xksB8NGUEuqtzjBI="; 27 27 }; 28 28 29 29 configureFlags = [
+1 -2
pkgs/applications/networking/instant-messengers/bitlbee-discord/default.nix
··· 1 1 { lib, fetchFromGitHub, stdenv, bitlbee, autoreconfHook, pkg-config, glib }: 2 2 3 - with lib; 4 3 stdenv.mkDerivation rec { 5 4 pname = "bitlbee-discord"; 6 5 version = "0.4.3"; ··· 20 21 ./autogen.sh 21 22 ''; 22 23 23 - meta = { 24 + meta = with lib; { 24 25 description = "Bitlbee plugin for Discord"; 25 26 26 27 homepage = "https://github.com/sm00th/bitlbee-discord";
+1 -2
pkgs/applications/networking/instant-messengers/bitlbee-mastodon/default.nix
··· 1 1 { lib, fetchgit, stdenv, bitlbee, autoreconfHook, pkg-config, glib }: 2 2 3 - with lib; 4 3 stdenv.mkDerivation rec { 5 4 pname = "bitlbee-mastodon"; 6 5 version = "1.4.5"; ··· 18 19 export BITLBEE_DATADIR=$out/share/bitlbee 19 20 ''; 20 21 21 - meta = { 22 + meta = with lib; { 22 23 description = "Bitlbee plugin for Mastodon"; 23 24 homepage = "https://alexschroeder.ch/cgit/bitlbee-mastodon/about"; 24 25 license = licenses.gpl2Plus;
+1 -2
pkgs/applications/networking/instant-messengers/bitlbee-steam/default.nix
··· 1 1 { lib, fetchFromGitHub, stdenv, bitlbee, autoconf, automake, libtool, pkg-config, libgcrypt }: 2 2 3 - with lib; 4 3 stdenv.mkDerivation rec { 5 4 version = "1.4.2"; 6 5 pname = "bitlbee-steam"; ··· 19 20 ./autogen.sh 20 21 ''; 21 22 22 - meta = { 23 + meta = with lib; { 23 24 description = "Steam protocol plugin for BitlBee"; 24 25 25 26 homepage = "https://github.com/jgeboski/bitlbee-steam";
+6 -7
pkgs/applications/networking/instant-messengers/bitlbee/default.nix
··· 3 3 , enablePam ? false, pam ? null 4 4 }: 5 5 6 - with lib; 7 6 stdenv.mkDerivation rec { 8 7 pname = "bitlbee"; 9 8 version = "3.6"; ··· 12 13 sha256 = "0zhhcbcr59sx9h4maf8zamzv2waya7sbsl7w74gbyilvy93dw5cz"; 13 14 }; 14 15 15 - nativeBuildInputs = [ pkg-config ] ++ optional doCheck check; 16 + nativeBuildInputs = [ pkg-config ] ++ lib.optional doCheck check; 16 17 17 18 buildInputs = [ gnutls libotr python3 ] 18 - ++ optional enableLibPurple pidgin 19 - ++ optional enablePam pam; 19 + ++ lib.optional enableLibPurple pidgin 20 + ++ lib.optional enablePam pam; 20 21 21 22 propagatedBuildInputs = [ glib ]; 22 23 ··· 24 25 "--otr=1" 25 26 "--ssl=gnutls" 26 27 "--pidfile=/var/lib/bitlbee/bitlbee.pid" 27 - ] ++ optional enableLibPurple "--purple=1" 28 - ++ optional enablePam "--pam=1"; 28 + ] ++ lib.optional enableLibPurple "--purple=1" 29 + ++ lib.optional enablePam "--pam=1"; 29 30 30 31 patches = [ 31 32 # This should be dropped once the issue is fixed upstream. ··· 45 46 46 47 enableParallelBuilding = true; 47 48 48 - meta = { 49 + meta = with lib; { 49 50 description = "IRC instant messaging gateway"; 50 51 51 52 longDescription = ''
-2
pkgs/applications/networking/instant-messengers/bitlbee/plugins.nix
··· 1 1 { lib, runCommandLocal, bitlbee }: 2 2 3 - with lib; 4 - 5 3 plugins: runCommandLocal "bitlbee-plugins" { 6 4 inherit plugins; 7 5 buildInputs = [ bitlbee plugins ];
+3 -5
pkgs/applications/networking/instant-messengers/ratox/default.nix
··· 1 1 { lib, stdenv, fetchgit, libtoxcore 2 2 , conf ? null }: 3 3 4 - with lib; 5 - 6 4 let 7 - configFile = optionalString (conf!=null) (builtins.toFile "config.h" conf); 5 + configFile = lib.optionalString (conf!=null) (builtins.toFile "config.h" conf); 8 6 9 7 in stdenv.mkDerivation { 10 8 pname = "ratox"; ··· 20 22 substituteInPlace config.mk \ 21 23 --replace '-lsodium -lopus -lvpx ' "" 22 24 23 - ${optionalString (conf!=null) "cp ${configFile} config.def.h"} 25 + ${lib.optionalString (conf!=null) "cp ${configFile} config.def.h"} 24 26 ''; 25 27 26 28 makeFlags = [ "PREFIX=$(out)" ]; 27 29 28 - meta = { 30 + meta = with lib; { 29 31 description = "FIFO based tox client"; 30 32 homepage = "http://ratox.2f30.org/"; 31 33 license = licenses.isc;
+7 -9
pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/default.nix
··· 65 65 , MetalKit 66 66 }: 67 67 68 - with lib; 69 - 70 68 let 71 69 tg_owt = callPackage ./tg_owt.nix { 72 70 abseil-cpp = abseil-cpp.override { ··· 97 99 ./shortcuts-binary-path.patch 98 100 ]; 99 101 100 - postPatch = optionalString stdenv.isLinux '' 102 + postPatch = lib.optionalString stdenv.isLinux '' 101 103 substituteInPlace Telegram/ThirdParty/libtgvoip/os/linux/AudioInputALSA.cpp \ 102 104 --replace '"libasound.so.2"' '"${alsa-lib}/lib/libasound.so.2"' 103 105 substituteInPlace Telegram/ThirdParty/libtgvoip/os/linux/AudioOutputALSA.cpp \ 104 106 --replace '"libasound.so.2"' '"${alsa-lib}/lib/libasound.so.2"' 105 107 substituteInPlace Telegram/ThirdParty/libtgvoip/os/linux/AudioPulse.cpp \ 106 108 --replace '"libpulse.so.0"' '"${libpulseaudio}/lib/libpulse.so.0"' 107 - '' + optionalString stdenv.isDarwin '' 109 + '' + lib.optionalString stdenv.isDarwin '' 108 110 sed -i "13i#import <CoreAudio/CoreAudio.h>" Telegram/lib_webrtc/webrtc/mac/webrtc_media_devices_mac.mm 109 111 substituteInPlace Telegram/CMakeLists.txt \ 110 112 --replace 'COMMAND iconutil' 'COMMAND png2icns' \ ··· 120 122 python3 121 123 wrapQtAppsHook 122 124 removeReferencesTo 123 - ] ++ optionals stdenv.isLinux [ 125 + ] ++ lib.optionals stdenv.isLinux [ 124 126 # to build bundled libdispatch 125 127 clang 126 128 extra-cmake-modules ··· 141 143 rnnoise 142 144 tg_owt 143 145 microsoft_gsl 144 - ] ++ optionals stdenv.isLinux [ 146 + ] ++ lib.optionals stdenv.isLinux [ 145 147 kwayland 146 148 alsa-lib 147 149 libpulseaudio ··· 149 151 glibmm 150 152 jemalloc 151 153 wayland 152 - ] ++ optionals stdenv.isDarwin [ 154 + ] ++ lib.optionals stdenv.isDarwin [ 153 155 Cocoa 154 156 CoreFoundation 155 157 CoreServices ··· 190 192 "-DDESKTOP_APP_QT6=OFF" 191 193 ]; 192 194 193 - installPhase = optionalString stdenv.isDarwin '' 195 + installPhase = lib.optionalString stdenv.isDarwin '' 194 196 mkdir -p $out/Applications 195 197 cp -r Kotatogram.app $out/Applications 196 198 ln -s $out/Applications/Kotatogram.app/Contents/MacOS $out/bin ··· 207 209 inherit tg_owt; 208 210 }; 209 211 210 - meta = { 212 + meta = with lib; { 211 213 description = "Kotatogram – experimental Telegram Desktop fork"; 212 214 longDescription = '' 213 215 Unofficial desktop client for the Telegram messenger, based on Telegram Desktop.
+2 -4
pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/with-webkit.nix
··· 1 1 { stdenv, lib, kotatogram-desktop, glib-networking, webkitgtk, makeWrapper }: 2 2 3 - with lib; 4 - 5 3 stdenv.mkDerivation { 6 4 pname = "${kotatogram-desktop.pname}-with-webkit"; 7 5 version = kotatogram-desktop.version; ··· 13 15 mkdir -p $out/bin 14 16 makeWrapper ${kotatogram-desktop}/bin/kotatogram-desktop $out/bin/kotatogram-desktop \ 15 17 --prefix GIO_EXTRA_MODULES : ${glib-networking}/lib/gio/modules \ 16 - --prefix LD_LIBRARY_PATH : ${makeLibraryPath [ webkitgtk ]} 18 + --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ webkitgtk ]} 17 19 ''; 18 20 meta = kotatogram-desktop.meta // { 19 - platforms = platforms.linux; 21 + platforms = lib.platforms.linux; 20 22 }; 21 23 }
+2 -4
pkgs/applications/networking/instant-messengers/wavebox/default.nix
··· 3 3 , xorg 4 4 }: 5 5 6 - with lib; 7 - 8 6 let 9 7 bits = "x86_64"; 10 8 ··· 17 19 categories = [ "Network" ]; 18 20 }; 19 21 20 - tarball = "Wavebox_${replaceStrings ["."] ["_"] (toString version)}_linux_${bits}.tar.gz"; 22 + tarball = "Wavebox_${lib.replaceStrings ["."] ["_"] (toString version)}_linux_${bits}.tar.gz"; 21 23 22 24 in stdenv.mkDerivation { 23 25 pname = "wavebox"; ··· 38 40 alsa-lib gtk3 nss 39 41 ]; 40 42 41 - runtimeDependencies = [ (getLib udev) libnotify ]; 43 + runtimeDependencies = [ (lib.getLib udev) libnotify ]; 42 44 43 45 installPhase = '' 44 46 mkdir -p $out/bin $out/opt/wavebox
+3 -5
pkgs/applications/networking/irc/convos/default.nix
··· 2 2 , nixosTests 3 3 }: 4 4 5 - with lib; 6 - 7 5 perlPackages.buildPerlPackage rec { 8 6 pname = "convos"; 9 7 version = "7.02"; ··· 14 16 }; 15 17 16 18 nativeBuildInputs = [ makeWrapper ] 17 - ++ optionals stdenv.isDarwin [ shortenPerlShebang ]; 19 + ++ lib.optionals stdenv.isDarwin [ shortenPerlShebang ]; 18 20 19 21 buildInputs = with perlPackages; [ 20 22 CryptPassphrase CryptPassphraseArgon2 CryptPassphraseBcrypt ··· 77 79 ln -s $AUTO_SHARE_PATH/public/asset $out/asset 78 80 cp -vR templates $out/templates 79 81 cp cpanfile $out/cpanfile 80 - '' + optionalString stdenv.isDarwin '' 82 + '' + lib.optionalString stdenv.isDarwin '' 81 83 shortenPerlShebang $out/bin/convos 82 84 '' + '' 83 85 wrapProgram $out/bin/convos --set MOJO_HOME $out ··· 89 91 homepage = "https://convos.chat"; 90 92 description = "Convos is the simplest way to use IRC in your browser"; 91 93 license = lib.licenses.artistic2; 92 - maintainers = with maintainers; [ sgo ]; 94 + maintainers = with lib.maintainers; [ sgo ]; 93 95 }; 94 96 }
+3 -5
pkgs/applications/networking/mailreaders/claws-mail/default.nix
··· 52 52 , enablePluginVcalendar ? true, libical 53 53 }: 54 54 55 - with lib; 56 - 57 55 let 58 56 pythonPkgs = with python3.pkgs; [ python3 wrapPython pygobject3 ]; 59 57 ··· 128 130 129 131 buildInputs = 130 132 [ curl gsettings-desktop-schemas glib-networking gtk3 ] 131 - ++ concatMap (f: optionals f.enabled f.deps) (filter (f: f ? deps) features) 133 + ++ lib.concatMap (f: lib.optionals f.enabled f.deps) (lib.filter (f: f ? deps) features) 132 134 ; 133 135 134 136 configureFlags = ··· 139 141 140 142 "--disable-gdata-plugin" # Complains about missing libgdata, even when provided 141 143 ] ++ 142 - (map (feature: map (flag: strings.enableFeature feature.enabled flag) feature.flags) features); 144 + (map (feature: map (flag: lib.strings.enableFeature feature.enabled flag) feature.flags) features); 143 145 144 146 enableParallelBuilding = true; 145 147 ··· 153 155 cp claws-mail.desktop $out/share/applications 154 156 ''; 155 157 156 - meta = { 158 + meta = with lib; { 157 159 description = "The user-friendly, lightweight, and fast email client"; 158 160 homepage = "https://www.claws-mail.org/"; 159 161 license = licenses.gpl3Plus;
+6 -8
pkgs/applications/networking/mailreaders/sylpheed/default.nix
··· 4 4 assert gpgSupport -> gpgme != null; 5 5 assert sslSupport -> openssl != null; 6 6 7 - with lib; 8 - 9 7 stdenv.mkDerivation rec { 10 8 pname = "sylpheed"; 11 9 version = "3.7.0"; ··· 31 33 nativeBuildInputs = [ pkg-config ]; 32 34 33 35 buildInputs = [ gtk2 ] 34 - ++ optionals gpgSupport [ gpgme ] 35 - ++ optionals sslSupport [ openssl ] 36 - ++ optionals stdenv.isDarwin [ Foundation ]; 36 + ++ lib.optionals gpgSupport [ gpgme ] 37 + ++ lib.optionals sslSupport [ openssl ] 38 + ++ lib.optionals stdenv.isDarwin [ Foundation ]; 37 39 38 - configureFlags = optional gpgSupport "--enable-gpgme" 39 - ++ optional sslSupport "--enable-ssl"; 40 + configureFlags = lib.optional gpgSupport "--enable-gpgme" 41 + ++ lib.optional sslSupport "--enable-ssl"; 40 42 41 43 # Undefined symbols for architecture arm64: "_OBJC_CLASS_$_NSAutoreleasePool" 42 44 NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-framework Foundation"; 43 45 44 - meta = { 46 + meta = with lib; { 45 47 homepage = "https://sylpheed.sraoss.jp/en/"; 46 48 description = "Lightweight and user-friendly e-mail client"; 47 49 maintainers = with maintainers; [ eelco ];
+7 -8
pkgs/applications/networking/p2p/qbittorrent/default.nix
··· 9 9 assert guiSupport -> (dbus != null); 10 10 assert trackerSearch -> (python3 != null); 11 11 12 - with lib; 13 12 mkDerivation rec { 14 13 pname = "qbittorrent"; 15 14 version = "4.4.5"; ··· 26 27 nativeBuildInputs = [ pkg-config ]; 27 28 28 29 buildInputs = [ boost libtorrent-rasterbar qtbase qttools qtsvg ] 29 - ++ optional guiSupport dbus # D(esktop)-Bus depends on GUI support 30 - ++ optional trackerSearch python3; 30 + ++ lib.optional guiSupport dbus # D(esktop)-Bus depends on GUI support 31 + ++ lib.optional trackerSearch python3; 31 32 32 33 # Otherwise qm_gen.pri assumes lrelease-qt5, which does not exist. 33 34 QMAKE_LRELEASE = "lrelease"; ··· 35 36 configureFlags = [ 36 37 "--with-boost-libdir=${boost.out}/lib" 37 38 "--with-boost=${boost.dev}" ] 38 - ++ optionals (!guiSupport) [ "--disable-gui" "--enable-systemd" ] # Also place qbittorrent-nox systemd service files 39 - ++ optional (!webuiSupport) "--disable-webui" 40 - ++ optional debugSupport "--enable-debug"; 39 + ++ lib.optionals (!guiSupport) [ "--disable-gui" "--enable-systemd" ] # Also place qbittorrent-nox systemd service files 40 + ++ lib.optional (!webuiSupport) "--disable-webui" 41 + ++ lib.optional debugSupport "--enable-debug"; 41 42 42 - qtWrapperArgs = optional trackerSearch "--prefix PATH : ${makeBinPath [ python3 ]}"; 43 + qtWrapperArgs = lib.optional trackerSearch "--prefix PATH : ${lib.makeBinPath [ python3 ]}"; 43 44 44 45 postInstall = lib.optionalString stdenv.isDarwin '' 45 46 mkdir -p $out/{Applications,bin} ··· 47 48 makeWrapper $out/{Applications/qbittorrent.app/Contents/MacOS,bin}/qbittorrent 48 49 ''; 49 50 50 - meta = { 51 + meta = with lib; { 51 52 description = "Featureful free software BitTorrent client"; 52 53 homepage = "https://www.qbittorrent.org/"; 53 54 changelog = "https://github.com/qbittorrent/qBittorrent/blob/release-${version}/Changelog";
+6 -8
pkgs/applications/networking/sniffers/wireshark/default.nix
··· 8 8 9 9 assert withQt -> qt5 != null; 10 10 11 - with lib; 12 - 13 11 let 14 12 version = "4.0.2"; 15 13 variant = if withQt then "qt" else "cli"; ··· 37 39 NIX_CFLAGS_COMPILE = [ "-DQT_NO_DEBUG" ]; 38 40 39 41 nativeBuildInputs = [ asciidoctor bison cmake flex makeWrapper pkg-config python3 perl ] 40 - ++ optionals withQt [ qt5.wrapQtAppsHook wrapGAppsHook ]; 42 + ++ lib.optionals withQt [ qt5.wrapQtAppsHook wrapGAppsHook ]; 41 43 42 44 depsBuildBuild = [ buildPackages.stdenv.cc ]; 43 45 44 46 buildInputs = [ 45 47 gettext pcre2 libpcap lua5 libssh nghttp2 openssl libgcrypt 46 48 libgpg-error gnutls geoip c-ares glib zlib 47 - ] ++ optionals withQt (with qt5; [ qtbase qtmultimedia qtsvg qttools ]) 48 - ++ optionals stdenv.isLinux [ libcap libnl ] 49 - ++ optionals stdenv.isDarwin [ SystemConfiguration ApplicationServices gmp ] 50 - ++ optionals (withQt && stdenv.isDarwin) (with qt5; [ qtmacextras ]); 49 + ] ++ lib.optionals withQt (with qt5; [ qtbase qtmultimedia qtsvg qttools ]) 50 + ++ lib.optionals stdenv.isLinux [ libcap libnl ] 51 + ++ lib.optionals stdenv.isDarwin [ SystemConfiguration ApplicationServices gmp ] 52 + ++ lib.optionals (withQt && stdenv.isDarwin) (with qt5; [ qtmacextras ]); 51 53 52 54 strictDeps = true; 53 55 ··· 70 72 install_name_tool -change "$dylib" "$out/lib/$dylib" "$f" 71 73 done 72 74 done 73 - '' else optionalString withQt '' 75 + '' else lib.optionalString withQt '' 74 76 pwd 75 77 install -Dm644 -t $out/share/applications ../resources/freedesktop/org.wireshark.Wireshark.desktop 76 78
+8 -10
pkgs/applications/networking/znc/default.nix
··· 9 9 , withDebug ? false 10 10 }: 11 11 12 - with lib; 13 - 14 12 stdenv.mkDerivation rec { 15 13 pname = "znc"; 16 14 version = "1.8.2"; ··· 21 23 nativeBuildInputs = [ pkg-config ]; 22 24 23 25 buildInputs = [ openssl ] 24 - ++ optional withPerl perl 25 - ++ optional withPython python3 26 - ++ optional withTcl tcl 27 - ++ optional withCyrus cyrus_sasl 28 - ++ optional withUnicode icu 29 - ++ optional withZlib zlib; 26 + ++ lib.optional withPerl perl 27 + ++ lib.optional withPython python3 28 + ++ lib.optional withTcl tcl 29 + ++ lib.optional withCyrus cyrus_sasl 30 + ++ lib.optional withUnicode icu 31 + ++ lib.optional withZlib zlib; 30 32 31 33 configureFlags = [ 32 34 (lib.enableFeature withPerl "perl") ··· 34 36 (lib.enableFeature withTcl "tcl") 35 37 (lib.withFeatureAs withTcl "tcl" "${tcl}/lib") 36 38 (lib.enableFeature withCyrus "cyrus") 37 - ] ++ optionals (!withIPv6) [ "--disable-ipv6" ] 38 - ++ optionals withDebug [ "--enable-debug" ]; 39 + ] ++ lib.optionals (!withIPv6) [ "--disable-ipv6" ] 40 + ++ lib.optionals withDebug [ "--enable-debug" ]; 39 41 40 42 enableParallelBuilding = true; 41 43
+43
pkgs/applications/radio/cloudlog/default.nix
··· 1 + { lib 2 + , stdenvNoCC 3 + , fetchFromGitHub 4 + , nixosTests 5 + , php}: 6 + 7 + stdenvNoCC.mkDerivation rec { 8 + name = "cloudlog"; 9 + version = "2.3"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "magicbug"; 13 + repo = "Cloudlog"; 14 + rev = version; 15 + sha256 = "sha256-IepCeV/mYy/GEzRTXf67LYQQaN5Rj5Z77KaF2l30r60="; 16 + }; 17 + 18 + postPath = '' 19 + substituteInPlace index.php \ 20 + --replace "define('ENVIRONMENT', 'development');" "define('ENVIRONMENT', 'production');" 21 + ''; 22 + 23 + installPhase = '' 24 + mkdir $out/ 25 + cp -R ./* $out 26 + ''; 27 + 28 + passthru.tests = { 29 + inherit (nixosTests) cloudlog; 30 + }; 31 + 32 + meta = with lib; { 33 + description = '' 34 + Web based amateur radio logging application built using PHP & MySQL 35 + supports general station logging tasks from HF to Microwave with 36 + supporting applications to support CAT control. 37 + ''; 38 + license = licenses.mit; 39 + homepage = "https://www.magicbug.co.uk/cloudlog"; 40 + platforms = php.meta.platforms; 41 + maintainers = with maintainers; [ melling ]; 42 + }; 43 + }
+2 -2
pkgs/applications/radio/gridtracker/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "gridtracker"; 9 - version = "1.22.1226"; 9 + version = "1.23.0110"; 10 10 11 11 src = fetchFromGitLab { 12 12 owner = "gridtracker.org"; 13 13 repo = "gridtracker"; 14 14 rev = "v${version}"; 15 - sha256 = "sha256-/Noc2aqHBjphX6RDqxQBI/OOKZgEnOndn0daBt1edXM="; 15 + sha256 = "sha256-yQWdBNt7maYTzroB+P1hsGIeivkP+soR3/b847HLYZY="; 16 16 }; 17 17 18 18 postPatch = ''
+2 -2
pkgs/applications/radio/sdrangel/default.nix
··· 42 42 43 43 mkDerivation rec { 44 44 pname = "sdrangel"; 45 - version = "7.8.5"; 45 + version = "7.8.6"; 46 46 47 47 src = fetchFromGitHub { 48 48 owner = "f4exb"; 49 49 repo = "sdrangel"; 50 50 rev = "v${version}"; 51 - sha256 = "sha256-m5b51rR2l4EdF2kMogHIi1ojoy3UwuU0Q3pfB1ev300="; 51 + sha256 = "sha256-tLU2OHFf1PPNRr1t3MWWCKnvILp1DW0k4TAxrXWI2X4="; 52 52 }; 53 53 54 54 nativeBuildInputs = [ cmake pkg-config ];
+3 -3
pkgs/applications/science/misc/openmvg/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, pkg-config, cmake 1 + { lib, stdenv, fetchFromGitHub, pkg-config, cmake, cereal, openmp 2 2 , libjpeg ? null 3 3 , zlib ? null 4 4 , libpng ? null ··· 19 19 fetchSubmodules = true; 20 20 }; 21 21 22 - buildInputs = [ libjpeg zlib libpng eigen libtiff ]; 22 + buildInputs = [ libjpeg zlib libpng eigen libtiff cereal openmp ]; 23 23 24 24 nativeBuildInputs = [ cmake pkg-config ]; 25 25 ··· 45 45 homepage = "https://openmvg.readthedocs.io/en/latest/"; 46 46 license = lib.licenses.mpl20; 47 47 platforms = lib.platforms.unix; 48 - maintainers = with lib.maintainers; [ mdaiter ]; 48 + maintainers = with lib.maintainers; [ mdaiter bouk ]; 49 49 }; 50 50 }
+11 -2
pkgs/applications/system/monitor/default.nix
··· 8 8 , pkg-config 9 9 , pantheon 10 10 , python3 11 + , curl 11 12 , gettext 12 13 , glib 13 14 , gtk3 15 + , json-glib 14 16 , libwnck 15 17 , libgee 16 18 , libgtop ··· 27 25 28 26 stdenv.mkDerivation rec { 29 27 pname = "monitor"; 30 - version = "0.14.0"; 28 + version = "0.15.0"; 31 29 32 30 src = fetchFromGitHub { 33 31 owner = "stsdc"; 34 32 repo = "monitor"; 35 33 rev = version; 36 - sha256 = "sha256-dw1FR9nU8MY6LBL3sF942azeSgKmCntXCk4+nhMb4Wo="; 34 + sha256 = "sha256-w4c9rVO54mrjUX2iRxUQ7PHqE+8D+BqBgHMK2X9nI0g="; 37 35 fetchSubmodules = true; 38 36 }; 39 37 ··· 48 46 ]; 49 47 50 48 buildInputs = [ 49 + curl 51 50 glib 52 51 gtk3 52 + json-glib 53 53 pantheon.granite 54 54 pantheon.wingpanel 55 55 libgee ··· 76 72 postPatch = '' 77 73 chmod +x meson/post_install.py 78 74 patchShebangs meson/post_install.py 75 + 76 + # Alternatively, using pkg-config here should just work. 77 + substituteInPlace meson.build --replace \ 78 + "meson.get_compiler('c').find_library('libcurl', dirs: vapidir)" \ 79 + "meson.get_compiler('c').find_library('libcurl', dirs: '${curl.out}/lib')" 79 80 ''; 80 81 81 82 passthru = {
+3 -3
pkgs/applications/version-management/git-cliff/default.nix
··· 7 7 8 8 rustPlatform.buildRustPackage rec { 9 9 pname = "git-cliff"; 10 - version = "1.1.1"; 10 + version = "1.1.2"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "orhun"; 14 14 repo = "git-cliff"; 15 15 rev = "v${version}"; 16 - hash = "sha256-GCHwpOfjti9PETy3cHFHBFBot6YcSSFTBCd3zEtpP3U="; 16 + hash = "sha256-QYldwxQYod5qkNC3soiKoCLDFR4UaLxdGkVufn1JIeE="; 17 17 }; 18 18 19 - cargoHash = "sha256-76HWkfct9weA64yvY5G/l96mjNpuKjPYHFZ5Ctz43Us="; 19 + cargoHash = "sha256-jwDJb9Hl0PegCufmaj1Q3h5itgt26E4dwmcyCxZ+4FM="; 20 20 21 21 # attempts to run the program on .git in src which is not deterministic 22 22 doCheck = false;
+3 -1
pkgs/applications/video/mythtv/default.nix
··· 1 1 { lib, mkDerivation, fetchFromGitHub, fetchpatch, which, qtbase, qtwebkit, qtscript 2 2 , libpulseaudio, fftwSinglePrec , lame, zlib, libGLU, libGL, alsa-lib, freetype 3 3 , perl, pkg-config , libsamplerate, libbluray, lzo, libX11, libXv, libXrandr, libXvMC, libXinerama, libXxf86vm 4 - , libXmu , yasm, libuuid, taglib, libtool, autoconf, automake, file, exiv2, linuxHeaders, soundtouch, libzip 4 + , libXmu , yasm, libuuid, taglib, libtool, autoconf, automake, file, exiv2, linuxHeaders 5 + , soundtouch, libzip, libhdhomerun 5 6 , withWebKit ? false 6 7 }: 7 8 ··· 36 35 freetype qtbase qtscript lame zlib libGLU libGL 37 36 perl libsamplerate libbluray lzo alsa-lib libpulseaudio fftwSinglePrec libX11 libXv libXrandr libXvMC 38 37 libXmu libXinerama libXxf86vm libXmu libuuid taglib exiv2 soundtouch libzip 38 + libhdhomerun 39 39 ] ++ lib.optional withWebKit qtwebkit; 40 40 nativeBuildInputs = [ pkg-config which yasm libtool autoconf automake file ]; 41 41
+2 -2
pkgs/applications/video/obs-studio/plugins/obs-move-transition.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "obs-move-transition"; 10 - version = "2.7.1"; 10 + version = "2.8.0"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "exeldro"; 14 14 repo = "obs-move-transition"; 15 15 rev = version; 16 - sha256 = "sha256-zWHQ01iNTlqSAKcmsDCUZPXmmBIpqY/ZDftD5J6kp80="; 16 + sha256 = "sha256-v4mAv4dqurM2S4/vM1APge0xoMLnOaigGU15vjNxxSo="; 17 17 }; 18 18 19 19 nativeBuildInputs = [ cmake ];
+1 -6
pkgs/build-support/build-bazel-package/default.nix
··· 1 1 { stdenv 2 - , bazel 3 2 , cacert 4 3 , lib 5 4 }: 6 5 7 - let 8 - bazelPkg = bazel; 9 - in 10 - 11 6 args@{ 12 7 name ? "${args.pname}-${args.version}" 13 - , bazel ? bazelPkg 8 + , bazel 14 9 , bazelFlags ? [] 15 10 , bazelBuildFlags ? [] 16 11 , bazelTestFlags ? []
+3 -3
pkgs/build-support/cc-wrapper/default.nix
··· 372 372 echo "-isystem $dir" >> $out/nix-support/libcxx-cxxflags 373 373 done 374 374 '' 375 - + optionalString (libcxx.isLLVM or false) ('' 375 + + optionalString (libcxx.isLLVM or false) '' 376 376 echo "-isystem ${lib.getDev libcxx}/include/c++/v1" >> $out/nix-support/libcxx-cxxflags 377 377 echo "-stdlib=libc++" >> $out/nix-support/libcxx-ldflags 378 - echo "-lc++abi" >> $out/nix-support/libcxx-ldflags 379 - '') 378 + echo "-l${libcxx.cxxabi.libName}" >> $out/nix-support/libcxx-ldflags 379 + '' 380 380 381 381 ## 382 382 ## Initial CFLAGS
+17 -12
pkgs/data/fonts/aileron/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 3 let 4 4 majorVersion = "0"; 5 5 minorVersion = "102"; 6 - pname = "aileron"; 7 6 in 7 + stdenvNoCC.mkDerivation (self: { 8 + pname = "aileron"; 9 + version = "${majorVersion}.${minorVersion}"; 8 10 9 - fetchzip { 10 - name = "${pname}-font-${majorVersion}.${minorVersion}"; 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-Ht48gwJZrn0djo1yl6jHZ4+0b710FVwStiC1Zk5YXME="; 14 + stripRoot = false; 15 + }; 11 16 12 - url = "http://dotcolon.net/DL/font/${pname}.zip"; 13 - sha256 = "04xnzdy9plzd2p02yq367h37m5ygx0w8cpkdv39cc3754ljlsxim"; 17 + installPhase = '' 18 + runHook preInstall 14 19 15 - postFetch = '' 16 - mkdir -p $out/share/fonts/opentype/${pname} 17 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname} 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 + 22 + runHook postInstall 18 23 ''; 19 24 20 25 meta = with lib; { 21 - homepage = "http://dotcolon.net/font/${pname}/"; 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 22 27 description = "A helvetica font in nine weights"; 23 28 platforms = platforms.all; 24 - maintainers = with maintainers; [ leenaars ]; 29 + maintainers = with maintainers; [ leenaars minijackson ]; 25 30 license = licenses.cc0; 26 31 }; 27 - } 32 + })
+13 -9
pkgs/data/fonts/alkalami/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 - fetchzip rec { 3 + stdenvNoCC.mkDerivation rec { 4 4 pname = "alkalami"; 5 5 version = "2.000"; 6 6 7 - url = "https://software.sil.org/downloads/r/alkalami/Alkalami-${version}.zip"; 7 + src = fetchzip { 8 + url = "https://software.sil.org/downloads/r/alkalami/Alkalami-${version}.zip"; 9 + hash = "sha256-rT0HzTFbooHr+l5BQ9GVYKxxNk7TESdkOQfWBeVpwYI="; 10 + }; 8 11 9 - postFetch = '' 10 - rm -rf $out/web $out/manifest.json 12 + installPhase = '' 13 + runHook preInstall 14 + 11 15 mkdir -p $out/share/{doc/${pname},fonts/truetype} 12 - mv $out/*.ttf $out/share/fonts/truetype/ 13 - mv $out/*.txt $out/documentation $out/share/doc/${pname}/ 14 - ''; 16 + mv *.ttf $out/share/fonts/truetype/ 17 + mv *.txt documentation $out/share/doc/${pname}/ 15 18 16 - sha256 = "sha256-GjX3YOItLKSMlRjUbBgGp2D7QS/pOJQYuQJzW+iqBNo="; 19 + runHook postInstall 20 + ''; 17 21 18 22 meta = with lib; { 19 23 homepage = "https://software.sil.org/alkalami/";
+14 -11
pkgs/data/fonts/amiri/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "amiri"; 4 5 version = "1.000"; 5 6 6 - in fetchzip rec { 7 - name = "Amiri-${version}"; 7 + src = fetchzip { 8 + url = "https://github.com/alif-type/amiri/releases/download/${version}/Amiri-${version}.zip"; 9 + hash = "sha256-WXxKLYIIKe01WWZrI1aLOv65wRgn7aqHl6Codf4foVw="; 10 + }; 8 11 9 - url = "https://github.com/alif-type/amiri/releases/download/${version}/${name}.zip"; 12 + installPhase = '' 13 + runHook preInstall 10 14 11 - sha256 = "sha256-hG6m/zsGoGF5/xhHz9EHVL9Sg9dlQqfXpQ/lqNyI1vU="; 12 - 13 - postFetch = '' 14 15 mkdir -p $out/share/fonts/truetype 15 - mv $out/*.ttf $out/share/fonts/truetype/ 16 - mkdir -p $out/share/doc/${name} 17 - mv $out/{*.html,*.txt,*.md} $out/share/doc/${name}/ 16 + mv *.ttf $out/share/fonts/truetype/ 17 + mkdir -p $out/share/doc/${pname}-${version} 18 + mv {*.html,*.txt,*.md} $out/share/doc/${pname}-${version}/ 19 + 20 + runHook postInstall 18 21 ''; 19 22 20 23 meta = with lib; {
+15 -9
pkgs/data/fonts/ankacoder/condensed.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 - let version = "1.100"; in 4 - fetchzip { 5 - name = "ankacoder-condensed-${version}"; 6 - url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/anka-coder-fonts/AnkaCoderCondensed.${version}.zip"; 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "ankacoder-condensed"; 5 + version = "1.100"; 7 6 8 - postFetch = '' 9 - unzip $downloadedFile 7 + src = fetchzip { 8 + url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/anka-coder-fonts/AnkaCoderCondensed.${version}.zip"; 9 + stripRoot = false; 10 + hash = "sha256-NHrkV4Sb7i+DC4e4lToEYzah3pI+sKyYf2rGbhWj7iY="; 11 + }; 12 + 13 + installPhase = '' 14 + runHook preInstall 15 + 10 16 mkdir -p $out/share/fonts/truetype 11 17 cp *.ttf $out/share/fonts/truetype 12 - ''; 13 18 14 - sha256 = "0i80zpr2y9368rg2i6x8jv0g7d03kdyr5h7w9yz7pjd7i9xd8439"; 19 + runHook postInstall 20 + ''; 15 21 16 22 meta = with lib; { 17 23 description = "Anka/Coder Condensed font";
+15 -10
pkgs/data/fonts/anonymous-pro/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "anonymouspro"; 4 5 version = "1.002"; 5 - in fetchzip rec { 6 - name = "anonymousPro-${version}"; 7 6 8 - url = "http://www.marksimonson.com/assets/content/fonts/AnonymousPro-${version}.zip"; 9 - postFetch = '' 10 - mkdir -p $out/share/{doc,fonts} 11 - unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype 12 - unzip -j $downloadedFile \*.txt -d "$out/share/doc/${name}" 7 + src = fetchzip { 8 + url = "https://www.marksimonson.com/assets/content/fonts/AnonymousPro-${lib.replaceStrings ["."] ["_"] version}.zip"; 9 + hash = "sha256-FhyzV4By8XKN9EyukAknzml/7lUuV6Evnt6Ht3H6TUU="; 10 + }; 11 + 12 + installPhase = '' 13 + runHook preInstall 14 + 15 + install -Dm644 *.ttf -t $out/share/fonts/truetype 16 + install -Dm644 *.txt -t $out/share/doc/${pname}-${version} 17 + 18 + runHook postInstall 13 19 ''; 14 - sha256 = "05rgzag38qc77b31sm5i2vwwrxbrvwzfsqh3slv11skx36pz337f"; 15 20 16 21 meta = with lib; { 17 22 homepage = "https://www.marksimonson.com/fonts/view/anonymous-pro";
+41 -20
pkgs/data/fonts/arphic/default.nix
··· 1 - { lib, fetchzip, mkfontscale, mkfontdir }: 1 + { lib, stdenvNoCC, fetchurl, mkfontdir, mkfontscale }: 2 2 3 3 let 4 4 version = "0.2.20080216.2"; 5 - in { 6 - arphic-ukai = fetchzip { 7 - name = "arphic-ukai-${version}"; 5 + in 6 + { 7 + arphic-ukai = stdenvNoCC.mkDerivation rec { 8 + pname = "arphic-ukai"; 9 + inherit version; 8 10 9 - url = "mirror://ubuntu/pool/main/f/fonts-arphic-ukai/fonts-arphic-ukai_${version}.orig.tar.bz2"; 11 + src = fetchurl { 12 + url = "mirror://ubuntu/pool/main/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.bz2"; 13 + hash = "sha256-tJaNc1GfT4dH6FVI+4XSG2Zdob8bqQCnxJmXbmqK49I="; 14 + }; 10 15 11 - postFetch = '' 12 - tar -xjvf $downloadedFile --strip-components=1 16 + nativeBuildInputs = [ 17 + mkfontscale 18 + mkfontdir 19 + ]; 20 + 21 + installPhase = '' 22 + runHook preInstall 23 + 13 24 install -D -v ukai.ttc $out/share/fonts/truetype/arphic-ukai.ttc 14 25 cd $out/share/fonts 15 - ${mkfontdir}/bin/mkfontdir 16 - ${mkfontscale}/bin/mkfontscale 17 - ''; 26 + mkfontdir 27 + mkfontscale 18 28 19 - sha256 = "0xi5ycm7ydzpn7cqxv1kcj9vd70nr9wn8v27hmibyjc25y2qdmzl"; 29 + runHook postInstall 30 + ''; 20 31 21 32 meta = with lib; { 22 33 description = "CJK Unicode font Kai style"; ··· 39 28 }; 40 29 }; 41 30 42 - arphic-uming = fetchzip { 43 - name = "arphic-uming-${version}"; 31 + arphic-uming = stdenvNoCC.mkDerivation rec { 32 + pname = "arphic-uming"; 33 + inherit version; 44 34 45 - url = "mirror://ubuntu/pool/main/f/fonts-arphic-uming/fonts-arphic-uming_${version}.orig.tar.bz2"; 35 + src = fetchurl { 36 + url = "mirror://ubuntu/pool/main/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.bz2"; 37 + hash = "sha256-48GeBOp6VltKz/bx5CSAhNLhB1LjBb991sdugIYNwds="; 38 + }; 46 39 47 - postFetch = '' 48 - tar -xjvf $downloadedFile --strip-components=1 40 + nativeBuildInputs = [ 41 + mkfontscale 42 + mkfontdir 43 + ]; 44 + 45 + installPhase = '' 46 + runHook preInstall 47 + 49 48 install -D -v uming.ttc $out/share/fonts/truetype/arphic-uming.ttc 50 49 cd $out/share/fonts 51 - ${mkfontdir}/bin/mkfontdir 52 - ${mkfontscale}/bin/mkfontscale 53 - ''; 50 + mkfontdir 51 + mkfontscale 54 52 55 - sha256 = "16jybvj1cxamm682caj6nsm6l5c60x9mgchp1l2izrw2rvc8x38d"; 53 + runHook postInstall 54 + ''; 56 55 57 56 meta = with lib; { 58 57 description = "CJK Unicode font Ming style";
+15 -9
pkgs/data/fonts/baekmuk-ttf/default.nix
··· 1 - { fetchzip }: 1 + { lib, stdenvNoCC, fetchurl }: 2 2 3 - fetchzip rec { 4 - name = "baekmuk-ttf-2.2"; 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "baekmuk-ttf"; 5 + version = "2.2"; 5 6 6 - url = "http://kldp.net/baekmuk/release/865-${name}.tar.gz"; 7 - postFetch = '' 8 - tar -xzvf $downloadedFile --strip-components=1 7 + src = fetchurl { 8 + url = "http://kldp.net/baekmuk/release/865-${pname}-${version}.tar.gz"; 9 + hash = "sha256-CKt9/7VdWIfMlCzjcPXjO3VqVfu06vC5DyRAcOjVGII="; 10 + }; 11 + 12 + installPhase = '' 13 + runHook preInstall 14 + 9 15 install -m444 -Dt $out/share/fonts ttf/*.ttf 10 - install -m444 -Dt $out/share/doc/${name} COPYRIGHT* 16 + install -m444 -Dt $out/share/doc/${pname}-${version} COPYRIGHT* 17 + 18 + runHook postInstall 11 19 ''; 12 - sha256 = "1jgsvack1l14q8lbcv4qhgbswi30mf045k37rl772hzcmx0r206g"; 13 20 14 21 meta = { 15 22 description = "Korean font"; ··· 24 17 license = "BSD-like"; 25 18 }; 26 19 } 27 -
+14 -8
pkgs/data/fonts/bakoma-ttf/default.nix
··· 1 - { fetchzip }: 1 + { lib, stdenvNoCC, fetchurl }: 2 2 3 - fetchzip { 4 - name = "bakoma-ttf"; 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "bakoma-ttf"; 5 + version = "2.2"; 5 6 6 - url = "http://tarballs.nixos.org/sha256/1j1y3cq6ys30m734axc0brdm2q9n2as4h32jws15r7w5fwr991km"; 7 + src = fetchurl { 8 + name = "${pname}.tar.bz2"; 9 + url = "http://tarballs.nixos.org/sha256/1j1y3cq6ys30m734axc0brdm2q9n2as4h32jws15r7w5fwr991km"; 10 + hash = "sha256-dYaUMneFn1yC5lIMSLQSNmFRW16AdUXGqWBobzAbPsg="; 11 + }; 7 12 8 - postFetch = '' 9 - tar xjvf $downloadedFile --strip-components=1 13 + installPhase = '' 14 + runHook preInstall 15 + 10 16 mkdir -p $out/share/fonts/truetype 11 17 cp ttf/*.ttf $out/share/fonts/truetype 12 - ''; 13 18 14 - sha256 = "0g7i723n00cqx2va05z1h6v3a2ar69gqw4hy6pjj7m0ml906rngc"; 19 + runHook postInstall 20 + ''; 15 21 16 22 meta = { 17 23 description = "TrueType versions of the Computer Modern and AMS TeX Fonts";
+14 -9
pkgs/data/fonts/caladea/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchurl }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "caladea"; 4 5 version = "20130214"; 5 - in fetchzip { 6 - name = "caladea-${version}"; 7 6 8 - url = "https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/crosextrafonts-${version}.tar.gz"; 9 - postFetch = '' 10 - tar -xzvf $downloadedFile --strip-components=1 7 + src = fetchurl { 8 + url = "https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/crosextrafonts-${version}.tar.gz"; 9 + hash = "sha256-xI0cL9YTycBslZw02nuDiAWeJAjSuxmEXcPtNfduTQk="; 10 + }; 11 + 12 + installPhase = '' 13 + runHook preInstall 14 + 11 15 mkdir -p $out/etc/fonts/conf.d 12 16 mkdir -p $out/share/fonts/truetype 13 17 cp -v *.ttf $out/share/fonts/truetype 14 18 cp -v ${./cambria-alias.conf} $out/etc/fonts/conf.d/30-cambria.conf 19 + 20 + runHook postInstall 15 21 ''; 16 - sha256 = "0kwm42ggr8kvcn3554cpmv90xzam1sdncx7x3zs3bzp88mxrnv1z"; 17 22 18 23 meta = with lib; { 19 24 # This font doesn't appear to have any official web site but this ··· 32 27 ''; 33 28 license = licenses.asl20; 34 29 platforms = platforms.all; 35 - maintainers = [maintainers.rycee]; 30 + maintainers = [ maintainers.rycee ]; 36 31 37 32 # Reduce the priority of this package. The intent is that if you 38 33 # also install the `vista-fonts` package, then you probably will
+15 -12
pkgs/data/fonts/camingo-code/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "camingo-code"; 4 5 version = "1.0"; 5 - in fetchzip rec { 6 - name = "camingo-code-${version}"; 7 6 8 - url = "https://github.com/chrissimpkins/codeface/releases/download/font-collection/codeface-fonts.zip"; 9 - postFetch = '' 10 - install -Dm644 $out/camingo-code/*.ttf -t $out/share/fonts/truetype 11 - install -Dm644 $out/camingo-code/*.txt -t $out/share/doc/${name} 12 - shopt -s extglob dotglob 13 - rm -rf $out/!(share) 14 - shopt -u extglob dotglob 7 + src = fetchzip { 8 + url = "https://github.com/chrissimpkins/codeface/releases/download/font-collection/codeface-fonts.zip"; 9 + hash = "sha256-oo5pWDq6h0bmyGvfF9Bkh7WyjKX4dG8uclfIsWLhDw8="; 10 + }; 11 + 12 + installPhase = '' 13 + runHook preInstall 14 + 15 + install -Dm644 camingo-code/*.ttf -t $out/share/fonts/truetype 16 + install -Dm644 camingo-code/*.txt -t $out/share/doc/${pname}-${version} 17 + 18 + runHook postInstall 15 19 ''; 16 - sha256 = "sha256-/vDNuR034stmiCZ9jUH5DlTQJn0WccLY5treoziXOJo="; 17 20 18 21 meta = with lib; { 19 22 homepage = "https://www.myfonts.com/fonts/jan-fromm/camingo-code/";
+13 -11
pkgs/data/fonts/cardo/default.nix
··· 1 - { fetchzip, lib }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation { 4 + pname = "cardo"; 4 5 version = "1.04"; 5 - in 6 - fetchzip { 7 - name = "cardo-${version}"; 8 6 9 - url = "http://scholarsfonts.net/cardo104.zip"; 7 + src = fetchzip { 8 + url = "https://scholarsfonts.net/cardo104.zip"; 9 + stripRoot = false; 10 + hash = "sha256-NU6/H5f0JBlVo3L3uUcl7IvNxPMXD8UQY9k5o2YA5Vo="; 11 + }; 10 12 11 - hash = "sha256-eBK6+VQpreWA7jIneNXOcKFcT+cJzhoQ9XXyq93SZ8M="; 12 - stripRoot = false; 13 + installPhase = '' 14 + runHook preInstall 13 15 14 - postFetch = '' 15 16 mkdir -p $out/share/fonts/truetype 16 - mv $out/*.ttf $out/share/fonts/truetype 17 - rm $out/*.pdf 17 + mv *.ttf $out/share/fonts/truetype 18 + 19 + runHook postInstall 18 20 ''; 19 21 20 22 meta = with lib; {
+5 -5
pkgs/data/fonts/carlito/default.nix
··· 1 - { lib, fetchzip, stdenvNoCC }: 1 + { lib, fetchurl, stdenvNoCC }: 2 2 3 3 stdenvNoCC.mkDerivation rec { 4 4 pname = "carlito"; 5 5 version = "20130920"; 6 6 7 - src = fetchzip { 7 + src = fetchurl { 8 8 url = "https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/crosextrafonts-carlito-${version}.tar.gz"; 9 - sha256 = "sha256-OGDO5WoF7OmiRdLRRrIXMzg276Pgeq1L3Offcl0W2jg="; 9 + sha256 = "sha256-S9ErbLwyHBzxbaduLFhcklzpVqCAZ65vbGTv9sz9r1o="; 10 10 }; 11 11 12 12 installPhase = '' 13 13 mkdir -p $out/etc/fonts/conf.d 14 14 mkdir -p $out/share/fonts/truetype 15 - cp -v $src/*.ttf $out/share/fonts/truetype 15 + cp -v *.ttf $out/share/fonts/truetype 16 16 cp -v ${./calibri-alias.conf} $out/etc/fonts/conf.d/30-calibri.conf 17 17 ''; 18 18 ··· 28 28 ''; 29 29 license = licenses.ofl; 30 30 platforms = platforms.all; 31 - maintainers = [maintainers.rycee]; 31 + maintainers = [ maintainers.rycee ]; 32 32 33 33 # Reduce the priority of this package. The intent is that if you 34 34 # also install the `vista-fonts` package, then you probably will
+13 -10
pkgs/data/fonts/cm-unicode/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchurl }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "cm-unicode"; 4 5 version = "0.7.0"; 5 - in fetchzip rec { 6 - name = "cm-unicode-${version}"; 7 6 8 - url = "mirror://sourceforge/cm-unicode/cm-unicode/${version}/${name}-otf.tar.xz"; 7 + src = fetchurl { 8 + url = "mirror://sourceforge/cm-unicode/cm-unicode/${version}/${pname}-${version}-otf.tar.xz"; 9 + hash = "sha256-VIp+vk1IYbEHW15wMrfGVOPqg1zBZDpgFx+jlypOHCg="; 10 + }; 9 11 10 - postFetch = '' 11 - tar -xJvf $downloadedFile --strip-components=1 12 + installPhase = '' 13 + runHook preInstall 14 + 12 15 install -m444 -Dt $out/share/fonts/opentype *.otf 13 - install -m444 -Dt $out/share/doc/${name} README FontLog.txt 14 - ''; 16 + install -m444 -Dt $out/share/doc/${pname}-${version} README FontLog.txt 15 17 16 - sha256 = "1rzz7yhqq3lljyqxbg46jfzfd09qgpgx865lijr4sgc94riy1ypn"; 18 + runHook postInstall 19 + ''; 17 20 18 21 meta = with lib; { 19 22 homepage = "https://cm-unicode.sourceforge.io/";
+12 -8
pkgs/data/fonts/cooper-hewitt/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 - fetchzip rec { 3 + stdenvNoCC.mkDerivation rec { 4 4 pname = "cooper-hewitt"; 5 5 version = "unstable-2014-06-09"; 6 6 7 - url = "https://web.archive.org/web/20221004145117/https://www.cooperhewitt.org/wp-content/uploads/fonts/CooperHewitt-OTF-public.zip"; 7 + src = fetchzip { 8 + url = "https://web.archive.org/web/20221004145117/https://www.cooperhewitt.org/wp-content/uploads/fonts/CooperHewitt-OTF-public.zip"; 9 + hash = "sha256-bTlEXQeYNNspvnNdvQhJn6CNBrcSKYWuNWF/N6+3Vb0="; 10 + }; 8 11 9 - postFetch = '' 12 + installPhase = '' 13 + runHook preInstall 14 + 10 15 mkdir -p $out/share/fonts/opentype 11 - mv $out/*.otf $out/share/fonts/opentype 12 - find $out -maxdepth 1 ! -type d -exec rm {} + 13 - ''; 16 + mv *.otf $out/share/fonts/opentype 14 17 15 - sha256 = "01iwqmjvqkc6fmc2r0486vk06s6f51n9wxzl1pf9z48n0igj4gqd"; 18 + runHook postInstall 19 + ''; 16 20 17 21 meta = with lib; { 18 22 homepage = "https://www.cooperhewitt.org/open-source-at-cooper-hewitt/cooper-hewitt-the-typeface-by-chester-jenkins/";
-2
pkgs/data/fonts/crimson-pro/default.nix
··· 13 13 hash = "sha256-3zFB1AMcC7eNEVA2Mx1OE8rLN9zPzexZ3FtER9wH5ss="; 14 14 }; 15 15 16 - dontBuild = true; 17 - 18 16 installPhase = '' 19 17 runHook preInstall 20 18
+16 -11
pkgs/data/fonts/crimson/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchFromGitHub }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "crimson"; 4 5 version = "2014.10"; 5 - in fetchzip rec { 6 - name = "crimson-${version}"; 7 6 8 - url = "https://github.com/skosch/Crimson/archive/fonts-october2014.tar.gz"; 7 + src = fetchFromGitHub { 8 + owner = "skosch"; 9 + repo = "Crimson"; 10 + rev = "fonts-october2014"; 11 + hash = "sha256-Wp9L77q93TRmrAr0P4iH9gm0tqFY0X/xSsuFcd19aAE="; 12 + }; 9 13 10 - postFetch = '' 11 - tar -xzvf $downloadedFile --strip-components=1 14 + installPhase = '' 15 + runHook preInstall 16 + 12 17 install -m444 -Dt $out/share/fonts/opentype "Desktop Fonts/OTF/"*.otf 13 - install -m444 -Dt $out/share/doc/${name} README.md 14 - ''; 18 + install -m444 -Dt $out/share/doc/${pname}-${version} README.md 15 19 16 - sha256 = "0mg65f0ydyfmb43jqr1f34njpd10w8npw15cbb7z0nxmy4nkl842"; 20 + runHook postInstall 21 + ''; 17 22 18 23 meta = with lib; { 19 24 homepage = "https://github.com/skosch/Crimson"; 20 25 description = "A font family inspired by beautiful oldstyle typefaces"; 21 26 license = licenses.ofl; 22 27 platforms = platforms.all; 23 - maintainers = [maintainers.rycee]; 28 + maintainers = [ maintainers.rycee ]; 24 29 }; 25 30 }
+14 -8
pkgs/data/fonts/culmus/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchurl }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "culmus"; 4 5 version = "0.133"; 5 - in fetchzip { 6 - name = "culmus-${version}"; 7 - url = "mirror://sourceforge/culmus/culmus/${version}/culmus-${version}.tar.gz"; 8 - postFetch = '' 9 - tar xf $downloadedFile --strip=1 6 + 7 + src = fetchurl { 8 + url = "mirror://sourceforge/${pname}/${pname}/${version}/${pname}-${version}.tar.gz"; 9 + hash = "sha256-wMaHN0LQdUT2us8q1S65yzkpdNVkJ5ONwd+8g5nGTQU="; 10 + }; 11 + 12 + installPhase = '' 13 + runHook preInstall 14 + 10 15 mkdir -p $out/share/fonts/{truetype,type1} 11 16 cp -v *.pfa $out/share/fonts/type1/ 12 17 cp -v *.afm $out/share/fonts/type1/ ··· 19 14 cp -v *.ttf $out/share/fonts/truetype/ 20 15 cp -v *.otf $out/share/fonts/truetype/ 21 16 cp -v fonts.scale-ttf $out/share/fonts/truetype/fonts.scale 17 + 18 + runHook postInstall 22 19 ''; 23 - sha256 = "0zqqjcrqmbd4389hqz2dwymkkcxjrq9ylyriiv3gbmzl6l1ffk3g"; 24 20 25 21 meta = { 26 22 description = "Culmus Hebrew fonts";
+17 -10
pkgs/data/fonts/dm-sans/default.nix
··· 1 - { lib, fetchzip }: 2 - let version = "1.002"; in 3 - fetchzip { 4 - inherit version; 5 - pname = "dm-sans"; 6 - url = "https://github.com/googlefonts/dm-fonts/releases/download/v${version}/DeepMindSans_v${version}.zip"; 7 - stripRoot = false; 8 - hash = "sha256-zyS0gz7CGn39HCiyeN5cAP63v9nG6jffGSsI1vr84EQ="; 1 + { lib, stdenvNoCC, fetchzip }: 9 2 10 - postFetch = '' 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "dm-sans"; 5 + version = "1.002"; 6 + 7 + src = fetchzip { 8 + url = "https://github.com/googlefonts/dm-fonts/releases/download/v${version}/DeepMindSans_v${version}.zip"; 9 + stripRoot = false; 10 + hash = "sha256-RSHHxiCac18qqF+hW5M3BbBcra4AQpNLLlUmhiWj9f8="; 11 + }; 12 + 13 + installPhase = '' 14 + runHook preInstall 15 + 11 16 mkdir -p $out/share/fonts/truetype 12 - mv $out/*.ttf $out/share/fonts/truetype 17 + mv *.ttf $out/share/fonts/truetype 18 + 19 + runHook postInstall 13 20 ''; 14 21 15 22 meta = {
+49
pkgs/data/fonts/dotcolon-fonts/default.nix
··· 1 + { lib 2 + , symlinkJoin 3 + , aileron 4 + , vegur 5 + , f5_6 6 + , tenderness 7 + , medio 8 + , ferrum 9 + , seshat 10 + , penna 11 + , eunomia 12 + , route159 13 + , f1_8 14 + , nacelle 15 + , melete 16 + , fa_1 17 + }: 18 + 19 + symlinkJoin { 20 + name = "dotcolon-fonts"; 21 + 22 + paths = [ 23 + aileron 24 + vegur 25 + f5_6 26 + tenderness 27 + medio 28 + ferrum 29 + seshat 30 + penna 31 + eunomia 32 + route159 33 + f1_8 34 + nacelle 35 + melete 36 + fa_1 37 + ]; 38 + 39 + meta = { 40 + description = "Font Collection by Sora Sagano"; 41 + 42 + homepage = "https://dotcolon.net/"; 43 + 44 + license = with lib.licenses; [ cc0 ofl ]; 45 + 46 + platforms = lib.platforms.all; 47 + maintainers = with lib.maintainers; [ minijackson ]; 48 + }; 49 + }
+3 -3
pkgs/data/fonts/efont-unicode/default.nix
··· 1 - { lib, stdenv, fetchzip, libfaketime, xorg }: 1 + { lib, stdenv, fetchurl, libfaketime, xorg }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "efont-unicode"; 5 5 version = "0.4.2"; 6 6 7 - src = fetchzip { 7 + src = fetchurl { 8 8 url = "http://openlab.ring.gr.jp/efont/dist/unicode-bdf/${pname}-bdf-${version}.tar.bz2"; 9 - sha256 = "0bib3jgikq8s1m96imw4mlgbl5cbq1bs5sqig74s2l2cdfx3jaqc"; 9 + sha256 = "sha256-fT7SsYlV3dCQrf0IZfiNI1grj3ngDgr8IkWdg+f9m3M="; 10 10 }; 11 11 12 12 nativeBuildInputs = with xorg;
+16 -11
pkgs/data/fonts/eunomia/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 3 let 4 4 majorVersion = "0"; 5 5 minorVersion = "200"; 6 - pname = "eunomia"; 7 6 in 7 + stdenvNoCC.mkDerivation (self: { 8 + pname = "eunomia"; 9 + version = "${majorVersion}.${minorVersion}"; 8 10 9 - fetchzip { 10 - name = "${pname}-font-${majorVersion}.${minorVersion}"; 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-Rd2EakaTWjzoEV00tHTgg/bXgJUFfPjCyQUWi7QhFG4="; 14 + stripRoot = false; 15 + }; 11 16 12 - url = "http://dotcolon.net/DL/font/${pname}_${majorVersion}${minorVersion}.zip"; 13 - sha256 = "0lpmczs1d4p9dy4s0dnvv7bl5cd0f6yzyasfrkxij5s86glps38b"; 17 + installPhase = '' 18 + runHook preInstall 14 19 15 - postFetch = '' 16 - mkdir -p $out/share/fonts/opentype/${pname} 17 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname} 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 + 22 + runHook postInstall 18 23 ''; 19 24 20 25 meta = with lib; { 21 26 homepage = "http://dotcolon.net/font/eunomia/"; 22 27 description = "A futuristic decorative font"; 23 28 platforms = platforms.all; 24 - maintainers = with maintainers; [ leenaars ]; 29 + maintainers = with maintainers; [ leenaars minijackson ]; 25 30 license = licenses.ofl; 26 31 }; 27 - } 32 + })
+33
pkgs/data/fonts/f1_8/default.nix
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 + 3 + let 4 + majorVersion = "1"; 5 + minorVersion = "101"; 6 + in 7 + stdenvNoCC.mkDerivation (self: { 8 + pname = "f1_8"; 9 + version = "${majorVersion}.${minorVersion}"; 10 + 11 + src = fetchzip { 12 + url = "https://note.com/api/v2/attachments/download/d83b2c4ec63d7826acaa76725d261ff4"; 13 + hash = "sha256-pe1G8WeFAo+KYjjsNwn0JmtXFn9QugE1SeGwaqnl1F0="; 14 + stripRoot = false; 15 + extension = "zip"; 16 + }; 17 + 18 + installPhase = '' 19 + runHook preInstall 20 + 21 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 22 + 23 + runHook postInstall 24 + ''; 25 + 26 + meta = with lib; { 27 + homepage = "http://dotcolon.net/font/${self.pname}/"; 28 + description = "A weighted decorative font"; 29 + platforms = platforms.all; 30 + maintainers = with maintainers; [ minijackson ]; 31 + license = licenses.ofl; 32 + }; 33 + })
+17 -12
pkgs/data/fonts/f5_6/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 3 let 4 4 majorVersion = "0"; 5 5 minorVersion = "110"; 6 - pname = "f5_6"; 7 6 in 7 + stdenvNoCC.mkDerivation (self: { 8 + pname = "f5_6"; 9 + version = "${majorVersion}.${minorVersion}"; 8 10 9 - fetchzip { 10 - name = "${pname}-font-${majorVersion}.${minorVersion}"; 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-FeCU+mzR0iO5tixI72XUnhvpGj+WRfKyT3mhBtud3uE="; 14 + stripRoot = false; 15 + }; 11 16 12 - url = "http://dotcolon.net/DL/font/${pname}_${majorVersion}${minorVersion}.zip"; 13 - sha256 = "04p6lccd26rhjbpq3ddxi5vkk3lk8lqbpnk8lakjzixp3fgdqpp4"; 17 + installPhase = '' 18 + runHook preInstall 14 19 15 - postFetch = '' 16 - mkdir -p $out/share/fonts/opentype/${pname} 17 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname} 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 + 22 + runHook postInstall 18 23 ''; 19 24 20 25 meta = with lib; { 21 - homepage = "http://dotcolon.net/font/${pname}/"; 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 22 27 description = "A weighted decorative font"; 23 28 platforms = platforms.all; 24 - maintainers = with maintainers; [ leenaars ]; 29 + maintainers = with maintainers; [ leenaars minijackson ]; 25 30 license = licenses.ofl; 26 31 }; 27 - } 32 + })
+32
pkgs/data/fonts/fa_1/default.nix
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 + 3 + let 4 + majorVersion = "0"; 5 + minorVersion = "100"; 6 + in 7 + stdenvNoCC.mkDerivation (self: { 8 + pname = "fa_1"; 9 + version = "${majorVersion}.${minorVersion}"; 10 + 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-BPJ+wZMYXY/yg5oEgBc5YnswA6A7w6V0gdv+cac0qdc="; 14 + stripRoot = false; 15 + }; 16 + 17 + installPhase = '' 18 + runHook preInstall 19 + 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 + 22 + runHook postInstall 23 + ''; 24 + 25 + meta = with lib; { 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 27 + description = "A weighted decorative font"; 28 + platforms = platforms.all; 29 + maintainers = with maintainers; [ minijackson ]; 30 + license = licenses.ofl; 31 + }; 32 + })
+14 -12
pkgs/data/fonts/fantasque-sans-mono/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "fantasque-sans-mono"; 4 5 version = "1.8.0"; 5 - in 6 6 7 - fetchzip rec { 8 - name = "fantasque-sans-mono-${version}"; 7 + src = fetchzip { 8 + url = "https://github.com/belluzj/fantasque-sans/releases/download/v${version}/FantasqueSansMono-Normal.zip"; 9 + stripRoot = false; 10 + hash = "sha256-MNXZoDPi24xXHXGVADH16a3vZmFhwX0Htz02+46hWFc="; 11 + }; 9 12 10 - url = "https://github.com/belluzj/fantasque-sans/releases/download/v${version}/FantasqueSansMono-Normal.zip"; 13 + installPhase = '' 14 + runHook preInstall 11 15 12 - postFetch = '' 13 - mkdir -p $out/share/{doc,fonts} 14 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype 15 - unzip -j $downloadedFile README.md -d $out/share/doc/${name} 16 + install -Dm644 OTF/*.otf -t $out/share/fonts/opentype 17 + install -Dm644 README.md -t $out/share/doc/${pname}-${version} 18 + 19 + runHook postInstall 16 20 ''; 17 - 18 - sha256 = "07y2w6xzkbaj6vr95fvvnmwq1pw9jib4z02xf8937dx812yic9ni"; 19 21 20 22 meta = with lib; { 21 23 homepage = "https://github.com/belluzj/fantasque-sans";
+17 -12
pkgs/data/fonts/ferrum/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 3 let 4 4 majorVersion = "0"; 5 5 minorVersion = "200"; 6 - pname = "ferrum"; 7 6 in 7 + stdenvNoCC.mkDerivation (self: { 8 + pname = "ferrum"; 9 + version = "${majorVersion}.${minorVersion}"; 8 10 9 - fetchzip { 10 - name = "${pname}-font-${majorVersion}.${minorVersion}"; 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-NDJwgFWZgyhMkGRWlY55l2omEw6ju3e3dHCEsWNzQIc="; 14 + stripRoot = false; 15 + }; 11 16 12 - url = "http://dotcolon.net/DL/font/${pname}.zip"; 13 - sha256 = "1w1b3ch7ik4264f05lxms01ls0aargvlx770a9szm682dfmizn8w"; 17 + installPhase = '' 18 + runHook preInstall 14 19 15 - postFetch = '' 16 - mkdir -p $out/share/fonts/opentype/${pname} 17 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname} 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 + 22 + runHook postInstall 18 23 ''; 19 24 20 25 meta = with lib; { 21 - homepage = "http://dotcolon.net/font/${pname}/"; 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 22 27 description = "A decorative font"; 23 28 platforms = platforms.all; 24 - maintainers = with maintainers; [ leenaars ]; 29 + maintainers = with maintainers; [ leenaars minijackson ]; 25 30 license = licenses.cc0; 26 31 }; 27 - } 32 + })
+12 -14
pkgs/data/fonts/fira-go/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation { 4 4 pname = "fira-go"; 5 5 version = "1.001"; 6 - user = "bBoxType"; 7 - repo = "FiraGo"; 8 - rev = "9882ba0851f88ab904dc237f250db1d45641f45d"; 9 - in 10 - fetchzip { 11 - name = "${pname}-${version}"; 12 6 13 - url = "https://github.com/${user}/${repo}/archive/${rev}.zip"; 7 + src = fetchzip { 8 + url = "https://github.com/bBoxType/FiraGo/archive/9882ba0851f88ab904dc237f250db1d45641f45d.zip"; 9 + hash = "sha256-WwgPg7OLrXBjR6oHG5061RO3HeNkj2Izs6ktwIxVw9o="; 10 + }; 14 11 15 - postFetch = '' 12 + installPhase = '' 13 + runHook preInstall 14 + 16 15 mkdir -p $out/share/fonts/opentype 17 - mv $out/Fonts/FiraGO_OTF_1001/{Roman,Italic}/*.otf \ 16 + mv Fonts/FiraGO_OTF_1001/{Roman,Italic}/*.otf \ 18 17 $out/share/fonts/opentype 19 - rm -r $out/{Fonts,'Technical Report PDF',OFL.txt,README.md,*.pdf} 20 - ''; 21 18 22 - sha256 = "sha256-MDGRba1eao/yVzSuncJ/nvCG8cpdrI4roVPI1G9qCbU="; 19 + runHook postInstall 20 + ''; 23 21 24 22 meta = with lib; { 25 23 homepage = "https://bboxtype.com/typefaces/FiraGO";
+13 -11
pkgs/data/fonts/garamond-libre/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 - fetchzip rec { 3 + stdenvNoCC.mkDerivation rec { 4 4 pname = "garamond-libre"; 5 5 version = "1.4"; 6 6 7 - url = "https://github.com/dbenjaminmiller/garamond-libre/releases/download/${version}/garamond-libre_${version}.zip"; 8 - stripRoot = false; 7 + src = fetchzip { 8 + url = "https://github.com/dbenjaminmiller/garamond-libre/releases/download/${version}/garamond-libre_${version}.zip"; 9 + stripRoot = false; 10 + hash = "sha256-cD/JMICtb6MPIUcWs2VOTHnb/05ma0/KKtPyR4oJlIc="; 11 + }; 9 12 10 - postFetch = '' 11 - install -Dm644 $out/*.otf -t $out/share/fonts/opentype 12 - shopt -s extglob dotglob 13 - rm -rf $out/!(share) 14 - shopt -u extglob dotglob 13 + installPhase = '' 14 + runHook preInstall 15 + 16 + install -Dm644 *.otf -t $out/share/fonts/opentype 17 + 18 + runHook postInstall 15 19 ''; 16 - 17 - sha256 = "6WiuUe3CHXXL/0G7wURvSIgWPQ4isl50e3OBQ+ui0U4="; 18 20 19 21 meta = with lib; { 20 22 homepage = "https://github.com/dbenjaminmiller/garamond-libre";
+16 -13
pkgs/data/fonts/go-font/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "go-font"; 4 5 version = "2.010"; 5 - rev = "41969df76e82aeec85fa3821b1e24955ea993001"; 6 - in (fetchzip { 7 - name = "go-font-${version}"; 8 - url = "https://go.googlesource.com/image/+archive/${rev}/font/gofont/ttfs.tar.gz"; 9 - stripRoot = false; 10 6 11 - postFetch = '' 7 + src = fetchzip { 8 + url = "https://go.googlesource.com/image/+archive/41969df76e82aeec85fa3821b1e24955ea993001/font/gofont/ttfs.tar.gz"; 9 + stripRoot = false; 10 + hash = "sha256-rdzt51wY4b7HEr7W/0Ar/FB0zMyf+nKLsOT+CRSEP3o="; 11 + }; 12 + 13 + installPhase = '' 14 + runHook preInstall 15 + 12 16 mkdir -p $out/share/fonts/truetype 13 17 mkdir -p $out/share/doc/go-font 14 - mv $out/*.ttf $out/share/fonts/truetype 15 - mv $out/README $out/share/doc/go-font/LICENSE 18 + mv *.ttf $out/share/fonts/truetype 19 + mv README $out/share/doc/go-font/LICENSE 20 + 21 + runHook postInstall 16 22 ''; 17 23 18 - sha256 = "175jwq16qjnd2k923n9gcbjizchy7yv4n41dm691sjwrhbl0b13x"; 19 - }) // { 20 24 meta = with lib; { 21 25 homepage = "https://blog.golang.org/go-fonts"; 22 26 description = "The Go font family"; ··· 28 24 license = licenses.bsd3; 29 25 maintainers = with maintainers; [ sternenseemann ]; 30 26 platforms = lib.platforms.all; 31 - hydraPlatforms = []; 32 27 }; 33 28 }
+17 -14
pkgs/data/fonts/gyre/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 3 2 4 - let 5 - baseName = "gyre-fonts"; 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "gyre-fonts"; 6 5 version = "2.005"; 7 - in (fetchzip { 8 - name="${baseName}-${version}"; 9 6 10 - url = "http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg-${version}otf.zip"; 7 + src = fetchzip { 8 + url = "http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg-${version}otf.zip"; 9 + stripRoot = false; 10 + hash = "sha256-+6IufuFf+IoLXoZEPlfHUNgRhKrQNBEZ1OwPD9/uOjg="; 11 + }; 11 12 12 - sha256 = "17amdpahs6kn7hk3dqxpff1s095cg1caxzij3mxjbbxp8zy0l111"; 13 + installPhase = '' 14 + runHook preInstall 15 + 16 + mkdir -p $out/share/fonts/truetype 17 + cp *.otf $out/share/fonts/truetype 18 + 19 + runHook postInstall 20 + ''; 13 21 14 22 meta = { 15 23 description = "OpenType fonts from the Gyre project, suitable for use with (La)TeX"; ··· 33 25 platforms = lib.platforms.all; 34 26 maintainers = with lib.maintainers; [ bergey ]; 35 27 }; 36 - }).overrideAttrs (_: { 37 - postFetch = '' 38 - mkdir -p $out/share/fonts 39 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/truetype 40 - ''; 41 - }) 28 + }
+13 -11
pkgs/data/fonts/hackgen/default.nix
··· 1 - { lib 2 - , fetchzip 3 - }: 1 + { lib, stdenvNoCC, fetchzip }: 4 2 5 - fetchzip rec { 3 + stdenvNoCC.mkDerivation rec { 6 4 pname = "hackgen-font"; 7 5 version = "2.8.0"; 8 6 9 - url = "https://github.com/yuru7/HackGen/releases/download/v${version}/HackGen_v${version}.zip"; 10 - sha256 = "sha256-TLqns6ulovHRKoLHxxwKpj6SqfCq5UDVBf7gUASCGK4="; 11 - postFetch = '' 12 - install -Dm644 $out/*.ttf -t $out/share/fonts/hackgen 13 - shopt -s extglob dotglob 14 - rm -rf $out/!(share) 15 - shopt -u extglob dotglob 7 + src = fetchzip { 8 + url = "https://github.com/yuru7/HackGen/releases/download/v${version}/HackGen_v${version}.zip"; 9 + hash = "sha256-vKbiM3QUryey0m6oilO0lT6+efkCTLCwdtPF7PinkmU="; 10 + }; 11 + 12 + installPhase = '' 13 + runHook preInstall 14 + 15 + install -Dm644 *.ttf -t $out/share/fonts/hackgen 16 + 17 + runHook postInstall 16 18 ''; 17 19 18 20 meta = with lib; {
+13 -11
pkgs/data/fonts/hackgen/nerdfont.nix
··· 1 - { lib 2 - , fetchzip 3 - }: 1 + { lib, stdenvNoCC, fetchzip }: 4 2 5 - fetchzip rec { 3 + stdenvNoCC.mkDerivation rec { 6 4 pname = "hackgen-nf-font"; 7 5 version = "2.8.0"; 8 6 9 - url = "https://github.com/yuru7/HackGen/releases/download/v${version}/HackGen_NF_v${version}.zip"; 10 - sha256 = "sha256-xRFedeavEJY9OZg+gePF5ImpLTYdbSba5Wr9k0ivpkE="; 11 - postFetch = '' 12 - install -Dm644 $out/*.ttf -t $out/share/fonts/hackgen-nf 13 - shopt -s extglob dotglob 14 - rm -rf $out/!(share) 15 - shopt -u extglob dotglob 7 + src = fetchzip { 8 + url = "https://github.com/yuru7/HackGen/releases/download/v${version}/HackGen_NF_v${version}.zip"; 9 + hash = "sha256-RLEq5IoA3gk/IzabV8wdJYj8yMpbWQVz+Qunef6oNOs="; 10 + }; 11 + 12 + installPhase = '' 13 + runHook preInstall 14 + 15 + install -Dm644 *.ttf -t $out/share/fonts/hackgen-nf 16 + 17 + runHook postInstall 16 18 ''; 17 19 18 20 meta = with lib; {
-2
pkgs/data/fonts/hannom/default.nix
··· 10 10 hash = "sha256-Oh8V72tYvVA6Sk0f9UTIkRQYjdUbEB/fmCSaRYfyoP8="; 11 11 }; 12 12 13 - dontBuild = true; 14 - 15 13 installPhase = '' 16 14 runHook preInstall 17 15
+13 -14
pkgs/data/fonts/helvetica-neue-lt-std/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation { 4 + name = "helvetica-neue-lt-std"; 4 5 version = "2014.08.16"; # date of most recent file in distribution 5 - in fetchzip { 6 - name = "helvetica-neue-lt-std-${version}"; 7 6 8 - url = "https://web.archive.org/web/20190823153624/http://ephifonts.com/downloads/helvetica-neue-lt-std.zip"; 7 + src = fetchzip { 8 + url = "https://web.archive.org/web/20190823153624/http://ephifonts.com/downloads/helvetica-neue-lt-std.zip"; 9 + stripRoot = false; 10 + hash = "sha256-ytoTTrnwN1lMw/gTxS4DRAq+tV5WzB2xHP4vVxLZ1ZI="; 11 + }; 9 12 10 - stripRoot = false; 13 + installPhase = '' 14 + runHook preInstall 11 15 12 - postFetch = '' 13 - mkdir -p $out/share/fonts 14 - install -Dm644 $out/'Helvetica Neue LT Std'/*.otf -t $out/share/fonts/opentype 15 - shopt -s extglob dotglob 16 - rm -rf $out/!(share) 17 - shopt -u extglob dotglob 16 + install -Dm644 'Helvetica Neue LT Std'/*.otf -t $out/share/fonts/opentype 17 + 18 + runHook postInstall 18 19 ''; 19 - 20 - sha256 = "sha256-gM/QXrKI2xrrCBYt4R+Fk5Tj0AIkrnCP/pwgh0A/MyI="; 21 20 22 21 meta = with lib; { 23 22 homepage = "https://web.archive.org/web/20190926040940/http://www.ephifonts.com/free-helvetica-font-helvetica-neue-lt-std.html";
+13 -13
pkgs/data/fonts/hermit/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 4 pname = "hermit"; 5 5 version = "2.0"; 6 - in fetchzip rec { 7 - name = "${pname}-${version}"; 8 6 9 - url = "https://pcaro.es/d/otf-${name}.tar.gz"; 7 + src = fetchzip { 8 + url = "https://pcaro.es/d/otf-${pname}-${version}.tar.gz"; 9 + stripRoot = false; 10 + hash = "sha256-RYXZ2yJ8BIxsgeEwhXz7g0NnWG3kMPZoJaOLMUQyWWQ="; 11 + }; 10 12 11 - stripRoot = false; 12 - postFetch = '' 13 - install -m444 -Dt $out/share/fonts/opentype $out/*.otf 14 - shopt -s extglob dotglob 15 - rm -rf $out/!(share) 16 - shopt -u extglob dotglob 13 + installPhase = '' 14 + runHook preInstall 15 + 16 + install -m444 -Dt $out/share/fonts/opentype *.otf 17 + 18 + runHook postInstall 17 19 ''; 18 - sha256 = "127hnpxicqya7v1wmzxxqafq3aj1n33i4j5ncflbw6gj5g3bizwl"; 19 20 20 21 meta = with lib; { 21 22 description = "monospace font designed to be clear, pragmatic and very readable"; ··· 26 25 platforms = platforms.all; 27 26 }; 28 27 } 29 -
+13 -11
pkgs/data/fonts/julia-mono/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "JuliaMono-ttf"; 4 5 version = "0.046"; 5 6 6 - in 7 - fetchzip { 8 - name = "JuliaMono-ttf-${version}"; 9 - url = "https://github.com/cormullion/juliamono/releases/download/v${version}/JuliaMono-ttf.tar.gz"; 10 - sha256 = "sha256-+Ro517m1unQskQFhsT6oiz19aov87/tT1jlP/XB7kFU="; 7 + src = fetchzip { 8 + url = "https://github.com/cormullion/juliamono/releases/download/v${version}/${pname}.tar.gz"; 9 + stripRoot = false; 10 + hash = "sha256-mq37L3bhUhdjB8z3I9i8+wyLrMSsu/nZrZXOuqE3JlU="; 11 + }; 11 12 12 - stripRoot = false; 13 + installPhase = '' 14 + runHook preInstall 13 15 14 - postFetch = '' 15 16 mkdir -p $out/share/fonts/truetype 16 - mv $out/*.ttf $out/share/fonts/truetype 17 - rm $out/LICENSE 17 + mv *.ttf $out/share/fonts/truetype 18 + 19 + runHook postInstall 18 20 ''; 19 21 20 22 meta = with lib; {
+14 -9
pkgs/data/fonts/kacst/default.nix
··· 1 - { fetchzip, lib }: 1 + { lib, stdenvNoCC, fetchurl }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "kacst"; 4 5 version = "2.01"; 5 - in 6 - fetchzip { 7 - name = "kacst-${version}"; 8 - url = "mirror://debian/pool/main/f/fonts-kacst/fonts-kacst_${version}+mry.orig.tar.bz2"; 9 - sha256 = "sha256-pIO58CXfmKYRKYJ1oI+tjTwlKBRnkZ/CpIM2Xa0CDA4="; 10 6 11 - postFetch = '' 7 + src = fetchurl { 8 + url = "mirror://debian/pool/main/f/fonts-${pname}/fonts-${pname}_${version}+mry.orig.tar.bz2"; 9 + hash = "sha256-byiZzpYiMU6kJs+NSISfHPFzAnJtc8toNIbV/fKiMzg="; 10 + }; 11 + 12 + installPhase = '' 13 + runHook preInstall 14 + 12 15 mkdir -p $out/share/fonts 13 - tar xjf $downloadedFile --strip-components=1 -C $out/share/fonts 16 + cp -R kacst $out/share/fonts 17 + 18 + runHook postInstall 14 19 ''; 15 20 16 21 meta = with lib; {
+13 -12
pkgs/data/fonts/khmeros/default.nix
··· 1 - { fetchzip, lib }: 1 + { lib, stdenvNoCC, fetchurl }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "khmeros"; 4 5 version = "5.0"; 5 - in 6 - fetchzip { 7 - name = "khmeros-${version}"; 8 - url = "mirror://debian/pool/main/f/fonts-khmeros/fonts-khmeros_${version}.orig.tar.xz"; 9 - sha256 = "sha256-pS+7RQbGwlBxdCfSVxHmARCAkZrZttwYNlV/CrxqI+w="; 10 6 11 - postFetch = '' 12 - unpackDir="$TMPDIR/unpack" 13 - mkdir "$unpackDir" 14 - cd "$unpackDir" 15 - tar xf "$downloadedFile" --strip-components=1 7 + src = fetchurl { 8 + url = "mirror://debian/pool/main/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.xz"; 9 + hash = "sha256-gBcM9YHSuhbxvwfQTvywH/5kN921GOyvGtkROcmcBiw="; 10 + }; 11 + 12 + installPhase = '' 13 + runHook preInstall 14 + 16 15 mkdir -p $out/share/fonts 17 16 cp *.ttf $out/share/fonts 17 + 18 + runHook postInstall 18 19 ''; 19 20 20 21 meta = with lib; {
+14 -9
pkgs/data/fonts/lao/default.nix
··· 1 - { fetchzip, lib }: 1 + { lib, stdenvNoCC, fetchurl }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "lao"; 4 5 version = "0.0.20060226"; 5 - in 6 - fetchzip { 7 - name = "lao-${version}"; 8 - url = "mirror://debian/pool/main/f/fonts-lao/fonts-lao_${version}.orig.tar.xz"; 9 - sha256 = "sha256-Ti3DNOgLR5VBJ1mSe8M+qs4UYbCR7qOPgqxRfmHa+jY="; 10 6 11 - postFetch = '' 7 + src = fetchurl { 8 + url = "mirror://debian/pool/main/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.xz"; 9 + hash = "sha256-DlgdyfhxxzVkNIL+NGsQ+PRlNkCuG3v2OahkIEYx60o="; 10 + }; 11 + 12 + installPhase = '' 13 + runHook preInstall 14 + 12 15 mkdir -p $out/share/fonts 13 - tar xf $downloadedFile --strip-components=1 -C $out/share/fonts fonts-lao-${version}/Phetsarath_OT.ttf 16 + cp Phetsarath_OT.ttf $out/share/fonts 17 + 18 + runHook postInstall 14 19 ''; 15 20 16 21 meta = with lib; {
+15 -10
pkgs/data/fonts/lklug-sinhala/default.nix
··· 1 - { fetchzip, lib }: 1 + { lib, stdenvNoCC, fetchurl }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "lklug-sinhala"; 4 5 version = "0.6"; 5 - in 6 - fetchzip { 7 - name = "lklug-sinhala-${version}"; 8 - url = "mirror://debian/pool/main/f/fonts-lklug-sinhala/fonts-lklug-sinhala_${version}.orig.tar.xz"; 9 - sha256 = "sha256-Fy+QnAajA4yLf/I1vOQll5pRd0ZLfLe8UXq4XMC9qNc="; 10 6 11 - postFetch = '' 12 - mkdir -p $out/share/fonts 13 - tar xf $downloadedFile --strip-components=1 -C $out/share/fonts fonts-lklug-sinhala-${version}/lklug.ttf 7 + src = fetchurl { 8 + url = "mirror://debian/pool/main/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.xz"; 9 + hash = "sha256-oPCCa01PMQcCK5fEILgXjrGzoDg+UvxkqK6AgeQaKio="; 10 + }; 11 + 12 + installPhase = '' 13 + runHook preInstall 14 + 15 + mkdir -p $out/share/fonts/truetype 16 + cp *.ttf $out/share/fonts/truetype 17 + 18 + runHook postInstall 14 19 ''; 15 20 16 21 meta = with lib; {
+13 -12
pkgs/data/fonts/lmodern/default.nix
··· 1 - { fetchzip }: 1 + { lib, stdenvNoCC, fetchurl }: 2 2 3 - fetchzip { 4 - name = "lmodern-2.005"; 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "lmodern"; 5 + version = "2.005"; 5 6 6 - url = "mirror://debian/pool/main/l/lmodern/lmodern_2.005.orig.tar.gz"; 7 + src = fetchurl { 8 + url = "mirror://debian/pool/main/l/${pname}/${pname}_${version}.orig.tar.gz"; 9 + hash = "sha256-xlUuZt6rjW0pX4t6PKWAHkkv3PisGCj7ZwatZPAUNxk="; 10 + }; 7 11 8 - postFetch = '' 9 - tar xzvf $downloadedFile 12 + installPhase = '' 13 + runHook preInstall 10 14 11 15 mkdir -p $out/texmf-dist/ 12 16 mkdir -p $out/share/fonts/ 13 17 14 - cp -r lmodern-2.005/* $out/texmf-dist/ 15 - cp -r lmodern-2.005/fonts/{opentype,type1} $out/share/fonts/ 18 + cp -r * $out/texmf-dist/ 19 + cp -r fonts/{opentype,type1} $out/share/fonts/ 16 20 17 - ln -s -r $out/texmf* $out/share/ 21 + runHook postInstall 18 22 ''; 19 - 20 - sha256 = "sha256-ySdKUt8o5FqmpdnYSzbGJ1f9t8VmKYXqPt53e1/E/FA="; 21 23 22 24 meta = { 23 25 description = "Latin Modern font"; 24 26 }; 25 27 } 26 -
+14 -9
pkgs/data/fonts/luculent/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchurl }: 2 2 3 - let version = "2.0.0"; in 4 - fetchzip { 5 - name = "luculent-${version}"; 6 - url = "http://www.eastfarthing.com/luculent/luculent.tar.xz"; 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "luculent"; 5 + version = "2.0.0"; 7 6 8 - postFetch = '' 9 - tar -xJf $downloadedFile --strip-components=1 7 + src = fetchurl { 8 + url = "http://www.eastfarthing.com/${pname}/${pname}.tar.xz"; 9 + hash = "sha256-6NxLnTBnvHmTUTFa2wW0AuKPEbCqzaWQyiFVnF0sBqU="; 10 + }; 11 + 12 + installPhase = '' 13 + runHook preInstall 14 + 10 15 mkdir -p $out/share/fonts/truetype 11 16 cp *.ttf $out/share/fonts/truetype 12 - ''; 13 17 14 - sha256 = "1m3g64galwna1xjxb1fczmfplm6c1fn3ra1ln7f0vkm0ah5m4lbv"; 18 + runHook postInstall 19 + ''; 15 20 16 21 meta = with lib; { 17 22 description = "luculent font";
+12 -11
pkgs/data/fonts/lxgw-wenkai/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchurl }: 2 2 3 - fetchzip rec { 3 + stdenvNoCC.mkDerivation rec { 4 4 pname = "lxgw-wenkai"; 5 - version = "1.245.1"; 5 + version = "1.250"; 6 6 7 - url = "https://github.com/lxgw/LxgwWenKai/releases/download/v${version}/lxgw-wenkai-v${version}.tar.gz"; 7 + src = fetchurl { 8 + url = "https://github.com/lxgw/LxgwWenKai/releases/download/v${version}/${pname}-v${version}.tar.gz"; 9 + hash = "sha256-Nkd0xXYCnR0NZAk/JCxy+zOlxIxD52Px4F9o2L9mgRE="; 10 + }; 8 11 9 - postFetch = '' 12 + installPhase = '' 13 + runHook preInstall 14 + 10 15 mkdir -p $out/share/fonts/truetype 11 - mv $out/*.ttf $out/share/fonts/truetype 16 + mv *.ttf $out/share/fonts/truetype 12 17 13 - shopt -s extglob dotglob 14 - rm -rf $out/!(share) 15 - shopt -u extglob dotglob 18 + runHook postInstall 16 19 ''; 17 - 18 - hash = "sha256-4RQ+aqAZPQH3t6v2KvrNWgYT3J3uMuY34XTuvyLEOeI="; 19 20 20 21 meta = with lib; { 21 22 homepage = "https://lxgw.github.io/";
+13 -10
pkgs/data/fonts/marathi-cursive/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchurl }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "marathi-cursive"; 4 5 version = "2.0"; 5 - in fetchzip rec { 6 - name = "marathi-cursive-${version}"; 7 6 8 - url = "https://github.com/MihailJP/MarathiCursive/releases/download/v${version}/MarathiCursive-${version}.tar.xz"; 7 + src = fetchurl { 8 + url = "https://github.com/MihailJP/MarathiCursive/releases/download/v${version}/MarathiCursive-${version}.tar.xz"; 9 + hash = "sha256-JE9T3UMSYn/JfEWuWHikDJIlt4nZl6GzY98v3vG6di4="; 10 + }; 9 11 10 - postFetch = '' 11 - tar -xJf $downloadedFile --strip-components=1 12 + installPhase = '' 13 + runHook preInstall 14 + 12 15 install -m444 -Dt $out/share/fonts/marathi-cursive *.otf *.ttf 13 - install -m444 -Dt $out/share/doc/${name} README *.txt 14 - ''; 16 + install -m444 -Dt $out/share/doc/${pname}-${version} README *.txt 15 17 16 - sha256 = "17pj60ajnjghxhxka8a046mz6vfwr79wnby7xd6pg5hgncin2hgg"; 18 + runHook postInstall 19 + ''; 17 20 18 21 meta = with lib; { 19 22 homepage = "https://github.com/MihailJP/MarathiCursive";
-2
pkgs/data/fonts/material-design-icons/default.nix
··· 4 4 pname = "material-design-icons"; 5 5 version = "7.1.96"; 6 6 7 - dontBuild = true; 8 - 9 7 src = fetchFromGitHub { 10 8 owner = "Templarian"; 11 9 repo = "MaterialDesign-Webfont";
+17 -12
pkgs/data/fonts/medio/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 3 let 4 4 majorVersion = "0"; 5 5 minorVersion = "200"; 6 - pname = "medio"; 7 6 in 7 + stdenvNoCC.mkDerivation (self: { 8 + pname = "medio"; 9 + version = "${majorVersion}.${minorVersion}"; 8 10 9 - fetchzip { 10 - name = "${pname}-font-${majorVersion}.${minorVersion}"; 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-S+CcwD4zGVk7cIFD6K4NnpE/0mrJq4RnDJC576rhcLQ="; 14 + stripRoot = false; 15 + }; 11 16 12 - url = "http://dotcolon.net/DL/font/${pname}.zip"; 13 - sha256 = "0gxcmhjlsh2pzsmj78vw4v935ax7hfk533ddlhfhfma52zyxyh7x"; 17 + installPhase = '' 18 + runHook preInstall 14 19 15 - postFetch = '' 16 - mkdir -p $out/share/fonts/opentype/${pname} 17 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname} 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 + 22 + runHook postInstall 18 23 ''; 19 24 20 25 meta = with lib; { 21 - homepage = "http://dotcolon.net/font/${pname}/"; 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 22 27 description = "Serif font designed by Sora Sagano"; 23 28 longDescription = '' 24 29 Medio is a serif font designed by Sora Sagano, based roughly ··· 31 26 but with hairline serifs in the style of a Didone. 32 27 ''; 33 28 platforms = platforms.all; 34 - maintainers = with maintainers; [ leenaars ]; 29 + maintainers = with maintainers; [ leenaars minijackson ]; 35 30 license = licenses.cc0; 36 31 }; 37 - } 32 + })
+32
pkgs/data/fonts/melete/default.nix
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 + 3 + let 4 + majorVersion = "0"; 5 + minorVersion = "200"; 6 + in 7 + stdenvNoCC.mkDerivation (self: { 8 + pname = "melete"; 9 + version = "${majorVersion}.${minorVersion}"; 10 + 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-y1xtNM1Oy92gOvbr9J71XNxb1JeTzOgxKms3G2YHK00="; 14 + stripRoot = false; 15 + }; 16 + 17 + installPhase = '' 18 + runHook preInstall 19 + 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 + 22 + runHook postInstall 23 + ''; 24 + 25 + meta = with lib; { 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 27 + description = "A headline typeface that could be used as a movie title"; 28 + platforms = platforms.all; 29 + maintainers = with maintainers; [ minijackson ]; 30 + license = licenses.ofl; 31 + }; 32 + })
+32
pkgs/data/fonts/nacelle/default.nix
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 + 3 + let 4 + majorVersion = "1"; 5 + minorVersion = "00"; 6 + in 7 + stdenvNoCC.mkDerivation (self: { 8 + pname = "nacelle"; 9 + version = "${majorVersion}.${minorVersion}"; 10 + 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-e4QsPiyfWEAYHWdwR3CkGc2UzuA3hZPYYlWtIubY0Oo="; 14 + stripRoot = false; 15 + }; 16 + 17 + installPhase = '' 18 + runHook preInstall 19 + 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 + 22 + runHook postInstall 23 + ''; 24 + 25 + meta = with lib; { 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 27 + description = "A improved version of the Aileron font"; 28 + platforms = platforms.all; 29 + maintainers = with maintainers; [ minijackson ]; 30 + license = licenses.ofl; 31 + }; 32 + })
+13 -12
pkgs/data/fonts/nanum/default.nix
··· 1 - { fetchzip, lib }: 1 + { lib, stdenvNoCC, fetchurl }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "nanum"; 4 5 version = "20170925"; 5 - in 6 - fetchzip { 7 - name = "nanum-${version}"; 8 - url = "mirror://ubuntu/pool/universe/f/fonts-nanum/fonts-nanum_${version}.orig.tar.xz"; 9 - sha256 = "sha256-lSTeQEuMmlQxiQqrx9tNScifE8nMOUDJF3lCfoAFIJk="; 10 6 11 - postFetch = '' 12 - unpackDir="$TMPDIR/unpack" 13 - mkdir "$unpackDir" 14 - cd "$unpackDir" 15 - tar xf "$downloadedFile" --strip-components=1 7 + src = fetchurl { 8 + url = "mirror://ubuntu/pool/universe/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.xz"; 9 + hash = "sha256-GlVXH9YUU3wHMkNoz5miBv7N2oUEbwUXlcVoElQ9++4="; 10 + }; 11 + 12 + installPhase = '' 13 + runHook preInstall 14 + 16 15 mkdir -p $out/share/fonts 17 16 cp *.ttf $out/share/fonts 17 + 18 + runHook postInstall 18 19 ''; 19 20 20 21 meta = with lib; {
+14 -11
pkgs/data/fonts/oldsindhi/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchurl }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "oldsindhi"; 4 5 version = "1.0"; 5 - in fetchzip rec { 6 - name = "oldsindhi-${version}"; 7 6 8 - url = "https://github.com/MihailJP/oldsindhi/releases/download/v${version}/OldSindhi-${version}.tar.xz"; 7 + src = fetchurl { 8 + url = "https://github.com/MihailJP/${pname}/releases/download/v${version}/OldSindhi-${version}.tar.xz"; 9 + hash = "sha256-jOcl+mo6CJ9Lnn3nAUiXXHCJssovVgLoPrbGxj4uzQs="; 10 + }; 9 11 10 - postFetch = '' 11 - tar -xJf $downloadedFile --strip-components=1 12 + installPhase = '' 13 + runHook preInstall 14 + 12 15 install -m444 -Dt $out/share/fonts/truetype *.ttf 13 - install -m444 -Dt $out/share/doc/${name} README *.txt 14 - ''; 16 + install -m444 -Dt $out/share/doc/${pname}-${version} README *.txt 15 17 16 - sha256 = "03c483vbrwz2fpdfbys42fmik9788zxfmjmc4fgq4s2d0mraa0j1"; 18 + runHook postInstall 19 + ''; 17 20 18 21 meta = with lib; { 19 22 homepage = "https://github.com/MihailJP/oldsindhi"; 20 23 description = "Free Sindhi Khudabadi font"; 21 24 maintainers = with maintainers; [ mathnerd314 ]; 22 - license = with licenses; [mit ofl]; 25 + license = with licenses; [ mit ofl ]; 23 26 platforms = platforms.all; 24 27 }; 25 28 }
+18 -13
pkgs/data/fonts/penna/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 3 let 4 4 majorVersion = "0"; 5 - minorVersion = "10"; 6 - pname = "penna"; 5 + minorVersion = "100"; 7 6 in 7 + stdenvNoCC.mkDerivation (self: { 8 + pname = "penna"; 9 + version = "${majorVersion}.${minorVersion}"; 8 10 9 - fetchzip { 10 - name = "${pname}-font-${majorVersion}.${minorVersion}"; 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-fmCJnEaoUGdW9JK3J7JSm5D4qOMRW7qVKPgVE7uCH5w="; 14 + stripRoot = false; 15 + }; 11 16 12 - url = "http://dotcolon.net/DL/font/${pname}.zip"; 13 - sha256 = "0hk15yndm56l6rbdykpkry2flffx0567mgjcqcnsx1iyzwwla5km"; 17 + installPhase = '' 18 + runHook preInstall 14 19 15 - postFetch = '' 16 - mkdir -p $out/share/fonts/opentype/${pname} 17 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname} 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 + 22 + runHook postInstall 18 23 ''; 19 24 20 25 meta = with lib; { 21 - homepage = "http://dotcolon.net/font/${pname}/"; 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 22 27 description = "Geometric sans serif designed by Sora Sagano"; 23 28 longDescription = '' 24 29 Penna is a geometric sans serif designed by Sora Sagano, ··· 31 26 with a small x-height. 32 27 ''; 33 28 platforms = platforms.all; 34 - maintainers = with maintainers; [ leenaars ]; 29 + maintainers = with maintainers; [ leenaars minijackson ]; 35 30 license = licenses.cc0; 36 31 }; 37 - } 32 + })
+17 -12
pkgs/data/fonts/route159/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 3 let 4 4 majorVersion = "1"; 5 5 minorVersion = "10"; 6 - pname = "route159"; 7 6 in 7 + stdenvNoCC.mkDerivation (self: { 8 + pname = "route159"; 9 + version = "${majorVersion}.${minorVersion}"; 8 10 9 - fetchzip { 10 - name = "${pname}-font-${majorVersion}.${minorVersion}"; 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-1InyBW1LGbp/IU/ql9mvT14W3MTxJdWThFwRH6VHpTU="; 14 + stripRoot = false; 15 + }; 11 16 12 - url = "http://dotcolon.net/DL/font/${pname}_${majorVersion}${minorVersion}.zip"; 13 - sha256 = "1nv5csg73arvvwpac7ylh4j9n0s3qp79rbv2s4jvs2bf6gqhsq7h"; 17 + installPhase = '' 18 + runHook preInstall 14 19 15 - postFetch = '' 16 - mkdir -p $out/share/fonts/opentype/${pname} 17 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname} 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 + 22 + runHook postInstall 18 23 ''; 19 24 20 25 meta = with lib; { 21 - homepage = "http://dotcolon.net/font/${pname}/"; 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 22 27 description = "A weighted sans serif font"; 23 28 platforms = platforms.all; 24 - maintainers = with maintainers; [ leenaars ]; 29 + maintainers = with maintainers; [ leenaars minijackson ]; 25 30 license = licenses.ofl; 26 31 }; 27 - } 32 + })
+17 -12
pkgs/data/fonts/seshat/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 3 let 4 4 majorVersion = "0"; 5 5 minorVersion = "100"; 6 - pname = "seshat"; 7 6 in 7 + stdenvNoCC.mkDerivation (self: { 8 + pname = "seshat"; 9 + version = "${majorVersion}.${minorVersion}"; 8 10 9 - fetchzip { 10 - name = "${pname}-font-${majorVersion}.${minorVersion}"; 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-XgprDhzAbcTzZw2QOwpCnzusYheYmSlM+ApU+Y0wO2Q="; 14 + stripRoot = false; 15 + }; 11 16 12 - url = "http://dotcolon.net/DL/font/${pname}.zip"; 13 - sha256 = "1zzgc2d0jrris92p3irmxjhdq8aj99alz0z7dlz25qf37lcilrir"; 17 + installPhase = '' 18 + runHook preInstall 14 19 15 - postFetch = '' 16 - mkdir -p $out/share/fonts/opentype/${pname} 17 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname} 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 + 22 + runHook postInstall 18 23 ''; 19 24 20 25 meta = with lib; { 21 - homepage = "http://dotcolon.net/font/${pname}/"; 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 22 27 description = "Roman body font designed for main text by Sora Sagano"; 23 28 longDescription = '' 24 29 Seshat is a Roman body font designed for the main text. By ··· 36 31 It incorporates symbols and ligatures used in the European region. 37 32 ''; 38 33 platforms = platforms.all; 39 - maintainers = with maintainers; [ leenaars ]; 34 + maintainers = with maintainers; [ leenaars minijackson ]; 40 35 license = licenses.cc0; 41 36 }; 42 - } 37 + })
+13 -12
pkgs/data/fonts/takao/default.nix
··· 1 - { fetchzip, lib }: 1 + { lib, stdenvNoCC, fetchurl }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "takao"; 4 5 version = "00303.01"; 5 - in 6 - fetchzip { 7 - name = "takao-${version}"; 8 - url = "mirror://ubuntu/pool/universe/f/fonts-takao/fonts-takao_${version}.orig.tar.gz"; 9 - sha256 = "sha256-TlPq3iIv8vHlxYu5dkX/Lf6ediYKQaQ5uMbFvypQM/w="; 10 6 11 - postFetch = '' 12 - unpackDir="$TMPDIR/unpack" 13 - mkdir "$unpackDir" 14 - cd "$unpackDir" 15 - tar xf "$downloadedFile" --strip-components=1 7 + src = fetchurl { 8 + url = "mirror://ubuntu/pool/universe/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.gz"; 9 + hash = "sha256-0wjHNv1yStp0q9D0WfwjgUYoUKcCrXA5jFO8PEVgq5k="; 10 + }; 11 + 12 + installPhase = '' 13 + runHook preInstall 14 + 16 15 mkdir -p $out/share/fonts 17 16 cp *.ttf $out/share/fonts 17 + 18 + runHook postInstall 18 19 ''; 19 20 20 21 meta = with lib; {
+17 -12
pkgs/data/fonts/tenderness/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 3 let 4 4 majorVersion = "0"; 5 5 minorVersion = "601"; 6 - pname = "tenderness"; 7 6 in 7 + stdenvNoCC.mkDerivation (self: { 8 + pname = "tenderness"; 9 + version = "${majorVersion}.${minorVersion}"; 8 10 9 - fetchzip { 10 - name = "${pname}-font-${majorVersion}.${minorVersion}"; 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-bwJKW+rY7/r2pBCSA6HYlaRMsI/U8UdW2vV4tmYuJww="; 14 + stripRoot = false; 15 + }; 11 16 12 - url = "http://dotcolon.net/DL/font/${pname}_${majorVersion}${minorVersion}.zip"; 13 - sha256 = "0d88l5mzq0k63zsmb8d5w3hfqxy04vpv4j0j8nmj1xv6kikhhybh"; 17 + installPhase = '' 18 + runHook preInstall 14 19 15 - postFetch = '' 16 - mkdir -p $out/share/fonts/opentype/${pname} 17 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname} 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 + 22 + runHook postInstall 18 23 ''; 19 24 20 25 meta = with lib; { 21 - homepage = "http://dotcolon.net/font/${pname}/"; 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 22 27 description = "Serif font designed by Sora Sagano with old-style figures"; 23 28 platforms = platforms.all; 24 - maintainers = with maintainers; [ leenaars ]; 29 + maintainers = with maintainers; [ leenaars minijackson ]; 25 30 license = licenses.ofl; 26 31 }; 27 - } 32 + })
+14 -9
pkgs/data/fonts/tibetan-machine/default.nix
··· 1 - { fetchzip, lib }: 1 + { lib, stdenvNoCC, fetchurl }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "tibetan-machine"; 4 5 version = "1.901b"; 5 - in 6 - fetchzip { 7 - name = "tibetan-machine-${version}"; 8 - url = "mirror://debian/pool/main/f/fonts-tibetan-machine/fonts-tibetan-machine_${version}.orig.tar.bz2"; 9 - sha256 = "sha256-A+RgpFLsP4iTzl0PMRHaNzWGbDR5Qa38lRegNJ96ULo="; 10 6 11 - postFetch = '' 7 + src = fetchurl { 8 + url = "mirror://debian/pool/main/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.bz2"; 9 + hash = "sha256-c/1Sgv7xKHpsJGjY9ZY2qOJHShGHL1robvphFNJOt5w="; 10 + }; 11 + 12 + installPhase = '' 13 + runHook preInstall 14 + 12 15 mkdir -p $out/share/fonts 13 - tar xf $downloadedFile --strip-components=1 -C $out/share/fonts ttf-tmuni-${version}/TibMachUni-${version}.ttf 16 + cp *.ttf $out/share/fonts 17 + 18 + runHook postInstall 14 19 ''; 15 20 16 21 meta = with lib; {
+13 -12
pkgs/data/fonts/ttf-bitstream-vera/default.nix
··· 1 - { lib, fetchzip }: 2 - let 1 + { lib, stdenvNoCC, fetchurl }: 2 + 3 + stdenvNoCC.mkDerivation rec { 3 4 pname = "ttf-bitstream-vera"; 4 5 version = "1.10"; 5 - in 6 - fetchzip rec { 7 - name = "${pname}-${version}"; 8 6 9 - url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.bz2"; 7 + src = fetchurl { 8 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 9 + hash = "sha256-21sn33u7MYA269t1rNPpjxvW62YI+3CmfUeM0kPReNw="; 10 + }; 10 11 11 - postFetch = '' 12 - tar -xjf $downloadedFile --strip-components=1 12 + installPhase = '' 13 + runHook preInstall 14 + 13 15 install -m444 -Dt $out/share/fonts/truetype *.ttf 16 + 17 + runHook postInstall 14 18 ''; 15 19 16 - sha256 = "179hal4yi3367jg8rsvqx6h2w4s0kn9zzrv8c47sslyg28g39s4m"; 17 - 18 - meta = { 19 - }; 20 + meta = { }; 20 21 }
-2
pkgs/data/fonts/u001/default.nix
··· 10 10 stripRoot = false; 11 11 }; 12 12 13 - dontBuild = true; 14 - 15 13 installPhase = '' 16 14 runHook preInstall 17 15
+13 -9
pkgs/data/fonts/unfonts-core/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchurl }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 4 pname = "unfonts-core"; 5 5 version = "1.0.2-080608"; 6 - in fetchzip { 7 - name = "${pname}-${version}"; 8 - url = "https://kldp.net/unfonts/release/2607-un-fonts-core-${version}.tar.gz"; 9 - hash = "sha256-k9C7d/SbVLWFzRnDWpOIMtY6cAEIcaLcbxQAqjwuWds="; 10 6 11 - postFetch = '' 12 - tar -xzf $downloadedFile --strip-components=1 7 + src = fetchurl { 8 + url = "https://kldp.net/unfonts/release/2607-un-fonts-core-${version}.tar.gz"; 9 + hash = "sha256-OwpydPmqt+jw8ZOMAacOFYF2bVG0lLoUVoPzesVXkY4="; 10 + }; 11 + 12 + installPhase = '' 13 + runHook preInstall 14 + 13 15 install -m444 -Dt $out/share/fonts/truetype *.ttf 16 + 17 + runHook postInstall 14 18 ''; 15 19 16 20 meta = with lib; { ··· 24 20 The Un-fonts come from the HLaTeX as type1 fonts in 1998 by Koaunghi Un, he made type1 fonts to use with Korean TeX (HLaTeX) in the late 1990's and released it under the GPL license. 25 21 26 22 They were converted to TrueType with the FontForge (PfaEdit) by Won-kyu Park in 2003. 27 - ''; 23 + ''; 28 24 license = licenses.gpl2; 29 25 platforms = platforms.all; 30 26 maintainers = [ maintainers.ehmry ];
+13 -8
pkgs/data/fonts/vdrsymbols/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchurl }: 2 2 3 - fetchzip { 4 - name = "vdrsymbols-20100612"; 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "vdrsymbols"; 5 + version = "20100612"; 5 6 6 - url = "http://andreas.vdr-developer.org/fonts/download/vdrsymbols-ttf-20100612.tgz"; 7 + src = fetchurl { 8 + url = "http://andreas.vdr-developer.org/fonts/download/${pname}-ttf-${version}.tgz"; 9 + hash = "sha256-YxB+JcDkta5are+OQyP/WKDL0vllgn0m26bU9mQ3C/Q="; 10 + }; 7 11 8 - sha256 = "0wpxns8zqic98c84j18dr4zmj092v07yq07vwwgzblr0rw9n6gzr"; 12 + installPhase = '' 13 + runHook preInstall 9 14 10 - postFetch = '' 11 - tar xvzf "$downloadedFile" 12 - install -Dm444 -t "$out/share/fonts/truetype" */*.ttf 15 + install -Dm444 -t "$out/share/fonts/truetype" *.ttf 16 + 17 + runHook postInstall 13 18 ''; 14 19 15 20 meta = with lib; {
+20 -14
pkgs/data/fonts/vegur/default.nix
··· 1 - { lib, buildPackages, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip }: 2 2 3 3 let 4 - version = "0.701"; 5 - in fetchzip { 6 - name = "vegur-font-${version}"; 4 + majorVersion = "0"; 5 + minorVersion = "701"; 6 + in 7 + stdenvNoCC.mkDerivation (self: { 8 + pname = "vegur"; 9 + version = "${majorVersion}.${minorVersion}"; 7 10 8 - # Upstream doesn't version their URLs. 9 - # http://dotcolon.net/font/vegur/ → http://dotcolon.net/DL/font/vegur.zip 10 - url = "http://download.opensuse.org/repositories/M17N:/fonts/SLE_12_SP3/src/dotcolon-vegur-fonts-0.701-1.4.src.rpm"; 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-sGb3mEb3g15ZiVCxEfAanly8zMUopLOOjw8W4qbXLPA="; 14 + stripRoot = false; 15 + }; 11 16 12 - postFetch = '' 13 - ${buildPackages.rpmextract}/bin/rpmextract $downloadedFile 14 - unzip vegur.zip 15 - install -m444 -Dt $out/share/fonts/Vegur *.otf 17 + installPhase = '' 18 + runHook preInstall 19 + 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 + 22 + runHook postInstall 16 23 ''; 17 - sha256 = "0iisi2scq72lyj7pc1f36fhfjnm676n5byl4zaavhbxpdrbc6d1v"; 18 24 19 25 meta = with lib; { 20 26 homepage = "http://dotcolon.net/font/vegur/"; 21 27 description = "A humanist sans serif font"; 22 28 platforms = platforms.all; 23 - maintainers = [ maintainers.samueldr ]; 29 + maintainers = with maintainers; [ minijackson samueldr ]; 24 30 license = licenses.cc0; 25 31 }; 26 - } 32 + })
+13 -9
pkgs/data/fonts/wqy-microhei/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchurl }: 2 2 3 - fetchzip rec { 4 - name = "wqy-microhei-0.2.0-beta"; 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "wqy-microhei"; 5 + version = "0.2.0"; 5 6 6 - url = "mirror://sourceforge/wqy/${name}.tar.gz"; 7 + src = fetchurl { 8 + url = "mirror://sourceforge/wqy/${pname}-${version}-beta.tar.gz"; 9 + hash = "sha256-KAKsgCOqNqZupudEWFTjoHjTd///QhaTQb0jeHH3IT4="; 10 + }; 7 11 8 - postFetch = '' 9 - tar -xzf $downloadedFile --strip-components=1 12 + installPhase = '' 13 + runHook preInstall 14 + 10 15 install -Dm644 wqy-microhei.ttc $out/share/fonts/wqy-microhei.ttc 11 - ''; 12 16 13 - sha256 = "0i5jh7mkp371fxqmsvn7say075r641yl4hq26isjyrqvb8cv92a9"; 17 + runHook postInstall 18 + ''; 14 19 15 20 meta = { 16 21 description = "A (mainly) Chinese Unicode font"; ··· 25 20 platforms = lib.platforms.all; 26 21 }; 27 22 } 28 -
+12 -9
pkgs/data/fonts/wqy-zenhei/default.nix
··· 1 - { lib, fetchzip }: 1 + { lib, stdenvNoCC, fetchurl }: 2 2 3 - let 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "wqy-zenhei"; 4 5 version = "0.9.45"; 5 - in fetchzip rec { 6 - name = "wqy-zenhei-${version}"; 7 6 8 - url = "mirror://sourceforge/wqy/${name}.tar.gz"; 7 + src = fetchurl { 8 + url = "mirror://sourceforge/wqy/${pname}-${version}.tar.gz"; 9 + hash = "sha256-5LfjBkdb+UJ9F1dXjw5FKJMMhMROqj8WfUxC8RDuddY="; 10 + }; 9 11 10 - postFetch = '' 11 - tar -xzf $downloadedFile --strip-components=1 12 + installPhase = '' 13 + runHook preInstall 14 + 12 15 mkdir -p $out/share/fonts 13 16 install -m644 *.ttc $out/share/fonts/ 14 - ''; 15 17 16 - sha256 = "0hbjq6afcd63nsyjzrjf8fmm7pn70jcly7fjzjw23v36ffi0g255"; 18 + runHook postInstall 19 + ''; 17 20 18 21 meta = { 19 22 description = "A (mainly) Chinese Unicode font";
+4 -2
pkgs/desktops/mate/marco/default.nix
··· 9 9 , libgtop 10 10 , libXdamage 11 11 , libXpresent 12 + , libXres 12 13 , libstartup_notification 13 14 , gnome 14 15 , glib ··· 21 20 22 21 stdenv.mkDerivation rec { 23 22 pname = "marco"; 24 - version = "1.26.0"; 23 + version = "1.26.1"; 25 24 26 25 src = fetchurl { 27 26 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 - sha256 = "01avxrg2fc6grfrp6hl8b0im4scy9xf6011swfrhli87ig6hhg7n"; 27 + sha256 = "tPpVUL+J1Pnv9a5ufWFQ42YaItUw1q3cZ1e86N0qXT0="; 29 28 }; 30 29 31 30 nativeBuildInputs = [ ··· 41 40 libgtop 42 41 libXdamage 43 42 libXpresent 43 + libXres 44 44 libstartup_notification 45 45 gtk3 46 46 gnome.zenity
+3 -3
pkgs/development/beam-modules/elixir-ls/pin.json
··· 1 1 { 2 - "version": "0.12.0", 3 - "sha256": "sha256-ZieKL98EUT3RbZ1UZkhrnXjg3N0RATKB69F8D7IWnJ8=", 4 - "depsSha256": "sha256-Otm8koWrDYxodfliIe+q4U+39eStR5umEKnQQmOOGeA=" 2 + "version": "0.13.0", 3 + "sha256": "sha256-eUAlnEKhoJ3j2Ii2EBL620jv3aGeMJcWoMMG+vWIdm4=", 4 + "depsSha256": "sha256-fAt9BpEE9truGWpor0BttVd9aNZlgQ6UTorIEcJ82wM=" 5 5 }
+5 -5
pkgs/development/compilers/dotnet/default.nix
··· 28 28 29 29 ## Files in versions/ are generated automatically by update.sh ## 30 30 dotnet_3_1 = import ./versions/3.1.nix (buildAttrs // { icu = icu70; }); 31 - dotnet_5_0 = import ./versions/5.0.nix (buildAttrs // { inherit icu; }); 32 31 dotnet_6_0 = import ./versions/6.0.nix (buildAttrs // { inherit icu; }); 33 32 dotnet_7_0 = import ./versions/7.0.nix (buildAttrs // { inherit icu; }); 34 33 in ··· 37 38 combinePackages = attrs: callPackage (import ./combine-packages.nix attrs) {}; 38 39 39 40 # EOL 40 - sdk_2_1 = throw "Dotnet SDK 2.1 is EOL, please use 3.1 (LTS), 5.0 (Current) or 6.0 (LTS)"; 41 - sdk_2_2 = throw "Dotnet SDK 2.2 is EOL, please use 3.1 (LTS), 5.0 (Current) or 6.0 (LTS)"; 42 - sdk_3_0 = throw "Dotnet SDK 3.0 is EOL, please use 3.1 (LTS), 5.0 (Current) or 6.0 (LTS)"; 43 - } // dotnet_3_1 // dotnet_5_0 // dotnet_6_0 // dotnet_7_0 41 + sdk_2_1 = throw "Dotnet SDK 2.1 is EOL, please use 6.0 (LTS) or 7.0 (Current)"; 42 + sdk_2_2 = throw "Dotnet SDK 2.2 is EOL, please use 6.0 (LTS) or 7.0 (Current)"; 43 + sdk_3_0 = throw "Dotnet SDK 3.0 is EOL, please use 6.0 (LTS) or 7.0 (Current)"; 44 + sdk_5_0 = throw "Dotnet SDK 5.0 is EOL, please use 6.0 (LTS) or 7.0 (Current)"; 45 + } // dotnet_3_1 // dotnet_6_0 // dotnet_7_0
-137
pkgs/development/compilers/dotnet/versions/5.0.nix
··· 1 - { buildAspNetCore, buildNetRuntime, buildNetSdk, icu }: 2 - 3 - # v5.0 (eol) 4 - { 5 - aspnetcore_5_0 = buildAspNetCore { 6 - inherit icu; 7 - version = "5.0.17"; 8 - srcs = { 9 - x86_64-linux = { 10 - url = "https://download.visualstudio.microsoft.com/download/pr/a2b96f83-e22a-4fa6-a10e-709b3effac9a/0d6ade6c0ceebc8ef7dbf2b1a6d86f17/aspnetcore-runtime-5.0.17-linux-x64.tar.gz"; 11 - sha512 = "d8e87804e9e86273c6512785bd5a6f0e834ff3f4bbebc11c4fcdf16ab4fdfabd0d981a756955267c1aa9bbeec596de3728ce9b2e6415d2d80daef0d999a5df6d"; 12 - }; 13 - aarch64-linux = { 14 - url = "https://download.visualstudio.microsoft.com/download/pr/6eb8aee2-cbea-4c4f-9bb9-ea6229ec229b/d6c438e5071c359ad995134f0a33e731/aspnetcore-runtime-5.0.17-linux-arm64.tar.gz"; 15 - sha512 = "ac1a9d89f1b730dfdca9c2e48373ef21f8f9316014eefbe6b11516f8195d3b3efc4e482883774b74ea2ff1cb77174a2cb471bd1157ab5b7d71621e3026c38e9b"; 16 - }; 17 - x86_64-darwin = { 18 - url = "https://download.visualstudio.microsoft.com/download/pr/25e4817f-6fd0-46dc-be0d-d819445bac5c/a8fa228c872df683741c8a79745f8fb3/aspnetcore-runtime-5.0.17-osx-x64.tar.gz"; 19 - sha512 = "bb0c43c723090fa2d8a0255e6fc8c004ebe7baf2d5d56e22ad2e6336a67fe415333d451e459c8857c0ccb5819d998232c9617bf45f222559d4b8891b0af41f20"; 20 - }; 21 - }; 22 - }; 23 - 24 - runtime_5_0 = buildNetRuntime { 25 - inherit icu; 26 - version = "5.0.17"; 27 - srcs = { 28 - x86_64-linux = { 29 - url = "https://download.visualstudio.microsoft.com/download/pr/e77438f6-865f-45e0-9a52-3e4b04aa609f/024a880ed4bfbfd3b9f222fec0b6aaff/dotnet-runtime-5.0.17-linux-x64.tar.gz"; 30 - sha512 = "a9c4784930a977abbc42aff1337dda06ec588c1ec4769a59f9fcab4d5df4fc9efe65f8e61e5433db078f67a94ea2dfe870c32c482a50d4c16283ffacacff4261"; 31 - }; 32 - aarch64-linux = { 33 - url = "https://download.visualstudio.microsoft.com/download/pr/6690730f-cf10-40f1-9d4d-4c0d002f22d0/e117133858f190c169873200b8d7b9d7/dotnet-runtime-5.0.17-linux-arm64.tar.gz"; 34 - sha512 = "99cb11871924d3abedcc9c8079c54bc0c550203c7cbe4e349ed70d4355f40e4620b68d90b797e6461d898c06bed6953580e2cd4ad01483e5de107ca5a3409610"; 35 - }; 36 - x86_64-darwin = { 37 - url = "https://download.visualstudio.microsoft.com/download/pr/39326cf0-dc7f-42a3-9f7a-fe30c75c7a7f/33cbce552148e13d47120fe4502f5b5e/dotnet-runtime-5.0.17-osx-x64.tar.gz"; 38 - sha512 = "31add512418640f98bc9511509db2049a2674c7725169d26be89218a02ac7972e03e5d6be5a3d45a0dfa764e6eade503a8f4957b7b198ec6ad412e423d95f1b9"; 39 - }; 40 - }; 41 - }; 42 - 43 - sdk_5_0 = buildNetSdk { 44 - inherit icu; 45 - version = "5.0.408"; 46 - srcs = { 47 - x86_64-linux = { 48 - url = "https://download.visualstudio.microsoft.com/download/pr/904da7d0-ff02-49db-bd6b-5ea615cbdfc5/966690e36643662dcc65e3ca2423041e/dotnet-sdk-5.0.408-linux-x64.tar.gz"; 49 - sha512 = "abbf22c420df2d8398d1616efa3d31e1b8f96130697746c45ad68668676d12e65ec3b4dd75f28a5dc7607da58b6e369693c0e658def15ce2431303c28e99db55"; 50 - }; 51 - aarch64-linux = { 52 - url = "https://download.visualstudio.microsoft.com/download/pr/d4b71fac-a2fd-4516-ac58-100fb09d796a/e79d6c2a8040b59bf49c0d167ae70a7b/dotnet-sdk-5.0.408-linux-arm64.tar.gz"; 53 - sha512 = "50f23d7aca91051d8b7c37f1a76b1eb51e6fe73e017d98558d757a6b9699e4237d401ce81515c1601b8c21eb62fee4e0b4f0bbed8967eefa3ceba75fc242f01b"; 54 - }; 55 - x86_64-darwin = { 56 - url = "https://download.visualstudio.microsoft.com/download/pr/4aeecc7c-7ffa-418f-9362-cf5eb3ed0396/055d5e6064a9fdecd7d906f5f262373d/dotnet-sdk-5.0.408-osx-x64.tar.gz"; 57 - sha512 = "3fdd4deac2809b00c0f669d5488000ac1b9a47dee6ab7b31167d7cec4759a10ee347fd4f52090a40684e5ecc1e1f57eb99c558e561edfd1436a2f77fc1c1a0b2"; 58 - }; 59 - }; 60 - packages = { fetchNuGet }: [ 61 - (fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.linux-arm"; version = "5.0.17"; sha256 = "0mfawgcc23r44a1r7ynafxwga6jzn0f0z5ys03qssrvlcdsb376x"; }) 62 - (fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.linux-arm64"; version = "5.0.17"; sha256 = "183xgqzlwd5lhacxdwcjl8vcq7r7xypv0hddps9k32mmmwf83d8h"; }) 63 - (fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.linux-musl-arm64"; version = "5.0.17"; sha256 = "0i5pp1smjkyhiyhcbkyc3cxz0sx9204bfml8wsdy7bxznbh2gkmw"; }) 64 - (fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.linux-musl-x64"; version = "5.0.17"; sha256 = "1fmd9jq2nzy63hjh4sa6zl636wpgwr3r8ahzln5w14m9k87lfdbk"; }) 65 - (fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.linux-x64"; version = "5.0.17"; sha256 = "066fwdlssbv556zd9w1x87x1j8j4kafj9rxyy0692bssdb4gcyc8"; }) 66 - (fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.osx-x64"; version = "5.0.17"; sha256 = "1qvvqf8mmzzc7a7fhx324dprnbxhknr3qxspb2xhsn3yyg44xn2d"; }) 67 - (fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.win-arm"; version = "5.0.17"; sha256 = "1gzf2gv4z9bn1cr1kpqpf1jf7m0p0wd1pxq5ndylq6bw353yglk1"; }) 68 - (fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.win-arm64"; version = "5.0.17"; sha256 = "1lml70ln9bfjrfjf3jbxfzd5kgd4cp4h7v052md5ja364g7lalsy"; }) 69 - (fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.win-x64"; version = "5.0.17"; sha256 = "0j90fri15c05lw96xybgvqkysfm7g8grhkrg25g75vhi6ni2ricj"; }) 70 - (fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.win-x86"; version = "5.0.17"; sha256 = "1bdb887xvgxsmphys83zp9skn848p1r8viclc8p29w1rby4wi19i"; }) 71 - (fetchNuGet { pname = "Microsoft.NETCore.App.Host.linux-arm"; version = "5.0.17"; sha256 = "0y90p765sj54clf2bwrka99w73g8b9550b4qvyilqggzydl1c1hk"; }) 72 - (fetchNuGet { pname = "Microsoft.NETCore.App.Host.linux-arm64"; version = "5.0.17"; sha256 = "07v7vyqm556xr1ypkazfp6gh6drgf20zkwbhkpja8bwdcr6lphbb"; }) 73 - (fetchNuGet { pname = "Microsoft.NETCore.App.Host.linux-musl-arm64"; version = "5.0.17"; sha256 = "0sbzlzhazh31s63hw9553hk9j56fxssncmfgidiyh0dg73aacrsp"; }) 74 - (fetchNuGet { pname = "Microsoft.NETCore.App.Host.linux-musl-x64"; version = "5.0.17"; sha256 = "1qxphvlr882rvmj71y2imnf6r3hh4ln2n138qjyv1z129dp2g4y1"; }) 75 - (fetchNuGet { pname = "Microsoft.NETCore.App.Host.linux-x64"; version = "5.0.17"; sha256 = "1lc2jhr4ikffi5ylyf8f6ya6k0hdj0wp1l0017grrwd4m5ajj4vv"; }) 76 - (fetchNuGet { pname = "Microsoft.NETCore.App.Host.osx-x64"; version = "5.0.17"; sha256 = "02g5w41ivrw3n6cy3l3ixhcl8bw1fsv4bzs2m34k9h5fqmliaf3c"; }) 77 - (fetchNuGet { pname = "Microsoft.NETCore.App.Host.win-arm"; version = "5.0.17"; sha256 = "07rfkxpf6rp8x0lybl8hx40mk09w5gjrr9djkjcp8lvjgzidnxq9"; }) 78 - (fetchNuGet { pname = "Microsoft.NETCore.App.Host.win-arm64"; version = "5.0.17"; sha256 = "1i7wka56n3akr96jrkj37jx98bwxfzhpx5705930v50izligd08x"; }) 79 - (fetchNuGet { pname = "Microsoft.NETCore.App.Host.win-x64"; version = "5.0.17"; sha256 = "15f1kqlpp1d05dhg3dfya32vvzbpj6c7gxds947f10jb0hqlnhdj"; }) 80 - (fetchNuGet { pname = "Microsoft.NETCore.App.Host.win-x86"; version = "5.0.17"; sha256 = "1j1334zxv815ksdnllnbwwsbwnimjlpknjmqy1riy2zpswxlfkz6"; }) 81 - (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.linux-arm"; version = "5.0.17"; sha256 = "0mmgd6nacx4fzf0w02ch0qxa43vrv6wfspykxsy2bkpvrnvr8xr9"; }) 82 - (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.linux-arm64"; version = "5.0.17"; sha256 = "16whaq82pj6fqa0vam3a0va9ly843aa1z12hza040vn6252kk9fq"; }) 83 - (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.linux-musl-arm64"; version = "5.0.17"; sha256 = "1zavnwqvn2f7lhb880wgv02anrvqsh6l34w72knwd31irggph08l"; }) 84 - (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.linux-musl-x64"; version = "5.0.17"; sha256 = "173r2srcbad2prrw3l914scmdks3mghxgszvlwypdjnv0f2szgvv"; }) 85 - (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.linux-x64"; version = "5.0.17"; sha256 = "0jgcfs3jc98jfyaaamssznckbpnaygplk8pjsp6dswpansz5bnnq"; }) 86 - (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.osx-x64"; version = "5.0.17"; sha256 = "1ph5kx18syinp8bpzw80bgq3njl65gwzws727xcmxnysgm7snmjp"; }) 87 - (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.win-arm"; version = "5.0.17"; sha256 = "0m4jhn70parwnl18fql0sk9sf14y8cf08xw6x2cm5bfhnc9jvjny"; }) 88 - (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.win-arm64"; version = "5.0.17"; sha256 = "1af20jkv73767b4fy18s2dvjncaca1ny0csyr7wbhvqfs59y3n1x"; }) 89 - (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.win-x64"; version = "5.0.17"; sha256 = "0llhsi03wyp2yjqy0snywqgwjgam91i4nsf5lc9kaxkk5h6vj1a0"; }) 90 - (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.win-x86"; version = "5.0.17"; sha256 = "0xvprbjwd3fymddvavsy7wk5q2hp45hdi10qz4rdbmns23vqkzmf"; }) 91 - (fetchNuGet { pname = "Microsoft.NETCore.DotNetAppHost"; version = "5.0.17"; sha256 = "0vhvxpba3i9ffp4gp56l3rnlhq9yg07n3dv5qi89zb90vgyqjh1p"; }) 92 - (fetchNuGet { pname = "Microsoft.NETCore.DotNetHost"; version = "5.0.17"; sha256 = "074c9byxwmndfdavxn103220f5gklaaxc9wj7zpb5v3yr3ads30f"; }) 93 - (fetchNuGet { pname = "Microsoft.NETCore.DotNetHostPolicy"; version = "5.0.17"; sha256 = "03jkkpsy2zjfp722fa2fcnpk2g6jzy0bn9vip5c39k78y5pz29x6"; }) 94 - (fetchNuGet { pname = "Microsoft.NETCore.DotNetHostResolver"; version = "5.0.17"; sha256 = "1ih6c104skp9q17i2dnsma45l6nv5c62vv2i1988dcjw2v0sl98m"; }) 95 - (fetchNuGet { pname = "runtime.linux-arm64.Microsoft.NETCore.DotNetAppHost"; version = "5.0.17"; sha256 = "0gwsxd1l0n32xnw0lyjixj2634iyygdb8pd7chydsr3qk8njxnpk"; }) 96 - (fetchNuGet { pname = "runtime.linux-arm64.Microsoft.NETCore.DotNetHost"; version = "5.0.17"; sha256 = "0x5dhn1jkwqnd0cki1vi97rhyfac6w79hvh9dxvnkn2k04sbps8q"; }) 97 - (fetchNuGet { pname = "runtime.linux-arm64.Microsoft.NETCore.DotNetHostPolicy"; version = "5.0.17"; sha256 = "1ipx3qn78z6gi415c4fa9wgy8k75aifbml6ys1c9ghl6yxbv0fd0"; }) 98 - (fetchNuGet { pname = "runtime.linux-arm64.Microsoft.NETCore.DotNetHostResolver"; version = "5.0.17"; sha256 = "1wgbx648yndl0hh8vx6sflfwjyr5pfhi7vj7v19l6vxnrr1096w7"; }) 99 - (fetchNuGet { pname = "runtime.linux-arm.Microsoft.NETCore.DotNetAppHost"; version = "5.0.17"; sha256 = "17jc8jc2dk1g8996jpq3k0g6c5inijivxkbz0grxrgr5jbyiv19y"; }) 100 - (fetchNuGet { pname = "runtime.linux-arm.Microsoft.NETCore.DotNetHost"; version = "5.0.17"; sha256 = "0ydn40qn6cs6f20byvmc9j008s6csxjbh6jh5w4q995vipcmcpcj"; }) 101 - (fetchNuGet { pname = "runtime.linux-arm.Microsoft.NETCore.DotNetHostPolicy"; version = "5.0.17"; sha256 = "0bw08wlf96vcyix850y8jips1glrz2cbj647af4d7gggw8p3wwzw"; }) 102 - (fetchNuGet { pname = "runtime.linux-arm.Microsoft.NETCore.DotNetHostResolver"; version = "5.0.17"; sha256 = "0xsqyw848scwcz09pgc719776q712xabx4xv47srzij34p2pq7np"; }) 103 - (fetchNuGet { pname = "runtime.linux-musl-arm64.Microsoft.NETCore.DotNetAppHost"; version = "5.0.17"; sha256 = "00b0vipypjai4l8icr74kjhglxx2xlc3nw3vyiwisg52l9zyby66"; }) 104 - (fetchNuGet { pname = "runtime.linux-musl-arm64.Microsoft.NETCore.DotNetHost"; version = "5.0.17"; sha256 = "1cdgd4p5zr1mzz9hlb5mj946zfa1vn9wya5y2bhqn9y4ak831wzp"; }) 105 - (fetchNuGet { pname = "runtime.linux-musl-arm64.Microsoft.NETCore.DotNetHostPolicy"; version = "5.0.17"; sha256 = "17v8m4fxm4q40z49a2h4lw9dawg6pwfv4s2dskzc23ggcjgr6dp1"; }) 106 - (fetchNuGet { pname = "runtime.linux-musl-arm64.Microsoft.NETCore.DotNetHostResolver"; version = "5.0.17"; sha256 = "1fbqi92prqmvxx0rx7vhl10l665jmmhb2ng5jndimggydb0ckpqh"; }) 107 - (fetchNuGet { pname = "runtime.linux-musl-x64.Microsoft.NETCore.DotNetAppHost"; version = "5.0.17"; sha256 = "1rijxkzzk65xs9z2ygs13h0rhw1cli5vwshmvs1gfnwhhn8ic0gx"; }) 108 - (fetchNuGet { pname = "runtime.linux-musl-x64.Microsoft.NETCore.DotNetHost"; version = "5.0.17"; sha256 = "02mxvpm2zs5jvawigvxlnrw6si4zwj6qlcas99m9xdmm8yqq22cm"; }) 109 - (fetchNuGet { pname = "runtime.linux-musl-x64.Microsoft.NETCore.DotNetHostPolicy"; version = "5.0.17"; sha256 = "0c1lcl3yy88vdfw12c7h0ww596qfjd5f8l2mn7mlqs6i3f864bkg"; }) 110 - (fetchNuGet { pname = "runtime.linux-musl-x64.Microsoft.NETCore.DotNetHostResolver"; version = "5.0.17"; sha256 = "0w0wg9ah7vngvpyds67l6qhizpkdf2r6m6cqyyvv3s5dw5l8rxin"; }) 111 - (fetchNuGet { pname = "runtime.linux-x64.Microsoft.NETCore.DotNetAppHost"; version = "5.0.17"; sha256 = "17yy7605vkfz0f4h58005gdfg6fnjxlcnq0vg0hrxsgbdqmd7p1i"; }) 112 - (fetchNuGet { pname = "runtime.linux-x64.Microsoft.NETCore.DotNetHost"; version = "5.0.17"; sha256 = "0av25fgkdl7zvn44wp8gqx2xl2mdlv1f9cgxzp7xk5yq8f7ynxpq"; }) 113 - (fetchNuGet { pname = "runtime.linux-x64.Microsoft.NETCore.DotNetHostPolicy"; version = "5.0.17"; sha256 = "1smhmdfq0jlv1gq18hdaj0y9yzkvqzmki19c0b3j5b76yxxxpbwz"; }) 114 - (fetchNuGet { pname = "runtime.linux-x64.Microsoft.NETCore.DotNetHostResolver"; version = "5.0.17"; sha256 = "0n0cdb9zpdb4h4v6r265pqmqg8c94ydywvna6jp1c6qhqlr0qk39"; }) 115 - (fetchNuGet { pname = "runtime.osx-x64.Microsoft.NETCore.DotNetAppHost"; version = "5.0.17"; sha256 = "1s2n2sx29c8rx549zizj8yrddjl98a7vwvxw56y0jvvbwphr9gz4"; }) 116 - (fetchNuGet { pname = "runtime.osx-x64.Microsoft.NETCore.DotNetHost"; version = "5.0.17"; sha256 = "19m66yvv0hnmyrmx2l4drbls0fcib75fxq2csdx6p8gd54bnrsh3"; }) 117 - (fetchNuGet { pname = "runtime.osx-x64.Microsoft.NETCore.DotNetHostPolicy"; version = "5.0.17"; sha256 = "0bcnlsxcrvhybcjbb9879njx0c4z76y7djx4643g1rpjnkcrj9ww"; }) 118 - (fetchNuGet { pname = "runtime.osx-x64.Microsoft.NETCore.DotNetHostResolver"; version = "5.0.17"; sha256 = "1bf95h2f0dmpmv7z7961zia5vaqvmjq3wkf6iil9jxv4z674624w"; }) 119 - (fetchNuGet { pname = "runtime.win-arm64.Microsoft.NETCore.DotNetAppHost"; version = "5.0.17"; sha256 = "02q593q09mwwh23m86048vc7b7an7pqch5nd86d4hxzkamnpnpsa"; }) 120 - (fetchNuGet { pname = "runtime.win-arm64.Microsoft.NETCore.DotNetHost"; version = "5.0.17"; sha256 = "16vzxywfj88gjcwfnmcb6b50ld8dp46i4pqiwwcy7yz15xgdhbm2"; }) 121 - (fetchNuGet { pname = "runtime.win-arm64.Microsoft.NETCore.DotNetHostPolicy"; version = "5.0.17"; sha256 = "1ix5lg2j5ihdfp9j3jdxc042g4syjzc4bafid465j52h6znsm6wm"; }) 122 - (fetchNuGet { pname = "runtime.win-arm64.Microsoft.NETCore.DotNetHostResolver"; version = "5.0.17"; sha256 = "0w30v8r26cg427n5glm9nz6r10baalkqq5icqqxkq71hmh8fsjqb"; }) 123 - (fetchNuGet { pname = "runtime.win-arm.Microsoft.NETCore.DotNetAppHost"; version = "5.0.17"; sha256 = "168iq4hdp6bhdpgqa1mir1bygmh2ggwkys1r82d6kpl2lzbxjy28"; }) 124 - (fetchNuGet { pname = "runtime.win-arm.Microsoft.NETCore.DotNetHost"; version = "5.0.17"; sha256 = "18jpw2wbrb1b941729lb7hiq4yfq2z53pcxwz4mpgawnr58y0562"; }) 125 - (fetchNuGet { pname = "runtime.win-arm.Microsoft.NETCore.DotNetHostPolicy"; version = "5.0.17"; sha256 = "0ig464fcsj2jr0p02f6slifwf1m0408g95npm0vccf5ww1nbgkpi"; }) 126 - (fetchNuGet { pname = "runtime.win-arm.Microsoft.NETCore.DotNetHostResolver"; version = "5.0.17"; sha256 = "0qj5avmjrvabxzimprg4m54k3p6zkwrhbpv0byc8c9gbi47s323j"; }) 127 - (fetchNuGet { pname = "runtime.win-x64.Microsoft.NETCore.DotNetAppHost"; version = "5.0.17"; sha256 = "05ghz164lpff7n8mrxs7jm2h8n3clsg4w953zrag3k5ry9j36m9c"; }) 128 - (fetchNuGet { pname = "runtime.win-x64.Microsoft.NETCore.DotNetHost"; version = "5.0.17"; sha256 = "0azgs542mbg69jlc81529i2z5m728w8sc2i9m5dx15hvxqqqcjiz"; }) 129 - (fetchNuGet { pname = "runtime.win-x64.Microsoft.NETCore.DotNetHostPolicy"; version = "5.0.17"; sha256 = "12n1kcgcv5z8hkvjqfk0n705kcipbai4sgcwiimi52xpaf34xw8m"; }) 130 - (fetchNuGet { pname = "runtime.win-x64.Microsoft.NETCore.DotNetHostResolver"; version = "5.0.17"; sha256 = "0b1s2m0a7xcdzfz22x6k7v5hkca90azdjk6pw7wwdnvszwq26nxp"; }) 131 - (fetchNuGet { pname = "runtime.win-x86.Microsoft.NETCore.DotNetAppHost"; version = "5.0.17"; sha256 = "1sjpq07swgj0isdgyh6p2yb254qb9781lv44xfhj6nz7mx2yhdh1"; }) 132 - (fetchNuGet { pname = "runtime.win-x86.Microsoft.NETCore.DotNetHost"; version = "5.0.17"; sha256 = "1gnzrqdp26d7pwwz29gm4qb09n2zsb767qkhbwkifcsyxlwi6m0f"; }) 133 - (fetchNuGet { pname = "runtime.win-x86.Microsoft.NETCore.DotNetHostPolicy"; version = "5.0.17"; sha256 = "089jww13gaf7x7yd9d3qkyx9iq8abcp3r147hd9nblh561c9bzbg"; }) 134 - (fetchNuGet { pname = "runtime.win-x86.Microsoft.NETCore.DotNetHostResolver"; version = "5.0.17"; sha256 = "1nycl1rayk0fhaakpj6q9rfp2lv3dpl7pziavmd9kcfryz952ff5"; }) 135 - ]; 136 - }; 137 - }
+1 -1
pkgs/development/compilers/go-jsonnet/default.nix
··· 11 11 hash = "sha256-FgQYnas0qkIedRAA8ApZXLzEylg6PS6+8zzl7j+yOeI="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-j1fTOUpLx34TgzW94A/BctLrg9XoTtb3cBizhVJoEEI="; 14 + vendorHash = "sha256-j1fTOUpLx34TgzW94A/BctLrg9XoTtb3cBizhVJoEEI="; 15 15 16 16 patches = [ 17 17 # See https://github.com/google/go-jsonnet/issues/653.
+3 -3
pkgs/development/compilers/llvm/10/default.nix
··· 110 110 cc = tools.clang-unwrapped; 111 111 libcxx = targetLlvmLibraries.libcxx; 112 112 extraPackages = [ 113 - targetLlvmLibraries.libcxxabi 113 + libcxx.cxxabi 114 114 targetLlvmLibraries.compiler-rt 115 115 ]; 116 116 extraBuildCommands = mkExtraBuildCommands cc; ··· 147 147 libcxx = targetLlvmLibraries.libcxx; 148 148 bintools = bintools'; 149 149 extraPackages = [ 150 - targetLlvmLibraries.libcxxabi 150 + libcxx.cxxabi 151 151 targetLlvmLibraries.compiler-rt 152 152 ] ++ lib.optionals (!stdenv.targetPlatform.isWasm) [ 153 153 targetLlvmLibraries.libunwind ··· 157 157 echo "-B${targetLlvmLibraries.compiler-rt}/lib" >> $out/nix-support/cc-cflags 158 158 '' + lib.optionalString (!stdenv.targetPlatform.isWasm) '' 159 159 echo "--unwindlib=libunwind" >> $out/nix-support/cc-cflags 160 - '' + lib.optionalString (!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && stdenv.targetPlatform.useLLVM or false) '' 160 + '' + lib.optionalString (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) '' 161 161 echo "-lunwind" >> $out/nix-support/cc-ldflags 162 162 '' + lib.optionalString stdenv.targetPlatform.isWasm '' 163 163 echo "-fno-exceptions" >> $out/nix-support/cc-cflags
+10 -5
pkgs/development/compilers/llvm/10/libcxx/default.nix
··· 1 - { lib, stdenv, llvm_meta, fetch, cmake, python3, libcxxabi, fixDarwinDylibNames, version 1 + { lib, stdenv, llvm_meta, fetch, cmake, python3, fixDarwinDylibNames, version 2 + , cxxabi ? if stdenv.hostPlatform.isFreeBSD then libcxxrt else libcxxabi 3 + , libcxxabi, libcxxrt 2 4 , enableShared ? !stdenv.hostPlatform.isStatic 3 5 }: 6 + 7 + assert stdenv.isDarwin -> cxxabi.pname == "libcxxabi"; 4 8 5 9 stdenv.mkDerivation { 6 10 pname = "libcxx"; ··· 41 37 ++ lib.optional (stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isWasi) python3 42 38 ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; 43 39 44 - buildInputs = [ libcxxabi ]; 40 + buildInputs = [ cxxabi ]; 45 41 46 42 cmakeFlags = [ 47 - "-DLIBCXX_LIBCXXABI_LIB_PATH=${libcxxabi}/lib" 48 43 "-DLIBCXX_LIBCPPABI_VERSION=2" 49 - "-DLIBCXX_CXX_ABI=libcxxabi" 44 + "-DLIBCXX_CXX_ABI=${cxxabi.pname}" 50 45 ] ++ lib.optional (stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isWasi) "-DLIBCXX_HAS_MUSL_LIBC=1" 46 + ++ lib.optional (cxxabi.pname == "libcxxabi") "-DLIBCXX_LIBCXXABI_LIB_PATH=${cxxabi}/lib" 51 47 ++ lib.optional (stdenv.hostPlatform.useLLVM or false) "-DLIBCXX_USE_COMPILER_RT=ON" 52 48 ++ lib.optionals stdenv.hostPlatform.isWasm [ 53 49 "-DLIBCXX_ENABLE_THREADS=OFF" ··· 64 60 abiName=$(echo "$baseName" | sed -e 's/libc++/libc++abi/') 65 61 66 62 for other in $(${stdenv.cc.targetPrefix}otool -L $file | awk '$1 ~ "/libc\\+\\+abi" { print $1 }'); do 67 - ${stdenv.cc.targetPrefix}install_name_tool -change $other ${libcxxabi}/lib/$abiName $file 63 + ${stdenv.cc.targetPrefix}install_name_tool -change $other ${cxxabi}/lib/$abiName $file 68 64 done 69 65 done 70 66 ''; 71 67 72 68 passthru = { 73 69 isLLVM = true; 70 + inherit cxxabi; 74 71 }; 75 72 76 73 meta = llvm_meta // {
+4
pkgs/development/compilers/llvm/10/libcxxabi/default.nix
··· 67 67 install -m 644 ../include/${if stdenv.isDarwin then "*" else "cxxabi.h"} "$dev/include" 68 68 ''; 69 69 70 + passthru = { 71 + libName = "c++abi"; 72 + }; 73 + 70 74 meta = llvm_meta // { 71 75 homepage = "https://libcxxabi.llvm.org/"; 72 76 description = "Provides C++ standard library support";
+3 -3
pkgs/development/compilers/llvm/11/default.nix
··· 125 125 cc = tools.clang-unwrapped; 126 126 libcxx = targetLlvmLibraries.libcxx; 127 127 extraPackages = [ 128 - targetLlvmLibraries.libcxxabi 128 + libcxx.cxxabi 129 129 targetLlvmLibraries.compiler-rt 130 130 ]; 131 131 extraBuildCommands = mkExtraBuildCommands cc; ··· 162 162 libcxx = targetLlvmLibraries.libcxx; 163 163 bintools = bintools'; 164 164 extraPackages = [ 165 - targetLlvmLibraries.libcxxabi 165 + libcxx.cxxabi 166 166 targetLlvmLibraries.compiler-rt 167 167 ] ++ lib.optionals (!stdenv.targetPlatform.isWasm) [ 168 168 targetLlvmLibraries.libunwind ··· 172 172 echo "-B${targetLlvmLibraries.compiler-rt}/lib" >> $out/nix-support/cc-cflags 173 173 '' + lib.optionalString (!stdenv.targetPlatform.isWasm) '' 174 174 echo "--unwindlib=libunwind" >> $out/nix-support/cc-cflags 175 - '' + lib.optionalString (!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && stdenv.targetPlatform.useLLVM or false) '' 175 + '' + lib.optionalString (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) '' 176 176 echo "-lunwind" >> $out/nix-support/cc-ldflags 177 177 '' + lib.optionalString stdenv.targetPlatform.isWasm '' 178 178 echo "-fno-exceptions" >> $out/nix-support/cc-cflags
+9 -4
pkgs/development/compilers/llvm/11/libcxx/default.nix
··· 1 - { lib, stdenv, llvm_meta, fetch, fetchpatch, cmake, python3, libcxxabi, llvm, fixDarwinDylibNames, version 1 + { lib, stdenv, llvm_meta, fetch, fetchpatch, cmake, python3, llvm, fixDarwinDylibNames, version 2 + , cxxabi ? if stdenv.hostPlatform.isFreeBSD then libcxxrt else libcxxabi 3 + , libcxxabi, libcxxrt 2 4 , enableShared ? !stdenv.hostPlatform.isStatic 3 5 }: 6 + 7 + assert stdenv.isDarwin -> cxxabi.pname == "libcxxabi"; 4 8 5 9 stdenv.mkDerivation { 6 10 pname = "libcxx"; ··· 46 42 nativeBuildInputs = [ cmake python3 ] 47 43 ++ lib.optional stdenv.isDarwin fixDarwinDylibNames; 48 44 49 - buildInputs = [ libcxxabi ]; 45 + buildInputs = [ cxxabi ]; 50 46 51 47 cmakeFlags = [ 52 - "-DLIBCXX_CXX_ABI=libcxxabi" 48 + "-DLIBCXX_CXX_ABI=${cxxabi.pname}" 53 49 ] ++ lib.optional (stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isWasi) "-DLIBCXX_HAS_MUSL_LIBC=1" 54 50 ++ lib.optional (stdenv.hostPlatform.useLLVM or false) "-DLIBCXX_USE_COMPILER_RT=ON" 55 51 ++ lib.optionals stdenv.hostPlatform.isWasm [ ··· 80 76 abiName=$(echo "$baseName" | sed -e 's/libc++/libc++abi/') 81 77 82 78 for other in $(${stdenv.cc.targetPrefix}otool -L $file | awk '$1 ~ "/libc\\+\\+abi" { print $1 }'); do 83 - ${stdenv.cc.targetPrefix}install_name_tool -change $other ${libcxxabi}/lib/$abiName $file 79 + ${stdenv.cc.targetPrefix}install_name_tool -change $other ${cxxabi}/lib/$abiName $file 84 80 done 85 81 done 86 82 ''; 87 83 88 84 passthru = { 89 85 isLLVM = true; 86 + inherit cxxabi; 90 87 }; 91 88 92 89 meta = llvm_meta // {
+4
pkgs/development/compilers/llvm/11/libcxxabi/default.nix
··· 71 71 install -m 644 ../include/${if stdenv.isDarwin then "*" else "cxxabi.h"} "$dev/include" 72 72 ''; 73 73 74 + passthru = { 75 + libName = "c++abi"; 76 + }; 77 + 74 78 meta = llvm_meta // { 75 79 homepage = "https://libcxxabi.llvm.org/"; 76 80 description = "Provides C++ standard library support";
+3 -3
pkgs/development/compilers/llvm/12/default.nix
··· 113 113 cc = tools.clang-unwrapped; 114 114 libcxx = targetLlvmLibraries.libcxx; 115 115 extraPackages = [ 116 - targetLlvmLibraries.libcxxabi 116 + libcxx.cxxabi 117 117 targetLlvmLibraries.compiler-rt 118 118 ]; 119 119 extraBuildCommands = mkExtraBuildCommands cc; ··· 154 154 libcxx = targetLlvmLibraries.libcxx; 155 155 bintools = bintools'; 156 156 extraPackages = [ 157 - targetLlvmLibraries.libcxxabi 157 + libcxx.cxxabi 158 158 targetLlvmLibraries.compiler-rt 159 159 ] ++ lib.optionals (!stdenv.targetPlatform.isWasm) [ 160 160 targetLlvmLibraries.libunwind ··· 164 164 echo "-B${targetLlvmLibraries.compiler-rt}/lib" >> $out/nix-support/cc-cflags 165 165 '' + lib.optionalString (!stdenv.targetPlatform.isWasm) '' 166 166 echo "--unwindlib=libunwind" >> $out/nix-support/cc-cflags 167 - '' + lib.optionalString (!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && stdenv.targetPlatform.useLLVM or false) '' 167 + '' + lib.optionalString (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) '' 168 168 echo "-lunwind" >> $out/nix-support/cc-ldflags 169 169 '' + lib.optionalString stdenv.targetPlatform.isWasm '' 170 170 echo "-fno-exceptions" >> $out/nix-support/cc-cflags
+9 -4
pkgs/development/compilers/llvm/12/libcxx/default.nix
··· 1 - { lib, stdenv, llvm_meta, fetch, cmake, python3, libcxxabi, llvm, fixDarwinDylibNames, version 1 + { lib, stdenv, llvm_meta, fetch, cmake, python3, llvm, fixDarwinDylibNames, version 2 + , cxxabi ? if stdenv.hostPlatform.isFreeBSD then libcxxrt else libcxxabi 3 + , libcxxabi, libcxxrt 2 4 , enableShared ? !stdenv.hostPlatform.isStatic 3 5 }: 6 + 7 + assert stdenv.isDarwin -> cxxabi.pname == "libcxxabi"; 4 8 5 9 stdenv.mkDerivation { 6 10 pname = "libcxx"; ··· 34 30 nativeBuildInputs = [ cmake python3 ] 35 31 ++ lib.optional stdenv.isDarwin fixDarwinDylibNames; 36 32 37 - buildInputs = [ libcxxabi ]; 33 + buildInputs = [ cxxabi ]; 38 34 39 35 cmakeFlags = [ 40 - "-DLIBCXX_CXX_ABI=libcxxabi" 36 + "-DLIBCXX_CXX_ABI=${cxxabi.pname}" 41 37 ] ++ lib.optional (stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isWasi) "-DLIBCXX_HAS_MUSL_LIBC=1" 42 38 ++ lib.optional (stdenv.hostPlatform.useLLVM or false) "-DLIBCXX_USE_COMPILER_RT=ON" 43 39 ++ lib.optionals stdenv.hostPlatform.isWasm [ ··· 55 51 abiName=$(echo "$baseName" | sed -e 's/libc++/libc++abi/') 56 52 57 53 for other in $(${stdenv.cc.targetPrefix}otool -L $file | awk '$1 ~ "/libc\\+\\+abi" { print $1 }'); do 58 - ${stdenv.cc.targetPrefix}install_name_tool -change $other ${libcxxabi}/lib/$abiName $file 54 + ${stdenv.cc.targetPrefix}install_name_tool -change $other ${cxxabi}/lib/$abiName $file 59 55 done 60 56 done 61 57 ''; 62 58 63 59 passthru = { 64 60 isLLVM = true; 61 + inherit cxxabi; 65 62 }; 66 63 67 64 meta = llvm_meta // {
+4
pkgs/development/compilers/llvm/12/libcxxabi/default.nix
··· 69 69 install -m 644 ../include/${if stdenv.isDarwin then "*" else "cxxabi.h"} "$dev/include" 70 70 ''; 71 71 72 + passthru = { 73 + libName = "c++abi"; 74 + }; 75 + 72 76 meta = llvm_meta // { 73 77 homepage = "https://libcxxabi.llvm.org/"; 74 78 description = "Provides C++ standard library support";
+3 -3
pkgs/development/compilers/llvm/13/default.nix
··· 114 114 cc = tools.clang-unwrapped; 115 115 libcxx = targetLlvmLibraries.libcxx; 116 116 extraPackages = [ 117 - targetLlvmLibraries.libcxxabi 117 + libcxx.cxxabi 118 118 targetLlvmLibraries.compiler-rt 119 119 ]; 120 120 extraBuildCommands = mkExtraBuildCommands cc; ··· 154 154 libcxx = targetLlvmLibraries.libcxx; 155 155 bintools = bintools'; 156 156 extraPackages = [ 157 - targetLlvmLibraries.libcxxabi 157 + libcxx.cxxabi 158 158 targetLlvmLibraries.compiler-rt 159 159 ] ++ lib.optionals (!stdenv.targetPlatform.isWasm) [ 160 160 targetLlvmLibraries.libunwind ··· 164 164 echo "-B${targetLlvmLibraries.compiler-rt}/lib" >> $out/nix-support/cc-cflags 165 165 '' + lib.optionalString (!stdenv.targetPlatform.isWasm) '' 166 166 echo "--unwindlib=libunwind" >> $out/nix-support/cc-cflags 167 - '' + lib.optionalString (!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && stdenv.targetPlatform.useLLVM or false) '' 167 + '' + lib.optionalString (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) '' 168 168 echo "-lunwind" >> $out/nix-support/cc-ldflags 169 169 '' + lib.optionalString stdenv.targetPlatform.isWasm '' 170 170 echo "-fno-exceptions" >> $out/nix-support/cc-cflags
+8 -4
pkgs/development/compilers/llvm/13/libcxx/default.nix
··· 1 1 { lib, stdenv, llvm_meta, src, cmake, python3, fixDarwinDylibNames, version 2 - , libcxxabi 2 + , cxxabi ? if stdenv.hostPlatform.isFreeBSD then libcxxrt else libcxxabi 3 + , libcxxabi, libcxxrt 3 4 , enableShared ? !stdenv.hostPlatform.isStatic 4 5 5 6 # If headersOnly is true, the resulting package would only include the headers. ··· 10 9 # https://reviews.llvm.org/rG1687f2bbe2e2aaa092f942d4a97d41fad43eedfb 11 10 , headersOnly ? false 12 11 }: 12 + 13 + assert stdenv.isDarwin -> cxxabi.pname == "libcxxabi"; 13 14 14 15 stdenv.mkDerivation rec { 15 16 pname = if headersOnly then "cxx-headers" else "libcxx"; ··· 35 32 nativeBuildInputs = [ cmake python3 ] 36 33 ++ lib.optional stdenv.isDarwin fixDarwinDylibNames; 37 34 38 - buildInputs = lib.optionals (!headersOnly) [ libcxxabi ]; 35 + buildInputs = lib.optionals (!headersOnly) [ cxxabi ]; 39 36 40 - cmakeFlags = [ "-DLIBCXX_CXX_ABI=libcxxabi" ] 37 + cmakeFlags = [ "-DLIBCXX_CXX_ABI=${cxxabi.pname}" ] 41 38 ++ lib.optional (stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isWasi) "-DLIBCXX_HAS_MUSL_LIBC=1" 42 39 ++ lib.optional (stdenv.hostPlatform.useLLVM or false) "-DLIBCXX_USE_COMPILER_RT=ON" 43 40 ++ lib.optionals stdenv.hostPlatform.isWasm [ ··· 58 55 abiName=$(echo "$baseName" | sed -e 's/libc++/libc++abi/') 59 56 60 57 for other in $(${stdenv.cc.targetPrefix}otool -L $file | awk '$1 ~ "/libc\\+\\+abi" { print $1 }'); do 61 - ${stdenv.cc.targetPrefix}install_name_tool -change $other ${libcxxabi}/lib/$abiName $file 58 + ${stdenv.cc.targetPrefix}install_name_tool -change $other ${cxxabi}/lib/$abiName $file 62 59 done 63 60 done 64 61 ''; ··· 74 71 75 72 passthru = { 76 73 isLLVM = true; 74 + inherit cxxabi; 77 75 }; 78 76 79 77 meta = llvm_meta // {
+4
pkgs/development/compilers/llvm/13/libcxxabi/default.nix
··· 66 66 install -m 644 ../include/${if stdenv.isDarwin then "*" else "cxxabi.h"} "$dev/include" 67 67 ''; 68 68 69 + passthru = { 70 + libName = "c++abi"; 71 + }; 72 + 69 73 meta = llvm_meta // { 70 74 homepage = "https://libcxxabi.llvm.org/"; 71 75 description = "Provides C++ standard library support";
+3 -3
pkgs/development/compilers/llvm/14/default.nix
··· 114 114 cc = tools.clang-unwrapped; 115 115 libcxx = targetLlvmLibraries.libcxx; 116 116 extraPackages = [ 117 - targetLlvmLibraries.libcxxabi 117 + libcxx.cxxabi 118 118 targetLlvmLibraries.compiler-rt 119 119 ]; 120 120 extraBuildCommands = mkExtraBuildCommands cc; ··· 154 154 libcxx = targetLlvmLibraries.libcxx; 155 155 bintools = bintools'; 156 156 extraPackages = [ 157 - targetLlvmLibraries.libcxxabi 157 + libcxx.cxxabi 158 158 targetLlvmLibraries.compiler-rt 159 159 ] ++ lib.optionals (!stdenv.targetPlatform.isWasm) [ 160 160 targetLlvmLibraries.libunwind ··· 167 167 ] 168 168 ++ lib.optional (!stdenv.targetPlatform.isWasm) "--unwindlib=libunwind" 169 169 ++ lib.optional 170 - (!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && stdenv.targetPlatform.useLLVM or false) 170 + (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) 171 171 "-lunwind" 172 172 ++ lib.optional stdenv.targetPlatform.isWasm "-fno-exceptions"; 173 173 };
+8 -4
pkgs/development/compilers/llvm/14/libcxx/default.nix
··· 1 1 { lib, stdenv, llvm_meta 2 2 , monorepoSrc, runCommand 3 3 , cmake, python3, fixDarwinDylibNames, version 4 - , libcxxabi 4 + , cxxabi ? if stdenv.hostPlatform.isFreeBSD then libcxxrt else libcxxabi 5 + , libcxxabi, libcxxrt 5 6 , enableShared ? !stdenv.hostPlatform.isStatic 6 7 7 8 # If headersOnly is true, the resulting package would only include the headers. ··· 16 15 let 17 16 basename = "libcxx"; 18 17 in 18 + 19 + assert stdenv.isDarwin -> cxxabi.pname == "libcxxabi"; 19 20 20 21 stdenv.mkDerivation rec { 21 22 pname = basename + lib.optionalString headersOnly "-headers"; ··· 51 48 nativeBuildInputs = [ cmake python3 ] 52 49 ++ lib.optional stdenv.isDarwin fixDarwinDylibNames; 53 50 54 - buildInputs = lib.optionals (!headersOnly) [ libcxxabi ]; 51 + buildInputs = lib.optionals (!headersOnly) [ cxxabi ]; 55 52 56 - cmakeFlags = [ "-DLIBCXX_CXX_ABI=libcxxabi" ] 53 + cmakeFlags = [ "-DLIBCXX_CXX_ABI=${cxxabi.pname}" ] 57 54 ++ lib.optional (stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isWasi) "-DLIBCXX_HAS_MUSL_LIBC=1" 58 55 ++ lib.optional (stdenv.hostPlatform.useLLVM or false) "-DLIBCXX_USE_COMPILER_RT=ON" 59 56 ++ lib.optionals stdenv.hostPlatform.isWasm [ ··· 74 71 abiName=$(echo "$baseName" | sed -e 's/libc++/libc++abi/') 75 72 76 73 for other in $(${stdenv.cc.targetPrefix}otool -L $file | awk '$1 ~ "/libc\\+\\+abi" { print $1 }'); do 77 - ${stdenv.cc.targetPrefix}install_name_tool -change $other ${libcxxabi}/lib/$abiName $file 74 + ${stdenv.cc.targetPrefix}install_name_tool -change $other ${cxxabi}/lib/$abiName $file 78 75 done 79 76 done 80 77 ''; 81 78 82 79 passthru = { 83 80 isLLVM = true; 81 + inherit cxxabi; 84 82 }; 85 83 86 84 meta = llvm_meta // {
+4
pkgs/development/compilers/llvm/14/libcxxabi/default.nix
··· 85 85 ln -s libc++abi.so.1.0 $out/lib/libc++abi.so.1 86 86 ''; 87 87 88 + passthru = { 89 + libName = "c++abi"; 90 + }; 91 + 88 92 meta = llvm_meta // { 89 93 homepage = "https://libcxxabi.llvm.org/"; 90 94 description = "Provides C++ standard library support";
+1 -1
pkgs/development/compilers/llvm/5/default.nix
··· 86 86 cc = tools.clang-unwrapped; 87 87 libcxx = targetLlvmLibraries.libcxx; 88 88 extraPackages = [ 89 - targetLlvmLibraries.libcxxabi 89 + libcxx.cxxabi 90 90 targetLlvmLibraries.compiler-rt 91 91 ]; 92 92 extraBuildCommands = mkExtraBuildCommands cc;
+12 -6
pkgs/development/compilers/llvm/5/libcxx/default.nix
··· 1 - { lib, stdenv, llvm_meta, fetch, cmake, python3, libcxxabi, fixDarwinDylibNames, version }: 1 + { lib, stdenv, llvm_meta, fetch, cmake, python3, fixDarwinDylibNames, version 2 + , cxxabi ? if stdenv.hostPlatform.isFreeBSD then libcxxrt else libcxxabi 3 + , libcxxabi, libcxxrt 4 + }: 5 + 6 + assert stdenv.isDarwin -> cxxabi.pname == "libcxxabi"; 2 7 3 8 stdenv.mkDerivation { 4 9 pname = "libcxx"; ··· 38 33 ++ lib.optional stdenv.hostPlatform.isMusl python3 39 34 ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; 40 35 41 - buildInputs = [ libcxxabi ]; 36 + buildInputs = [ cxxabi ]; 42 37 43 38 cmakeFlags = [ 44 - "-DLIBCXX_LIBCXXABI_LIB_PATH=${libcxxabi}/lib" 45 39 "-DLIBCXX_LIBCPPABI_VERSION=2" 46 - "-DLIBCXX_CXX_ABI=libcxxabi" 47 - ] ++ lib.optional stdenv.hostPlatform.isMusl "-DLIBCXX_HAS_MUSL_LIBC=1"; 40 + "-DLIBCXX_CXX_ABI=${cxxabi.pname}" 41 + ] ++ lib.optional stdenv.hostPlatform.isMusl "-DLIBCXX_HAS_MUSL_LIBC=1" 42 + ++ lib.optional (cxxabi.pname == "libcxxabi") "-DLIBCXX_LIBCXXABI_LIB_PATH=${cxxabi}/lib"; 48 43 49 44 preInstall = lib.optionalString (stdenv.isDarwin) '' 50 45 for file in lib/*.dylib; do ··· 55 50 abiName=$(echo "$baseName" | sed -e 's/libc++/libc++abi/') 56 51 57 52 for other in $(${stdenv.cc.targetPrefix}otool -L $file | awk '$1 ~ "/libc\\+\\+abi" { print $1 }'); do 58 - ${stdenv.cc.targetPrefix}install_name_tool -change $other ${libcxxabi}/lib/$abiName $file 53 + ${stdenv.cc.targetPrefix}install_name_tool -change $other ${cxxabi}/lib/$abiName $file 59 54 done 60 55 done 61 56 ''; 62 57 63 58 passthru = { 64 59 isLLVM = true; 60 + inherit cxxabi; 65 61 }; 66 62 67 63 meta = llvm_meta // {
+4
pkgs/development/compilers/llvm/5/libcxxabi/default.nix
··· 52 52 install -m 644 ../include/${if stdenv.isDarwin then "*" else "cxxabi.h"} "$dev/include" 53 53 ''; 54 54 55 + passthru = { 56 + libName = "c++abi"; 57 + }; 58 + 55 59 meta = llvm_meta // { 56 60 homepage = "https://libcxxabi.llvm.org/"; 57 61 description = "Provides C++ standard library support";
+1 -1
pkgs/development/compilers/llvm/6/default.nix
··· 87 87 cc = tools.clang-unwrapped; 88 88 libcxx = targetLlvmLibraries.libcxx; 89 89 extraPackages = [ 90 - targetLlvmLibraries.libcxxabi 90 + libcxx.cxxabi 91 91 targetLlvmLibraries.compiler-rt 92 92 ]; 93 93 extraBuildCommands = mkExtraBuildCommands cc;
+12 -6
pkgs/development/compilers/llvm/6/libcxx/default.nix
··· 1 - { lib, stdenv, llvm_meta, fetch, cmake, python3, libcxxabi, fixDarwinDylibNames, version }: 1 + { lib, stdenv, llvm_meta, fetch, cmake, python3, fixDarwinDylibNames, version 2 + , cxxabi ? if stdenv.hostPlatform.isFreeBSD then libcxxrt else libcxxabi 3 + , libcxxabi, libcxxrt 4 + }: 5 + 6 + assert stdenv.isDarwin -> cxxabi.pname == "libcxxabi"; 2 7 3 8 stdenv.mkDerivation { 4 9 pname = "libcxx"; ··· 44 39 ++ lib.optional stdenv.hostPlatform.isMusl python3 45 40 ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; 46 41 47 - buildInputs = [ libcxxabi ]; 42 + buildInputs = [ cxxabi ]; 48 43 49 44 cmakeFlags = [ 50 - "-DLIBCXX_LIBCXXABI_LIB_PATH=${libcxxabi}/lib" 51 45 "-DLIBCXX_LIBCPPABI_VERSION=2" 52 - "-DLIBCXX_CXX_ABI=libcxxabi" 53 - ] ++ lib.optional stdenv.hostPlatform.isMusl "-DLIBCXX_HAS_MUSL_LIBC=1"; 46 + "-DLIBCXX_CXX_ABI=${cxxabi.pname}" 47 + ] ++ lib.optional stdenv.hostPlatform.isMusl "-DLIBCXX_HAS_MUSL_LIBC=1" 48 + ++ lib.optional (cxxabi.pname == "libcxxabi") "-DLIBCXX_LIBCXXABI_LIB_PATH=${cxxabi}/lib"; 54 49 55 50 preInstall = lib.optionalString (stdenv.isDarwin) '' 56 51 for file in lib/*.dylib; do ··· 61 56 abiName=$(echo "$baseName" | sed -e 's/libc++/libc++abi/') 62 57 63 58 for other in $(${stdenv.cc.targetPrefix}otool -L $file | awk '$1 ~ "/libc\\+\\+abi" { print $1 }'); do 64 - ${stdenv.cc.targetPrefix}install_name_tool -change $other ${libcxxabi}/lib/$abiName $file 59 + ${stdenv.cc.targetPrefix}install_name_tool -change $other ${cxxabi}/lib/$abiName $file 65 60 done 66 61 done 67 62 ''; 68 63 69 64 passthru = { 70 65 isLLVM = true; 66 + inherit cxxabi; 71 67 }; 72 68 73 69 meta = llvm_meta // {
+4
pkgs/development/compilers/llvm/6/libcxxabi/default.nix
··· 52 52 install -m 644 ../include/${if stdenv.isDarwin then "*" else "cxxabi.h"} "$dev/include" 53 53 ''; 54 54 55 + passthru = { 56 + libName = "c++abi"; 57 + }; 58 + 55 59 meta = llvm_meta // { 56 60 homepage = "https://libcxxabi.llvm.org/"; 57 61 description = "Provides C++ standard library support";
+3 -3
pkgs/development/compilers/llvm/7/default.nix
··· 117 117 cc = tools.clang-unwrapped; 118 118 libcxx = targetLlvmLibraries.libcxx; 119 119 extraPackages = [ 120 - targetLlvmLibraries.libcxxabi 120 + libcxx.cxxabi 121 121 targetLlvmLibraries.compiler-rt 122 122 ]; 123 123 extraBuildCommands = mkExtraBuildCommands cc; ··· 154 154 libcxx = targetLlvmLibraries.libcxx; 155 155 bintools = bintools'; 156 156 extraPackages = [ 157 - targetLlvmLibraries.libcxxabi 157 + libcxx.cxxabi 158 158 targetLlvmLibraries.compiler-rt 159 159 ] ++ lib.optionals (!stdenv.targetPlatform.isWasm) [ 160 160 targetLlvmLibraries.libunwind ··· 164 164 echo "-B${targetLlvmLibraries.compiler-rt}/lib" >> $out/nix-support/cc-cflags 165 165 '' + lib.optionalString (!stdenv.targetPlatform.isWasm) '' 166 166 echo "--unwindlib=libunwind" >> $out/nix-support/cc-cflags 167 - '' + lib.optionalString (!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && stdenv.targetPlatform.useLLVM or false) '' 167 + '' + lib.optionalString (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) '' 168 168 echo "-lunwind" >> $out/nix-support/cc-ldflags 169 169 '' + lib.optionalString stdenv.targetPlatform.isWasm '' 170 170 echo "-fno-exceptions" >> $out/nix-support/cc-cflags
+10 -5
pkgs/development/compilers/llvm/7/libcxx/default.nix
··· 1 - { lib, stdenv, llvm_meta, fetch, cmake, python3, libcxxabi, fixDarwinDylibNames, version 1 + { lib, stdenv, llvm_meta, fetch, cmake, python3, fixDarwinDylibNames, version 2 + , cxxabi ? if stdenv.hostPlatform.isFreeBSD then libcxxrt else libcxxabi 3 + , libcxxabi, libcxxrt 2 4 , enableShared ? !stdenv.hostPlatform.isStatic 3 5 }: 6 + 7 + assert stdenv.isDarwin -> cxxabi.pname == "libcxxabi"; 4 8 5 9 stdenv.mkDerivation { 6 10 pname = "libcxx"; ··· 46 42 ++ lib.optional stdenv.hostPlatform.isMusl python3 47 43 ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; 48 44 49 - buildInputs = [ libcxxabi ]; 45 + buildInputs = [ cxxabi ]; 50 46 51 47 cmakeFlags = [ 52 - "-DLIBCXX_LIBCXXABI_LIB_PATH=${libcxxabi}/lib" 53 48 "-DLIBCXX_LIBCPPABI_VERSION=2" 54 - "-DLIBCXX_CXX_ABI=libcxxabi" 49 + "-DLIBCXX_CXX_ABI=${cxxabi.pname}" 55 50 ] ++ lib.optional stdenv.hostPlatform.isMusl "-DLIBCXX_HAS_MUSL_LIBC=1" 51 + ++ lib.optional (cxxabi.pname == "libcxxabi") "-DLIBCXX_LIBCXXABI_LIB_PATH=${cxxabi}/lib" 56 52 ++ lib.optional (stdenv.hostPlatform.useLLVM or false) "-DLIBCXX_USE_COMPILER_RT=ON" 57 53 ++ lib.optional (!enableShared) "-DLIBCXX_ENABLE_SHARED=OFF" ; 58 54 ··· 65 61 abiName=$(echo "$baseName" | sed -e 's/libc++/libc++abi/') 66 62 67 63 for other in $(${stdenv.cc.targetPrefix}otool -L $file | awk '$1 ~ "/libc\\+\\+abi" { print $1 }'); do 68 - ${stdenv.cc.targetPrefix}install_name_tool -change $other ${libcxxabi}/lib/$abiName $file 64 + ${stdenv.cc.targetPrefix}install_name_tool -change $other ${cxxabi}/lib/$abiName $file 69 65 done 70 66 done 71 67 ''; 72 68 73 69 passthru = { 74 70 isLLVM = true; 71 + inherit cxxabi; 75 72 }; 76 73 77 74 meta = llvm_meta // {
+4
pkgs/development/compilers/llvm/7/libcxxabi/default.nix
··· 71 71 install -m 644 ../include/${if stdenv.isDarwin then "*" else "cxxabi.h"} "$dev/include" 72 72 ''; 73 73 74 + passthru = { 75 + libName = "c++abi"; 76 + }; 77 + 74 78 meta = llvm_meta // { 75 79 homepage = "https://libcxxabi.llvm.org/"; 76 80 description = "Provides C++ standard library support";
+3 -3
pkgs/development/compilers/llvm/8/default.nix
··· 118 118 cc = tools.clang-unwrapped; 119 119 libcxx = targetLlvmLibraries.libcxx; 120 120 extraPackages = [ 121 - targetLlvmLibraries.libcxxabi 121 + libcxx.cxxabi 122 122 targetLlvmLibraries.compiler-rt 123 123 ]; 124 124 extraBuildCommands = mkExtraBuildCommands cc; ··· 155 155 libcxx = targetLlvmLibraries.libcxx; 156 156 bintools = bintools'; 157 157 extraPackages = [ 158 - targetLlvmLibraries.libcxxabi 158 + libcxx.cxxabi 159 159 targetLlvmLibraries.compiler-rt 160 160 ] ++ lib.optionals (!stdenv.targetPlatform.isWasm) [ 161 161 targetLlvmLibraries.libunwind ··· 165 165 echo "-B${targetLlvmLibraries.compiler-rt}/lib" >> $out/nix-support/cc-cflags 166 166 '' + lib.optionalString (!stdenv.targetPlatform.isWasm) '' 167 167 echo "--unwindlib=libunwind" >> $out/nix-support/cc-cflags 168 - '' + lib.optionalString (!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && stdenv.targetPlatform.useLLVM or false) '' 168 + '' + lib.optionalString (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) '' 169 169 echo "-lunwind" >> $out/nix-support/cc-ldflags 170 170 '' + lib.optionalString stdenv.targetPlatform.isWasm '' 171 171 echo "-fno-exceptions" >> $out/nix-support/cc-cflags
+10 -5
pkgs/development/compilers/llvm/8/libcxx/default.nix
··· 1 - { lib, stdenv, llvm_meta, fetch, cmake, python3, libcxxabi, fixDarwinDylibNames, version 1 + { lib, stdenv, llvm_meta, fetch, cmake, python3, fixDarwinDylibNames, version 2 + , cxxabi ? if stdenv.hostPlatform.isFreeBSD then libcxxrt else libcxxabi 3 + , libcxxabi, libcxxrt 2 4 , enableShared ? !stdenv.hostPlatform.isStatic 3 5 }: 6 + 7 + assert stdenv.isDarwin -> cxxabi.pname == "libcxxabi"; 4 8 5 9 stdenv.mkDerivation { 6 10 pname = "libcxx"; ··· 45 41 ++ lib.optional (stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isWasi) python3 46 42 ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; 47 43 48 - buildInputs = [ libcxxabi ]; 44 + buildInputs = [ cxxabi ]; 49 45 50 46 cmakeFlags = [ 51 - "-DLIBCXX_LIBCXXABI_LIB_PATH=${libcxxabi}/lib" 52 47 "-DLIBCXX_LIBCPPABI_VERSION=2" 53 - "-DLIBCXX_CXX_ABI=libcxxabi" 48 + "-DLIBCXX_CXX_ABI=${cxxabi.pname}" 54 49 ] ++ lib.optional (stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isWasi) "-DLIBCXX_HAS_MUSL_LIBC=1" 50 + ++ lib.optional (cxxabi.pname == "libcxxabi") "-DLIBCXX_LIBCXXABI_LIB_PATH=${cxxabi}/lib" 55 51 ++ lib.optional (stdenv.hostPlatform.useLLVM or false) "-DLIBCXX_USE_COMPILER_RT=ON" 56 52 ++ lib.optionals stdenv.hostPlatform.isWasm [ 57 53 "-DLIBCXX_ENABLE_THREADS=OFF" ··· 68 64 abiName=$(echo "$baseName" | sed -e 's/libc++/libc++abi/') 69 65 70 66 for other in $(${stdenv.cc.targetPrefix}otool -L $file | awk '$1 ~ "/libc\\+\\+abi" { print $1 }'); do 71 - ${stdenv.cc.targetPrefix}install_name_tool -change $other ${libcxxabi}/lib/$abiName $file 67 + ${stdenv.cc.targetPrefix}install_name_tool -change $other ${cxxabi}/lib/$abiName $file 72 68 done 73 69 done 74 70 ''; 75 71 76 72 passthru = { 77 73 isLLVM = true; 74 + inherit cxxabi; 78 75 }; 79 76 80 77 meta = llvm_meta // {
+4
pkgs/development/compilers/llvm/8/libcxxabi/default.nix
··· 67 67 install -m 644 ../include/${if stdenv.isDarwin then "*" else "cxxabi.h"} "$dev/include" 68 68 ''; 69 69 70 + passthru = { 71 + libName = "c++abi"; 72 + }; 73 + 70 74 meta = llvm_meta // { 71 75 homepage = "https://libcxxabi.llvm.org/"; 72 76 description = "Provides C++ standard library support";
+3 -3
pkgs/development/compilers/llvm/9/default.nix
··· 118 118 cc = tools.clang-unwrapped; 119 119 libcxx = targetLlvmLibraries.libcxx; 120 120 extraPackages = [ 121 - targetLlvmLibraries.libcxxabi 121 + libcxx.cxxabi 122 122 targetLlvmLibraries.compiler-rt 123 123 ]; 124 124 extraBuildCommands = mkExtraBuildCommands cc; ··· 155 155 libcxx = targetLlvmLibraries.libcxx; 156 156 bintools = bintools'; 157 157 extraPackages = [ 158 - targetLlvmLibraries.libcxxabi 158 + libcxx.cxxabi 159 159 targetLlvmLibraries.compiler-rt 160 160 ] ++ lib.optionals (!stdenv.targetPlatform.isWasm) [ 161 161 targetLlvmLibraries.libunwind ··· 165 165 echo "-B${targetLlvmLibraries.compiler-rt}/lib" >> $out/nix-support/cc-cflags 166 166 '' + lib.optionalString (!stdenv.targetPlatform.isWasm) '' 167 167 echo "--unwindlib=libunwind" >> $out/nix-support/cc-cflags 168 - '' + lib.optionalString (!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && stdenv.targetPlatform.useLLVM or false) '' 168 + '' + lib.optionalString (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) '' 169 169 echo "-lunwind" >> $out/nix-support/cc-ldflags 170 170 '' + lib.optionalString stdenv.targetPlatform.isWasm '' 171 171 echo "-fno-exceptions" >> $out/nix-support/cc-cflags
+10 -5
pkgs/development/compilers/llvm/9/libcxx/default.nix
··· 1 - { lib, stdenv, llvm_meta, fetch, cmake, python3, libcxxabi, fixDarwinDylibNames, version 1 + { lib, stdenv, llvm_meta, fetch, cmake, python3, fixDarwinDylibNames, version 2 + , cxxabi ? if stdenv.hostPlatform.isFreeBSD then libcxxrt else libcxxabi 3 + , libcxxabi, libcxxrt 2 4 , enableShared ? !stdenv.hostPlatform.isStatic 3 5 }: 6 + 7 + assert stdenv.isDarwin -> cxxabi.pname == "libcxxabi"; 4 8 5 9 stdenv.mkDerivation { 6 10 pname = "libcxx"; ··· 41 37 ++ lib.optional (stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isWasi) python3 42 38 ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; 43 39 44 - buildInputs = [ libcxxabi ]; 40 + buildInputs = [ cxxabi ]; 45 41 46 42 cmakeFlags = [ 47 - "-DLIBCXX_LIBCXXABI_LIB_PATH=${libcxxabi}/lib" 48 43 "-DLIBCXX_LIBCPPABI_VERSION=2" 49 - "-DLIBCXX_CXX_ABI=libcxxabi" 44 + "-DLIBCXX_CXX_ABI=${cxxabi.pname}" 50 45 ] ++ lib.optional (stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isWasi) "-DLIBCXX_HAS_MUSL_LIBC=1" 46 + ++ lib.optional (cxxabi.pname == "libcxxabi") "-DLIBCXX_LIBCXXABI_LIB_PATH=${cxxabi}/lib" 51 47 ++ lib.optional (stdenv.hostPlatform.useLLVM or false) "-DLIBCXX_USE_COMPILER_RT=ON" 52 48 ++ lib.optionals stdenv.hostPlatform.isWasm [ 53 49 "-DLIBCXX_ENABLE_THREADS=OFF" ··· 64 60 abiName=$(echo "$baseName" | sed -e 's/libc++/libc++abi/') 65 61 66 62 for other in $(${stdenv.cc.targetPrefix}otool -L $file | awk '$1 ~ "/libc\\+\\+abi" { print $1 }'); do 67 - ${stdenv.cc.targetPrefix}install_name_tool -change $other ${libcxxabi}/lib/$abiName $file 63 + ${stdenv.cc.targetPrefix}install_name_tool -change $other ${cxxabi}/lib/$abiName $file 68 64 done 69 65 done 70 66 ''; 71 67 72 68 passthru = { 73 69 isLLVM = true; 70 + inherit cxxabi; 74 71 }; 75 72 76 73 meta = llvm_meta // {
+4
pkgs/development/compilers/llvm/9/libcxxabi/default.nix
··· 67 67 install -m 644 ../include/${if stdenv.isDarwin then "*" else "cxxabi.h"} "$dev/include" 68 68 ''; 69 69 70 + passthru = { 71 + libName = "c++abi"; 72 + }; 73 + 70 74 meta = llvm_meta // { 71 75 homepage = "https://libcxxabi.llvm.org/"; 72 76 description = "Provides C++ standard library support";
+3 -3
pkgs/development/compilers/llvm/git/default.nix
··· 113 113 cc = tools.clang-unwrapped; 114 114 libcxx = targetLlvmLibraries.libcxx; 115 115 extraPackages = [ 116 - targetLlvmLibraries.libcxxabi 116 + libcxx.cxxabi 117 117 targetLlvmLibraries.compiler-rt 118 118 ]; 119 119 extraBuildCommands = mkExtraBuildCommands cc; ··· 153 153 libcxx = targetLlvmLibraries.libcxx; 154 154 bintools = bintools'; 155 155 extraPackages = [ 156 - targetLlvmLibraries.libcxxabi 156 + libcxx.cxxabi 157 157 targetLlvmLibraries.compiler-rt 158 158 ] ++ lib.optionals (!stdenv.targetPlatform.isWasm) [ 159 159 targetLlvmLibraries.libunwind ··· 166 166 ] 167 167 ++ lib.optional (!stdenv.targetPlatform.isWasm) "--unwindlib=libunwind" 168 168 ++ lib.optional 169 - (!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && stdenv.targetPlatform.useLLVM or false) 169 + (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) 170 170 "-lunwind" 171 171 ++ lib.optional stdenv.targetPlatform.isWasm "-fno-exceptions"; 172 172 };
+9 -5
pkgs/development/compilers/llvm/git/libcxx/default.nix
··· 1 1 { lib, stdenv, llvm_meta 2 2 , monorepoSrc, runCommand 3 3 , cmake, python3, fixDarwinDylibNames, version 4 - , libcxxabi 4 + , cxxabi ? if stdenv.hostPlatform.isFreeBSD then libcxxrt else libcxxabi 5 + , libcxxabi, libcxxrt 5 6 , enableShared ? !stdenv.hostPlatform.isStatic 6 7 7 8 # If headersOnly is true, the resulting package would only include the headers. ··· 16 15 let 17 16 basename = "libcxx"; 18 17 in 18 + 19 + assert stdenv.isDarwin -> cxxabi.pname == "libcxxabi"; 19 20 20 21 stdenv.mkDerivation rec { 21 22 pname = basename + lib.optionalString headersOnly "-headers"; ··· 62 59 nativeBuildInputs = [ cmake python3 ] 63 60 ++ lib.optional stdenv.isDarwin fixDarwinDylibNames; 64 61 65 - buildInputs = lib.optionals (!headersOnly) [ libcxxabi ]; 62 + buildInputs = lib.optionals (!headersOnly) [ cxxabi ]; 66 63 67 64 cmakeFlags = [ 68 65 "-DLLVM_ENABLE_RUNTIMES=libcxx" 69 - "-DLIBCXX_CXX_ABI=${lib.optionalString (!headersOnly) "system-"}libcxxabi" 70 - ] ++ lib.optional (!headersOnly) "-DLIBCXX_CXX_ABI_INCLUDE_PATHS=${libcxxabi.dev}/include/c++/v1" 66 + "-DLIBCXX_CXX_ABI=${lib.optionalString (!headersOnly) "system-"}${cxxabi.pname}" 67 + ] ++ lib.optional (!headersOnly && cxxabi.pname == "libcxxabi") "-DLIBCXX_CXX_ABI_INCLUDE_PATHS=${cxxabi.dev}/include/c++/v1" 71 68 ++ lib.optional (stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isWasi) "-DLIBCXX_HAS_MUSL_LIBC=1" 72 69 ++ lib.optional (stdenv.hostPlatform.useLLVM or false) "-DLIBCXX_USE_COMPILER_RT=ON" 73 70 ++ lib.optionals stdenv.hostPlatform.isWasm [ ··· 88 85 abiName=$(echo "$baseName" | sed -e 's/libc++/libc++abi/') 89 86 90 87 for other in $(${stdenv.cc.targetPrefix}otool -L $file | awk '$1 ~ "/libc\\+\\+abi" { print $1 }'); do 91 - ${stdenv.cc.targetPrefix}install_name_tool -change $other ${libcxxabi}/lib/$abiName $file 88 + ${stdenv.cc.targetPrefix}install_name_tool -change $other ${cxxabi}/lib/$abiName $file 92 89 done 93 90 done 94 91 ''; 95 92 96 93 passthru = { 97 94 isLLVM = true; 95 + inherit cxxabi; 98 96 }; 99 97 100 98 meta = llvm_meta // {
+4
pkgs/development/compilers/llvm/git/libcxxabi/default.nix
··· 95 95 install -m 644 ../../${pname}/include/${if stdenv.isDarwin then "*" else "cxxabi.h"} "$dev/include" 96 96 ''; 97 97 98 + passthru = { 99 + libName = "c++abi"; 100 + }; 101 + 98 102 meta = llvm_meta // { 99 103 homepage = "https://libcxxabi.llvm.org/"; 100 104 description = "Provides C++ standard library support";
+4 -4
pkgs/development/compilers/zulu/8.nix
··· 21 21 }: 22 22 23 23 let 24 - version = "8.48.0.53"; 25 - openjdk = "8.0.265"; 24 + version = "8.68.0.19"; 25 + openjdk = "8.0.362"; 26 26 27 - sha256_linux = "ed32513524b32a83b3b388831c69d1884df5675bd5069c6d1485fd1a060be209"; 28 - sha256_darwin = "36f189bfbd0255195848835819377474ba9c1c868e3c204633c451c96e21f30a"; 27 + sha256_linux = "sha256-jNty0iJoXG+sp7v2fGCrwZWCSZfQ4tkYe8ERixQMKL0="; 28 + sha256_darwin = "sha256-3/P3puM6a7tCHP5eZM6IzbdPrqnhY1dTa7QWss9M08M="; 29 29 30 30 platform = if stdenv.isDarwin then "macosx" else "linux"; 31 31 hash = if stdenv.isDarwin then sha256_darwin else sha256_linux;
+5 -5
pkgs/development/compilers/zulu/default.nix
··· 22 22 }: 23 23 24 24 let 25 - version = "11.52.13"; 26 - openjdk = "11.0.13"; 25 + version = "11.62.17"; 26 + openjdk = "11.0.18"; 27 27 28 - sha256_x64_linux = "77a126669b26b3a89e0117b0f28cddfcd24fcd7699b2c1d35f921487148b9a9f"; 29 - sha256_x64_darwin = "a96f9f859350f977319ebb5c2a999c182ab6b99b24c60e19d97c54367868a63e"; 30 - sha256_aarch64_darwin = "dmzfergSUVz39T30PT/6ZtT8JNqv5lzdX7zUsXsFGJg="; 28 + sha256_x64_linux = "sha256-b65oEbDzrrsUw+WaX94USBz/QS74yiMiGZPxqzMmmqs="; 29 + sha256_x64_darwin = "sha256-nRRWTWiog8bRblmmPIPE5YibA34St3ZrJpZN91qEDUg="; 30 + sha256_aarch64_darwin = "sha256-TBTrBxOfGo6MV+Md49P3sDfqVG1e+NraqfVbw9WTppk="; 31 31 32 32 platform = if stdenv.isDarwin then "macosx" else "linux"; 33 33 hash = if stdenv.isAarch64 && stdenv.isDarwin then sha256_aarch64_darwin else if stdenv.isDarwin then sha256_x64_darwin else sha256_x64_linux;
+2 -2
pkgs/development/coq-modules/Cheerios/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, StructTact, version ? null }: 2 2 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 pname = "cheerios"; 5 5 owner = "uwplse"; 6 6 inherit version; 7 - defaultVersion = if versions.range "8.6" "8.16" coq.version then "20200201" else null; 7 + defaultVersion = if lib.versions.range "8.6" "8.16" coq.version then "20200201" else null; 8 8 release."20200201".rev = "9c7f66e57b91f706d70afa8ed99d64ed98ab367d"; 9 9 release."20200201".sha256 = "1h55s6lk47bk0lv5ralh81z55h799jbl9mhizmqwqzy57y8wqgs1"; 10 10
+3 -3
pkgs/development/coq-modules/CoLoR/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, bignums, version ? null }: 2 2 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 pname = "color"; 5 5 owner = "fblanqui"; 6 6 inherit version; 7 - defaultVersion = with versions; switch coq.version [ 7 + defaultVersion = with lib.versions; lib.switch coq.version [ 8 8 {case = range "8.12" "8.16"; out = "1.8.2"; } 9 9 {case = range "8.10" "8.11"; out = "1.7.0"; } 10 10 {case = range "8.8" "8.9"; out = "1.6.0"; } ··· 26 26 meta = { 27 27 homepage = "https://github.com/fblanqui/color"; 28 28 description = "CoLoR is a library of formal mathematical definitions and proofs of theorems on rewriting theory and termination whose correctness has been mechanically checked by the Coq proof assistant."; 29 - maintainers = with maintainers; [ jpas jwiegley ]; 29 + maintainers = with lib.maintainers; [ jpas jwiegley ]; 30 30 }; 31 31 }
+3 -3
pkgs/development/coq-modules/HoTT/default.nix
··· 1 1 { lib, mkCoqDerivation, autoconf, automake, coq, version ? null }: 2 2 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 pname = "HoTT"; 5 5 repo = "Coq-HoTT"; 6 6 owner = "HoTT"; 7 7 inherit version; 8 - defaultVersion = with versions; switch coq.coq-version [ 8 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 9 9 { case = range "8.14" "8.16"; out = coq.coq-version; } 10 10 ] null; 11 11 releaseRev = v: "V${v}"; ··· 20 20 meta = { 21 21 homepage = "https://homotopytypetheory.org/"; 22 22 description = "Homotopy type theory"; 23 - maintainers = with maintainers; [ siddharthist ]; 23 + maintainers = with lib.maintainers; [ siddharthist ]; 24 24 }; 25 25 }
+3 -3
pkgs/development/coq-modules/ITree/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null , paco, coq-ext-lib }: 2 2 3 - with lib; mkCoqDerivation rec { 3 + mkCoqDerivation rec { 4 4 pname = "InteractionTrees"; 5 5 owner = "DeepSpec"; 6 6 inherit version; 7 - defaultVersion = with versions; switch coq.version [ 7 + defaultVersion = with lib.versions; lib.switch coq.version [ 8 8 { case = range "8.10" "8.16"; out = "4.0.0"; } 9 9 ] null; 10 10 release."4.0.0".sha256 = "0h5rhndl8syc24hxq1gch86kj7mpmgr89bxp2hmf28fd7028ijsm"; ··· 12 12 propagatedBuildInputs = [ coq-ext-lib paco ]; 13 13 meta = { 14 14 description = "A Library for Representing Recursive and Impure Programs in Coq"; 15 - maintainers = with maintainers; [ larsr ]; 15 + maintainers = with lib.maintainers; [ larsr ]; 16 16 }; 17 17 }
+2 -3
pkgs/development/coq-modules/LibHyps/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null }: 2 2 3 - with lib; 4 3 mkCoqDerivation { 5 4 pname = "LibHyps"; 6 5 owner = "Matafou"; 7 6 inherit version; 8 - defaultVersion = if (versions.range "8.11" "8.16") coq.version then "2.0.4.1" else null; 7 + defaultVersion = if (lib.versions.range "8.11" "8.16") coq.version then "2.0.4.1" else null; 9 8 release = { 10 9 "2.0.4.1".sha256 = "09p89701zhrfdmqlpxw3mziw8yylj1w1skb4b0xpbdwd1vsn4k3h"; 11 10 }; ··· 15 16 16 17 meta = { 17 18 description = "Hypotheses manipulation library"; 18 - license = licenses.mit; 19 + license = lib.licenses.mit; 19 20 }; 20 21 }
+2 -2
pkgs/development/coq-modules/StructTact/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null }: 2 2 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 pname = "StructTact"; 5 5 owner = "uwplse"; 6 6 inherit version; 7 - defaultVersion = with versions; switch coq.coq-version [ 7 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 8 8 { case = range "8.6" "8.16"; out = "20210328"; } 9 9 { case = range "8.5" "8.13"; out = "20181102"; } 10 10 ] null;
+2 -4
pkgs/development/coq-modules/VST/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, compcert, ITree, version ? null }: 2 2 3 - with lib; 4 - 5 3 # A few modules that are not built and installed by default 6 4 # but that may be useful to some users. 7 5 # They depend on ITree. ··· 9 11 "powerlater.v" 10 12 ] 11 13 # floyd/printf.v is broken in VST 2.9 12 - ++ optional (!versions.isGe "8.13" coq.coq-version) "printf.v" 14 + ++ lib.optional (!lib.versions.isGe "8.13" coq.coq-version) "printf.v" 13 15 ++ [ 14 16 "quickprogram.v" 15 17 ]; ··· 22 24 owner = "PrincetonUniversity"; 23 25 repo = "VST"; 24 26 inherit version; 25 - defaultVersion = with versions; switch coq.coq-version [ 27 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 26 28 { case = range "8.15" "8.16"; out = "2.11.1"; } 27 29 { case = range "8.14" "8.16"; out = "2.10"; } 28 30 { case = range "8.13" "8.15"; out = "2.9"; }
+2 -2
pkgs/development/coq-modules/Velisarios/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null }: 2 2 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 pname = "Velisarios"; 5 5 owner = "vrahli"; 6 6 inherit version; 7 - defaultVersion = if versions.range "8.6" "8.8" coq.coq-version then "20180221" else null; 7 + defaultVersion = if lib.versions.range "8.6" "8.8" coq.coq-version then "20180221" else null; 8 8 9 9 release."20180221".rev = "e1eee1f10d5d46331a560bd8565ac101229d0d6b"; 10 10 release."20180221".sha256 = "0l9885nxy0n955fj1gnijlxl55lyxiv9yjfmz8hmfrn9hl8vv1m2";
+2 -2
pkgs/development/coq-modules/Verdi/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, Cheerios, InfSeqExt, ssreflect, version ? null }: 2 2 3 3 4 - with lib; mkCoqDerivation { 4 + mkCoqDerivation { 5 5 pname = "verdi"; 6 6 owner = "uwplse"; 7 7 inherit version; 8 - defaultVersion = with versions; switch coq.coq-version [ 8 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 9 9 { case = range "8.7" "8.16"; out = "20211026"; } 10 10 { case = range "8.7" "8.14"; out = "20210524"; } 11 11 { case = range "8.7" "8.13"; out = "20200131"; }
+2 -3
pkgs/development/coq-modules/aac-tactics/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null }: 2 - with lib; 3 2 4 3 mkCoqDerivation { 5 4 pname = "aac-tactics"; ··· 20 21 release."8.5.0".sha256 = "sha256-7yNxJn6CH5xS5w/zsXfcZYORa6e5/qS9v8PUq2o02h4="; 21 22 22 23 inherit version; 23 - defaultVersion = with versions; switch coq.coq-version [ 24 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 24 25 { case = "8.16"; out = "8.16.0"; } 25 26 { case = "8.15"; out = "8.15.1"; } 26 27 { case = "8.14"; out = "8.14.1"; } ··· 36 37 37 38 mlPlugin = true; 38 39 39 - meta = { 40 + meta = with lib; { 40 41 description = "Coq plugin providing tactics for rewriting universally quantified equations"; 41 42 longDescription = '' 42 43 This Coq plugin provides tactics for rewriting universally quantified
+2 -3
pkgs/development/coq-modules/addition-chains/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, mathcomp-ssreflect, mathcomp-algebra, mathcomp-fingroup, paramcoq 2 2 , version ? null }: 3 - with lib; 4 3 5 4 mkCoqDerivation { 6 5 pname = "addition-chains"; ··· 11 12 releaseRev = (v: "v${v}"); 12 13 13 14 inherit version; 14 - defaultVersion = with versions; switch coq.coq-version [ 15 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 15 16 { case = range "8.13" "8.16"; out = "0.6"; } 16 17 { case = range "8.11" "8.12"; out = "0.4"; } 17 18 ] null; ··· 20 21 21 22 useDune = true; 22 23 23 - meta = { 24 + meta = with lib; { 24 25 description = "Exponentiation algorithms following addition chains"; 25 26 longDescription = '' 26 27 Addition chains are algorithms for computations of the p-th
+2 -3
pkgs/development/coq-modules/autosubst/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, mathcomp-ssreflect, version ? null }: 2 - with lib; 3 2 4 3 mkCoqDerivation { 5 4 pname = "autosubst"; ··· 7 8 release."1.7".sha256 = "sha256-qoyteQ5W2Noxf12uACOVeHhPLvgmTzrvEo6Ts+FKTGI="; 8 9 9 10 inherit version; 10 - defaultVersion = with versions; switch coq.coq-version [ 11 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 11 12 { case = range "8.10" "8.16"; out = "1.7"; } 12 13 ] null; 13 14 14 15 propagatedBuildInputs = [ mathcomp-ssreflect ]; 15 16 16 - meta = { 17 + meta = with lib; { 17 18 homepage = "https://www.ps.uni-saarland.de/autosubst/"; 18 19 description = "Automation for de Bruijn syntax and substitution in Coq"; 19 20 maintainers = with maintainers; [ siraben jwiegley ];
+3 -3
pkgs/development/coq-modules/bignums/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null }: 2 2 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 pname = "bignums"; 5 5 owner = "coq"; 6 6 displayVersion = { bignums = ""; }; 7 7 inherit version; 8 - defaultVersion = if versions.isGe "8.6" coq.coq-version 8 + defaultVersion = if lib.versions.isGe "8.6" coq.coq-version 9 9 then "${coq.coq-version}.0" else null; 10 10 11 11 release."8.17.0".sha256 = "sha256-MXYjqN86+3O4hT2ql62U83T5H03E/8ysH8erpvC/oyw="; ··· 25 25 26 26 mlPlugin = true; 27 27 28 - meta = { license = licenses.lgpl2; }; 28 + meta = { license = lib.licenses.lgpl2; }; 29 29 }
+3 -3
pkgs/development/coq-modules/category-theory/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, ssreflect, equations, version ? null }: 2 2 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 5 5 pname = "category-theory"; 6 6 owner = "jwiegley"; ··· 16 16 release."20180709".sha256 = "0f2nr8dgn1ab7hr7jrdmr1zla9g9h8216q4yf4wnff9qkln8sbbs"; 17 17 18 18 inherit version; 19 - defaultVersion = with versions; switch coq.coq-version [ 19 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 20 20 { case = range "8.14" "8.16"; out = "1.0.0"; } 21 21 { case = range "8.10" "8.15"; out = "20211213"; } 22 22 { case = range "8.8" "8.9"; out = "20190414"; } ··· 28 28 29 29 meta = { 30 30 description = "A formalization of category theory in Coq for personal study and practical work"; 31 - maintainers = with maintainers; [ jwiegley ]; 31 + maintainers = with lib.maintainers; [ jwiegley ]; 32 32 }; 33 33 }
+2 -3
pkgs/development/coq-modules/ceres/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null }: 2 2 3 - with lib; 4 3 mkCoqDerivation { 5 4 6 5 pname = "ceres"; ··· 7 8 owner = "Lysxia"; 8 9 9 10 inherit version; 10 - defaultVersion = if versions.range "8.8" "8.16" coq.version then "0.4.0" else null; 11 + defaultVersion = if lib.versions.range "8.8" "8.16" coq.version then "0.4.0" else null; 11 12 release."0.4.0".sha256 = "sha256:0zwp3pn6fdj0qdig734zdczrls886al06mxqhhabms0jvvqijmbi"; 12 13 13 - meta = { 14 + meta = with lib; { 14 15 description = "Library for serialization to S-expressions"; 15 16 license = licenses.mit; 16 17 maintainers = with maintainers; [ Zimmi48 ];
+2 -4
pkgs/development/coq-modules/compcert/default.nix
··· 5 5 , version ? null 6 6 }: 7 7 8 - with lib; 9 - 10 8 let compcert = mkCoqDerivation rec { 11 9 12 10 pname = "compcert"; ··· 13 15 inherit version; 14 16 releaseRev = v: "v${v}"; 15 17 16 - defaultVersion = with versions; switch coq.version [ 18 + defaultVersion = with lib.versions; lib.switch coq.version [ 17 19 { case = range "8.14" "8.16"; out = "3.11"; } 18 20 { case = isEq "8.13" ; out = "3.10"; } 19 21 { case = isEq "8.12" ; out = "3.9"; } ··· 82 84 }; in 83 85 compcert.overrideAttrs (o: 84 86 { 85 - patches = with versions; switch [ coq.version o.version ] [ 87 + patches = with lib.versions; lib.switch [ coq.version o.version ] [ 86 88 { cases = [ (range "8.12.2" "8.13.2") "3.8" ]; 87 89 out = [ 88 90 # Support for Coq 8.12.2
+3 -3
pkgs/development/coq-modules/contribs/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, callPackage }: 2 2 3 - with lib; let mkContrib = pname: coqs: param: 3 + let mkContrib = pname: coqs: param: 4 4 let contribVersion = {version ? null}: mkCoqDerivation ({ 5 5 inherit pname version; 6 6 owner = "coq-contribs"; 7 7 mlPlugin = true; 8 - } // optionalAttrs (builtins.elem coq.coq-version coqs) ({ 8 + } // lib.optionalAttrs (builtins.elem coq.coq-version coqs) ({ 9 9 defaultVersion = param.version; 10 10 release = { "${param.version}" = { inherit (param) rev sha256; }; }; 11 11 } // (removeAttrs param [ "version" "rev" "sha256" ])) 12 12 ); in 13 - makeOverridable contribVersion {} ; in 13 + lib.makeOverridable contribVersion {} ; in 14 14 { 15 15 aac-tactics = mkContrib "aac-tactics" [ "8.7" "8.8" ] { 16 16 "8.7" = {
+3 -3
pkgs/development/coq-modules/coq-bits/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, mathcomp-algebra, version ? null }: 2 2 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 pname = "coq-bits"; 5 5 repo = "bits"; 6 6 inherit version; 7 - defaultVersion = with versions; switch coq.coq-version [ 7 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 8 8 { case = range "8.10" "8.16"; out = "1.1.0"; } 9 9 { case = range "8.7" "8.15"; out = "1.0.0"; } 10 10 ] null; ··· 14 14 15 15 propagatedBuildInputs = [ mathcomp-algebra ]; 16 16 17 - meta = { 17 + meta = with lib; { 18 18 description = "A formalization of bitset operations in Coq"; 19 19 license = licenses.asl20; 20 20 maintainers = with maintainers; [ ptival ];
+3 -3
pkgs/development/coq-modules/coq-ext-lib/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null }: 2 2 3 - with lib; mkCoqDerivation rec { 3 + mkCoqDerivation rec { 4 4 pname = "coq-ext-lib"; 5 5 owner = "coq-ext-lib"; 6 6 inherit version; 7 - defaultVersion = with versions; switch coq.coq-version [ 7 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 8 8 { case = range "8.11" "8.16"; out = "0.11.7"; } 9 9 { case = range "8.8" "8.16"; out = "0.11.6"; } 10 10 { case = range "8.8" "8.14"; out = "0.11.4"; } ··· 30 30 31 31 meta = { 32 32 description = "A collection of theories and plugins that may be useful in other Coq developments"; 33 - maintainers = with maintainers; [ jwiegley ptival ]; 33 + maintainers = with lib.maintainers; [ jwiegley ptival ]; 34 34 }; 35 35 }
+3 -3
pkgs/development/coq-modules/coq-haskell/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, ssreflect, version ? null }: 2 2 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 5 5 pname = "coq-haskell"; 6 6 owner = "jwiegley"; 7 7 inherit version; 8 - defaultVersion = if versions.range "8.5" "8.8" coq.coq-version then "20171215" else null; 8 + defaultVersion = if lib.versions.range "8.5" "8.8" coq.coq-version then "20171215" else null; 9 9 release."20171215".rev = "e2cf8b270c2efa3b56fab1ef6acc376c2c3de968"; 10 10 release."20171215".sha256 = "09dq1vvshhlhgjccrhqgbhnq2hrys15xryfszqq11rzpgvl2zgdv"; 11 11 ··· 16 16 17 17 meta = { 18 18 description = "A library for formalizing Haskell types and functions in Coq"; 19 - maintainers = with maintainers; [ jwiegley ]; 19 + maintainers = with lib.maintainers; [ jwiegley ]; 20 20 }; 21 21 }
+3 -3
pkgs/development/coq-modules/coq-record-update/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null }: 2 2 3 - with lib; mkCoqDerivation rec { 3 + mkCoqDerivation rec { 4 4 pname = "coq-record-update"; 5 5 owner = "tchajed"; 6 6 inherit version; 7 - defaultVersion = with versions; switch coq.coq-version [ 7 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 8 8 { case = range "8.10" "8.16"; out = "0.3.1"; } 9 9 ] null; 10 10 release."0.3.1".sha256 = "sha256-DyGxO2tqmYZZluXN6Oy5Tw6fuLMyuyxonj8CCToWKkk="; ··· 13 13 buildFlags = [ "NO_TEST=1" ]; 14 14 meta = { 15 15 description = "Library to create Coq record update functions"; 16 - maintainers = with maintainers; [ ineol ]; 16 + maintainers = with lib.maintainers; [ ineol ]; 17 17 }; 18 18 }
+3 -5
pkgs/development/coq-modules/coqeal/default.nix
··· 2 2 mathcomp-real-closed, 3 3 lib, version ? null }: 4 4 5 - with lib; 6 - 7 5 (mkCoqDerivation { 8 6 9 7 pname = "CoqEAL"; 10 8 11 9 inherit version; 12 - defaultVersion = with versions; switch [ coq.version mathcomp.version ] [ 10 + defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [ 13 11 { cases = [ (range "8.13" "8.16") (isGe "1.13.0") ]; out = "1.1.1"; } 14 12 { cases = [ (range "8.10" "8.15") (isGe "1.12.0") ]; out = "1.1.0"; } 15 13 { cases = [ (isGe "8.10") (range "1.11.0" "1.12.0") ]; out = "1.0.5"; } ··· 26 28 27 29 meta = { 28 30 description = "CoqEAL - The Coq Effective Algebra Library"; 29 - license = licenses.mit; 31 + license = lib.licenses.mit; 30 32 }; 31 33 }).overrideAttrs (o: { 32 34 propagatedBuildInputs = o.propagatedBuildInputs 33 - ++ optional (versions.isGe "1.1" o.version || o.version == "dev") mathcomp-real-closed; 35 + ++ lib.optional (lib.versions.isGe "1.1" o.version || o.version == "dev") mathcomp-real-closed; 34 36 })
+3 -3
pkgs/development/coq-modules/coqhammer/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null }: 2 2 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 inherit version; 5 5 pname = "coqhammer"; 6 6 owner = "lukaszcz"; 7 - defaultVersion = with versions; switch coq.coq-version [ 7 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 8 8 { case = "8.15"; out = "1.3.2-coq8.15"; } 9 9 { case = "8.14"; out = "1.3.2-coq8.14"; } 10 10 { case = "8.13"; out = "1.3.2-coq8.13"; } ··· 57 57 58 58 mlPlugin = true; 59 59 60 - meta = { 60 + meta = with lib; { 61 61 homepage = "http://cl-informatik.uibk.ac.at/cek/coqhammer/"; 62 62 description = "Automation for Dependent Type Theory"; 63 63 license = licenses.lgpl21;
+2 -2
pkgs/development/coq-modules/coqide/default.nix
··· 8 8 , coq 9 9 , version ? null }: 10 10 11 - with lib; mkCoqDerivation rec { 11 + mkCoqDerivation rec { 12 12 pname = "coqide"; 13 13 inherit version; 14 14 15 15 inherit (coq) src; 16 16 release."${coq.version}" = {}; 17 17 18 - defaultVersion = if versions.isGe "8.14" coq.version then coq.version else null; 18 + defaultVersion = if lib.versions.isGe "8.14" coq.version then coq.version else null; 19 19 20 20 preConfigure = '' 21 21 patchShebangs dev/tools/
+2 -2
pkgs/development/coq-modules/coqprime/default.nix
··· 1 1 { which, lib, mkCoqDerivation, coq, bignums, version ? null }: 2 2 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 5 5 pname = "coqprime"; 6 6 owner = "thery"; 7 7 inherit version; 8 - defaultVersion = with versions; switch coq.coq-version [ 8 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 9 9 { case = range "8.12" "8.16"; out = "8.15"; } 10 10 { case = range "8.10" "8.11"; out = "8.10"; } 11 11 { case = range "8.8" "8.9"; out = "8.8"; }
+2 -4
pkgs/development/coq-modules/coqtail-math/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null }: 2 2 3 - with lib; 4 - 5 3 mkCoqDerivation { 6 4 pname = "coqtail-math"; 7 5 owner = "coq-community"; 8 6 inherit version; 9 - defaultVersion = with versions; switch coq.coq-version [ 7 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 10 8 { case = range "8.11" "8.15"; out = "8.14"; } 11 9 { case = range "8.11" "8.13"; out = "20201124"; } 12 10 ] null; ··· 13 15 release."20201124".rev = "5c22c3d7dcd8cf4c47cf84a281780f5915488e9e"; 14 16 release."20201124".sha256 = "sha256-wd+Lh7dpAD4zfpyKuztDmSFEZo5ZiFrR8ti2jUCVvoQ="; 15 17 mlPlugin = true; 16 - meta = { 18 + meta = with lib; { 17 19 license = licenses.lgpl3Only; 18 20 maintainers = [ maintainers.siraben ]; 19 21 };
+3 -3
pkgs/development/coq-modules/coquelicot/default.nix
··· 1 1 { lib, mkCoqDerivation, autoconf, 2 2 coq, ssreflect, version ? null }: 3 3 4 - with lib; mkCoqDerivation { 4 + mkCoqDerivation { 5 5 pname = "coquelicot"; 6 6 owner = "coquelicot"; 7 7 domain = "gitlab.inria.fr"; 8 8 inherit version; 9 - defaultVersion = with versions; switch coq.coq-version [ 9 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 10 10 { case = range "8.8" "8.16"; out = "3.2.0"; } 11 11 { case = range "8.8" "8.13"; out = "3.1.0"; } 12 12 { case = range "8.5" "8.9"; out = "3.0.2"; } ··· 20 20 propagatedBuildInputs = [ ssreflect ]; 21 21 useMelquiondRemake.logpath = "Coquelicot"; 22 22 23 - meta = { 23 + meta = with lib; { 24 24 homepage = "http://coquelicot.saclay.inria.fr/"; 25 25 description = "A Coq library for Reals"; 26 26 license = licenses.lgpl3;
+3 -3
pkgs/development/coq-modules/corn/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, bignums, math-classes, version ? null }: 2 2 3 - with lib; mkCoqDerivation rec { 3 + mkCoqDerivation rec { 4 4 pname = "corn"; 5 5 inherit version; 6 - defaultVersion = with versions; switch coq.coq-version [ 6 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 7 7 { case = "8.6"; out = "8.8.1"; } 8 8 { case = (range "8.11" "8.16"); out = "8.16.0"; } 9 9 { case = (range "8.7" "8.15"); out = "8.13.0"; } ··· 21 21 22 22 propagatedBuildInputs = [ bignums math-classes ]; 23 23 24 - meta = { 24 + meta = with lib; { 25 25 homepage = "http://c-corn.github.io/"; 26 26 license = licenses.gpl2; 27 27 description = "A Coq library for constructive analysis";
+2 -3
pkgs/development/coq-modules/deriving/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null 2 2 , ssreflect 3 3 }: 4 - with lib; 5 4 6 5 mkCoqDerivation { 7 6 pname = "deriving"; 8 7 owner = "arthuraa"; 9 8 10 9 inherit version; 11 - defaultVersion = with versions; switch coq.coq-version [ 10 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 12 11 { case = range "8.11" "8.16"; out = "0.1.0"; } 13 12 ] null; 14 13 ··· 19 20 20 21 mlPlugin = true; 21 22 22 - meta = { 23 + meta = with lib; { 23 24 description = "Generic instances of MathComp classes"; 24 25 license = licenses.mit; 25 26 maintainers = [ maintainers.vbgl ];
+5 -6
pkgs/development/coq-modules/dpdgraph/default.nix
··· 1 1 { lib, mkCoqDerivation, autoreconfHook, coq, version ? null }: 2 2 3 - with lib; 4 - let hasWarning = versionAtLeast coq.ocamlPackages.ocaml.version "4.08"; in 3 + let hasWarning = lib.versionAtLeast coq.ocamlPackages.ocaml.version "4.08"; in 5 4 6 5 mkCoqDerivation { 7 6 pname = "dpdgraph"; 8 7 owner = "Karmaki"; 9 8 repo = "coq-dpdgraph"; 10 9 inherit version; 11 - defaultVersion = switch coq.coq-version [ 10 + defaultVersion = lib.switch coq.coq-version [ 12 11 { case = "8.16"; out = "1.0+8.16"; } 13 12 { case = "8.15"; out = "1.0+8.15"; } 14 13 { case = "8.14"; out = "1.0+8.14"; } ··· 46 47 47 48 # dpd_compute.ml uses deprecated Pervasives.compare 48 49 # Versions prior to 0.6.5 do not have the WARN_ERR build flag 49 - preConfigure = optionalString hasWarning '' 50 + preConfigure = lib.optionalString hasWarning '' 50 51 substituteInPlace Makefile.in --replace "-warn-error +a " "" 51 52 ''; 52 53 53 - buildFlags = optional hasWarning "WARN_ERR="; 54 + buildFlags = lib.optional hasWarning "WARN_ERR="; 54 55 55 56 preInstall = '' 56 57 mkdir -p $out/bin ··· 58 59 59 60 extraInstallFlags = [ "BINDIR=$(out)/bin" ]; 60 61 61 - meta = { 62 + meta = with lib; { 62 63 description = "Build dependency graphs between Coq objects"; 63 64 license = licenses.lgpl21; 64 65 maintainers = with maintainers; [ vbgl ];
+4 -4
pkgs/development/coq-modules/equations/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null }: 2 2 3 - with lib; (mkCoqDerivation { 3 + (mkCoqDerivation { 4 4 pname = "equations"; 5 5 owner = "mattam82"; 6 6 repo = "Coq-Equations"; 7 7 inherit version; 8 - defaultVersion = switch coq.coq-version [ 8 + defaultVersion = lib.switch coq.coq-version [ 9 9 { case = "8.16"; out = "1.3+8.16"; } 10 10 { case = "8.15"; out = "1.3+8.15"; } 11 11 { case = "8.14"; out = "1.3+8.14"; } ··· 57 57 58 58 mlPlugin = true; 59 59 60 - meta = { 60 + meta = with lib; { 61 61 homepage = "https://mattam82.github.io/Coq-Equations/"; 62 62 description = "A plugin for Coq to add dependent pattern-matching"; 63 63 maintainers = with maintainers; [ jwiegley ]; 64 64 }; 65 65 }).overrideAttrs (o: { 66 - preBuild = "coq_makefile -f _CoqProject -o Makefile${optionalString (versionAtLeast o.version "1.2.1" || o.version == "dev") ".coq"}"; 66 + preBuild = "coq_makefile -f _CoqProject -o Makefile${lib.optionalString (lib.versionAtLeast o.version "1.2.1" || o.version == "dev") ".coq"}"; 67 67 })
+3 -4
pkgs/development/coq-modules/extructures/default.nix
··· 2 2 , ssreflect 3 3 , deriving 4 4 }: 5 - with lib; 6 5 7 6 (mkCoqDerivation { 8 7 pname = "extructures"; 9 8 owner = "arthuraa"; 10 9 11 10 inherit version; 12 - defaultVersion = with versions; switch [coq.coq-version ssreflect.version] [ 11 + defaultVersion = with lib.versions; lib.switch [coq.coq-version ssreflect.version] [ 13 12 { cases = [(range "8.11" "8.16") (isGe "1.12.0") ]; out = "0.3.1"; } 14 13 { cases = [(range "8.11" "8.14") (isLe "1.12.0") ]; out = "0.3.0"; } 15 14 { cases = [(range "8.10" "8.12") (isLe "1.12.0") ]; out = "0.2.2"; } ··· 22 23 23 24 propagatedBuildInputs = [ ssreflect ]; 24 25 25 - meta = { 26 + meta = with lib; { 26 27 description = "Finite data structures with extensional reasoning"; 27 28 license = licenses.mit; 28 29 maintainers = [ maintainers.vbgl ]; ··· 30 31 31 32 }).overrideAttrs (o: { 32 33 propagatedBuildInputs = o.propagatedBuildInputs 33 - ++ optional (versionAtLeast o.version "0.3.0") deriving; 34 + ++ lib.optional (lib.versionAtLeast o.version "0.3.0") deriving; 34 35 })
+2 -2
pkgs/development/coq-modules/fiat/HEAD.nix
··· 1 1 {lib, mkCoqDerivation, coq, python27, version ? null }: 2 2 3 - with lib; mkCoqDerivation rec { 3 + mkCoqDerivation rec { 4 4 pname = "fiat"; 5 5 owner = "mit-plv"; 6 6 repo = "fiat"; ··· 29 29 meta = { 30 30 homepage = "http://plv.csail.mit.edu/fiat/"; 31 31 description = "A library for the Coq proof assistant for synthesizing efficient correct-by-construction programs from declarative specifications"; 32 - maintainers = with maintainers; [ jwiegley ]; 32 + maintainers = with lib.maintainers; [ jwiegley ]; 33 33 }; 34 34 }
+3 -3
pkgs/development/coq-modules/flocq/default.nix
··· 1 1 { lib, bash, autoconf, automake, 2 2 mkCoqDerivation, coq, version ? null }: 3 3 4 - with lib; mkCoqDerivation { 4 + mkCoqDerivation { 5 5 pname = "flocq"; 6 6 owner = "flocq"; 7 7 domain = "gitlab.inria.fr"; 8 8 inherit version; 9 - defaultVersion = with versions; switch coq.coq-version [ 9 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 10 10 { case = range "8.14" "8.16"; out = "4.1.0"; } 11 11 { case = range "8.7" "8.15"; out = "3.4.3"; } 12 12 { case = range "8.5" "8.8"; out = "2.6.1"; } ··· 22 22 mlPlugin = true; 23 23 useMelquiondRemake.logpath = "Flocq"; 24 24 25 - meta = { 25 + meta = with lib; { 26 26 description = "A floating-point formalization for the Coq system"; 27 27 license = licenses.lgpl3; 28 28 maintainers = with maintainers; [ jwiegley ];
+3 -4
pkgs/development/coq-modules/fourcolor/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, mathcomp, version ? null }: 2 - with lib; 3 2 4 3 mkCoqDerivation { 5 4 pname = "fourcolor"; ··· 11 12 release."1.2.5".sha256 = "sha256-3qOPNCRjGK2UdHGMSqElpIXhAPVCklpeQgZwf9AFals="; 12 13 13 14 inherit version; 14 - defaultVersion = with versions; switch [ coq.version mathcomp.version ] [ 15 + defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [ 15 16 { cases = [ (isGe "8.11") (isGe "1.12") ]; out = "1.2.5"; } 16 17 { cases = [ (isGe "8.11") (range "1.11" "1.14") ]; out = "1.2.4"; } 17 - { cases = [ (isLe "8.13") (pred.inter (isGe "1.11.0") (isLt "1.13")) ]; out = "1.2.3"; } 18 + { cases = [ (isLe "8.13") (lib.pred.inter (isGe "1.11.0") (isLt "1.13")) ]; out = "1.2.3"; } 18 19 ] null; 19 20 20 21 propagatedBuildInputs = [ mathcomp.algebra mathcomp.ssreflect mathcomp.fingroup ]; 21 22 22 - meta = { 23 + meta = with lib; { 23 24 description = "Formal proof of the Four Color Theorem "; 24 25 maintainers = with maintainers; [ siraben ]; 25 26 license = licenses.cecill-b;
+3 -3
pkgs/development/coq-modules/gaia-hydras/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, hydra-battles, gaia, 2 2 mathcomp-zify, mathcomp, version ? null }: 3 3 4 - with lib; mkCoqDerivation rec { 4 + mkCoqDerivation rec { 5 5 pname = "gaia-hydras"; 6 6 repo = "hydra-battles"; 7 7 ··· 10 10 releaseRev = (v: "v${v}"); 11 11 12 12 inherit version; 13 - defaultVersion = with versions; switch [coq.coq-version mathcomp.version] [ 13 + defaultVersion = with lib.versions; lib.switch [coq.coq-version mathcomp.version] [ 14 14 { cases = [ (range "8.14" "8.16") (isGe "1.12.0") ]; out = "0.6"; } 15 15 { cases = [ (range "8.13" "8.14") (isGe "1.12.0") ]; out = "0.5"; } 16 16 ] null; ··· 23 23 24 24 useDune = true; 25 25 26 - meta = { 26 + meta = with lib; { 27 27 description = "Comparison between ordinals in Gaia and Hydra battles"; 28 28 longDescription = '' 29 29 The Gaia and Hydra battles projects develop different notions of ordinals.
+3 -3
pkgs/development/coq-modules/gaia/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, mathcomp, version ? null }: 2 2 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 pname = "gaia"; 5 5 6 6 release."1.11".sha256 = "sha256:0gwb0blf37sv9gb0qpn34dab71zdcx7jsnqm3j9p58qw65cgsqn5"; ··· 11 11 releaseRev = (v: "v${v}"); 12 12 13 13 inherit version; 14 - defaultVersion = with versions; switch [ coq.version mathcomp.version ] [ 14 + defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [ 15 15 { cases = [ (range "8.10" "8.16") (isGe "1.12.0") ]; out = "1.15"; } 16 16 { cases = [ (range "8.10" "8.12") "1.11.0" ]; out = "1.11"; } 17 17 ] null; ··· 19 19 propagatedBuildInputs = 20 20 [ mathcomp.ssreflect mathcomp.algebra mathcomp.fingroup ]; 21 21 22 - meta = { 22 + meta = with lib; { 23 23 description = "Implementation of books from Bourbaki's Elements of Mathematics in Coq"; 24 24 maintainers = with maintainers; [ Zimmi48 ]; 25 25 license = licenses.mit;
+3 -3
pkgs/development/coq-modules/gappalib/default.nix
··· 1 1 { which, lib, mkCoqDerivation, autoconf, coq, flocq, version ? null }: 2 2 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 pname = "gappalib"; 5 5 repo = "coq"; 6 6 owner = "gappa"; 7 7 domain = "gitlab.inria.fr"; 8 8 inherit version; 9 - defaultVersion = if versions.range "8.8" "8.16" coq.coq-version then "1.5.2" else null; 9 + defaultVersion = if lib.versions.range "8.8" "8.16" coq.coq-version then "1.5.2" else null; 10 10 release."1.5.2".sha256 = "sha256-A021Bhqz5r2CZBayfjIiWrCIfUlejcQAfbTmOaf6QTM="; 11 11 release."1.5.1".sha256 = "1806bq1z6q5rq2ma7d5kfbqfyfr755hjg0dq7b2llry8fx9cxjsg"; 12 12 release."1.5.0".sha256 = "1i1c0gakffxqqqqw064cbvc243yl325hxd50jmczr6mk18igk41n"; ··· 19 19 propagatedBuildInputs = [ flocq ]; 20 20 useMelquiondRemake.logpath = "Gappa"; 21 21 22 - meta = { 22 + meta = with lib; { 23 23 description = "Coq support library for Gappa"; 24 24 license = licenses.lgpl21; 25 25 maintainers = [ maintainers.vbgl ];
+2 -3
pkgs/development/coq-modules/goedel/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, hydra-battles, pocklington, version ? null }: 2 - with lib; 3 2 4 3 mkCoqDerivation { 5 4 pname = "goedel"; ··· 10 11 release."8.13.0".sha256 = "0sqqkmj6wsk4xmhrnqkhcsbsrqjzn2gnk67nqzgrmjpw5danz8y5"; 11 12 12 13 inherit version; 13 - defaultVersion = with versions; switch coq.coq-version [ 14 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 14 15 { case = range "8.11" "8.16"; out = "8.13.0"; } 15 16 ] null; 16 17 17 18 propagatedBuildInputs = [ hydra-battles pocklington ]; 18 19 19 - meta = { 20 + meta = with lib; { 20 21 description = "The Gödel-Rosser 1st incompleteness theorem in Coq"; 21 22 maintainers = with maintainers; [ siraben ]; 22 23 license = licenses.mit;
+2 -4
pkgs/development/coq-modules/graph-theory/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, mathcomp-algebra, mathcomp-finmap, mathcomp-fingroup 2 2 , hierarchy-builder, version ? null }: 3 3 4 - with lib; 5 - 6 4 mkCoqDerivation { 7 5 pname = "graph-theory"; 8 6 ··· 9 11 releaseRev = v: "v${v}"; 10 12 11 13 inherit version; 12 - defaultVersion = with versions; switch coq.coq-version [ 14 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 13 15 { case = range "8.13" "8.16"; out = "0.9"; } 14 16 ] null; 15 17 16 18 propagatedBuildInputs = [ mathcomp-algebra mathcomp-finmap mathcomp-fingroup hierarchy-builder ]; 17 19 18 - meta = { 20 + meta = with lib; { 19 21 description = "Library of formalized graph theory results in Coq"; 20 22 longDescription = '' 21 23 A library of formalized graph theory results, including various
+3 -3
pkgs/development/coq-modules/heq/default.nix
··· 5 5 url = "https://${domain}/${owner}/${repo}/download/${repo}-${rev}.zip"; 6 6 inherit sha256; 7 7 }; in 8 - with lib; mkCoqDerivation { 8 + mkCoqDerivation { 9 9 pname = "heq"; 10 10 repo = "Heq"; 11 11 owner = "gil.hur"; 12 12 domain = "sf.snu.ac.kr"; 13 13 inherit version fetcher; 14 - defaultVersion = if versions.isLt "8.8" coq.coq-version then "0.92" else null; 14 + defaultVersion = if lib.versions.isLt "8.8" coq.coq-version then "0.92" else null; 15 15 release."0.92".sha256 = "0cf8y6728n81wwlbpq3vi7l2dbzi7759klypld4gpsjjp1y1fj74"; 16 16 17 17 mlPlugin = true; ··· 22 22 meta = { 23 23 homepage = "https://ropas.snu.ac.kr/~gil.hur/Heq/"; 24 24 description = "Heq : a Coq library for Heterogeneous Equality"; 25 - maintainers = with maintainers; [ jwiegley ]; 25 + maintainers = with lib.maintainers; [ jwiegley ]; 26 26 }; 27 27 }
+5 -5
pkgs/development/coq-modules/hierarchy-builder/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, coq-elpi, version ? null }: 2 2 3 - with lib; let hb = mkCoqDerivation { 3 + let hb = mkCoqDerivation { 4 4 pname = "hierarchy-builder"; 5 5 owner = "math-comp"; 6 6 inherit version; 7 - defaultVersion = with versions; switch coq.coq-version [ 7 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 8 8 { case = range "8.15" "8.16"; out = "1.4.0"; } 9 9 { case = range "8.13" "8.14"; out = "1.2.0"; } 10 10 { case = range "8.12" "8.13"; out = "1.1.0"; } ··· 25 25 26 26 extraInstallFlags = [ "VFILES=structures.v" ]; 27 27 28 - meta = { 28 + meta = with lib; { 29 29 description = "High level commands to declare a hierarchy based on packed classes"; 30 30 maintainers = with maintainers; [ cohencyril siraben ]; 31 31 license = licenses.mit; 32 32 }; 33 33 }; in 34 34 hb.overrideAttrs (o: 35 - optionalAttrs (versions.isGe "1.2.0" o.version || o.version == "dev") 35 + lib.optionalAttrs (lib.versions.isGe "1.2.0" o.version || o.version == "dev") 36 36 { buildPhase = "make build"; } 37 37 // 38 - optionalAttrs (versions.isGe "1.1.0" o.version || o.version == "dev") 38 + lib.optionalAttrs (lib.versions.isGe "1.1.0" o.version || o.version == "dev") 39 39 { installFlags = [ "DESTDIR=$(out)" ] ++ o.installFlags; } 40 40 )
+3 -4
pkgs/development/coq-modules/hydra-battles/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, equations, LibHyps, version ? null }: 2 - with lib; 3 2 4 3 (mkCoqDerivation { 5 4 pname = "hydra-battles"; ··· 10 11 releaseRev = (v: "v${v}"); 11 12 12 13 inherit version; 13 - defaultVersion = with versions; switch coq.coq-version [ 14 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 14 15 { case = range "8.13" "8.16"; out = "0.6"; } 15 16 { case = range "8.11" "8.12"; out = "0.4"; } 16 17 ] null; 17 18 18 19 useDune = true; 19 20 20 - meta = { 21 + meta = with lib; { 21 22 description = "Exploration of some properties of Kirby and Paris' hydra battles, with the help of Coq"; 22 23 longDescription = '' 23 24 An exploration of some properties of Kirby and Paris' hydra ··· 32 33 }; 33 34 }).overrideAttrs(o: 34 35 let inherit (o) version; in { 35 - propagatedBuildInputs = [ equations ] ++ optional (versions.isGe "0.6" version || version == "dev") LibHyps; 36 + propagatedBuildInputs = [ equations ] ++ lib.optional (lib.versions.isGe "0.6" version || version == "dev") LibHyps; 36 37 })
+3 -3
pkgs/development/coq-modules/iris/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, stdpp, version ? null }: 2 2 3 - with lib; mkCoqDerivation rec { 3 + mkCoqDerivation rec { 4 4 pname = "iris"; 5 5 domain = "gitlab.mpi-sws.org"; 6 6 owner = "iris"; 7 7 inherit version; 8 - defaultVersion = with versions; switch coq.coq-version [ 8 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 9 9 { case = range "8.13" "8.16"; out = "4.0.0"; } 10 10 { case = range "8.12" "8.14"; out = "3.5.0"; } 11 11 { case = range "8.11" "8.13"; out = "3.4.0"; } ··· 26 26 fi 27 27 ''; 28 28 29 - meta = { 29 + meta = with lib; { 30 30 description = "The Coq development of the Iris Project"; 31 31 license = licenses.bsd3; 32 32 maintainers = [ maintainers.vbgl ];
+2 -3
pkgs/development/coq-modules/itauto/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null }: 2 - with lib; 3 2 4 3 mkCoqDerivation rec { 5 4 pname = "itauto"; ··· 10 11 release."8.14.0".sha256 = "sha256:1k6pqhv4dwpkwg81f2rlfg40wh070ks1gy9r0ravm2zhsbxqcfc9"; 11 12 release."8.13+no".sha256 = "sha256-gXoxtLcHPoyjJkt7WqvzfCMCQlh6kL2KtCGe3N6RC/A="; 12 13 inherit version; 13 - defaultVersion = with versions; switch coq.coq-version [ 14 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 14 15 { case = isEq "8.16"; out = "8.16.0"; } 15 16 { case = isEq "8.15"; out = "8.15.0"; } 16 17 { case = isEq "8.14"; out = "8.14.0"; } ··· 21 22 nativeBuildInputs = (with coq.ocamlPackages; [ ocamlbuild ]); 22 23 enableParallelBuilding = false; 23 24 24 - meta = { 25 + meta = with lib; { 25 26 description = "A reflexive SAT solver parameterised by a leaf tactic and Nelson-Oppen support"; 26 27 maintainers = with maintainers; [ siraben ]; 27 28 license = licenses.gpl3Plus;
+3 -3
pkgs/development/coq-modules/ltac2/default.nix
··· 1 1 { lib, mkCoqDerivation, which, coq, version ? null }: 2 2 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 pname = "ltac2"; 5 5 owner = "coq"; 6 6 inherit version; 7 - defaultVersion = with versions; switch coq.coq-version [ 7 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 8 8 { case = "8.10"; out = "0.3"; } 9 9 { case = "8.9"; out = "0.2"; } 10 10 { case = "8.8"; out = "0.1"; } ··· 19 19 20 20 mlPlugin = true; 21 21 22 - meta = { 22 + meta = with lib; { 23 23 description = "A robust and expressive tactic language for Coq"; 24 24 maintainers = [ maintainers.vbgl ]; 25 25 license = licenses.lgpl21;
+3 -3
pkgs/development/coq-modules/math-classes/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, bignums, version ? null }: 2 2 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 5 5 pname = "math-classes"; 6 6 inherit version; 7 - defaultVersion = if versions.range "8.6" "8.16" coq.coq-version then "8.15.0" else null; 7 + defaultVersion = if lib.versions.range "8.6" "8.16" coq.coq-version then "8.15.0" else null; 8 8 release."8.12.0".sha256 = "14nd6a08zncrl5yg2gzk0xf4iinwq4hxnsgm4fyv07ydbkxfb425"; 9 9 release."8.13.0".sha256 = "1ln7ziivfbxzbdvlhbvyg3v30jgblncmwcsam6gg3d1zz6r7cbby"; 10 10 release."8.15.0".sha256 = "10w1hm537k6jx8a8vghq1yx12rsa0sjk2ipv3scgir71ln30hllw"; ··· 14 14 meta = { 15 15 homepage = "https://math-classes.github.io"; 16 16 description = "A library of abstract interfaces for mathematical structures in Coq."; 17 - maintainers = with maintainers; [ siddharthist jwiegley ]; 17 + maintainers = with lib.maintainers; [ siddharthist jwiegley ]; 18 18 }; 19 19 }
+1 -1
pkgs/development/coq-modules/mathcomp-abel/default.nix
··· 7 7 owner = "math-comp"; 8 8 9 9 inherit version; 10 - defaultVersion = with lib; with versions; switch [ coq.version mathcomp.version ] [ 10 + defaultVersion = with lib; with versions; lib.switch [ coq.version mathcomp.version ] [ 11 11 { cases = [ (range "8.10" "8.16") (range "1.12.0" "1.15.0") ]; out = "1.2.1"; } 12 12 { cases = [ (range "8.10" "8.15") (range "1.12.0" "1.14.0") ]; out = "1.2.0"; } 13 13 { cases = [ (range "8.10" "8.14") (range "1.11.0" "1.12.0") ]; out = "1.1.2"; }
+4 -4
pkgs/development/coq-modules/mathcomp-algebra-tactics/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, mathcomp-algebra, 2 2 coq-elpi, mathcomp-zify, version ? null }: 3 3 4 - with lib; mkCoqDerivation { 4 + mkCoqDerivation { 5 5 namePrefix = [ "coq" "mathcomp" ]; 6 6 pname = "algebra-tactics"; 7 7 owner = "math-comp"; 8 8 inherit version; 9 9 10 - defaultVersion = with versions; 11 - switch [ coq.coq-version mathcomp-algebra.version ] [ 10 + defaultVersion = with lib.versions; 11 + lib.switch [ coq.coq-version mathcomp-algebra.version ] [ 12 12 { cases = [ (range "8.13" "8.16") (isGe "1.12") ]; out = "1.0.0"; } 13 13 ] null; 14 14 ··· 18 18 19 19 meta = { 20 20 description = "Ring and field tactics for Mathematical Components"; 21 - maintainers = with maintainers; [ cohencyril ]; 21 + maintainers = with lib.maintainers; [ cohencyril ]; 22 22 }; 23 23 }
+2 -2
pkgs/development/coq-modules/mathcomp-analysis/default.nix
··· 21 21 release."0.3.1".sha256 = "1iad288yvrjv8ahl9v18vfblgqb1l5z6ax644w49w9hwxs93f2k8"; 22 22 release."0.2.3".sha256 = "0p9mr8g1qma6h10qf7014dv98ln90dfkwn76ynagpww7qap8s966"; 23 23 24 - defaultVersion = with versions; switch [ coq.version mathcomp.version ] [ 24 + defaultVersion = with versions; lib.switch [ coq.version mathcomp.version ] [ 25 25 { cases = [ (isGe "8.14") (isGe "1.13.0") ]; out = "0.5.3"; } 26 26 { cases = [ (isGe "8.14") (range "1.13" "1.15") ]; out = "0.5.2"; } 27 27 { cases = [ (isGe "8.13") (range "1.13" "1.14") ]; out = "0.5.1"; } ··· 40 40 classical-deps = [ mathcomp.algebra mathcomp-finmap hierarchy-builder ]; 41 41 analysis-deps = [ mathcomp.field mathcomp-bigenough ]; 42 42 intra-deps = if package == "single" then [] 43 - else map mathcomp_ (head (splitList (pred.equal package) packages)); 43 + else map mathcomp_ (head (splitList (lib.pred.equal package) packages)); 44 44 pkgpath = if package == "single" then "." 45 45 else if package == "analysis" then "theories" else "${package}"; 46 46 pname = if package == "single" then "mathcomp-analysis-single"
+3 -3
pkgs/development/coq-modules/mathcomp-bigenough/default.nix
··· 1 1 { coq, mkCoqDerivation, mathcomp, lib, version ? null }: 2 2 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 5 5 namePrefix = [ "coq" "mathcomp" ]; 6 6 pname = "bigenough"; ··· 11 11 "1.0.1".sha256 = "sha256:02f4dv4rz72liciwxb2k7acwx6lgqz4381mqyq5854p3nbyn06aw"; 12 12 }; 13 13 inherit version; 14 - defaultVersion = with versions; switch coq.version [ 14 + defaultVersion = with lib.versions; lib.switch coq.version [ 15 15 { case = range "8.10" "8.16"; out = "1.0.1"; } 16 16 { case = range "8.5" "8.14"; out = "1.0.0"; } 17 17 ] null; ··· 20 20 21 21 meta = { 22 22 description = "A small library to do epsilon - N reasonning"; 23 - license = licenses.cecill-b; 23 + license = lib.licenses.cecill-b; 24 24 }; 25 25 }
+3 -3
pkgs/development/coq-modules/mathcomp-finmap/default.nix
··· 1 1 { coq, mkCoqDerivation, mathcomp, lib, version ? null }: 2 2 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 5 5 namePrefix = [ "coq" "mathcomp" ]; 6 6 pname = "finmap"; 7 7 owner = "math-comp"; 8 8 inherit version; 9 - defaultVersion = with versions; switch [ coq.version mathcomp.version ] [ 9 + defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [ 10 10 { cases = [ (range "8.13" "8.16") (isGe "1.12") ]; out = "1.5.2"; } 11 11 { cases = [ (isGe "8.10") (isGe "1.11") ]; out = "1.5.1"; } 12 12 { cases = [ (range "8.7" "8.11") "1.11.0" ]; out = "1.5.0"; } ··· 33 33 34 34 meta = { 35 35 description = "A finset and finmap library"; 36 - license = licenses.cecill-b; 36 + license = lib.licenses.cecill-b; 37 37 }; 38 38 }
+3 -3
pkgs/development/coq-modules/mathcomp-real-closed/default.nix
··· 1 1 { coq, mkCoqDerivation, mathcomp, mathcomp-bigenough, 2 2 lib, version ? null }: 3 3 4 - with lib; mkCoqDerivation { 4 + mkCoqDerivation { 5 5 6 6 namePrefix = [ "coq" "mathcomp" ]; 7 7 pname = "real-closed"; ··· 17 17 "1.0.1".sha256 = "0j81gkjbza5vg89v4n9z598mfdbql416963rj4b8fzm7dp2r4rxg"; 18 18 }; 19 19 20 - defaultVersion = with versions; switch [ coq.version mathcomp.version ] [ 20 + defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [ 21 21 { cases = [ (isGe "8.13") (isGe "1.12.0") ]; out = "1.1.3"; } 22 22 { cases = [ (isGe "8.10") (isGe "1.12.0") ]; out = "1.1.2"; } 23 23 { cases = [ (isGe "8.7") "1.11.0" ]; out = "1.1.1"; } ··· 37 37 38 38 meta = { 39 39 description = "Mathematical Components Library on real closed fields"; 40 - license = licenses.cecill-c; 40 + license = lib.licenses.cecill-c; 41 41 }; 42 42 }
+5 -4
pkgs/development/coq-modules/mathcomp-tarjan/default.nix
··· 1 1 { coq, mkCoqDerivation, mathcomp-ssreflect, mathcomp-fingroup, 2 2 lib, version ? null }@args: 3 - with lib; mkCoqDerivation { 3 + 4 + mkCoqDerivation { 4 5 5 6 namePrefix = [ "coq" "mathcomp" ]; 6 7 pname = "tarjan"; 7 8 owner = "math-comp"; 8 9 9 10 inherit version; 10 - defaultVersion = with versions; 11 - switch [ coq.version mathcomp-ssreflect.version ] [{ 11 + defaultVersion = with lib.versions; 12 + lib.switch [ coq.version mathcomp-ssreflect.version ] [{ 12 13 cases = [ (range "8.10" "8.16") (isGe "1.12.0") ]; out = "1.0.0"; 13 14 }] null; 14 15 release."1.0.0".sha256 = "sha256:0r459r0makshzwlygw6kd4lpvdjc43b3x5y9aa8x77f2z5gymjq1"; ··· 18 17 19 18 meta = { 20 19 description = "Proofs of Tarjan and Kosaraju connected components algorithms"; 21 - license = licenses.cecill-b; 20 + license = lib.licenses.cecill-b; 22 21 }; 23 22 }
+2 -3
pkgs/development/coq-modules/mathcomp-word/default.nix
··· 1 1 { coq, mkCoqDerivation, mathcomp, lib, version ? null }: 2 2 3 - with lib; 4 3 mkCoqDerivation { 5 4 namePrefix = [ "coq" "mathcomp" ]; 6 5 pname = "word"; ··· 14 15 release."1.0".sha256 = "sha256:0703m97rnivcbc7vvbd9rl2dxs6l8n52cbykynw61c6w9rhxspcg"; 15 16 16 17 inherit version; 17 - defaultVersion = with versions; switch [ coq.version mathcomp.version ] [ 18 + defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [ 18 19 { cases = [ (range "8.12" "8.16") (isGe "1.12") ]; out = "2.0"; } 19 20 ] null; 20 21 21 22 propagatedBuildInputs = [ mathcomp.algebra mathcomp.ssreflect mathcomp.fingroup ]; 22 23 23 - meta = { 24 + meta = with lib; { 24 25 description = "Yet Another Coq Library on Machine Words"; 25 26 maintainers = [ maintainers.vbgl ]; 26 27 license = licenses.mit;
+4 -4
pkgs/development/coq-modules/mathcomp-zify/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, mathcomp-algebra, mathcomp-ssreflect, mathcomp-fingroup, version ? null }: 2 2 3 - with lib; mkCoqDerivation rec { 3 + mkCoqDerivation rec { 4 4 namePrefix = [ "coq" "mathcomp" ]; 5 5 pname = "zify"; 6 6 repo = "mczify"; 7 7 owner = "math-comp"; 8 8 inherit version; 9 9 10 - defaultVersion = with versions; 11 - switch [ coq.coq-version mathcomp-algebra.version ] [ 10 + defaultVersion = with lib.versions; 11 + lib.switch [ coq.coq-version mathcomp-algebra.version ] [ 12 12 { cases = [ (range "8.13" "8.16") (isGe "1.12") ]; out = "1.1.0+1.12+8.13"; } 13 13 ] null; 14 14 ··· 19 19 20 20 meta = { 21 21 description = "Micromega tactics for Mathematical Components"; 22 - maintainers = with maintainers; [ cohencyril ]; 22 + maintainers = with lib.maintainers; [ cohencyril ]; 23 23 }; 24 24 }
+2 -2
pkgs/development/coq-modules/mathcomp/default.nix
··· 18 18 repo = "math-comp"; 19 19 owner = "math-comp"; 20 20 withDoc = single && (args.withDoc or false); 21 - defaultVersion = with versions; switch coq.coq-version [ 21 + defaultVersion = with versions; lib.switch coq.coq-version [ 22 22 { case = range "8.14" "8.16"; out = "1.15.0"; } 23 23 { case = range "8.11" "8.15"; out = "1.14.0"; } 24 24 { case = range "8.11" "8.15"; out = "1.13.0"; } ··· 50 50 51 51 mathcomp_ = package: let 52 52 mathcomp-deps = if package == "single" then [] 53 - else map mathcomp_ (head (splitList (pred.equal package) packages)); 53 + else map mathcomp_ (head (splitList (lib.pred.equal package) packages)); 54 54 pkgpath = if package == "single" then "mathcomp" else "mathcomp/${package}"; 55 55 pname = if package == "single" then "mathcomp" else "mathcomp-${package}"; 56 56 pkgallMake = ''
+2 -2
pkgs/development/coq-modules/metacoq/default.nix
··· 5 5 let 6 6 repo = "metacoq"; 7 7 owner = "MetaCoq"; 8 - defaultVersion = with versions; switch coq.coq-version [ 8 + defaultVersion = with versions; lib.switch coq.coq-version [ 9 9 { case = "8.11"; out = "1.0-beta2-8.11"; } 10 10 { case = "8.12"; out = "1.0-beta2-8.12"; } 11 11 # Do not provide 8.13 because it does not compile with equations 1.3 provided by default (only 1.2.3) ··· 34 34 35 35 metacoq_ = package: let 36 36 metacoq-deps = if package == "single" then [] 37 - else map metacoq_ (head (splitList (pred.equal package) packages)); 37 + else map metacoq_ (head (splitList (lib.pred.equal package) packages)); 38 38 pkgpath = if package == "single" then "./" else "./${package}"; 39 39 pname = if package == "all" then "metacoq" else "metacoq-${package}"; 40 40 pkgallMake = ''
+3 -3
pkgs/development/coq-modules/metalib/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null }: 2 2 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 pname = "metalib"; 5 5 owner = "plclub"; 6 6 inherit version; 7 - defaultVersion = with versions; switch coq.coq-version [ 7 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 8 8 { case = range "8.14" "8.16"; out = "8.15"; } 9 9 { case = range "8.10" "8.13"; out = "8.10"; } 10 10 ] null; ··· 14 14 15 15 sourceRoot = "source/Metalib"; 16 16 17 - meta = { 17 + meta = with lib; { 18 18 license = licenses.mit; 19 19 maintainers = [ maintainers.jwiegley ]; 20 20 };
+5 -5
pkgs/development/coq-modules/multinomials/default.nix
··· 1 1 { coq, mkCoqDerivation, mathcomp, mathcomp-finmap, mathcomp-bigenough, 2 2 lib, version ? null, useDune ? false }@args: 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 5 5 namePrefix = [ "coq" "mathcomp" ]; 6 6 pname = "multinomials"; ··· 8 8 owner = "math-comp"; 9 9 10 10 inherit version; 11 - defaultVersion = with versions; switch [ coq.version mathcomp.version ] [ 11 + defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [ 12 12 { cases = [ (isGe "8.10") (isGe "1.12.0") ]; out = "1.5.5"; } 13 13 { cases = [ (range "8.10" "8.12") "1.12.0" ]; out = "1.5.3"; } 14 14 { cases = [ (range "8.7" "8.12") "1.11.0" ]; out = "1.5.2"; } ··· 31 31 "1.0".sha256 = "1qmbxp1h81cy3imh627pznmng0kvv37k4hrwi2faa101s6bcx55m"; 32 32 }; 33 33 34 - useDuneifVersion = v: versions.isGe "1.5.3" v || v == "dev"; 34 + useDuneifVersion = v: lib.versions.isGe "1.5.3" v || v == "dev"; 35 35 36 36 preConfigure = '' 37 37 patchShebangs configure || true ··· 42 42 43 43 meta = { 44 44 description = "A Coq/SSReflect Library for Monoidal Rings and Multinomials"; 45 - license = licenses.cecill-c; 45 + license = lib.licenses.cecill-c; 46 46 }; 47 47 } 48 - // optionalAttrs (args?useDune) { inherit useDune; } 48 + // lib.optionalAttrs (args?useDune) { inherit useDune; }
+2 -3
pkgs/development/coq-modules/odd-order/default.nix
··· 1 1 { lib, mkCoqDerivation, mathcomp, version ? null }: 2 - with lib; 3 2 4 3 mkCoqDerivation { 5 4 pname = "odd-order"; ··· 10 11 releaseRev = v: "mathcomp-odd-order.${v}"; 11 12 12 13 inherit version; 13 - defaultVersion = with versions; switch mathcomp.character.version [ 14 + defaultVersion = with lib.versions; lib.switch mathcomp.character.version [ 14 15 { case = (range "1.13.0" "1.15.0"); out = "1.14.0"; } 15 16 { case = (range "1.12.0" "1.14.0"); out = "1.13.0"; } 16 17 { case = (range "1.10.0" "1.12.0"); out = "1.12.0"; } ··· 26 27 mathcomp.all 27 28 ]; 28 29 29 - meta = { 30 + meta = with lib; { 30 31 description = "Formal proof of the Odd Order Theorem"; 31 32 maintainers = with maintainers; [ siraben ]; 32 33 license = licenses.cecill-b;
+3 -3
pkgs/development/coq-modules/paco/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null }: 2 2 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 pname = "paco"; 5 5 owner = "snu-sf"; 6 6 inherit version; 7 - defaultVersion = with versions; switch coq.coq-version [ 7 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 8 8 { case = range "8.12" "8.16"; out = "4.1.2"; } 9 9 { case = range "8.9" "8.13"; out = "4.1.1"; } 10 10 { case = range "8.6" "8.13"; out = "4.0.2"; } ··· 27 27 meta = { 28 28 homepage = "https://plv.mpi-sws.org/paco/"; 29 29 description = "A Coq library implementing parameterized coinduction"; 30 - maintainers = with maintainers; [ jwiegley ptival ]; 30 + maintainers = with lib.maintainers; [ jwiegley ptival ]; 31 31 }; 32 32 }
+3 -3
pkgs/development/coq-modules/paramcoq/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null }: 2 2 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 pname = "paramcoq"; 5 5 inherit version; 6 - defaultVersion = with versions; switch coq.version [ 6 + defaultVersion = with lib.versions; lib.switch coq.version [ 7 7 { case = range "8.10" "8.16"; out = "1.1.3+coq${coq.coq-version}"; } 8 8 { case = range "8.7" "8.13"; out = "1.1.2+coq${coq.coq-version}"; } 9 9 ] null; ··· 24 24 release."1.1.2+coq8.7".sha256 = "09n0ky7ldb24by7yf5j3hv410h85x50ksilf7qacl7xglj4gy5hj"; 25 25 releaseRev = v: "v${v}"; 26 26 mlPlugin = true; 27 - meta = { 27 + meta = with lib; { 28 28 description = "Coq plugin for parametricity"; 29 29 license = licenses.mit; 30 30 maintainers = [ maintainers.vbgl ];
+2 -3
pkgs/development/coq-modules/parsec/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, ceres, coq-ext-lib, version ? null }: 2 2 3 - with lib; 4 3 mkCoqDerivation { 5 4 6 5 pname = "parsec"; ··· 10 11 releaseRev = (v: "v${v}"); 11 12 12 13 inherit version; 13 - defaultVersion = with versions; switch coq.version [ 14 + defaultVersion = with lib.versions; lib.switch coq.version [ 14 15 { case = range "8.12" "8.16"; out = "0.1.1"; } 15 16 { case = range "8.12" "8.13"; out = "0.1.0"; } 16 17 ] null; 17 18 release."0.1.1".sha256 = "sha256:1c0l18s68pzd4c8i3jimh2yz0pqm4g38pca4bm7fr18r8xmqf189"; 18 19 release."0.1.0".sha256 = "sha256:01avfcqirz2b9wjzi9iywbhz9szybpnnj3672dgkfsimyg9jgnsr"; 19 20 20 - meta = { 21 + meta = with lib; { 21 22 description = "Library for serialization to S-expressions"; 22 23 license = licenses.bsd3; 23 24 maintainers = with maintainers; [ Zimmi48 ];
+2 -3
pkgs/development/coq-modules/pocklington/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null }: 2 - with lib; 3 2 4 3 mkCoqDerivation { 5 4 pname = "pocklington"; ··· 8 9 release."8.12.0".sha256 = "sha256-0xBrw9+4g14niYdNqp0nx00fPJoSSnaDSDEaIVpPfjs="; 9 10 10 11 inherit version; 11 - defaultVersion = with versions; switch coq.coq-version [ 12 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 12 13 { case = isGe "8.7"; out = "8.12.0"; } 13 14 ] null; 14 15 15 - meta = { 16 + meta = with lib; { 16 17 description = "Pocklington's criterion for primality in Coq"; 17 18 maintainers = with maintainers; [ siraben ]; 18 19 license = licenses.mit;
+2 -3
pkgs/development/coq-modules/reglang/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, ssreflect, version ? null }: 2 - with lib; 3 2 4 3 mkCoqDerivation { 5 4 pname = "reglang"; ··· 8 9 release."1.1.2".sha256 = "sha256-SEnMilLNxh6a3oiDNGLaBr8quQ/nO2T9Fwdf/1il2Yk="; 9 10 10 11 inherit version; 11 - defaultVersion = with versions; switch coq.coq-version [ 12 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 12 13 { case = range "8.10" "8.16"; out = "1.1.2"; } 13 14 ] null; 14 15 15 16 16 17 propagatedBuildInputs = [ ssreflect ]; 17 18 18 - meta = { 19 + meta = with lib; { 19 20 description = "Regular Language Representations in Coq"; 20 21 maintainers = with maintainers; [ siraben ]; 21 22 license = licenses.cecill-b;
+3 -4
pkgs/development/coq-modules/relation-algebra/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, aac-tactics, mathcomp, version ? null }: 2 - with lib; 3 2 4 3 mkCoqDerivation { 5 4 pname = "relation-algebra"; 6 5 owner = "damien-pous"; 7 6 8 7 releaseRev = v: 9 - if versions.isGe "1.7.6" v 8 + if lib.versions.isGe "1.7.6" v 10 9 then "v.${v}" 11 10 else "v${v}"; 12 11 ··· 19 20 release."1.7.1".sha256 = "sha256-WWVMcR6z8rT4wzZPb8SlaVWGe7NC8gScPqawd7bltQA="; 20 21 21 22 inherit version; 22 - defaultVersion = with versions; switch coq.coq-version [ 23 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 23 24 { case = isEq "8.16"; out = "1.7.8"; } 24 25 { case = isEq "8.15"; out = "1.7.7"; } 25 26 { case = isEq "8.14"; out = "1.7.6"; } ··· 34 35 35 36 propagatedBuildInputs = [ aac-tactics mathcomp.ssreflect ]; 36 37 37 - meta = { 38 + meta = with lib; { 38 39 description = "Relation algebra library for Coq"; 39 40 maintainers = with maintainers; [ siraben ]; 40 41 license = licenses.gpl3Plus;
+2 -3
pkgs/development/coq-modules/semantics/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null }: 2 - with lib; 3 2 4 3 mkCoqDerivation rec { 5 4 pname = "semantics"; ··· 14 15 release."8.6.0".sha256 = "sha256-GltkGQ3tJqUPAbdDkqqvKLLhMOap50XvGaCkjshiNdY="; 15 16 16 17 inherit version; 17 - defaultVersion = with versions; switch coq.coq-version [ 18 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 18 19 { case = range "8.10" "8.16"; out = "8.14.0"; } 19 20 { case = "8.9"; out = "8.9.0"; } 20 21 { case = "8.8"; out = "8.8.0"; } ··· 33 34 done 34 35 ''; 35 36 36 - meta = { 37 + meta = with lib; { 37 38 description = "A survey of programming language semantics styles in Coq"; 38 39 longDescription = '' 39 40 A survey of semantics styles in Coq, from natural semantics through
+1 -1
pkgs/development/coq-modules/serapi/default.nix
··· 17 17 inherit version release; 18 18 19 19 defaultVersion = with versions; 20 - switch coq.version [ 20 + lib.switch coq.version [ 21 21 { case = isEq "8.16"; out = "8.16.0+0.16.0"; } 22 22 { case = isEq "8.15"; out = "8.15.0+0.15.0"; } 23 23 { case = isEq "8.14"; out = "8.14.0+0.14.0"; }
+3 -3
pkgs/development/coq-modules/simple-io/default.nix
··· 1 1 { lib, callPackage, mkCoqDerivation, coq, coq-ext-lib, version ? null }: 2 2 3 - with lib; mkCoqDerivation { 3 + mkCoqDerivation { 4 4 pname = "simple-io"; 5 5 owner = "Lysxia"; 6 6 repo = "coq-simple-io"; 7 7 inherit version; 8 - defaultVersion = with versions; switch coq.coq-version [ 8 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 9 9 { case = range "8.11" "8.16"; out = "1.7.0"; } 10 10 { case = range "8.7" "8.13"; out = "1.3.0"; } 11 11 ] null; ··· 21 21 22 22 passthru.tests.HelloWorld = callPackage ./test.nix {}; 23 23 24 - meta = { 24 + meta = with lib; { 25 25 description = "Purely functional IO for Coq"; 26 26 license = licenses.mit; 27 27 maintainers = [ maintainers.vbgl ];
+2 -3
pkgs/development/coq-modules/smpl/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null }: 2 - with lib; 3 2 4 3 mkCoqDerivation { 5 4 pname = "smpl"; ··· 12 13 releaseRev = v: "v${v}"; 13 14 14 15 inherit version; 15 - defaultVersion = with versions; switch coq.version [ 16 + defaultVersion = with lib.versions; lib.switch coq.version [ 16 17 { case = isEq "8.15"; out = "8.15"; } 17 18 { case = isEq "8.14"; out = "8.14"; } 18 19 { case = "8.13.2"; out = "8.13"; } ··· 22 23 23 24 mlPlugin = true; 24 25 25 - meta = { 26 + meta = with lib; { 26 27 description = "A Coq plugin providing an extensible tactic similar to first"; 27 28 maintainers = with maintainers; [ siraben ]; 28 29 license = licenses.mit;
+2 -3
pkgs/development/coq-modules/smtcoq/default.nix
··· 1 1 { lib, stdenv, gcc10StdenvCompat, pkgs, mkCoqDerivation, coq, trakt, veriT, zchaff, fetchurl, version ? null }: 2 - with lib; 3 2 4 3 let 5 4 # version of veriT that works with SMTCoq ··· 22 23 release."2021-09-17".sha256 = "sha256-bF7ES+tXraaAJwVEwAMx3CUESpNlAUerQjr4d2eaGJQ="; 23 24 24 25 inherit version; 25 - defaultVersion = with versions; switch coq.version [ 26 + defaultVersion = with lib.versions; lib.switch coq.version [ 26 27 { case = isEq "8.13"; out = "2021-09-17"; } 27 28 ] null; 28 29 ··· 33 34 # This is meant to ease future troubleshooting of cvc4 build failures 34 35 passthru = { inherit cvc4; }; 35 36 36 - meta = { 37 + meta = with lib; { 37 38 description = "Communication between Coq and SAT/SMT solvers "; 38 39 maintainers = with maintainers; [ siraben ]; 39 40 license = licenses.cecill-b;
+3 -3
pkgs/development/coq-modules/stdpp/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null }: 2 2 3 - with lib; mkCoqDerivation rec { 3 + mkCoqDerivation rec { 4 4 pname = "stdpp"; 5 5 inherit version; 6 6 domain = "gitlab.mpi-sws.org"; 7 7 owner = "iris"; 8 - defaultVersion = with versions; switch coq.coq-version [ 8 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 9 9 { case = range "8.13" "8.16"; out = "1.8.0"; } 10 10 { case = range "8.12" "8.14"; out = "1.6.0"; } 11 11 { case = range "8.11" "8.13"; out = "1.5.0"; } ··· 24 24 fi 25 25 ''; 26 26 27 - meta = { 27 + meta = with lib; { 28 28 description = "An extended “Standard Library” for Coq"; 29 29 license = licenses.bsd3; 30 30 maintainers = [ maintainers.vbgl ];
+4 -4
pkgs/development/coq-modules/tlc/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null }: 2 2 3 - with lib; (mkCoqDerivation { 3 + (mkCoqDerivation { 4 4 pname = "tlc"; 5 5 owner = "charguer"; 6 6 inherit version; 7 7 displayVersion = { tlc = false; }; 8 - defaultVersion = with versions; switch coq.coq-version [ 8 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 9 9 { case = range "8.13" "8.16"; out = "20211215"; } 10 10 { case = range "8.12" "8.13"; out = "20210316"; } 11 11 { case = range "8.10" "8.12"; out = "20200328"; } ··· 16 16 release."20200328".sha256 = "16vzild9gni8zhgb3qhmka47f8zagdh03k6nssif7drpim8233lx"; 17 17 release."20181116".sha256 = "032lrbkxqm9d3fhf6nv1kq2z0mqd3czv3ijlbsjwnfh12xck4vpl"; 18 18 19 - meta = { 19 + meta = with lib; { 20 20 homepage = "http://www.chargueraud.org/softs/tlc/"; 21 21 description = "A non-constructive library for Coq"; 22 22 license = licenses.free; 23 23 maintainers = [ maintainers.vbgl ]; 24 24 }; 25 25 }).overrideAttrs (x: 26 - if versionAtLeast x.version "20210316" 26 + if lib.versionAtLeast x.version "20210316" 27 27 then {} 28 28 else { 29 29 installFlags = [ "CONTRIB=$(out)/lib/coq/${coq.coq-version}/user-contrib" ];
+3 -4
pkgs/development/coq-modules/topology/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, mathcomp, zorns-lemma, version ? null }: 2 - with lib; 3 2 4 3 mkCoqDerivation rec { 5 4 pname = "topology"; ··· 14 15 release."8.6.0".sha256 = "sha256-eu/dBEFo3y6vnXlJljUD4hds6+qgAPQVvsuspyGHcj8="; 15 16 16 17 inherit version; 17 - defaultVersion = with versions; switch coq.coq-version [ 18 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 18 19 { case = range "8.10" "8.16"; out = "9.0.0"; } 19 20 { case = "8.9"; out = "8.9.0"; } 20 21 { case = "8.8"; out = "8.8.0"; } ··· 24 25 25 26 propagatedBuildInputs = [ zorns-lemma ]; 26 27 27 - useDuneifVersion = versions.isGe "9.0"; 28 + useDuneifVersion = lib.versions.isGe "9.0"; 28 29 29 - meta = { 30 + meta = with lib; { 30 31 description = "General topology in Coq"; 31 32 longDescription = '' 32 33 This library develops some of the basic concepts and results of
+2 -3
pkgs/development/coq-modules/trakt/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, coq-elpi, version ? null }: 2 - with lib; 3 2 4 3 mkCoqDerivation { 5 4 pname = "trakt"; ··· 8 9 release."1.0".sha256 = "sha256-Qhw5fWFYxUFO2kIWWz/og+4fuy9aYG27szfNk3IglhY="; 9 10 10 11 inherit version; 11 - defaultVersion = with versions; switch [ coq.version ] [ 12 + defaultVersion = with lib.versions; lib.switch [ coq.version ] [ 12 13 { cases = [ (range "8.13" "8.16") ]; out = "1.0"; } 13 14 ] null; 14 15 15 16 propagatedBuildInputs = [ coq-elpi ]; 16 17 17 - meta = { 18 + meta = with lib; { 18 19 description = "A generic goal preprocessing tool for proof automation tactics in Coq"; 19 20 maintainers = with maintainers; [ siraben ]; 20 21 license = licenses.cecill-b;
+4 -5
pkgs/development/coq-modules/zorns-lemma/default.nix
··· 1 1 { lib, mkCoqDerivation, coq, version ? null }: 2 - with lib; 3 2 4 3 (mkCoqDerivation { 5 4 pname = "zorns-lemma"; ··· 15 16 release."8.5.0".sha256 = "sha256-mH/v02ObMjbVPYx2H+Jhz+Xp0XRKN67iMAdA1VNFzso="; 16 17 17 18 inherit version; 18 - defaultVersion = with versions; switch coq.coq-version [ 19 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 19 20 { case = range "8.10" "8.16"; out = "9.0.0"; } 20 21 { case = "8.9"; out = "8.9.0"; } 21 22 { case = "8.8"; out = "8.8.0"; } ··· 24 25 { case = "8.5"; out = "8.5.0"; } 25 26 ] null; 26 27 27 - useDuneifVersion = versions.isGe "9.0"; 28 + useDuneifVersion = lib.versions.isGe "9.0"; 28 29 29 - meta = { 30 + meta = with lib; { 30 31 description = "Development of basic set theory"; 31 32 longDescription = '' 32 33 This Coq library develops some basic set theory. The main ··· 36 37 maintainers = with maintainers; [ siraben ]; 37 38 license = licenses.lgpl21Plus; 38 39 }; 39 - }).overrideAttrs({version, ...}: if versions.isGe "9.0" version then { repo = "topology"; } else {}) 40 + }).overrideAttrs({version, ...}: if lib.versions.isGe "9.0" version then { repo = "topology"; } else {})
+4 -2
pkgs/development/libraries/exempi/default.nix
··· 1 - { lib, stdenv, fetchurl, fetchpatch, expat, zlib, boost, libiconv, darwin }: 1 + { lib, stdenv, fetchurl, expat, zlib, boost, libiconv, darwin }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "exempi"; ··· 21 21 doCheck = stdenv.isLinux && stdenv.is64bit; 22 22 dontDisableStatic = doCheck; 23 23 24 + enableParallelBuilding = true; 25 + 24 26 meta = with lib; { 25 27 description = "An implementation of XMP (Adobe's Extensible Metadata Platform)"; 26 - homepage = "https://libopenraw.freedesktop.org/wiki/Exempi/"; 28 + homepage = "https://libopenraw.freedesktop.org/exempi/"; 27 29 platforms = platforms.linux ++ platforms.darwin; 28 30 license = licenses.bsd3; 29 31 };
+2 -2
pkgs/development/libraries/intel-media-sdk/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "intel-media-sdk"; 6 - version = "22.5.4"; 6 + version = "22.6.5"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "Intel-Media-SDK"; 10 10 repo = "MediaSDK"; 11 11 rev = "intel-mediasdk-${version}"; 12 - sha256 = "sha256-f9b0+BWUlekMM0huPdJ5Ms4tYr/ipgfLiQ310FQKAXA="; 12 + sha256 = "sha256-W+lDqGZAenhRZ7tf4qfDNik/3rFNDM0DGSK/CdNRb8g="; 13 13 }; 14 14 15 15 nativeBuildInputs = [ cmake pkg-config ];
+34
pkgs/development/libraries/libcxxrt/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub, cmake, unstableGitUpdater }: 2 + 3 + stdenv.mkDerivation { 4 + pname = "libcxxrt"; 5 + version = "unstable-2022-08-08"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "libcxxrt"; 9 + repo = "libcxxrt"; 10 + rev = "a0f7f5c139a7daf71de0de201b6c405d852b1dc1"; 11 + sha256 = "6ErOhlD6pOudbTkFTlI2hjBuYT3QuzEiL33/mLnw1aI="; 12 + }; 13 + 14 + nativeBuildInputs = [ cmake ]; 15 + 16 + installPhase = '' 17 + mkdir -p $out/include $out/lib 18 + cp ../src/cxxabi.h $out/include 19 + cp lib/libcxxrt${stdenv.hostPlatform.extensions.library} $out/lib 20 + ''; 21 + 22 + passthru = { 23 + libName = "cxxrt"; 24 + updateScript = unstableGitUpdater { }; 25 + }; 26 + 27 + meta = with lib; { 28 + homepage = "https://github.com/libcxxrt/libcxxrt"; 29 + description = "Implementation of the Code Sourcery C++ ABI"; 30 + maintainers = with maintainers; [ qyliss ]; 31 + platforms = platforms.all; 32 + license = licenses.bsd2; 33 + }; 34 + }
+1 -1
pkgs/development/libraries/libdiscid/default.nix
··· 20 20 homepage = "http://musicbrainz.org/doc/libdiscid"; 21 21 maintainers = with maintainers; [ ehmry ]; 22 22 license = licenses.lgpl21; 23 - platforms = platforms.linux ++ platforms.darwin; 23 + platforms = platforms.all; 24 24 }; 25 25 }
+5 -5
pkgs/development/libraries/libomxil-bellagio/default.nix
··· 23 23 24 24 doCheck = false; # fails 25 25 26 - # Fix for #40213, probably permanent, because upstream doesn't seem to be 27 - # developed anymore. Alternatively, gcc7Stdenv could be used. 28 - NIX_CFLAGS_COMPILE = "-Wno-error=array-bounds -Wno-error=stringop-overflow=8"; 26 + NIX_CFLAGS_COMPILE = 27 + if stdenv.cc.isGNU then "-Wno-error=array-bounds -Wno-error=stringop-overflow=8" 28 + else "-Wno-error=absolute-value -Wno-error=enum-conversion -Wno-error=logical-not-parentheses -Wno-error=non-literal-null-conversion"; 29 29 30 30 meta = with lib; { 31 - homepage = "https://sourceforge.net/projects/omxil/"; 31 + homepage = "https://omxil.sourceforge.net/"; 32 32 description = "An opensource implementation of the Khronos OpenMAX Integration Layer API to access multimedia components"; 33 - license = licenses.lgpl21; 33 + license = licenses.lgpl21Plus; 34 34 platforms = platforms.linux; 35 35 }; 36 36 }
+23
pkgs/development/libraries/libsv/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub, cmake }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "libsv"; 5 + version = "1.1"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "uael"; 9 + repo = "sv"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-icvGQi6FNSZXNGs2oLiUKu6rrVsWcXh1r91kycGjnwY="; 12 + }; 13 + 14 + nativeBuildInputs = [ cmake ]; 15 + 16 + meta = with lib; { 17 + description = "Public domain cross-platform semantic versioning in C99"; 18 + homepage = "https://github.com/uael/sv"; 19 + license = licenses.unlicense; 20 + maintainers = with maintainers; [ candyc1oud ]; 21 + platforms = platforms.unix; 22 + }; 23 + }
+2 -2
pkgs/development/libraries/mdds/default.nix
··· 8 8 9 9 stdenv.mkDerivation (finalAttrs: { 10 10 pname = "mdds"; 11 - version = "2.0.3"; 11 + version = "2.1.0"; 12 12 13 13 src = fetchFromGitLab { 14 14 owner = "mdds"; 15 15 repo = "mdds"; 16 16 rev = finalAttrs.version; 17 - hash = "sha256-Y9uBJKM34UTEj/3c1w69QHhvwFcMNlAohEco0O0B+xI="; 17 + hash = "sha256-RZ2wGwle4raWlogc5X+VEeriPGS0Nqs7CWGENFEotvs="; 18 18 }; 19 19 20 20 nativeBuildInputs = [ autoreconfHook ];
+2 -2
pkgs/development/libraries/ntirpc/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "ntirpc"; 7 - version = "4.2"; 7 + version = "4.3"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "nfs-ganesha"; 11 11 repo = "ntirpc"; 12 12 rev = "v${version}"; 13 - sha256 = "sha256-rVv5TLxirtmoRJl0+RupbkvzChuSMSGi3NTa0dchZSU="; 13 + sha256 = "sha256-P9+t9dTiEKjloulypWPJ4sXWWemq9zPUH/Kctvq1SUQ="; 14 14 }; 15 15 16 16 postPatch = ''
+11 -11
pkgs/development/libraries/raft-canonical/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "raft-canonical"; 5 - version = "0.11.2"; 5 + version = "0.16.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "canonical"; 9 9 repo = "raft"; 10 - rev = "v${version}"; 11 - sha256 = "050dwy34jh8dihfwfm0r1by2i3sy9crapipp9idw32idm79y4izb"; 10 + rev = "refs/tags/v${version}"; 11 + hash = "sha256-qDLAEhknY+BB83OC6tfi7w/ZY/K492J5ZglLNUoBwbc="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ autoreconfHook file pkg-config ]; ··· 16 16 17 17 enableParallelBuilding = true; 18 18 19 - # Ignore broken test, likely not causing huge breakage 20 - # (https://github.com/canonical/raft/issues/292) 21 - postPatch = '' 22 - substituteInPlace test/integration/test_uv_tcp_connect.c --replace \ 23 - "TEST(tcp_connect, closeDuringHandshake, setUp, tearDownDeps, 0, NULL)" \ 24 - "TEST(tcp_connect, closeDuringHandshake, setUp, tearDownDeps, MUNIT_TEST_OPTION_TODO, NULL)" 25 - ''; 19 + patches = [ 20 + # network tests either hang indefinitely, or fail outright 21 + ./disable-net-tests.patch 22 + 23 + # missing dir check is flaky 24 + ./disable-missing-dir-test.patch 25 + ]; 26 26 27 27 preConfigure = '' 28 28 substituteInPlace configure --replace /usr/bin/ " " ··· 46 46 homepage = "https://github.com/canonical/raft"; 47 47 license = licenses.asl20; 48 48 platforms = platforms.linux; 49 - maintainers = with maintainers; [ wucke13 ]; 49 + maintainers = with maintainers; [ wucke13 adamcstephens ]; 50 50 }; 51 51 }
+23
pkgs/development/libraries/raft-canonical/disable-missing-dir-test.patch
··· 1 + diff --git a/test/unit/test_uv_fs.c b/test/unit/test_uv_fs.c 2 + index 638c39c..c8758d2 100644 3 + --- a/test/unit/test_uv_fs.c 4 + +++ b/test/unit/test_uv_fs.c 5 + @@ -40,18 +40,6 @@ TEST(UvFsCheckDir, exists, DirSetUp, DirTearDown, 0, NULL) 6 + return MUNIT_OK; 7 + } 8 + 9 + -/* If the directory doesn't exist, it an error is returned. */ 10 + -TEST(UvFsCheckDir, doesNotExist, DirSetUp, DirTearDown, 0, NULL) 11 + -{ 12 + - const char *parent = data; 13 + - char errmsg[RAFT_ERRMSG_BUF_SIZE]; 14 + - char dir[128]; 15 + - sprintf(errmsg, "%s/sub", parent); 16 + - sprintf(errmsg, "directory '%s' does not exist", dir); 17 + - CHECK_DIR_ERROR(dir, RAFT_NOTFOUND, errmsg); 18 + - return MUNIT_OK; 19 + -} 20 + - 21 + /* If the process can't access the directory, an error is returned. */ 22 + TEST(UvFsCheckDir, permissionDenied, NULL, NULL, 0, NULL) 23 + {
+16
pkgs/development/libraries/raft-canonical/disable-net-tests.patch
··· 1 + diff --git a/Makefile.am b/Makefile.am 2 + index 2137932..93abdb6 100644 3 + --- a/Makefile.am 4 + +++ b/Makefile.am 5 + @@ -198,11 +198,7 @@ test_integration_uv_SOURCES = \ 6 + test/integration/test_uv_bootstrap.c \ 7 + test/integration/test_uv_load.c \ 8 + test/integration/test_uv_recover.c \ 9 + - test/integration/test_uv_recv.c \ 10 + - test/integration/test_uv_send.c \ 11 + test/integration/test_uv_set_term.c \ 12 + - test/integration/test_uv_tcp_connect.c \ 13 + - test/integration/test_uv_tcp_listen.c \ 14 + test/integration/test_uv_snapshot_put.c \ 15 + test/integration/test_uv_truncate.c \ 16 + test/integration/test_uv_work.c
+2 -2
pkgs/development/libraries/vxl/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, unzip, cmake, libtiff, expat, zlib, libpng, libjpeg }: 2 2 stdenv.mkDerivation rec { 3 3 pname = "vxl"; 4 - version = "3.3.2"; 4 + version = "3.5.0"; 5 5 6 6 src = fetchFromGitHub { 7 7 owner = "vxl"; 8 8 repo = "vxl"; 9 9 rev = "v${version}"; 10 - sha256 = "0qmqrijl14xlsbd77jk9ygg44h3lqzpswia6yif1iia6smqccjsr"; 10 + sha256 = "sha256-4kMpIrywEZzt0JH95LHeDLrDneii0R/Uw9GsWkvED+E="; 11 11 }; 12 12 13 13 nativeBuildInputs = [ cmake unzip ];
+1 -1
pkgs/development/libraries/zziplib/default.nix
··· 76 76 ''; 77 77 license = with licenses; [ lgpl2Plus mpl11 ]; 78 78 maintainers = with maintainers; [ AndersonTorres ]; 79 - platforms = python3.meta.platforms; 79 + platforms = platforms.unix; 80 80 }; 81 81 }
+34
pkgs/development/lua-modules/generated-packages.nix
··· 2019 2019 }; 2020 2020 }) {}; 2021 2021 2022 + lualdap = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2023 + , fetchgit, lua 2024 + }: 2025 + buildLuarocksPackage { 2026 + pname = "lualdap"; 2027 + version = "1.3.0-1"; 2028 + knownRockspec = (fetchurl { 2029 + url = "mirror://luarocks/lualdap-1.3.0-1.rockspec"; 2030 + sha256 = "0b51sm0fz4kiim20w538v31k9g20wq3msxdkh17drkr60ab25sc8"; 2031 + }).outPath; 2032 + src = fetchgit ( removeAttrs (builtins.fromJSON ''{ 2033 + "url": "https://github.com/lualdap/lualdap", 2034 + "rev": "be380f5d98f779c813a4fb4ae1400262366fc8d4", 2035 + "date": "2021-06-05T15:49:42+02:00", 2036 + "path": "/nix/store/99sy73yz6sidqhkl0kwdsd7r853aw38n-lualdap", 2037 + "sha256": "133d8br5f24z03ni38m0czrqfz0mr0ksdrc1g73rawpmiqarpps8", 2038 + "fetchLFS": false, 2039 + "fetchSubmodules": true, 2040 + "deepClone": false, 2041 + "leaveDotGit": false 2042 + } 2043 + '') ["date" "path"]) ; 2044 + 2045 + disabled = with lua; (luaOlder "5.1"); 2046 + propagatedBuildInputs = [ lua ]; 2047 + 2048 + meta = { 2049 + homepage = "https://lualdap.github.io/lualdap/"; 2050 + description = "A Lua interface to the OpenLDAP library"; 2051 + maintainers = with lib.maintainers; [ aanderse ]; 2052 + license.fullName = "MIT"; 2053 + }; 2054 + }) {}; 2055 + 2022 2056 lualogging = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2023 2057 , fetchgit, luasocket 2024 2058 }:
+7
pkgs/development/lua-modules/overrides.nix
··· 27 27 , mariadb 28 28 , mpfr 29 29 , neovim-unwrapped 30 + , openldap 30 31 , openssl 31 32 , pcre 32 33 , pkg-config ··· 328 327 }; 329 328 knownRockspec = with prev.luaffi; "${pname}-${version}.rockspec"; 330 329 disabled = luaOlder "5.1" || luaAtLeast "5.4" || isLuaJIT; 330 + }); 331 + 332 + lualdap = prev.luaLib.overrideLuarocks prev.lualdap (drv: { 333 + externalDeps = [ 334 + { name = "LDAP"; dep = openldap; } 335 + ]; 331 336 }); 332 337 333 338 luaossl = prev.luaLib.overrideLuarocks prev.luaossl (drv: {
+20
pkgs/development/nim-packages/asynctools/default.nix
··· 1 + { lib, buildNimPackage, fetchFromGitHub, astpatternmatching }: 2 + 3 + buildNimPackage rec { 4 + pname = "asynctools"; 5 + version = "unstable-2021-07-06"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "cheatfate"; 9 + repo = "asynctools"; 10 + rev = "84ced6d002789567f2396c75800ffd6dff2866f7"; 11 + hash = "sha256-mrO+WeSzCBclqC2UNCY+IIv7Gs8EdTDaTeSgXy3TgNM="; 12 + }; 13 + 14 + meta = with lib; { 15 + description = "Various asynchronous tools for Nim language"; 16 + homepage = "https://github.com/cheatfate/asynctools"; 17 + license = licenses.mit; 18 + maintainers = [ maintainers.marsam ]; 19 + }; 20 + }
+13
pkgs/development/ocaml-modules/carton/carton-find-getconf.patch
··· 1 + diff --git a/bin/fiber/fiber.ml b/bin/fiber/fiber.ml 2 + index 188a92cc9..6087a8687 100644 3 + --- a/bin/fiber/fiber.ml 4 + +++ b/bin/fiber/fiber.ml 5 + @@ -129,7 +129,7 @@ let worker pool = 6 + 7 + let get_concurrency () = 8 + try 9 + - let ic = Unix.open_process_in "getconf _NPROCESSORS_ONLN" in 10 + + let ic = Unix.open_process_in "@getconf@/bin/getconf _NPROCESSORS_ONLN" in 11 + let close () = ignore (Unix.close_process_in ic) in 12 + let sc = Scanf.Scanning.from_channel ic in 13 + try
+8
pkgs/development/ocaml-modules/carton/default.nix
··· 3 3 , checkseum, logs, psq, fmt 4 4 , result, rresult, fpath, base64, bos, digestif, alcotest 5 5 , crowbar, alcotest-lwt, lwt, findlib, mirage-flow, cmdliner, hxd 6 + , getconf, substituteAll 6 7 }: 7 8 8 9 buildDunePackage rec { ··· 16 15 url = "https://github.com/mirage/ocaml-git/releases/download/${pname}-v${version}/git-${pname}-v${version}.tbz"; 17 16 sha256 = "sha256-NAm4Xq7L0Dgynr8cKZQ356M4GR6D19LbCRxvnSlIf1U="; 18 17 }; 18 + 19 + patches = [ 20 + (substituteAll { 21 + src = ./carton-find-getconf.patch; 22 + getconf = "${getconf}"; 23 + }) 24 + ]; 19 25 20 26 # remove changelogs for mimic and the git* packages 21 27 postPatch = ''
+2
pkgs/development/ocaml-modules/paf/cohttp.nix
··· 47 47 astring 48 48 ]; 49 49 50 + __darwinAllowLocalNetworking = true; 51 + 50 52 meta = paf.meta // { 51 53 description = "A CoHTTP client with its HTTP/AF implementation"; 52 54 };
+2
pkgs/development/ocaml-modules/paf/default.nix
··· 61 61 alcotest-lwt 62 62 ]; 63 63 64 + __darwinAllowLocalNetworking = true; 65 + 64 66 meta = { 65 67 description = "HTTP/AF and MirageOS"; 66 68 license = lib.licenses.mit;
+2 -12
pkgs/development/python-modules/aio-geojson-client/default.nix
··· 3 3 , aresponses 4 4 , buildPythonPackage 5 5 , fetchFromGitHub 6 - , fetchpatch 7 6 , geojson 8 7 , haversine 9 8 , mock ··· 13 14 14 15 buildPythonPackage rec { 15 16 pname = "aio-geojson-client"; 16 - version = "0.17"; 17 + version = "0.18"; 17 18 format = "setuptools"; 18 19 19 20 disabled = pythonOlder "3.7"; ··· 22 23 owner = "exxamalte"; 23 24 repo = "python-aio-geojson-client"; 24 25 rev = "refs/tags/v${version}"; 25 - hash = "sha256-5GiQgtbvYeleovFbXO2vlr2XPsDIWZiElM64O+urMcY="; 26 + hash = "sha256-nvfy1XLiMjyCiQo/YuzRbDtxGmAUAiq8UJwS/SkN3oM="; 26 27 }; 27 - 28 - patches = [ 29 - # Remove asynctest, https://github.com/exxamalte/python-aio-geojson-client/pull/35 30 - (fetchpatch { 31 - name = "remove-asynctest.patch"; 32 - url = "https://github.com/exxamalte/python-aio-geojson-client/commit/bf617d9898a99b026b43b28bd87bb6479f518c0a.patch"; 33 - hash = "sha256-uomH3LCaklfGURDs8SsnvNyHkubbe+5dleLEjW+I+M4="; 34 - }) 35 - ]; 36 28 37 29 propagatedBuildInputs = [ 38 30 aiohttp
+2 -1
pkgs/development/python-modules/aio-geojson-generic-client/default.nix
··· 21 21 src = fetchFromGitHub { 22 22 owner = "exxamalte"; 23 23 repo = "python-aio-geojson-generic-client"; 24 - rev = "v${version}"; 24 + rev = "refs/tags/v${version}"; 25 25 hash = "sha256-6Gc3SRRQiISBZnCg7a+rCQHR4NQipBHmG5gWZZXIsxY="; 26 26 }; 27 27 ··· 45 45 meta = with lib; { 46 46 description = "Python library for accessing GeoJSON feeds"; 47 47 homepage = "https://github.com/exxamalte/python-aio-geojson-generic-client"; 48 + changelog = "https://github.com/exxamalte/python-aio-geojson-generic-client/blob/v${version}/CHANGELOG.md"; 48 49 license = with licenses; [ asl20 ]; 49 50 maintainers = with maintainers; [ fab ]; 50 51 };
+5 -4
pkgs/development/python-modules/aio-geojson-geonetnz-quakes/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "aio-geojson-geonetnz-quakes"; 15 - version = "0.14"; 15 + version = "0.15"; 16 16 format = "setuptools"; 17 17 18 18 disabled = pythonOlder "3.7"; ··· 20 20 src = fetchFromGitHub { 21 21 owner = "exxamalte"; 22 22 repo = "python-aio-geojson-geonetnz-quakes"; 23 - rev = "v${version}"; 24 - hash = "sha256-T3vQodb0/3YEjsyHLSI8DBKK75J8hvsaBqyQI7GkT3U="; 23 + rev = "refs/tags/v${version}"; 24 + hash = "sha256-/EPPEGLtiZBorZMnVg0NqwnHCbCXyZzz4449MzAYQx8="; 25 25 }; 26 26 27 27 propagatedBuildInputs = [ ··· 42 42 43 43 meta = with lib; { 44 44 description = "Python module for accessing the GeoNet NZ Quakes GeoJSON feeds"; 45 - homepage = "https://github.com/exxamalte/pythonaio-geojson-geonetnz-quakes"; 45 + homepage = "https://github.com/exxamalte/python-aio-geojson-geonetnz-quakes"; 46 + changelog = "https://github.com/exxamalte/python-aio-geojson-geonetnz-quakes/blob/v${version}/CHANGELOG.md"; 46 47 license = with licenses; [ asl20 ]; 47 48 maintainers = with maintainers; [ fab ]; 48 49 };
+2 -12
pkgs/development/python-modules/aio-geojson-geonetnz-volcano/default.nix
··· 5 5 , mock 6 6 , buildPythonPackage 7 7 , fetchFromGitHub 8 - , fetchpatch 9 8 , pytest-asyncio 10 9 , pytestCheckHook 11 10 , pytz ··· 13 14 14 15 buildPythonPackage rec { 15 16 pname = "aio-geojson-geonetnz-volcano"; 16 - version = "0.7"; 17 + version = "0.8"; 17 18 format = "setuptools"; 18 19 19 20 disabled = pythonOlder "3.7"; ··· 22 23 owner = "exxamalte"; 23 24 repo = "python-aio-geojson-geonetnz-volcano"; 24 25 rev = "refs/tags/v${version}"; 25 - sha256 = "sha256-2iVUHMk4ydmGmmGS6lJV5pvxJHyP9bRSeh/dOXbquE0="; 26 + sha256 = "sha256-wJVFjy6QgYb6GX9pZTylYFvCRWmD2lAFZKnodsa8Yqo="; 26 27 }; 27 - 28 - patches = [ 29 - # Remove asynctest, https://github.com/exxamalte/python-aio-geojson-geonetnz-volcano/pull/18 30 - (fetchpatch { 31 - name = "remove-asynctest.patch"; 32 - url = "https://github.com/exxamalte/python-aio-geojson-geonetnz-volcano/commit/d04a488130375c78efa541fd63a5d88bd6b0fd49.patch"; 33 - hash = "sha256-ArG8CovJckzzNebd03WeU5i/jPqy2HRVBL3ICk5nZ5Y="; 34 - }) 35 - ]; 36 28 37 29 propagatedBuildInputs = [ 38 30 aio-geojson-client
+4 -5
pkgs/development/python-modules/aio-geojson-nsw-rfs-incidents/default.nix
··· 2 2 , aio-geojson-client 3 3 , aiohttp 4 4 , aresponses 5 - , asynctest 6 5 , buildPythonPackage 7 6 , fetchFromGitHub 8 7 , pytest-asyncio ··· 12 13 13 14 buildPythonPackage rec { 14 15 pname = "aio-geojson-nsw-rfs-incidents"; 15 - version = "0.5"; 16 + version = "0.6"; 16 17 format = "setuptools"; 17 18 18 19 disabled = pythonOlder "3.7"; ··· 20 21 src = fetchFromGitHub { 21 22 owner = "exxamalte"; 22 23 repo = "python-aio-geojson-nsw-rfs-incidents"; 23 - rev = "v${version}"; 24 - sha256 = "sha256-rWlt4MYnuY+CzszFVDniWBnqpQW3WldSEl00ns3ko3U="; 24 + rev = "refs/tags/v${version}"; 25 + hash = "sha256-pn0r5iLpNnK3xmAhq/oX90hdiHgFDuwDQqfAzkp5jmw="; 25 26 }; 26 27 27 28 propagatedBuildInputs = [ ··· 32 33 33 34 nativeCheckInputs = [ 34 35 aresponses 35 - asynctest 36 36 pytest-asyncio 37 37 pytestCheckHook 38 38 ]; ··· 43 45 meta = with lib; { 44 46 description = "Python module for accessing the NSW Rural Fire Service incidents feeds"; 45 47 homepage = "https://github.com/exxamalte/python-aio-geojson-nsw-rfs-incidents"; 48 + changelog = "https://github.com/exxamalte/python-aio-geojson-geonetnz-quakes/blob/v${version}/CHANGELOG.md"; 46 49 license = with licenses; [ asl20 ]; 47 50 maintainers = with maintainers; [ fab ]; 48 51 };
+2 -1
pkgs/development/python-modules/aio-geojson-usgs-earthquakes/default.nix
··· 21 21 src = fetchFromGitHub { 22 22 owner = "exxamalte"; 23 23 repo = "python-aio-geojson-usgs-earthquakes"; 24 - rev = "v${version}"; 24 + rev = "refs/tags/v${version}"; 25 25 hash = "sha256-Hb0/BdK/jjxlPl9WJJpFdOCzZpZDCguXoGreGIyN8oo="; 26 26 }; 27 27 ··· 45 45 meta = with lib; { 46 46 description = "Python module for accessing the U.S. Geological Survey Earthquake Hazards Program feeds"; 47 47 homepage = "https://github.com/exxamalte/python-aio-geojson-usgs-earthquakes"; 48 + changelog = "https://github.com/exxamalte/python-aio-geojson-usgs-earthquakes/blob/v${version}/CHANGELOG.md"; 48 49 license = with licenses; [ asl20 ]; 49 50 maintainers = with maintainers; [ fab ]; 50 51 };
+2 -2
pkgs/development/python-modules/aioecowitt/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "aioecowitt"; 13 - version = "2022.11.0"; 13 + version = "2023.01.0"; 14 14 format = "setuptools"; 15 15 16 16 disabled = pythonOlder "3.9"; ··· 19 19 owner = "home-assistant-libs"; 20 20 repo = pname; 21 21 rev = "refs/tags/${version}"; 22 - hash = "sha256-v+O4J3GZZelF3H3BbL7LVRZEIH01WrDNnmOOWG4rVT0="; 22 + hash = "sha256-xOoKrGBkMEdpeiU1r27xlZp5s5sGJzvD7Ats+w6KR/o="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/aioshelly/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "aioshelly"; 12 - version = "5.2.1"; 12 + version = "5.3.0"; 13 13 format = "setuptools"; 14 14 15 15 disabled = pythonOlder "3.9"; ··· 18 18 owner = "home-assistant-libs"; 19 19 repo = pname; 20 20 rev = "refs/tags/${version}"; 21 - hash = "sha256-rz8r+FieBQAZKxZR741CffuEyGcLe6ghdEKFGfeD6vg="; 21 + hash = "sha256-tsjHs1v5Yth5XToznCdAWoe70Lhxqh6Mq/MHKSYYg14="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/boschshcpy/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "boschshcpy"; 13 - version = "0.2.43"; 13 + version = "0.2.48"; 14 14 format = "setuptools"; 15 15 16 16 disabled = pythonOlder "3.7"; ··· 19 19 owner = "tschamm"; 20 20 repo = pname; 21 21 rev = version; 22 - sha256 = "sha256-qxJ1yt8KI3ekza1KNfRRBtpPLNC/X0q7ITPhZkS1hPM="; 22 + sha256 = "sha256-EPS9kqlognIoMnpgmFl32FVT1ahyliizLzGfgE3N24Y="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+3 -3
pkgs/development/python-modules/cometblue-lite/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "cometblue-lite"; 11 - version = "0.5.3"; 11 + version = "0.7.0"; 12 12 format = "setuptools"; 13 13 14 14 disabled = pythonOlder "3.8"; ··· 16 16 src = fetchFromGitHub { 17 17 owner = "neffs"; 18 18 repo = "python-cometblue_lite"; 19 - rev = version; 20 - hash = "sha256-KRWS2nqMFlF+IcBSmnQH3ptp6yxRQjAFY6aY0D7eZBs="; 19 + rev = "refs/tags/${version}"; 20 + hash = "sha256-Cjd7PdZ2/neRr1jStDY5iJaGMJ/srnFmCea8aLNan6g="; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/dbus-fast/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "dbus-fast"; 14 - version = "1.83.1"; 14 + version = "1.84.0"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 20 20 owner = "Bluetooth-Devices"; 21 21 repo = pname; 22 22 rev = "refs/tags/v${version}"; 23 - hash = "sha256-hfO4dbMA6efQPwP0Bp/5IDb7mLHf1NuTuiJjhHivG6I="; 23 + hash = "sha256-AdfrzN7ufvy77tKjnHPNo+jHoHRw9fXtdUdYvdnMAjs="; 24 24 }; 25 25 26 26 nativeBuildInputs = [
+3 -2
pkgs/development/python-modules/django_silk/default.nix
··· 26 26 27 27 buildPythonPackage rec { 28 28 pname = "django-silk"; 29 - version = "5.0.2"; 29 + version = "5.0.3"; 30 30 format = "setuptools"; 31 31 32 32 disabled = pythonOlder "3.7"; ··· 35 35 owner = "jazzband"; 36 36 repo = "django-silk"; 37 37 rev = "refs/tags/${version}"; 38 - hash = "sha256-LzcbRZ9NLTkDTZ2eW+uXYqPbWDSdLZAJcYdD8JLuiDc="; 38 + hash = "sha256-91FcOqAYZK7/RCKgXjbQEPUQ2cZRFi7NzVLQF+MMDRI="; 39 39 }; 40 40 41 41 # "test_time_taken" tests aren't suitable for reproducible execution, but Django's ··· 95 95 meta = with lib; { 96 96 description = "Silky smooth profiling for the Django Framework"; 97 97 homepage = "https://github.com/jazzband/django-silk"; 98 + changelog = "https://github.com/jazzband/django-silk/blob/${version}/CHANGELOG.md"; 98 99 license = licenses.mit; 99 100 maintainers = with maintainers; [ ris ]; 100 101 };
+2 -2
pkgs/development/python-modules/garminconnect/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "garminconnect"; 11 - version = "0.1.50"; 11 + version = "0.1.51"; 12 12 format = "setuptools"; 13 13 14 14 disabled = pythonOlder "3.7"; ··· 17 17 owner = "cyberjunky"; 18 18 repo = "python-garminconnect"; 19 19 rev = "refs/tags/${version}"; 20 - hash = "sha256-M9FH8xbNo5NF2PktiG4SpZl4tjH7H937Rbqhe6VV+Bk="; 20 + hash = "sha256-SEolk0bbq3vNNMFz5B/qELaiCFCZFXJD4zTH8hBUX+Y="; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+3 -2
pkgs/development/python-modules/gehomesdk/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "gehomesdk"; 16 - version = "0.5.7"; 16 + version = "0.5.8"; 17 17 format = "setuptools"; 18 18 19 19 disabled = pythonOlder "3.7"; 20 20 21 21 src = fetchPypi { 22 22 inherit pname version; 23 - sha256 = "sha256-FmCoryNX1DnqMlGalad5iWO2ZRZwXgWgARQMYlJ6yVo="; 23 + hash = "sha256-x83CmOAZFaIDv4bzO01YZxVPVM/cwUpJtKdCWOxH/O4="; 24 24 }; 25 25 26 26 propagatedBuildInputs = [ ··· 44 44 meta = with lib; { 45 45 description = "Python SDK for GE smart appliances"; 46 46 homepage = "https://github.com/simbaja/gehome"; 47 + changelog = "https://github.com/simbaja/gehome/blob/master/CHANGELOG.md"; 47 48 license = licenses.mit; 48 49 maintainers = with maintainers; [ fab ]; 49 50 };
+3 -2
pkgs/development/python-modules/geojson-client/default.nix
··· 19 19 src = fetchFromGitHub { 20 20 owner = "exxamalte"; 21 21 repo = "python-geojson-client"; 22 - rev = "v${version}"; 23 - sha256 = "sha256-nzM5P1ww6yWM3e2v3hRw0ECoYmRPhTs0Q7Wwicl+IpU="; 22 + rev = "refs/tags/v${version}"; 23 + hash = "sha256-nzM5P1ww6yWM3e2v3hRw0ECoYmRPhTs0Q7Wwicl+IpU="; 24 24 }; 25 25 26 26 propagatedBuildInputs = [ ··· 41 41 meta = with lib; { 42 42 description = "Python module for convenient access to GeoJSON feeds"; 43 43 homepage = "https://github.com/exxamalte/python-geojson-client"; 44 + changelog = "https://github.com/exxamalte/python-geojson-client/blob/v${version}/CHANGELOG.md"; 44 45 license = with licenses; [ asl20 ]; 45 46 maintainers = with maintainers; [ fab ]; 46 47 };
+2 -2
pkgs/development/python-modules/google-cloud-error-reporting/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "google-cloud-error-reporting"; 17 - version = "1.8.0"; 17 + version = "1.8.1"; 18 18 format = "setuptools"; 19 19 20 20 disabled = pythonOlder "3.7"; 21 21 22 22 src = fetchPypi { 23 23 inherit pname version; 24 - hash = "sha256-XFOgoe6xphHyp/zbd+RR+9dXebMcU7/c2ETFGy+lg3U="; 24 + hash = "sha256-Xl+Jc05daQZPh4xggf/JYYlJ5Lx6LafqWhMcVdk/r6o="; 25 25 }; 26 26 27 27 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/google-cloud-iot/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "google-cloud-iot"; 17 - version = "2.8.0"; 17 + version = "2.8.1"; 18 18 format = "setuptools"; 19 19 20 20 disabled = pythonOlder "3.7"; 21 21 22 22 src = fetchPypi { 23 23 inherit pname version; 24 - hash = "sha256-YckGLp3A4rngs/KXOg3/AE4RyboUIoy0NGf44unn/ns="; 24 + hash = "sha256-Rh23HbHv1FVmiZtyofv0bktv7tZWN3IS5jQawzbFfRk="; 25 25 }; 26 26 27 27 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/google-cloud-pubsub/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "google-cloud-pubsub"; 19 - version = "2.13.12"; 19 + version = "2.14.0"; 20 20 format = "setuptools"; 21 21 22 22 disabled = pythonOlder "3.7"; 23 23 24 24 src = fetchPypi { 25 25 inherit pname version; 26 - hash = "sha256-/qa/3RKWC0SDgDeax/CwiZtSc9Nxm1cHJAKT6si2ecw="; 26 + hash = "sha256-4nFPB7dQRYvq9bB7Zw6ntgWO4VXAIcmH0LjmpAvzRG8="; 27 27 }; 28 28 29 29 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/google-cloud-secret-manager/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "google-cloud-secret-manager"; 15 - version = "2.15.0"; 15 + version = "2.15.1"; 16 16 format = "setuptools"; 17 17 18 18 disabled = pythonOlder "3.7"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - hash = "sha256-KYKs/yUUKmgWxNp+EhD1Wcim/9dajatdl0QW0bZKByg="; 22 + hash = "sha256-0ubTvpHT6HfCg5lfdbzAnP77oWPZw2N78qZs6tGim6M="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/google-cloud-tasks/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "google-cloud-tasks"; 16 - version = "2.12.0"; 16 + version = "2.12.1"; 17 17 format = "setuptools"; 18 18 19 19 disabled = pythonOlder "3.7"; 20 20 21 21 src = fetchPypi { 22 22 inherit pname version; 23 - hash = "sha256-8dhYoj3/EXwMZLRduwskoAn7NSjA4N8xhIw8UbAAhnY="; 23 + hash = "sha256-2kRj5zlAPVO2U3EzN+opz5OBtwEru5RqGOXGqLUPaUA="; 24 24 }; 25 25 26 26 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/google-cloud-texttospeech/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "google-cloud-texttospeech"; 15 - version = "2.14.0"; 15 + version = "2.14.1"; 16 16 format = "setuptools"; 17 17 18 18 disabled = pythonOlder "3.8"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - hash = "sha256-q4OD37ryZqg40L89BNZdLCNeC1QPwVhUaT4S5tO88Jk="; 22 + hash = "sha256-3XFvKnaK1nUCz9mbmSXFH/1uFr6TtBCr7v/arBkL/oE="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/griffe/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "griffe"; 15 - version = "0.25.3"; 15 + version = "0.25.4"; 16 16 format = "pyproject"; 17 17 18 18 disabled = pythonOlder "3.7"; ··· 21 21 owner = "mkdocstrings"; 22 22 repo = pname; 23 23 rev = "refs/tags/${version}"; 24 - hash = "sha256-t36uWIREn01/+dIYP5HYlkSPPjgoZoYbJYnFo3Y6qSw="; 24 + hash = "sha256-AZZhwHtVhdHkztzr/Hdi63VC5CjK2Vz8h8zizmSUdNY="; 25 25 }; 26 26 27 27 postPatch = ''
+2 -2
pkgs/development/python-modules/hassil/default.nix
··· 16 16 17 17 let 18 18 pname = "hassil"; 19 - version = "0.2.4"; 19 + version = "0.2.5"; 20 20 in 21 21 buildPythonPackage { 22 22 inherit pname version; ··· 24 24 25 25 src = fetchPypi { 26 26 inherit pname version; 27 - hash = "sha256-lgGo3zK1GN3MEOinXuvT5nCc8LBCxAHiW0CZfS8Yy7Y="; 27 + hash = "sha256-/KEYTY3Y/KKP/r2OBf3R/jE7Sp/hNygC/Gdzk9XIf/0="; 28 28 }; 29 29 30 30 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/identify/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "identify"; 12 - version = "2.5.13"; 12 + version = "2.5.15"; 13 13 format = "setuptools"; 14 14 15 15 disabled = pythonOlder "3.7"; ··· 18 18 owner = "pre-commit"; 19 19 repo = pname; 20 20 rev = "v${version}"; 21 - sha256 = "sha256-8QkDAVHjVEqicntSMb98JitmR5toOTGhgEk7cH3xSFI="; 21 + sha256 = "sha256-5M51eWdER9/K15H2yUQjvXMjzYNwx9BLIKSW/ToDU5g="; 22 22 }; 23 23 24 24 nativeCheckInputs = [
+3 -2
pkgs/development/python-modules/lupupy/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "lupupy"; 12 - version = "0.2.4"; 12 + version = "0.2.5"; 13 13 format = "setuptools"; 14 14 15 15 disabled = pythonOlder "3.6"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - hash = "sha256-11BdMhUhxbzkSrBEFdqpjkgcOcCZG498ylEHIMbomW4="; 19 + hash = "sha256-SxhGUwcZjaRNCS5dB2hh5uctFGHWuKnM48CcIz6VMh8="; 20 20 }; 21 21 22 22 propagatedBuildInputs = [ ··· 35 35 meta = with lib; { 36 36 description = "Python module to control Lupusec alarm control panels"; 37 37 homepage = "https://github.com/majuss/lupupy"; 38 + changelog = "https://github.com/majuss/lupupy/releases/tag/v${version}"; 38 39 license = with licenses; [ mit ]; 39 40 maintainers = with maintainers; [ fab ]; 40 41 };
+14 -9
pkgs/development/python-modules/mkdocstrings/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "mkdocstrings"; 17 - version = "0.19.1"; 17 + version = "0.20.0"; 18 18 format = "pyproject"; 19 19 20 20 disabled = pythonOlder "3.7"; ··· 22 22 src = fetchFromGitHub { 23 23 owner = "mkdocstrings"; 24 24 repo = pname; 25 - rev = version; 26 - sha256 = "sha256-VCWUV+3vXmKbAXImAqY/K4vsA64gHBg83VkxbJua/ao="; 25 + rev = "refs/tags/${version}"; 26 + hash = "sha256-eFHcwbYEIwVWvDJWlmeUvEdqp3NYAF8SgdHJGw6bEMc="; 27 27 }; 28 + 29 + postPatch = '' 30 + substituteInPlace pyproject.toml \ 31 + --replace 'dynamic = ["version"]' 'version = "${version}"' \ 32 + --replace 'license = "ISC"' 'license = {text = "ISC"}' 33 + ''; 28 34 29 35 nativeBuildInputs = [ 30 36 pdm-pep517 ··· 49 43 pytestCheckHook 50 44 ]; 51 45 52 - postPatch = '' 53 - substituteInPlace pyproject.toml \ 54 - --replace 'dynamic = ["version"]' 'version = "${version}"' \ 55 - --replace 'license = "ISC"' 'license = {text = "ISC"}' 56 - ''; 57 - 58 46 pythonImportsCheck = [ 59 47 "mkdocstrings" 60 48 ]; ··· 56 56 disabledTestPaths = [ 57 57 # Circular dependencies 58 58 "tests/test_extension.py" 59 + ]; 60 + 61 + disabledTests = [ 62 + # Not all requirements are available 63 + "test_disabling_plugin" 59 64 ]; 60 65 61 66 meta = with lib; {
+21 -10
pkgs/development/python-modules/openai/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 + , aiohttp 4 5 , matplotlib 5 6 , numpy 6 7 , openpyxl 7 8 , pandas 8 9 , pandas-stubs 9 10 , plotly 11 + , pytest-asyncio 10 12 , pytest-mock 11 13 , pytestCheckHook 12 14 , pythonOlder ··· 18 16 , tqdm 19 17 , typing-extensions 20 18 , wandb 19 + , withOptionalDependencies ? false 21 20 }: 22 21 23 22 buildPythonPackage rec { 24 23 pname = "openai"; 25 - version = "0.25.0"; 24 + version = "0.26.1"; 26 25 format = "setuptools"; 27 26 28 27 disabled = pythonOlder "3.7.1"; ··· 32 29 owner = "openai"; 33 30 repo = "openai-python"; 34 31 rev = "v${version}"; 35 - hash = "sha256-bwv7lpdDYlk+y3KBjv7cSvaGr3v02riNCUfPFh6yv1I="; 32 + hash = "sha256-M6ZaYTOBAwLogWPafSnBYw3rUry+sS9VwQWAM9tDfr8="; 36 33 }; 37 34 38 35 propagatedBuildInputs = [ 39 - numpy 40 - openpyxl 41 - pandas 42 - pandas-stubs 36 + aiohttp 43 37 requests 44 38 tqdm 39 + ] ++ lib.optionals (pythonOlder "3.8") [ 45 40 typing-extensions 46 - ]; 41 + ] ++ lib.optionals withOptionalDependencies (builtins.attrValues { 42 + inherit (passthru.optional-dependencies) embeddings wandb; 43 + }); 47 44 48 45 passthru.optional-dependencies = { 49 - wandb = [ 50 - wandb 46 + datalib = [ 47 + numpy 48 + openpyxl 49 + pandas 50 + pandas-stubs 51 51 ]; 52 52 embeddings = [ 53 53 matplotlib 54 54 plotly 55 55 scikit-learn 56 56 tenacity 57 - ]; 57 + ] ++ passthru.optional-dependencies.datalib; 58 + wandb = [ 59 + wandb 60 + ] ++ passthru.optional-dependencies.datalib; 58 61 }; 59 62 60 63 pythonImportsCheck = [ ··· 69 60 70 61 nativeCheckInputs = [ 71 62 pytestCheckHook 63 + pytest-asyncio 72 64 pytest-mock 73 65 ]; 74 66 ··· 82 72 disabledTestPaths = [ 83 73 # Requires a real API key 84 74 "openai/tests/test_endpoints.py" 75 + "openai/tests/asyncio/test_endpoints.py" 85 76 # openai: command not found 86 77 "openai/tests/test_file_cli.py" 87 78 "openai/tests/test_long_examples_validator.py"
+35 -25
pkgs/development/python-modules/particle/default.nix
··· 1 1 { lib 2 + , attrs 2 3 , buildPythonPackage 3 4 , fetchFromGitHub 4 5 , fetchPypi 5 - , setuptools-scm 6 - , attrs 7 - , deprecated 6 + , hatch-vcs 7 + , hatchling 8 8 , hepunits 9 - , pytestCheckHook 10 - , tabulate 11 9 , pandas 10 + , pytestCheckHook 11 + , pythonOlder 12 + , setuptools-scm 13 + , tabulate 12 14 }: 13 15 14 16 buildPythonPackage rec { 15 17 pname = "particle"; 16 - version = "0.21.0"; 18 + version = "0.21.1"; 19 + format = "pyproject"; 20 + 21 + disabled = pythonOlder "3.9"; 17 22 18 23 src = fetchPypi { 19 24 inherit pname version; 20 - sha256 = "sha256-SDdIg05+gfLNaQ+glitTf3Z/6K9HBci62mjIu9rIoX0="; 25 + hash = "sha256-Mw9IVQoXZU8ByU6OI2Wtmo3PJuVz6KzzH7I+pPYkssQ="; 21 26 }; 27 + 28 + postPatch = '' 29 + # Disable benchmark tests, so we won't need pytest-benchmark and pytest-cov 30 + # as dependencies 31 + substituteInPlace pyproject.toml \ 32 + --replace '"--benchmark-disable",' "" 33 + ''; 34 + 22 35 nativeBuildInputs = [ 23 - setuptools-scm 36 + hatch-vcs 37 + hatchling 24 38 ]; 25 39 26 40 propagatedBuildInputs = [ 27 41 attrs 28 - deprecated 29 42 hepunits 30 43 ]; 31 - 32 - pythonImportsCheck = [ 33 - "particle" 34 - ]; 35 - 36 - preCheck = '' 37 - # Disable benchmark tests, so we won't need pytest-benchmark and pytest-cov 38 - # as dependencies 39 - substituteInPlace pyproject.toml \ 40 - --replace '"--benchmark-disable", ' "" 41 - rm tests/particle/test_performance.py 42 - ''; 43 44 44 45 nativeCheckInputs = [ 45 46 pytestCheckHook ··· 48 47 pandas 49 48 ]; 50 49 51 - meta = { 52 - description = "Package to deal with particles, the PDG particle data table, PDGIDs, etc."; 50 + pythonImportsCheck = [ 51 + "particle" 52 + ]; 53 + 54 + disabledTestPaths = [ 55 + "tests/particle/test_performance.py" 56 + ]; 57 + 58 + meta = with lib; { 59 + description = "Package to deal with particles, the PDG particle data table and others"; 53 60 homepage = "https://github.com/scikit-hep/particle"; 54 - license = lib.licenses.bsd3; 55 - maintainers = with lib.maintainers; [ doronbehar ]; 61 + changelog = "https://github.com/scikit-hep/particle/releases/tag/v${version}"; 62 + license = licenses.bsd3; 63 + maintainers = with maintainers; [ doronbehar ]; 56 64 }; 57 65 }
+2 -2
pkgs/development/python-modules/peaqevcore/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "peaqevcore"; 9 - version = "10.2.6"; 9 + version = "10.2.8"; 10 10 format = "setuptools"; 11 11 12 12 disabled = pythonOlder "3.7"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - hash = "sha256-uQPz7IB14dFrupZIA87jG5P7USaGKs0WWlgbaLAEPp4="; 16 + hash = "sha256-wMC5SnC0KJ6pauvAKq+jTJiFoD0dlYBtxU8cag/JmnM="; 17 17 }; 18 18 19 19 postPatch = ''
+1 -1
pkgs/development/python-modules/pip-tools/default.nix
··· 17 17 buildPythonPackage rec { 18 18 pname = "pip-tools"; 19 19 version = "6.12.1"; 20 - format = "setuptools"; 20 + format = "pyproject"; 21 21 22 22 disabled = pythonOlder "3.7"; 23 23
+16 -7
pkgs/development/python-modules/psd-tools/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , isPy27 4 + , pythonOlder 5 5 , docopt 6 6 , pillow 7 - , enum34 8 7 , scikitimage 9 8 , aggdraw 10 9 , pytestCheckHook ··· 13 14 14 15 buildPythonPackage rec { 15 16 pname = "psd-tools"; 16 - version = "1.9.23"; 17 + version = "1.9.24"; 18 + format = "setuptools"; 19 + 20 + disabled = pythonOlder "3.7"; 17 21 18 22 src = fetchFromGitHub { 19 23 owner = "psd-tools"; 20 24 repo = pname; 21 25 rev = "refs/tags/v${version}"; 22 - sha256 = "sha256-pJUf5rE5QMnfNytU1P0Zbj1iztrK5xrX4CJ/WvIG8mY="; 26 + hash = "sha256-RW8v3UeO2tCjKkCqraFw2IfVt2YL3EbixfGsK7pOQYI="; 23 27 }; 24 28 25 - nativeBuildInputs = [ cython ]; 29 + nativeBuildInputs = [ 30 + cython 31 + ]; 26 32 27 33 propagatedBuildInputs = [ 28 34 aggdraw ··· 37 33 scikitimage 38 34 ]; 39 35 40 - nativeCheckInputs = [ pytestCheckHook ]; 36 + nativeCheckInputs = [ 37 + pytestCheckHook 38 + ]; 41 39 42 - pythonImportsCheck = [ "psd_tools" ]; 40 + pythonImportsCheck = [ 41 + "psd_tools" 42 + ]; 43 43 44 44 meta = with lib; { 45 45 description = "Python package for reading Adobe Photoshop PSD files"; 46 46 homepage = "https://github.com/kmike/psd-tools"; 47 + changelog = "https://github.com/psd-tools/psd-tools/blob/v${version}/CHANGES.rst"; 47 48 license = licenses.mit; 48 49 maintainers = with maintainers; [ onny ]; 49 50 };
+13 -9
pkgs/development/python-modules/pyro4/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchPypi 4 - , serpent 5 - , dill 6 3 , cloudpickle 4 + , dill 5 + , fetchPypi 7 6 , msgpack 8 - , isPy27 9 7 , pytestCheckHook 8 + , pythonAtLeast 9 + , serpent 10 10 }: 11 11 12 12 buildPythonPackage rec { ··· 14 14 version = "4.82"; 15 15 format = "setuptools"; 16 16 17 - disabled = isPy27; 17 + # No support Python >= 3.11 18 + # https://github.com/irmen/Pyro4/issues/246 19 + disabled = pythonAtLeast "3.11"; 18 20 19 21 src = fetchPypi { 20 22 pname = "Pyro4"; ··· 39 37 ]; 40 38 41 39 # add testsupport.py to PATH 42 - preCheck = "PYTHONPATH=tests/PyroTests:$PYTHONPATH"; 40 + preCheck = '' 41 + PYTHONPATH=tests/PyroTests:$PYTHONPATH 42 + ''; 43 43 44 - 45 - pytestFlagsArray = [ 44 + disabledTestPaths = [ 46 45 # ignore network related tests, which fail in sandbox 47 - "--ignore=tests/PyroTests/test_naming.py" 46 + "tests/PyroTests/test_naming.py" 48 47 ]; 49 48 50 49 disabledTests = [ ··· 64 61 meta = with lib; { 65 62 description = "Distributed object middleware for Python (RPC)"; 66 63 homepage = "https://github.com/irmen/Pyro4"; 64 + changelog = "https://github.com/irmen/Pyro4/releases/tag/${version}"; 67 65 license = licenses.mit; 68 66 maintainers = with maintainers; [ prusnak ]; 69 67 };
+27 -11
pkgs/development/python-modules/pyro5/default.nix
··· 1 - { buildPythonPackage 2 - , fetchPypi 3 - , lib 1 + { lib 4 2 , stdenv 3 + , buildPythonPackage 4 + , fetchPypi 5 5 , serpent 6 6 , pythonOlder 7 7 , pytestCheckHook 8 8 }: 9 9 10 10 buildPythonPackage rec { 11 - pname = "Pyro5"; 11 + pname = "pyro5"; 12 12 version = "5.14"; 13 + format = "setuptools"; 13 14 14 15 disabled = pythonOlder "3.6"; 15 16 16 17 src = fetchPypi { 17 - inherit pname version; 18 - sha256 = "sha256-ZP3OE3sP5TLohhTSRrfJi74KT0JnhsUkU5rNxeaUCGo="; 18 + pname = "Pyro5"; 19 + inherit version; 20 + hash = "sha256-ZP3OE3sP5TLohhTSRrfJi74KT0JnhsUkU5rNxeaUCGo="; 19 21 }; 20 22 21 - propagatedBuildInputs = [ serpent ]; 23 + propagatedBuildInputs = [ 24 + serpent 25 + ]; 22 26 23 - nativeCheckInputs = [ pytestCheckHook ]; 27 + nativeCheckInputs = [ 28 + pytestCheckHook 29 + ]; 24 30 25 - # ignore network related tests, which fail in sandbox 26 - disabledTests = [ "StartNSfunc" "Broadcast" "GetIP" "TestNameServer" "TestBCSetup" ] 27 - ++ lib.optionals stdenv.hostPlatform.isDarwin [ 31 + disabledTests = [ 32 + # Ignore network related tests, which fail in sandbox 33 + "StartNSfunc" 34 + "Broadcast" 35 + "GetIP" 36 + "TestNameServer" 37 + "TestBCSetup" 38 + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ 28 39 "Socket" 40 + ]; 41 + 42 + pythonImportsCheck = [ 43 + "Pyro5" 29 44 ]; 30 45 31 46 meta = with lib; { 32 47 description = "Distributed object middleware for Python (RPC)"; 33 48 homepage = "https://github.com/irmen/Pyro5"; 49 + changelog = "https://github.com/irmen/Pyro5/releases/tag/v${version}"; 34 50 license = licenses.mit; 35 51 maintainers = with maintainers; [ peterhoeg ]; 36 52 };
+23 -7
pkgs/development/python-modules/python-redis-lock/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , buildPythonPackage 4 + , eventlet 4 5 , fetchPypi 5 - , redis 6 - , pytestCheckHook 7 - , process-tests 6 + , gevent 8 7 , pkgs 9 - , withDjango ? false, django-redis 8 + , process-tests 9 + , pytestCheckHook 10 + , pythonOlder 11 + , redis 12 + , withDjango ? false 13 + , django-redis 10 14 }: 11 15 12 16 buildPythonPackage rec { 13 17 pname = "python-redis-lock"; 14 18 version = "4.0.0"; 19 + format = "setuptools"; 20 + 21 + disabled = pythonOlder "3.7"; 15 22 16 23 src = fetchPypi { 17 24 inherit pname version; 18 - sha256 = "sha256-Sr0Lz0kTasrWZye/VIbdJJQHjKVeSe+mk/eUB3MZCRo="; 25 + hash = "sha256-Sr0Lz0kTasrWZye/VIbdJJQHjKVeSe+mk/eUB3MZCRo="; 19 26 }; 20 27 21 28 propagatedBuildInputs = [ 22 29 redis 23 - ] ++ lib.optional withDjango django-redis; 30 + ] ++ lib.optional withDjango [ 31 + django-redis 32 + ]; 24 33 25 34 nativeCheckInputs = [ 35 + eventlet 36 + gevent 26 37 pytestCheckHook 27 38 process-tests 28 39 pkgs.redis ··· 48 37 "test_reset_all_signalizes" 49 38 ]; 50 39 40 + pythonImportsCheck = [ 41 + "redis_lock" 42 + ]; 43 + 51 44 meta = with lib; { 45 + changelog = "https://github.com/ionelmc/python-redis-lock/blob/v${version}/CHANGELOG.rst"; 46 + description = "Lock context manager implemented via redis SETNX/BLPOP"; 52 47 homepage = "https://github.com/ionelmc/python-redis-lock"; 53 48 license = licenses.bsd2; 54 - description = "Lock context manager implemented via redis SETNX/BLPOP"; 55 49 maintainers = with maintainers; [ vanschelven ]; 56 50 }; 57 51 }
+13
pkgs/development/python-modules/python-stdnum/default.nix
··· 3 3 , fetchPypi 4 4 , pytestCheckHook 5 5 , pythonOlder 6 + , zeep 6 7 }: 7 8 8 9 buildPythonPackage rec { ··· 18 17 hash = "sha256-vMdj2cSa4j2l0remhtX9He7J2QUTQRYKENGscjomvsA="; 19 18 }; 20 19 20 + postPatch = '' 21 + substituteInPlace setup.cfg \ 22 + --replace " --cov=stdnum --cov-report=term-missing:skip-covered --cov-report=html" "" 23 + ''; 24 + 21 25 nativeCheckInputs = [ 22 26 pytestCheckHook 23 27 ]; 28 + 29 + passthru.optional-dependencies = { 30 + SOAP = [ 31 + zeep 32 + ]; 33 + }; 24 34 25 35 pythonImportsCheck = [ 26 36 "stdnum" ··· 40 28 meta = with lib; { 41 29 description = "Python module to handle standardized numbers and codes"; 42 30 homepage = "https://arthurdejong.org/python-stdnum/"; 31 + changelog = "https://github.com/arthurdejong/python-stdnum/blob/${version}/ChangeLog"; 43 32 license = licenses.lgpl21Plus; 44 33 maintainers = with maintainers; [ johbo ]; 45 34 };
+2 -2
pkgs/development/python-modules/pyvicare/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "pyvicare"; 13 - version = "2.23.0"; 13 + version = "2.24.0"; 14 14 format = "setuptools"; 15 15 16 16 disabled = pythonOlder "3.7"; ··· 19 19 owner = "somm15"; 20 20 repo = "PyViCare"; 21 21 rev = version; 22 - sha256 = "sha256-EBDk0XuE8zVFoGYbK2LIWeDfsj3iUZUUERNKARKwuKU="; 22 + sha256 = "sha256-D0N7kRTzfKCxLNtRJML+xykvsv3Mv0WHdlA05eLHl3M="; 23 23 }; 24 24 25 25 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+2 -2
pkgs/development/python-modules/reikna/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "reikna"; 16 - version = "0.7.6"; 16 + version = "0.8.0"; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "722fefbd253d0bbcbf5250b7b9c4aca5722cde4ca38bfbf863a551a5fc26edfa"; 20 + sha256 = "sha256-fpa1Pfo5EAafg7Pgha17G6k5G13fdErjclv0On/uYyI="; 21 21 }; 22 22 23 23 nativeCheckInputs = [ sphinx pytest-cov pytest ];
+2 -2
pkgs/development/python-modules/rich-click/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "rich-click"; 12 - version = "1.6.0"; 12 + version = "1.6.1"; 13 13 format = "setuptools"; 14 14 15 15 disabled = pythonOlder "3.8"; ··· 18 18 owner = "ewels"; 19 19 repo = pname; 20 20 rev = "refs/tags/v${version}"; 21 - hash = "sha256-l8tMyxSkh4eckD21NofK9FBgeGKAqZB0J3B98HpWZ0s="; 21 + hash = "sha256-Be6okg3zmbdbdlB4/uwioUxn6CZUay/istiIoiFrsJk="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/sentry-sdk/default.nix
··· 40 40 41 41 buildPythonPackage rec { 42 42 pname = "sentry-sdk"; 43 - version = "1.12.1"; 43 + version = "1.14.0"; 44 44 format = "setuptools"; 45 45 46 46 disabled = pythonOlder "3.7"; ··· 49 49 owner = "getsentry"; 50 50 repo = "sentry-python"; 51 51 rev = "refs/tags/${version}"; 52 - hash = "sha256-ugCbjhOZTJ1+DeTKDTQJMIO6wjkqVL5tvPGoRrZKwGI="; 52 + hash = "sha256-2STQKIAoaGLreGGkqOSrNrByu7j+7oxZihwp9COhuGM="; 53 53 }; 54 54 55 55 propagatedBuildInputs = [
+3
pkgs/development/python-modules/tensorflow-probability/default.nix
··· 1 1 { lib 2 2 , fetchFromGitHub 3 + , bazel_3 3 4 , buildBazelPackage 4 5 , buildPythonPackage 5 6 , python ··· 45 44 absl-py 46 45 tensorflow 47 46 ]; 47 + 48 + bazel = bazel_3; 48 49 49 50 bazelTarget = ":pip_pkg"; 50 51
+2 -2
pkgs/development/python-modules/tika/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "tika"; 10 - version = "1.24"; 10 + version = "2.6.0"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "wsUPQFYi90UxhBEE+ehcF1Ea7eEd6OU4XqsaKaMfGRs="; 14 + sha256 = "sha256-VmcOuBKUTrJe1z8bOwdapB56E1t0skCCLyi4GeWzc9o="; 15 15 }; 16 16 17 17 propagatedBuildInputs = [ pyyaml requests ];
+2 -2
pkgs/development/python-modules/yalexs-ble/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "yalexs-ble"; 16 - version = "1.12.7"; 16 + version = "1.12.8"; 17 17 format = "pyproject"; 18 18 19 19 disabled = pythonOlder "3.9"; ··· 22 22 owner = "bdraco"; 23 23 repo = pname; 24 24 rev = "refs/tags/v${version}"; 25 - hash = "sha256-f2JrUzgSPbko/H7n6IYiw3nLU9SkIH8BgSEyMlGppok="; 25 + hash = "sha256-04Xl2TBs9RL+KWmJgUY+PDoYN4AAvrcWP7TJBEu5lNU="; 26 26 }; 27 27 28 28 nativeBuildInputs = [
+3 -3
pkgs/development/tools/analysis/dotenv-linter/default.nix
··· 7 7 8 8 rustPlatform.buildRustPackage rec { 9 9 pname = "dotenv-linter"; 10 - version = "3.2.0"; 10 + version = "3.3.0"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "dotenv-linter"; 14 14 repo = "dotenv-linter"; 15 15 rev = "v${version}"; 16 - sha256 = "sha256-YWL1aPcMdU4lo7h/T2sdl2H6qnx3lfMtV39Ak4yP88w="; 16 + sha256 = "sha256-HCP1OUWm/17e73TbinmDxYUi18/KXxppstyUSixjlSo="; 17 17 }; 18 18 19 - cargoSha256 = "sha256-q59hpnXc00OzrJk1KOWbIPQYfIE+7ku9XtTDXHgwQBg="; 19 + cargoSha256 = "sha256-4r4NTq2rLnpmm/nwxJ9RoN2+JrUI6XKGfYFI78NY710="; 20 20 21 21 buildInputs = lib.optional stdenv.isDarwin Security; 22 22
+2 -2
pkgs/development/tools/bingo/default.nix
··· 8 8 owner = "bwplotka"; 9 9 repo = "bingo"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-s+vdtMzeHUtUlmMlvgnK83RYoMqS3GqrTnu7LssIK6A="; 11 + hash = "sha256-s+vdtMzeHUtUlmMlvgnK83RYoMqS3GqrTnu7LssIK6A="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-28p1g+p+guJ0x4/5QDGsGN6gDnZkE4AKF/2cFgNjPDM="; 14 + vendorHash = "sha256-28p1g+p+guJ0x4/5QDGsGN6gDnZkE4AKF/2cFgNjPDM="; 15 15 16 16 postPatch = '' 17 17 rm get_e2e_test.go get_e2e_utils_test.go
+3 -3
pkgs/development/tools/cocogitto/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "cocogitto"; 5 - version = "5.2.0"; 5 + version = "5.3.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "oknozor"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-ZjDZMI84z8riRtidZVeCktwJUMkZU28E23MveJSD7xY="; 11 + sha256 = "sha256-BqyV4hJw7H9yN5Kj/XwhYS6hElXdKUJEUi5M/PNlPO0="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-oaWWAVTKxrshfvqE+HMQ1WeeEz8lOE7qc6RrgSjDtdU="; 14 + cargoHash = "sha256-MA3XW2tPn0qVx7ve+UqCoG4nQ7UyuvXEebrPuLKqS4g="; 15 15 16 16 # Test depend on git configuration that would likly exist in a normal user enviroment 17 17 # and might be failing to create the test repository it works in.
+2 -2
pkgs/development/tools/cue/default.nix
··· 8 8 owner = "cue-lang"; 9 9 repo = "cue"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-v9MYrijnbtJpTgRZ4hmkaekisOyujldGewCRNbkVzWw="; 11 + hash = "sha256-v9MYrijnbtJpTgRZ4hmkaekisOyujldGewCRNbkVzWw="; 12 12 }; 13 13 14 14 postPatch = '' ··· 16 16 rm -f cmd/cue/cmd/script_test.go 17 17 ''; 18 18 19 - vendorSha256 = "sha256-jTfV8DJlr5LxS3HjOEBkVzBvZKiySrmINumXSUIq2mI="; 19 + vendorHash = "sha256-jTfV8DJlr5LxS3HjOEBkVzBvZKiySrmINumXSUIq2mI="; 20 20 21 21 excludedPackages = [ "internal/ci/updatetxtar" "internal/cmd/embedpkg" "internal/cmd/qgo" "pkg/gen" ]; 22 22
+2 -2
pkgs/development/tools/gojq/default.nix
··· 8 8 owner = "itchyny"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-xJx3ge+8cIGL1j5vnU4JhCcwmXIRhJ66PYnEG223Fbc="; 11 + hash = "sha256-xJx3ge+8cIGL1j5vnU4JhCcwmXIRhJ66PYnEG223Fbc="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-BnDtHqqU/kFJyeG1g4UZ51eSnUlbQ6eRKTFoz6kxl0s="; 14 + vendorHash = "sha256-BnDtHqqU/kFJyeG1g4UZ51eSnUlbQ6eRKTFoz6kxl0s="; 15 15 16 16 ldflags = [ "-s" "-w" ]; 17 17
+3
pkgs/development/tools/hatch/default.nix
··· 63 63 "test_editable_pth" 64 64 # AssertionError: assert len(extract_installed_requirements(output.splitlines())) > 0 65 65 "test_creation_allow_system_packages" 66 + ] ++ lib.optionals stdenv.isDarwin [ 67 + # https://github.com/NixOS/nixpkgs/issues/209358 68 + "test_scripts_no_environment" 66 69 ]; 67 70 68 71 meta = with lib; {
+3 -2
pkgs/development/tools/ktlint/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ktlint"; 5 - version = "0.48.0"; 5 + version = "0.48.2"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/pinterest/ktlint/releases/download/${version}/ktlint"; 9 - sha256 = "0sdmfdmxgks9bbzg8nn1gdx55g7qiwpdxkx6p9lwa71mdfc14r2z"; 9 + sha256 = "0hh3zm21a976px3lhf2przczspiyk88k68fmnwsknn281y9pyr70"; 10 10 }; 11 11 12 12 nativeBuildInputs = [ makeWrapper ]; ··· 26 26 homepage = "https://ktlint.github.io/"; 27 27 license = licenses.mit; 28 28 platforms = jre_headless.meta.platforms; 29 + changelog = "https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md"; 29 30 maintainers = with maintainers; [ tadfisher SubhrajyotiSen ]; 30 31 }; 31 32 }
+3 -3
pkgs/development/tools/kube-linter/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "kube-linter"; 5 - version = "0.5.1"; 5 + version = "0.6.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "stackrox"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-FEiUnJFmrHj97aSjfJtsjS9Qy4A6mzXicIrJZdgZbag="; 11 + sha256 = "sha256-/iwNyThgdXAXu1ulf68+X7nA9wE9jEqN7F5wuT5GMwk="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-5dsM5jfD/apRs5NT/XqM8eHEgiyGQHHG3MG6cOFQKr8="; 14 + vendorHash = "sha256-jWXR7tHYT15h7QSxinYyPaBs5utUmdeWWm+GPpfwiA4="; 15 15 16 16 ldflags = [ 17 17 "-s" "-w" "-X golang.stackrox.io/kube-linter/internal/version.version=${version}"
+3 -3
pkgs/development/tools/language-servers/millet/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "millet"; 5 - version = "0.7.0"; 5 + version = "0.7.4"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "azdavis"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - hash = "sha256-qjwnHFJpgDVaiSF3rKkyEbhIG4QbMOUrN1rnc9MnKU0="; 11 + hash = "sha256-YTONlTE9cTl0O7EHRVhrPtuGgIUdX8mvdWu352uHbCE="; 12 12 }; 13 13 14 - cargoHash = "sha256-efVnO9hNIEiAzOK0mkPMNrWlWHYEWwV2HWac8jBxW5k="; 14 + cargoHash = "sha256-U2bbZZCeY7/Jp7AuAKYcZzDIpIxGbNJrmr2Sr2CMr2A="; 15 15 16 16 postPatch = '' 17 17 rm .cargo/config.toml
+2 -2
pkgs/development/tools/language-servers/sumneko-lua-language-server/default.nix
··· 4 4 in 5 5 stdenv.mkDerivation rec { 6 6 pname = "sumneko-lua-language-server"; 7 - version = "3.6.5"; 7 + version = "3.6.7"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "sumneko"; 11 11 repo = "lua-language-server"; 12 12 rev = version; 13 - sha256 = "sha256-4/RRE9IB/qy8YszPzEvrBVLi1X0XCNh+lJYwMXTTD1I="; 13 + sha256 = "sha256-x7/yO1rJ+VBG4EFpISYblRECLW2lsLz5wcqLR14UV/g="; 14 14 fetchSubmodules = true; 15 15 }; 16 16
+3 -3
pkgs/development/tools/misc/nimlsp/default.nix
··· 2 2 3 3 nimPackages.buildNimPackage rec { 4 4 pname = "nimlsp"; 5 - version = "0.4.1"; 5 + version = "0.4.4"; 6 6 nimBinOnly = true; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "PMunch"; 10 10 repo = "nimlsp"; 11 11 rev = "v${version}"; 12 - sha256 = "sha256-LAtUGhYEcOwvZzexQ2y3/HPgOge2EsScCbujJ/hz5Ec="; 12 + sha256 = "sha256-Z67iKlL+dnRbxdFt/n/fsUcb2wpZwzPpL/G29jfCaMY="; 13 13 }; 14 14 15 - buildInputs = with nimPackages; [ jsonschema ]; 15 + buildInputs = with nimPackages; [ jsonschema asynctools ]; 16 16 17 17 nimFlags = [ 18 18 "--threads:on"
+2 -2
pkgs/development/tools/misc/nxpmicro-mfgtools/default.nix
··· 12 12 13 13 stdenv.mkDerivation rec { 14 14 pname = "nxpmicro-mfgtools"; 15 - version = "1.4.243"; 15 + version = "1.5.11"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "NXPmicro"; 19 19 repo = "mfgtools"; 20 20 rev = "uuu_${version}"; 21 - hash = "sha256-gyy9D6y1y+9GlT3wfW+huoWaZP1e8YzZnc7EbJftppI="; 21 + hash = "sha256-RD0haw0C89uvTlLHtvlv1VwU4Jw2U19Caiq+BSfB4hU="; 22 22 }; 23 23 24 24 nativeBuildInputs = [ cmake pkg-config installShellFiles ];
+2 -2
pkgs/development/tools/misc/pkgconf/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "pkgconf"; 9 - version = "1.9.3"; 9 + version = "1.9.4"; 10 10 11 11 src = fetchurl { 12 12 url = "https://distfiles.dereferenced.org/${pname}/${pname}-${version}.tar.xz"; 13 - hash = "sha256-X7NVtIfVT7bTQeTxjU4vfoE6ZiLPA6noev+mpAVlaZ0="; 13 + hash = "sha256-2szxu+WjDRSbVWx9L//+r9dte1FOJJJxq91QFTPB2K4="; 14 14 }; 15 15 16 16 outputs = [ "out" "lib" "dev" "man" "doc" ];
+1 -1
pkgs/development/tools/ocaml/ocp-indent/default.nix
··· 18 18 buildInputs = [ cmdliner ]; 19 19 20 20 meta = with lib; { 21 - homepage = "http://typerex.ocamlpro.com/ocp-indent.html"; 21 + homepage = "https://www.typerex.org/ocp-indent.html"; 22 22 description = "A customizable tool to indent OCaml code"; 23 23 license = licenses.gpl3; 24 24 maintainers = [ maintainers.jirkamarsik ];
+4 -4
pkgs/development/tools/open-policy-agent/default.nix
··· 11 11 12 12 buildGoModule rec { 13 13 pname = "open-policy-agent"; 14 - version = "0.47.4"; 14 + version = "0.48.0"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "open-policy-agent"; 18 18 repo = "opa"; 19 19 rev = "v${version}"; 20 - sha256 = "sha256-EHDSil077g/K8XCWQ9Pry/oyh0Bs3ckS/5Co1z/+Yes="; 20 + hash = "sha256-//xwk5T477Ae61MqZCrj8VcG23mqrP04/VVuUwtxyio="; 21 21 }; 22 - vendorSha256 = null; 22 + vendorHash = null; 23 23 24 24 nativeBuildInputs = [ installShellFiles ]; 25 25 ··· 42 42 getGoDirs() { 43 43 go list ./... | grep -v -e e2e ${lib.optionalString stdenv.isDarwin "-e wasm"} 44 44 } 45 - '' + lib.optionalString stdenv.isDarwin '' 45 + '' + lib.optionalString stdenv.isDarwin '' 46 46 # remove tests that have "too many open files"/"no space left on device" issues on darwin in hydra 47 47 rm server/server_test.go 48 48 '';
+2 -2
pkgs/development/tools/pulumictl/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "pulumictl"; 5 - version = "0.0.39"; 5 + version = "0.0.41"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "pulumi"; 9 9 repo = "pulumictl"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-85a0qW4Fy+ojAhdlRU/m7mkHX91GoZAHlEGPljLAj4c="; 11 + sha256 = "sha256-6QBE6+wJ9MQXey9nXaJn69uVUhIVlWMdH9ROiMi7bZk="; 12 12 }; 13 13 14 14 vendorHash = "sha256-WzfTS68YIpoZYbm6i0USxXyEyR4px+hrNRbsCTXdJsk=";
+3 -3
pkgs/development/tools/ruff/default.nix
··· 7 7 8 8 rustPlatform.buildRustPackage rec { 9 9 pname = "ruff"; 10 - version = "0.0.230"; 10 + version = "0.0.233"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "charliermarsh"; 14 14 repo = pname; 15 15 rev = "v${version}"; 16 - sha256 = "sha256-40QVmxdEuWQEFCkf8ypEWsH1R6A3WjTXWPC99RnWsgI="; 16 + sha256 = "sha256-d+JF5CUswlqx0S3W9W2B2Pgt/hj3hHky1p4OF3eqr84="; 17 17 }; 18 18 19 - cargoSha256 = "sha256-ek/+qYOsFhbwWuHn6ezWzsxxeK0umrNAZZVFJl2ya1M="; 19 + cargoSha256 = "sha256-ZuBbgf4CYQpN8TgfEnAl54/SnkkbssoCSdB+2ZZPenk="; 20 20 21 21 buildInputs = lib.optionals stdenv.isDarwin [ 22 22 darwin.apple_sdk.frameworks.CoreServices
+6 -10
pkgs/development/tools/rust/cargo-expand/default.nix
··· 1 1 { lib 2 - , stdenv 3 2 , rustPlatform 4 3 , fetchFromGitHub 5 - , libiconv 6 4 }: 7 5 8 6 rustPlatform.buildRustPackage rec { 9 7 pname = "cargo-expand"; 10 - version = "1.0.37"; 8 + version = "1.0.38"; 11 9 12 10 src = fetchFromGitHub { 13 11 owner = "dtolnay"; 14 12 repo = pname; 15 13 rev = version; 16 - sha256 = "sha256-BdaOtbZ+F1cgoZRmoQM/5Rzx4OUHmqSnsApeNfWz+J8="; 14 + sha256 = "sha256-n7GDvniwkyCYiu7/qw0TQsVsTZfjcSpkF2Qo/uO60e4="; 17 15 }; 18 16 19 - cargoHash = "sha256-2wD0QJFTW8cIv8S1JSgffBqlcPOVd151WuKlaZF+6aA="; 20 - 21 - buildInputs = lib.optional stdenv.isDarwin libiconv; 17 + cargoHash = "sha256-oA+8bceow7Cdao9FhkXkfFyrCpgvR4NJHddevbhUFkA="; 22 18 23 19 meta = with lib; { 24 - description = 25 - "A utility and Cargo subcommand designed to let people expand macros in their Rust source code"; 20 + description = "A utility and Cargo subcommand designed to let people expand macros in their Rust source code"; 26 21 homepage = "https://github.com/dtolnay/cargo-expand"; 22 + changelog = "https://github.com/dtolnay/cargo-expand/releases/tag/${version}"; 27 23 license = with licenses; [ mit asl20 ]; 28 - maintainers = with maintainers; [ xrelkd ]; 24 + maintainers = with maintainers; [ figsoda xrelkd ]; 29 25 }; 30 26 }
+3 -3
pkgs/development/tools/rust/cargo-zigbuild/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "cargo-zigbuild"; 5 - version = "0.14.3"; 5 + version = "0.14.5"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "messense"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-OHr+VCYt+w1VWv6XAfMZv0I7IZJ1m0UtErgMonGytns="; 11 + sha256 = "sha256-+H+T/PEpJyRySTJlVGbAevLzAEZs5J8BNqwZjiXhuuU="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-tOJNQLPWpCqHCFRk85PW91axUTljo8YoeWUpPrl8P4c="; 14 + cargoSha256 = "sha256-IOR/G+SPGl3MgOMjmsVPpvoode8U7K52vqs7yu0BdQk="; 15 15 16 16 nativeBuildInputs = [ makeWrapper ]; 17 17
+3 -3
pkgs/development/tools/rust/rust-analyzer/default.nix
··· 12 12 13 13 rustPlatform.buildRustPackage rec { 14 14 pname = "rust-analyzer-unwrapped"; 15 - version = "2023-01-16"; 16 - cargoSha256 = "sha256-M0AwSksEUKVw+Eo+D7BnkoKycNRQDOnemIgremXp5fs="; 15 + version = "2023-01-23"; 16 + cargoSha256 = "sha256-NSdHvWN5BIEXZMFiweKYbJayxDqlFmqJp+sIzeORhSU="; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "rust-lang"; 20 20 repo = "rust-analyzer"; 21 21 rev = version; 22 - sha256 = "sha256-m+EVsqnYIDdabuIs7K+e343RZ7V3mQHijoYuHWS7Dj4="; 22 + sha256 = "sha256-Uq6jngJnf2UqKrOzqMXtq5IVxkU3eNCkmORPdccLxp0="; 23 23 }; 24 24 25 25 auditable = true; # TODO: remove when this is the default
+3 -3
pkgs/development/tools/typos/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "typos"; 5 - version = "1.13.7"; 5 + version = "1.13.8"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "crate-ci"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - hash = "sha256-9adccECtWty9GURjzUd6sPYn8qojGWzCrDIpUxswx4k="; 11 + hash = "sha256-ROMO6IkfpzFvB5Y4RRqrX5NnYzdHT1tsJBdCc1lDu7k="; 12 12 }; 13 13 14 - cargoHash = "sha256-5hg+w2IZOI6d06H7sAokO0v4b6ofxvak64v3he5n4LI="; 14 + cargoHash = "sha256-VAVlzciWVKcgl/QKiF3Hfzx11jUi/0J9b6EmaZzG9qE="; 15 15 16 16 meta = with lib; { 17 17 description = "Source code spell checker";
+23 -6
pkgs/games/ecwolf/default.nix
··· 1 - { stdenv, lib, fetchurl, makeDesktopItem, copyDesktopItems, cmake, pkg-config, zlib, bzip2, libjpeg, SDL, SDL_mixer, gtk2 }: 1 + { stdenv 2 + , lib 3 + , fetchFromBitbucket 4 + , makeDesktopItem 5 + , copyDesktopItems 6 + , cmake 7 + , pkg-config 8 + , zlib 9 + , bzip2 10 + , libjpeg 11 + , SDL2 12 + , SDL2_net 13 + , SDL2_mixer 14 + , gtk2 15 + }: 2 16 3 17 stdenv.mkDerivation rec { 4 18 pname = "ecwolf"; 5 - version = "1.3.3"; 19 + version = "1.4.0"; 6 20 7 - src = fetchurl { 8 - url = "https://maniacsvault.net/ecwolf/files/ecwolf/1.x/${pname}-${version}-src.tar.xz"; 9 - sha256 = "1sbdv672dz47la5a5qwmdi1v258k9kc5dkx7cdj2b6gk8nbm2srl"; 21 + src = fetchFromBitbucket { 22 + owner = pname; 23 + repo = pname; 24 + rev = version; 25 + sha256 = "n1G1zvfE1l42fbJ7ZaMdV0QXn45PjMpaaZTDQAOBtYk="; 10 26 }; 11 27 12 28 nativeBuildInputs = [ cmake copyDesktopItems pkg-config ]; 13 - buildInputs = [ zlib bzip2 libjpeg SDL SDL_mixer gtk2 ]; 29 + buildInputs = [ zlib bzip2 libjpeg SDL2 SDL2_net SDL2_mixer gtk2 ]; 14 30 15 31 desktopItems = [ 16 32 (makeDesktopItem { ··· 61 45 ''; 62 46 63 47 meta = with lib; { 48 + broken = stdenv.isDarwin; 64 49 description = "Enhanched SDL-based port of Wolfenstein 3D for various platforms"; 65 50 homepage = "https://maniacsvault.net/ecwolf/"; 66 51 license = licenses.gpl2Plus;
+12 -14
pkgs/misc/cups/default.nix
··· 22 22 , nixosTests 23 23 }: 24 24 25 - with lib; 26 25 stdenv.mkDerivation rec { 27 26 pname = "cups"; 28 - 29 27 version = "2.4.2"; 30 28 31 29 src = fetchurl { ··· 46 48 nativeBuildInputs = [ pkg-config removeReferencesTo ]; 47 49 48 50 buildInputs = [ zlib libjpeg libpng libtiff libusb1 gnutls libpaper ] 49 - ++ optionals stdenv.isLinux [ avahi pam dbus acl ] 50 - ++ optional enableSystemd systemd 51 - ++ optionals stdenv.isDarwin (with darwin; [ 51 + ++ lib.optionals stdenv.isLinux [ avahi pam dbus acl ] 52 + ++ lib.optional enableSystemd systemd 53 + ++ lib.optionals stdenv.isDarwin (with darwin; [ 52 54 configd apple_sdk.frameworks.ApplicationServices 53 55 ]); 54 56 ··· 60 62 "--sysconfdir=/etc" 61 63 "--enable-raw-printing" 62 64 "--enable-threads" 63 - ] ++ optionals stdenv.isLinux [ 65 + ] ++ lib.optionals stdenv.isLinux [ 64 66 "--enable-dbus" 65 67 "--enable-pam" 66 68 "--with-dbusdir=${placeholder "out"}/share/dbus-1" 67 - ] ++ optional (libusb1 != null) "--enable-libusb" 68 - ++ optional (gnutls != null) "--enable-ssl" 69 - ++ optional (avahi != null) "--enable-avahi" 70 - ++ optional (libpaper != null) "--enable-libpaper"; 69 + ] ++ lib.optional (libusb1 != null) "--enable-libusb" 70 + ++ lib.optional (gnutls != null) "--enable-ssl" 71 + ++ lib.optional (avahi != null) "--enable-avahi" 72 + ++ lib.optional (libpaper != null) "--enable-libpaper"; 71 73 72 74 # AR has to be an absolute path 73 75 preConfigure = '' 74 - export AR="${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ar" 76 + export AR="${lib.getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ar" 75 77 configureFlagsArray+=( 76 78 # Put just lib/* and locale into $lib; this didn't work directly. 77 79 # lib/cups is moved back to $out in postInstall. ··· 82 84 83 85 "--with-systemd=$out/lib/systemd/system" 84 86 85 - ${optionalString stdenv.isDarwin '' 87 + ${lib.optionalString stdenv.isDarwin '' 86 88 "--with-bundledir=$out" 87 89 ''} 88 90 ) ··· 128 130 for f in "$out"/lib/systemd/system/*; do 129 131 substituteInPlace "$f" --replace "$lib/$libexec" "$out/$libexec" 130 132 done 131 - '' + optionalString stdenv.isLinux '' 133 + '' + lib.optionalString stdenv.isLinux '' 132 134 # Use xdg-open when on Linux 133 135 substituteInPlace "$out"/share/applications/cups.desktop \ 134 136 --replace "Exec=htmlview" "Exec=xdg-open" ··· 136 138 137 139 passthru.tests.nixos = nixosTests.printing; 138 140 139 - meta = { 141 + meta = with lib; { 140 142 homepage = "https://openprinting.github.io/cups/"; 141 143 description = "A standards-based printing system for UNIX"; 142 144 license = licenses.asl20;
+2 -1
pkgs/misc/dxvk/default.nix
··· 7 7 8 8 stdenvNoCC.mkDerivation (finalAttrs: 9 9 let 10 - inherit (stdenvNoCC.hostPlatform.uname) system; 10 + system = lib.toLower stdenvNoCC.targetPlatform.uname.system; 11 + 11 12 # DXVK needs to be a separate derivation because it’s actually a set of DLLs for Windows that 12 13 # needs to be built with a cross-compiler. 13 14 dxvk32 = pkgsCross.mingw32.callPackage ./dxvk.nix {
+3 -3
pkgs/misc/fastly/default.nix
··· 8 8 9 9 buildGoModule rec { 10 10 pname = "fastly"; 11 - version = "4.6.2"; 11 + version = "5.0.0"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "fastly"; 15 15 repo = "cli"; 16 16 rev = "refs/tags/v${version}"; 17 - hash = "sha256-E91Vg/dPJQwBZar7Wo5IeMlFoI/jwz7ALtv67DW1Rsk="; 17 + hash = "sha256-rbb+OtzOZbTYJt4IH1QXKdQ9JevGLEvhcC+F7rW337k="; 18 18 # The git commit is part of the `fastly version` original output; 19 19 # leave that output the same in nixpkgs. Use the `.git` directory 20 20 # to retrieve the commit SHA, and remove the directory afterwards, ··· 31 31 "cmd/fastly" 32 32 ]; 33 33 34 - vendorHash = "sha256-Gyc0c3RntrWFEqk+AixvXSRRqjr7SEYGeqIJ/ysoFgs="; 34 + vendorHash = "sha256-TxF0H1kZSn9VFrR8z5JJwWXCG6Gl8QH88qwQidGY7oc="; 35 35 36 36 nativeBuildInputs = [ 37 37 installShellFiles
+2 -2
pkgs/os-specific/linux/fxload/default.nix
··· 15 15 16 16 # fxload binary exist inside the `examples/bin` directory of `libusb1` 17 17 postFixup = '' 18 - mkdir -p $out/sbin 19 - ln -s ${passthru.libusb}/examples/bin/fxload $out/sbin/fxload 18 + mkdir -p $out/bin 19 + ln -s ${passthru.libusb}/examples/bin/fxload $out/bin/fxload 20 20 ''; 21 21 22 22 passthru.libusb = libusb1.override { withExamples = true; };
+3 -3
pkgs/os-specific/linux/rtl8189es/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "rtl8189es-${kernel.version}-${version}"; 5 - version = "2022-08-30"; 5 + version = "2022-10-30"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "jwrdegoede"; 9 9 repo = "rtl8189ES_linux"; 10 - rev = "c93cfd712a3acd2ecdeda19a66d269c20f8803f1"; 11 - sha256 = "sha256-bBUxo8lplFwXfsSNf5lz9XCpQ6M0vWelmFoCal95FpI="; 10 + rev = "e58bd86c9d9408c648b1246a0dd76b16856ec172"; 11 + sha256 = "sha256-KKly72N6ACBTB4CSBM6Q/S1wGMTg5NZA3QYslYPNUr8="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ bc nukeReferences ] ++ kernel.moduleBuildDependencies;
+2 -2
pkgs/os-specific/linux/virtio_vmmci/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "virtio_vmmci"; 5 - version = "0.4.0"; 5 + version = "0.5.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "voutilad"; 9 9 repo = "virtio_vmmci"; 10 10 rev = "${version}"; 11 - sha256 = "104xnpcy5kb4y7ipy1fx1v6byddzs63bv2dqjy3yl23n764fsy43"; 11 + hash = "sha256-ZHslYYZFjM3wp0W5J3/WwCtQ2wDzT1jNc26Z/giTC8g="; 12 12 }; 13 13 14 14 hardeningDisable = [ "pic" "format" ];
+2 -3
pkgs/os-specific/linux/vmm_clock/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "vmm_clock"; 5 - version = "0.1.0"; 5 + version = "0.2.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "voutilad"; 9 9 repo = "vmm_clock"; 10 10 rev = "${version}"; 11 - sha256 = "0hg7ywznh6v11fywsz6f7w298bxph0wwm046zqaqncjvr4aizla4"; 11 + hash = "sha256-8z/N/dbkeFd40sH7jatNmSS62B88tC0jVgNljhxslOo="; 12 12 }; 13 13 14 14 hardeningDisable = [ "pic" "format" ]; ··· 26 26 ]; 27 27 28 28 meta = with lib; { 29 - broken = kernel.kernelOlder "4.19"; 30 29 description = 31 30 "Experimental implementation of a kvmclock-derived clocksource for Linux guests under OpenBSD's hypervisor"; 32 31 homepage = "https://github.com/voutilad/vmm_clock";
+2 -2
pkgs/servers/bird/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "bird"; 5 - version = "2.0.11"; 5 + version = "2.0.12"; 6 6 7 7 src = fetchurl { 8 8 url = "ftp://bird.network.cz/pub/bird/${pname}-${version}.tar.gz"; 9 - hash = "sha256-YKe4O2e50InSp0WhH93RJGH2MavHtkW2wIWt+Qs/VdY="; 9 + hash = "sha256-PsRiojfQbR9EVdbsAKQvCxaGBh/JiOXImoQdAd11O1M="; 10 10 }; 11 11 12 12 nativeBuildInputs = [ flex bison ];
+4
pkgs/servers/gemini/gmnisrv/default.nix
··· 11 11 sha256 = "sha256-V9HXXYQIo3zeqZjJEn+dhemNg6AU+ee3FRmBmXgLuYQ="; 12 12 }; 13 13 14 + NIX_CFLAGS_COMPILE = [ 15 + "-Wno-error=deprecated-declarations" 16 + ]; 17 + 14 18 postPatch = '' 15 19 substituteInPlace config.sh \ 16 20 --replace "pkg-config" "${stdenv.cc.targetPrefix}pkg-config"
+2 -2
pkgs/servers/http/apache-httpd/2.4.nix
··· 11 11 12 12 stdenv.mkDerivation rec { 13 13 pname = "apache-httpd"; 14 - version = "2.4.54"; 14 + version = "2.4.55"; 15 15 16 16 src = fetchurl { 17 17 url = "mirror://apache/httpd/httpd-${version}.tar.bz2"; 18 - sha256 = "sha256-6zl/7u/MryVPjUXeN2jZ1o6Oc4UcSa/VtxdtHs+Aw0A="; 18 + sha256 = "sha256-Eda6GeNsC5PKYuR+b/wtLyiElCaUvODyPznHG9xfaaw="; 19 19 }; 20 20 21 21 # FIXME: -dev depends on -doc
+2 -12
pkgs/servers/hylafaxplus/default.nix
··· 32 32 let 33 33 34 34 pname = "hylafaxplus"; 35 - version = "7.0.6"; 36 - hash = "sha512-0faeEwF/XQE/85zwUMOnrGzvGanuWRDr53SnrgbX0i/SHjHelzSEd2TK6plVOfV4w8RY7Ox7lSO1gjqEEzfZyw=="; 35 + version = "7.0.7"; 36 + hash = "sha512-nUvt+M0HBYN+MsGskuuDt1j0nI5Dk8MbfK/OVxP2FCDby3eiDg0eDtcpIxlOe4o0klko07zDRIb06zqh8ABuKA=="; 37 37 38 38 configSite = substituteAll { 39 39 name = "${pname}-config.site"; ··· 72 72 patches = [ 73 73 # adjust configure check to work with libtiff > 4.1 74 74 ./libtiff-4.patch 75 - # fix missing exports in libtiff 4.5+ 76 - # https://gitlab.com/libtiff/libtiff/-/issues/504 77 - # can probably be dropped with next hylafaxplus release 78 - (fetchurl { 79 - name = "hylafaxplus-7.0.6-tiff-4.5.0.patch"; 80 - url = "https://dev.gentoo.org/~sam/distfiles/net-misc/hylafaxplus/hylafaxplus-7.0.6-tiff-4.5.0.patch.xz"; 81 - downloadToTemp = true; 82 - postFetch = ''xz -d < $downloadedFile > $out''; 83 - hash = "sha256-koZvvzlgZHcANVaYdewnuLARz2TTeyDZRjm0EYWzsmk="; 84 - }) 85 75 ]; 86 76 # Note that `configure` (and maybe `faxsetup`) are looking 87 77 # for a couple of standard binaries in the `PATH` and
+1 -1
pkgs/servers/hylafaxplus/libtiff-4.patch
··· 5 5 echo '#define TIFFSTRIPBYTECOUNTS uint32_t' 6 6 echo '#define TIFFVERSION TIFF_VERSION' 7 7 echo '#define TIFFHEADER TIFFHeader';; 8 - - 4.[01234]) tiff_runlen_t="uint32_t" 8 + - 4.[012345]) tiff_runlen_t="uint32_t" 9 9 + 4.[0-9]) tiff_runlen_t="uint32_t" 10 10 tiff_offset_t="uint64_t" 11 11 echo '#define TIFFSTRIPBYTECOUNTS uint64_t'
+3 -3
pkgs/servers/invidious/versions.json
··· 4 4 "sha256": "sha256-EU6T9yQCdOLx98Io8o01rEsgxDFF/Xoy42LgPopD2/A=" 5 5 }, 6 6 "invidious": { 7 - "rev": "05258d56bdc3f4de1f0da0c0dbd2d540f68cbdd5", 8 - "sha256": "sha256-5vA9LCtHgXj7Pn5U/oLDKnwR/ZNtayl2QBA9jkzs98E=", 9 - "version": "unstable-2023-01-10" 7 + "rev": "dbee027ed9b568469815b319332e029964bff7fb", 8 + "sha256": "sha256-M0m3JtA9Qx5ZpgNujeUBC/7TVES9dKLEr5pKgn8l1cM=", 9 + "version": "unstable-2023-01-22" 10 10 }, 11 11 "lsquic": { 12 12 "sha256": "sha256-hG8cUvhbCNeMOsKkaJlgGpzUrIx47E/WhmPIdI5F3qM=",
+2 -2
pkgs/servers/jackett/default.nix
··· 9 9 10 10 buildDotnetModule rec { 11 11 pname = "jackett"; 12 - version = "0.20.2679"; 12 + version = "0.20.2688"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = pname; 16 16 repo = pname; 17 17 rev = "v${version}"; 18 - hash = "sha512-uB1gOtalInBOFulmdHvA9ycPt0CvEefXZyGhYwUZ+bjyMaM1T6QcrPeSjuBQ10nIrRmqrXMSZB3cvthSwm+Rrw=="; 18 + hash = "sha512-e2uJ4uV6e3cwvnt3hw8qAYmUOhoyfX93YEgsV1pT/lZynYS7/FRF2jgo8ZUa1WC8lr/+tBQl+17jkxuQoIT7AA=="; 19 19 }; 20 20 21 21 projectFile = "src/Jackett.Server/Jackett.Server.csproj";
+1 -1
pkgs/servers/matrix-synapse/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, python3, openssl, rustPlatform 2 - , enableSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd 2 + , enableSystemd ? lib.meta.availableOn stdenv.hostPlatform python3.pkgs.systemd 3 3 , nixosTests 4 4 , enableRedis ? true 5 5 , callPackage
+1 -2
pkgs/servers/mautrix-facebook/default.nix
··· 1 1 { lib 2 2 , stdenv 3 - , systemd 4 - , enableSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd 5 3 , fetchFromGitHub 6 4 , fetchpatch 7 5 , python3 6 + , enableSystemd ? lib.meta.availableOn stdenv.hostPlatform python3.pkgs.systemd 8 7 }: 9 8 10 9 python3.pkgs.buildPythonPackage rec {
+2 -2
pkgs/servers/nfs-ganesha/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "nfs-ganesha"; 8 - version = "4.2"; 8 + version = "4.3"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "nfs-ganesha"; 12 12 repo = "nfs-ganesha"; 13 13 rev = "V${version}"; 14 - sha256 = "sha256-9Hn1teHo5sHJLYQYM+nAIwq7Gckxl1TCTk/GxLME1qo="; 14 + sha256 = "sha256-MafP6kl3SmtT2/vLPDwy8U7+tE6hUBr/lWmiAcjsQNU="; 15 15 }; 16 16 17 17 preConfigure = "cd src";
+2 -2
pkgs/servers/roundcube/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "roundcube"; 5 - version = "1.6.0"; 5 + version = "1.6.1"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/roundcube/roundcubemail/releases/download/${version}/roundcubemail-${version}-complete.tar.gz"; 9 - sha256 = "sha256-JAnM3+LkZfCGy5/BjIjf4Kr2zMI5JFZJdQYSCZIWlLo="; 9 + sha256 = "sha256-RsL2ujS8t+V+R8sDS/M45fx9zO3dqSEqLvO9MUbZe+0="; 10 10 }; 11 11 12 12 patches = [ ./0001-Don-t-resolve-symlinks-when-trying-to-find-INSTALL_P.patch ];
+2 -2
pkgs/servers/sql/postgresql/ext/timescaledb.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "timescaledb"; 11 - version = "2.9.1"; 11 + version = "2.9.2"; 12 12 13 13 nativeBuildInputs = [ cmake ]; 14 14 buildInputs = [ postgresql openssl libkrb5 ]; ··· 17 17 owner = "timescale"; 18 18 repo = "timescaledb"; 19 19 rev = version; 20 - sha256 = "sha256-fvVSxDiGZAewyuQ2vZDb0I6tmlDXl6trjZp8+qDBtb8="; 20 + sha256 = "sha256-3n3nqAVow8nIocXPsgCZcNkV+jr/G5/CmnSUfj2WMWo="; 21 21 }; 22 22 23 23 cmakeFlags = [ "-DSEND_TELEMETRY_DEFAULT=OFF" "-DREGRESS_CHECKS=OFF" "-DTAP_CHECKS=OFF" ]
+4
pkgs/stdenv/darwin/default.nix
··· 339 339 ''; 340 340 passthru = { 341 341 isLLVM = true; 342 + cxxabi = self."${finalLlvmPackages}".libcxxabi; 342 343 }; 343 344 }; 344 345 ··· 349 348 mkdir -p $out/lib 350 349 ln -s ${bootstrapTools}/lib/libc++abi.dylib $out/lib/libc++abi.dylib 351 350 ''; 351 + passthru = { 352 + libName = "c++abi"; 353 + }; 352 354 }; 353 355 354 356 compiler-rt = stdenv.mkDerivation {
+1 -3
pkgs/tools/X11/xpra/default.nix
··· 36 36 , xorgserver 37 37 }: 38 38 39 - with lib; 40 - 41 39 let 42 40 inherit (python3.pkgs) cython buildPythonApplication; 43 41 ··· 204 206 updateScript = ./update.sh; 205 207 }; 206 208 207 - meta = { 209 + meta = with lib; { 208 210 homepage = "https://xpra.org/"; 209 211 downloadPage = "https://xpra.org/src/"; 210 212 description = "Persistent remote applications for X";
+3 -5
pkgs/tools/admin/pulumi-bin/default.nix
··· 1 1 { lib, stdenv, fetchurl, autoPatchelfHook, makeWrapper, installShellFiles }: 2 2 3 - with lib; 4 - 5 3 let 6 4 data = import ./data.nix {}; 7 5 in stdenv.mkDerivation { ··· 14 16 15 17 installPhase = '' 16 18 install -D -t $out/bin/ * 17 - '' + optionalString stdenv.isLinux '' 19 + '' + lib.optionalString stdenv.isLinux '' 18 20 wrapProgram $out/bin/pulumi --set LD_LIBRARY_PATH "${stdenv.cc.cc.lib}/lib" 19 21 '' + '' 20 22 installShellCompletion --cmd pulumi \ ··· 23 25 --zsh <($out/bin/pulumi completion zsh) 24 26 ''; 25 27 26 - nativeBuildInputs = [ installShellFiles ] ++ optionals stdenv.isLinux [ autoPatchelfHook makeWrapper ]; 28 + nativeBuildInputs = [ installShellFiles ] ++ lib.optionals stdenv.isLinux [ autoPatchelfHook makeWrapper ]; 27 29 28 - meta = { 30 + meta = with lib; { 29 31 homepage = "https://pulumi.io/"; 30 32 description = "Pulumi is a cloud development platform that makes creating cloud programs easy and productive"; 31 33 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
+3 -3
pkgs/tools/admin/scaleway-cli/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "scaleway-cli"; 5 - version = "2.9.0"; 5 + version = "2.10.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "scaleway"; 9 9 repo = "scaleway-cli"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-Sh7K0PgjX2/vio2E8/qdiP+WC2SoGpS9oU4UizV+sOs="; 11 + sha256 = "sha256-Xy4arniOrCln58swFExd0ZoU6wymKYFinReMs7YudeY="; 12 12 }; 13 13 14 - vendorHash = "sha256-sYvq502huyCxI4zpPLfPVyyKqTclrfxL9idCGW4Xops="; 14 + vendorHash = "sha256-BNiF90jovSyCcRGfv6Kya4fLpqV2VF2Qa3QqdyQio5c="; 15 15 16 16 ldflags = [ 17 17 "-w"
-2
pkgs/tools/admin/tigervnc/default.nix
··· 23 23 , nixosTests 24 24 }: 25 25 26 - with lib; 27 - 28 26 stdenv.mkDerivation rec { 29 27 version = "1.12.0"; 30 28 pname = "tigervnc";
+1 -1
pkgs/tools/audio/dsp/default.nix
··· 23 23 owner = "bmc0"; 24 24 repo = "dsp"; 25 25 rev = "v${version}"; 26 - sha256 = "sha256-S1pzVQ/ceNsx0vGmzdDWw2TjPVLiRgzR4edFblWsekY="; 26 + hash = "sha256-S1pzVQ/ceNsx0vGmzdDWw2TjPVLiRgzR4edFblWsekY="; 27 27 }; 28 28 29 29 nativeBuildInputs = [ pkg-config ];
+2 -4
pkgs/tools/backup/bup/default.nix
··· 7 7 8 8 let version = "0.32"; in 9 9 10 - with lib; 11 - 12 10 stdenv.mkDerivation { 13 11 pname = "bup"; 14 12 inherit version; ··· 29 31 postPatch = '' 30 32 patchShebangs . 31 33 substituteInPlace Makefile --replace "-Werror" "" 32 - '' + optionalString par2Support '' 34 + '' + lib.optionalString par2Support '' 33 35 substituteInPlace cmd/fsck-cmd.py --replace "'par2'" "'${par2cmdline}/bin/par2'" 34 36 ''; 35 37 ··· 47 49 --prefix PATH : ${git}/bin 48 50 ''; 49 51 50 - meta = { 52 + meta = with lib; { 51 53 homepage = "https://github.com/bup/bup"; 52 54 description = "Efficient file backup system based on the git packfile format"; 53 55 license = licenses.gpl2Plus;
+1 -2
pkgs/tools/backup/luckybackup/default.nix
··· 3 3 , rsync, ssh 4 4 }: 5 5 6 - with lib; 7 6 mkDerivation rec { 8 7 pname = "luckybackup"; 9 8 version = "0.5.0"; ··· 25 26 done 26 27 ''; 27 28 28 - meta = { 29 + meta = with lib; { 29 30 description = "A powerful, fast and reliable backup & sync tool"; 30 31 longDescription = '' 31 32 luckyBackup is an application for data back-up and synchronization
+3 -5
pkgs/tools/bluetooth/bluez-alsa/default.nix
··· 9 9 # TODO: aptxSupport 10 10 }: 11 11 12 - with lib; 13 - 14 12 stdenv.mkDerivation rec { 15 13 pname = "bluez-alsa"; 16 14 version = "4.0.0"; ··· 26 28 alsa-lib bluez glib sbc dbus 27 29 readline libbsd ncurses 28 30 ] 29 - ++ optional aacSupport fdk_aac; 31 + ++ lib.optional aacSupport fdk_aac; 30 32 31 33 configureFlags = [ 32 34 "--with-alsaplugindir=${placeholder "out"}/lib/alsa-lib" ··· 34 36 "--enable-rfcomm" 35 37 "--enable-hcitop" 36 38 ] 37 - ++ optional aacSupport "--enable-aac"; 39 + ++ lib.optional aacSupport "--enable-aac"; 38 40 39 - meta = { 41 + meta = with lib; { 40 42 description = "Bluez 5 Bluetooth Audio ALSA Backend"; 41 43 longDescription = '' 42 44 Bluez-ALSA (BlueALSA) is an ALSA backend for Bluez 5 audio interface.
+3 -3
pkgs/tools/compression/crabz/default.nix
··· 10 10 11 11 rustPlatform.buildRustPackage rec { 12 12 pname = "crabz"; 13 - version = "0.7.5"; 13 + version = "0.7.10"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "sstadick"; 17 17 repo = pname; 18 18 rev = "v${version}"; 19 - sha256 = "sha256-9PZbrdgHX7zOftecvsyVjYUkBlFEt20lYtLSkFcb8dg="; 19 + sha256 = "sha256-A1mjnGnFKgCdwr2J0MBUzpL/UI9nOHDxbrZ9UazqZik="; 20 20 }; 21 21 22 - cargoSha256 = "sha256-tT6RCL5pOAMZw7cQr0BCAde9Y/1FeBBLXF6uXfM1I0A="; 22 + cargoSha256 = "sha256-YxO0YPY82Q6dXOBs2ZoSAv14p67kNsmhGOiwt+voD5I="; 23 23 24 24 nativeBuildInputs = [ cmake ]; 25 25
+2 -2
pkgs/tools/filesystems/go-mtpfs/default.nix
··· 8 8 owner = "hanwen"; 9 9 repo = "go-mtpfs"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-HVfB8/MImgZZLx4tcrlYOfQjpAdHMHshEaSsd+n758w="; 11 + hash = "sha256-HVfB8/MImgZZLx4tcrlYOfQjpAdHMHshEaSsd+n758w="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-OrAEvD2rF0Y0bvCD9TUv/E429lASsvC3uK3qNvbg734="; 14 + vendorHash = "sha256-OrAEvD2rF0Y0bvCD9TUv/E429lASsvC3uK3qNvbg734="; 15 15 16 16 ldflags = [ "-s" "-w" ]; 17 17
+1 -3
pkgs/tools/filesystems/squashfuse/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, autoreconfHook, libtool, fuse, 2 2 pkg-config, lz4, xz, zlib, lzo, zstd }: 3 3 4 - with lib; 5 - 6 4 stdenv.mkDerivation rec { 7 5 8 6 pname = "squashfuse"; ··· 20 22 description = "FUSE filesystem to mount squashfs archives"; 21 23 homepage = "https://github.com/vasi/squashfuse"; 22 24 maintainers = [ ]; 23 - platforms = platforms.unix; 25 + platforms = lib.platforms.unix; 24 26 license = "BSD-2-Clause"; 25 27 }; 26 28 }
+4 -1
pkgs/tools/games/pokefinder/default.nix
··· 26 26 patchShebangs Source/Core/Resources/ 27 27 ''; 28 28 29 - installPhase = '' 29 + installPhase = lib.optionalString (!stdenv.isDarwin) '' 30 30 install -D Source/Forms/PokeFinder $out/bin/PokeFinder 31 + '' + lib.optionalString stdenv.isDarwin '' 32 + mkdir -p $out/Applications 33 + cp -R Source/Forms/PokeFinder.app $out/Applications 31 34 ''; 32 35 33 36 nativeBuildInputs = [ cmake wrapQtAppsHook ];
+4 -6
pkgs/tools/graphics/gifsicle/default.nix
··· 3 3 , static ? stdenv.hostPlatform.isStatic 4 4 }: 5 5 6 - with lib; 7 - 8 6 stdenv.mkDerivation rec { 9 7 pname = "gifsicle"; 10 8 version = "1.93"; ··· 12 14 sha256 = "sha256-kvZweXMr9MHaCH5q4JBSBYRuWsd3ulyqZtEqc6qUNEc="; 13 15 }; 14 16 15 - buildInputs = optionals gifview [ xorgproto libXt libX11 ]; 17 + buildInputs = lib.optionals gifview [ xorgproto libXt libX11 ]; 16 18 17 - configureFlags = optional (!gifview) "--disable-gifview"; 19 + configureFlags = lib.optional (!gifview) "--disable-gifview"; 18 20 19 - LDFLAGS = optionalString static "-static"; 21 + LDFLAGS = lib.optionalString static "-static"; 20 22 21 23 doCheck = true; 22 24 checkPhase = '' ··· 27 29 description = "Command-line tool for creating, editing, and getting information about GIF images and animations"; 28 30 homepage = "https://www.lcdf.org/gifsicle/"; 29 31 license = lib.licenses.gpl2; 30 - platforms = platforms.all; 32 + platforms = lib.platforms.all; 31 33 maintainers = with lib.maintainers; [ zimbatm ]; 32 34 }; 33 35 }
+2 -4
pkgs/tools/graphics/ldgallery/viewer/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, pkgs, pandoc, CoreServices }: 2 2 3 - with lib; 4 - 5 3 let 6 4 # Note for maintainers: 7 5 # * keep version in sync with the ldgallery compiler ··· 19 21 nodePkg = nodePackages.package.override { 20 22 src = "${sourcePkg}/viewer"; 21 23 postInstall = "npm run build"; 22 - buildInputs = optionals stdenv.isDarwin [ CoreServices ]; 24 + buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; 23 25 }; 24 26 25 27 in 26 28 27 29 # making sure that the source and the node package are in sync 28 - assert versions.majorMinor nodePkg.version == removePrefix "v" sourcePkg.rev; 30 + assert lib.versions.majorMinor nodePkg.version == lib.removePrefix "v" sourcePkg.rev; 29 31 30 32 stdenv.mkDerivation { 31 33 pname = nodePkg.packageName;
+1 -3
pkgs/tools/graphics/optipng/default.nix
··· 4 4 5 5 # This package comes with its own copy of zlib, libpng and pngxtern 6 6 7 - with lib; 8 - 9 7 stdenv.mkDerivation rec { 10 8 pname = "optipng"; 11 9 version = "0.7.7"; ··· 15 17 16 18 buildInputs = [ libpng ]; 17 19 18 - LDFLAGS = optional static "-static"; 20 + LDFLAGS = lib.optional static "-static"; 19 21 # Workaround for crash in cexcept.h. See 20 22 # https://github.com/NixOS/nixpkgs/issues/28106 21 23 preConfigure = ''
-1
pkgs/tools/graphics/pgf/default.nix
··· 1 1 { lib, stdenv, fetchurl, autoconf, automake, libtool, dos2unix, libpgf, freeimage, doxygen }: 2 2 3 - with lib; 4 3 stdenv.mkDerivation rec { 5 4 pname = "pgf"; 6 5 version = "6.14.12";
+6 -8
pkgs/tools/inputmethods/ibus/default.nix
··· 34 34 , nixosTests 35 35 }: 36 36 37 - with lib; 38 - 39 37 let 40 38 python3Runtime = python3.withPackages (ps: with ps; [ pygobject3 ]); 41 39 python3BuildEnv = python3.buildEnv.override { ··· 86 88 87 89 configureFlags = [ 88 90 "--disable-memconf" 89 - (enableFeature (dconf != null) "dconf") 90 - (enableFeature (libnotify != null) "libnotify") 91 - (enableFeature withWayland "wayland") 92 - (enableFeature enableUI "ui") 91 + (lib.enableFeature (dconf != null) "dconf") 92 + (lib.enableFeature (libnotify != null) "libnotify") 93 + (lib.enableFeature withWayland "wayland") 94 + (lib.enableFeature enableUI "ui") 93 95 "--enable-gtk4" 94 96 "--enable-install-tests" 95 97 "--with-unicode-emoji-dir=${unicode-emoji}/share/unicode/emoji" ··· 131 133 isocodes 132 134 json-glib 133 135 libnotify 134 - ] ++ optionals withWayland [ 136 + ] ++ lib.optionals withWayland [ 135 137 libxkbcommon 136 138 wayland 137 139 ]; ··· 163 165 }; 164 166 }; 165 167 166 - meta = { 168 + meta = with lib; { 167 169 homepage = "https://github.com/ibus/ibus"; 168 170 description = "Intelligent Input Bus, input method framework"; 169 171 license = licenses.lgpl21Plus;
+20 -22
pkgs/tools/inputmethods/uim/default.nix
··· 18 18 , withMisc ? false, libeb ? null 19 19 }: 20 20 21 - with lib; 22 - 23 21 assert withGtk2 -> gtk2 != null; 24 22 assert withGtk3 -> gtk3 != null; 25 23 ··· 57 59 buildInputs = [ 58 60 ncurses m17n_lib m17n_db expat 59 61 ] 60 - ++ optional withAnthy anthy 61 - ++ optional withGtk2 gtk2 62 - ++ optional withGtk3 gtk3 63 - ++ optional withQt4 qt4 64 - ++ optionals withQt5 [ qt5.qtbase.bin qt5.qtbase.dev ] 65 - ++ optional withLibnotify libnotify 66 - ++ optional withSqlite sqlite 67 - ++ optionals withNetworking [ 62 + ++ lib.optional withAnthy anthy 63 + ++ lib.optional withGtk2 gtk2 64 + ++ lib.optional withGtk3 gtk3 65 + ++ lib.optional withQt4 qt4 66 + ++ lib.optionals withQt5 [ qt5.qtbase.bin qt5.qtbase.dev ] 67 + ++ lib.optional withLibnotify libnotify 68 + ++ lib.optional withSqlite sqlite 69 + ++ lib.optionals withNetworking [ 68 70 curl openssl 69 71 ] 70 - ++ optional withFFI libffi 71 - ++ optional withMisc libeb; 72 + ++ lib.optional withFFI libffi 73 + ++ lib.optional withMisc libeb; 72 74 73 75 prePatch = '' 74 76 patchShebangs *.sh */*.sh */*/*.sh ··· 111 113 "--with-xft" 112 114 "--with-expat=${expat.dev}" 113 115 ] 114 - ++ optional withAnthy "--with-anthy-utf8" 115 - ++ optional withGtk2 "--with-gtk2" 116 - ++ optional withGtk3 "--with-gtk3" 117 - ++ optionals withQt4 [ 116 + ++ lib.optional withAnthy "--with-anthy-utf8" 117 + ++ lib.optional withGtk2 "--with-gtk2" 118 + ++ lib.optional withGtk3 "--with-gtk3" 119 + ++ lib.optionals withQt4 [ 118 120 "--with-qt4" 119 121 "--with-qt4-immodule" 120 122 ] 121 - ++ optionals withQt5 [ 123 + ++ lib.optionals withQt5 [ 122 124 "--with-qt5" 123 125 "--with-qt5-immodule" 124 126 ] 125 - ++ optional withLibnotify "--enable-notify=libnotify" 126 - ++ optional withSqlite "--with-sqlite3" 127 - ++ optionals withNetworking [ 127 + ++ lib.optional withLibnotify "--enable-notify=libnotify" 128 + ++ lib.optional withSqlite "--with-sqlite3" 129 + ++ lib.optionals withNetworking [ 128 130 "--with-curl" 129 131 "--with-openssl-dir=${openssl.dev}" 130 132 ] 131 - ++ optional withFFI "--with-ffi" 132 - ++ optional withMisc "--with-eb"; 133 + ++ lib.optional withFFI "--with-ffi" 134 + ++ lib.optional withMisc "--with-eb"; 133 135 134 136 # TODO: things in `./configure --help`, but not in nixpkgs 135 137 #--with-canna Use Canna [default=no]
+1 -3
pkgs/tools/misc/catimg/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, cmake } : 2 2 3 - with lib; 4 - 5 3 stdenv.mkDerivation rec { 6 4 pname = "catimg"; 7 5 version = "2.7.0"; ··· 13 15 14 16 nativeBuildInputs = [ cmake ]; 15 17 16 - meta = { 18 + meta = with lib; { 17 19 license = licenses.mit; 18 20 homepage = "https://github.com/posva/catimg"; 19 21 description = "Insanely fast image printing in your terminal";
+2 -2
pkgs/tools/misc/claws/default.nix
··· 8 8 rev = version; 9 9 owner = "thehowl"; 10 10 repo = pname; 11 - sha256 = "sha256-3zzUBeYfu9x3vRGX1DionLnAs1e44tFj8Z1dpVwjdCg="; 11 + hash = "sha256-3zzUBeYfu9x3vRGX1DionLnAs1e44tFj8Z1dpVwjdCg="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-FP+3Rw5IdCahhx9giQrpepMMtF1pWcyjNglrlu9ju0Q="; 14 + vendorHash = "sha256-FP+3Rw5IdCahhx9giQrpepMMtF1pWcyjNglrlu9ju0Q="; 15 15 16 16 ldflags = [ "-s" "-w" ]; 17 17
+1 -3
pkgs/tools/misc/desktop-file-utils/default.nix
··· 1 1 { lib, stdenv, fetchurl, pkg-config, meson, ninja, glib, libintl }: 2 2 3 - with lib; 4 - 5 3 stdenv.mkDerivation rec { 6 4 pname = "desktop-file-utils"; 7 5 version = "0.26"; ··· 19 21 20 22 setupHook = ./setup-hook.sh; 21 23 22 - meta = { 24 + meta = with lib; { 23 25 homepage = "http://www.freedesktop.org/wiki/Software/desktop-file-utils"; 24 26 description = "Command line utilities for working with .desktop files"; 25 27 platforms = platforms.linux ++ platforms.darwin;
+2 -14
pkgs/tools/misc/fzf/default.nix
··· 2 2 , lib 3 3 , buildGoModule 4 4 , fetchFromGitHub 5 - , fetchpatch 6 - , writeText 7 5 , writeShellScriptBin 8 6 , runtimeShell 9 7 , installShellFiles ··· 24 26 in 25 27 buildGoModule rec { 26 28 pname = "fzf"; 27 - version = "0.36.0"; 29 + version = "0.37.0"; 28 30 29 31 src = fetchFromGitHub { 30 32 owner = "junegunn"; 31 33 repo = pname; 32 34 rev = version; 33 - hash = "sha256-1PKu8l4Mx17CpePUE0JEnLPNsUdJ0KvW6Lx6VZM27kI="; 35 + hash = "sha256-m+tKNz7tUWkm/Vg9DhcfZyaBgZh+Mcf0mRfc5/SW2Os="; 34 36 }; 35 37 36 38 vendorHash = "sha256-MsMwBBualAwJzCrv/WNBJakv6LcKZYsDUqkNmivUMOQ="; ··· 43 45 44 46 ldflags = [ 45 47 "-s" "-w" "-X main.version=${version} -X main.revision=${src.rev}" 46 - ]; 47 - 48 - patches = [ 49 - # fix for test failure on 32-bit platforms 50 - # can be removed in the next release of fzf 51 - # https://github.com/junegunn/fzf/issues/3127 52 - (fetchpatch { 53 - url = "https://github.com/junegunn/fzf/commit/aa7361337d3f78ae1e32283ba395446025323abb.patch"; 54 - hash = "sha256-ZmBdJa7eq9f58f2pL7QrtDSApkQJQBH/Em12J5xk3Q4="; 55 - }) 56 48 ]; 57 49 58 50 # The vim plugin expects a relative path to the binary; patch it to abspath.
+8 -9
pkgs/tools/misc/grub/2.0x.nix
··· 13 13 , kbdcompSupport ? false, ckbcomp 14 14 }: 15 15 16 - with lib; 17 16 let 18 17 pcSystems = { 19 18 i686-linux.target = "i386"; ··· 39 40 riscv64-linux.target = "riscv64"; 40 41 }; 41 42 42 - canEfi = any (system: stdenv.hostPlatform.system == system) (mapAttrsToList (name: _: name) efiSystemsBuild); 43 - inPCSystems = any (system: stdenv.hostPlatform.system == system) (mapAttrsToList (name: _: name) pcSystems); 43 + canEfi = lib.any (system: stdenv.hostPlatform.system == system) (lib.mapAttrsToList (name: _: name) efiSystemsBuild); 44 + inPCSystems = lib.any (system: stdenv.hostPlatform.system == system) (lib.mapAttrsToList (name: _: name) pcSystems); 44 45 45 46 version = "2.06"; 46 47 ··· 329 330 depsBuildBuild = [ buildPackages.stdenv.cc ]; 330 331 nativeBuildInputs = [ bison flex python3 pkg-config gettext freetype autoreconfHook ]; 331 332 buildInputs = [ ncurses libusb-compat-0_1 freetype lvm2 fuse libtool bash ] 332 - ++ optional doCheck qemu 333 - ++ optional zfsSupport zfs; 333 + ++ lib.optional doCheck qemu 334 + ++ lib.optional zfsSupport zfs; 334 335 335 336 strictDeps = true; 336 337 ··· 368 369 369 370 configureFlags = [ 370 371 "--enable-grub-mount" # dep of os-prober 371 - ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 372 + ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 372 373 # grub doesn't do cross-compilation as usual and tries to use unprefixed 373 374 # tools to target the host. Provide toolchain information explicitly for 374 375 # cross builds. ··· 379 380 "TARGET_OBJCOPY=${stdenv.cc.targetPrefix}objcopy" 380 381 "TARGET_RANLIB=${stdenv.cc.targetPrefix}ranlib" 381 382 "TARGET_STRIP=${stdenv.cc.targetPrefix}strip" 382 - ] ++ optional zfsSupport "--enable-libzfs" 383 - ++ optionals efiSupport [ "--with-platform=efi" "--target=${efiSystemsBuild.${stdenv.hostPlatform.system}.target}" "--program-prefix=" ] 384 - ++ optionals xenSupport [ "--with-platform=xen" "--target=${efiSystemsBuild.${stdenv.hostPlatform.system}.target}"]; 383 + ] ++ lib.optional zfsSupport "--enable-libzfs" 384 + ++ lib.optionals efiSupport [ "--with-platform=efi" "--target=${efiSystemsBuild.${stdenv.hostPlatform.system}.target}" "--program-prefix=" ] 385 + ++ lib.optionals xenSupport [ "--with-platform=xen" "--target=${efiSystemsBuild.${stdenv.hostPlatform.system}.target}"]; 385 386 386 387 # save target that grub is compiled for 387 388 grubTarget = if efiSupport
-1
pkgs/tools/misc/grub/pvgrub_image/default.nix
··· 1 1 { lib, stdenv, grub2_xen }: 2 2 3 - with lib; 4 3 let 5 4 efiSystemsBuild = { 6 5 i686-linux.target = "i386";
+2 -3
pkgs/tools/misc/grub/trusted.nix
··· 18 18 , for_HP_laptop ? false 19 19 }: 20 20 21 - with lib; 22 21 let 23 22 pcSystems = { 24 23 i686-linux.target = "i386"; 25 24 x86_64-linux.target = "i386"; 26 25 }; 27 26 28 - inPCSystems = any (system: stdenv.hostPlatform.system == system) (mapAttrsToList (name: _: name) pcSystems); 27 + inPCSystems = lib.any (system: stdenv.hostPlatform.system == system) (lib.mapAttrsToList (name: _: name) pcSystems); 29 28 30 29 version = if for_HP_laptop then "1.2.1" else "1.2.0"; 31 30 ··· 58 59 59 60 nativeBuildInputs = [ autogen flex bison python2 autoconf automake ]; 60 61 buildInputs = [ ncurses libusb-compat-0_1 freetype gettext lvm2 ] 61 - ++ optional doCheck qemu; 62 + ++ lib.optional doCheck qemu; 62 63 63 64 hardeningDisable = [ "stackprotector" "pic" ]; 64 65
+1 -3
pkgs/tools/misc/hexd/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub }: 2 2 3 - with lib; 4 - 5 3 stdenv.mkDerivation rec { 6 4 pname = "hexd"; 7 5 version = "1.1.0"; ··· 13 15 14 16 makeFlags = [ "PREFIX=$(out)" ]; 15 17 16 - meta = { 18 + meta = with lib; { 17 19 description = "Colourful, human-friendly hexdump tool"; 18 20 homepage = "https://github.com/FireyFly/hexd"; 19 21 maintainers = [ maintainers.FireyFly ];
+56
pkgs/tools/misc/locate-dominating-file/default.nix
··· 1 + { bats 2 + , bash 3 + , fetchFromGitHub 4 + , lib 5 + , stdenvNoCC 6 + , getopt 7 + }: 8 + let 9 + version = "0.0.1"; 10 + in 11 + stdenvNoCC.mkDerivation { 12 + pname = "locate-dominating-file"; 13 + inherit version; 14 + src = fetchFromGitHub { 15 + owner = "roman"; 16 + repo = "locate-dominating-file"; 17 + rev = "v${version}"; 18 + sha256 = "sha256-gwh6fAw7BV7VFIkQN02QIhK47uxpYheMk64UeLyp2IY="; 19 + }; 20 + 21 + doCheck = true; 22 + 23 + postPatch = '' 24 + for file in $(find src tests -type f); do 25 + patchShebangs "$file" 26 + done 27 + ''; 28 + 29 + buildInputs = [ getopt ]; 30 + 31 + installPhase = '' 32 + runHook preInstall 33 + 34 + mkdir -p $out/bin 35 + cp src/locate-dominating-file.sh $out/bin/locate-dominating-file 36 + 37 + runHook postInstall 38 + ''; 39 + 40 + checkInputs = [ (bats.withLibraries (p: [ p.bats-support p.bats-assert ])) ]; 41 + 42 + checkPhase = '' 43 + runHook preCheck 44 + 45 + bats -t tests 46 + 47 + runHook postCheck 48 + ''; 49 + 50 + meta = with lib; { 51 + description = "Program that looks up in a directory hierarchy for a given filename"; 52 + license = licenses.mit; 53 + maintainers = [ maintainers.roman ]; 54 + platforms = platforms.all; 55 + }; 56 + }
+2 -4
pkgs/tools/misc/logstash/6.x.nix
··· 7 7 , jre 8 8 }: 9 9 10 - with lib; 11 - 12 10 let this = stdenv.mkDerivation rec { 13 11 version = elk6Version; 14 - pname = "logstash${optionalString (!enableUnfree) "-oss"}"; 12 + pname = "logstash${lib.optionalString (!enableUnfree) "-oss"}"; 15 13 16 14 src = fetchurl { 17 15 url = "https://artifacts.elastic.co/downloads/logstash/${pname}-${version}.tar.gz"; ··· 61 63 maintainers = with maintainers; [ wjlroe offline basvandijk ]; 62 64 }; 63 65 passthru.tests = 64 - optionalAttrs (!enableUnfree) ( 66 + lib.optionalAttrs (!enableUnfree) ( 65 67 assert this.drvPath == nixosTests.elk.ELK-6.elkPackages.logstash.drvPath; 66 68 { 67 69 elk = nixosTests.elk.ELK-6;
+5 -7
pkgs/tools/misc/logstash/7.x.nix
··· 9 9 , jre 10 10 }: 11 11 12 - with lib; 13 - 14 12 let 15 - info = splitString "-" stdenv.hostPlatform.system; 16 - arch = elemAt info 0; 17 - plat = elemAt info 1; 13 + info = lib.splitString "-" stdenv.hostPlatform.system; 14 + arch = lib.elemAt info 0; 15 + plat = lib.elemAt info 1; 18 16 shas = 19 17 if enableUnfree 20 18 then { ··· 27 29 }; 28 30 this = stdenv.mkDerivation rec { 29 31 version = elk7Version; 30 - pname = "logstash${optionalString (!enableUnfree) "-oss"}"; 32 + pname = "logstash${lib.optionalString (!enableUnfree) "-oss"}"; 31 33 32 34 33 35 src = fetchurl { ··· 77 79 maintainers = with maintainers; [ wjlroe offline basvandijk ]; 78 80 }; 79 81 passthru.tests = 80 - optionalAttrs (config.allowUnfree && enableUnfree) ( 82 + lib.optionalAttrs (config.allowUnfree && enableUnfree) ( 81 83 assert this.drvPath == nixosTests.elk.unfree.ELK-7.elkPackages.logstash.drvPath; 82 84 { 83 85 elk = nixosTests.elk.unfree.ELK-7;
+2 -3
pkgs/tools/misc/moreutils/default.nix
··· 11 11 , darwin 12 12 }: 13 13 14 - with lib; 15 14 stdenv.mkDerivation rec { 16 15 pname = "moreutils"; 17 16 version = "0.67"; ··· 27 28 28 29 strictDeps = true; 29 30 nativeBuildInputs = [ makeWrapper perl libxml2 libxslt docbook-xsl docbook_xml_dtd_44 ]; 30 - buildInputs = optional stdenv.isDarwin darwin.cctools; 31 + buildInputs = lib.optional stdenv.isDarwin darwin.cctools; 31 32 32 33 propagatedBuildInputs = with perlPackages; [ perl IPCRun TimeDate TimeDuration ]; 33 34 ··· 39 40 wrapProgram $out/bin/ts --prefix PERL5LIB : $PERL5LIB 40 41 ''; 41 42 42 - meta = { 43 + meta = with lib; { 43 44 description = "Growing collection of the unix tools that nobody thought to write long ago when unix was young"; 44 45 homepage = "https://joeyh.name/code/moreutils/"; 45 46 maintainers = with maintainers; [ koral pSub ];
+3 -3
pkgs/tools/misc/nurl/default.nix
··· 12 12 13 13 rustPlatform.buildRustPackage rec { 14 14 pname = "nurl"; 15 - version = "0.3.5"; 15 + version = "0.3.6"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "nix-community"; 19 19 repo = "nurl"; 20 20 rev = "v${version}"; 21 - hash = "sha256-MPgJIO7pHpXeryJZB/u1iBpBhleKfTWkrArW2L0E4EM="; 21 + hash = "sha256-AJHmHTkKHd99GCBlVv2t8Q9kUlCtOcK+ukYzEs5U3S4="; 22 22 }; 23 23 24 - cargoSha256 = "sha256-yMWNFY9exmDyqcU2iT9YFAcknYmtbYJ9VhJqlKg+NF4="; 24 + cargoSha256 = "sha256-0QUuYNzKN8dbGiJq2JxElR39zIlqvHXjPzT1dGc6cRM="; 25 25 26 26 nativeBuildInputs = [ 27 27 installShellFiles
+3 -3
pkgs/tools/misc/phrase-cli/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "phrase-cli"; 5 - version = "2.6.2"; 5 + version = "2.6.4"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "phrase"; 9 9 repo = "phrase-cli"; 10 10 rev = version; 11 - sha256 = "sha256-jByxNjz0KwcikOIpyxpswRbH4PFPu7mi9wERLHchPrI="; 11 + sha256 = "sha256-9jNRXAP+qNihqr30/dSHqzDkyh+GauafMQBkBit5gmc="; 12 12 }; 13 13 14 - vendorHash = "sha256-LlMBV52CG1uYW7I/e0VwoIIr0wk3ysc5gqrAlFRPsvE="; 14 + vendorHash = "sha256-zUwp7RqaKtxbTzEOhcmGG/+tqtBKs7cm6+sFNCKET08="; 15 15 16 16 ldflags = [ "-X=github.com/phrase/phrase-cli/cmd.PHRASE_CLIENT_VERSION=${version}" ]; 17 17
+1 -3
pkgs/tools/misc/pixd/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub }: 2 2 3 - with lib; 4 - 5 3 stdenv.mkDerivation rec { 6 4 pname = "pixd"; 7 5 version = "1.0.0"; ··· 13 15 14 16 makeFlags = [ "PREFIX=$(out)" ]; 15 17 16 - meta = { 18 + meta = with lib; { 17 19 description = "Colourful visualization tool for binary files"; 18 20 homepage = "https://github.com/FireyFly/pixd"; 19 21 maintainers = [ maintainers.FireyFly ];
+1 -2
pkgs/tools/misc/rmlint/default.nix
··· 20 20 21 21 assert withGui -> !stdenv.isDarwin; 22 22 23 - with lib; 24 23 stdenv.mkDerivation rec { 25 24 pname = "rmlint"; 26 25 version = "2.10.1"; ··· 77 78 gappsWrapperArgs+=(--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${python3.pkgs.pygobject3}):$(toPythonPath ${python3.pkgs.pycairo})") 78 79 ''; 79 80 80 - meta = { 81 + meta = with lib; { 81 82 description = "Extremely fast tool to remove duplicates and other lint from your filesystem"; 82 83 homepage = "https://rmlint.readthedocs.org"; 83 84 platforms = platforms.unix;
+24
pkgs/tools/misc/setconf/default.nix
··· 1 + { lib 2 + , buildPythonApplication 3 + , fetchFromGitHub 4 + }: 5 + 6 + buildPythonApplication rec { 7 + pname = "setconf"; 8 + version = "0.7.7"; 9 + format = "setuptools"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "xyproto"; 13 + repo = "setconf"; 14 + rev = version; 15 + hash = "sha256-HYZdDtDlGrT3zssDdMW3559hhC+cPy8qkmM8d9zEa1A="; 16 + }; 17 + 18 + meta = { 19 + homepage = "https://github.com/xyproto/setconf"; 20 + description = "A small utility for changing settings in configuration textfiles"; 21 + changelog = "https://github.com/xyproto/setconf/releases/tag/${version}"; 22 + maintainers = [ lib.maintainers.AndersonTorres ]; 23 + }; 24 + }
+2 -2
pkgs/tools/misc/vtm/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "vtm"; 9 - version = "0.9.8l"; 9 + version = "0.9.8n"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "netxs-group"; 13 13 repo = "vtm"; 14 14 rev = "v${version}"; 15 - sha256 = "sha256-6hZvnZXnoS97uQKxBbSJmMN1bGp42p0v4kJH7F+3mjU="; 15 + sha256 = "sha256-uH4nyhc3u9yuUZfMJ8rU8cZGtyqMfL+LyNB0/h3X45E="; 16 16 }; 17 17 18 18 nativeBuildInputs = [ cmake ];
+10 -11
pkgs/tools/networking/dnsmasq/default.nix
··· 5 5 , nixosTests 6 6 }: 7 7 8 - with lib; 9 8 let 10 - copts = concatStringsSep " " ([ 9 + copts = lib.concatStringsSep " " ([ 11 10 "-DHAVE_IDN" 12 11 "-DHAVE_DNSSEC" 13 - ] ++ optionals dbusSupport [ 12 + ] ++ lib.optionals dbusSupport [ 14 13 "-DHAVE_DBUS" 15 - ] ++ optionals stdenv.isLinux [ 14 + ] ++ lib.optionals stdenv.isLinux [ 16 15 "-DHAVE_CONNTRACK" 17 16 ]); 18 17 in ··· 42 43 43 44 hardeningEnable = [ "pie" ]; 44 45 45 - postBuild = optionalString stdenv.isLinux '' 46 + postBuild = lib.optionalString stdenv.isLinux '' 46 47 make -C contrib/lease-tools 47 48 ''; 48 49 ··· 50 51 # module can create it in Nix-land? 51 52 postInstall = '' 52 53 install -Dm644 trust-anchors.conf $out/share/dnsmasq/trust-anchors.conf 53 - '' + optionalString stdenv.isDarwin '' 54 + '' + lib.optionalString stdenv.isDarwin '' 54 55 install -Dm644 contrib/MacOSX-launchd/uk.org.thekelleys.dnsmasq.plist \ 55 56 $out/Library/LaunchDaemons/uk.org.thekelleys.dnsmasq.plist 56 57 substituteInPlace $out/Library/LaunchDaemons/uk.org.thekelleys.dnsmasq.plist \ 57 58 --replace "/usr/local/sbin" "$out/bin" 58 - '' + optionalString stdenv.isLinux '' 59 + '' + lib.optionalString stdenv.isLinux '' 59 60 install -Dm755 contrib/lease-tools/dhcp_lease_time $out/bin/dhcp_lease_time 60 61 install -Dm755 contrib/lease-tools/dhcp_release $out/bin/dhcp_release 61 62 install -Dm755 contrib/lease-tools/dhcp_release6 $out/bin/dhcp_release6 62 63 63 - '' + optionalString dbusSupport '' 64 + '' + lib.optionalString dbusSupport '' 64 65 install -Dm644 dbus/dnsmasq.conf $out/share/dbus-1/system.d/dnsmasq.conf 65 66 mkdir -p $out/share/dbus-1/system-services 66 67 cat <<END > $out/share/dbus-1/system-services/uk.org.thekelleys.dnsmasq.service ··· 74 75 75 76 nativeBuildInputs = [ pkg-config ]; 76 77 buildInputs = [ nettle libidn ] 77 - ++ optionals dbusSupport [ dbus ] 78 - ++ optionals stdenv.isLinux [ libnetfilter_conntrack ]; 78 + ++ lib.optionals dbusSupport [ dbus ] 79 + ++ lib.optionals stdenv.isLinux [ libnetfilter_conntrack ]; 79 80 80 81 passthru.tests = { 81 82 prometheus-exporter = nixosTests.prometheus-exporters.dnsmasq; ··· 86 87 kubernetes-dns-multi = nixosTests.kubernetes.dns-multi-node; 87 88 }; 88 89 89 - meta = { 90 + meta = with lib; { 90 91 description = "An integrated DNS, DHCP and TFTP server for small networks"; 91 92 homepage = "https://www.thekelleys.org.uk/dnsmasq/doc.html"; 92 93 license = licenses.gpl2;
+5 -7
pkgs/tools/networking/eggdrop/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, tcl }: 1 + { lib, stdenv, fetchurl, tcl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "eggdrop"; 5 - version = "1.9.3"; 5 + version = "1.9.4"; 6 6 7 - src = fetchFromGitHub { 8 - owner = "eggheads"; 9 - repo = "eggdrop"; 10 - rev = "v${version}"; 11 - sha256 = "sha256-BYPDIPn1nuVhnPjs2vZ6KC6pjBVYDWsRjB8c1Z6UUdE="; 7 + src = fetchurl { 8 + url = "https://ftp.eggheads.org/pub/eggdrop/source/${lib.versions.majorMinor version}/eggdrop-${version}.tar.gz"; 9 + hash = "sha256-DCh+N+h7XBidScnl2I9cwzhsmMB0MdPmAzgDwYkCltE="; 12 10 }; 13 11 14 12 buildInputs = [ tcl ];
+1 -3
pkgs/tools/networking/flannel/default.nix
··· 1 1 { lib, buildGoModule, fetchFromGitHub, nixosTests }: 2 2 3 - with lib; 4 - 5 3 buildGoModule rec { 6 4 pname = "flannel"; 7 5 version = "0.20.2"; ··· 21 23 22 24 passthru.tests = { inherit (nixosTests) flannel; }; 23 25 24 - meta = { 26 + meta = with lib; { 25 27 description = "Network fabric for containers, designed for Kubernetes"; 26 28 license = licenses.asl20; 27 29 homepage = "https://github.com/flannel-io/flannel";
+1 -1
pkgs/tools/networking/imapsync/default.nix
··· 65 65 meta = with lib; { 66 66 description = "Mail folder synchronizer between IMAP servers"; 67 67 homepage = "https://imapsync.lamiral.info/"; 68 - license = licenses.wtfpl; 68 + license = licenses.nlpl; 69 69 maintainers = with maintainers; [ pSub ]; 70 70 platforms = platforms.unix; 71 71 };
-2
pkgs/tools/networking/logmein-hamachi/default.nix
··· 1 1 { lib, stdenv, fetchurl }: 2 2 3 - with lib; 4 - 5 3 let 6 4 arch = 7 5 if stdenv.hostPlatform.system == "x86_64-linux" then "x64"
-5
pkgs/tools/networking/nbd/default.nix
··· 25 25 test = nixosTests.nbd; 26 26 }; 27 27 28 - # Glib calls `clock_gettime', which is in librt. Linking that library 29 - # here ensures that a proper rpath is added to the executable so that 30 - # it can be loaded at run-time. 31 - NIX_LDFLAGS = lib.optionalString stdenv.isLinux "-lrt -lpthread"; 32 - 33 28 meta = { 34 29 homepage = "https://nbd.sourceforge.io/"; 35 30 description = "Map arbitrary files as block devices over the network";
+2 -4
pkgs/tools/networking/ndjbdns/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, autoreconfHook, systemd, pkg-config }: 2 2 3 - with lib; 4 - 5 3 stdenv.mkDerivation { 6 4 version = "1.06"; 7 5 pname = "ndjbdns"; ··· 13 15 14 16 nativeBuildInputs = [ autoreconfHook pkg-config ]; 15 17 buildInputs = [ ] 16 - ++ optional stdenv.isLinux systemd; 18 + ++ lib.optional stdenv.isLinux systemd; 17 19 18 - meta = { 20 + meta = with lib; { 19 21 description = "A brand new release of the Djbdns"; 20 22 longDescription = '' 21 23 Djbdns is a fully‐fledged Domain Name System(DNS), originally written by the eminent author of qmail, Dr. D J Bernstein.
+3 -3
pkgs/tools/networking/netbird/default.nix
··· 14 14 in 15 15 buildGoModule rec { 16 16 pname = "netbird"; 17 - version = "0.11.6"; 17 + version = "0.12.0"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "netbirdio"; 21 21 repo = pname; 22 22 rev = "v${version}"; 23 - sha256 = "sha256-q86GVCRppBU9qiCch0sjTnSsjl17xU5l3o72cBF3zZo="; 23 + sha256 = "sha256-ajfNHkdYNJCuDhFmww1X0d9F0dmo2/h0GlfLYWvTHKc="; 24 24 }; 25 25 26 - vendorSha256 = "sha256-TfHBvcG3e+yjifPVo0ZgcvLvD16fni4m71nCr4cCBD4="; 26 + vendorHash = "sha256-3uEcb0nVHrfHZTZ/j/9l6zR1zMfLR0mVaN/Hydyam4Q="; 27 27 28 28 nativeBuildInputs = [ installShellFiles ] ++ lib.optional ui pkg-config; 29 29
+2 -4
pkgs/tools/networking/ngrok/default.nix
··· 1 1 { lib, stdenv, fetchurl }: 2 2 3 - with lib; 4 - 5 3 let versions = lib.importJSON ./versions.json; 6 4 arch = if stdenv.isi686 then "386" 7 5 else if stdenv.isx86_64 then "amd64" ··· 35 37 # Stripping causes SEGFAULT on x86_64-darwin 36 38 dontStrip = true; 37 39 38 - meta = { 40 + meta = with lib; { 39 41 description = "Allows you to expose a web server running on your local machine to the internet"; 40 42 homepage = "https://ngrok.com/"; 41 - sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; 43 + sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 42 44 license = licenses.unfree; 43 45 platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; 44 46 maintainers = with maintainers; [ bobvanderlinden brodes ];
+12 -13
pkgs/tools/networking/openssh/common.nix
··· 30 30 , linkOpenssl ? true 31 31 }: 32 32 33 - with lib; 34 33 stdenv.mkDerivation rec { 35 34 inherit pname version src; 36 35 ··· 56 57 # This is not the same as the libkrb5 from the inputs! pkgs.libkrb5 is 57 58 # needed here to access krb5-config in order to cross compile. See: 58 59 # https://github.com/NixOS/nixpkgs/pull/107606 59 - ++ optional withKerberos pkgs.libkrb5 60 + ++ lib.optional withKerberos pkgs.libkrb5 60 61 ++ extraNativeBuildInputs; 61 62 buildInputs = [ zlib openssl libedit ] 62 - ++ optional withFIDO libfido2 63 - ++ optional withKerberos libkrb5 64 - ++ optional stdenv.isLinux pam; 63 + ++ lib.optional withFIDO libfido2 64 + ++ lib.optional withKerberos libkrb5 65 + ++ lib.optional stdenv.isLinux pam; 65 66 66 67 preConfigure = '' 67 68 # Setting LD causes `configure' and `make' to disagree about which linker ··· 79 80 "--with-libedit=yes" 80 81 "--disable-strip" 81 82 (if stdenv.isLinux then "--with-pam" else "--without-pam") 82 - ] ++ optional (etcDir != null) "--sysconfdir=${etcDir}" 83 - ++ optional withFIDO "--with-security-key-builtin=yes" 84 - ++ optional withKerberos (assert libkrb5 != null; "--with-kerberos5=${libkrb5}") 85 - ++ optional stdenv.isDarwin "--disable-libutil" 86 - ++ optional (!linkOpenssl) "--without-openssl" 83 + ] ++ lib.optional (etcDir != null) "--sysconfdir=${etcDir}" 84 + ++ lib.optional withFIDO "--with-security-key-builtin=yes" 85 + ++ lib.optional withKerberos (assert libkrb5 != null; "--with-kerberos5=${libkrb5}") 86 + ++ lib.optional stdenv.isDarwin "--disable-libutil" 87 + ++ lib.optional (!linkOpenssl) "--without-openssl" 87 88 ++ extraConfigureFlags; 88 89 89 90 ${if stdenv.hostPlatform.isStatic then "NIX_LDFLAGS" else null}= [ "-laudit" ] ++ lib.optionals withKerberos [ "-lkeyutils" ]; ··· 96 97 97 98 doCheck = true; 98 99 enableParallelChecking = false; 99 - nativeCheckInputs = optional (!stdenv.isDarwin) hostname; 100 + nativeCheckInputs = lib.optional (!stdenv.isDarwin) hostname; 100 101 preCheck = lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) '' 101 102 # construct a dummy HOME 102 103 export HOME=$(realpath ../dummy-home) ··· 144 145 # integration tests hard to get working on darwin with its shaky 145 146 # sandbox 146 147 # t-exec tests fail on musl 147 - checkTarget = optional (!stdenv.isDarwin && !stdenv.hostPlatform.isMusl) "t-exec" 148 + checkTarget = lib.optional (!stdenv.isDarwin && !stdenv.hostPlatform.isMusl) "t-exec" 148 149 # other tests are less demanding of the environment 149 150 ++ [ "unit" "file-tests" "interop-tests" ]; 150 151 ··· 164 165 borgbackup-integration = nixosTests.borgbackup; 165 166 }; 166 167 167 - meta = { 168 + meta = with lib; { 168 169 description = "An implementation of the SSH protocol${extraDesc}"; 169 170 homepage = "https://www.openssh.com/"; 170 171 changelog = "https://www.openssh.com/releasenotes.html";
+1 -3
pkgs/tools/networking/snabb/default.nix
··· 3 3 , fetchFromGitHub 4 4 }: 5 5 6 - with lib; 7 - 8 6 stdenv.mkDerivation rec { 9 7 pname = "snabb"; 10 8 version = "2022.10"; ··· 19 21 cp src/snabb $out/bin 20 22 ''; 21 23 22 - meta = { 24 + meta = with lib; { 23 25 homepage = "https://github.com/SnabbCo/snabbswitch"; 24 26 description = "Simple and fast packet networking toolkit"; 25 27 longDescription = ''
+13 -15
pkgs/tools/networking/strongswan/default.nix
··· 14 14 # strongswan curl plugin may break. 15 15 # See https://wiki.strongswan.org/projects/strongswan/wiki/Curl for more info. 16 16 17 - with lib; 18 - 19 17 stdenv.mkDerivation rec { 20 18 pname = "strongswan"; 21 19 version = "5.9.8"; # Make sure to also update <nixpkgs/nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix> when upgrading! ··· 30 32 nativeBuildInputs = [ pkg-config autoreconfHook perl gperf bison flex ]; 31 33 buildInputs = 32 34 [ curl gmp python3 ldns unbound openssl pcsclite ] 33 - ++ optionals enableTNC [ trousers sqlite libxml2 ] 34 - ++ optionals stdenv.isLinux [ systemd.dev pam iptables ] 35 - ++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ SystemConfiguration ]) 36 - ++ optionals enableNetworkManager [ networkmanager glib ]; 35 + ++ lib.optionals enableTNC [ trousers sqlite libxml2 ] 36 + ++ lib.optionals stdenv.isLinux [ systemd.dev pam iptables ] 37 + ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ SystemConfiguration ]) 38 + ++ lib.optionals enableNetworkManager [ networkmanager glib ]; 37 39 38 40 patches = [ 39 41 ./ext_auth-path.patch ··· 41 43 ./updown-path.patch 42 44 ]; 43 45 44 - postPatch = optionalString stdenv.isLinux '' 46 + postPatch = lib.optionalString stdenv.isLinux '' 45 47 # glibc-2.26 reorganized internal includes 46 48 sed '1i#include <stdint.h>' -i src/libstrongswan/utils/utils/memory.h 47 49 ··· 60 62 "--enable-pkcs11" "--enable-eap-sim-pcsc" "--enable-dnscert" "--enable-unbound" 61 63 "--enable-chapoly" 62 64 "--enable-curl" ] 63 - ++ optionals stdenv.isLinux [ 65 + ++ lib.optionals stdenv.isLinux [ 64 66 "--enable-farp" "--enable-dhcp" 65 67 "--enable-systemd" "--with-systemdsystemunitdir=${placeholder "out"}/etc/systemd/system" 66 68 "--enable-xauth-pam" 67 69 "--enable-forecast" 68 70 "--enable-connmark" 69 71 "--enable-af-alg" ] 70 - ++ optionals stdenv.isx86_64 [ "--enable-aesni" "--enable-rdrand" ] 71 - ++ optional (stdenv.hostPlatform.system == "i686-linux") "--enable-padlock" 72 - ++ optionals enableTNC [ 72 + ++ lib.optionals stdenv.isx86_64 [ "--enable-aesni" "--enable-rdrand" ] 73 + ++ lib.optional (stdenv.hostPlatform.system == "i686-linux") "--enable-padlock" 74 + ++ lib.optionals enableTNC [ 73 75 "--disable-gmp" "--disable-aes" "--disable-md5" "--disable-sha1" "--disable-sha2" "--disable-fips-prf" 74 76 "--enable-eap-tnc" "--enable-eap-ttls" "--enable-eap-dynamic" "--enable-tnccs-20" 75 77 "--enable-tnc-imc" "--enable-imc-os" "--enable-imc-attestation" ··· 78 80 "--with-tss=trousers" 79 81 "--enable-aikgen" 80 82 "--enable-sqlite" ] 81 - ++ optionals enableNetworkManager [ 83 + ++ lib.optionals enableNetworkManager [ 82 84 "--enable-nm" 83 85 "--with-nm-ca-dir=/etc/ssl/certs" ] 84 86 # Taken from: https://wiki.strongswan.org/projects/strongswan/wiki/MacOSX 85 - ++ optionals stdenv.isDarwin [ 87 + ++ lib.optionals stdenv.isDarwin [ 86 88 "--disable-systemd" 87 89 "--disable-xauth-pam" 88 90 "--disable-kernel-netlink" ··· 98 100 echo "include /etc/ipsec.secrets" >> $out/etc/ipsec.secrets 99 101 ''; 100 102 101 - NIX_LDFLAGS = optionalString stdenv.cc.isGNU "-lgcc_s" ; 103 + NIX_LDFLAGS = lib.optionalString stdenv.cc.isGNU "-lgcc_s" ; 102 104 103 105 passthru.tests = { inherit (nixosTests) strongswan-swanctl; }; 104 106 105 - meta = { 107 + meta = with lib; { 106 108 description = "OpenSource IPsec-based VPN Solution"; 107 109 homepage = "https://www.strongswan.org"; 108 110 license = licenses.gpl2Plus;
+3 -5
pkgs/tools/package-management/nix-serve/default.nix
··· 8 8 , nixosTests 9 9 }: 10 10 11 - with lib; 12 - 13 11 let 14 12 rev = "e4675e38ab54942e351c7686e40fabec822120b9"; 15 13 sha256 = "1wm24p6pkxl1d7hrvf4ph6mwzawvqi22c60z9xzndn5xfyr4v0yr"; ··· 15 17 16 18 stdenv.mkDerivation { 17 19 pname = "nix-serve"; 18 - version = "0.2-${substring 0 7 rev}"; 20 + version = "0.2-${lib.substring 0 7 rev}"; 19 21 20 22 src = fetchFromGitHub { 21 23 owner = "edolstra"; ··· 31 33 install -Dm0755 nix-serve.psgi $out/libexec/nix-serve/nix-serve.psgi 32 34 33 35 makeWrapper ${perl.withPackages(p: [ p.DBDSQLite p.Plack p.Starman nix.perl-bindings ])}/bin/starman $out/bin/nix-serve \ 34 - --prefix PATH : "${makeBinPath [ bzip2 nix ]}" \ 36 + --prefix PATH : "${lib.makeBinPath [ bzip2 nix ]}" \ 35 37 --add-flags $out/libexec/nix-serve/nix-serve.psgi 36 38 ''; 37 39 ··· 40 42 nix-serve-ssh = nixosTests.nix-serve-ssh; 41 43 }; 42 44 43 - meta = { 45 + meta = with lib; { 44 46 homepage = "https://github.com/edolstra/nix-serve"; 45 47 description = "A utility for sharing a Nix store as a binary cache"; 46 48 maintainers = [ maintainers.eelco ];
+2 -2
pkgs/tools/package-management/nix-update/default.nix
··· 8 8 9 9 buildPythonApplication rec { 10 10 pname = "nix-update"; 11 - version = "0.13.0"; 11 + version = "0.14.0"; 12 12 format = "setuptools"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "Mic92"; 16 16 repo = pname; 17 17 rev = version; 18 - sha256 = "sha256-7kIHMGtsbC7CIlJPA7F1HwAXlqHf61mfjvnvA/v1Uno="; 18 + sha256 = "sha256-7HZ5LEQAhA1TXQZVfeUGOruwgqJBkSFtmDLR8PLSiOw="; 19 19 }; 20 20 21 21 makeWrapperArgs = [
+12 -1
pkgs/tools/package-management/poetry/default.nix
··· 6 6 }: 7 7 8 8 let 9 - python = python3; 9 + python = python3.override { 10 + packageOverrides = self: super: { 11 + dulwich = super.dulwich.overridePythonAttrs (old: rec { 12 + version = "0.20.50"; 13 + src = self.fetchPypi { 14 + inherit (old) pname; 15 + inherit version; 16 + hash = "sha256-UKlBeWssZ1vjm+co1UDBa1t853654bP4VWUOzmgy0r4="; 17 + }; 18 + }); 19 + }; 20 + }; 10 21 in python.pkgs.buildPythonApplication rec { 11 22 pname = "poetry"; 12 23 version = "1.3.2";
-2
pkgs/tools/security/afl/qemu.nix
··· 2 2 , texinfo, libuuid, flex, bison, pixman, autoconf 3 3 }: 4 4 5 - with lib; 6 - 7 5 let 8 6 cpuTarget = if stdenv.hostPlatform.system == "x86_64-linux" then "x86_64-linux-user" 9 7 else if stdenv.hostPlatform.system == "i686-linux" then "i386-linux-user"
-2
pkgs/tools/security/aflplusplus/qemu.nix
··· 2 2 , texinfo, libuuid, flex, bison, pixman, autoconf 3 3 }: 4 4 5 - with lib; 6 - 7 5 let 8 6 qemuName = "qemu-3.1.0"; 9 7 cpuTarget = if stdenv.targetPlatform.system == "x86_64-linux" then "x86_64-linux-user"
+2 -4
pkgs/tools/security/b2sum/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, openmp ? null }: 2 2 3 - with lib; 4 - 5 3 stdenv.mkDerivation (finalAttrs: { 6 4 pname = "b2sum"; 7 5 version = "20190724"; ··· 22 24 23 25 buildInputs = [ openmp ]; 24 26 25 - buildFlags = [ (optional (openmp == null) "NO_OPENMP=1") ]; 27 + buildFlags = [ (lib.optional (openmp == null) "NO_OPENMP=1") ]; 26 28 installFlags = [ "PREFIX=$(out)" ]; 27 29 28 - meta = { 30 + meta = with lib; { 29 31 description = "The b2sum utility is similar to the md5sum or shasum utilities but for BLAKE2"; 30 32 homepage = "https://blake2.net"; 31 33 license = with licenses; [ asl20 cc0 openssl ];
+7
pkgs/tools/security/commix/default.nix
··· 15 15 hash = "sha256-QdhJp7oUqOY8Z36haIrHgP4hVGaFXlOxNVg1ams7uhg="; 16 16 }; 17 17 18 + postInstall = '' 19 + # Helper files are not handled by setup.py 20 + mkdir -p $out/${python3.sitePackages}/src/txt 21 + install -vD src/txt/* $out/${python3.sitePackages}/src/txt/ 22 + ''; 23 + 18 24 # Project has no tests 19 25 doCheck = false; 20 26 21 27 meta = with lib; { 22 28 description = "Automated Command Injection Exploitation Tool"; 23 29 homepage = "https://github.com/commixproject/commix"; 30 + changelog = "https://github.com/commixproject/commix/releases/tag/v${version}"; 24 31 license = with licenses; [ gpl3Plus ]; 25 32 maintainers = with maintainers; [ fab ]; 26 33 };
+1 -3
pkgs/tools/security/john/default.nix
··· 2 2 , gcc, python3Packages, perl, perlPackages, makeWrapper, fetchpatch 3 3 }: 4 4 5 - with lib; 6 - 7 5 stdenv.mkDerivation rec { 8 6 pname = "john"; 9 7 version = "1.9.0-jumbo-1"; ··· 81 83 done 82 84 ''; 83 85 84 - meta = { 86 + meta = with lib; { 85 87 description = "John the Ripper password cracker"; 86 88 license = licenses.gpl2Plus; 87 89 homepage = "https://github.com/openwall/john/";
+3 -2
pkgs/tools/security/knockpy/default.nix
··· 5 5 6 6 python3.pkgs.buildPythonApplication rec { 7 7 pname = "knockpy"; 8 - version = "5.4.0"; 8 + version = "6.1.0"; 9 + format = "setuptools"; 9 10 10 11 src = fetchFromGitHub { 11 12 owner = "guelfoweb"; 12 13 repo = "knock"; 13 14 rev = "refs/tags/${version}"; 14 - hash = "sha256-If8w6Z75nQsayJBqJs+D9++7kqCbkmwkszOaMATDTpY="; 15 + hash = "sha256-O4tXq4pDzuTBEGAls2I9bfBRdHssF4rFBec4OtfUx6A="; 15 16 }; 16 17 17 18 propagatedBuildInputs = with python3.pkgs; [
+1 -3
pkgs/tools/security/modsecurity/default.nix
··· 3 3 , luaSupport ? false, lua5, perl 4 4 }: 5 5 6 - with lib; 7 - 8 6 let luaValue = if luaSupport then lua5 else "no"; 9 7 optional = lib.optional; 10 8 in ··· 47 49 cp -R * $nginx 48 50 ''; 49 51 50 - meta = { 52 + meta = with lib; { 51 53 description = "Open source, cross-platform web application firewall (WAF)"; 52 54 license = licenses.asl20; 53 55 homepage = "https://www.modsecurity.org/";
+4 -6
pkgs/tools/security/nmap/default.nix
··· 6 6 , withLua ? true 7 7 }: 8 8 9 - with lib; 10 - 11 9 stdenv.mkDerivation rec { 12 10 pname = "nmap"; 13 11 version = "7.93"; ··· 16 18 }; 17 19 18 20 patches = [ ./zenmap.patch ] 19 - ++ optionals stdenv.cc.isClang [( 21 + ++ lib.optionals stdenv.cc.isClang [( 20 22 # Fixes a compile error due an ambiguous reference to bind(2) in 21 23 # nping/EchoServer.cc, which is otherwise resolved to std::bind. 22 24 # https://github.com/nmap/nmap/pull/1363 ··· 27 29 } 28 30 )]; 29 31 30 - prePatch = optionalString stdenv.isDarwin '' 32 + prePatch = lib.optionalString stdenv.isDarwin '' 31 33 substituteInPlace libz/configure \ 32 34 --replace /usr/bin/libtool ar \ 33 35 --replace 'AR="libtool"' 'AR="ar"' \ ··· 41 43 "--without-zenmap" 42 44 ]; 43 45 44 - makeFlags = optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ 46 + makeFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ 45 47 "AR=${stdenv.cc.bintools.targetPrefix}ar" 46 48 "RANLIB=${stdenv.cc.bintools.targetPrefix}ranlib" 47 49 "CC=${stdenv.cc.targetPrefix}gcc" ··· 54 56 55 57 doCheck = false; # fails 3 tests, probably needs the net 56 58 57 - meta = { 59 + meta = with lib; { 58 60 description = "A free and open source utility for network discovery and security auditing"; 59 61 homepage = "http://www.nmap.org"; 60 62 license = licenses.gpl2;
+2 -4
pkgs/tools/security/pass/default.nix
··· 11 11 , tombPluginSupport ? false 12 12 }: 13 13 14 - with lib; 15 - 16 14 assert x11Support -> xclip != null; 17 15 assert waylandSupport -> wl-clipboard != null; 18 16 ··· 33 35 name = "pass"; 34 36 paths = selected; 35 37 nativeBuildInputs = [ makeWrapper ]; 36 - buildInputs = concatMap (x: x.buildInputs) selected; 38 + buildInputs = lib.concatMap (x: x.buildInputs) selected; 37 39 38 40 postBuild = '' 39 41 files=$(find $out/bin/ -type f -exec readlink -f {} \;) ··· 77 79 # dependencies (s.el) here. The user has to do this themselves. 78 80 mkdir -p "$out/share/emacs/site-lisp" 79 81 cp "contrib/emacs/password-store.el" "$out/share/emacs/site-lisp/" 80 - '' + optionalString dmenuSupport '' 82 + '' + lib.optionalString dmenuSupport '' 81 83 cp "contrib/dmenu/passmenu" "$out/bin/" 82 84 ''; 83 85
+2 -4
pkgs/tools/security/tcpcrypt/default.nix
··· 3 3 , libcap, libpcap, libnfnetlink, libnetfilter_conntrack, libnetfilter_queue 4 4 }: 5 5 6 - with lib; 7 - 8 6 stdenv.mkDerivation rec { 9 7 pname = "tcpcrypt"; 10 8 version = "0.5"; ··· 19 21 outputs = [ "bin" "dev" "out" ]; 20 22 nativeBuildInputs = [ autoreconfHook ]; 21 23 buildInputs = [ openssl libpcap ] 22 - ++ optionals stdenv.isLinux [ libcap libnfnetlink libnetfilter_conntrack libnetfilter_queue ]; 24 + ++ lib.optionals stdenv.isLinux [ libcap libnfnetlink libnetfilter_conntrack libnetfilter_queue ]; 23 25 24 26 enableParallelBuilding = true; 25 27 26 - meta = { 28 + meta = with lib; { 27 29 broken = stdenv.isDarwin; 28 30 homepage = "http://tcpcrypt.org/"; 29 31 description = "Fast TCP encryption";
+2 -4
pkgs/tools/security/tor/update.nix
··· 10 10 , nix 11 11 }: 12 12 13 - with lib; 14 - 15 13 let 16 14 downloadPageUrl = "https://dist.torproject.org"; 17 15 ··· 26 28 27 29 set -eu -o pipefail 28 30 29 - export PATH=${makeBinPath [ 31 + export PATH=${lib.makeBinPath [ 30 32 common-updater-scripts 31 33 coreutils 32 34 curl ··· 61 63 export GNUPGHOME=$PWD/gnupg 62 64 mkdir -m 700 -p "$GNUPGHOME" 63 65 64 - gpg --batch --recv-keys ${concatStringsSep " " (map (x: "'${x}'") signingKeys)} 66 + gpg --batch --recv-keys ${lib.concatStringsSep " " (map (x: "'${x}'") signingKeys)} 65 67 gpg --batch --verify "$sigFile" "$checksumFile" 66 68 67 69 sha256sum -c "$checksumFile"
+3 -3
pkgs/tools/security/vexctl/default.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "vexctl"; 9 - version = "0.0.2"; 9 + version = "0.1.0"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "chainguard-dev"; 13 13 repo = "vex"; 14 14 rev = "v${version}"; 15 - sha256 = "sha256-rDq62vkrZ8/76LERchxijmQCgo58KXlAIfv4SwI7egY="; 15 + sha256 = "sha256-f5UVX6x4DwjlcgMAv0GuKBH9UUzFhQ8pW8l+9pc7RQ4="; 16 16 # populate values that require us to use git. By doing this in postFetch we 17 17 # can delete .git afterwards and maintain better reproducibility of the src. 18 18 leaveDotGit = true; ··· 24 24 find "$out" -name .git -print0 | xargs -0 rm -rf 25 25 ''; 26 26 }; 27 - vendorSha256 = "sha256-7hhiJowtQv4JPqvpMiukL2JVgNeB5gi5X4p+AVGp4S0="; 27 + vendorHash = "sha256-GZIssLLPg2dF7xsvsYn2MKYunMCpGbNA+6qCYBW++vk="; 28 28 29 29 nativeBuildInputs = [ installShellFiles ]; 30 30
+12 -2
pkgs/tools/system/htop/default.nix
··· 1 - { lib, fetchFromGitHub, stdenv, autoreconfHook 1 + { lib, fetchFromGitHub, stdenv, autoreconfHook, pkg-config 2 2 , ncurses 3 3 , IOKit 4 + , libcap 5 + , libnl 4 6 , sensorsSupport ? stdenv.isLinux, lm_sensors 5 7 , systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd 6 8 }: ··· 20 18 sha256 = "sha256-MwtsvdPHcUdegsYj9NGyded5XJQxXri1IM1j4gef1Xk="; 21 19 }; 22 20 23 - nativeBuildInputs = [ autoreconfHook ]; 21 + nativeBuildInputs = [ autoreconfHook ] 22 + ++ lib.optional stdenv.isLinux pkg-config 23 + ; 24 24 25 25 buildInputs = [ ncurses ] 26 26 ++ lib.optional stdenv.isDarwin IOKit 27 + ++ lib.optionals stdenv.isLinux [ libcap libnl ] 27 28 ++ lib.optional sensorsSupport lm_sensors 28 29 ++ lib.optional systemdSupport systemd 29 30 ; 30 31 31 32 configureFlags = [ "--enable-unicode" "--sysconfdir=/etc" ] 33 + ++ lib.optionals stdenv.isLinux [ 34 + "--enable-affinity" 35 + "--enable-capabilities" 36 + "--enable-delayacct" 37 + ] 32 38 ++ lib.optional sensorsSupport "--with-sensors" 33 39 ; 34 40
+2 -2
pkgs/tools/system/jump/default.nix
··· 8 8 owner = "gsamokovarov"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-nlCuotEiAX2+xx7T8jWZo2p4LNLhWXDdcU6DxJprgx0="; 11 + hash = "sha256-nlCuotEiAX2+xx7T8jWZo2p4LNLhWXDdcU6DxJprgx0="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-nMUqZWdq//q/DNthvpKiYLq8f95O0QoItyX5w4vHzSA="; 14 + vendorHash = "sha256-nMUqZWdq//q/DNthvpKiYLq8f95O0QoItyX5w4vHzSA="; 15 15 16 16 nativeBuildInputs = [ installShellFiles ]; 17 17
+18 -20
pkgs/tools/system/netdata/default.nix
··· 14 14 , withDebug ? false 15 15 }: 16 16 17 - with lib; 18 - 19 17 let 20 18 go-d-plugin = callPackage ./go.d.plugin.nix {}; 21 19 in stdenv.mkDerivation rec { ··· 32 34 33 35 nativeBuildInputs = [ autoreconfHook pkg-config makeWrapper protobuf ]; 34 36 buildInputs = [ curl jemalloc libuv zlib ] 35 - ++ optionals stdenv.isDarwin [ CoreFoundation IOKit libossp_uuid ] 36 - ++ optionals (!stdenv.isDarwin) [ libcap libuuid ] 37 - ++ optionals withCups [ cups ] 38 - ++ optionals withDBengine [ lz4 ] 39 - ++ optionals withIpmi [ freeipmi ] 40 - ++ optionals withNetfilter [ libmnl libnetfilter_acct ] 41 - ++ optionals withCloud [ json_c ] 42 - ++ optionals withConnPubSub [ google-cloud-cpp grpc ] 43 - ++ optionals withConnPrometheus [ snappy ] 44 - ++ optionals (withCloud || withConnPrometheus) [ protobuf ] 45 - ++ optionals withSsl [ openssl ]; 37 + ++ lib.optionals stdenv.isDarwin [ CoreFoundation IOKit libossp_uuid ] 38 + ++ lib.optionals (!stdenv.isDarwin) [ libcap libuuid ] 39 + ++ lib.optionals withCups [ cups ] 40 + ++ lib.optionals withDBengine [ lz4 ] 41 + ++ lib.optionals withIpmi [ freeipmi ] 42 + ++ lib.optionals withNetfilter [ libmnl libnetfilter_acct ] 43 + ++ lib.optionals withCloud [ json_c ] 44 + ++ lib.optionals withConnPubSub [ google-cloud-cpp grpc ] 45 + ++ lib.optionals withConnPrometheus [ snappy ] 46 + ++ lib.optionals (withCloud || withConnPrometheus) [ protobuf ] 47 + ++ lib.optionals withSsl [ openssl ]; 46 48 47 49 patches = [ 48 50 # required to prevent plugins from relying on /etc ··· 66 68 # We pick zlib.dev as a simple canary package with pkg-config input. 67 69 disallowedReferences = [ zlib.dev ]; 68 70 69 - NIX_CFLAGS_COMPILE = optionalString withDebug "-O1 -ggdb -DNETDATA_INTERNAL_CHECKS=1"; 71 + NIX_CFLAGS_COMPILE = lib.optionalString withDebug "-O1 -ggdb -DNETDATA_INTERNAL_CHECKS=1"; 70 72 71 73 postInstall = '' 72 74 ln -s ${go-d-plugin}/lib/netdata/conf.d/* $out/lib/netdata/conf.d 73 75 ln -s ${go-d-plugin}/bin/godplugin $out/libexec/netdata/plugins.d/go.d.plugin 74 - '' + optionalString (!stdenv.isDarwin) '' 76 + '' + lib.optionalString (!stdenv.isDarwin) '' 75 77 # rename this plugin so netdata will look for setuid wrapper 76 78 mv $out/libexec/netdata/plugins.d/apps.plugin \ 77 79 $out/libexec/netdata/plugins.d/apps.plugin.org ··· 81 83 $out/libexec/netdata/plugins.d/perf.plugin.org 82 84 mv $out/libexec/netdata/plugins.d/slabinfo.plugin \ 83 85 $out/libexec/netdata/plugins.d/slabinfo.plugin.org 84 - ${optionalString withIpmi '' 86 + ${lib.optionalString withIpmi '' 85 87 mv $out/libexec/netdata/plugins.d/freeipmi.plugin \ 86 88 $out/libexec/netdata/plugins.d/freeipmi.plugin.org 87 89 ''} 88 90 ''; 89 91 90 - preConfigure = optionalString (!stdenv.isDarwin) '' 92 + preConfigure = lib.optionalString (!stdenv.isDarwin) '' 91 93 substituteInPlace collectors/python.d.plugin/python_modules/third_party/lm_sensors.py \ 92 94 --replace 'ctypes.util.find_library("sensors")' '"${lm_sensors.out}/lib/libsensors${stdenv.hostPlatform.extensions.sharedLibrary}"' 93 95 ''; ··· 97 99 "--sysconfdir=/etc" 98 100 "--disable-ebpf" 99 101 "--with-jemalloc=${jemalloc}" 100 - ] ++ optionals (!withDBengine) [ 102 + ] ++ lib.optionals (!withDBengine) [ 101 103 "--disable-dbengine" 102 - ] ++ optionals (!withCloud) [ 104 + ] ++ lib.optionals (!withCloud) [ 103 105 "--disable-cloud" 104 106 ]; 105 107 ··· 114 116 tests.netdata = nixosTests.netdata; 115 117 }; 116 118 117 - meta = { 119 + meta = with lib; { 118 120 broken = stdenv.isDarwin || stdenv.buildPlatform != stdenv.hostPlatform; 119 121 description = "Real-time performance monitoring tool"; 120 122 homepage = "https://www.netdata.cloud/";
+1 -3
pkgs/tools/system/socklog/default.nix
··· 1 1 { lib, stdenv, fetchurl }: 2 2 3 - with lib; 4 - 5 3 stdenv.mkDerivation rec { 6 4 pname = "socklog"; 7 5 version = "2.1.0"; ··· 47 49 48 50 doCheck = true; 49 51 50 - meta = { 52 + meta = with lib; { 51 53 broken = stdenv.isDarwin; 52 54 description = "System and kernel logging services"; 53 55 homepage = "http://smarden.org/socklog/";
+1 -3
pkgs/tools/text/ledger2beancount/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, makeWrapper, perlPackages, beancount }: 2 2 3 - with lib; 4 - 5 3 let 6 4 perlDeps = with perlPackages; [ 7 5 DateCalc ··· 42 44 --set PERL5LIB "${perlPackages.makeFullPerlPath perlDeps}" 43 45 ''; 44 46 45 - meta = { 47 + meta = with lib; { 46 48 description = "Ledger to Beancount text-based converter"; 47 49 longDescription = '' 48 50 A script to automatically convert Ledger-based textual ledgers to Beancount ones.
+14 -13
pkgs/tools/typesetting/satysfi/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, ruby, dune_3, ocamlPackages 1 + { lib, stdenv, fetchFromGitHub, ruby, ocamlPackages 2 2 , ipaexfont, junicode, lmodern, lmmath 3 3 }: 4 4 let ··· 34 34 inherit (ocamlPackages.yojson) meta; 35 35 }; 36 36 in 37 - stdenv.mkDerivation rec { 37 + ocamlPackages.buildDunePackage rec { 38 38 pname = "satysfi"; 39 39 version = "0.0.8"; 40 40 src = fetchFromGitHub { ··· 51 51 $out/share/satysfi 52 52 ''; 53 53 54 - DUNE_PROFILE = "release"; 54 + duneVersion = "3"; 55 55 56 - nativeBuildInputs = [ ruby dune_3 ]; 56 + nativeBuildInputs = with ocamlPackages; [ menhir cppo ]; 57 57 58 58 buildInputs = [ camlpdf otfm yojson-with-position ] ++ (with ocamlPackages; [ 59 - ocaml findlib menhir menhirLib 60 - batteries camlimages core_kernel ppx_deriving uutf omd cppo re 59 + menhirLib 60 + batteries camlimages core_kernel ppx_deriving uutf omd re 61 61 ]); 62 62 63 - installPhase = '' 64 - cp -r ${ipaexfont}/share/fonts/opentype/* lib-satysfi/dist/fonts/ 65 - cp -r ${junicode}/share/fonts/junicode-ttf/* lib-satysfi/dist/fonts/ 66 - cp -r ${lmodern}/share/fonts/opentype/public/lm/* lib-satysfi/dist/fonts/ 67 - cp -r ${lmmath}/share/fonts/opentype/latinmodern-math.otf lib-satysfi/dist/fonts/ 68 - make install PREFIX=$out LIBDIR=$out/share/satysfi 69 - mkdir -p $out/share/satysfi/ 63 + postInstall = '' 64 + mkdir -p $out/share/satysfi/dist/fonts 70 65 cp -r lib-satysfi/dist/ $out/share/satysfi/ 66 + cp -r \ 67 + ${ipaexfont}/share/fonts/opentype/* \ 68 + ${junicode}/share/fonts/junicode-ttf/* \ 69 + ${lmodern}/share/fonts/opentype/public/lm/* \ 70 + ${lmmath}/share/fonts/opentype/latinmodern-math.otf \ 71 + $out/share/satysfi/dist/fonts 71 72 ''; 72 73 73 74 meta = with lib; {
+7 -8
pkgs/tools/video/rtmpdump/default.nix
··· 12 12 13 13 assert (gnutlsSupport || opensslSupport); 14 14 15 - with lib; 16 15 stdenv.mkDerivation { 17 16 pname = "rtmpdump"; 18 17 version = "unstable-2021-02-19"; ··· 35 36 "prefix=$(out)" 36 37 "CROSS_COMPILE=${stdenv.cc.targetPrefix}" 37 38 ] 38 - ++ optional gnutlsSupport "CRYPTO=GNUTLS" 39 - ++ optional opensslSupport "CRYPTO=OPENSSL" 40 - ++ optional stdenv.isDarwin "SYS=darwin" 41 - ++ optional stdenv.cc.isClang "CC=clang"; 39 + ++ lib.optional gnutlsSupport "CRYPTO=GNUTLS" 40 + ++ lib.optional opensslSupport "CRYPTO=OPENSSL" 41 + ++ lib.optional stdenv.isDarwin "SYS=darwin" 42 + ++ lib.optional stdenv.cc.isClang "CC=clang"; 42 43 43 44 propagatedBuildInputs = [ zlib ] 44 - ++ optionals gnutlsSupport [ gnutls nettle ] 45 - ++ optional opensslSupport openssl; 45 + ++ lib.optionals gnutlsSupport [ gnutls nettle ] 46 + ++ lib.optional opensslSupport openssl; 46 47 47 48 outputs = [ "out" "dev" ]; 48 49 49 50 separateDebugInfo = true; 50 51 51 - meta = { 52 + meta = with lib; { 52 53 description = "Toolkit for RTMP streams"; 53 54 homepage = "https://rtmpdump.mplayerhq.hu/"; 54 55 license = licenses.gpl2;
+2 -2
pkgs/tools/wayland/way-displays/default.nix
··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "way-displays"; 12 - version = "1.6.2"; 12 + version = "1.7.1"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "alex-courtis"; 16 16 repo = "way-displays"; 17 17 rev = "${version}"; 18 - sha256 = "sha256-/dZDYc0XQ1fZYAsk9bd8vMAh7GMKuY6FX0WK5of+AMk="; 18 + sha256 = "sha256-o8fju0EQy2KS5yxe9DP3A8ewYgA2GzJtMY41BGJUZis="; 19 19 }; 20 20 21 21 strictDeps = true;
+40 -8
pkgs/top-level/all-packages.nix
··· 657 657 dotnet-sdk_7 = dotnetCorePackages.sdk_7_0; 658 658 659 659 dotnet-runtime_3 = dotnetCorePackages.runtime_3_1; 660 - dotnet-runtime_5 = dotnetCorePackages.runtime_5_0; 661 660 dotnet-runtime_6 = dotnetCorePackages.runtime_6_0; 662 661 dotnet-runtime_7 = dotnetCorePackages.runtime_7_0; 663 662 664 663 dotnet-aspnetcore_3 = dotnetCorePackages.aspnetcore_3_1; 665 - dotnet-aspnetcore_5 = dotnetCorePackages.aspnetcore_5_0; 666 664 dotnet-aspnetcore_6 = dotnetCorePackages.aspnetcore_6_0; 667 665 dotnet-aspnetcore_7 = dotnetCorePackages.aspnetcore_7_0; 668 666 ··· 2194 2196 zesarux = callPackage ../applications/emulators/zesarux { }; 2195 2197 2196 2198 zsnes = pkgsi686Linux.callPackage ../applications/emulators/zsnes { }; 2199 + zsnes2 = pkgsi686Linux.callPackage ../applications/emulators/zsnes/2.x.nix { }; 2197 2200 2198 2201 ### APPLICATIONS/EMULATORS/BSNES 2199 2202 ··· 2317 2318 pcmanfm = callPackage ../applications/file-managers/pcmanfm { }; 2318 2319 2319 2320 portfolio-filemanager = callPackage ../applications/file-managers/portfolio-filemanager { }; 2321 + 2322 + potreeconverter = callPackage ../applications/graphics/potreeconverter { }; 2320 2323 2321 2324 ranger = callPackage ../applications/file-managers/ranger { }; 2322 2325 ··· 3168 3167 3169 3168 gmni = callPackage ../applications/networking/browsers/gmni { }; 3170 3169 3171 - gmnisrv = callPackage ../servers/gemini/gmnisrv { 3172 - openssl = openssl_1_1; 3173 - }; 3170 + gmnisrv = callPackage ../servers/gemini/gmnisrv { }; 3174 3171 3175 3172 gmnitohtml = callPackage ../applications/misc/gmnitohtml { }; 3176 3173 ··· 3365 3366 3366 3367 kjv = callPackage ../applications/misc/kjv { }; 3367 3368 3368 - lukesmithxyz-bible-kjv = callPackage ../applications/misc/lukesmithxyz-bible/kjv.nix { }; 3369 + lukesmithxyz-bible-kjv = callPackage ../applications/misc/kjv/lukesmithxyz-kjv.nix { }; 3369 3370 3370 3371 luigi = callPackage ../applications/networking/cluster/luigi { }; 3371 3372 ··· 10300 10301 10301 10302 openimagedenoise_1_2_x = callPackage ../development/libraries/openimagedenoise/1_2_x.nix { }; 10302 10303 10303 - openmvg = callPackage ../applications/science/misc/openmvg { }; 10304 + openmvg = callPackage ../applications/science/misc/openmvg { 10305 + inherit (llvmPackages) openmp; 10306 + }; 10304 10307 10305 10308 openmvs = callPackage ../applications/science/misc/openmvs { }; 10306 10309 ··· 17266 17265 17267 17266 cloudcompare = libsForQt5.callPackage ../applications/graphics/cloudcompare { }; 17268 17267 17268 + cloudlog = callPackage ../applications/radio/cloudlog { }; 17269 + 17269 17270 cloudflare-warp = callPackage ../tools/networking/cloudflare-warp { }; 17270 17271 17271 17272 cloudfoundry-cli = callPackage ../applications/networking/cluster/cloudfoundry-cli { }; ··· 20662 20659 20663 20660 libcutl = callPackage ../development/libraries/libcutl { }; 20664 20661 20662 + libcxxrt = callPackage ../development/libraries/libcxxrt { 20663 + stdenv = if stdenv.hostPlatform.useLLVM or false 20664 + then overrideCC stdenv buildPackages.llvmPackages.tools.clangNoLibcxx 20665 + else stdenv; 20666 + }; 20667 + 20665 20668 libdaemon = callPackage ../development/libraries/libdaemon { }; 20666 20669 20667 20670 libdatovka = callPackage ../development/libraries/libdatovka { }; ··· 21563 21554 libtap = callPackage ../development/libraries/libtap { }; 21564 21555 21565 21556 libtsm = callPackage ../development/libraries/libtsm { }; 21557 + 21558 + libsv = callPackage ../development/libraries/libsv { }; 21566 21559 21567 21560 libgeotiff = callPackage ../development/libraries/libgeotiff { }; 21568 21561 ··· 22650 22639 22651 22640 qt6Packages = recurseIntoAttrs (import ./qt6-packages.nix { 22652 22641 inherit lib pkgs qt6; 22642 + stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; 22653 22643 }); 22654 22644 22655 22645 quark-engine = callPackage ../tools/security/quark-engine { }; ··· 26847 26835 26848 26836 dosemu_fonts = callPackage ../data/fonts/dosemu-fonts { }; 26849 26837 26838 + dotcolon-fonts = callPackage ../data/fonts/dotcolon-fonts { }; 26839 + 26850 26840 e17gtk = callPackage ../data/themes/e17gtk { }; 26851 26841 26852 26842 eb-garamond = callPackage ../data/fonts/eb-garamond { }; ··· 26868 26854 equilux-theme = callPackage ../data/themes/equilux-theme { }; 26869 26855 26870 26856 eunomia = callPackage ../data/fonts/eunomia { }; 26857 + 26858 + fa_1 = callPackage ../data/fonts/fa_1 { }; 26859 + 26860 + f1_8 = callPackage ../data/fonts/f1_8 { }; 26871 26861 26872 26862 f5_6 = callPackage ../data/fonts/f5_6 { }; 26873 26863 ··· 27210 27192 27211 27193 medio = callPackage ../data/fonts/medio { }; 27212 27194 27195 + melete = callPackage ../data/fonts/melete { }; 27196 + 27213 27197 mno16 = callPackage ../data/fonts/mno16 { }; 27214 27198 27215 27199 mnist = callPackage ../data/machine-learning/mnist { }; ··· 27247 27227 myrddin = callPackage ../development/compilers/myrddin { }; 27248 27228 27249 27229 myrica = callPackage ../data/fonts/myrica { }; 27230 + 27231 + nacelle = callPackage ../data/fonts/nacelle { }; 27250 27232 27251 27233 nafees = callPackage ../data/fonts/nafees { }; 27252 27234 ··· 31128 31106 31129 31107 pragha = libsForQt5.callPackage ../applications/audio/pragha { }; 31130 31108 31109 + river-tag-overlay = callPackage ../applications/misc/river-tag-overlay { }; 31110 + 31131 31111 rofi-mpd = callPackage ../applications/audio/rofi-mpd { }; 31132 31112 31133 31113 rofi-bluetooth = callPackage ../applications/misc/rofi-bluetooth { }; ··· 31996 31972 31997 31973 polymake = callPackage ../applications/science/math/polymake { }; 31998 31974 31975 + pomodoro = callPackage ../applications/misc/pomodoro { 31976 + inherit (darwin.apple_sdk.frameworks) Foundation; 31977 + }; 31978 + 31999 31979 pomotroid = callPackage ../applications/misc/pomotroid { 32000 31980 electron = electron_9; 32001 31981 }; ··· 32437 32409 secrets-extractor = callPackage ../tools/security/secrets-extractor { }; 32438 32410 32439 32411 secretscanner = callPackage ../tools/security/secretscanner { }; 32412 + 32413 + setconf = python3.pkgs.callPackage ../tools/misc/setconf { }; 32440 32414 32441 32415 semiphemeral = callPackage ../tools/misc/semiphemeral { }; 32442 32416 ··· 34346 34316 openethereum = callPackage ../applications/blockchains/openethereum { }; 34347 34317 34348 34318 polkadot = callPackage ../applications/blockchains/polkadot { 34349 - inherit (darwin.apple_sdk.frameworks) Security; 34319 + inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; 34350 34320 }; 34351 34321 34352 34322 particl-core = callPackage ../applications/blockchains/particl-core { }; ··· 38744 38714 alsa-scarlett-gui = callPackage ../applications/audio/alsa-scarlett-gui { }; 38745 38715 38746 38716 tuner = callPackage ../applications/audio/tuner { }; 38717 + 38718 + locate-dominating-file = callPackage ../tools/misc/locate-dominating-file { }; 38747 38719 38748 38720 jfrog-cli = callPackage ../tools/misc/jfrog-cli { }; 38749 38721
+2
pkgs/top-level/nim-packages.nix
··· 14 14 astpatternmatching = 15 15 callPackage ../development/nim-packages/astpatternmatching { }; 16 16 17 + asynctools = callPackage ../development/nim-packages/asynctools { }; 18 + 17 19 base32 = callPackage ../development/nim-packages/base32 { }; 18 20 19 21 bumpy = callPackage ../development/nim-packages/bumpy { };
-3
pkgs/top-level/python-packages.nix
··· 4803 4803 4804 4804 jaxlib-build = callPackage ../development/python-modules/jaxlib rec { 4805 4805 inherit (pkgs.darwin) cctools; 4806 - buildBazelPackage = pkgs.buildBazelPackage.override { 4807 - stdenv = if stdenv.isDarwin then pkgs.darwin.apple_sdk_11_0.stdenv else stdenv; 4808 - }; 4809 4806 # Some platforms don't have `cudaSupport` defined, hence the need for 'or false'. 4810 4807 cudaSupport = pkgs.config.cudaSupport or false; 4811 4808 IOKit = pkgs.darwin.apple_sdk_11_0.IOKit;
+3
pkgs/top-level/qt6-packages.nix
··· 7 7 { lib 8 8 , pkgs 9 9 , qt6 10 + , stdenv 10 11 }: 11 12 12 13 (lib.makeScope pkgs.newScope ( self: ··· 25 24 in 26 25 27 26 (qt6 // { 27 + inherit stdenv; 28 + 28 29 # LIBRARIES 29 30 30 31 inherit (kdeFrameworks) kcoreaddons;