diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 35eb360c9211..acbd83369c52 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -12540,4 +12540,11 @@ github = "rski"; githubId = 2960312; }; + mbprtpmnr = { + name = "mbprtpmnr"; + email = "mbprtpmnr@pm.me"; + github = "mbprtpmnr"; + githubId = 88109321; + }; + } diff --git a/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml index c36da6ac8924..1b182fcc3a0a 100644 --- a/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml +++ b/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml @@ -1250,6 +1250,19 @@ Superuser created successfully. directories, thus increasing the purity of the build. + + + Three new options, + xdg.mime.addedAssociations, + xdg.mime.defaultApplications, + and + xdg.mime.removedAssociations + have been added to the + xdg.mime module to + allow the configuration of + /etc/xdg/mimeapps.list. + + diff --git a/nixos/doc/manual/release-notes/rl-2111.section.md b/nixos/doc/manual/release-notes/rl-2111.section.md index a8d5cd5f5f4c..970c48651eff 100644 --- a/nixos/doc/manual/release-notes/rl-2111.section.md +++ b/nixos/doc/manual/release-notes/rl-2111.section.md @@ -378,3 +378,5 @@ In addition to numerous new and upgraded packages, this release has the followin - `lua` and `luajit` interpreters have been patched to avoid looking into /usr/lib directories, thus increasing the purity of the build. + +- Three new options, [xdg.mime.addedAssociations](#opt-xdg.mime.addedAssociations), [xdg.mime.defaultApplications](#opt-xdg.mime.defaultApplications), and [xdg.mime.removedAssociations](#opt-xdg.mime.removedAssociations) have been added to the [xdg.mime](#opt-xdg.mime.enable) module to allow the configuration of `/etc/xdg/mimeapps.list`. diff --git a/nixos/modules/config/xdg/mime.nix b/nixos/modules/config/xdg/mime.nix index 4cdb3f30994b..9b6dd4cab5f5 100644 --- a/nixos/modules/config/xdg/mime.nix +++ b/nixos/modules/config/xdg/mime.nix @@ -1,9 +1,17 @@ { config, lib, pkgs, ... }: with lib; + +let + cfg = config.xdg.mime; + associationOptions = with types; attrsOf ( + coercedTo (either (listOf str) str) (x: concatStringsSep ";" (toList x)) str + ); +in + { meta = { - maintainers = teams.freedesktop.members; + maintainers = teams.freedesktop.members ++ (with maintainers; [ figsoda ]); }; options = { @@ -16,9 +24,63 @@ with lib; XDG MIME Applications specification. ''; }; + + xdg.mime.addedAssociations = mkOption { + type = associationOptions; + default = {}; + example = { + "application/pdf" = "firefox.desktop"; + "text/xml" = [ "nvim.desktop" "codium.desktop" ]; + }; + description = '' + Adds associations between mimetypes and applications. See the + + specifications for more information. + ''; + }; + + xdg.mime.defaultApplications = mkOption { + type = associationOptions; + default = {}; + example = { + "application/pdf" = "firefox.desktop"; + "image/png" = [ "sxiv.desktop" "gimp.desktop" ]; + }; + description = '' + Sets the default applications for given mimetypes. See the + + specifications for more information. + ''; + }; + + xdg.mime.removedAssociations = mkOption { + type = associationOptions; + default = {}; + example = { + "audio/mp3" = [ "mpv.desktop" "umpv.desktop" ]; + "inode/directory" = "codium.desktop"; + }; + description = '' + Removes associations between mimetypes and applications. See the + + specifications for more information. + ''; + }; }; - config = mkIf config.xdg.mime.enable { + config = mkIf cfg.enable { + environment.etc."xdg/mimeapps.list" = mkIf ( + cfg.addedAssociations != {} + || cfg.defaultApplications != {} + || cfg.removedAssociations != {} + ) { + text = generators.toINI { } { + "Added Associations" = cfg.addedAssociations; + "Default Applications" = cfg.defaultApplications; + "Removed Associations" = cfg.removedAssociations; + }; + }; + environment.pathsToLink = [ "/share/mime" ]; environment.systemPackages = [ diff --git a/nixos/modules/services/networking/pleroma.xml b/nixos/modules/services/networking/pleroma.xml index 9ab0be3d947c..ad0a481af28b 100644 --- a/nixos/modules/services/networking/pleroma.xml +++ b/nixos/modules/services/networking/pleroma.xml @@ -4,129 +4,185 @@ version="5.0" xml:id="module-services-pleroma"> Pleroma - Pleroma is a lightweight activity pub server. -
- Quick Start - To get quickly started, you can use this sample NixOS configuration and adapt it to your use case. - - { - security.acme = { - email = "root@tld"; - acceptTerms = true; - certs = { - "social.tld.com" = { - webroot = "/var/www/social.tld.com"; - email = "root@tld"; - group = "nginx"; - }; - }; - }; - services = { - pleroma = { - enable = true; - secretConfigFile = "/var/lib/pleroma/secrets.exs"; - configs = [ - '' - import Config + + Pleroma is a lightweight activity pub server. +
+ Generating the Pleroma config + The pleroma_ctl CLI utility will prompt you some questions and it will generate an initial config file. This is an example of usage + +$ mkdir tmp-pleroma +$ cd tmp-pleroma +$ nix-shell -p pleroma-otp +$ pleroma_ctl instance gen --output config.exs --output-psql setup.psql + + + The config.exs file can be further customized following the instructions on the upstream documentation. Many refinements can be applied also after the service is running. +
+
+ Initializing the database + First, the Postgresql service must be enabled in the NixOS configuration + +services.postgresql = { + enable = true; + package = pkgs.postgresql_13; +}; + +and activated with the usual + +$ nixos-rebuild switch + + + Then you can create and seed the database, using the setup.psql file that you generated in the previous section, by running + +$ sudo -u postgres psql -f setup.psql + + +
+
+ Enabling the Pleroma service locally + In this section we will enable the Pleroma service only locally, so its configurations can be improved incrementally. + This is an example of configuration, where services.pleroma.configs option contains the content of the file config.exs, generated in the first section, but with the secrets (database password, endpoint secret key, salts, etc.) removed. Removing secrets is important, because otherwise they will be stored publicly in the Nix store. + +services.pleroma = { + enable = true; + secretConfigFile = "/var/lib/pleroma/secrets.exs"; + configs = [ + '' + import Config - config :pleroma, Pleroma.Web.Endpoint, - url: [host: "social.tld.com", scheme: "https", port: 443], - http: [ip: {127, 0, 0, 1}, port: 4000] + config :pleroma, Pleroma.Web.Endpoint, + url: [host: "pleroma.example.net", scheme: "https", port: 443], + http: [ip: {127, 0, 0, 1}, port: 4000] - config :pleroma, :instance, - name: "NixOS test pleroma server", - email: "pleroma@social.tld.com", - notify_email: "pleroma@social.tld.com", - limit: 5000, - registrations_open: true + config :pleroma, :instance, + name: "Test", + email: "admin@example.net", + notify_email: "admin@example.net", + limit: 5000, + registrations_open: true - config :pleroma, :media_proxy, - enabled: false, - redirect_on_failure: true - #base_url: "https://cache.pleroma.social" + config :pleroma, :media_proxy, + enabled: false, + redirect_on_failure: true - config :pleroma, Pleroma.Repo, - adapter: Ecto.Adapters.Postgres, - username: "pleroma", - password: "${test-db-passwd}", - database: "pleroma", - hostname: "localhost", - pool_size: 10, - prepare: :named, - parameters: [ - plan_cache_mode: "force_custom_plan" - ] + config :pleroma, Pleroma.Repo, + adapter: Ecto.Adapters.Postgres, + username: "pleroma", + database: "pleroma", + hostname: "localhost" - config :pleroma, :database, rum_enabled: false - config :pleroma, :instance, static_dir: "/var/lib/pleroma/static" - config :pleroma, Pleroma.Uploaders.Local, uploads: "/var/lib/pleroma/uploads" - config :pleroma, configurable_from_database: false - '' - ]; - }; - postgresql = { - enable = true; - package = pkgs.postgresql_12; - }; - nginx = { - enable = true; - addSSL = true; - sslCertificate = "/var/lib/acme/social.tld.com/fullchain.pem"; - sslCertificateKey = "/var/lib/acme/social.tld.com/key.pem"; - root = "/var/www/social.tld.com"; - # ACME endpoint - locations."/.well-known/acme-challenge" = { - root = "/var/www/social.tld.com/"; - }; - virtualHosts."social.tld.com" = { - addSSL = true; - locations."/" = { - proxyPass = "http://127.0.0.1:4000"; - extraConfig = '' - add_header 'Access-Control-Allow-Origin' '*' always; - add_header 'Access-Control-Allow-Methods' 'POST, PUT, DELETE, GET, PATCH, OPTIONS' always; - add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Type, Idempotency-Key' always; - add_header 'Access-Control-Expose-Headers' 'Link, X-RateLimit-Reset, X-RateLimit-Limit, X-RateLimit-Remaining, X-Request-Id' always; - if ($request_method = OPTIONS) { - return 204; - } - add_header X-XSS-Protection "1; mode=block"; - add_header X-Permitted-Cross-Domain-Policies none; - add_header X-Frame-Options DENY; - add_header X-Content-Type-Options nosniff; - add_header Referrer-Policy same-origin; - add_header X-Download-Options noopen; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - proxy_set_header Host $host; - client_max_body_size 16m; - ''; - }; - }; - }; + # Configure web push notifications + config :web_push_encryption, :vapid_details, + subject: "mailto:admin@example.net" + + # ... TO CONTINUE ... + '' + ]; +}; + + + Secrets must be moved into a file pointed by services.pleroma.secretConfigFile, in our case /var/lib/pleroma/secrets.exs. This file can be created copying the previously generated config.exs file and then removing all the settings, except the secrets. This is an example + +# Pleroma instance passwords + +import Config + +config :pleroma, Pleroma.Web.Endpoint, + secret_key_base: "<the secret generated by pleroma_ctl>", + signing_salt: "<the secret generated by pleroma_ctl>" + +config :pleroma, Pleroma.Repo, + password: "<the secret generated by pleroma_ctl>" + +# Configure web push notifications +config :web_push_encryption, :vapid_details, + public_key: "<the secret generated by pleroma_ctl>", + private_key: "<the secret generated by pleroma_ctl>" + +# ... TO CONTINUE ... + + Note that the lines of the same configuration group are comma separated (i.e. all the lines end with a comma, except the last one), so when the lines with passwords are added or removed, commas must be adjusted accordingly. + + The service can be enabled with the usual + +$ nixos-rebuild switch + + + The service is accessible only from the local 127.0.0.1:4000 port. It can be tested using a port forwarding like this + +$ ssh -L 4000:localhost:4000 myuser@example.net + +and then accessing http://localhost:4000 from a web browser. +
+
+ Creating the admin user + After Pleroma service is running, all Pleroma administration utilities can be used. In particular an admin user can be created with + +$ pleroma_ctl user new <nickname> <email> --admin --moderator --password <password> + + +
+
+ Configuring Nginx + In this configuration, Pleroma is listening only on the local port 4000. Nginx can be configured as a Reverse Proxy, for forwarding requests from public ports to the Pleroma service. This is an example of configuration, using +Let's Encrypt for the TLS certificates + +security.acme = { + email = "root@example.net"; + acceptTerms = true; +}; + +services.nginx = { + enable = true; + addSSL = true; + + recommendedTlsSettings = true; + recommendedOptimisation = true; + recommendedGzipSettings = true; + + recommendedProxySettings = false; + # NOTE: if enabled, the NixOS proxy optimizations will override the Pleroma + # specific settings, and they will enter in conflict. + + virtualHosts = { + "pleroma.example.net" = { + http2 = true; + enableACME = true; + forceSSL = true; + + locations."/" = { + proxyPass = "http://127.0.0.1:4000"; + + extraConfig = '' + etag on; + gzip on; + + add_header 'Access-Control-Allow-Origin' '*' always; + add_header 'Access-Control-Allow-Methods' 'POST, PUT, DELETE, GET, PATCH, OPTIONS' always; + add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Type, Idempotency-Key' always; + add_header 'Access-Control-Expose-Headers' 'Link, X-RateLimit-Reset, X-RateLimit-Limit, X-RateLimit-Remaining, X-Request-Id' always; + if ($request_method = OPTIONS) { + return 204; + } + add_header X-XSS-Protection "1; mode=block"; + add_header X-Permitted-Cross-Domain-Policies none; + add_header X-Frame-Options DENY; + add_header X-Content-Type-Options nosniff; + add_header Referrer-Policy same-origin; + add_header X-Download-Options noopen; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + proxy_set_header Host $host; + + client_max_body_size 16m; + # NOTE: increase if users need to upload very big files + ''; }; }; - - Note that you'll need to seed your database and upload your pleroma secrets to the path pointed by config.pleroma.secretConfigFile. You can find more informations about how to do that in the next section. -
-
- Generating the Pleroma Config and Seed the Database - - Before using this service, you'll need to generate your -server configuration and its associated database seed. The -pleroma_ctl CLI utility can help you with that. You -can start with pleroma_ctl instance gen --output config.exs ---output-psql setup.psql, this will prompt you some -questions and will generate both your config file and database initial -migration. -For more details about this configuration format, please have a look at the upstream documentation. -To seed your database, you can use the setup.psql file you just generated by running - - sudo -u postgres psql -f setup.psql - - In regard of the pleroma service configuration you also just generated, you'll need to split it in two parts. The "public" part, which do not contain any secrets and thus can be safely stored in the Nix store and its "private" counterpart containing some secrets (database password, endpoint secret key, salts, etc.). - - The public part will live in your NixOS machine configuration in the services.pleroma.configs option. However, it's up to you to upload the secret pleroma configuration to the path pointed by services.pleroma.secretConfigFile. You can do that manually or rely on a third party tool such as Morph or NixOps. + }; +}; + +
diff --git a/pkgs/applications/accessibility/squeekboard/default.nix b/pkgs/applications/accessibility/squeekboard/default.nix index cca36c38e771..18bcb04c65c9 100644 --- a/pkgs/applications/accessibility/squeekboard/default.nix +++ b/pkgs/applications/accessibility/squeekboard/default.nix @@ -14,6 +14,7 @@ , rustPlatform , feedbackd , wrapGAppsHook +, fetchpatch }: stdenv.mkDerivation rec { @@ -37,6 +38,15 @@ stdenv.mkDerivation rec { sha256 = "0148ynzmapxfrlccikf20ikmi0ssbkn9fl5wi6nh6azflv50pzzn"; }; + patches = [ + # remove when updating from 1.14.0 + (fetchpatch { + name = "fix-rust-1.54-build.patch"; + url = "https://gitlab.gnome.org/World/Phosh/squeekboard/-/commit/9cd56185c59ace535a6af26384ef6beca4423816.patch"; + sha256 = "sha256-8rWcfhQmGiwlc2lpkRvJ95XQp1Xg7St+0K85x8nQ0mk="; + }) + ]; + nativeBuildInputs = [ meson ninja diff --git a/pkgs/applications/audio/pt2-clone/default.nix b/pkgs/applications/audio/pt2-clone/default.nix index c713c2ca52e1..6abc120379d6 100644 --- a/pkgs/applications/audio/pt2-clone/default.nix +++ b/pkgs/applications/audio/pt2-clone/default.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation rec { pname = "pt2-clone"; - version = "1.33"; + version = "1.34"; src = fetchFromGitHub { owner = "8bitbubsy"; repo = "pt2-clone"; rev = "v${version}"; - sha256 = "sha256-XPQRFbIgSU3oCTbLe4gYkMNBvcLZdJvU/YQHtUvgt9k="; + sha256 = "sha256-JT3I06qm3oljsySIgK5xP2RC3KAb5QBrNVdip0ds4KE="; }; nativeBuildInputs = [ cmake ]; diff --git a/pkgs/applications/graphics/darktable/default.nix b/pkgs/applications/graphics/darktable/default.nix index 540a74e6524f..50e26677377f 100644 --- a/pkgs/applications/graphics/darktable/default.nix +++ b/pkgs/applications/graphics/darktable/default.nix @@ -7,12 +7,12 @@ }: stdenv.mkDerivation rec { - version = "3.6.0"; + version = "3.6.1"; pname = "darktable"; src = fetchurl { url = "https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz"; - sha256 = "sha256:0f8aqwkgw4gs97b5i4ygiqk5zilwq7ax7zwdd31r72zk98cd1g46"; + sha256 = "sha256-or/HwQO4JJRUV6m/7Z5S8Af6HQMPnbyz/wMnhRvkLRQ="; }; nativeBuildInputs = [ cmake ninja llvm pkg-config intltool perl desktop-file-utils wrapGAppsHook ]; diff --git a/pkgs/applications/misc/bleachbit/default.nix b/pkgs/applications/misc/bleachbit/default.nix index 4b78cda35648..d40a57323a13 100644 --- a/pkgs/applications/misc/bleachbit/default.nix +++ b/pkgs/applications/misc/bleachbit/default.nix @@ -12,13 +12,13 @@ python3Packages.buildPythonApplication rec { pname = "bleachbit"; - version = "4.0.0"; + version = "4.4.0"; format = "other"; src = fetchurl { url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2"; - sha256 = "1dn3h6lr9ldbfpvgq9sdlk972sxhwalgj2f377qbqibm3yfxzpil"; + sha256 = "0kqqfzq6bh03n7kxb9vd483bqi1cklfvj35a7h4iqk96sq1xv8z6"; }; nativeBuildInputs = [ @@ -44,6 +44,7 @@ python3Packages.buildPythonApplication rec { postPatch = '' find -type f -exec sed -i -e 's@/usr/share@${placeholder "out"}/share@g' {} \; find -type f -exec sed -i -e 's@/usr/bin@${placeholder "out"}/bin@g' {} \; + find -type f -exec sed -i -e 's@${placeholder "out"}/bin/python3@${python3Packages.python}/bin/python3@' {} \; ''; dontBuild = true; @@ -52,7 +53,7 @@ python3Packages.buildPythonApplication rec { "prefix=${placeholder "out"}" ]; - # prevent double wrapping from wrapGApps and wrapPythonProgram + # Prevent double wrapping from wrapGApps and wrapPythonProgram dontWrapGApps = true; makeWrapperArgs = [ "\${gappsWrapperArgs[@]}" @@ -65,6 +66,6 @@ python3Packages.buildPythonApplication rec { description = "A program to clean your computer"; longDescription = "BleachBit helps you easily clean your computer to free space and maintain privacy."; license = licenses.gpl3; - maintainers = with maintainers; [ leonardoce ]; + maintainers = with maintainers; [ leonardoce mbprtpmnr ]; }; } diff --git a/pkgs/applications/misc/moolticute/default.nix b/pkgs/applications/misc/moolticute/default.nix index bd6173a0c525..653e8e9a1cc4 100644 --- a/pkgs/applications/misc/moolticute/default.nix +++ b/pkgs/applications/misc/moolticute/default.nix @@ -9,13 +9,13 @@ mkDerivation rec { pname = "moolticute"; - version = "0.50.0"; + version = "0.52.0"; src = fetchFromGitHub { owner = "mooltipass"; repo = pname; rev = "v${version}"; - sha256 = "sha256-/luba+qYRATP3EjNMB+GIRP6JQOlADsvpF8PzRFqFlM="; + sha256 = "sha256-6o0Tf6qBxCEOvfSuEP2Qz72T9Oexp95knRCtwImlpsA="; }; outputs = [ "out" "udev" ]; diff --git a/pkgs/applications/misc/pueue/default.nix b/pkgs/applications/misc/pueue/default.nix index 31879d376f9c..ac79f5be8460 100644 --- a/pkgs/applications/misc/pueue/default.nix +++ b/pkgs/applications/misc/pueue/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "pueue"; - version = "1.0.2"; + version = "1.0.3"; src = fetchFromGitHub { owner = "Nukesor"; repo = pname; rev = "v${version}"; - sha256 = "sha256-rU+/fW7yF71MG5kEqjeJDC3uSBzCy0aUH5aVRpImYE8="; + sha256 = "sha256-1iAXLs3O7EV7LfbXnajlDm75tQtanFInfNWZmnittlk="; }; - cargoSha256 = "sha256-cmtxVNkYyrkrVXWb7xoJUByl7k1+uYRRVXI8jIHCC7Y="; + cargoSha256 = "sha256-x/qRNxZS++DBq5B9+/9eXN95QZN/FSLi+3XyJ06Y1hg="; nativeBuildInputs = [ installShellFiles ]; diff --git a/pkgs/applications/networking/cluster/octant/plugins/starboard-octant-plugin.nix b/pkgs/applications/networking/cluster/octant/plugins/starboard-octant-plugin.nix index 9679f5bd2e03..4d3662ea8750 100644 --- a/pkgs/applications/networking/cluster/octant/plugins/starboard-octant-plugin.nix +++ b/pkgs/applications/networking/cluster/octant/plugins/starboard-octant-plugin.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "starboard-octant-plugin"; - version = "0.11.0"; + version = "0.12.0"; src = fetchFromGitHub { owner = "aquasecurity"; repo = pname; rev = "v${version}"; - sha256 = "sha256-XHc/1rqTEVOjCm0kFniUmmjVeRsr9Npt0OpQ6Oy7Rxo="; + sha256 = "sha256-JTSZtIRVFdUjhQsp2EMukeoVIo6nNx4xofq+3iOZUIk="; }; - vendorSha256 = "sha256-EM0lPwwWJuLD+aqZWshz1ILaeEtUU4wJ0Puwv1Ikgf4="; + vendorSha256 = "sha256-1zrB+CobUBgdpBHRJPpfDYCD6oVWY4j4Met9EqNQQbE="; ldflags = [ "-s" "-w" diff --git a/pkgs/applications/networking/cluster/starboard/default.nix b/pkgs/applications/networking/cluster/starboard/default.nix index 066b70e8e254..6c22203eaaf1 100644 --- a/pkgs/applications/networking/cluster/starboard/default.nix +++ b/pkgs/applications/networking/cluster/starboard/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "starboard"; - version = "0.11.0"; + version = "0.12.0"; src = fetchFromGitHub { owner = "aquasecurity"; repo = pname; rev = "v${version}"; - sha256 = "sha256-NV37K5JUfGPK8TwCi/4XY7MQUvp76vzdxsHUNPlYpYk="; + sha256 = "sha256-6QIQsxqTKERo5x2Knv4IBeNt5KjvfoW0ryFJLlALqrA="; }; - vendorSha256 = "sha256-4CmAf1s+tK7cKxwetgv0YewLLROsZ5g1Zd30FCep5k8="; + vendorSha256 = "sha256-r6wMSeW5Et6hYwoEKufmcOmucuHlYuBDOMuXXMT4W2Y="; # Don't build and check the integration tests excludedPackages = "itest"; diff --git a/pkgs/applications/networking/instant-messengers/element/element-desktop-package.json b/pkgs/applications/networking/instant-messengers/element/element-desktop-package.json index 340e8e22f642..65093878da2d 100644 --- a/pkgs/applications/networking/instant-messengers/element/element-desktop-package.json +++ b/pkgs/applications/networking/instant-messengers/element/element-desktop-package.json @@ -2,7 +2,7 @@ "name": "element-desktop", "productName": "Element", "main": "lib/electron-main.js", - "version": "1.8.4", + "version": "1.8.5", "description": "A feature-rich client for Matrix.org", "author": "Element", "repository": { @@ -54,7 +54,7 @@ "@types/minimist": "^1.2.1", "@typescript-eslint/eslint-plugin": "^4.17.0", "@typescript-eslint/parser": "^4.17.0", - "allchange": "^1.0.0", + "allchange": "^1.0.2", "asar": "^2.0.1", "chokidar": "^3.5.2", "electron": "^13.1.9", @@ -83,7 +83,7 @@ }, "build": { "appId": "im.riot.app", - "electronVersion": "13.1.9", + "electronVersion": "13.2.2", "files": [ "package.json", { diff --git a/pkgs/applications/networking/instant-messengers/element/element-desktop-yarndeps.nix b/pkgs/applications/networking/instant-messengers/element/element-desktop-yarndeps.nix index 12ec78a6af1c..45f2a5638ed7 100644 --- a/pkgs/applications/networking/instant-messengers/element/element-desktop-yarndeps.nix +++ b/pkgs/applications/networking/instant-messengers/element/element-desktop-yarndeps.nix @@ -10,11 +10,11 @@ }; } { - name = "_actions_core___core_1.4.0.tgz"; + name = "_actions_core___core_1.5.0.tgz"; path = fetchurl { - name = "_actions_core___core_1.4.0.tgz"; - url = "https://registry.yarnpkg.com/@actions/core/-/core-1.4.0.tgz"; - sha1 = "cf2e6ee317e314b03886adfeb20e448d50d6e524"; + name = "_actions_core___core_1.5.0.tgz"; + url = "https://registry.yarnpkg.com/@actions/core/-/core-1.5.0.tgz"; + sha1 = "885b864700001a1b9a6fba247833a036e75ad9d3"; }; } { @@ -42,11 +42,11 @@ }; } { - name = "_babel_generator___generator_7.14.8.tgz"; + name = "_babel_generator___generator_7.15.0.tgz"; path = fetchurl { - name = "_babel_generator___generator_7.14.8.tgz"; - url = "https://registry.yarnpkg.com/@babel/generator/-/generator-7.14.8.tgz"; - sha1 = "bf86fd6af96cf3b74395a8ca409515f89423e070"; + name = "_babel_generator___generator_7.15.0.tgz"; + url = "https://registry.yarnpkg.com/@babel/generator/-/generator-7.15.0.tgz"; + sha1 = "a7d0c172e0d814974bad5aa77ace543b97917f15"; }; } { @@ -82,11 +82,11 @@ }; } { - name = "_babel_helper_validator_identifier___helper_validator_identifier_7.14.8.tgz"; + name = "_babel_helper_validator_identifier___helper_validator_identifier_7.14.9.tgz"; path = fetchurl { - name = "_babel_helper_validator_identifier___helper_validator_identifier_7.14.8.tgz"; - url = "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.8.tgz"; - sha1 = "32be33a756f29e278a0d644fa08a2c9e0f88a34c"; + name = "_babel_helper_validator_identifier___helper_validator_identifier_7.14.9.tgz"; + url = "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.9.tgz"; + sha1 = "6654d171b2024f6d8ee151bf2509699919131d48"; }; } { @@ -98,19 +98,19 @@ }; } { - name = "_babel_parser___parser_7.14.8.tgz"; + name = "_babel_parser___parser_7.15.3.tgz"; path = fetchurl { - name = "_babel_parser___parser_7.14.8.tgz"; - url = "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.8.tgz"; - sha1 = "66fd41666b2d7b840bd5ace7f7416d5ac60208d4"; + name = "_babel_parser___parser_7.15.3.tgz"; + url = "https://registry.yarnpkg.com/@babel/parser/-/parser-7.15.3.tgz"; + sha1 = "3416d9bea748052cfcb63dbcc27368105b1ed862"; }; } { - name = "_babel_runtime___runtime_7.14.8.tgz"; + name = "_babel_runtime___runtime_7.15.3.tgz"; path = fetchurl { - name = "_babel_runtime___runtime_7.14.8.tgz"; - url = "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.14.8.tgz"; - sha1 = "7119a56f421018852694290b9f9148097391b446"; + name = "_babel_runtime___runtime_7.15.3.tgz"; + url = "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.15.3.tgz"; + sha1 = "2e1c2880ca118e5b2f9988322bd8a7656a32502b"; }; } { @@ -122,19 +122,19 @@ }; } { - name = "_babel_traverse___traverse_7.14.8.tgz"; + name = "_babel_traverse___traverse_7.15.0.tgz"; path = fetchurl { - name = "_babel_traverse___traverse_7.14.8.tgz"; - url = "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.14.8.tgz"; - sha1 = "c0253f02677c5de1a8ff9df6b0aacbec7da1a8ce"; + name = "_babel_traverse___traverse_7.15.0.tgz"; + url = "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.15.0.tgz"; + sha1 = "4cca838fd1b2a03283c1f38e141f639d60b3fc98"; }; } { - name = "_babel_types___types_7.14.8.tgz"; + name = "_babel_types___types_7.15.0.tgz"; path = fetchurl { - name = "_babel_types___types_7.14.8.tgz"; - url = "https://registry.yarnpkg.com/@babel/types/-/types-7.14.8.tgz"; - sha1 = "38109de8fcadc06415fbd9b74df0065d4d41c728"; + name = "_babel_types___types_7.15.0.tgz"; + url = "https://registry.yarnpkg.com/@babel/types/-/types-7.15.0.tgz"; + sha1 = "61af11f2286c4e9c69ca8deb5f4375a73c72dcbd"; }; } { @@ -146,11 +146,11 @@ }; } { - name = "_electron_get___get_1.12.4.tgz"; + name = "_electron_get___get_1.13.0.tgz"; path = fetchurl { - name = "_electron_get___get_1.12.4.tgz"; - url = "https://registry.yarnpkg.com/@electron/get/-/get-1.12.4.tgz"; - sha1 = "a5971113fc1bf8fa12a8789dc20152a7359f06ab"; + name = "_electron_get___get_1.13.0.tgz"; + url = "https://registry.yarnpkg.com/@electron/get/-/get-1.13.0.tgz"; + sha1 = "95c6bcaff4f9a505ea46792424f451efea89228c"; }; } { @@ -498,11 +498,11 @@ }; } { - name = "_npmcli_run_script___run_script_1.8.5.tgz"; + name = "_npmcli_run_script___run_script_1.8.6.tgz"; path = fetchurl { - name = "_npmcli_run_script___run_script_1.8.5.tgz"; - url = "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-1.8.5.tgz"; - sha1 = "f250a0c5e1a08a792d775a315d0ff42fc3a51e1d"; + name = "_npmcli_run_script___run_script_1.8.6.tgz"; + url = "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-1.8.6.tgz"; + sha1 = "18314802a6660b0d4baa4c3afe7f1ad39d8c28b7"; }; } { @@ -537,14 +537,6 @@ sha1 = "0c3f5bed440822182e972317122acb65d311a5ed"; }; } - { - name = "_octokit_openapi_types___openapi_types_9.3.0.tgz"; - path = fetchurl { - name = "_octokit_openapi_types___openapi_types_9.3.0.tgz"; - url = "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-9.3.0.tgz"; - sha1 = "160347858d727527901c6aae7f7d5c2414cc1f2e"; - }; - } { name = "_octokit_openapi_types___openapi_types_9.7.0.tgz"; path = fetchurl { @@ -561,14 +553,6 @@ sha1 = "264189dd3ce881c6c33758824aac05a4002e056a"; }; } - { - name = "_octokit_plugin_paginate_rest___plugin_paginate_rest_2.15.0.tgz"; - path = fetchurl { - name = "_octokit_plugin_paginate_rest___plugin_paginate_rest_2.15.0.tgz"; - url = "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.15.0.tgz"; - sha1 = "9c956c3710b2bd786eb3814eaf5a2b17392c150d"; - }; - } { name = "_octokit_plugin_request_log___plugin_request_log_1.0.4.tgz"; path = fetchurl { @@ -577,14 +561,6 @@ sha1 = "5e50ed7083a613816b1e4a28aeec5fb7f1462e85"; }; } - { - name = "_octokit_plugin_rest_endpoint_methods___plugin_rest_endpoint_methods_5.6.0.tgz"; - path = fetchurl { - name = "_octokit_plugin_rest_endpoint_methods___plugin_rest_endpoint_methods_5.6.0.tgz"; - url = "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.6.0.tgz"; - sha1 = "c28833b88d0f07bf94093405d02d43d73c7de99b"; - }; - } { name = "_octokit_plugin_rest_endpoint_methods___plugin_rest_endpoint_methods_5.8.0.tgz"; path = fetchurl { @@ -602,27 +578,19 @@ }; } { - name = "_octokit_request___request_5.6.0.tgz"; + name = "_octokit_request___request_5.6.1.tgz"; path = fetchurl { - name = "_octokit_request___request_5.6.0.tgz"; - url = "https://registry.yarnpkg.com/@octokit/request/-/request-5.6.0.tgz"; - sha1 = "6084861b6e4fa21dc40c8e2a739ec5eff597e672"; + name = "_octokit_request___request_5.6.1.tgz"; + url = "https://registry.yarnpkg.com/@octokit/request/-/request-5.6.1.tgz"; + sha1 = "f97aff075c37ab1d427c49082fefeef0dba2d8ce"; }; } { - name = "_octokit_rest___rest_18.8.0.tgz"; + name = "_octokit_rest___rest_18.9.1.tgz"; path = fetchurl { - name = "_octokit_rest___rest_18.8.0.tgz"; - url = "https://registry.yarnpkg.com/@octokit/rest/-/rest-18.8.0.tgz"; - sha1 = "ba24f7ba554f015a7ae2b7cc2aecef5386ddfea5"; - }; - } - { - name = "_octokit_types___types_6.23.0.tgz"; - path = fetchurl { - name = "_octokit_types___types_6.23.0.tgz"; - url = "https://registry.yarnpkg.com/@octokit/types/-/types-6.23.0.tgz"; - sha1 = "b39f242b20036e89fa8f34f7962b4e9b7ff8f65b"; + name = "_octokit_rest___rest_18.9.1.tgz"; + url = "https://registry.yarnpkg.com/@octokit/rest/-/rest-18.9.1.tgz"; + sha1 = "db1d7ac1d7b10e908f7d4b78fe35a392554ccb26"; }; } { @@ -674,11 +642,11 @@ }; } { - name = "_types_debug___debug_4.1.6.tgz"; + name = "_types_debug___debug_4.1.7.tgz"; path = fetchurl { - name = "_types_debug___debug_4.1.6.tgz"; - url = "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.6.tgz"; - sha1 = "0b7018723084918a865eff99249c490505df2163"; + name = "_types_debug___debug_4.1.7.tgz"; + url = "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.7.tgz"; + sha1 = "7cc0ea761509124709b8b2d1090d8f6c17aadb82"; }; } { @@ -698,11 +666,11 @@ }; } { - name = "_types_json_schema___json_schema_7.0.8.tgz"; + name = "_types_json_schema___json_schema_7.0.9.tgz"; path = fetchurl { - name = "_types_json_schema___json_schema_7.0.8.tgz"; - url = "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.8.tgz"; - sha1 = "edf1bf1dbf4e04413ca8e5b17b3b7d7d54b59818"; + name = "_types_json_schema___json_schema_7.0.9.tgz"; + url = "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.9.tgz"; + sha1 = "97edc9037ea0c38585320b28964dde3b39e4660d"; }; } { @@ -722,19 +690,27 @@ }; } { - name = "_types_node___node_16.4.0.tgz"; + name = "_types_ms___ms_0.7.31.tgz"; path = fetchurl { - name = "_types_node___node_16.4.0.tgz"; - url = "https://registry.yarnpkg.com/@types/node/-/node-16.4.0.tgz"; - sha1 = "2c219eaa3b8d1e4d04f4dd6e40bc68c7467d5272"; + name = "_types_ms___ms_0.7.31.tgz"; + url = "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.31.tgz"; + sha1 = "31b7ca6407128a3d2bbc27fe2d21b345397f6197"; }; } { - name = "_types_node___node_14.17.5.tgz"; + name = "_types_node___node_16.7.1.tgz"; path = fetchurl { - name = "_types_node___node_14.17.5.tgz"; - url = "https://registry.yarnpkg.com/@types/node/-/node-14.17.5.tgz"; - sha1 = "b59daf6a7ffa461b5648456ca59050ba8e40ed54"; + name = "_types_node___node_16.7.1.tgz"; + url = "https://registry.yarnpkg.com/@types/node/-/node-16.7.1.tgz"; + sha1 = "c6b9198178da504dfca1fd0be9b2e1002f1586f0"; + }; + } + { + name = "_types_node___node_14.17.11.tgz"; + path = fetchurl { + name = "_types_node___node_14.17.11.tgz"; + url = "https://registry.yarnpkg.com/@types/node/-/node-14.17.11.tgz"; + sha1 = "82d266d657aec5ff01ca59f2ffaff1bb43f7bf0f"; }; } { @@ -770,59 +746,59 @@ }; } { - name = "_typescript_eslint_eslint_plugin___eslint_plugin_4.28.4.tgz"; + name = "_typescript_eslint_eslint_plugin___eslint_plugin_4.29.3.tgz"; path = fetchurl { - name = "_typescript_eslint_eslint_plugin___eslint_plugin_4.28.4.tgz"; - url = "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.28.4.tgz"; - sha1 = "e73c8cabbf3f08dee0e1bda65ed4e622ae8f8921"; + name = "_typescript_eslint_eslint_plugin___eslint_plugin_4.29.3.tgz"; + url = "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.29.3.tgz"; + sha1 = "95cb8029a8bd8bd9c7f4ab95074a7cb2115adefa"; }; } { - name = "_typescript_eslint_experimental_utils___experimental_utils_4.28.4.tgz"; + name = "_typescript_eslint_experimental_utils___experimental_utils_4.29.3.tgz"; path = fetchurl { - name = "_typescript_eslint_experimental_utils___experimental_utils_4.28.4.tgz"; - url = "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.28.4.tgz"; - sha1 = "9c70c35ebed087a5c70fb0ecd90979547b7fec96"; + name = "_typescript_eslint_experimental_utils___experimental_utils_4.29.3.tgz"; + url = "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.29.3.tgz"; + sha1 = "52e437a689ccdef73e83c5106b34240a706f15e1"; }; } { - name = "_typescript_eslint_parser___parser_4.28.4.tgz"; + name = "_typescript_eslint_parser___parser_4.29.3.tgz"; path = fetchurl { - name = "_typescript_eslint_parser___parser_4.28.4.tgz"; - url = "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.28.4.tgz"; - sha1 = "bc462dc2779afeefdcf49082516afdc3e7b96fab"; + name = "_typescript_eslint_parser___parser_4.29.3.tgz"; + url = "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.29.3.tgz"; + sha1 = "2ac25535f34c0e98f50c0e6b28c679c2357d45f2"; }; } { - name = "_typescript_eslint_scope_manager___scope_manager_4.28.4.tgz"; + name = "_typescript_eslint_scope_manager___scope_manager_4.29.3.tgz"; path = fetchurl { - name = "_typescript_eslint_scope_manager___scope_manager_4.28.4.tgz"; - url = "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.28.4.tgz"; - sha1 = "bdbce9b6a644e34f767bd68bc17bb14353b9fe7f"; + name = "_typescript_eslint_scope_manager___scope_manager_4.29.3.tgz"; + url = "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.29.3.tgz"; + sha1 = "497dec66f3a22e459f6e306cf14021e40ec86e19"; }; } { - name = "_typescript_eslint_types___types_4.28.4.tgz"; + name = "_typescript_eslint_types___types_4.29.3.tgz"; path = fetchurl { - name = "_typescript_eslint_types___types_4.28.4.tgz"; - url = "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.28.4.tgz"; - sha1 = "41acbd79b5816b7c0dd7530a43d97d020d3aeb42"; + name = "_typescript_eslint_types___types_4.29.3.tgz"; + url = "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.29.3.tgz"; + sha1 = "d7980c49aef643d0af8954c9f14f656b7fd16017"; }; } { - name = "_typescript_eslint_typescript_estree___typescript_estree_4.28.4.tgz"; + name = "_typescript_eslint_typescript_estree___typescript_estree_4.29.3.tgz"; path = fetchurl { - name = "_typescript_eslint_typescript_estree___typescript_estree_4.28.4.tgz"; - url = "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.28.4.tgz"; - sha1 = "252e6863278dc0727244be9e371eb35241c46d00"; + name = "_typescript_eslint_typescript_estree___typescript_estree_4.29.3.tgz"; + url = "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.29.3.tgz"; + sha1 = "1bafad610015c4ded35c85a70b6222faad598b40"; }; } { - name = "_typescript_eslint_visitor_keys___visitor_keys_4.28.4.tgz"; + name = "_typescript_eslint_visitor_keys___visitor_keys_4.29.3.tgz"; path = fetchurl { - name = "_typescript_eslint_visitor_keys___visitor_keys_4.28.4.tgz"; - url = "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.28.4.tgz"; - sha1 = "92dacfefccd6751cbb0a964f06683bfd72d0c4d3"; + name = "_typescript_eslint_visitor_keys___visitor_keys_4.29.3.tgz"; + url = "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.29.3.tgz"; + sha1 = "c691760a00bd86bf8320d2a90a93d86d322f1abf"; }; } { @@ -898,11 +874,11 @@ }; } { - name = "allchange___allchange_1.0.0.tgz"; + name = "allchange___allchange_1.0.2.tgz"; path = fetchurl { - name = "allchange___allchange_1.0.0.tgz"; - url = "https://registry.yarnpkg.com/allchange/-/allchange-1.0.0.tgz"; - sha1 = "f5177b7d97f8e97a2d059a1524db9a72d94dc6d2"; + name = "allchange___allchange_1.0.2.tgz"; + url = "https://registry.yarnpkg.com/allchange/-/allchange-1.0.2.tgz"; + sha1 = "86b9190e12b7ede4f230ae763cbd504c48fd907b"; }; } { @@ -1122,11 +1098,11 @@ }; } { - name = "async___async_3.2.0.tgz"; + name = "async___async_3.2.1.tgz"; path = fetchurl { - name = "async___async_3.2.0.tgz"; - url = "https://registry.yarnpkg.com/async/-/async-3.2.0.tgz"; - sha1 = "b3a2685c5ebb641d3de02d161002c60fc9f85720"; + name = "async___async_3.2.1.tgz"; + url = "https://registry.yarnpkg.com/async/-/async-3.2.1.tgz"; + sha1 = "d3274ec66d107a47476a4c49136aacdb00665fc8"; }; } { @@ -1250,11 +1226,11 @@ }; } { - name = "boolean___boolean_3.1.2.tgz"; + name = "boolean___boolean_3.1.4.tgz"; path = fetchurl { - name = "boolean___boolean_3.1.2.tgz"; - url = "https://registry.yarnpkg.com/boolean/-/boolean-3.1.2.tgz"; - sha1 = "e30f210a26b02458482a8cc353ab06f262a780c2"; + name = "boolean___boolean_3.1.4.tgz"; + url = "https://registry.yarnpkg.com/boolean/-/boolean-3.1.4.tgz"; + sha1 = "f51a2fb5838a99e06f9b6ec1edb674de67026435"; }; } { @@ -1306,11 +1282,11 @@ }; } { - name = "buffer_from___buffer_from_1.1.1.tgz"; + name = "buffer_from___buffer_from_1.1.2.tgz"; path = fetchurl { - name = "buffer_from___buffer_from_1.1.1.tgz"; - url = "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz"; - sha1 = "32713bc028f75c02fdb710d7c7bcec1f2c6070ef"; + name = "buffer_from___buffer_from_1.1.2.tgz"; + url = "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz"; + sha1 = "2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5"; }; } { @@ -1394,11 +1370,11 @@ }; } { - name = "chalk___chalk_4.1.1.tgz"; + name = "chalk___chalk_4.1.2.tgz"; path = fetchurl { - name = "chalk___chalk_4.1.1.tgz"; - url = "https://registry.yarnpkg.com/chalk/-/chalk-4.1.1.tgz"; - sha1 = "c80b3fab28bf6371e6863325eee67e618b77e6ad"; + name = "chalk___chalk_4.1.2.tgz"; + url = "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz"; + sha1 = "aac4e2b7734a740867aeb16bf02aad556a1e7a01"; }; } { @@ -1634,11 +1610,11 @@ }; } { - name = "core_js___core_js_3.15.2.tgz"; + name = "core_js___core_js_3.16.3.tgz"; path = fetchurl { - name = "core_js___core_js_3.15.2.tgz"; - url = "https://registry.yarnpkg.com/core-js/-/core-js-3.15.2.tgz"; - sha1 = "740660d2ff55ef34ce664d7e2455119c5bdd3d61"; + name = "core_js___core_js_3.16.3.tgz"; + url = "https://registry.yarnpkg.com/core-js/-/core-js-3.16.3.tgz"; + sha1 = "1f2d43c51a9ed014cc6c83440af14697ae4b75f2"; }; } { @@ -1970,11 +1946,11 @@ }; } { - name = "electron_notarize___electron_notarize_1.0.0.tgz"; + name = "electron_notarize___electron_notarize_1.1.0.tgz"; path = fetchurl { - name = "electron_notarize___electron_notarize_1.0.0.tgz"; - url = "https://registry.yarnpkg.com/electron-notarize/-/electron-notarize-1.0.0.tgz"; - sha1 = "bc925b1ccc3f79e58e029e8c4706572b01a9fd8f"; + name = "electron_notarize___electron_notarize_1.1.0.tgz"; + url = "https://registry.yarnpkg.com/electron-notarize/-/electron-notarize-1.1.0.tgz"; + sha1 = "00ed0182366b97f5593cb5ccdcf1120f1de37179"; }; } { @@ -2002,11 +1978,11 @@ }; } { - name = "electron___electron_13.1.9.tgz"; + name = "electron___electron_13.2.2.tgz"; path = fetchurl { - name = "electron___electron_13.1.9.tgz"; - url = "https://registry.yarnpkg.com/electron/-/electron-13.1.9.tgz"; - sha1 = "668e2632b81e9fa21edfd32876282d3e2ff7fd76"; + name = "electron___electron_13.2.2.tgz"; + url = "https://registry.yarnpkg.com/electron/-/electron-13.2.2.tgz"; + sha1 = "332d91891d0db4f9a1d22d4d0bc3b500e59dc051"; }; } { @@ -2298,11 +2274,11 @@ }; } { - name = "ext___ext_1.4.0.tgz"; + name = "ext___ext_1.5.0.tgz"; path = fetchurl { - name = "ext___ext_1.4.0.tgz"; - url = "https://registry.yarnpkg.com/ext/-/ext-1.4.0.tgz"; - sha1 = "89ae7a07158f79d35517882904324077e4379244"; + name = "ext___ext_1.5.0.tgz"; + url = "https://registry.yarnpkg.com/ext/-/ext-1.5.0.tgz"; + sha1 = "e93b97ae0cb23f8370380f6107d2d2b7887687ad"; }; } { @@ -2370,11 +2346,11 @@ }; } { - name = "fastq___fastq_1.11.1.tgz"; + name = "fastq___fastq_1.12.0.tgz"; path = fetchurl { - name = "fastq___fastq_1.11.1.tgz"; - url = "https://registry.yarnpkg.com/fastq/-/fastq-1.11.1.tgz"; - sha1 = "5d8175aae17db61947f8b162cfc7f63264d22807"; + name = "fastq___fastq_1.12.0.tgz"; + url = "https://registry.yarnpkg.com/fastq/-/fastq-1.12.0.tgz"; + sha1 = "ed7b6ab5d62393fb2cc591c853652a5c318bf794"; }; } { @@ -2442,11 +2418,11 @@ }; } { - name = "flatted___flatted_3.2.1.tgz"; + name = "flatted___flatted_3.2.2.tgz"; path = fetchurl { - name = "flatted___flatted_3.2.1.tgz"; - url = "https://registry.yarnpkg.com/flatted/-/flatted-3.2.1.tgz"; - sha1 = "bbef080d95fca6709362c73044a1634f7c6e7d05"; + name = "flatted___flatted_3.2.2.tgz"; + url = "https://registry.yarnpkg.com/flatted/-/flatted-3.2.2.tgz"; + sha1 = "64bfed5cb68fe3ca78b3eb214ad97b63bedce561"; }; } { @@ -2682,11 +2658,11 @@ }; } { - name = "graceful_fs___graceful_fs_4.2.6.tgz"; + name = "graceful_fs___graceful_fs_4.2.8.tgz"; path = fetchurl { - name = "graceful_fs___graceful_fs_4.2.6.tgz"; - url = "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.6.tgz"; - sha1 = "ff040b2b0853b23c3d31027523706f1885d76bee"; + name = "graceful_fs___graceful_fs_4.2.8.tgz"; + url = "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.8.tgz"; + sha1 = "e412b8d33f5e006593cbd3cee6df9f2cebbe802a"; }; } { @@ -3490,11 +3466,11 @@ }; } { - name = "make_fetch_happen___make_fetch_happen_9.0.4.tgz"; + name = "make_fetch_happen___make_fetch_happen_9.1.0.tgz"; path = fetchurl { - name = "make_fetch_happen___make_fetch_happen_9.0.4.tgz"; - url = "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-9.0.4.tgz"; - sha1 = "ceaa100e60e0ef9e8d1ede94614bb2ba83c8bb24"; + name = "make_fetch_happen___make_fetch_happen_9.1.0.tgz"; + url = "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz"; + sha1 = "53085a09e7971433e6765f7971bf63f4e05cb968"; }; } { @@ -3538,19 +3514,19 @@ }; } { - name = "mime_db___mime_db_1.48.0.tgz"; + name = "mime_db___mime_db_1.49.0.tgz"; path = fetchurl { - name = "mime_db___mime_db_1.48.0.tgz"; - url = "https://registry.yarnpkg.com/mime-db/-/mime-db-1.48.0.tgz"; - sha1 = "e35b31045dd7eada3aaad537ed88a33afbef2d1d"; + name = "mime_db___mime_db_1.49.0.tgz"; + url = "https://registry.yarnpkg.com/mime-db/-/mime-db-1.49.0.tgz"; + sha1 = "f3dfde60c99e9cf3bc9701d687778f537001cbed"; }; } { - name = "mime_types___mime_types_2.1.31.tgz"; + name = "mime_types___mime_types_2.1.32.tgz"; path = fetchurl { - name = "mime_types___mime_types_2.1.31.tgz"; - url = "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.31.tgz"; - sha1 = "a00d76b74317c61f9c2db2218b8e9f8e9c5c9e6b"; + name = "mime_types___mime_types_2.1.32.tgz"; + url = "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.32.tgz"; + sha1 = "1d00e89e7de7fe02008db61001d9e02852670fd5"; }; } { @@ -3746,11 +3722,11 @@ }; } { - name = "needle___needle_2.8.0.tgz"; + name = "needle___needle_2.9.0.tgz"; path = fetchurl { - name = "needle___needle_2.8.0.tgz"; - url = "https://registry.yarnpkg.com/needle/-/needle-2.8.0.tgz"; - sha1 = "1c8ef9c1a2c29dcc1e83d73809d7bc681c80a048"; + name = "needle___needle_2.9.0.tgz"; + url = "https://registry.yarnpkg.com/needle/-/needle-2.9.0.tgz"; + sha1 = "c680e401f99b6c3d8d1f315756052edf3dc3bdff"; }; } { @@ -4106,11 +4082,11 @@ }; } { - name = "parse_headers___parse_headers_2.0.3.tgz"; + name = "parse_headers___parse_headers_2.0.4.tgz"; path = fetchurl { - name = "parse_headers___parse_headers_2.0.3.tgz"; - url = "https://registry.yarnpkg.com/parse-headers/-/parse-headers-2.0.3.tgz"; - sha1 = "5e8e7512383d140ba02f0c7aa9f49b4399c92515"; + name = "parse_headers___parse_headers_2.0.4.tgz"; + url = "https://registry.yarnpkg.com/parse-headers/-/parse-headers-2.0.4.tgz"; + sha1 = "9eaf2d02bed2d1eff494331ce3df36d7924760bf"; }; } { @@ -4202,11 +4178,11 @@ }; } { - name = "plist___plist_3.0.2.tgz"; + name = "plist___plist_3.0.3.tgz"; path = fetchurl { - name = "plist___plist_3.0.2.tgz"; - url = "https://registry.yarnpkg.com/plist/-/plist-3.0.2.tgz"; - sha1 = "74bbf011124b90421c22d15779cee60060ba95bc"; + name = "plist___plist_3.0.3.tgz"; + url = "https://registry.yarnpkg.com/plist/-/plist-3.0.3.tgz"; + sha1 = "007df34c7be0e2c3dcfcf460d623e6485457857d"; }; } { @@ -4370,11 +4346,11 @@ }; } { - name = "read_package_json_fast___read_package_json_fast_2.0.2.tgz"; + name = "read_package_json_fast___read_package_json_fast_2.0.3.tgz"; path = fetchurl { - name = "read_package_json_fast___read_package_json_fast_2.0.2.tgz"; - url = "https://registry.yarnpkg.com/read-package-json-fast/-/read-package-json-fast-2.0.2.tgz"; - sha1 = "2dcb24d9e8dd50fb322042c8c35a954e6cc7ac9e"; + name = "read_package_json_fast___read_package_json_fast_2.0.3.tgz"; + url = "https://registry.yarnpkg.com/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz"; + sha1 = "323ca529630da82cb34b36cc0b996693c98c2b83"; }; } { @@ -4410,11 +4386,11 @@ }; } { - name = "regenerator_runtime___regenerator_runtime_0.13.7.tgz"; + name = "regenerator_runtime___regenerator_runtime_0.13.9.tgz"; path = fetchurl { - name = "regenerator_runtime___regenerator_runtime_0.13.7.tgz"; - url = "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz"; - sha1 = "cac2dacc8a1ea675feaabaeb8ae833898ae46f55"; + name = "regenerator_runtime___regenerator_runtime_0.13.9.tgz"; + url = "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz"; + sha1 = "8925742a98ffd90814988d7566ad30ca3b263b52"; }; } { @@ -4682,19 +4658,19 @@ }; } { - name = "smart_buffer___smart_buffer_4.1.0.tgz"; + name = "smart_buffer___smart_buffer_4.2.0.tgz"; path = fetchurl { - name = "smart_buffer___smart_buffer_4.1.0.tgz"; - url = "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.1.0.tgz"; - sha1 = "91605c25d91652f4661ea69ccf45f1b331ca21ba"; + name = "smart_buffer___smart_buffer_4.2.0.tgz"; + url = "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz"; + sha1 = "6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae"; }; } { - name = "socks_proxy_agent___socks_proxy_agent_5.0.1.tgz"; + name = "socks_proxy_agent___socks_proxy_agent_6.0.0.tgz"; path = fetchurl { - name = "socks_proxy_agent___socks_proxy_agent_5.0.1.tgz"; - url = "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-5.0.1.tgz"; - sha1 = "032fb583048a29ebffec2e6a73fca0761f48177e"; + name = "socks_proxy_agent___socks_proxy_agent_6.0.0.tgz"; + url = "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-6.0.0.tgz"; + sha1 = "9f8749cdc05976505fa9f9a958b1818d0e60573b"; }; } { @@ -4906,19 +4882,19 @@ }; } { - name = "tar___tar_4.4.13.tgz"; + name = "tar___tar_4.4.19.tgz"; path = fetchurl { - name = "tar___tar_4.4.13.tgz"; - url = "https://registry.yarnpkg.com/tar/-/tar-4.4.13.tgz"; - sha1 = "43b364bc52888d555298637b10d60790254ab525"; + name = "tar___tar_4.4.19.tgz"; + url = "https://registry.yarnpkg.com/tar/-/tar-4.4.19.tgz"; + sha1 = "2e4d7263df26f2b914dee10c825ab132123742f3"; }; } { - name = "tar___tar_6.1.2.tgz"; + name = "tar___tar_6.1.10.tgz"; path = fetchurl { - name = "tar___tar_6.1.2.tgz"; - url = "https://registry.yarnpkg.com/tar/-/tar-6.1.2.tgz"; - sha1 = "1f045a90a6eb23557a603595f41a16c57d47adc6"; + name = "tar___tar_6.1.10.tgz"; + url = "https://registry.yarnpkg.com/tar/-/tar-6.1.10.tgz"; + sha1 = "8a320a74475fba54398fa136cd9883aa8ad11175"; }; } { @@ -5042,11 +5018,11 @@ }; } { - name = "tslib___tslib_2.3.0.tgz"; + name = "tslib___tslib_2.3.1.tgz"; path = fetchurl { - name = "tslib___tslib_2.3.0.tgz"; - url = "https://registry.yarnpkg.com/tslib/-/tslib-2.3.0.tgz"; - sha1 = "803b8cdab3e12ba581a4ca41c8839bbb0dacb09e"; + name = "tslib___tslib_2.3.1.tgz"; + url = "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz"; + sha1 = "e8a335add5ceae51aa261d32a490158ef042ef01"; }; } { @@ -5434,11 +5410,11 @@ }; } { - name = "xmldom___xmldom_0.5.0.tgz"; + name = "xmldom___xmldom_0.6.0.tgz"; path = fetchurl { - name = "xmldom___xmldom_0.5.0.tgz"; - url = "https://registry.yarnpkg.com/xmldom/-/xmldom-0.5.0.tgz"; - sha1 = "193cb96b84aa3486127ea6272c4596354cb4962e"; + name = "xmldom___xmldom_0.6.0.tgz"; + url = "https://registry.yarnpkg.com/xmldom/-/xmldom-0.6.0.tgz"; + sha1 = "43a96ecb8beece991cef382c08397d82d4d0c46f"; }; } { @@ -5490,11 +5466,11 @@ }; } { - name = "yargs___yargs_17.0.1.tgz"; + name = "yargs___yargs_17.1.1.tgz"; path = fetchurl { - name = "yargs___yargs_17.0.1.tgz"; - url = "https://registry.yarnpkg.com/yargs/-/yargs-17.0.1.tgz"; - sha1 = "6a1ced4ed5ee0b388010ba9fd67af83b9362e0bb"; + name = "yargs___yargs_17.1.1.tgz"; + url = "https://registry.yarnpkg.com/yargs/-/yargs-17.1.1.tgz"; + sha1 = "c2a8091564bdb196f7c0a67c1d12e5b85b8067ba"; }; } { diff --git a/pkgs/applications/networking/instant-messengers/element/element-desktop.nix b/pkgs/applications/networking/instant-messengers/element/element-desktop.nix index 2df11e3b2265..27a5204e9e96 100644 --- a/pkgs/applications/networking/instant-messengers/element/element-desktop.nix +++ b/pkgs/applications/networking/instant-messengers/element/element-desktop.nix @@ -7,8 +7,6 @@ , electron , element-web , callPackage -, fetchpatch - , Security , AppKit , CoreServices @@ -21,12 +19,12 @@ let executableName = "element-desktop"; - version = "1.8.4"; + version = "1.8.5"; src = fetchFromGitHub { owner = "vector-im"; repo = "element-desktop"; rev = "v${version}"; - sha256 = "sha256-MmrO9Ref/qpW7ssjw8IAb7dYZHMRBfdfH2whsZJq/14="; + sha256 = "sha256-i9PWGEcf+EOn6j++GuYt6xmwYycmW5hE5xhpRMOFBGM="; }; electron_exec = if stdenv.isDarwin then "${electron}/Applications/Electron.app/Contents/MacOS/Electron" else "${electron}/bin/electron"; in @@ -34,13 +32,6 @@ mkYarnPackage rec { name = "element-desktop-${version}"; inherit version src; - patches = [ - (fetchpatch { - url = "https://github.com/vector-im/element-desktop/commit/96e5389779f60c91b8fe80d7bd9af413d72ec61f.patch"; - sha256 = "sha256-82I5BDNDWIfp+m2HpzTA5+39hMv2bTbmJlXfM4YUjDY="; - }) - ]; - packageJSON = ./element-desktop-package.json; yarnNix = ./element-desktop-yarndeps.nix; diff --git a/pkgs/applications/networking/instant-messengers/element/element-web.nix b/pkgs/applications/networking/instant-messengers/element/element-web.nix index a46bc6ea5c59..05c5e732ced5 100644 --- a/pkgs/applications/networking/instant-messengers/element/element-web.nix +++ b/pkgs/applications/networking/instant-messengers/element/element-web.nix @@ -12,11 +12,11 @@ let in stdenv.mkDerivation rec { pname = "element-web"; - version = "1.8.4"; + version = "1.8.5"; src = fetchurl { url = "https://github.com/vector-im/element-web/releases/download/v${version}/element-v${version}.tar.gz"; - sha256 = "sha256-V4ekSs6FmSCpUFlAipTyrde4z+ErQCb9zzktbX8YtC8="; + sha256 = "sha256-E3H6iXBRi4mnhu0mu96ly9f8AYOiMFf9zTcpjDmfHy4="; }; installPhase = '' diff --git a/pkgs/applications/terminal-emulators/darktile/default.nix b/pkgs/applications/terminal-emulators/darktile/default.nix new file mode 100644 index 000000000000..f63232949501 --- /dev/null +++ b/pkgs/applications/terminal-emulators/darktile/default.nix @@ -0,0 +1,68 @@ +{ stdenv +, buildGoModule +, fetchFromGitHub +, lib +, go +, pkg-config +, libX11 +, libXcursor +, libXrandr +, libXinerama +, libXi +, libXext +, libXxf86vm +, libGL +}: + +stdenv.mkDerivation rec { + pname = "darktile"; + version = "0.0.10"; + + src = fetchFromGitHub { + owner = "liamg"; + repo = "darktile"; + rev = "v${version}"; + sha256 = "0pdj4yv3qrq56gb67p85ara3g8qrzw5ha787bl2ls4vcx85q7303"; + }; + + nativeBuildInputs = [ go pkg-config ]; + + buildInputs = [ + libX11 + libXcursor + libXrandr + libXinerama + libXi + libXext + libXxf86vm + libGL + ]; + + postPatch = '' + substituteInPlace scripts/build.sh \ + --replace "bash" "sh" + ''; + + postConfigure = '' + export GOPATH=$TMP/go + ''; + + makeFlags = [ "HOME=$TMP" ]; + + installPhase = '' + runHook preInstall + + install -Dm755 darktile -t $out/bin + + runHook postInstall + ''; + + meta = with lib; { + description = "A GPU rendered terminal emulator designed for tiling window managers"; + homepage = "https://github.com/liamg/darktile"; + downloadPage = "https://github.com/liamg/darktile/releases"; + changelog = "https://github.com/liamg/darktile/releases/tag/v${version}"; + license = licenses.mit; + maintainers = with maintainers; [ flexagoon ]; + }; +} diff --git a/pkgs/build-support/cc-wrapper/default.nix b/pkgs/build-support/cc-wrapper/default.nix index 804f59286c7a..3738f628b187 100644 --- a/pkgs/build-support/cc-wrapper/default.nix +++ b/pkgs/build-support/cc-wrapper/default.nix @@ -463,6 +463,9 @@ stdenv.mkDerivation { + optionalString (targetPlatform ? gcc.mode) '' echo "-mmode=${targetPlatform.gcc.mode}" >> $out/nix-support/cc-cflags-before '' + + optionalString (targetPlatform ? gcc.thumb) '' + echo "-m${if targetPlatform.gcc.thumb then "thumb" else "arm"}" >> $out/nix-support/cc-cflags-before + '' + optionalString (targetPlatform ? gcc.tune && isGccArchSupported targetPlatform.gcc.tune) '' echo "-mtune=${targetPlatform.gcc.tune}" >> $out/nix-support/cc-cflags-before diff --git a/pkgs/data/misc/hackage/pin.json b/pkgs/data/misc/hackage/pin.json index 2acb95488227..00f5183fa63a 100644 --- a/pkgs/data/misc/hackage/pin.json +++ b/pkgs/data/misc/hackage/pin.json @@ -1,6 +1,6 @@ { - "commit": "332975af73ba6dc258ab7e103f00619e9bebeea2", - "url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/332975af73ba6dc258ab7e103f00619e9bebeea2.tar.gz", - "sha256": "1fkc19vqylyjbhqa414mnz5ny235vp1f0wz70a2lbf5cwzg6185f", - "msg": "Update from Hackage at 2021-09-06T23:06:06Z" + "commit": "aceceb24b5b4dc95017c3509add3f935d7289cd8", + "url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/aceceb24b5b4dc95017c3509add3f935d7289cd8.tar.gz", + "sha256": "0bc4csxmm64qq3sxj22g4i0s2q5vpgkf2fgpby6zslhpa01pdlqq", + "msg": "Update from Hackage at 2021-09-10T22:56:58Z" } diff --git a/pkgs/desktops/plasma-5/plasma-desktop/default.nix b/pkgs/desktops/plasma-5/plasma-desktop/default.nix index 37134f240dc3..1dc3d99b5e4c 100644 --- a/pkgs/desktops/plasma-5/plasma-desktop/default.nix +++ b/pkgs/desktops/plasma-5/plasma-desktop/default.nix @@ -1,5 +1,5 @@ { - mkDerivation, lib, + mkDerivation, lib, fetchpatch, extra-cmake-modules, kdoctools, boost, fontconfig, ibus, libXcursor, libXft, libcanberra_kde, libpulseaudio, @@ -21,7 +21,8 @@ mkDerivation { nativeBuildInputs = [ extra-cmake-modules kdoctools ]; buildInputs = [ boost fontconfig ibus libcanberra_kde libpulseaudio libXcursor libXft xorgserver - libxkbfile phonon xf86inputevdev xf86inputsynaptics xinput xkeyboard_config + libxkbfile phonon xf86inputlibinput xf86inputevdev xf86inputsynaptics xinput + xkeyboard_config accounts-qt qtdeclarative qtquickcontrols qtquickcontrols2 qtsvg qtx11extras @@ -35,10 +36,12 @@ mkDerivation { patches = [ ./hwclock-path.patch ./tzdir.patch + # https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/563 + (fetchpatch { + url = "https://invent.kde.org/plasma/plasma-desktop/-/commit/8d9bf2032b8a2e5de75edf5713c42866f5b80649.patch"; + sha256 = "sha256-2jqqFjBljbhf7I+fTsIvuFs3Ic662KTKRnbcSm5Jing="; + }) ]; - postPatch = '' - sed '1i#include ' -i kcms/touchpad/backends/x11/synapticstouchpad.cpp - ''; CXXFLAGS = [ ''-DNIXPKGS_HWCLOCK=\"${lib.getBin util-linux}/sbin/hwclock\"'' ]; diff --git a/pkgs/development/compilers/ghc/8.10.7.nix b/pkgs/development/compilers/ghc/8.10.7.nix index 5a59f55cf74b..411146569ab0 100644 --- a/pkgs/development/compilers/ghc/8.10.7.nix +++ b/pkgs/development/compilers/ghc/8.10.7.nix @@ -170,6 +170,15 @@ stdenv.mkDerivation (rec { url = "https://raw.githubusercontent.com/input-output-hk/haskell.nix/122bd81150386867da07fdc9ad5096db6719545a/overlays/patches/ghc/cabal-host.patch"; sha256 = "sha256:0yd0sajgi24sc1w5m55lkg2lp6kfkgpp3lgija2c8y3cmkwfpdc1"; }) + + # In order to build ghcjs packages, the Cabal of the ghc used for the ghcjs + # needs to be patched. Ref https://github.com/haskell/cabal/pull/7575 + (fetchpatch { + url = "https://github.com/haskell/cabal/commit/369c4a0a54ad08a9e6b0d3bd303fedd7b5e5a336.patch"; + sha256 = "120f11hwyaqa0pq9g5l1300crqij49jg0rh83hnp9sa49zfdwx1n"; + stripLen = 3; + extraPrefix = "libraries/Cabal/Cabal/"; + }) ] ++ lib.optionals stdenv.isDarwin [ # Make Block.h compile with c++ compilers. Remove with the next release (fetchpatch { diff --git a/pkgs/development/compilers/ghc/head.nix b/pkgs/development/compilers/ghc/head.nix index f2c965ebe47a..cb2cd79a482c 100644 --- a/pkgs/development/compilers/ghc/head.nix +++ b/pkgs/development/compilers/ghc/head.nix @@ -40,7 +40,7 @@ , # Whether to build terminfo. enableTerminfo ? !stdenv.targetPlatform.isWindows -, version ? "9.3.20210806" +, version ? "9.3.20210913" , # What flavour to build. An empty string indicates no # specific flavour and falls back to ghc default values. ghcFlavour ? lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform) @@ -153,8 +153,8 @@ stdenv.mkDerivation (rec { src = fetchgit { url = "https://gitlab.haskell.org/ghc/ghc.git/"; - rev = "5d651c78fed7e55b3b3cd21a04499d1a2f75204d"; - sha256 = "1z9xg8jsqr9id985wxfhkjyb3kpyrmr7vjdqzfv42cpxynd483r8"; + rev = "64923cf295ea914db458547432237a5ed1eff571"; + sha256 = "1s9sm4gf4r71lk0s7h9v217rxfwjf435q1jji90hlxz23wvmhr6d"; }; enableParallelBuilding = true; @@ -194,6 +194,9 @@ stdenv.mkDerivation (rec { export NIX_LDFLAGS+=" -rpath $out/lib/ghc-${version}" '' + lib.optionalString stdenv.isDarwin '' export NIX_LDFLAGS+=" -no_dtrace_dof" + + # GHC tries the host xattr /usr/bin/xattr by default which fails since it expects python to be 2.7 + export XATTR=${lib.getBin xattr}/bin/xattr '' + lib.optionalString targetPlatform.useAndroidPrebuilt '' sed -i -e '5i ,("armv7a-unknown-linux-androideabi", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "cortex-a8", ""))' llvm-targets '' + lib.optionalString targetPlatform.isMusl '' @@ -256,10 +259,6 @@ stdenv.mkDerivation (rec { ghc bootPkgs.alex bootPkgs.happy bootPkgs.hscolour ] ++ lib.optionals enableDocs [ sphinx - ] ++ lib.optionals stdenv.isDarwin [ - # TODO(@sternenseemann): use XATTR env var once we have - # https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6447 - xattr ]; # For building runtime libs diff --git a/pkgs/development/compilers/ghcjs-ng/8.6/dep-overrides.nix b/pkgs/development/compilers/ghcjs-ng/8.6/dep-overrides.nix deleted file mode 100644 index bbf8a579919f..000000000000 --- a/pkgs/development/compilers/ghcjs-ng/8.6/dep-overrides.nix +++ /dev/null @@ -1,14 +0,0 @@ -{ haskellLib }: - -let inherit (haskellLib) doJailbreak dontHaddock dontCheck; -in self: super: { - ghcjs = super.ghcjs.override { - shelly = super.shelly_1_8_1; - }; - ghc-api-ghcjs = super.ghc-api-ghcjs.override - { - happy = self.happy_1_19_5; - }; - haddock-library-ghcjs = doJailbreak (dontCheck super.haddock-library-ghcjs); - haddock-api-ghcjs = doJailbreak (dontHaddock super.haddock-api-ghcjs); -} diff --git a/pkgs/development/compilers/ghcjs-ng/8.6/git.json b/pkgs/development/compilers/ghcjs-ng/8.6/git.json deleted file mode 100644 index 1114e1a12905..000000000000 --- a/pkgs/development/compilers/ghcjs-ng/8.6/git.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "url": "https://github.com/ghcjs/ghcjs", - "rev": "e87195eaa2bc7e320e18cf10386802bc90b7c874", - "sha256": "02mwkf7aagxqi142gcmq048244apslrr72p568akcab9s0fn2gvy", - "fetchSubmodules": true -} diff --git a/pkgs/development/compilers/ghcjs-ng/8.6/stage0.nix b/pkgs/development/compilers/ghcjs-ng/8.6/stage0.nix deleted file mode 100644 index d6a050915145..000000000000 --- a/pkgs/development/compilers/ghcjs-ng/8.6/stage0.nix +++ /dev/null @@ -1,177 +0,0 @@ -{ callPackage, configuredSrc }: - -{ - - ghcjs = callPackage - ({ mkDerivation, aeson, array, attoparsec, base, base16-bytestring - , base64-bytestring, binary, bytestring, Cabal, containers - , cryptohash, data-default, deepseq, directory, executable-path - , filepath, ghc-api-ghcjs, ghc-boot, ghc-paths, ghci-ghcjs - , ghcjs-th, haddock-api-ghcjs, hashable, haskell-src-exts - , haskell-src-meta, http-types, HUnit, lens, lifted-base, mtl - , network, optparse-applicative, parallel, parsec, process, random - , regex-posix, safe, shelly, split, lib, stringsearch, syb - , system-fileio, system-filepath, tar, template-haskell - , template-haskell-ghcjs, terminfo, test-framework - , test-framework-hunit, text, time, transformers - , transformers-compat, unix, unix-compat, unordered-containers - , vector, wai, wai-app-static, wai-extra, wai-websockets, warp - , webdriver, websockets, wl-pprint-text, yaml - }: - mkDerivation { - pname = "ghcjs"; - version = "8.6.0.1"; - src = configuredSrc + /.; - isLibrary = true; - isExecutable = true; - enableSeparateDataOutput = true; - setupHaskellDepends = [ - base Cabal containers directory filepath process template-haskell - transformers - ]; - libraryHaskellDepends = [ - aeson array attoparsec base base16-bytestring base64-bytestring - binary bytestring Cabal containers cryptohash data-default deepseq - directory filepath ghc-api-ghcjs ghc-boot ghc-paths ghci-ghcjs - ghcjs-th hashable haskell-src-exts haskell-src-meta lens mtl - optparse-applicative parallel parsec process regex-posix safe split - stringsearch syb template-haskell template-haskell-ghcjs text time - transformers unordered-containers vector wl-pprint-text yaml - ]; - executableHaskellDepends = [ - aeson base binary bytestring Cabal containers directory - executable-path filepath ghc-api-ghcjs ghc-boot haddock-api-ghcjs - lens mtl optparse-applicative process shelly system-fileio - system-filepath tar terminfo text time transformers - transformers-compat unix unix-compat unordered-containers vector - yaml - ]; - testHaskellDepends = [ - aeson base bytestring data-default deepseq directory http-types - HUnit lens lifted-base network optparse-applicative process random - shelly system-fileio system-filepath test-framework - test-framework-hunit text time transformers unordered-containers - wai wai-app-static wai-extra wai-websockets warp webdriver - websockets yaml - ]; - description = "Haskell to JavaScript compiler"; - license = lib.licenses.mit; - }) {}; - - ghc-api-ghcjs = callPackage - ({ mkDerivation, alex, array, base, binary, bytestring, containers - , deepseq, directory, filepath, ghc-boot, ghc-boot-th, ghc-heap - , ghci-ghcjs, happy, hpc, process, lib, template-haskell-ghcjs - , terminfo, time, transformers, unix - }: - mkDerivation { - pname = "ghc-api-ghcjs"; - version = "8.6.5"; - src = configuredSrc + /lib/ghc-api-ghcjs; - libraryHaskellDepends = [ - array base binary bytestring containers deepseq directory filepath - ghc-boot ghc-boot-th ghc-heap ghci-ghcjs hpc process - template-haskell-ghcjs terminfo time transformers unix - ]; - libraryToolDepends = [ alex happy ]; - homepage = "http://www.haskell.org/ghc/"; - description = "The GHC API (customized for GHCJS)"; - license = lib.licenses.bsd3; - }) {}; - - ghci-ghcjs = callPackage - ({ mkDerivation, array, base, binary, bytestring, containers - , deepseq, filepath, ghc-boot, ghc-boot-th, ghc-heap, lib - , template-haskell-ghcjs, transformers, unix - }: - mkDerivation { - pname = "ghci-ghcjs"; - version = "8.6.1"; - src = configuredSrc + /lib/ghci-ghcjs; - libraryHaskellDepends = [ - array base binary bytestring containers deepseq filepath ghc-boot - ghc-boot-th ghc-heap template-haskell-ghcjs transformers unix - ]; - description = "The library supporting GHC's interactive interpreter (customized for GHCJS)"; - license = lib.licenses.bsd3; - }) {}; - - ghcjs-th = callPackage - ({ mkDerivation, base, binary, bytestring, containers, ghc-prim - , ghci-ghcjs, lib, template-haskell-ghcjs - }: - mkDerivation { - pname = "ghcjs-th"; - version = "0.1.0.0"; - src = configuredSrc + /lib/ghcjs-th; - libraryHaskellDepends = [ - base binary bytestring containers ghc-prim ghci-ghcjs - template-haskell-ghcjs - ]; - homepage = "https://github.com/ghcjs"; - license = lib.licenses.mit; - }) {}; - - haddock-api-ghcjs = callPackage - ({ mkDerivation, array, base, bytestring, Cabal, containers, deepseq - , directory, filepath, ghc-api-ghcjs, ghc-boot, ghc-paths - , haddock-library-ghcjs, hspec, hspec-discover, QuickCheck, lib - , transformers, xhtml - }: - mkDerivation { - pname = "haddock-api-ghcjs"; - version = "2.20.0"; - src = configuredSrc + /lib/haddock-api-ghcjs; - enableSeparateDataOutput = true; - libraryHaskellDepends = [ - array base bytestring Cabal containers deepseq directory filepath - ghc-api-ghcjs ghc-boot ghc-paths haddock-library-ghcjs transformers - xhtml - ]; - testHaskellDepends = [ - array base bytestring Cabal containers deepseq directory filepath - ghc-api-ghcjs ghc-boot ghc-paths haddock-library-ghcjs hspec - QuickCheck transformers xhtml - ]; - testToolDepends = [ hspec-discover ]; - homepage = "http://www.haskell.org/haddock/"; - description = "A documentation-generation tool for Haskell libraries"; - license = lib.licenses.bsd3; - }) {}; - - haddock-library-ghcjs = callPackage - ({ mkDerivation, base, base-compat, bytestring, containers, deepseq - , directory, filepath, haddock-library, hspec, hspec-discover - , optparse-applicative, parsec, QuickCheck, lib, text - , transformers, tree-diff - }: - mkDerivation { - pname = "haddock-library-ghcjs"; - version = "1.6.0"; - src = configuredSrc + /lib/haddock-library-ghcjs; - libraryHaskellDepends = [ - base bytestring containers parsec text transformers - ]; - testHaskellDepends = [ - base base-compat bytestring containers deepseq directory filepath - haddock-library hspec optparse-applicative parsec QuickCheck text - transformers tree-diff - ]; - testToolDepends = [ hspec-discover ]; - homepage = "http://www.haskell.org/haddock/"; - description = "Library exposing some functionality of Haddock"; - license = lib.licenses.bsd3; - }) {}; - - template-haskell-ghcjs = callPackage - ({ mkDerivation, base, ghc-boot-th, pretty, lib }: - mkDerivation { - pname = "template-haskell-ghcjs"; - version = "2.14.0.0"; - src = configuredSrc + /lib/template-haskell-ghcjs; - libraryHaskellDepends = [ base ghc-boot-th pretty ]; - description = "Support library for Template Haskell (customized for GHCJS)"; - license = lib.licenses.bsd3; - }) {}; - -} diff --git a/pkgs/development/compilers/ghcjs-ng/README.md b/pkgs/development/compilers/ghcjs-ng/README.md deleted file mode 100644 index 99ad980c965e..000000000000 --- a/pkgs/development/compilers/ghcjs-ng/README.md +++ /dev/null @@ -1,21 +0,0 @@ -New build system for GHCJS 8.2 ---- - -`ghcjs-8.2` reworked the build system, and now comes with its own -small package set of dependencies. This involves autogenerating -several sources and cabal files, based on a GHC -checkout. `callCabal2nix` is off limits, since we don't like "import -from derivation" in nixpkgs. So there is a derivation that builds the -nix expression that should be checked in whenever GHCJS is updated. - -Updating ---- - -``` -$ nix-prefetch-git https://github.com/ghcjs/ghcjs --rev refs/heads/ghc-8.4 \ - | jq '{ url, rev, fetchSubmodules, sha256 }' \ - > 8.4/git.json -$ cat $(nix-build ../../../.. -A haskell.compiler.ghcjs82.genStage0 --no-out-link) > 8.4/stage0.nix -$ cabal2nix --compiler ghcjs git://github.com/ghcjs/ghcjs-base > ghcjs-base.nix -``` - diff --git a/pkgs/development/compilers/ghcjs-ng/common-overrides.nix b/pkgs/development/compilers/ghcjs-ng/common-overrides.nix deleted file mode 100644 index 00a071651eda..000000000000 --- a/pkgs/development/compilers/ghcjs-ng/common-overrides.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ haskellLib }: - -let inherit (haskellLib) addBuildTools appendConfigureFlag dontHaddock doJailbreak; -in self: super: { - ghcjs = dontHaddock (appendConfigureFlag (doJailbreak super.ghcjs) "-fno-wrapper-install"); - haddock-library-ghcjs = dontHaddock super.haddock-library-ghcjs; - system-fileio = doJailbreak super.system-fileio; -} diff --git a/pkgs/development/compilers/ghcjs-ng/configured-ghcjs-src.nix b/pkgs/development/compilers/ghcjs-ng/configured-ghcjs-src.nix deleted file mode 100644 index 943866d5f24e..000000000000 --- a/pkgs/development/compilers/ghcjs-ng/configured-ghcjs-src.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ perl -, autoconf -, automake -, python3 -, gcc -, cabal-install -, runCommand -, lib -, stdenv - -, ghc -, happy -, alex - -, ghcjsSrc -}: - -runCommand "configured-ghcjs-src" { - nativeBuildInputs = [ - perl - autoconf - automake - python3 - ghc - happy - alex - cabal-install - ] ++ lib.optionals stdenv.isDarwin [ - gcc # https://github.com/ghcjs/ghcjs/issues/663 - ]; - inherit ghcjsSrc; -} '' - export HOME=$(pwd) - mkdir $HOME/.cabal - touch $HOME/.cabal/config - cp -r "$ghcjsSrc" "$out" - chmod -R +w "$out" - cd "$out" - - # TODO: Find a better way to avoid impure version numbers - sed -i 's/RELEASE=NO/RELEASE=YES/' ghc/configure.ac - - # TODO: How to actually fix this? - # Seems to work fine and produce the right files. - touch ghc/includes/ghcautoconf.h - mkdir -p ghc/compiler/vectorise - mkdir -p ghc/utils/haddock/haddock-library/vendor - - patchShebangs . - ./utils/makePackages.sh copy -'' diff --git a/pkgs/development/compilers/ghcjs-ng/mk-stage0.nix b/pkgs/development/compilers/ghcjs-ng/mk-stage0.nix deleted file mode 100644 index f45ebb4511d6..000000000000 --- a/pkgs/development/compilers/ghcjs-ng/mk-stage0.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ configuredSrc -, runCommand -, cabal2nix -, yq -}: - -runCommand "stage0.nix" { - buildInputs = [cabal2nix yq]; -} '' - ( - printf '{ callPackage, configuredSrc }:\n\n{\n\n' - yq '.packages | .[]' ${configuredSrc}/stack.yaml -r | sed 's|^\.$|./.|' | sed 's|^\.||' | while read f; do - printf ' %s = callPackage\n' \ - "$(find ${configuredSrc}/$f -name "*.cabal" -maxdepth 1 \ - | xargs basename \ - | sed 's/.cabal$//')" - printf '(%s) {};' \ - "$(cabal2nix ${configuredSrc}/$f \ - | sed 's|${configuredSrc}/|configuredSrc + |g')" \ - | sed 's/^/ /' - printf '\n\n' - done - printf '}\n' - ) > $out -'' diff --git a/pkgs/development/compilers/ghcjs/8.10/common-overrides.nix b/pkgs/development/compilers/ghcjs/8.10/common-overrides.nix new file mode 100644 index 000000000000..a83795635b90 --- /dev/null +++ b/pkgs/development/compilers/ghcjs/8.10/common-overrides.nix @@ -0,0 +1,8 @@ +{ haskellLib }: + +let inherit (haskellLib) addBuildTools appendConfigureFlag dontHaddock doJailbreak; +in self: super: { + ghcjs = doJailbreak (super.ghcjs.overrideScope (self: super: { + optparse-applicative = self.optparse-applicative_0_15_1_0; + })); +} diff --git a/pkgs/development/compilers/ghcjs/8.10/configured-ghcjs-src.nix b/pkgs/development/compilers/ghcjs/8.10/configured-ghcjs-src.nix new file mode 100644 index 000000000000..9fa6fae1a593 --- /dev/null +++ b/pkgs/development/compilers/ghcjs/8.10/configured-ghcjs-src.nix @@ -0,0 +1,60 @@ +{ perl +, autoconf +, automake +, python3 +, gcc +, cabal-install +, runCommand +, lib +, stdenv + +, ghc +, happy +, alex + +, ghcjsSrc +, version +}: + +runCommand "configured-ghcjs-src" { + nativeBuildInputs = [ + perl + autoconf + automake + python3 + ghc + happy + alex + cabal-install + ] ++ lib.optionals stdenv.isDarwin [ + gcc # https://github.com/ghcjs/ghcjs/issues/663 + ]; + inherit ghcjsSrc; +} '' + export HOME=$(pwd) + mkdir $HOME/.cabal + touch $HOME/.cabal/config + cp -r "$ghcjsSrc" "$out" + chmod -R +w "$out" + cd "$out" + + # TODO: Find a better way to avoid impure version numbers + sed -i 's/RELEASE=NO/RELEASE=YES/' ghc/configure.ac + + # These files are needed by ghc-boot package, and these are generated by the + # make/hadrian build system when compiling ghc. Since we dont have access to + # the generated code of the ghc while it got built, here is a little hack to + # generate these again. + runhaskell ${./generate_host_version.hs} + mkdir -p utils/pkg-cache/ghc/libraries/ghc-boot/dist-install/build/GHC/Platform + mv Host.hs utils/pkg-cache/ghc/libraries/ghc-boot/dist-install/build/GHC/Platform/Host.hs + mv Version.hs utils/pkg-cache/ghc/libraries/ghc-boot/dist-install/build/GHC/Version.hs + + # The ghcjs has the following hardcoded paths of lib dir in its code. Patching + # these to match the path expected by the nixpkgs's generic-builder, etc. + sed -i 's/libSubDir = "lib"/libSubDir = "lib\/ghcjs-${version}"/' src-bin/Boot.hs + sed -i 's@let libDir = takeDirectory haddockPath ".." "lib"@let libDir = takeDirectory haddockPath ".." "lib/ghcjs-${version}"@' src-bin/HaddockDriver.hs + + patchShebangs . + ./utils/makePackages.sh copy +'' diff --git a/pkgs/development/compilers/ghcjs-ng/default.nix b/pkgs/development/compilers/ghcjs/8.10/default.nix similarity index 60% rename from pkgs/development/compilers/ghcjs-ng/default.nix rename to pkgs/development/compilers/ghcjs/8.10/default.nix index 8a04bc0c079c..f1ef34eed51e 100644 --- a/pkgs/development/compilers/ghcjs-ng/default.nix +++ b/pkgs/development/compilers/ghcjs/8.10/default.nix @@ -17,15 +17,18 @@ , lib , ghcjsDepOverrides ? (_:_:{}) , haskell +, linkFarm +, buildPackages }: let passthru = { configuredSrc = callPackage ./configured-ghcjs-src.nix { inherit ghcjsSrc; - inherit (bootPkgs) ghc alex happy; + inherit (bootPkgs) ghc alex; + inherit (bootGhcjs) version; + happy = bootPkgs.happy_1_19_12; }; - genStage0 = callPackage ./mk-stage0.nix { inherit (passthru) configuredSrc; }; bootPkgs = bootPkgs.extend (lib.foldr lib.composeExtensions (_:_:{}) [ (self: _: import stage0 { inherit (passthru) configuredSrc; @@ -41,26 +44,22 @@ let targetPrefix = ""; inherit bootGhcjs; inherit (bootGhcjs) version; - ghcVersion = bootPkgs.ghc.version; isGhcjs = true; enableShared = true; socket-io = pkgsHostHost.nodePackages."socket.io"; - # Relics of the old GHCJS build system - stage1Packages = []; - mkStage2 = { callPackage }: { - # https://github.com/ghcjs/ghcjs-base/issues/110 - # https://github.com/ghcjs/ghcjs-base/pull/111 - ghcjs-base = haskell.lib.dontCheck (haskell.lib.doJailbreak (callPackage ./ghcjs-base.nix {})); - }; - haskellCompilerName = "ghcjs-${bootGhcjs.version}"; }; bootGhcjs = haskellLib.justStaticExecutables passthru.bootPkgs.ghcjs; - libexec = "${bootGhcjs}/libexec/${builtins.replaceStrings ["darwin" "i686"] ["osx" "i386"] stdenv.buildPlatform.system}-${passthru.bootPkgs.ghc.name}/${bootGhcjs.name}"; + + # This provides the stuff we need from the emsdk + emsdk = linkFarm "emsdk" [ + { name = "upstream/bin"; path = buildPackages.clang + "/bin";} + { name = "upstream/emscripten"; path = buildPackages.emscripten + "/bin"; } + ]; in stdenv.mkDerivation { name = bootGhcjs.name; @@ -87,23 +86,29 @@ in stdenv.mkDerivation { mkdir -p $out/bin mkdir -p $out/lib/${bootGhcjs.name} - lndir ${libexec} $out/bin + lndir ${bootGhcjs}/bin $out/bin + chmod -R +w $out/bin + rm $out/bin/ghcjs-boot + cp ${bootGhcjs}/bin/ghcjs-boot $out/bin + rm $out/bin/haddock + cp ${bootGhcjs}/bin/haddock $out/bin + cp ${bootGhcjs}/bin/private-ghcjs-hsc2hs $out/bin/ghcjs-hsc2hs + + wrapProgram $out/bin/ghcjs-boot --set ghcjs_libexecdir $out/bin wrapProgram $out/bin/ghcjs --add-flags "-B$out/lib/${bootGhcjs.name}" - wrapProgram $out/bin/haddock-ghcjs --add-flags "-B$out/lib/${bootGhcjs.name}" + wrapProgram $out/bin/haddock --add-flags "-B$out/lib/${bootGhcjs.name}" wrapProgram $out/bin/ghcjs-pkg --add-flags "--global-package-db=$out/lib/${bootGhcjs.name}/package.conf.d" + wrapProgram $out/bin/ghcjs-hsc2hs --add-flags "-I$out/lib/${bootGhcjs.name}/include --template=$out/lib/${bootGhcjs.name}/include/template-hsc.h" - env PATH=$out/bin:$PATH $out/bin/ghcjs-boot -j1 --with-ghcjs-bin $out/bin + env PATH=$out/bin:$PATH $out/bin/ghcjs-boot --with-emsdk=${emsdk} --no-haddock ''; - # We hard code -j1 as a temporary workaround for - # https://github.com/ghcjs/ghcjs/issues/654 - # enableParallelBuilding = true; + enableParallelBuilding = true; inherit passthru; - meta.platforms = passthru.bootPkgs.ghc.meta.platforms; - meta.maintainers = [lib.maintainers.elvishjerricco]; - meta.hydraPlatforms = []; - meta.broken = true; # https://hydra.nixos.org/build/129701778 + # The emscripten is broken on darwin + meta.platforms = lib.platforms.linux; + meta.maintainers = with lib.maintainers; [ obsidian-systems-maintenance ]; } diff --git a/pkgs/development/compilers/ghcjs/8.10/generate_host_version.hs b/pkgs/development/compilers/ghcjs/8.10/generate_host_version.hs new file mode 100644 index 000000000000..8bf2583d238c --- /dev/null +++ b/pkgs/development/compilers/ghcjs/8.10/generate_host_version.hs @@ -0,0 +1,54 @@ +-- Generate the Host.hs and Version.hs as done by hadrian/src/Rules/Generate.hs + +import GHC.Platform.Host +import GHC.Version + +main = do + writeFile "Version.hs" versionHs + writeFile "Host.hs" platformHostHs + +-- | Generate @Version.hs@ files. +versionHs :: String +versionHs = unlines + [ "module GHC.Version where" + , "" + , "import Prelude -- See Note [Why do we import Prelude here?]" + , "" + , "cProjectGitCommitId :: String" + , "cProjectGitCommitId = " ++ show cProjectGitCommitId + , "" + , "cProjectVersion :: String" + , "cProjectVersion = " ++ show cProjectVersion + , "" + , "cProjectVersionInt :: String" + , "cProjectVersionInt = " ++ show cProjectVersionInt + , "" + , "cProjectPatchLevel :: String" + , "cProjectPatchLevel = " ++ show cProjectPatchLevel + , "" + , "cProjectPatchLevel1 :: String" + , "cProjectPatchLevel1 = " ++ show cProjectPatchLevel1 + , "" + , "cProjectPatchLevel2 :: String" + , "cProjectPatchLevel2 = " ++ show cProjectPatchLevel2 + ] + +-- | Generate @Platform/Host.hs@ files. +platformHostHs :: String +platformHostHs = unlines + [ "module GHC.Platform.Host where" + , "" + , "import GHC.Platform" + , "" + , "cHostPlatformArch :: Arch" + , "cHostPlatformArch = " ++ show cHostPlatformArch + , "" + , "cHostPlatformOS :: OS" + , "cHostPlatformOS = " ++ show cHostPlatformOS + , "" + , "cHostPlatformMini :: PlatformMini" + , "cHostPlatformMini = PlatformMini" + , " { platformMini_arch = cHostPlatformArch" + , " , platformMini_os = cHostPlatformOS" + , " }" + ] diff --git a/pkgs/development/compilers/ghcjs/8.10/git.json b/pkgs/development/compilers/ghcjs/8.10/git.json new file mode 100644 index 000000000000..18804d84acb1 --- /dev/null +++ b/pkgs/development/compilers/ghcjs/8.10/git.json @@ -0,0 +1,6 @@ +{ + "url": "https://github.com/obsidiansystems/ghcjs", + "rev": "9fc935f2c3ba6c33ec62eb83afc9f52a893eb68c", + "sha256": "sha256:063dmir39c4i1z8ypnmq86g1x2vhqndmdpzc4hyzsy5jjqcbx6i3", + "fetchSubmodules": true +} diff --git a/pkgs/development/compilers/ghcjs/8.10/stage0.nix b/pkgs/development/compilers/ghcjs/8.10/stage0.nix new file mode 100644 index 000000000000..1cb476ab0cb6 --- /dev/null +++ b/pkgs/development/compilers/ghcjs/8.10/stage0.nix @@ -0,0 +1,77 @@ +{ callPackage, configuredSrc }: + +{ + + ghcjs = callPackage + ({ mkDerivation, aeson, alex, array, attoparsec, base, base16-bytestring + , base64-bytestring, binary, bytestring, Cabal, containers + , cryptohash, data-default, deepseq, directory, executable-path + , filepath, ghc-boot, ghc-boot-th, ghc-compact, ghc-heap, ghc-paths + , ghci, happy, hashable, hpc, http-types, HUnit, lens, lib + , lifted-base, mtl, network, optparse-applicative, parallel, parsec + , process, random, safe, shelly, split, stringsearch, syb, tar + , template-haskell, terminfo, test-framework, test-framework-hunit + , text, time, transformers, unix, unix-compat, unordered-containers + , vector, wai, wai-app-static, wai-extra, wai-websockets, warp + , webdriver, websockets, wl-pprint-text, xhtml, yaml + }: + mkDerivation { + pname = "ghcjs"; + version = "8.10.7"; + src = configuredSrc + /.; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson array attoparsec base base16-bytestring base64-bytestring + binary bytestring Cabal containers cryptohash data-default deepseq + directory filepath ghc-boot ghc-boot-th ghc-compact ghc-heap + ghc-paths ghci hashable hpc lens mtl optparse-applicative parallel + parsec process safe split stringsearch syb template-haskell + terminfo text time transformers unix unordered-containers vector + wl-pprint-text yaml + ]; + libraryToolDepends = [ alex happy ]; + executableHaskellDepends = [ + aeson array base binary bytestring Cabal containers deepseq + directory executable-path filepath ghc-boot lens mtl + optparse-applicative parsec process tar terminfo text time + transformers unix unix-compat unordered-containers vector xhtml + yaml + ]; + testHaskellDepends = [ + aeson base bytestring data-default deepseq directory filepath + http-types HUnit lens lifted-base network optparse-applicative + process random shelly test-framework test-framework-hunit text time + transformers unordered-containers wai wai-app-static wai-extra + wai-websockets warp webdriver websockets yaml + ]; + description = "Haskell to JavaScript compiler"; + license = lib.licenses.mit; + }) {}; + + ghcjs-th = callPackage + ({ mkDerivation, base, binary, bytestring, containers, ghc-prim + , ghci, lib, template-haskell + }: + mkDerivation { + pname = "ghcjs-th"; + version = "0.1.0.0"; + src = configuredSrc + /lib/ghcjs-th; + libraryHaskellDepends = [ + base binary bytestring containers ghc-prim ghci template-haskell + ]; + homepage = "http://github.com/ghcjs"; + license = lib.licenses.mit; + }) {}; + + ghcjs-prim = callPackage + ({ mkDerivation, base, ghc-prim, lib }: + mkDerivation { + pname = "ghcjs-prim"; + version = "0.1.1.0"; + src = ./.; + libraryHaskellDepends = [ base ghc-prim ]; + homepage = "http://github.com/ghcjs"; + license = lib.licenses.mit; + }) {}; +} diff --git a/pkgs/development/compilers/ghcjs-ng/ghcjs-base.nix b/pkgs/development/compilers/ghcjs/ghcjs-base.nix similarity index 87% rename from pkgs/development/compilers/ghcjs-ng/ghcjs-base.nix rename to pkgs/development/compilers/ghcjs/ghcjs-base.nix index 4fff32759d38..ca0086a918ab 100644 --- a/pkgs/development/compilers/ghcjs-ng/ghcjs-base.nix +++ b/pkgs/development/compilers/ghcjs/ghcjs-base.nix @@ -8,11 +8,11 @@ }: mkDerivation { pname = "ghcjs-base"; - version = "0.2.0.0"; + version = "0.2.0.3"; src = fetchgit { url = "git://github.com/ghcjs/ghcjs-base"; - sha256 = "0qr05m0djll3x38dhl85pl798arsndmwfhil8yklhb70lxrbvfrs"; - rev = "01014ade3f8f5ae677df192d7c2a208bd795b96c"; + sha256 = "15fdkjv0l7hpbbsn5238xxgzfdg61g666nzbv2sgxkwryn5rycv0"; + rev = "85e31beab9beffc3ea91b954b61a5d04e708b8f2"; }; libraryHaskellDepends = [ aeson attoparsec base binary bytestring containers deepseq dlist diff --git a/pkgs/development/compilers/ghcjs/patches/vector-ghcjs-storable-set.patch b/pkgs/development/compilers/ghcjs/patches/vector-ghcjs-storable-set.patch new file mode 100644 index 000000000000..20e19d8bf863 --- /dev/null +++ b/pkgs/development/compilers/ghcjs/patches/vector-ghcjs-storable-set.patch @@ -0,0 +1,14 @@ +diff --git a/Data/Vector/Storable/Mutable.hs b/Data/Vector/Storable/Mutable.hs +index 8b538bc..2b74fce 100644 +--- a/Data/Vector/Storable/Mutable.hs ++++ b/Data/Vector/Storable/Mutable.hs +@@ -197,7 +197,9 @@ storableSet (MVector n fp) x + 1 -> storableSetAsPrim n fp x (undefined :: Word8) + 2 -> storableSetAsPrim n fp x (undefined :: Word16) + 4 -> storableSetAsPrim n fp x (undefined :: Word32) ++#if !defined(ghcjs_HOST_OS) + 8 -> storableSetAsPrim n fp x (undefined :: Word64) ++#endif + _ -> unsafeWithForeignPtr fp $ \p -> do + poke p x + diff --git a/pkgs/development/compilers/llvm/13/default.nix b/pkgs/development/compilers/llvm/13/default.nix index 76a46492cf74..fa46bafa295d 100644 --- a/pkgs/development/compilers/llvm/13/default.nix +++ b/pkgs/development/compilers/llvm/13/default.nix @@ -19,7 +19,7 @@ let release_version = "13.0.0"; - candidate = "rc2"; # empty or "rcN" + candidate = "rc3"; # empty or "rcN" dash-candidate = lib.optionalString (candidate != "") "-${candidate}"; rev = ""; # When using a Git commit rev-version = ""; # When using a Git commit @@ -30,7 +30,7 @@ let owner = "llvm"; repo = "llvm-project"; rev = if rev != "" then rev else "llvmorg-${version}"; - sha256 = "06cy6v231w067g310bwpk6a654j6q9rcxa0y0wz5sc5rrh61zjrn"; + sha256 = "1c781jdq0zmhhgdci201yvgl6hlpjqqmmrd6sm91azm3i99n8gw2"; }; llvm_meta = { diff --git a/pkgs/development/compilers/ocaml/4.13.nix b/pkgs/development/compilers/ocaml/4.13.nix index 86e386a2f413..6b0d379193e2 100644 --- a/pkgs/development/compilers/ocaml/4.13.nix +++ b/pkgs/development/compilers/ocaml/4.13.nix @@ -1,9 +1,9 @@ import ./generic.nix { major_version = "4"; minor_version = "13"; - patch_version = "0-rc1"; + patch_version = "0-rc2"; src = fetchTarball { - url = "https://caml.inria.fr/pub/distrib/ocaml-4.13/ocaml-4.13.0~rc1.tar.xz"; - sha256 = "0vp19qwdny5z428yjvdn0yxvf3i5l23axjb83y5ccj0rpza1k0im"; + url = "https://caml.inria.fr/pub/distrib/ocaml-4.13/ocaml-4.13.0~rc2.tar.xz"; + sha256 = "1w4sdrs5s1bhbisgz44ysi2j1n13qd3slgs34ppglpwmqqw6ply2"; }; } diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index d987963d4804..47c1606b3826 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1355,19 +1355,12 @@ self: super: { # 2021-06-20: Tests fail: https://github.com/haskell/haskell-language-server/issues/1949 hls-refine-imports-plugin = dontCheck super.hls-refine-imports-plugin; - # 2021-03-09: Golden tests seem to be missing in hackage release: - # https://github.com/haskell/haskell-language-server/issues/1536 - hls-tactics-plugin = dontCheck (super.hls-tactics-plugin.override { refinery = self.refinery_0_3_0_0; }); + # 2021-09-14: Tests are broken because of undeterministic variable names + hls-tactics-plugin = dontCheck super.hls-tactics-plugin; # 2021-03-21 Test hangs # https://github.com/haskell/haskell-language-server/issues/1562 - # Jailbreak because of: https://github.com/haskell/haskell-language-server/pull/1595 - ghcide = doJailbreak (dontCheck super.ghcide); - - # 2020-03-09: Tests broken in hackage release - # fixed on upstream, but not released in hiedb 0.3.0.1 - # https://github.com/wz1000/HieDb/issues/30 - hiedb = dontCheck super.hiedb; + ghcide = dontCheck super.ghcide; data-tree-print = doJailbreak super.data-tree-print; @@ -1444,10 +1437,10 @@ self: super: { # compatible with Cabal 3. No upstream repository found so far readline = appendPatch super.readline ./patches/readline-fix-for-cabal-3.patch; - # 2020-12-05: http-client is fixed on too old version - essence-of-live-coding-warp = doJailbreak (super.essence-of-live-coding-warp.override { - http-client = self.http-client_0_7_8; - }); + # 2020-12-05: this package requires a newer version of http-client, + # but it still compiles with older version: + # https://github.com/turion/essence-of-live-coding/pull/86 + essence-of-live-coding-warp = doJailbreak super.essence-of-live-coding-warp; # 2020-12-06: Restrictive upper bounds w.r.t. pandoc-types (https://github.com/owickstrom/pandoc-include-code/issues/27) pandoc-include-code = doJailbreak super.pandoc-include-code; @@ -1843,9 +1836,6 @@ EOT testFlags = [ "--pattern" "!/[NOCI]/" ]; }; - # Tests require to run a binary which isn't built - lsp-test = dontCheck super.lsp-test; - # 2021-05-22: Tests fail sometimes (even consistently on hydra) # when running a fs-related test with >= 12 jobs. To work around # this, run tests with only a single job. @@ -1924,7 +1914,7 @@ EOT # Needs Cabal >= 3.4 chs-cabal = super.chs-cabal.override { - Cabal = self.Cabal_3_6_0_0; + Cabal = self.Cabal_3_6_1_0; }; # 2021-08-18: streamly-posix was released with hspec 2.8.2, but it works with older versions too. @@ -1932,7 +1922,18 @@ EOT # 2021-09-06: hadolint depends on language-docker >= 10.1 hadolint = super.hadolint.override { - language-docker = self.language-docker_10_1_1; + language-docker = self.language-docker_10_1_2; }; + # 2021-09-13: hls 1.3 needs a newer lsp than stackage-lts. (lsp >= 1.2.0.1) + # (hls is nearly the only consumer, but consists of 18 packages, so we bump lsp globally.) + lsp = doDistribute self.lsp_1_2_0_1; + lsp-types = doDistribute self.lsp-types_1_3_0_1; + # Not running the "example" test because it requires a binary from lsps test + # suite which is not part of the output of lsp. + lsp-test = doDistribute (overrideCabal self.lsp-test_0_14_0_1 (old: { testTarget = "tests func-test"; })); + + # 2021-09-14: Tests are flaky. + hls-splice-plugin = dontCheck super.hls-splice-plugin; + } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix index 6a7ad8a0492a..714b889f2c05 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix @@ -44,12 +44,11 @@ self: super: { # cabal-install needs more recent versions of Cabal and base16-bytestring. cabal-install = super.cabal-install.overrideScope (self: super: { - Cabal = self.Cabal_3_4_0_0; - base16-bytestring = self.base16-bytestring_0_1_1_7; + Cabal = self.Cabal_3_6_1_0; }); # cabal-install-parsers is written for Cabal 3.6 - cabal-install-parsers = super.cabal-install-parsers.override { Cabal = super.Cabal_3_6_0_0; }; + cabal-install-parsers = super.cabal-install-parsers.override { Cabal = super.Cabal_3_6_1_0; }; # older version of cabal-install-parsers for reverse dependencies that use Cabal 3.4 cabal-install-parsers_0_4_2 = super.cabal-install-parsers_0_4_2.override { diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix index bb8a1ce29711..0d1efbf71198 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix @@ -51,8 +51,7 @@ self: super: { # cabal-install needs more recent versions of Cabal and random, but an older # version of base16-bytestring. cabal-install = super.cabal-install.overrideScope (self: super: { - Cabal = self.Cabal_3_4_0_0; - base16-bytestring = self.base16-bytestring_0_1_1_7; + Cabal = self.Cabal_3_6_1_0; }); # Ignore overly restrictive upper version bounds. @@ -99,7 +98,7 @@ self: super: { darcs = dontDistribute super.darcs; # The package needs the latest Cabal version. - cabal-install-parsers = super.cabal-install-parsers.overrideScope (self: super: { Cabal = self.Cabal_3_6_0_0; }); + cabal-install-parsers = super.cabal-install-parsers.overrideScope (self: super: { Cabal = self.Cabal_3_6_1_0; }); # cabal-fmt requires Cabal3 cabal-fmt = super.cabal-fmt.override { Cabal = self.Cabal_3_2_1_0; }; diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix index 38926d352874..1fdabf90966c 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix @@ -45,8 +45,7 @@ self: super: { # cabal-install needs more recent versions of Cabal and base16-bytestring. cabal-install = (doJailbreak super.cabal-install).overrideScope (self: super: { - Cabal = null; - base16-bytestring = self.base16-bytestring_0_1_1_7; + Cabal = self.Cabal_3_6_1_0; }); # Jailbreaks & Version Updates diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix index 4ae21181e8ca..eac85d6b7a9e 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix @@ -49,7 +49,6 @@ self: super: { # cabal-install needs more recent versions of Cabal and base16-bytestring. cabal-install = (doJailbreak super.cabal-install).overrideScope (self: super: { Cabal = null; - base16-bytestring = self.base16-bytestring_0_1_1_7; }); # Jailbreaks & Version Updates diff --git a/pkgs/development/haskell-modules/configuration-ghcjs.nix b/pkgs/development/haskell-modules/configuration-ghcjs.nix new file mode 100644 index 000000000000..d4e443d6beaf --- /dev/null +++ b/pkgs/development/haskell-modules/configuration-ghcjs.nix @@ -0,0 +1,109 @@ +# GHCJS package fixes +# +# Please insert new packages *alphabetically* +# in the OTHER PACKAGES section. +{ pkgs, haskellLib }: + +let + removeLibraryHaskellDepends = pnames: depends: + builtins.filter (e: !(builtins.elem (e.pname or "") pnames)) depends; +in + +with haskellLib; + +self: super: + +## GENERAL SETUP BASE PACKAGES +{ + inherit (self.ghc.bootPkgs) + jailbreak-cabal alex happy gtk2hs-buildtools rehoo hoogle; + + ghcjs-base = dontCheck (self.callPackage ../compilers/ghcjs/ghcjs-base.nix { + fetchgit = pkgs.buildPackages.fetchgit; + }); + + # GHCJS does not ship with the same core packages as GHC. + # https://github.com/ghcjs/ghcjs/issues/676 + stm = doJailbreak self.stm_2_5_0_1; + exceptions = dontCheck self.exceptions_0_10_4; + +## OTHER PACKAGES + + # Runtime exception in tests, missing C API h$realloc + base-compat-batteries = dontCheck super.base-compat-batteries; + + # nodejs crashes during test + ChasingBottoms = dontCheck super.ChasingBottoms; + + # doctest doesn't work on ghcjs, but sometimes dontCheck doesn't seem to get rid of the dependency + doctest = pkgs.lib.warn "ignoring dependency on doctest" null; + + ghcjs-dom = overrideCabal super.ghcjs-dom (drv: { + libraryHaskellDepends = with self; [ + ghcjs-base ghcjs-dom-jsffi text transformers + ]; + configureFlags = [ "-fjsffi" "-f-webkit" ]; + }); + + ghcjs-dom-jsffi = overrideCabal super.ghcjs-dom-jsffi (drv: { + libraryHaskellDepends = (drv.libraryHaskellDepends or []) ++ [ self.ghcjs-base self.text ]; + broken = false; + }); + + # https://github.com/Deewiant/glob/issues/39 + Glob = dontCheck super.Glob; + + # Test fails to compile during the hsc2hs stage + hashable = dontCheck super.hashable; + + # uses doctest + http-types = dontCheck super.http-types; + + jsaddle = overrideCabal super.jsaddle (drv: { + libraryHaskellDepends = (drv.libraryHaskellDepends or []) ++ [ self.ghcjs-base ]; + }); + + # Tests hang, possibly some issue with tasty and race(async) usage in the nonTerminating tests + logict = dontCheck super.logict; + + patch = dontCheck super.patch; + + # TODO: tests hang + pcre-light = dontCheck super.pcre-light; + + # Terminal test not supported on ghcjs + QuickCheck = dontCheck super.QuickCheck; + + reflex = overrideCabal super.reflex (drv: { + libraryHaskellDepends = (drv.libraryHaskellDepends or []) ++ [ self.ghcjs-base ]; + }); + + reflex-dom = overrideCabal super.reflex-dom (drv: { + libraryHaskellDepends = removeLibraryHaskellDepends ["jsaddle-webkit2gtk"] (drv.libraryHaskellDepends or []); + }); + + # https://github.com/dreixel/syb/issues/21 + syb = dontCheck super.syb; + + # nodejs crashes during test + scientific = dontCheck super.scientific; + + # Tests use TH which gives error + tasty-quickcheck = dontCheck super.tasty-quickcheck; + + temporary = dontCheck super.temporary; + + # 2 tests fail, related to time precision + time-compat = dontCheck super.time-compat; + + # TODO: The tests have a TH error, which has been fixed in ghc + # https://gitlab.haskell.org/ghc/ghc/-/issues/15481 but somehow the issue is + # still present here https://github.com/glguy/th-abstraction/issues/53 + th-abstraction = dontCheck super.th-abstraction; + + # https://github.com/haskell/vector/issues/410 + vector = appendPatch super.vector (../compilers/ghcjs/patches/vector-ghcjs-storable-set.patch) ; + + # Need hedgehog for tests, which fails to compile due to dep on concurrent-output + zenc = dontCheck super.zenc; +} diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml index 022e8f74f233..2b4ffb3c4eea 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml @@ -96,6 +96,8 @@ default-package-overrides: - reflex-dom-pandoc < 1.0.0.0 # 2021-09-07: pin to our current GHC version - ghc-api-compat == 8.10.7 + # 2021-09-14: Pin hiedb to version needed by ghcide + - hiedb == 0.4.0.* extra-packages: - base16-bytestring < 1 # required for cabal-install etc. @@ -113,12 +115,12 @@ extra-packages: - haddock-api == 2.23.* # required on GHC < 8.10.x - haddock-library ==1.7.* # required by stylish-cabal-0.5.0.0 - happy == 1.19.9 # for purescript + - happy == 1.19.12 # for ghcjs - hinotify == 0.3.9 # for xmonad-0.26: https://github.com/kolmodin/hinotify/issues/29 - immortal == 0.2.2.1 # required by Hasura 1.3.1, 2020-08-20 - mmorph == 1.1.3 # Newest working version of mmorph on ghc 8.6.5. needed for hls - network == 2.6.3.1 # required by pkgs/games/hedgewars/default.nix, 2020-11-15 - optparse-applicative < 0.16 # needed for niv-0.2.19 - - refinery == 0.3.* # required by hls-tactics-plugin-1.0.0.0 - resolv == 0.1.1.2 # required to build cabal-install-3.0.0.0 with pre ghc-8.8.x - sbv == 7.13 # required for pkgs.petrinizer - crackNum < 3.0 # 2021-05-21: 3.0 removed the lib which sbv 7.13 uses diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 1f15b4cdda7c..446eaaff7ac4 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -842,6 +842,16 @@ self: super: builtins.intersectAttrs super { export HOME=$TMPDIR/home ''; }); + hiedb = overrideCabal super.hiedb (drv: { + preCheck = '' + export PATH=$PWD/dist/build/hiedb:$PATH + ''; + }); + hls-call-hierarchy-plugin = overrideCabal super.hls-call-hierarchy-plugin (drv: { + preCheck = '' + export HOME=$TMPDIR/home + ''; + }); # Tests have file permissions expections that don‘t work with the nix store. hls-stylish-haskell-plugin = dontCheck super.hls-stylish-haskell-plugin; hls-haddock-comments-plugin = overrideCabal super.hls-haddock-comments-plugin (drv: { diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 3026ab0c0a07..889a96804087 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -4,6 +4,22 @@ self: { + "2captcha" = callPackage + ({ mkDerivation, aeson, base, bytestring, clock, exceptions + , http-client, lens, lens-aeson, parsec, text, wreq + }: + mkDerivation { + pname = "2captcha"; + version = "0.1.0.0"; + sha256 = "1876bdriagjfp4dyhhkpjrwa8kycvwa0zrdihw5q7dj5msmnxsrc"; + libraryHaskellDepends = [ + aeson base bytestring clock exceptions http-client lens lens-aeson + parsec text wreq + ]; + description = "Haskell package for easy integration with the 2captcha API"; + license = lib.licenses.mit; + }) {}; + "3d-graphics-examples" = callPackage ({ mkDerivation, base, GLUT, OpenGL, random }: mkDerivation { @@ -2761,15 +2777,15 @@ self: { hydraPlatforms = lib.platforms.none; }) {}; - "Cabal_3_6_0_0" = callPackage + "Cabal_3_6_1_0" = callPackage ({ mkDerivation, array, base, binary, bytestring, containers , deepseq, directory, filepath, mtl, parsec, pretty, process, text , time, transformers, unix }: mkDerivation { pname = "Cabal"; - version = "3.6.0.0"; - sha256 = "0xkyip9fm1k4cwjifqsh12xwi7za5lcbszqkl11gjyx6nxddzdhv"; + version = "3.6.1.0"; + sha256 = "0yjdp78775752k10q4j5dbvqj37xaa2b3anmfld53mgr17k182a7"; setupHaskellDepends = [ mtl parsec ]; libraryHaskellDepends = [ array base binary bytestring containers deepseq directory filepath @@ -21165,8 +21181,8 @@ self: { ({ mkDerivation }: mkDerivation { pname = "Win32"; - version = "2.12.0.1"; - sha256 = "1nivdwjp9x9i64xg8gf3xj8khm9dfq6n5m8kvvlhz7i7ypl4mv72"; + version = "2.13.0.0"; + sha256 = "0i4ws3d7s94vv6gh3cjj9nr0l88rwx7bwjk9jk0grzvw734dd9a2"; description = "A binding to Windows Win32 API"; license = lib.licenses.bsd3; platforms = lib.platforms.none; @@ -32604,8 +32620,8 @@ self: { }: mkDerivation { pname = "arduino-copilot"; - version = "1.5.4"; - sha256 = "15z3ndcg1ycnfzvqbbfalx1gfa61pyi5n2fy1dj8qm0gqkhz23lh"; + version = "1.5.5"; + sha256 = "0g2zw7xngaz5xhp4zrnhrkscnyck0474mngvp2j14p87sc7qn20w"; libraryHaskellDepends = [ base containers copilot copilot-c99 copilot-language directory filepath mtl optparse-applicative temporary @@ -39067,6 +39083,23 @@ self: { hydraPlatforms = lib.platforms.none; }) {}; + "batching" = callPackage + ({ mkDerivation, base, primitive, QuickCheck, short-vec, sint + , test-framework, test-framework-quickcheck2 + }: + mkDerivation { + pname = "batching"; + version = "0.1.0.0"; + sha256 = "1mks6w3zfvkdgi9didf94jp1hac9ps4pli75vn79p9hxjwc2fm27"; + libraryHaskellDepends = [ base primitive short-vec sint ]; + testHaskellDepends = [ + base primitive QuickCheck short-vec sint test-framework + test-framework-quickcheck2 + ]; + description = "An Applicative Functor deferring actions to run in a batch later"; + license = lib.licenses.asl20; + }) {}; + "battlenet" = callPackage ({ mkDerivation, aeson, base, containers, http-conduit, text }: mkDerivation { @@ -42551,23 +42584,23 @@ self: { "bisc" = callPackage ({ mkDerivation, base, bytestring, configurator, data-default - , directory, exceptions, filepath, leveldb-haskell, mtl, selda - , selda-sqlite, snappy, text + , directory, exceptions, filepath, leveldb-haskell, mtl + , optparse-applicative, selda, selda-sqlite, text }: mkDerivation { pname = "bisc"; - version = "0.3.1.0"; - sha256 = "0d0n3dmdfh4dxnxa8pdvdh4fhlhpdal4fixbjk2ignmf6ghm54qk"; + version = "0.4.0.0"; + sha256 = "1x0i3yjgfnhw5nsx2fr150anf199z29g630xv58315xz6a526js0"; isLibrary = false; isExecutable = true; executableHaskellDepends = [ base bytestring configurator data-default directory exceptions - filepath leveldb-haskell mtl selda selda-sqlite text + filepath leveldb-haskell mtl optparse-applicative selda + selda-sqlite text ]; - executableSystemDepends = [ snappy ]; description = "A small tool that clears cookies (and more)"; license = lib.licenses.gpl3Only; - }) {inherit (pkgs) snappy;}; + }) {}; "biscuit-haskell" = callPackage ({ mkDerivation, async, attoparsec, base, base16-bytestring, base64 @@ -45706,69 +45739,57 @@ self: { }) {}; "box" = callPackage - ({ mkDerivation, attoparsec, base, comonad, concurrency, containers - , contravariant, dejafu, doctest, exceptions, generic-lens, lens - , mmorph, mtl, numhask, numhask-space, optparse-generic - , profunctors, random, text, time, transformers, transformers-base - , websockets + ({ mkDerivation, attoparsec, base, concurrency, containers + , contravariant, exceptions, lens, mmorph, mtl, profunctors, text + , time, transformers }: mkDerivation { pname = "box"; - version = "0.6.3"; - sha256 = "1qdl8n9icp8v8hpk4jd3gsg8wrr469q4y6h6p1h6n6f899rwpv5c"; - isLibrary = true; - isExecutable = true; + version = "0.7.0"; + sha256 = "0fxrhfzf4xsfma2x355ij3ky1h83wq3khd08vkix1lnmw9vnvk37"; libraryHaskellDepends = [ - attoparsec base comonad concurrency containers contravariant - exceptions lens mmorph numhask numhask-space profunctors text time - transformers transformers-base + attoparsec base concurrency containers contravariant exceptions + lens mmorph mtl profunctors text time transformers ]; - executableHaskellDepends = [ - base concurrency containers dejafu exceptions generic-lens lens mtl - numhask optparse-generic random text transformers websockets - ]; - testHaskellDepends = [ base doctest numhask ]; description = "boxes"; license = lib.licenses.bsd3; hydraPlatforms = lib.platforms.none; }) {}; "box-csv" = callPackage - ({ mkDerivation, attoparsec, base, box, doctest, generic-lens, lens - , numhask, scientific, text, time + ({ mkDerivation, attoparsec, base, box, generic-lens, lens + , scientific, text, time }: mkDerivation { pname = "box-csv"; - version = "0.0.3"; - sha256 = "16kg45hma04r6slw2fic5jbamkcbv6mgqybw081w76hckcg72522"; + version = "0.1.0"; + sha256 = "0h62za6qirm003bwrsjb9pj4d9gnrypvqchzhnv3nj37niscmddy"; libraryHaskellDepends = [ - attoparsec base box generic-lens lens numhask scientific text time + attoparsec base box generic-lens lens scientific text time ]; - testHaskellDepends = [ base doctest numhask ]; - description = "See readme.md"; + description = "CSV parsing in a box"; license = lib.licenses.bsd3; hydraPlatforms = lib.platforms.none; }) {}; "box-socket" = callPackage - ({ mkDerivation, base, box, bytestring, concurrency, doctest - , exceptions, generic-lens, lens, network, network-simple, numhask - , optparse-generic, websockets + ({ mkDerivation, async, base, box, bytestring, concurrency + , exceptions, generic-lens, lens, network, network-simple + , optparse-generic, text, websockets }: mkDerivation { pname = "box-socket"; - version = "0.1.2"; - sha256 = "0ybv8amph38s2yz8qpwjrn7428d09ikl7d5ljqkbivydripg6ybc"; + version = "0.2.0"; + sha256 = "198llmb67g348apjrhp180x2ykjlp2mnbhvkw90yh5nm7pnd0j3c"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ - base box bytestring concurrency exceptions generic-lens lens - network network-simple numhask websockets + async base box bytestring concurrency exceptions generic-lens lens + network network-simple text websockets ]; executableHaskellDepends = [ - base box concurrency generic-lens lens numhask optparse-generic + base box concurrency generic-lens lens optparse-generic text ]; - testHaskellDepends = [ base doctest numhask ]; description = "Box websockets"; license = lib.licenses.bsd3; hydraPlatforms = lib.platforms.none; @@ -49278,8 +49299,8 @@ self: { }: mkDerivation { pname = "cabal-install"; - version = "3.4.0.0"; - sha256 = "15rylx5pa03jdiwcg1x7zvs6aq3g6phwmi1hz26cl080nczyz00r"; + version = "3.6.0.0"; + sha256 = "0ishq4n1jn0kll8257akrzm95lg9ryhyp9pzypcikgvqhl0sz741"; isLibrary = false; isExecutable = true; executableHaskellDepends = [ @@ -51260,6 +51281,8 @@ self: { pname = "capnp"; version = "0.14.0.0"; sha256 = "15v0s597wq0ipvikd727fzcqg5r6685lvr8y1x93q5mdl975gi8m"; + revision = "1"; + editedCabalFile = "1s57x426qkn54g8zj8rbn77qg849mx5ps1zwjj6gwfjifddgd5g5"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -53834,30 +53857,26 @@ self: { }) {}; "chart-svg" = callPackage - ({ mkDerivation, attoparsec, base, bytestring, Color, concurrency - , containers, cubicbezier, doctest, foldl, generic-lens - , JuicyPixels, lens, linear, lucid, numhask, numhask-space - , reanimate, reanimate-svg, scientific, tagsoup, text, time - , transformers, unordered-containers, vector + ({ mkDerivation, attoparsec, base, Color, containers, cubicbezier + , foldl, generic-lens, JuicyPixels, lens, linear, lucid, mtl + , numhask, numhask-space, reanimate, reanimate-svg, scientific + , tagsoup, text, time, transformers, unordered-containers }: mkDerivation { pname = "chart-svg"; - version = "0.2.2"; - sha256 = "184hpqkc9fvn64bg550clwxvjg2ii8igcl7nq3895pgi0cxxr0p1"; + version = "0.2.3"; + sha256 = "1j96l71gi2nrvwrwsvww9x7whvv3vmnc0ywgiy6ak1yh71hmivm1"; + revision = "1"; + editedCabalFile = "1zanv288hlir51yv4zqkcf2b4wxqivwd5y6f1s1n9zdn9k6b7c64"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ attoparsec base Color containers cubicbezier foldl generic-lens - JuicyPixels lens linear lucid numhask numhask-space reanimate + JuicyPixels lens linear lucid mtl numhask numhask-space reanimate reanimate-svg scientific tagsoup text time transformers unordered-containers ]; - executableHaskellDepends = [ - attoparsec base bytestring concurrency foldl JuicyPixels lens - linear lucid numhask numhask-space reanimate reanimate-svg text - time transformers unordered-containers vector - ]; - testHaskellDepends = [ base doctest numhask ]; + executableHaskellDepends = [ base lens reanimate ]; description = "Charting library targetting SVGs"; license = lib.licenses.bsd3; hydraPlatforms = lib.platforms.none; @@ -54851,19 +54870,22 @@ self: { license = lib.licenses.bsd3; }) {}; - "chronos_1_1_2" = callPackage - ({ mkDerivation, aeson, attoparsec, base, bytestring, criterion - , deepseq, doctest, hashable, HUnit, old-locale, primitive - , QuickCheck, semigroups, test-framework, test-framework-hunit - , test-framework-quickcheck2, text, thyme, time, torsor, vector + "chronos_1_1_3" = callPackage + ({ mkDerivation, aeson, attoparsec, base, bytebuild, byteslice + , bytesmith, bytestring, criterion, deepseq, doctest, hashable + , HUnit, natural-arithmetic, old-locale, primitive, QuickCheck + , semigroups, test-framework, test-framework-hunit + , test-framework-quickcheck2, text, text-short, thyme, time, torsor + , vector }: mkDerivation { pname = "chronos"; - version = "1.1.2"; - sha256 = "0izzg5cnnw53m3pfxglpj96i88h1qx75w04n6a67855xly4dfyxa"; + version = "1.1.3"; + sha256 = "1c5jzws6szqf9izifavapzvvib0b83rlyf5wcjfrshfipwfqrg26"; libraryHaskellDepends = [ - aeson attoparsec base bytestring deepseq hashable primitive - semigroups text torsor vector + aeson attoparsec base bytebuild byteslice bytesmith bytestring + deepseq hashable natural-arithmetic primitive semigroups text + text-short torsor vector ]; testHaskellDepends = [ aeson attoparsec base bytestring deepseq doctest HUnit QuickCheck @@ -54872,7 +54894,7 @@ self: { ]; benchmarkHaskellDepends = [ attoparsec base bytestring criterion deepseq old-locale QuickCheck - text thyme time vector + text text-short thyme time vector ]; description = "A high-performance time library"; license = lib.licenses.bsd3; @@ -57211,6 +57233,17 @@ self: { license = lib.licenses.mit; }) {}; + "closed-classes" = callPackage + ({ mkDerivation, base, template-haskell }: + mkDerivation { + pname = "closed-classes"; + version = "0.1"; + sha256 = "1l62g1akdxwfxjy80hbfw7bmscbrxr8xqq6gdx7d2z8np7vvjr3k"; + libraryHaskellDepends = [ base template-haskell ]; + description = "Closed type class declarations"; + license = lib.licenses.bsd3; + }) {}; + "closed-intervals" = callPackage ({ mkDerivation, base, containers, doctest-exitcode-stdio , doctest-lib, filtrable, QuickCheck, time, utility-ht @@ -58972,6 +59005,25 @@ self: { broken = true; }) {}; + "collate" = callPackage + ({ mkDerivation, base, containers, lens, primitive, QuickCheck + , test-framework, test-framework-quickcheck2, transformers, vector + }: + mkDerivation { + pname = "collate"; + version = "0.1.0.0"; + sha256 = "1fh335mwk51gyhyxilv83z66ilz5ws3ni8cbr4qmpfpgf9m1jp5s"; + libraryHaskellDepends = [ + base containers lens primitive transformers vector + ]; + testHaskellDepends = [ + base containers lens primitive QuickCheck test-framework + test-framework-quickcheck2 transformers vector + ]; + description = "An Applicative Functor for extracting parts of a stream of values"; + license = lib.licenses.asl20; + }) {}; + "collect-errors" = callPackage ({ mkDerivation, base, containers, deepseq, QuickCheck }: mkDerivation { @@ -62871,6 +62923,21 @@ self: { broken = true; }) {}; + "conic-graphs" = callPackage + ({ mkDerivation, base, fcf-graphs, fcf-vinyl, first-class-families + , vinyl + }: + mkDerivation { + pname = "conic-graphs"; + version = "0.0.1.0"; + sha256 = "19fjgji22ikgr3c80cjr6bpj3cx28vsix8vwqmhmnmff9daw63z4"; + libraryHaskellDepends = [ + base fcf-graphs fcf-vinyl first-class-families vinyl + ]; + description = "Vinyl-style extensible graphs"; + license = lib.licenses.bsd3; + }) {}; + "conjugateGradient" = callPackage ({ mkDerivation, base, containers, random }: mkDerivation { @@ -63776,8 +63843,8 @@ self: { }: mkDerivation { pname = "contiguous"; - version = "0.6.0"; - sha256 = "0wlm8y732v0l7my67vlm0r7dpmp0ah8b4zqnjhksmabmrb7vfbak"; + version = "0.6.1"; + sha256 = "1cgmz0adrv1kv1z21cfs4s4lmzbyp4acq5v2ly96bckp8a35cbix"; libraryHaskellDepends = [ base deepseq primitive primitive-unlifted run-st ]; @@ -64471,8 +64538,8 @@ self: { }: mkDerivation { pname = "copilot"; - version = "3.4"; - sha256 = "1cl7w9z08rnzsig09q65i6j4644zj469isd1mjjiwp23yiqs5gfh"; + version = "3.5"; + sha256 = "1cia936fm14bzkd8qh8g8zri2lfx7n0jfbjqiqwpwhpgmxvfhznj"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -64491,8 +64558,8 @@ self: { }: mkDerivation { pname = "copilot-c99"; - version = "3.4"; - sha256 = "14ajk29p4da777r9klfqhcyi5qkrz16qn5f6h22kgw1vqj9vm4ja"; + version = "3.5"; + sha256 = "1svcshxqrqp9m7pj7k77vfxzmzkanj0zyjq4ry985zzhcqgzcank"; libraryHaskellDepends = [ base containers copilot-core directory filepath language-c99 language-c99-simple language-c99-util mtl pretty @@ -64522,8 +64589,8 @@ self: { ({ mkDerivation, base, dlist, mtl, pretty }: mkDerivation { pname = "copilot-core"; - version = "3.4"; - sha256 = "01bxajyxd9na6msjnh6klnhc71xryc7nxz96pylyqn39978by7p0"; + version = "3.5"; + sha256 = "0i5jj4hzk0gqsjx24xswjna9cdwxbyv5hln5jsmhdhgw05c4z5g4"; libraryHaskellDepends = [ base dlist mtl pretty ]; description = "An intermediate representation for Copilot"; license = lib.licenses.bsd3; @@ -64531,15 +64598,14 @@ self: { "copilot-language" = callPackage ({ mkDerivation, array, base, containers, copilot-core - , copilot-theorem, data-reify, ghc-prim, mtl + , copilot-theorem, data-reify, mtl }: mkDerivation { pname = "copilot-language"; - version = "3.4"; - sha256 = "0i3ha9mpjizqalhnv2vvcgzs75r3ld7c4qhaknip3jw1d0j76fx6"; + version = "3.5"; + sha256 = "0s1yn4la8pbdwlcfrlx79031anagp235dbapm3c715mv67dgcs2b"; libraryHaskellDepends = [ - array base containers copilot-core copilot-theorem data-reify - ghc-prim mtl + array base containers copilot-core copilot-theorem data-reify mtl ]; description = "A Haskell-embedded DSL for monitoring hard real-time distributed systems"; license = lib.licenses.bsd3; @@ -64552,8 +64618,8 @@ self: { }: mkDerivation { pname = "copilot-libraries"; - version = "3.4"; - sha256 = "13ypvpqr0g3xrvdria35c83yxpk3727wm6n8jdsihq7ilkhl00mf"; + version = "3.5"; + sha256 = "1glz1x00abyavyca7kz19ji7jipl5fjxwqi47mql4b3wr9ksc0y4"; libraryHaskellDepends = [ array base containers copilot-language data-reify mtl parsec ]; @@ -64587,8 +64653,8 @@ self: { }: mkDerivation { pname = "copilot-theorem"; - version = "3.4"; - sha256 = "1mrw6i4dwg8cx56821vcy0bnzyhxcch0k9byrkazg3jgplvalfbr"; + version = "3.5"; + sha256 = "0cb22695jp502iilyjkfhr8lzl97rdrpjvs9fbknrr0zbwn1m7p9"; libraryHaskellDepends = [ ansi-terminal base bimap bv-sized containers copilot-core data-default directory filepath libBF mtl panic parameterized-utils @@ -73481,6 +73547,38 @@ self: { broken = true; }) {}; + "dependent-literals" = callPackage + ({ mkDerivation, base, fin-int, numeric-kinds, sint, snumber + , tagged, wrapped + }: + mkDerivation { + pname = "dependent-literals"; + version = "0.1.1.0"; + sha256 = "0dw2xc5l8cmhsmr2akyyhyfj8m3qx02pz81fn52ii9mkhzs6rcjb"; + libraryHaskellDepends = [ + base fin-int numeric-kinds sint snumber tagged wrapped + ]; + description = "Provides library support for pseudo-dependently-typed int literals"; + license = lib.licenses.asl20; + }) {}; + + "dependent-literals-plugin" = callPackage + ({ mkDerivation, base, dependent-literals, fin-int, ghc + , numeric-kinds, short-vec, sint, snumber, syb, wrapped + }: + mkDerivation { + pname = "dependent-literals-plugin"; + version = "0.1.0.1"; + sha256 = "1rpjlcv3g150rcmxidn48n25xxv2ghdz4x9jnap1swkz0fb10i3a"; + libraryHaskellDepends = [ base ghc syb ]; + testHaskellDepends = [ + base dependent-literals fin-int numeric-kinds short-vec sint + snumber wrapped + ]; + description = "Rewrites integer literals to a pseudo-dependently-typed form"; + license = lib.licenses.asl20; + }) {}; + "dependent-map_0_2_4_0" = callPackage ({ mkDerivation, base, containers, dependent-sum }: mkDerivation { @@ -73719,6 +73817,25 @@ self: { license = lib.licenses.mit; }) {}; + "deque_0_4_4" = callPackage + ({ mkDerivation, base, deepseq, hashable, mtl, QuickCheck + , quickcheck-instances, rerebase, strict-list, tasty, tasty-hunit + , tasty-quickcheck + }: + mkDerivation { + pname = "deque"; + version = "0.4.4"; + sha256 = "1x0rjdqgf4kwgpyisx618waz6r9gki3ivav9m4biysyc04hdhinn"; + libraryHaskellDepends = [ base deepseq hashable mtl strict-list ]; + testHaskellDepends = [ + QuickCheck quickcheck-instances rerebase tasty tasty-hunit + tasty-quickcheck + ]; + description = "Double-ended queues"; + license = lib.licenses.mit; + hydraPlatforms = lib.platforms.none; + }) {}; + "dequeue" = callPackage ({ mkDerivation, base, Cabal, cabal-test-quickcheck, QuickCheck , safe @@ -91027,6 +91144,37 @@ self: { license = lib.licenses.bsd3; }) {}; + "fcf-graphs" = callPackage + ({ mkDerivation, base, doctest, fcf-containers + , first-class-families, Glob + }: + mkDerivation { + pname = "fcf-graphs"; + version = "0.0.1.0"; + sha256 = "15yzkgn5vj7yd14h0y7l2nwcip9ys3wx09wx6mm8ryx3f98iym69"; + libraryHaskellDepends = [ + base fcf-containers first-class-families + ]; + testHaskellDepends = [ + base doctest fcf-containers first-class-families Glob + ]; + description = "Type-level version of algebraic-graphs"; + license = lib.licenses.mit; + }) {}; + + "fcf-vinyl" = callPackage + ({ mkDerivation, base, first-class-families, vinyl }: + mkDerivation { + pname = "fcf-vinyl"; + version = "0.0.1.0"; + sha256 = "0svdmd4lj1dwn7ipzx7vzd9bw6v2fvm2w70kziqvmnjxrvnnbxwv"; + revision = "1"; + editedCabalFile = "19xfj49aw1vrdzrkbsy7aj9jq5l8ss3l41sznrg3ljxpvh3b3i4l"; + libraryHaskellDepends = [ base first-class-families vinyl ]; + description = "Vinyl compatibility with first-class-families"; + license = lib.licenses.bsd3; + }) {}; + "fcg" = callPackage ({ mkDerivation }: mkDerivation { @@ -92739,6 +92887,22 @@ self: { license = lib.licenses.bsd3; }) {}; + "fin-int" = callPackage + ({ mkDerivation, attenuation, base, data-default-class, deepseq + , portray, portray-diff, QuickCheck, sint + }: + mkDerivation { + pname = "fin-int"; + version = "0.1.0.0"; + sha256 = "0ksjc8jz3l5jh6xd7aam424vpcq1ah7dcq2r5vmh4c7hcd48fakv"; + libraryHaskellDepends = [ + attenuation base data-default-class deepseq portray portray-diff + QuickCheck sint + ]; + description = "The type of finite sets with elements identified by the ordinals"; + license = lib.licenses.asl20; + }) {}; + "final" = callPackage ({ mkDerivation, base, stm, transformers }: mkDerivation { @@ -93027,6 +93191,31 @@ self: { license = lib.licenses.bsd3; }) {}; + "finite-table" = callPackage + ({ mkDerivation, adjunctions, base, cereal, data-default-class + , deepseq, distributive, fin-int, indexed-traversable, lens + , portray, portray-diff, QuickCheck, short-vec, short-vec-lens + , sint, test-framework, test-framework-quickcheck2, wrapped + }: + mkDerivation { + pname = "finite-table"; + version = "0.1.0.0"; + sha256 = "1pc58c1wsk91an4fqlz41k3iww47iir96mmdk6g43xa61hwlqj37"; + libraryHaskellDepends = [ + adjunctions base cereal data-default-class deepseq distributive + fin-int indexed-traversable lens portray portray-diff short-vec + short-vec-lens sint wrapped + ]; + testHaskellDepends = [ + adjunctions base cereal data-default-class deepseq distributive + fin-int indexed-traversable lens portray portray-diff QuickCheck + short-vec short-vec-lens sint test-framework + test-framework-quickcheck2 wrapped + ]; + description = "Types isomorphic to Fin, and Tables indexed by them"; + license = lib.licenses.asl20; + }) {}; + "finite-typelits" = callPackage ({ mkDerivation, base, deepseq }: mkDerivation { @@ -93361,6 +93550,24 @@ self: { hydraPlatforms = lib.platforms.none; }) {}; + "fix-whitespace_0_0_7" = callPackage + ({ mkDerivation, base, directory, extra, filepath, filepattern + , text, yaml + }: + mkDerivation { + pname = "fix-whitespace"; + version = "0.0.7"; + sha256 = "1nx56dfgg0i75f007y0r5w0955y3x78drjkvdx278llalyfpc5bg"; + isLibrary = false; + isExecutable = true; + executableHaskellDepends = [ + base directory extra filepath filepattern text yaml + ]; + description = "Fixes whitespace issues"; + license = "unknown"; + hydraPlatforms = lib.platforms.none; + }) {}; + "fixed" = callPackage ({ mkDerivation, base }: mkDerivation { @@ -98894,8 +99101,8 @@ self: { }: mkDerivation { pname = "futhark"; - version = "0.20.1"; - sha256 = "0ay1ly65sv57p6hymnb902xz5jmvjzl0zfshffrl73v8mgqbgnlv"; + version = "0.20.2"; + sha256 = "0nn0ndnzabkgcpdwhim51ji6mm95ky48f8vybch4dvvwsm3ld10b"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -102722,6 +102929,17 @@ self: { hydraPlatforms = lib.platforms.none; }) {}; + "ghc-definitions-th" = callPackage + ({ mkDerivation, base, constraints, ghc, template-haskell }: + mkDerivation { + pname = "ghc-definitions-th"; + version = "0.1"; + sha256 = "13c9m1rlgayqncqs8cn7mc0r72p2gb7657gpq3gi7r707mj52fj3"; + libraryHaskellDepends = [ base constraints ghc template-haskell ]; + description = "Automatically generate GHC API counterparts to Haskell declarations"; + license = lib.licenses.bsd3; + }) {}; + "ghc-dump-core" = callPackage ({ mkDerivation, base, bytestring, directory, filepath, ghc , serialise, text @@ -104118,32 +104336,30 @@ self: { }: mkDerivation { pname = "ghcide"; - version = "1.4.0.3"; - sha256 = "1znf54l3g44cskx5blfaibf1frgyhy5z7906rdvyzb0dqfmkbzpw"; - revision = "1"; - editedCabalFile = "1qm3zj7c8qkc0ncm9bl57zj5nj7jm8c4lg2wzjrgmz3vvfmsd11c"; + version = "1.4.1.0"; + sha256 = "1m5h7v9wg6k3w8mq0x0izjf9x1lapwb6ccvsbgg11prl6il4hlck"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ - aeson array async base base16-bytestring binary bytestring - bytestring-encoding case-insensitive containers cryptohash-sha1 - data-default deepseq dependent-map dependent-sum Diff directory - dlist extra filepath fingertree fuzzy ghc ghc-api-compat ghc-boot - ghc-boot-th ghc-check ghc-exactprint ghc-paths ghc-trace-events - Glob haddock-library hashable heapsize hie-bios hie-compat hiedb - hls-graph hls-plugin-api hslogger implicit-hie-cradle lens lsp - lsp-types mtl network-uri opentelemetry optparse-applicative - parallel prettyprinter prettyprinter-ansi-terminal regex-tdfa - retrie rope-utf16-splay safe safe-exceptions sorted-list - sqlite-simple stm syb text time transformers unix unliftio - unliftio-core unordered-containers utf8-string vector + aeson aeson-pretty array async base base16-bytestring binary + bytestring bytestring-encoding case-insensitive containers + cryptohash-sha1 data-default deepseq dependent-map dependent-sum + Diff directory dlist extra filepath fingertree fuzzy ghc + ghc-api-compat ghc-boot ghc-boot-th ghc-check ghc-exactprint + ghc-paths ghc-trace-events Glob haddock-library hashable heapsize + hie-bios hie-compat hiedb hls-graph hls-plugin-api hslogger + implicit-hie-cradle lens lsp lsp-types mtl network-uri + opentelemetry optparse-applicative parallel prettyprinter + prettyprinter-ansi-terminal regex-tdfa retrie rope-utf16-splay safe + safe-exceptions sorted-list sqlite-simple stm syb text time + transformers unix unliftio unliftio-core unordered-containers + utf8-string vector ]; executableHaskellDepends = [ - aeson aeson-pretty base bytestring containers data-default - directory extra filepath ghc gitrev hashable heapsize hie-bios - hiedb hls-graph hls-plugin-api lens lsp lsp-test lsp-types - optparse-applicative process safe-exceptions shake text - unordered-containers + aeson base bytestring containers data-default directory extra + filepath ghc gitrev hashable heapsize hie-bios hiedb hls-graph + hls-plugin-api lens lsp lsp-test lsp-types optparse-applicative + process safe-exceptions shake text unordered-containers ]; testHaskellDepends = [ aeson async base binary bytestring containers data-default @@ -118716,6 +118932,22 @@ self: { hydraPlatforms = lib.platforms.none; }) {}; + "happy_1_19_12" = callPackage + ({ mkDerivation, array, base, containers, mtl, process }: + mkDerivation { + pname = "happy"; + version = "1.19.12"; + sha256 = "03xlmq6qmdx4zvzw8bp33kd9g7yvcq5cz4wg50xilw812kj276pv"; + isLibrary = false; + isExecutable = true; + enableSeparateDataOutput = true; + executableHaskellDepends = [ array base containers mtl ]; + testHaskellDepends = [ base process ]; + description = "Happy is a parser generator for Haskell"; + license = lib.licenses.bsd2; + hydraPlatforms = lib.platforms.none; + }) {}; + "happy" = callPackage ({ mkDerivation, array, base, containers, mtl, process }: mkDerivation { @@ -119153,8 +119385,8 @@ self: { }: mkDerivation { pname = "hasbolt-extras"; - version = "0.0.1.7"; - sha256 = "1dnia4da5g9c8ckiap4wsacv6lccr69ai24i3n6mywdykhy159f1"; + version = "0.0.1.8"; + sha256 = "1qmj8dikn47qi47ic1zb7ahcsnmaamkrpbvica17fgyxcdbiilfl"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -120731,21 +120963,22 @@ self: { , cryptohash-sha1, data-default, deepseq, directory, extra , filepath, ghc, ghc-api-compat, ghc-boot-th, ghc-paths, ghcide , gitrev, hashable, hie-bios, hiedb, hls-brittany-plugin - , hls-class-plugin, hls-eval-plugin, hls-explicit-imports-plugin - , hls-floskell-plugin, hls-fourmolu-plugin, hls-graph - , hls-haddock-comments-plugin, hls-hlint-plugin - , hls-module-name-plugin, hls-ormolu-plugin, hls-plugin-api - , hls-pragmas-plugin, hls-refine-imports-plugin, hls-retrie-plugin - , hls-splice-plugin, hls-stylish-haskell-plugin, hls-tactics-plugin - , hls-test-utils, hslogger, hspec-expectations, lens, lsp, lsp-test - , lsp-types, mtl, optparse-applicative, optparse-simple, process - , regex-tdfa, safe-exceptions, sqlite-simple, temporary, text - , transformers, unordered-containers + , hls-call-hierarchy-plugin, hls-class-plugin, hls-eval-plugin + , hls-explicit-imports-plugin, hls-floskell-plugin + , hls-fourmolu-plugin, hls-graph, hls-haddock-comments-plugin + , hls-hlint-plugin, hls-module-name-plugin, hls-ormolu-plugin + , hls-plugin-api, hls-pragmas-plugin, hls-refine-imports-plugin + , hls-retrie-plugin, hls-splice-plugin, hls-stylish-haskell-plugin + , hls-tactics-plugin, hls-test-utils, hslogger, hspec-expectations + , lens, lsp, lsp-test, lsp-types, mtl, optparse-applicative + , optparse-simple, process, regex-tdfa, safe-exceptions + , sqlite-simple, temporary, text, transformers + , unordered-containers }: mkDerivation { pname = "haskell-language-server"; - version = "1.2.0.0"; - sha256 = "131l21r9ahnw54x5453j7pw728z6vp3gc2zmj6wrwzz51b9v64q8"; + version = "1.3.0.0"; + sha256 = "0hihaqvrq3rfvczzjxhcjyqwjx7chiv67hygl7qwqvj81y4r9rss"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -120759,15 +120992,16 @@ self: { aeson async base base16-bytestring binary bytestring containers cryptohash-sha1 data-default deepseq directory extra filepath ghc ghc-api-compat ghc-boot-th ghc-paths ghcide gitrev hashable - hie-bios hiedb hls-brittany-plugin hls-class-plugin hls-eval-plugin - hls-explicit-imports-plugin hls-floskell-plugin hls-fourmolu-plugin - hls-graph hls-haddock-comments-plugin hls-hlint-plugin - hls-module-name-plugin hls-ormolu-plugin hls-plugin-api - hls-pragmas-plugin hls-refine-imports-plugin hls-retrie-plugin - hls-splice-plugin hls-stylish-haskell-plugin hls-tactics-plugin - hslogger lens lsp mtl optparse-applicative optparse-simple process - regex-tdfa safe-exceptions sqlite-simple temporary text - transformers unordered-containers + hie-bios hiedb hls-brittany-plugin hls-call-hierarchy-plugin + hls-class-plugin hls-eval-plugin hls-explicit-imports-plugin + hls-floskell-plugin hls-fourmolu-plugin hls-graph + hls-haddock-comments-plugin hls-hlint-plugin hls-module-name-plugin + hls-ormolu-plugin hls-plugin-api hls-pragmas-plugin + hls-refine-imports-plugin hls-retrie-plugin hls-splice-plugin + hls-stylish-haskell-plugin hls-tactics-plugin hslogger lens lsp mtl + optparse-applicative optparse-simple process regex-tdfa + safe-exceptions sqlite-simple temporary text transformers + unordered-containers ]; testHaskellDepends = [ aeson base bytestring containers data-default directory extra @@ -122735,28 +122969,33 @@ self: { }) {}; "hasklepias" = callPackage - ({ mkDerivation, aeson, base, bytestring, cmdargs, co-log - , containers, contravariant, flow, ghc-prim, hspec - , interval-algebra, lens, lens-aeson, mtl, nonempty-containers + ({ mkDerivation, aeson, amazonka, amazonka-s3, base, bytestring + , cmdargs, co-log, conduit, conduit-extra, containers + , contravariant, flow, ghc-prim, hspec, interval-algebra, lens + , lens-aeson, mtl, nonempty-containers, optparse-applicative , QuickCheck, safe, semiring-simple, tasty, tasty-hspec - , tasty-hunit, text, time, tuple, unordered-containers, vector - , witherable + , tasty-hunit, tasty-silver, text, time, tuple + , unordered-containers, vector, witherable }: mkDerivation { pname = "hasklepias"; - version = "0.18.0"; - sha256 = "1kfsiw32bqf8xl801bk21jzhx5ma7skfi9pnp3vsz3n6n856yva9"; + version = "0.20.0"; + sha256 = "1fp7pd96mf91cf906lb1xd92ncm6fjpw4657fa47xba8yxcyy1gw"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ - aeson base bytestring cmdargs co-log containers contravariant flow - ghc-prim interval-algebra lens lens-aeson mtl nonempty-containers - QuickCheck safe semiring-simple tasty tasty-hunit text time tuple + aeson amazonka amazonka-s3 base bytestring cmdargs co-log conduit + conduit-extra containers contravariant flow ghc-prim + interval-algebra lens lens-aeson mtl nonempty-containers QuickCheck + safe semiring-simple tasty tasty-hunit text time tuple unordered-containers vector witherable ]; + executableHaskellDepends = [ + base bytestring optparse-applicative + ]; testHaskellDepends = [ aeson base bytestring containers flow hspec interval-algebra lens - QuickCheck tasty tasty-hspec tasty-hunit text time + QuickCheck tasty tasty-hspec tasty-hunit tasty-silver text time unordered-containers vector ]; description = "embedded DSL for defining epidemiologic cohorts"; @@ -126468,6 +126707,8 @@ self: { pname = "hedgehog"; version = "1.0.5"; sha256 = "1qsqs8lmxa3wmw228cwi98vvvh9hqbc9d43i1sy2c9igw9xlhfi6"; + revision = "1"; + editedCabalFile = "0vqjjjvnbb601f6lwm90x80wb6rxhnvi4p8g04g15bfs3kxqw44z"; libraryHaskellDepends = [ ansi-terminal async base bytestring concurrent-output containers deepseq directory erf exceptions lifted-async mmorph monad-control @@ -128645,8 +128886,8 @@ self: { }: mkDerivation { pname = "hfmt"; - version = "0.2.3.1"; - sha256 = "178nr4k4jgl3xxlvds7cqg18qfmsak1zhwlkks6syviypbg5wb07"; + version = "0.3.0.0"; + sha256 = "0cda45hj3y21ji8xq0mnf727narbgjgcy3wck9aiy5qnjxa1vfl3"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -128655,11 +128896,16 @@ self: { path-io pretty stylish-haskell text transformers yaml ]; executableHaskellDepends = [ - ansi-wl-pprint base conduit conduit-combinators directory - optparse-applicative + ansi-wl-pprint base bytestring Cabal conduit conduit-combinators + Diff directory exceptions filepath haskell-src-exts hindent hlint + HUnit optparse-applicative path path-io pretty stylish-haskell text + transformers yaml ]; testHaskellDepends = [ - base HUnit test-framework test-framework-hunit + base bytestring Cabal conduit conduit-combinators Diff directory + exceptions filepath haskell-src-exts hindent hlint HUnit path + path-io pretty stylish-haskell test-framework test-framework-hunit + text transformers yaml ]; description = "Haskell source code formatter"; license = lib.licenses.mit; @@ -129511,8 +129757,8 @@ self: { }: mkDerivation { pname = "hie-compat"; - version = "0.2.0.0"; - sha256 = "029h465wfknjdjk4yqq10b9krya9qplh8zzvmnwp9hf5rlr9awc3"; + version = "0.2.1.0"; + sha256 = "0dl48y5ijr73dc1lrarvfz6bivxg42ll4y339saw1y5xmgw1c5w7"; libraryHaskellDepends = [ array base bytestring containers directory filepath ghc ghc-boot transformers @@ -129560,6 +129806,31 @@ self: { }) {}; "hiedb" = callPackage + ({ mkDerivation, algebraic-graphs, ansi-terminal, array, base + , bytestring, containers, directory, extra, filepath, ghc + , ghc-paths, hie-compat, hspec, lucid, mtl, optparse-applicative + , process, sqlite-simple, temporary, terminal-size, text + }: + mkDerivation { + pname = "hiedb"; + version = "0.4.0.0"; + sha256 = "1frcl9mxmn97qc97l3kw21ksapyndn6jq7yfxxrr0fvzn7jji7wv"; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + algebraic-graphs ansi-terminal array base bytestring containers + directory extra filepath ghc hie-compat lucid mtl + optparse-applicative sqlite-simple terminal-size text + ]; + executableHaskellDepends = [ base ghc-paths ]; + testHaskellDepends = [ + base directory filepath ghc ghc-paths hspec process temporary + ]; + description = "Generates a references DB from .hie files"; + license = lib.licenses.bsd3; + }) {}; + + "hiedb_0_4_1_0" = callPackage ({ mkDerivation, algebraic-graphs, ansi-terminal, array, base , bytestring, containers, directory, extra, filepath, ghc , ghc-paths, hie-compat, hspec, lucid, mtl, optparse-applicative @@ -129582,6 +129853,7 @@ self: { ]; description = "Generates a references DB from .hie files"; license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; }) {}; "hieraclus" = callPackage @@ -132194,25 +132466,46 @@ self: { }) {}; "hls-brittany-plugin" = callPackage - ({ mkDerivation, base, brittany, bytestring, filepath, ghc - , ghc-boot-th, ghcide, hls-plugin-api, hls-test-utils, lens - , lsp-types, text, transformers + ({ mkDerivation, base, brittany, filepath, ghc, ghc-boot-th, ghcide + , hls-plugin-api, hls-test-utils, lens, lsp-types, text + , transformers }: mkDerivation { pname = "hls-brittany-plugin"; - version = "1.0.0.1"; - sha256 = "1lfhgvxs0bvs67raxalvj8pr4qln1yvi7i7wlp33gpk2x89bwaqy"; - revision = "3"; - editedCabalFile = "0d7pn634gpksl49hp3bfds52zhc80943bb2l5cvlbaf3phlsfskc"; + version = "1.0.0.2"; + sha256 = "1bjwy99f0mz9idjlxzw0cqqvm6dpmxqxbychvjpdva2g5cpy1vbq"; libraryHaskellDepends = [ base brittany filepath ghc ghc-boot-th ghcide hls-plugin-api lens lsp-types text transformers ]; - testHaskellDepends = [ base bytestring hls-test-utils text ]; + testHaskellDepends = [ base filepath hls-test-utils ]; description = "Integration with the Brittany code formatter"; license = lib.licenses.asl20; }) {}; + "hls-call-hierarchy-plugin" = callPackage + ({ mkDerivation, aeson, base, bytestring, containers, extra + , filepath, ghc, ghc-api-compat, ghcide, hiedb, hls-plugin-api + , hls-test-utils, lens, lsp, lsp-test, sqlite-simple, text + , unordered-containers + }: + mkDerivation { + pname = "hls-call-hierarchy-plugin"; + version = "1.0.0.0"; + sha256 = "1a1lrqwlk1qv6lf49nldwz5vzc931r55677x1w2ryz65islh6cab"; + libraryHaskellDepends = [ + aeson base bytestring containers extra ghc ghc-api-compat ghcide + hiedb hls-plugin-api lens lsp sqlite-simple text + unordered-containers + ]; + testHaskellDepends = [ + aeson base containers extra filepath hls-test-utils lens lsp + lsp-test text + ]; + description = "Call hierarchy plugin for Haskell Language Server"; + license = lib.licenses.asl20; + }) {}; + "hls-class-plugin" = callPackage ({ mkDerivation, aeson, base, containers, filepath, ghc , ghc-api-compat, ghc-exactprint, ghcide, hls-plugin-api @@ -132220,8 +132513,8 @@ self: { }: mkDerivation { pname = "hls-class-plugin"; - version = "1.0.0.2"; - sha256 = "0z6774vmfafgr3z5h98ls5sssax15psa2dq5sf8bcqm29y3g3zvi"; + version = "1.0.0.3"; + sha256 = "0jfhac5x5qwzm20ysfj5b6s3a3prdwfqhywyh5m7yfd6j44pqsxv"; libraryHaskellDepends = [ aeson base containers ghc ghc-api-compat ghc-exactprint ghcide hls-plugin-api lens lsp text transformers @@ -132243,8 +132536,8 @@ self: { }: mkDerivation { pname = "hls-eval-plugin"; - version = "1.1.1.0"; - sha256 = "167vmz7jl09lkayjf6g0inn2q5i1h3gs5vl6xpdg4cbvd8srdvbs"; + version = "1.1.2.0"; + sha256 = "11h017jy9g21ziiql61hr0q9g3wfvckyf1nfkg8vf9wnrmlzjqid"; libraryHaskellDepends = [ aeson base containers deepseq Diff directory dlist extra filepath ghc ghc-api-compat ghc-boot-th ghc-paths ghcide hashable @@ -132254,6 +132547,7 @@ self: { ]; testHaskellDepends = [ aeson base directory extra filepath hls-test-utils lens lsp-types + text ]; description = "Eval plugin for Haskell Language Server"; license = lib.licenses.asl20; @@ -132285,8 +132579,8 @@ self: { }: mkDerivation { pname = "hls-explicit-imports-plugin"; - version = "1.0.0.3"; - sha256 = "0sh4mimx76n6nzlz0nxa1z5q9ga8g268lkncqz4p0nbc54y070hh"; + version = "1.0.0.4"; + sha256 = "0k0bwgvwav2wiapr6y9js8rpxwi1apvyh0f2j3d6br82danmr7xk"; libraryHaskellDepends = [ aeson base containers deepseq ghc ghc-api-compat ghcide hls-graph hls-plugin-api lsp text unordered-containers @@ -132296,19 +132590,17 @@ self: { }) {}; "hls-floskell-plugin" = callPackage - ({ mkDerivation, base, floskell, ghcide, hls-plugin-api + ({ mkDerivation, base, filepath, floskell, ghcide, hls-plugin-api , hls-test-utils, lsp-types, text, transformers }: mkDerivation { pname = "hls-floskell-plugin"; - version = "1.0.0.0"; - sha256 = "0wf4483a4xhvynqqgj6gf1qg5nv9rv4gv9rm2hwsbjq123bs0wy8"; - revision = "1"; - editedCabalFile = "120ai8hswj310sv098j1b8dzpkzmjyphyxqnc1gszqds3qx588fj"; + version = "1.0.0.1"; + sha256 = "0d68fa83f5r1mn0pgsi6ff3q75z83gdivmfj0pkzp1m4acy2nx7z"; libraryHaskellDepends = [ base floskell ghcide hls-plugin-api lsp-types text transformers ]; - testHaskellDepends = [ base hls-test-utils text ]; + testHaskellDepends = [ base filepath hls-test-utils ]; description = "Integration with the Floskell code formatter"; license = lib.licenses.asl20; }) {}; @@ -132319,8 +132611,8 @@ self: { }: mkDerivation { pname = "hls-fourmolu-plugin"; - version = "1.0.0.1"; - sha256 = "039vvbzj583kxf04d9wjam6x7pjs7hv13ysa1rapsj5san0r73y7"; + version = "1.0.0.2"; + sha256 = "1m56xpzf5dqmwl2jryh1lv6pghngkzr7lsda1gf0j4ydajkm5app"; libraryHaskellDepends = [ base filepath fourmolu ghc ghc-boot-th ghcide hls-plugin-api lens lsp text @@ -132350,8 +132642,8 @@ self: { }: mkDerivation { pname = "hls-haddock-comments-plugin"; - version = "1.0.0.2"; - sha256 = "09gfvzz56vz0qzn1md2p0i6rdzf7v9nwm78lcw66asblq485jac6"; + version = "1.0.0.3"; + sha256 = "1gvzzm1m6n69126z3b7mb57n0hmnj5zmn1agj927zvjvs7m1hgpx"; libraryHaskellDepends = [ base containers ghc ghc-exactprint ghcide hls-plugin-api lsp-types text unordered-containers @@ -132370,8 +132662,8 @@ self: { }: mkDerivation { pname = "hls-hlint-plugin"; - version = "1.0.1.0"; - sha256 = "0wy6mw3i5mssjg9bf0gn5411yvqzlxd63s0amrg0yci6nx78nb8p"; + version = "1.0.1.1"; + sha256 = "0yvl7lxb5cw71nl8pzrplhws8k8khjjqxivyzs50f9yn6msr0w3z"; libraryHaskellDepends = [ aeson apply-refact base binary bytestring containers data-default deepseq Diff directory extra filepath ghc ghc-exactprint ghc-lib @@ -132390,8 +132682,8 @@ self: { }: mkDerivation { pname = "hls-module-name-plugin"; - version = "1.0.0.0"; - sha256 = "1a41zn1k4xga9v8xqly2jbi2i11zy05cgs60b7j9fasmm991vkxb"; + version = "1.0.0.1"; + sha256 = "06lf7wsci6yfmlm8slv8bwmkac9086pc7lxm38ivwffrsz3ninxx"; libraryHaskellDepends = [ aeson base directory filepath ghcide hls-plugin-api lsp text transformers unordered-containers @@ -132402,17 +132694,17 @@ self: { }) {}; "hls-ormolu-plugin" = callPackage - ({ mkDerivation, base, filepath, ghc, ghc-boot-th, ghcide - , hls-plugin-api, hls-test-utils, lens, lsp, lsp-types, ormolu - , text + ({ mkDerivation, base, filepath, ghc, ghc-api-compat, ghc-boot-th + , ghcide, hls-plugin-api, hls-test-utils, lens, lsp, lsp-types + , ormolu, text }: mkDerivation { pname = "hls-ormolu-plugin"; - version = "1.0.0.0"; - sha256 = "1iiq1m69jqrv28nzcrp9j70qvi21gsl9v9kjx0nkcdlbqzybfrfr"; + version = "1.0.0.1"; + sha256 = "0jpc9f4zlf0ndca6qqnkhvm8rn8fwsks4300p14xfbzzdz1jkhb6"; libraryHaskellDepends = [ - base filepath ghc ghc-boot-th ghcide hls-plugin-api lens lsp ormolu - text + base filepath ghc ghc-api-compat ghc-boot-th ghcide hls-plugin-api + lens lsp ormolu text ]; testHaskellDepends = [ base filepath hls-test-utils lsp-types ]; description = "Integration with the Ormolu code formatter"; @@ -132422,19 +132714,19 @@ self: { "hls-plugin-api" = callPackage ({ mkDerivation, aeson, base, containers, data-default , dependent-map, dependent-sum, Diff, dlist, ghc, ghc-api-compat - , hashable, hls-graph, hslogger, lens, lsp, opentelemetry, process - , regex-tdfa, text, unix, unordered-containers + , hashable, hls-graph, hslogger, lens, lsp, opentelemetry + , optparse-applicative, process, regex-tdfa, text, unix + , unordered-containers }: mkDerivation { pname = "hls-plugin-api"; - version = "1.1.0.2"; - sha256 = "1x49h8087x3fynagm4na72lyqyy58bb33kcrzkfcpbr3lsb8k455"; - revision = "1"; - editedCabalFile = "0pgicyph7zz2c7pbcair4wp4x5vvkmigbxxzrsxsgmvavki8r904"; + version = "1.2.0.0"; + sha256 = "1sr072zxp1nsfv2izdn87wqg6hqpsinzhxq49n43b8xcbxa778z7"; libraryHaskellDepends = [ aeson base containers data-default dependent-map dependent-sum Diff dlist ghc ghc-api-compat hashable hls-graph hslogger lens lsp - opentelemetry process regex-tdfa text unix unordered-containers + opentelemetry optparse-applicative process regex-tdfa text unix + unordered-containers ]; description = "Haskell Language Server API for plugin communication"; license = lib.licenses.asl20; @@ -132442,21 +132734,19 @@ self: { "hls-pragmas-plugin" = callPackage ({ mkDerivation, base, extra, filepath, fuzzy, ghcide - , hls-plugin-api, hls-test-utils, lens, lsp, lsp-test, lsp-types - , text, transformers, unordered-containers + , hls-plugin-api, hls-test-utils, lens, lsp, lsp-types, text + , transformers, unordered-containers }: mkDerivation { pname = "hls-pragmas-plugin"; - version = "1.0.0.0"; - sha256 = "1zkq95dklc6sdhczgr6l2hdkkrbrjy3zwp0qfz3qvf55gpxspzzs"; - revision = "1"; - editedCabalFile = "0xkq857i68s58101x8dc8ynvnkhjp2f8lfddg2cjkycbwhfj42cc"; + version = "1.0.0.1"; + sha256 = "1pp61jw9kp74siiwxg2wgs81w8k1a3y9r9riqqq1bb84bzih1lll"; libraryHaskellDepends = [ base extra fuzzy ghcide hls-plugin-api lens lsp text transformers unordered-containers ]; testHaskellDepends = [ - base filepath hls-test-utils lens lsp-test lsp-types text + base filepath hls-test-utils lens lsp-types ]; description = "Pragmas plugin for Haskell Language Server"; license = lib.licenses.asl20; @@ -132469,8 +132759,8 @@ self: { }: mkDerivation { pname = "hls-refine-imports-plugin"; - version = "1.0.0.0"; - sha256 = "16dn7lnsam10rvazkslrw81qahn2i2yghdbi9pdjdzd3l3nrcyl9"; + version = "1.0.0.1"; + sha256 = "1gc899yiqic4sbv9q70xasv96s1l7ypgxjrafqlbvw6gyyn4sarj"; libraryHaskellDepends = [ aeson base containers deepseq ghc ghcide hls-explicit-imports-plugin hls-graph hls-plugin-api lsp text @@ -132489,8 +132779,8 @@ self: { }: mkDerivation { pname = "hls-retrie-plugin"; - version = "1.0.1.0"; - sha256 = "0kfip2fqjbr9qxg749ikdj42zgnchwjrp5ch84xr5z8k7hmlnw4z"; + version = "1.0.1.1"; + sha256 = "0sl4za7sdw7syqya98gd90danlbjybdxcp9fv9nwb0lhqqsyj3ar"; libraryHaskellDepends = [ aeson base containers deepseq directory extra ghc ghc-api-compat ghcide hashable hls-plugin-api lsp lsp-types retrie safe-exceptions @@ -132508,8 +132798,8 @@ self: { }: mkDerivation { pname = "hls-splice-plugin"; - version = "1.0.0.3"; - sha256 = "0v5m6h4pb2piihjyldy0nm6zl8iaw34gp6yqicbqkryinz0mb4pg"; + version = "1.0.0.4"; + sha256 = "0l929w9f6ay4ih1yi70lhn60zy79wq2mhmmhfyv0944x44dxjk8n"; libraryHaskellDepends = [ aeson base containers dlist extra foldl ghc ghc-exactprint ghcide hls-plugin-api lens lsp retrie syb text transformers unliftio-core @@ -132527,8 +132817,8 @@ self: { }: mkDerivation { pname = "hls-stylish-haskell-plugin"; - version = "1.0.0.1"; - sha256 = "1dkgvh169mf0s0vnyfgb965k393hm622cd2ssl6clgbaq2q20qlf"; + version = "1.0.0.2"; + sha256 = "0i8kjxqwg8mkk2imbc36ic2n59c09zc79g12c64vrjb7pgxpxrid"; libraryHaskellDepends = [ base directory filepath ghc ghc-boot-th ghcide hls-plugin-api lsp-types stylish-haskell text @@ -132550,10 +132840,8 @@ self: { }: mkDerivation { pname = "hls-tactics-plugin"; - version = "1.2.0.0"; - sha256 = "0djyskzsv1hz92p6x62nf78j1f0x9nl55fl5mzc29lncqib8g8ak"; - revision = "2"; - editedCabalFile = "0ywqrd6wxbmblmf7m58cj5yarcl4869fdzrlnm0gia6qc1qa0y8j"; + version = "1.3.0.0"; + sha256 = "1k84zwlnn6prpnfhyw1v9d4nfkcmw5s6ypl0l63xrsy07xfx0ca2"; libraryHaskellDepends = [ aeson base containers deepseq directory extra filepath fingertree generic-lens ghc ghc-boot-th ghc-exactprint ghc-source-gen ghcide @@ -132580,8 +132868,8 @@ self: { }: mkDerivation { pname = "hls-test-utils"; - version = "1.0.1.0"; - sha256 = "0pqypxqwh8dm4xl7bpfqdvzaxw98v7bwbzkssgx5zgczhzs2y8mi"; + version = "1.1.0.0"; + sha256 = "10sjizl6bxmcf90ksrgzvxmrka41g3pa2ciwcxfpkzgx3wnf1855"; libraryHaskellDepends = [ aeson async base blaze-markup bytestring containers data-default directory extra filepath ghcide hls-graph hls-plugin-api hspec @@ -137244,6 +137532,26 @@ self: { broken = true; }) {}; + "hs-tags_0_1_5_2" = callPackage + ({ mkDerivation, base, Cabal, containers, directory, filepath, ghc + , ghc-paths, mtl, process, strict + }: + mkDerivation { + pname = "hs-tags"; + version = "0.1.5.2"; + sha256 = "0xvrar39682z4jiggf260ypxhzk2z180zlh3i3rw19cbq1xdw5hw"; + isLibrary = false; + isExecutable = true; + executableHaskellDepends = [ + base Cabal containers directory filepath ghc ghc-paths mtl process + strict + ]; + description = "Create tag files (ctags and etags) for Haskell code"; + license = lib.licenses.mit; + hydraPlatforms = lib.platforms.none; + broken = true; + }) {}; + "hs-term-emulator" = callPackage ({ mkDerivation, ansi-terminal, attoparsec, base, bytestring , containers, criterion, hspec, hspec-discover, lens, text, vector @@ -142254,7 +142562,7 @@ self: { license = lib.licenses.mit; }) {}; - "http-client_0_7_8" = callPackage + "http-client_0_7_9" = callPackage ({ mkDerivation, array, async, base, base64-bytestring , blaze-builder, bytestring, case-insensitive, containers, cookie , deepseq, directory, exceptions, filepath, ghc-prim, hspec @@ -142264,8 +142572,8 @@ self: { }: mkDerivation { pname = "http-client"; - version = "0.7.8"; - sha256 = "043ydfakl02cghmphzz9hj08hrfszqw96vjrb4cal7c7801szz0q"; + version = "0.7.9"; + sha256 = "1yg8sx50bs2q1si2f2783w1iy3235h8mxzif2g498ixpx6syzrmy"; libraryHaskellDepends = [ array base base64-bytestring blaze-builder bytestring case-insensitive containers cookie deepseq exceptions filepath @@ -144477,8 +144785,8 @@ self: { pname = "hw-dsv"; version = "0.4.1.0"; sha256 = "1wv0yg662c3bq4kpgfqfjks59v17i5h3v3mils1qpxn4c57jr3s8"; - revision = "5"; - editedCabalFile = "0dzysj8fzyfg4ggda5ramq1zad8jb810rg2nncnzv95xmnlwakgl"; + revision = "6"; + editedCabalFile = "0w0w2ir8z1v4zpjxx36slkqcpvgl1s9520cnnbqg9i0fnvydb50v"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -149592,6 +149900,34 @@ self: { license = lib.licenses.bsd3; }) {}; + "influxdb_1_9_2" = callPackage + ({ mkDerivation, aeson, attoparsec, base, bytestring, Cabal + , cabal-doctest, clock, containers, doctest, foldl, http-client + , http-types, lens, network, optional-args, raw-strings-qq + , scientific, tagged, tasty, tasty-hunit, template-haskell, text + , time, unordered-containers, vector + }: + mkDerivation { + pname = "influxdb"; + version = "1.9.2"; + sha256 = "1dmj2gg47wav9qk22a9p4pclxmxnw3czyfj19nbb09911vq1ng5n"; + isLibrary = true; + isExecutable = true; + setupHaskellDepends = [ base Cabal cabal-doctest ]; + libraryHaskellDepends = [ + aeson attoparsec base bytestring clock containers foldl http-client + http-types lens network optional-args scientific tagged text time + unordered-containers vector + ]; + testHaskellDepends = [ + base containers doctest lens raw-strings-qq tasty tasty-hunit + template-haskell time vector + ]; + description = "InfluxDB client library for Haskell"; + license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + }) {}; + "informative" = callPackage ({ mkDerivation, base, containers, csv, highlighting-kate , http-conduit, monad-logger, pandoc, persistent @@ -155261,17 +155597,18 @@ self: { "json-query" = callPackage ({ mkDerivation, array-chunks, base, bytebuild, byteslice - , bytestring, json-syntax, neat-interpolation, primitive - , scientific-notation, tasty, tasty-hunit, text, text-short - , transformers + , bytestring, contiguous, json-syntax, neat-interpolation + , primitive, primitive-unlifted, profunctors, scientific-notation + , tasty, tasty-hunit, text, text-short, transformers }: mkDerivation { pname = "json-query"; - version = "0.1.0.0"; - sha256 = "0i1lw40j6qdfcj44mzp5g99plqwdwbh4ab3rfvv24v2c2fq20kqm"; + version = "0.2.0.0"; + sha256 = "1wlf8vl890lpvffl5f5aj8g6zdyzf5vq1fpcsl5cfrllws8jprln"; libraryHaskellDepends = [ - array-chunks base bytebuild bytestring json-syntax primitive - scientific-notation text-short transformers + array-chunks base bytebuild bytestring contiguous json-syntax + primitive primitive-unlifted profunctors scientific-notation + text-short transformers ]; testHaskellDepends = [ array-chunks base bytebuild byteslice bytestring json-syntax @@ -155362,6 +155699,27 @@ self: { license = lib.licenses.bsd3; }) {}; + "json-rpc-generic_0_2_1_6" = callPackage + ({ mkDerivation, aeson, aeson-generic-compat, base, containers + , QuickCheck, quickcheck-simple, scientific, text, transformers + , unordered-containers, vector + }: + mkDerivation { + pname = "json-rpc-generic"; + version = "0.2.1.6"; + sha256 = "0qzqf4vnlpkj1gl48kds4lxmb0glf4k33bv6dq0hdyrv62aw52m4"; + libraryHaskellDepends = [ + aeson aeson-generic-compat base containers scientific text + transformers unordered-containers vector + ]; + testHaskellDepends = [ + aeson base QuickCheck quickcheck-simple text + ]; + description = "Generic encoder and decode for JSON-RPC"; + license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + }) {}; + "json-rpc-server" = callPackage ({ mkDerivation, aeson, base, bytestring, deepseq, HUnit, mtl , test-framework, test-framework-hunit, text, unordered-containers @@ -158783,8 +159141,8 @@ self: { ({ mkDerivation, base, HUnit }: mkDerivation { pname = "kparams"; - version = "0.1.0.0"; - sha256 = "0q1ma3qm2anpr6w4xa78wh97b7pzy85ggjiiwbd0gb7b0vwbglx0"; + version = "0.1.0.1"; + sha256 = "1zb0xww3rgqcd7famh7cwf4igva60a8q8mv78a6mkdfffjg16q8s"; isLibrary = false; isExecutable = true; libraryHaskellDepends = [ base ]; @@ -160641,15 +160999,15 @@ self: { license = lib.licenses.gpl3Only; }) {}; - "language-docker_10_1_1" = callPackage + "language-docker_10_1_2" = callPackage ({ mkDerivation, base, bytestring, containers, data-default-class , hspec, hspec-megaparsec, HUnit, megaparsec, prettyprinter , QuickCheck, split, text, time }: mkDerivation { pname = "language-docker"; - version = "10.1.1"; - sha256 = "0qk6riw3xf57p4jizw15bd45in924vmjkrycaw0dvwkizb74a53b"; + version = "10.1.2"; + sha256 = "07h2qarbscgppn9drpl72pi2w9arigqpczrxb51q9m6xhfdx12n1"; libraryHaskellDepends = [ base bytestring containers data-default-class megaparsec prettyprinter split text time @@ -164630,17 +164988,26 @@ self: { }) {}; "libmdbx" = callPackage - ({ mkDerivation, base, bytestring, c2hs, mtl, store, text }: + ({ mkDerivation, base, binary, bytestring, c2hs, data-default + , directory, hspec, HUnit, mtl, store, store-core, text + }: mkDerivation { pname = "libmdbx"; - version = "0.1.0.4"; - sha256 = "0gkpj2chxmq9kb6mg9r78x4w4lspr2sq3462xy1m9y2frcbbkf8p"; + version = "0.2.0.0"; + sha256 = "150wpckgjkdallpfql18wy8in1bk6k2alhri303j6i6fdi2f7y75"; isLibrary = true; isExecutable = true; - libraryHaskellDepends = [ base mtl text ]; + libraryHaskellDepends = [ + base binary bytestring data-default mtl store store-core text + ]; libraryToolDepends = [ c2hs ]; - executableHaskellDepends = [ base bytestring mtl store text ]; - testHaskellDepends = [ base mtl text ]; + executableHaskellDepends = [ + base binary bytestring data-default mtl store store-core text + ]; + testHaskellDepends = [ + base binary bytestring data-default directory hspec HUnit mtl store + store-core text + ]; description = "Bindings for libmdbx, an embedded key/value store"; license = lib.licenses.bsd3; }) {}; @@ -174997,22 +175364,20 @@ self: { }) {}; "mealy" = callPackage - ({ mkDerivation, adjunctions, base, containers, doctest, folds - , generic-lens, lens, matrix, mwc-probability, numhask - , numhask-array, primitive, profunctors, tdigest, text, vector - , vector-algorithms + ({ mkDerivation, adjunctions, base, containers, folds, generic-lens + , lens, matrix, mwc-probability, numhask, numhask-array, primitive + , profunctors, tdigest, text, vector, vector-algorithms }: mkDerivation { pname = "mealy"; - version = "0.0.3"; - sha256 = "0gv4vi8ppbrhi8j2xwhnw96sybs2ci2ja6s37ggv4g0lxbxin17m"; + version = "0.1.0"; + sha256 = "14xdhb39aa548sswbkasx546pzpgyl9msabi2w5gd7qwvlhxsmg3"; libraryHaskellDepends = [ adjunctions base containers folds generic-lens lens matrix mwc-probability numhask numhask-array primitive profunctors tdigest text vector vector-algorithms ]; - testHaskellDepends = [ base doctest numhask ]; - description = "See readme.md"; + description = "Mealy machines for processing time-series and ordered data"; license = lib.licenses.bsd3; hydraPlatforms = lib.platforms.none; }) {}; @@ -191994,6 +192359,17 @@ self: { license = lib.licenses.bsd3; }) {}; + "numeric-kinds" = callPackage + ({ mkDerivation, base }: + mkDerivation { + pname = "numeric-kinds"; + version = "0.1.0.0"; + sha256 = "0rdx39wa7kklx9a7i5rdwf541fxpz9v3n32rvy2fa6i7n4hr64s4"; + libraryHaskellDepends = [ base ]; + description = "Type-level numeric types, classes, and instances"; + license = lib.licenses.asl20; + }) {}; + "numeric-limits" = callPackage ({ mkDerivation, base }: mkDerivation { @@ -202224,15 +202600,15 @@ self: { }) {}; "perf" = callPackage - ({ mkDerivation, base, containers, deepseq, foldl, mtl, rdtsc, text - , time, transformers + ({ mkDerivation, base, containers, foldl, mtl, rdtsc, text, time + , transformers }: mkDerivation { pname = "perf"; - version = "0.8.0"; - sha256 = "1wgl5nwvip2mxicskqqj6c0c53rp1x4ls31j5i5njd324kvxp8ql"; + version = "0.9.0"; + sha256 = "116j1dygya9226q52vw6l6w64raldjpz7z22kmcm38v36i696lik"; libraryHaskellDepends = [ - base containers deepseq foldl mtl rdtsc text time transformers + base containers foldl mtl rdtsc text time transformers ]; description = "Low-level run time measurement"; license = lib.licenses.bsd3; @@ -204209,8 +204585,8 @@ self: { }: mkDerivation { pname = "phonetic-languages-plus"; - version = "0.4.0.0"; - sha256 = "01c0yfgg78za60izyak3qcxwf39xydyw405grflwxxkcl4bq5ax7"; + version = "0.4.1.0"; + sha256 = "08qshrwh19wvav0j5h05x49m8i7j1p4lgzwpv86n5y34gx0bbfg2"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -204300,8 +204676,8 @@ self: { }: mkDerivation { pname = "phonetic-languages-simplified-examples-array"; - version = "0.11.0.1"; - sha256 = "0mr1pckay3i72yh1b1dbbm68cbf4jx2vw1w0h86ykvamc1vjy7lp"; + version = "0.11.3.0"; + sha256 = "0k7rczkfbgf2pgk5njb5dc8j27fag5b0fv1nrb97r6nnqb17fs6w"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -204338,8 +204714,8 @@ self: { }: mkDerivation { pname = "phonetic-languages-simplified-examples-common"; - version = "0.1.3.0"; - sha256 = "09jl0zjpny5xh7f9igglfdl36lazrrr131khi625ay48283g2wpc"; + version = "0.1.4.0"; + sha256 = "1dsfnjjri15mhm31ny82j26djbsw6lgvvqpq9k7fzgj0inb5slns"; libraryHaskellDepends = [ base heaps mmsyn2-array phonetic-languages-constraints-array phonetic-languages-ukrainian-array @@ -204362,8 +204738,8 @@ self: { }: mkDerivation { pname = "phonetic-languages-simplified-generalized-examples-array"; - version = "0.11.0.0"; - sha256 = "0qxvfn4ii0v722r11hgcwb68d19ji1xchdkgr5n4dsbdkzqlvjrf"; + version = "0.11.3.0"; + sha256 = "0wcphr3n5l1zlpmihy187xkjssq1p5zgfxxq7063ps8x52zfghzi"; libraryHaskellDepends = [ base heaps mmsyn2-array mmsyn3 parallel phonetic-languages-constraints-array @@ -204518,8 +204894,8 @@ self: { ({ mkDerivation, base, mmsyn2-array, mmsyn5 }: mkDerivation { pname = "phonetic-languages-ukrainian-array"; - version = "0.6.0.0"; - sha256 = "01wsdcnl9vidwbmxv1jlvchad477l5kdkz6jnfm6rnfkyrfwrcrn"; + version = "0.6.1.0"; + sha256 = "1ggwhfgfk1vrl5dw1yzd2xnmnk9r33fnfcydm6zskxairbgx7zkr"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ base mmsyn2-array mmsyn5 ]; @@ -222643,23 +223019,6 @@ self: { broken = true; }) {}; - "refinery_0_3_0_0" = callPackage - ({ mkDerivation, base, checkers, exceptions, hspec, logict, mmorph - , mtl, QuickCheck - }: - mkDerivation { - pname = "refinery"; - version = "0.3.0.0"; - sha256 = "1bsbnxf75prw153c3k02jk84h3sravdi1c1sl75c7sx4xq81qhlp"; - libraryHaskellDepends = [ base exceptions logict mmorph mtl ]; - testHaskellDepends = [ - base checkers exceptions hspec logict mmorph mtl QuickCheck - ]; - description = "Toolkit for building proof automation systems"; - license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - }) {}; - "refinery" = callPackage ({ mkDerivation, base, checkers, exceptions, hspec, mmorph, mtl , QuickCheck @@ -222732,10 +223091,8 @@ self: { }: mkDerivation { pname = "reflex"; - version = "0.8.1.0"; - sha256 = "0p27dj7fckkvw9li69whcfrv1cd59kkp6qbvfmndzx8fbh44ggbp"; - revision = "1"; - editedCabalFile = "07bvrcfbnz1pv15cmk4f780aiw72gbhsji20kqyk8kk7d2jwpcab"; + version = "0.8.1.1"; + sha256 = "0fxvlvh6k2h7p76nhjbjl6jqs4iqixq5p93fywn6jj37g00lxnhy"; libraryHaskellDepends = [ base bifunctors comonad constraints-extras containers data-default dependent-map dependent-sum exception-transformers haskell-src-exts @@ -222935,8 +223292,8 @@ self: { }: mkDerivation { pname = "reflex-dom-core"; - version = "0.6.2.0"; - sha256 = "067m8ifgkknafy0nxzmns89dqjzpsc983pm3gaq7dg618jp1dzy4"; + version = "0.6.2.1"; + sha256 = "1xqb0m1p2x8s2x98j9nlq707p92gdjby9k925l13bly3rh1kk4y4"; libraryHaskellDepends = [ aeson base bifunctors bimap blaze-builder bytestring case-insensitive constraints containers contravariant data-default @@ -228335,6 +228692,25 @@ self: { broken = true; }) {}; + "rle" = callPackage + ({ mkDerivation, base, cereal, deepseq, portray, portray-diff + , QuickCheck, test-framework, test-framework-quickcheck2, wrapped + }: + mkDerivation { + pname = "rle"; + version = "0.1.0.0"; + sha256 = "0d1y0s38dh0bx16zd5gadlckx2k5wa6g8xn350gimihlpvwfc5m4"; + libraryHaskellDepends = [ + base cereal deepseq portray portray-diff wrapped + ]; + testHaskellDepends = [ + base cereal deepseq portray portray-diff QuickCheck test-framework + test-framework-quickcheck2 wrapped + ]; + description = "A data type of run-length-encoded lists"; + license = lib.licenses.asl20; + }) {}; + "rlglue" = callPackage ({ mkDerivation, base, binary, bytestring, data-binary-ieee754 , exceptions, network, network-simple, parsec, random, transformers @@ -229555,8 +229931,8 @@ self: { }: mkDerivation { pname = "row-types"; - version = "1.0.1.0"; - sha256 = "0msk1s6mnhclj9v2x2nnvbw3d4lbxhx2ks2hxaa726l3psakbs22"; + version = "1.0.1.2"; + sha256 = "05vfnhcfi7wsidxiknl8a28xvlid2q095qhah08r7mj9zq38da8f"; libraryHaskellDepends = [ base constraints deepseq generic-lens hashable profunctors text unordered-containers @@ -231711,6 +232087,50 @@ self: { license = lib.licenses.bsd3; }) {}; + "sandwich_0_1_0_9" = callPackage + ({ mkDerivation, aeson, ansi-terminal, async, base, brick + , bytestring, colour, containers, directory, exceptions, filepath + , free, haskell-src-exts, lens, lifted-async, microlens + , microlens-th, monad-control, monad-logger, mtl + , optparse-applicative, pretty-show, process, safe, safe-exceptions + , stm, string-interpolate, template-haskell, text, time + , transformers, transformers-base, unix, unliftio-core, vector, vty + }: + mkDerivation { + pname = "sandwich"; + version = "0.1.0.9"; + sha256 = "07knl1kpbg85df08q07byjid26bkgk514pngkf58h9wy4y5l5il7"; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson ansi-terminal async base brick bytestring colour containers + directory exceptions filepath free haskell-src-exts lens + lifted-async microlens microlens-th monad-control monad-logger mtl + optparse-applicative pretty-show process safe safe-exceptions stm + string-interpolate template-haskell text time transformers + transformers-base unix unliftio-core vector vty + ]; + executableHaskellDepends = [ + aeson ansi-terminal async base brick bytestring colour containers + directory exceptions filepath free haskell-src-exts lens + lifted-async microlens microlens-th monad-control monad-logger mtl + optparse-applicative pretty-show process safe safe-exceptions stm + string-interpolate template-haskell text time transformers + transformers-base unix unliftio-core vector vty + ]; + testHaskellDepends = [ + aeson ansi-terminal async base brick bytestring colour containers + directory exceptions filepath free haskell-src-exts lens + lifted-async microlens microlens-th monad-control monad-logger mtl + optparse-applicative pretty-show process safe safe-exceptions stm + string-interpolate template-haskell text time transformers + transformers-base unix unliftio-core vector vty + ]; + description = "Yet another test framework for Haskell"; + license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + }) {}; + "sandwich-quickcheck" = callPackage ({ mkDerivation, base, brick, free, monad-control, QuickCheck , safe-exceptions, sandwich, string-interpolate, text, time @@ -231731,6 +232151,27 @@ self: { license = lib.licenses.bsd3; }) {}; + "sandwich-quickcheck_0_1_0_6" = callPackage + ({ mkDerivation, base, free, monad-control, mtl, QuickCheck + , safe-exceptions, sandwich, text, time + }: + mkDerivation { + pname = "sandwich-quickcheck"; + version = "0.1.0.6"; + sha256 = "1vlp15hcmrxrqwzqgk7ykpg3pvr0wd2cz6pib61yrxmp7334cf4y"; + libraryHaskellDepends = [ + base free monad-control mtl QuickCheck safe-exceptions sandwich + text time + ]; + testHaskellDepends = [ + base free monad-control mtl QuickCheck safe-exceptions sandwich + text time + ]; + description = "Sandwich integration with QuickCheck"; + license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + }) {}; + "sandwich-slack" = callPackage ({ mkDerivation, aeson, base, bytestring, containers, lens , lens-aeson, monad-logger, mtl, safe, safe-exceptions, sandwich @@ -231761,6 +232202,37 @@ self: { license = lib.licenses.bsd3; }) {}; + "sandwich-slack_0_1_0_6" = callPackage + ({ mkDerivation, aeson, base, bytestring, containers, lens + , lens-aeson, monad-logger, mtl, safe, safe-exceptions, sandwich + , stm, string-interpolate, text, time, vector, wreq + }: + mkDerivation { + pname = "sandwich-slack"; + version = "0.1.0.6"; + sha256 = "1ck4amyxcf2qpgx3qpbg2f137bi6px83k72bspi2kfn0nnx8gja9"; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson base bytestring containers lens lens-aeson monad-logger mtl + safe safe-exceptions sandwich stm string-interpolate text time + vector wreq + ]; + executableHaskellDepends = [ + aeson base bytestring containers lens lens-aeson monad-logger mtl + safe safe-exceptions sandwich stm string-interpolate text time + vector wreq + ]; + testHaskellDepends = [ + aeson base bytestring containers lens lens-aeson monad-logger mtl + safe safe-exceptions sandwich stm string-interpolate text time + vector wreq + ]; + description = "Sandwich integration with Slack"; + license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + }) {}; + "sandwich-webdriver" = callPackage ({ mkDerivation, aeson, base, containers, data-default, directory , exceptions, filepath, http-client, http-client-tls, http-conduit @@ -239920,6 +240392,40 @@ self: { license = lib.licenses.bsd3; }) {}; + "shake_0_19_6" = callPackage + ({ mkDerivation, base, binary, bytestring, deepseq, directory + , extra, filepath, filepattern, hashable, heaps, js-dgtable + , js-flot, js-jquery, primitive, process, QuickCheck, random, time + , transformers, unix, unordered-containers, utf8-string + }: + mkDerivation { + pname = "shake"; + version = "0.19.6"; + sha256 = "0hnm3h1ni4jq73a7b7yxhbg9wm8mrjda5kmkpnmclynnpwvvi7bx"; + isLibrary = true; + isExecutable = true; + enableSeparateDataOutput = true; + libraryHaskellDepends = [ + base binary bytestring deepseq directory extra filepath filepattern + hashable heaps js-dgtable js-flot js-jquery primitive process + random time transformers unix unordered-containers utf8-string + ]; + executableHaskellDepends = [ + base binary bytestring deepseq directory extra filepath filepattern + hashable heaps js-dgtable js-flot js-jquery primitive process + random time transformers unix unordered-containers utf8-string + ]; + testHaskellDepends = [ + base binary bytestring deepseq directory extra filepath filepattern + hashable heaps js-dgtable js-flot js-jquery primitive process + QuickCheck random time transformers unix unordered-containers + utf8-string + ]; + description = "Build system library, like Make, but more accurate dependencies"; + license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + }) {}; + "shake-ats" = callPackage ({ mkDerivation, base, binary, cdeps, dependency, directory, hs2ats , language-ats, microlens, shake, shake-c, shake-cabal, shake-ext @@ -239939,16 +240445,17 @@ self: { }) {}; "shake-bench" = callPackage - ({ mkDerivation, aeson, base, Chart, Chart-diagrams, diagrams - , diagrams-svg, directory, extra, filepath, shake, text + ({ mkDerivation, aeson, base, Chart, Chart-diagrams + , diagrams-contrib, diagrams-core, diagrams-lib, diagrams-svg + , directory, extra, filepath, shake, text }: mkDerivation { pname = "shake-bench"; - version = "0.1.0.0"; - sha256 = "09lgmiw77nr3xycxksvzmcw1c2j66h51d5vxpm0lngv1dnsrad64"; + version = "0.1.0.1"; + sha256 = "0sjxxkv6ji8zlgxx8mxsgwzphcl26g1syy8ky0m8kqahysaydfx7"; libraryHaskellDepends = [ - aeson base Chart Chart-diagrams diagrams diagrams-svg directory - extra filepath shake text + aeson base Chart Chart-diagrams diagrams-contrib diagrams-core + diagrams-lib diagrams-svg directory extra filepath shake text ]; description = "Build rules for historical benchmarking"; license = lib.licenses.asl20; @@ -241150,6 +241657,52 @@ self: { broken = true; }) {}; + "short-vec" = callPackage + ({ mkDerivation, adjunctions, base, data-default-class, deepseq + , distributive, fin-int, gauge, HUnit, indexed-traversable + , integer-gmp, portray, portray-diff, QuickCheck, semigroupoids + , sint, test-framework, test-framework-hunit + , test-framework-quickcheck2 + }: + mkDerivation { + pname = "short-vec"; + version = "0.1.0.0"; + sha256 = "0w651jipwxh7k4ng5rvq507br4347hzy8x8c47c1g7haryj80gzq"; + libraryHaskellDepends = [ + adjunctions base data-default-class deepseq distributive fin-int + indexed-traversable integer-gmp portray portray-diff QuickCheck + semigroupoids sint + ]; + testHaskellDepends = [ + adjunctions base data-default-class deepseq distributive fin-int + HUnit indexed-traversable integer-gmp portray portray-diff + QuickCheck semigroupoids sint test-framework test-framework-hunit + test-framework-quickcheck2 + ]; + benchmarkHaskellDepends = [ + adjunctions base data-default-class deepseq distributive fin-int + gauge indexed-traversable integer-gmp portray portray-diff + QuickCheck semigroupoids sint + ]; + description = "A length-indexed vector type build on 'SmallArray#'"; + license = lib.licenses.asl20; + }) {}; + + "short-vec-lens" = callPackage + ({ mkDerivation, base, fin-int, indexed-traversable, lens + , short-vec, sint + }: + mkDerivation { + pname = "short-vec-lens"; + version = "0.1.0.0"; + sha256 = "1afz1izz19xrjy0cdhmpy7b667waa5v8jh1ps3jpjfpgbmysjz3g"; + libraryHaskellDepends = [ + base fin-int indexed-traversable lens short-vec sint + ]; + description = "Lenses and related functionality for the `short-vec` package"; + license = lib.licenses.asl20; + }) {}; + "shortbytestring" = callPackage ({ mkDerivation, base, bytestring, deepseq, exceptions, ghc-prim , primitive, random, tasty, tasty-bench, tasty-quickcheck @@ -243320,6 +243873,23 @@ self: { broken = true; }) {}; + "sint" = callPackage + ({ mkDerivation, base, portray, portray-diff, QuickCheck + , test-framework, test-framework-quickcheck2 + }: + mkDerivation { + pname = "sint"; + version = "0.1.0.0"; + sha256 = "1gqd5m5r3i9qvszzb1ljjip5c7bnsp5nblmghg4lhbpfrs7r87gf"; + libraryHaskellDepends = [ base portray portray-diff ]; + testHaskellDepends = [ + base portray portray-diff QuickCheck test-framework + test-framework-quickcheck2 + ]; + description = "A singleton type for `Nat` represented as `Int`"; + license = lib.licenses.asl20; + }) {}; + "siphash" = callPackage ({ mkDerivation, base, bytestring, cpu, QuickCheck, test-framework , test-framework-quickcheck2 @@ -246999,6 +247569,17 @@ self: { broken = true; }) {}; + "snumber" = callPackage + ({ mkDerivation, base, numeric-kinds }: + mkDerivation { + pname = "snumber"; + version = "0.1.0.0"; + sha256 = "0f340hzhhmiy342c5250m61f3gkcnfymjbd2a13alzdh7pmhb2mg"; + libraryHaskellDepends = [ base numeric-kinds ]; + description = "Indexed numeric types linking type-level and value-level numbers"; + license = lib.licenses.asl20; + }) {}; + "soap" = callPackage ({ mkDerivation, base, bytestring, conduit, configurator , data-default, exceptions, hspec, http-client, http-types, HUnit @@ -253506,8 +254087,8 @@ self: { ({ mkDerivation, base, hspec, streaming }: mkDerivation { pname = "streaming-nonempty"; - version = "0.1.0.0"; - sha256 = "0ykw92p2v8v0dlq68733wyh211dh7cd8s3iirnkbnabm0vyc20y6"; + version = "0.1.0.1"; + sha256 = "1d0r4isxl9g5q2fcqz17iyxmzxg4hnj9xw95sxqz3mfw9l02lc85"; libraryHaskellDepends = [ base streaming ]; testHaskellDepends = [ base hspec streaming ]; description = "Add support for non empty streams to Streaming lib"; @@ -254301,6 +254882,25 @@ self: { license = lib.licenses.mit; }) {}; + "strict-list_0_1_6" = callPackage + ({ mkDerivation, base, deepseq, hashable, QuickCheck + , quickcheck-instances, rerebase, semigroupoids, tasty, tasty-hunit + , tasty-quickcheck + }: + mkDerivation { + pname = "strict-list"; + version = "0.1.6"; + sha256 = "0cbf3my7fghifplk7l2m77cc0x7xkh1pyv5k36h7dl6m2ddhmdc1"; + libraryHaskellDepends = [ base deepseq hashable semigroupoids ]; + testHaskellDepends = [ + QuickCheck quickcheck-instances rerebase tasty tasty-hunit + tasty-quickcheck + ]; + description = "Strict linked list"; + license = lib.licenses.mit; + hydraPlatforms = lib.platforms.none; + }) {}; + "strict-optics" = callPackage ({ mkDerivation, base, optics-core, strict }: mkDerivation { @@ -255876,12 +256476,12 @@ self: { }) {}; "summer" = callPackage - ({ mkDerivation, base, generics-sop, vector }: + ({ mkDerivation, base, generics-sop, profunctors, vector }: mkDerivation { pname = "summer"; - version = "0.3.2.0"; - sha256 = "1gs9w6a5wh14f4c868b85acz92wn0s75cv8hadiws0546g4amb9v"; - libraryHaskellDepends = [ base generics-sop vector ]; + version = "0.3.7.0"; + sha256 = "13hcvr8rpl6ji76r52zk5dq60khf9rbks3iisj0y6b6lzz2jpf76"; + libraryHaskellDepends = [ base generics-sop profunctors vector ]; testHaskellDepends = [ base ]; description = "An implementation of extensible products and sums"; license = lib.licenses.mit; @@ -262429,6 +263029,8 @@ self: { pname = "ten-lens"; version = "0.1.0.0"; sha256 = "1b27ds47395jnzqvhsp68807ffa6lmln37vzqkyp1l4r3bk2s7wb"; + revision = "1"; + editedCabalFile = "0ik4f5f4as087ync93znh90hw3fhqr2amk8mz5b10pqf6wfrm9pf"; libraryHaskellDepends = [ base lens profunctors some ten ]; description = "Lenses for the types in the \"ten\" package"; license = lib.licenses.asl20; @@ -262444,6 +263046,8 @@ self: { pname = "ten-unordered-containers"; version = "0.1.0.0"; sha256 = "1p399g5m3sbd5f11wksiz49hjd4jrs000jypav82dqw9qr2ys0xl"; + revision = "1"; + editedCabalFile = "0pn7xhissqw71xz00v01s9s81hbklyhsqrdqhwkz4b6h6paay5xz"; libraryHaskellDepends = [ base hashable portray portray-diff some ten unordered-containers wrapped @@ -262908,14 +263512,12 @@ self: { broken = true; }) {}; - "terminfo_0_4_1_4" = callPackage + "terminfo_0_4_1_5" = callPackage ({ mkDerivation, base, ncurses }: mkDerivation { pname = "terminfo"; - version = "0.4.1.4"; - sha256 = "170pnql6ycpk6gwy9v28mppm0w2n89l0n6fhnzph2za9kwrs9fqh"; - revision = "1"; - editedCabalFile = "0f82h8mj3swx7c2cxls76nzqx0qnibvsncmvqcbc7v5db4mkfmm1"; + version = "0.4.1.5"; + sha256 = "0s0x5knl4hsmzlklabcd7c0m468gisg5cnf842wi1vfg8q922q5i"; libraryHaskellDepends = [ base ]; librarySystemDepends = [ ncurses ]; description = "Haskell bindings to the terminfo library"; @@ -280415,6 +281017,28 @@ self: { broken = true; }) {}; + "vector-hashtables" = callPackage + ({ mkDerivation, base, containers, criterion, hashable, hashtables + , hspec, hspec-discover, primitive, QuickCheck + , quickcheck-instances, unordered-containers, vector + }: + mkDerivation { + pname = "vector-hashtables"; + version = "0.1.1.1"; + sha256 = "02kixbi9v4rcj46fvvba5aq6vn6f5yncnvc71f4y7h1wq5b452jj"; + libraryHaskellDepends = [ base hashable primitive vector ]; + testHaskellDepends = [ + base containers hashable hspec primitive QuickCheck + quickcheck-instances vector + ]; + testToolDepends = [ hspec-discover ]; + benchmarkHaskellDepends = [ + base criterion hashtables primitive unordered-containers vector + ]; + description = "Efficient vector-based mutable hashtables implementation"; + license = lib.licenses.bsd3; + }) {}; + "vector-heterogenous" = callPackage ({ mkDerivation, base, vector }: mkDerivation { @@ -284988,30 +285612,25 @@ self: { }) {}; "web-rep" = callPackage - ({ mkDerivation, attoparsec, base, box, box-socket, clay - , concurrency, doctest, generic-lens, interpolatedstring-perl6 - , language-javascript, lens, lucid, mtl, network-simple, numhask - , optparse-generic, scotty, tasty, tasty-hspec, text, transformers - , unordered-containers, wai-middleware-static, wai-websockets - , websockets + ({ mkDerivation, attoparsec, base, bifunctors, box, box-socket + , clay, concurrency, generic-lens, interpolatedstring-perl6 + , language-javascript, lens, lucid, mtl, optparse-generic, scotty + , text, transformers, unordered-containers, wai-middleware-static + , wai-websockets, websockets }: mkDerivation { pname = "web-rep"; - version = "0.7.2"; - sha256 = "1h6krrm412b9374778jg33gdmk6ig0sp06yk68h5prjdgy6shmww"; + version = "0.8.0"; + sha256 = "1ri1sczacxy351jsdaiz7iwsl8b19a1jvzppyxf56grm6zr94dmg"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ - attoparsec base box box-socket clay concurrency generic-lens - interpolatedstring-perl6 language-javascript lens lucid mtl - network-simple numhask scotty text transformers - unordered-containers wai-middleware-static wai-websockets - websockets - ]; - executableHaskellDepends = [ base numhask optparse-generic ]; - testHaskellDepends = [ - base doctest lens lucid numhask tasty tasty-hspec text + attoparsec base bifunctors box box-socket clay concurrency + generic-lens interpolatedstring-perl6 language-javascript lens + lucid mtl scotty text transformers unordered-containers + wai-middleware-static wai-websockets websockets ]; + executableHaskellDepends = [ base optparse-generic ]; description = "representations of a web page"; license = lib.licenses.mit; hydraPlatforms = lib.platforms.none; @@ -286251,13 +286870,14 @@ self: { "wgpu-hs" = callPackage ({ mkDerivation, base, bytestring, containers, data-default - , data-has, GLFW-b, lens, mtl, resourcet, safe-exceptions, sdl2 - , string-qq, text, transformers, vector, wgpu-raw-hs + , data-has, derive-storable, GLFW-b, JuicyPixels, lens, linear, mtl + , resourcet, safe-exceptions, sdl2, string-qq, text, transformers + , vector, wgpu-raw-hs }: mkDerivation { pname = "wgpu-hs"; - version = "0.3.0.0"; - sha256 = "1m5rglmj20544x36i64iyiz8zb73pci8aqf483wrpfswrvf2k6xg"; + version = "0.4.0.0"; + sha256 = "10bbjkfv1w8wwiq4kq2r1y8l8l6dyi5d7x5r70w7vk9p624bs8a3"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -286265,8 +286885,9 @@ self: { resourcet safe-exceptions sdl2 text vector wgpu-raw-hs ]; executableHaskellDepends = [ - base data-default data-has GLFW-b lens mtl resourcet - safe-exceptions sdl2 string-qq text transformers vector + base data-default data-has derive-storable GLFW-b JuicyPixels lens + linear mtl resourcet safe-exceptions sdl2 string-qq text + transformers vector ]; doHaddock = false; description = "WGPU"; @@ -286279,8 +286900,8 @@ self: { ({ mkDerivation, base, GLFW-b, SDL2, sdl2, unix }: mkDerivation { pname = "wgpu-raw-hs"; - version = "0.3.0.0"; - sha256 = "0p7j8v0wxjv22b1zmdx0d433rdl91h7p5bcbvm9g30dg8y0fip0x"; + version = "0.4.0.0"; + sha256 = "1j3bajywdg73c5xq8j8f1dw0bcvr5g3di9rwabzm47xnyjd6jcdh"; libraryHaskellDepends = [ base GLFW-b sdl2 unix ]; libraryPkgconfigDepends = [ SDL2 ]; description = "WGPU Raw"; @@ -287920,6 +288541,8 @@ self: { pname = "wrapped-generic-default"; version = "0.1.0.0"; sha256 = "0h1aay81l8b2nih08pli30ly0vcwvi8n2kdxck60ww2qb2b7wzzc"; + revision = "1"; + editedCabalFile = "03wvdf76ddn4xsyc94ya3hycl7isi18lbbn0lsigicas7nhbc2sl"; libraryHaskellDepends = [ base data-default-class wrapped ]; description = "Provides an orphan instance Default (Wrapped Generic a)"; license = lib.licenses.asl20; @@ -292674,6 +293297,35 @@ self: { license = lib.licenses.mit; }) {}; + "yesod-auth_1_6_10_4" = callPackage + ({ mkDerivation, aeson, authenticate, base, base16-bytestring + , base64-bytestring, binary, blaze-builder, blaze-html + , blaze-markup, bytestring, conduit, conduit-extra, containers + , cryptonite, data-default, email-validate, file-embed, http-client + , http-client-tls, http-conduit, http-types, memory, network-uri + , nonce, persistent, random, safe, shakespeare, template-haskell + , text, time, transformers, unliftio, unliftio-core + , unordered-containers, wai, yesod-core, yesod-form + , yesod-persistent + }: + mkDerivation { + pname = "yesod-auth"; + version = "1.6.10.4"; + sha256 = "01s5svba45g0d12cz8kc8lvdw18jfhjxr7yk69cf5157qg0f2czv"; + libraryHaskellDepends = [ + aeson authenticate base base16-bytestring base64-bytestring binary + blaze-builder blaze-html blaze-markup bytestring conduit + conduit-extra containers cryptonite data-default email-validate + file-embed http-client http-client-tls http-conduit http-types + memory network-uri nonce persistent random safe shakespeare + template-haskell text time transformers unliftio unliftio-core + unordered-containers wai yesod-core yesod-form yesod-persistent + ]; + description = "Authentication for Yesod"; + license = lib.licenses.mit; + hydraPlatforms = lib.platforms.none; + }) {}; + "yesod-auth-account" = callPackage ({ mkDerivation, base, blaze-html, bytestring, hspec, monad-logger , mtl, nonce, persistent, persistent-sqlite, pwstore-fast @@ -296867,14 +297519,14 @@ self: { }) {}; "zoovisitor" = callPackage - ({ mkDerivation, base, hspec, Z-Data, Z-IO, zookeeper_mt }: + ({ mkDerivation, base, hspec, uuid, Z-Data, Z-IO, zookeeper_mt }: mkDerivation { pname = "zoovisitor"; - version = "0.1.3.1"; - sha256 = "0mfarqcm2h9chbn7kybw58gd6l2wpjkhpg1vgip92djwmvkilarl"; + version = "0.1.4.0"; + sha256 = "163aixwxjnrbd9gzh73mys2zkbni3sjxmjyg7z374fa1k08rrxya"; libraryHaskellDepends = [ base Z-Data Z-IO ]; librarySystemDepends = [ zookeeper_mt ]; - testHaskellDepends = [ base hspec ]; + testHaskellDepends = [ base hspec uuid Z-Data ]; description = "A haskell binding to Apache Zookeeper C library(mt) using Haskell Z project"; license = lib.licenses.bsd3; hydraPlatforms = lib.platforms.none; diff --git a/pkgs/development/libraries/opendht/default.nix b/pkgs/development/libraries/opendht/default.nix index 3cf29b7351e9..2de005d885a1 100644 --- a/pkgs/development/libraries/opendht/default.nix +++ b/pkgs/development/libraries/opendht/default.nix @@ -5,13 +5,13 @@ stdenv.mkDerivation rec { pname = "opendht"; - version = "2.2.0"; + version = "2.3.1"; src = fetchFromGitHub { owner = "savoirfairelinux"; repo = "opendht"; rev = version; - sha256 = "sha256-u4MWMUbnq2q4FH0TMpbrbhS5erAfT4/3HYGLXaLTz+I="; + sha256 = "sha256-Os5PRYTZMVekQrbwNODWsHANTx6RSC5vzGJ5JoYtvtE="; }; nativeBuildInputs = diff --git a/pkgs/development/libraries/poco/default.nix b/pkgs/development/libraries/poco/default.nix index 8f963bb366a9..57e8fb1a5a75 100644 --- a/pkgs/development/libraries/poco/default.nix +++ b/pkgs/development/libraries/poco/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, cmake, pkg-config, zlib, pcre, expat, sqlite, openssl, unixODBC, libmysqlclient }: +{ lib, stdenv, fetchurl, fetchpatch, cmake, pkg-config, zlib, pcre, expat, sqlite, openssl, unixODBC, libmysqlclient }: stdenv.mkDerivation rec { pname = "poco"; @@ -10,9 +10,31 @@ stdenv.mkDerivation rec { sha256 = "1jilzh0h6ik5lr167nax7q6nrpzxl99p11pkl202ig06pgh32nbz"; }; + patches = [ + # Use GNUInstallDirs (https://github.com/pocoproject/poco/pull/3105) + (fetchpatch { + name = "use-gnuinstalldirs.patch"; + url = "https://github.com/pocoproject/poco/commit/9e8f84dff4575f01be02e0b07364efd1561ce66c.patch"; + sha256 = "1bj4i93gxr7pwx33bfyhg20ad4ak1rbxkrlpsgzk7rm6mh0mld26"; + # Files not included in release tarball + excludes = [ + "Encodings/Compiler/CMakeLists.txt" + "PocoDoc/CMakeLists.txt" + "NetSSL_Win/CMakeLists.txt" + "PDF/CMakeLists.txt" + "SevenZip/CMakeLists.txt" + "ApacheConnector/CMakeLists.txt" + "CppParser/CMakeLists.txt" + ]; + }) + ]; + nativeBuildInputs = [ cmake pkg-config ]; - buildInputs = [ zlib pcre expat sqlite openssl unixODBC libmysqlclient ]; + buildInputs = [ openssl unixODBC libmysqlclient ]; + propagatedBuildInputs = [ zlib pcre expat sqlite ]; + + outputs = [ "out" "dev" ]; MYSQL_DIR = libmysqlclient; MYSQL_INCLUDE_DIR = "${MYSQL_DIR}/include/mysql"; diff --git a/pkgs/development/python-modules/acme-tiny/default.nix b/pkgs/development/python-modules/acme-tiny/default.nix index dcbb9a688f57..79c1ecffb037 100644 --- a/pkgs/development/python-modules/acme-tiny/default.nix +++ b/pkgs/development/python-modules/acme-tiny/default.nix @@ -9,11 +9,11 @@ buildPythonPackage rec { pname = "acme-tiny"; - version = "4.1.1"; + version = "5.0.1"; src = fetchPypi { inherit pname version; - sha256 = "b7050b9428d45319e14ab9ea77f0ff4eb40451e5a68325d4c5358a87cff0e793"; + sha256 = "378549808eece574c3b5dcea82b216534949423d5c7ac241d9419212d676bc8d"; }; patchPhase = '' diff --git a/pkgs/development/python-modules/agate-sql/default.nix b/pkgs/development/python-modules/agate-sql/default.nix index e9747b6f393d..c2e741bef176 100644 --- a/pkgs/development/python-modules/agate-sql/default.nix +++ b/pkgs/development/python-modules/agate-sql/default.nix @@ -11,13 +11,13 @@ buildPythonPackage rec { pname = "agate-sql"; - version = "0.5.7"; + version = "0.5.8"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "7622c1f243b5a9a5efddfe28c36eeeb30081e43e3eb72e8f3da22c2edaecf4d8"; + sha256 = "581e062ae878cc087d3d0948670d46b16589df0790bf814524b0587a359f2ada"; }; propagatedBuildInputs = [ agate sqlalchemy ]; diff --git a/pkgs/development/python-modules/ansible/base.nix b/pkgs/development/python-modules/ansible/base.nix index 68063f0d7787..3156ba18e106 100644 --- a/pkgs/development/python-modules/ansible/base.nix +++ b/pkgs/development/python-modules/ansible/base.nix @@ -28,11 +28,11 @@ let in buildPythonPackage rec { pname = "ansible-base"; - version = "2.10.13"; + version = "2.10.14"; src = fetchPypi { inherit pname version; - sha256 = "sha256-0sKbGUblrgh4SgdiuMSMMvg15GSNb5l6bCqBt4/0860="; + sha256 = "sha256-gAxGRsWKWJf3HyIwFn21YmoZbeuiCPDvRWChg//Z39o="; }; # ansible_connection is already wrapped, so don't pass it through diff --git a/pkgs/development/python-modules/ansible/core.nix b/pkgs/development/python-modules/ansible/core.nix index 0e2d705cc887..b64942b10780 100644 --- a/pkgs/development/python-modules/ansible/core.nix +++ b/pkgs/development/python-modules/ansible/core.nix @@ -23,17 +23,17 @@ let ansible-collections = callPackage ./collections.nix { - version = "4.4.0"; - sha256 = "031n22j0lsmh69x6i6gkva81j68b4yzh1pbg3q2h4bknl85q46ag"; + version = "4.5.0"; + sha256 = "1c8dspqy4in7sgz10y1pggwnh1hv79wap7p7xhai0f0s6nr54lyc"; }; in buildPythonPackage rec { pname = "ansible-core"; - version = "2.11.4"; + version = "2.11.5"; src = fetchPypi { inherit pname version; - sha256 = "sha256-Iuqnwt/myHXprjgDI/HLpiWcYFCl5MiBn4X5KzaD6kk="; + sha256 = "sha256-fTzkcBQSKQdFRwQ2NIXkhRP4rQ8AE4uIhw622IlT0SE="; }; # ansible_connection is already wrapped, so don't pass it through diff --git a/pkgs/development/python-modules/ansible/legacy.nix b/pkgs/development/python-modules/ansible/legacy.nix index e7687f9b99de..3957e109c7c0 100644 --- a/pkgs/development/python-modules/ansible/legacy.nix +++ b/pkgs/development/python-modules/ansible/legacy.nix @@ -18,11 +18,11 @@ buildPythonPackage rec { pname = "ansible"; - version = "2.9.25"; + version = "2.9.26"; src = fetchPypi { inherit pname version; - sha256 = "sha256-i88sL1xgnluREUyosOQibWA7h/K+cdyzOOi30626oo8="; + sha256 = "sha256-OuAqrSu+3PtBnOdevSpkjp3rc+ni2N6GyC1gR7G962M="; }; prePatch = '' diff --git a/pkgs/development/python-modules/azure-mgmt-storage/default.nix b/pkgs/development/python-modules/azure-mgmt-storage/default.nix index 86c5005c8769..3c47f7f0dad2 100644 --- a/pkgs/development/python-modules/azure-mgmt-storage/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-storage/default.nix @@ -8,14 +8,14 @@ }: buildPythonPackage rec { - version = "18.0.0"; + version = "19.0.0"; pname = "azure-mgmt-storage"; disabled = !isPy3k; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "d17beb34273797fa89863632ff0e1eb9b6a55198abb8c7f05d84980762e5f71f"; + sha256 = "f05963e5a8696d0fd4dcadda4feecb9b382a380d2e461b3647704ac787d79876"; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/boto3/1_17.nix b/pkgs/development/python-modules/boto3/1_17.nix new file mode 100644 index 000000000000..c8b8210f6503 --- /dev/null +++ b/pkgs/development/python-modules/boto3/1_17.nix @@ -0,0 +1,50 @@ +{ lib +, buildPythonPackage +, fetchPypi +, botocore +, jmespath +, s3transfer +, futures ? null +, docutils +, nose +, mock +, isPy3k +}: + +buildPythonPackage rec { + pname = "boto3"; + version = "1.17.97"; # N.B: if you change this, change botocore and awscli to a matching version + + src = fetchPypi { + inherit pname version; + sha256 = "0ab5afc51461c30f27aebef944211d16f47697b98ff8d2e2f6e49e59584853bb"; + }; + + propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ]; + checkInputs = [ docutils nose mock ]; + + checkPhase = '' + runHook preCheck + # This method is not in mock. It might have appeared in some versions. + sed -i 's/action.assert_called_once()/self.assertEqual(action.call_count, 1)/' \ + tests/unit/resources/test_factory.py + nosetests -d tests/unit --verbose + runHook postCheck + ''; + + # Network access + doCheck = false; + + pythonImportsCheck = [ "boto3" ]; + + meta = { + homepage = "https://github.com/boto/boto3"; + license = lib.licenses.asl20; + description = "AWS SDK for Python"; + longDescription = '' + Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for + Python, which allows Python developers to write software that makes use of + services like Amazon S3 and Amazon EC2. + ''; + }; +} diff --git a/pkgs/development/python-modules/boto3/default.nix b/pkgs/development/python-modules/boto3/default.nix index 07a79a6a886b..3ecc2034d483 100644 --- a/pkgs/development/python-modules/boto3/default.nix +++ b/pkgs/development/python-modules/boto3/default.nix @@ -13,11 +13,11 @@ buildPythonPackage rec { pname = "boto3"; - version = "1.17.106"; # N.B: if you change this, change botocore and awscli to a matching version + version = "1.18.31"; # N.B: if you change this, change botocore and awscli to a matching version src = fetchPypi { inherit pname version; - sha256 = "sha256-wHQDeLkTylP1/A26kemadSxaMK57WKDF5U4+KmjfJsU="; + sha256 = "sha256-WURdDh1VyMlnVpfqQcmKDYIImkvjB26mDjqHy+lNwUE="; }; propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ]; diff --git a/pkgs/development/python-modules/botocore/1_20.nix b/pkgs/development/python-modules/botocore/1_20.nix new file mode 100644 index 000000000000..d05c2decf497 --- /dev/null +++ b/pkgs/development/python-modules/botocore/1_20.nix @@ -0,0 +1,48 @@ +{ lib +, buildPythonPackage +, fetchPypi +, python-dateutil +, jmespath +, docutils +, ordereddict +, simplejson +, mock +, nose +, urllib3 +}: + +buildPythonPackage rec { + pname = "botocore"; + version = "1.20.97"; # N.B: if you change this, change boto3 and awscli to a matching version + + src = fetchPypi { + inherit pname version; + sha256 = "f7e119cf3e0f4a36100f0e983583afa91a84fb27c479a1716820aee4f2e190ab"; + }; + + propagatedBuildInputs = [ + python-dateutil + jmespath + docutils + ordereddict + simplejson + urllib3 + ]; + + checkInputs = [ mock nose ]; + + checkPhase = '' + nosetests -v + ''; + + # Network access + doCheck = false; + + pythonImportsCheck = [ "botocore" ]; + + meta = with lib; { + homepage = "https://github.com/boto/botocore"; + license = licenses.asl20; + description = "A low-level interface to a growing number of Amazon Web Services"; + }; +} diff --git a/pkgs/development/python-modules/botocore/default.nix b/pkgs/development/python-modules/botocore/default.nix index fc275edcc9de..cdb3f54c855e 100644 --- a/pkgs/development/python-modules/botocore/default.nix +++ b/pkgs/development/python-modules/botocore/default.nix @@ -13,11 +13,11 @@ buildPythonPackage rec { pname = "botocore"; - version = "1.20.106"; # N.B: if you change this, change boto3 and awscli to a matching version + version = "1.21.31"; # N.B: if you change this, change boto3 and awscli to a matching version src = fetchPypi { inherit pname version; - sha256 = "sha256-bVyYOAix0AQ39W0MCEEr2C2fgBL9t35VX5cneh/U1d8="; + sha256 = "sha256-WM0xXirglxrNs9fNqcnDa0HHMYH0GUOnRDgS1tPJrRg="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/breathe/default.nix b/pkgs/development/python-modules/breathe/default.nix index d863d9463992..7770996f423d 100644 --- a/pkgs/development/python-modules/breathe/default.nix +++ b/pkgs/development/python-modules/breathe/default.nix @@ -1,13 +1,13 @@ { lib, fetchPypi, buildPythonPackage, docutils, six, sphinx, isPy3k, isPy27 }: buildPythonPackage rec { - version = "4.30.0"; + version = "4.31.0"; pname = "breathe"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "363dec85abc0c4b3f22628b0cf82cc2dc46c4397d8a18312d1a7d1365d49b014"; + sha256 = "925eeff96c6640cd857e4ddeae6f75464a1d5e2e08ee56dccce4043583ae2050"; }; propagatedBuildInputs = [ docutils six sphinx ]; diff --git a/pkgs/development/python-modules/gdown/default.nix b/pkgs/development/python-modules/gdown/default.nix index bbb7c195d902..1528136bc394 100644 --- a/pkgs/development/python-modules/gdown/default.nix +++ b/pkgs/development/python-modules/gdown/default.nix @@ -10,11 +10,11 @@ buildPythonApplication rec { pname = "gdown"; - version = "3.13.0"; + version = "3.13.1"; src = fetchPypi { inherit pname version; - sha256 = "d5f9389539673875712beba4936c4ace95d24324953c6f0408a858c534c0bf21"; + sha256 = "sha256-vh1NKRPk1e5cT3cVj8IrzmpaZ9yY2KtWrTGsCU9KkP4="; }; propagatedBuildInputs = [ filelock requests tqdm setuptools six ]; diff --git a/pkgs/development/python-modules/gensim/default.nix b/pkgs/development/python-modules/gensim/default.nix index 8972b356805a..ca185d517b14 100644 --- a/pkgs/development/python-modules/gensim/default.nix +++ b/pkgs/development/python-modules/gensim/default.nix @@ -11,12 +11,12 @@ buildPythonPackage rec { pname = "gensim"; - version = "4.1.0"; + version = "4.1.1"; disabled = !isPy3k; src = fetchPypi { inherit pname version; - sha256 = "0b09983048a97c7915ab50500bc53eeec438d26366041598709ec156db3eef1f"; + sha256 = "7c762daa4029046dfbe467fdd79f911aa140748bf50dc64dbeddc8eaa07f760b"; }; propagatedBuildInputs = [ smart-open numpy six scipy ]; diff --git a/pkgs/development/python-modules/google-cloud-secret-manager/default.nix b/pkgs/development/python-modules/google-cloud-secret-manager/default.nix index 30174afcbb05..6436fe9d6089 100644 --- a/pkgs/development/python-modules/google-cloud-secret-manager/default.nix +++ b/pkgs/development/python-modules/google-cloud-secret-manager/default.nix @@ -12,11 +12,11 @@ buildPythonPackage rec { pname = "google-cloud-secret-manager"; - version = "2.7.0"; + version = "2.7.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-gfNoCfh2ssHgYcQ1kfQedcfhpqsu3x50hdYrm11SKGo="; + sha256 = "84ae86a2320425df2e78d981d4ab26bff591ade1b978c18c929188b741a7b37d"; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/gssapi/default.nix b/pkgs/development/python-modules/gssapi/default.nix index cbb81d3c7f61..ce2ba8d3730f 100644 --- a/pkgs/development/python-modules/gssapi/default.nix +++ b/pkgs/development/python-modules/gssapi/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "gssapi"; - version = "1.6.14"; + version = "1.7.0"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "pythongssapi"; repo = "python-${pname}"; rev = "v${version}"; - sha256 = "sha256-pL8uvHUdev+nDG0nGh7j7VIJCIQv0egPoTa9hUMuEZc="; + sha256 = "0ybijgsr4ra7x1w86sva4qljhm54ilm2zv4z0ry1r14kq9hmjfa4"; }; # It's used to locate headers diff --git a/pkgs/development/python-modules/lark-parser/default.nix b/pkgs/development/python-modules/lark-parser/default.nix index 9f787563e5a4..c1c67fd4c1ea 100644 --- a/pkgs/development/python-modules/lark-parser/default.nix +++ b/pkgs/development/python-modules/lark-parser/default.nix @@ -7,13 +7,13 @@ buildPythonPackage rec { pname = "lark-parser"; - version = "0.11.3"; + version = "0.12.0"; src = fetchFromGitHub { owner = "lark-parser"; repo = "lark"; rev = version; - sha256 = "1ggvlzpdzlrxl46fgi8cfq2rzlwn21shpdkm4pknnhfjlsinv913"; + sha256 = "sha256-zcMGCn3ixD3dJg3GlC/ijs+U1JN1BodHLTXZc/5UR7Y="; }; # Optional import, but fixes some re known bugs & allows advanced regex features diff --git a/pkgs/development/python-modules/mypy-protobuf/default.nix b/pkgs/development/python-modules/mypy-protobuf/default.nix index 17b0d068c981..c7194d19b5cb 100644 --- a/pkgs/development/python-modules/mypy-protobuf/default.nix +++ b/pkgs/development/python-modules/mypy-protobuf/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchPypi, buildPythonApplication, protobuf, pythonOlder }: +{ lib, fetchPypi, buildPythonApplication, protobuf, types-protobuf, grpcio-tools, pythonOlder }: buildPythonApplication rec { pname = "mypy-protobuf"; @@ -11,7 +11,7 @@ buildPythonApplication rec { sha256 = "278172935d7121c2f8c7c0a05518dd565a2b76d9e9c4a0a3fcd08a21fa685d43"; }; - propagatedBuildInputs = [ protobuf ]; + propagatedBuildInputs = [ protobuf types-protobuf grpcio-tools ]; meta = with lib; { description = "Generate mypy stub files from protobuf specs"; diff --git a/pkgs/development/python-modules/ptpython/default.nix b/pkgs/development/python-modules/ptpython/default.nix index f6befe1bd622..cfe65a24ece3 100644 --- a/pkgs/development/python-modules/ptpython/default.nix +++ b/pkgs/development/python-modules/ptpython/default.nix @@ -10,12 +10,12 @@ buildPythonPackage rec { pname = "ptpython"; - version = "3.0.19"; + version = "3.0.20"; disabled = !isPy3k; src = fetchPypi { inherit pname version; - sha256 = "b3d41ce7c2ce0e7e55051347eae400fc56b9b42b1c4a9db25b19ccf6195bfc12"; + sha256 = "eafd4ced27ca5dc370881d4358d1ab5041b32d88d31af8e3c24167fe4af64ed6"; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/pypandoc/default.nix b/pkgs/development/python-modules/pypandoc/default.nix index 3d3af7f4669b..ecb87d951b31 100644 --- a/pkgs/development/python-modules/pypandoc/default.nix +++ b/pkgs/development/python-modules/pypandoc/default.nix @@ -4,13 +4,13 @@ buildPythonPackage rec { pname = "pypandoc"; - version = "1.6.3"; + version = "1.6.4"; src = fetchFromGitHub { owner = "NicklasTegner"; repo = pname; - rev = version; - sha256 = "163wkcm06klr68dadr9mb8gblj0ls26w097bjrg4f5j0533ysdpp"; + rev = "v${version}"; + sha256 = "0rssjig3nwdi4qvsjq7v7k8jyv6l9szfl5dp1a8s54c4j4dw37nh"; }; patches = [ diff --git a/pkgs/development/python-modules/python-sql/default.nix b/pkgs/development/python-modules/python-sql/default.nix index a07941e5de4a..a32dcfa5f003 100644 --- a/pkgs/development/python-modules/python-sql/default.nix +++ b/pkgs/development/python-modules/python-sql/default.nix @@ -2,11 +2,11 @@ buildPythonPackage rec { pname = "python-sql"; - version = "1.2.2"; + version = "1.3.0"; src = fetchPypi { inherit pname version; - sha256 = "2d916357a0172c35eccac29064cd18cd41616fc60109a37dac0e9d11a0b1183a"; + sha256 = "9d603a6273f2f5966bab7ce77e1f50e88818d5237ac85e566e2dc84ebfabd176"; }; meta = { diff --git a/pkgs/development/python-modules/s3transfer/0_4.nix b/pkgs/development/python-modules/s3transfer/0_4.nix new file mode 100644 index 000000000000..8cfd324f00a5 --- /dev/null +++ b/pkgs/development/python-modules/s3transfer/0_4.nix @@ -0,0 +1,52 @@ +{ lib +, fetchPypi +, pythonOlder +, buildPythonPackage +, docutils +, mock +, nose +, coverage +, wheel +, unittest2 +, botocore +, futures ? null +}: + +buildPythonPackage rec { + pname = "s3transfer"; + version = "0.4.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-ywIvSxZVHt67sxo3fT8JYA262nNj2MXbeXbn9Hcy4bI="; + }; + + propagatedBuildInputs = + [ + botocore + ] ++ lib.optional (pythonOlder "3") futures; + + buildInputs = [ + docutils + mock + nose + coverage + wheel + unittest2 + ]; + + checkPhase = '' + pushd s3transfer/tests + nosetests -v unit/ functional/ + popd + ''; + + # version on pypi has no tests/ dir + doCheck = false; + + meta = with lib; { + homepage = "https://github.com/boto/s3transfer"; + license = licenses.asl20; + description = "A library for managing Amazon S3 transfers"; + }; +} diff --git a/pkgs/development/python-modules/s3transfer/default.nix b/pkgs/development/python-modules/s3transfer/default.nix index e41e4165b9cb..9ed50fb9e49e 100644 --- a/pkgs/development/python-modules/s3transfer/default.nix +++ b/pkgs/development/python-modules/s3transfer/default.nix @@ -14,15 +14,16 @@ buildPythonPackage rec { pname = "s3transfer"; - version = "0.4.2"; + version = "0.5.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-ywIvSxZVHt67sxo3fT8JYA262nNj2MXbeXbn9Hcy4bI="; + sha256 = "sha256-UO2CPh3FhorUDI3JIHL3V6oOZToZKEXJSjtnb0pi2kw="; }; propagatedBuildInputs = - [ botocore + [ + botocore ] ++ lib.optional (pythonOlder "3") futures; buildInputs = [ diff --git a/pkgs/development/python-modules/spacy/legacy.nix b/pkgs/development/python-modules/spacy/legacy.nix index f8b011d83ccf..9bb37e9beb18 100644 --- a/pkgs/development/python-modules/spacy/legacy.nix +++ b/pkgs/development/python-modules/spacy/legacy.nix @@ -6,11 +6,11 @@ buildPythonPackage rec { pname = "spacy-legacy"; - version = "3.0.5"; + version = "3.0.8"; src = fetchPypi { inherit pname version; - sha256 = "sha256-Uy94rjFllSj622RTzd6UJaQmIniCw4gpeq/X57QcIpA="; + sha256 = "b4725c5c161f0685ab4fce3fc912bc68aefdb7e102ba9848e852bb5842256c2f"; }; # checkInputs = [ pytestCheckHook spacy ]; diff --git a/pkgs/development/python-modules/sphinx-argparse/default.nix b/pkgs/development/python-modules/sphinx-argparse/default.nix index 3f1a80c3c97b..bd7197b2bf2b 100644 --- a/pkgs/development/python-modules/sphinx-argparse/default.nix +++ b/pkgs/development/python-modules/sphinx-argparse/default.nix @@ -7,11 +7,11 @@ buildPythonPackage rec { pname = "sphinx-argparse"; - version = "0.2.5"; + version = "0.3.1"; src = fetchPypi { inherit pname version; - sha256 = "05wc8f5hb3jsg2vh2jf7jsyan8d4i09ifrz2c8fp6f7x1zw9iav0"; + sha256 = "82151cbd43ccec94a1530155f4ad34f251aaca6a0ffd5516d7fadf952d32dc1e"; }; checkInputs = [ diff --git a/pkgs/development/python-modules/teslajsonpy/default.nix b/pkgs/development/python-modules/teslajsonpy/default.nix index 6fefda407f90..d66ce20d697e 100644 --- a/pkgs/development/python-modules/teslajsonpy/default.nix +++ b/pkgs/development/python-modules/teslajsonpy/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "teslajsonpy"; - version = "0.19.0"; + version = "0.21.0"; format = "pyproject"; src = fetchFromGitHub { owner = "zabuldon"; repo = pname; rev = "v${version}"; - sha256 = "04ihjxysfmppwa7rnz86nd89wrqks2gwvcza8707yddzfp5hh8id"; + sha256 = "1rwp3aag21hdkis2wx680ckja0203grm7naldaj8d2kpy4697m54"; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/types-futures/default.nix b/pkgs/development/python-modules/types-futures/default.nix new file mode 100644 index 000000000000..5e9ebe7fa7fd --- /dev/null +++ b/pkgs/development/python-modules/types-futures/default.nix @@ -0,0 +1,18 @@ +{ buildPythonPackage, fetchPypi, lib }: + +buildPythonPackage rec { + pname = "types-futures"; + version = "3.3.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "1p00wb93af01b6fw9wxk9qm4kbhqwb48nszmm16slsrc1nx4px25"; + }; + + meta = with lib; { + description = "Typing stubs for futures"; + homepage = "https://github.com/python/typeshed"; + license = licenses.asl20; + maintainers = with maintainers; [ andersk ]; + }; +} diff --git a/pkgs/development/python-modules/types-protobuf/default.nix b/pkgs/development/python-modules/types-protobuf/default.nix new file mode 100644 index 000000000000..5d9737c5803e --- /dev/null +++ b/pkgs/development/python-modules/types-protobuf/default.nix @@ -0,0 +1,20 @@ +{ buildPythonPackage, fetchPypi, lib, types-futures }: + +buildPythonPackage rec { + pname = "types-protobuf"; + version = "3.17.4"; + + src = fetchPypi { + inherit pname version; + sha256 = "0r42kzspqna2b2jiz9bjzagrd4gbh0sd6jp4v7i9nv09y0ifrkrn"; + }; + + propagatedBuildInputs = [ types-futures ]; + + meta = with lib; { + description = "Typing stubs for protobuf"; + homepage = "https://github.com/python/typeshed"; + license = licenses.asl20; + maintainers = with maintainers; [ andersk ]; + }; +} diff --git a/pkgs/development/python-modules/velbus-aio/default.nix b/pkgs/development/python-modules/velbus-aio/default.nix new file mode 100644 index 000000000000..e7fc0f62d5e3 --- /dev/null +++ b/pkgs/development/python-modules/velbus-aio/default.nix @@ -0,0 +1,38 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pythonOlder +, pyserial-asyncio +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "velbus-aio"; + version = "2021.9.1"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "Cereal2nd"; + repo = pname; + rev = version; + sha256 = "0q7jrjljp65lrazv2yjsiw69240vmhcss3dqrgxhq79dpyck6zfl"; + }; + + propagatedBuildInputs = [ + pyserial-asyncio + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ " velbusaio" ]; + + meta = with lib; { + description = "Python library to support the Velbus home automation system"; + homepage = "https://github.com/Cereal2nd/velbus-aio"; + license = with licenses; [ asl20 ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/development/python-modules/vidstab/default.nix b/pkgs/development/python-modules/vidstab/default.nix index 7137205b3508..b4a16c44a072 100644 --- a/pkgs/development/python-modules/vidstab/default.nix +++ b/pkgs/development/python-modules/vidstab/default.nix @@ -9,12 +9,12 @@ }: buildPythonPackage rec { - version = "1.7.3"; + version = "1.7.4"; pname = "vidstab"; src = fetchPypi { inherit pname version; - sha256 = "649a77a0c1b670d13a1bf411451945d7da439364dc0c33ee3636a23f1d82b456"; + sha256 = "865c4a097e2a8527aa8bfc96ab0bcc0d280a88cc93eabcc36531268f5d343ce1"; }; propagatedBuildInputs = [ numpy pandas imutils progress matplotlib ]; diff --git a/pkgs/development/tools/misc/cvise/default.nix b/pkgs/development/tools/misc/cvise/default.nix index e24c133e8b90..80d2a73cc425 100644 --- a/pkgs/development/tools/misc/cvise/default.nix +++ b/pkgs/development/tools/misc/cvise/default.nix @@ -1,4 +1,4 @@ -{ lib, buildPythonApplication, fetchFromGitHub, cmake, flex +{ lib, buildPythonApplication, fetchFromGitHub, bash, cmake, flex , libclang, llvm, unifdef , pebble, psutil, pytestCheckHook, pytest-flake8 }: @@ -20,10 +20,16 @@ buildPythonApplication rec { ]; nativeBuildInputs = [ cmake flex llvm.dev ]; - buildInputs = [ libclang llvm llvm.dev unifdef ]; + buildInputs = [ bash libclang llvm llvm.dev unifdef ]; propagatedBuildInputs = [ pebble psutil ]; checkInputs = [ pytestCheckHook pytest-flake8 unifdef ]; + # 'cvise --command=...' generates a script with hardcoded shebang. + postPatch = '' + substituteInPlace cvise.py \ + --replace "#!/bin/bash" "#!${bash}/bin/bash" + ''; + preCheck = '' patchShebangs cvise.py ''; diff --git a/pkgs/development/tools/tabnine/default.nix b/pkgs/development/tools/tabnine/default.nix index 3259a5fc41bd..2a4d1718a790 100644 --- a/pkgs/development/tools/tabnine/default.nix +++ b/pkgs/development/tools/tabnine/default.nix @@ -3,16 +3,16 @@ let platform = if stdenv.hostPlatform.system == "x86_64-linux" then { name = "x86_64-unknown-linux-musl"; - sha256 = "sha256-uy3+/+XMq56rO75mmSeOmE1HW7hhefaGwfY/QJPk3Ok="; + sha256 = "sha256-+jxjHE2/6IGptMlKXGebHcaIVokOP76ut325EbkdaA0="; } else if stdenv.hostPlatform.system == "x86_64-darwin" then { name = "x86_64-apple-darwin"; - sha256 = "sha256-EK7FbRzgaCXviOuBcRf/ElllRdakhDmOLsKkwrIEhBU="; + sha256 = "sha256-87Hy1akNrZWQbKutkv4CToTyMcxRc7Y24o1+vI4pev8="; } else throw "Not supported on ${stdenv.hostPlatform.system}"; in stdenv.mkDerivation rec { pname = "tabnine"; # You can check the latest version with `curl -sS https://update.tabnine.com/bundles/version` - version = "3.5.49"; + version = "3.6.8"; src = fetchurl { url = "https://update.tabnine.com/bundles/${version}/${platform.name}/TabNine.zip"; diff --git a/pkgs/games/qtads/default.nix b/pkgs/games/qtads/default.nix index f966798ce4e6..13593044451e 100644 --- a/pkgs/games/qtads/default.nix +++ b/pkgs/games/qtads/default.nix @@ -4,13 +4,13 @@ mkDerivation rec { pname = "qtads"; - version = "3.0.0"; + version = "3.1.0"; src = fetchFromGitHub { owner = "realnc"; repo = pname; rev = "v${version}"; - sha256 = "02kk2hs20h9ffhylwms9f8zikmmlrz1nvbrm97gis9iljkyx035c"; + sha256 = "sha256-DxbVYFHIVFF/5ZeHIeu3k+btCvw/qfM7uoH5mb1ikoE="; }; nativeBuildInputs = [ pkg-config qmake ]; diff --git a/pkgs/misc/vim-plugins/overrides.nix b/pkgs/misc/vim-plugins/overrides.nix index a80ed2061e58..77cd302d13ab 100644 --- a/pkgs/misc/vim-plugins/overrides.nix +++ b/pkgs/misc/vim-plugins/overrides.nix @@ -142,7 +142,7 @@ self: super: { dependencies = with self; [ completion-nvim ]; buildInputs = [ tabnine ]; postFixup = '' - mkdir $target/binaries + mkdir -p $target/binaries ln -s ${tabnine}/bin/TabNine $target/binaries/TabNine_$(uname -s) ''; }); diff --git a/pkgs/servers/libreddit/default.nix b/pkgs/servers/libreddit/default.nix index 6963f508c855..be33c6ffc741 100644 --- a/pkgs/servers/libreddit/default.nix +++ b/pkgs/servers/libreddit/default.nix @@ -8,16 +8,16 @@ rustPlatform.buildRustPackage rec { pname = "libreddit"; - version = "0.15.1"; + version = "0.15.2"; src = fetchFromGitHub { owner = "spikecodes"; repo = pname; rev = "v${version}"; - sha256 = "sha256-Df2WedLOz4wpot0Isy3JCF5p1sV9Hx3bkTNp1KkSfHQ="; + sha256 = "sha256-+oROogXovkHLjLf5KLrolF2AzTd3krXMMzUyiCIHrgE="; }; - cargoSha256 = "sha256-eR/0gpuEBQ7gHrSmJqGaM4vqKwg9WZdVVnBU4DgJcVQ="; + cargoSha256 = "sha256-JixEh9xmWzKwC7Rr5xVmRFrGbgqvbxqIGKmGGSeLllQ="; buildInputs = lib.optional stdenv.isDarwin Security; diff --git a/pkgs/servers/minio/default.nix b/pkgs/servers/minio/default.nix index 9293b4c48f01..7fba57a94be6 100644 --- a/pkgs/servers/minio/default.nix +++ b/pkgs/servers/minio/default.nix @@ -15,16 +15,16 @@ let in buildGoModule rec { pname = "minio"; - version = "2021-08-25T00-41-18Z"; + version = "2021-09-15T04-54-25Z"; src = fetchFromGitHub { owner = "minio"; repo = "minio"; rev = "RELEASE.${version}"; - sha256 = "sha256-gwP1q+5vjgCnrnvWTxPC66fugVrilC1WbLk3SP4NXqA="; + sha256 = "sha256-h1RuYRduCZFCklwa/gvkTZXTi71UDb8ofMPb+X9KIuA="; }; - vendorSha256 = "sha256-JcgMJ6xz3h3YJ1zoSJLCWdWGmd12MPvxcIPX1ZbhpaM="; + vendorSha256 = "sha256-ccqa5ltblk1Z/RRJkC1h+EpkxylWdKXfNRYOeOzrPb4="; doCheck = false; diff --git a/pkgs/tools/admin/awscli/default.nix b/pkgs/tools/admin/awscli/default.nix index 556539eddd2b..cf87652ab39e 100644 --- a/pkgs/tools/admin/awscli/default.nix +++ b/pkgs/tools/admin/awscli/default.nix @@ -21,11 +21,11 @@ let in with py.pkgs; buildPythonApplication rec { pname = "awscli"; - version = "1.19.106"; # N.B: if you change this, change botocore and boto3 to a matching version too + version = "1.20.31"; # N.B: if you change this, change botocore and boto3 to a matching version too src = fetchPypi { inherit pname version; - sha256 = "sha256-6o24GUcT3efgK5+Wa7n4+EeA5qXmAGhybzed7ybdT9Q="; + sha256 = "sha256-qDKnxh4M+LOXYp1xCvW0S0IE5NnwvFpYelUCCjA18zQ="; }; # https://github.com/aws/aws-cli/issues/4837 diff --git a/pkgs/tools/admin/eksctl/default.nix b/pkgs/tools/admin/eksctl/default.nix index d152ef128392..9dcdfef17e78 100644 --- a/pkgs/tools/admin/eksctl/default.nix +++ b/pkgs/tools/admin/eksctl/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "eksctl"; - version = "0.62.0"; + version = "0.66.0"; src = fetchFromGitHub { owner = "weaveworks"; repo = pname; rev = version; - sha256 = "sha256-1WIkUXqcDagrAivozgLjXsiIUsVQ7mOp2ODivHEfNkQ="; + sha256 = "sha256-taKLOL3bdKFdLc6WbF7Q1vCqkRvv/X1NTvSSaYRYHyU="; }; - vendorSha256 = "sha256-AWNTjqEeSEoXO9wcpEXM3y1AeqQYlbswjr0kXvXqGjk="; + vendorSha256 = "sha256-AHkMFuL1zWnv6Z4kCnKsZdqZZaYsQ8AIDmMOLQ+HvkI="; doCheck = false; diff --git a/pkgs/tools/admin/stripe-cli/default.nix b/pkgs/tools/admin/stripe-cli/default.nix index 5420916b884d..549b60c6dbeb 100644 --- a/pkgs/tools/admin/stripe-cli/default.nix +++ b/pkgs/tools/admin/stripe-cli/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "stripe-cli"; - version = "1.7.1"; + version = "1.7.3"; src = fetchFromGitHub { owner = "stripe"; repo = pname; rev = "v${version}"; - sha256 = "sha256-nu4QcL6r7ivp8wQ8SFe4bOfYX6Iui2czHQ3ucy7K+dk="; + sha256 = "sha256-Hlh2nfqQD+HMoJ2n1vfffn5ieEKSMtXpdoM0ydFQqrc="; }; - vendorSha256 = "sha256-LOSHoEP0YRjfHav3MXSYPPrrjX6/ItxeVMOihRx0DTQ="; + vendorSha256 = "sha256-DTNwgerJ7qZxH4imdrST7TaR20oevDluEDgAlubg5hw="; subPackages = [ "cmd/stripe" diff --git a/pkgs/tools/misc/cloud-sql-proxy/default.nix b/pkgs/tools/misc/cloud-sql-proxy/default.nix index 6f5a6ec25fbb..f1f7d1bf2392 100644 --- a/pkgs/tools/misc/cloud-sql-proxy/default.nix +++ b/pkgs/tools/misc/cloud-sql-proxy/default.nix @@ -1,27 +1,24 @@ -{ lib, buildGoPackage, fetchgit }: +{ lib, buildGoModule, fetchFromGitHub }: -buildGoPackage rec { +buildGoModule rec { pname = "cloud-sql-proxy"; - version = "1.13"; + version = "1.25.0"; - goPackagePath = "github.com/GoogleCloudPlatform/cloudsql-proxy"; + src = fetchFromGitHub { + owner = "GoogleCloudPlatform"; + repo = "cloudsql-proxy"; + rev = "v${version}"; + sha256 = "0vz5fm1bgh2g7b320hchpfb4iql1src1rpm7324sqcd26p7w3mnl"; + }; subPackages = [ "cmd/cloud_sql_proxy" ]; - src = fetchgit { - rev = version; - url = "https://${goPackagePath}"; - sha256 = "07n2hfhqa9hinabmx79aqqwxzzkky76x3jvpd89kch14fijbh532"; - }; - - goDeps = ./deps.nix; - - ldflags = [ "-X main.versionString=${version}" ]; + vendorSha256 = "04y6zx3jdyj07d68a4vk4p5rzvvjnvdwk9kkipmlmqg1xqwlb84m"; meta = with lib; { description = "An authenticating proxy for Second Generation Google Cloud SQL databases"; - homepage = "https://${goPackagePath}"; + homepage = "https://github.com/GoogleCloudPlatform/cloudsql-proxy"; license = licenses.asl20; - maintainers = [ maintainers.nicknovitski ]; + maintainers = with maintainers; [ nicknovitski ]; }; } diff --git a/pkgs/tools/misc/cloud-sql-proxy/deps.nix b/pkgs/tools/misc/cloud-sql-proxy/deps.nix deleted file mode 100644 index 6898833b6f12..000000000000 --- a/pkgs/tools/misc/cloud-sql-proxy/deps.nix +++ /dev/null @@ -1,48 +0,0 @@ -# This file was generated by https://github.com/kamilchm/go2nix v1.2.1 -[ - { - goPackagePath = "bazil.org/fuse"; - fetch = { - type = "git"; - url = "https://github.com/bazil/fuse"; - rev = "65cc252bf6691cb3c7014bcb2c8dc29de91e3a7e"; - sha256 = "0qjm9yrhc5h632wwhklqzhalid4lxcm9iwsqs3jahp303rm27vpk"; - }; - } - { - goPackagePath = "cloud.google.com/go"; - fetch = { - type = "git"; - url = "https://code.googlesource.com/gocloud"; - rev = "dba8c2c195294739180b3e6865f8893eb808676e"; - sha256 = "1l6aj26sd7byjcgi2b4k452fcg949v28lff2fkw5nq2qr2fjnqxy"; - }; - } - { - goPackagePath = "golang.org/x/net"; - fetch = { - type = "git"; - url = "https://go.googlesource.com/net"; - rev = "9b4f9f5ad5197c79fd623a3638e70d8b26cef344"; - sha256 = "06hvxy113h76f31gv1mq6vdr6xja1zv0fdig686l2b4y2b6swych"; - }; - } - { - goPackagePath = "golang.org/x/oauth2"; - fetch = { - type = "git"; - url = "https://go.googlesource.com/oauth2"; - rev = "9dcd33a902f40452422c2367fefcb95b54f9f8f8"; - sha256 = "15lfa780h2ff50qvcdl7sfs9f9j13fa5kfj6fb292rk3fwxhnx4i"; - }; - } - { - goPackagePath = "google.golang.org/api"; - fetch = { - type = "git"; - url = "https://code.googlesource.com/google-api-go-client"; - rev = "39567f0042a03aeb2691599961ed4454e43d5063"; - sha256 = "0c5gx156v1pk0gqvl9w43l06z0rh9g2sackpl9ghds0asnyqx04d"; - }; - } -] diff --git a/pkgs/tools/misc/vimpager/build.nix b/pkgs/tools/misc/vimpager/build.nix index ec1766d7af31..a610a461656c 100644 --- a/pkgs/tools/misc/vimpager/build.nix +++ b/pkgs/tools/misc/vimpager/build.nix @@ -18,7 +18,8 @@ stdenv.mkDerivation { rev = version; }; - buildInputs = [ coreutils sharutils ]; # for uuencode + nativeBuildInputs = [ sharutils ]; # for uuencode + buildInputs = [ coreutils ]; makeFlags = [ "PREFIX=$(out)" diff --git a/pkgs/tools/networking/xh/default.nix b/pkgs/tools/networking/xh/default.nix index 90f99120cd49..75eaa8774df2 100644 --- a/pkgs/tools/networking/xh/default.nix +++ b/pkgs/tools/networking/xh/default.nix @@ -3,16 +3,16 @@ rustPlatform.buildRustPackage rec { pname = "xh"; - version = "0.12.0"; + version = "0.13.0"; src = fetchFromGitHub { owner = "ducaale"; repo = "xh"; rev = "v${version}"; - sha256 = "sha256-icJBQdFWdiHCYrZ7U90g6CdXdAkv3Y/WJu0IfZAdGv0="; + sha256 = "sha256-fTd4VSUUj9Im+kCEuFgDsA7eofM1xQfrRzigr1vyJ3I="; }; - cargoSha256 = "sha256-htv5OQnat4Qi6A6lmVonuz+8/DWz8fOGYPbnCnlizBo="; + cargoSha256 = "sha256-yZdGw/6iVg8PaUyjTrxj6h/2yhBtqEqvMhdRHhMwDZc="; nativeBuildInputs = [ installShellFiles pkg-config ]; diff --git a/pkgs/tools/virtualization/shipyard/default.nix b/pkgs/tools/virtualization/shipyard/default.nix index 7fe09aa6b426..6994cc25b384 100644 --- a/pkgs/tools/virtualization/shipyard/default.nix +++ b/pkgs/tools/virtualization/shipyard/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "shipyard"; - version = "0.3.27"; + version = "0.3.30"; src = fetchFromGitHub { rev = "v${version}"; owner = "shipyard-run"; repo = pname; - sha256 = "sha256-VbcOoIMhY4FpfQbC2ESFaPoV9AS5DpGvid8jcQxLuEE="; + sha256 = "sha256-NaCG0oG9j1yoXOsfnQXFd+PdZfJTOdvYndFIftIAnxE="; }; vendorSha256 = "sha256-YClNdtnakJJOEytTbopTXeZy218N4vHP3tQLavLgPbg="; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0649f34ab743..6c1f98b48fdf 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -960,6 +960,8 @@ with pkgs; inherit (lxqt) qtermwidget; }; + darktile = callPackage ../applications/terminal-emulators/darktile { }; + eterm = callPackage ../applications/terminal-emulators/eterm { }; evilvte = callPackage ../applications/terminal-emulators/evilvte (config.evilvte or {}); diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 1490aeda6558..159e846fc3af 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -8,6 +8,8 @@ let "ghc8102BinaryMinimal" "ghc8107Binary" "ghc8107BinaryMinimal" + "ghcjs" + "ghcjs810" "integer-simple" "native-bignum" "ghcHEAD" @@ -139,6 +141,13 @@ in { libffi = pkgs.libffi; }; + ghcjs = compiler.ghcjs810; + ghcjs810 = callPackage ../development/compilers/ghcjs/8.10 { + bootPkgs = packages.ghc8107; + ghcjsSrcJson = ../development/compilers/ghcjs/8.10/git.json; + stage0 = ../development/compilers/ghcjs/8.10/stage0.nix; + }; + # The integer-simple attribute set contains all the GHC compilers # build with integer-simple instead of integer-gmp. integer-simple = let @@ -222,6 +231,14 @@ in { compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-head.nix { }; }; + ghcjs = packages.ghcjs810; + ghcjs810 = callPackage ../development/haskell-modules rec { + buildHaskellPackages = ghc.bootPkgs; + ghc = bh.compiler.ghcjs810; + compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-8.10.x.nix { }; + packageSetConfig = callPackage ../development/haskell-modules/configuration-ghcjs.nix { }; + }; + # The integer-simple attribute set contains package sets for all the GHC compilers # using integer-simple instead of integer-gmp. integer-simple = let diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8c005de4611b..19ee538be2d8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9133,6 +9133,10 @@ in { types-decorator = callPackage ../development/python-modules/types-decorator { }; + types-futures = callPackage ../development/python-modules/types-futures { }; + + types-protobuf = callPackage ../development/python-modules/types-protobuf { }; + types-pytz = callPackage ../development/python-modules/types-pytz { }; types-requests = callPackage ../development/python-modules/types-requests { }; @@ -9321,6 +9325,8 @@ in { venusian = callPackage ../development/python-modules/venusian { }; + velbus-aio = callPackage ../development/python-modules/velbus-aio { }; + verboselogs = callPackage ../development/python-modules/verboselogs { }; versioneer = callPackage ../development/python-modules/versioneer { }; diff --git a/pkgs/top-level/python2-packages.nix b/pkgs/top-level/python2-packages.nix index 57e6987e6703..07773c29e801 100644 --- a/pkgs/top-level/python2-packages.nix +++ b/pkgs/top-level/python2-packages.nix @@ -36,6 +36,10 @@ with self; with super; { box2d = callPackage ../development/python-modules/box2d { }; + boto3 = callPackage ../development/python-modules/boto3/1_17.nix {}; + + botocore = callPackage ../development/python-modules/botocore/1_20.nix {}; + browsermob-proxy = callPackage ../development/python-modules/browsermob-proxy { }; cairocffi = callPackage ../development/python-modules/cairocffi/0_9.nix { }; @@ -544,6 +548,8 @@ with self; with super; { rsa = callPackage ../development/python-modules/rsa/4_0.nix { }; + s3transfer = callPackage ../development/python-modules/s3transfer/0_4.nix { }; + sandboxlib = callPackage ../development/python-modules/sandboxlib { }; scandir = callPackage ../development/python-modules/scandir { }; diff --git a/pkgs/top-level/release-haskell.nix b/pkgs/top-level/release-haskell.nix index 367bf95b3d83..65b54b98870e 100644 --- a/pkgs/top-level/release-haskell.nix +++ b/pkgs/top-level/release-haskell.nix @@ -252,6 +252,9 @@ let # remove integer-simple because it appears to be broken with # musl and non-static-linking. integer-simple = {}; + + ghcjs = {}; + ghcjs810 = {}; }; # Get some cache going for MUSL-enabled GHC. @@ -300,7 +303,7 @@ let # package sets (like Cabal, jailbreak-cabal) are # working as expected. cabal-install = all; - Cabal_3_6_0_0 = with compilerNames; [ ghc884 ghc8107 ]; + Cabal_3_6_1_0 = with compilerNames; [ ghc884 ghc8107 ghc901 ghc921 ]; cabal2nix-unstable = all; funcmp = all; # Doesn't currently work on ghc-9.0: