From 66657deebf8583f37aa76e29df1bdfe7d699bbde Mon Sep 17 00:00:00 2001 From: phanirithvij Date: Mon, 20 Oct 2025 23:22:57 +0530 Subject: [PATCH] dprint-plugins: update all plugins Signed-off-by: phanirithvij dprint-plugins: fix update script Co-authored-by: Kenichi Kamiya Co-authored-by: Wolfgang Walther Signed-off-by: phanirithvij (cherry picked from commit cad32a24812b17a574b1ce57a7885dd4459f9f4a) --- .../dp/dprint/plugins/dprint-plugin-dockerfile.nix | 8 ++++---- pkgs/by-name/dp/dprint/plugins/dprint-plugin-ruff.nix | 8 ++++---- pkgs/by-name/dp/dprint/plugins/g-plane-malva.nix | 8 ++++---- pkgs/by-name/dp/dprint/plugins/g-plane-markup_fmt.nix | 8 ++++---- pkgs/by-name/dp/dprint/plugins/g-plane-pretty_graphql.nix | 8 ++++---- pkgs/by-name/dp/dprint/plugins/g-plane-pretty_yaml.nix | 8 ++++---- pkgs/by-name/dp/dprint/plugins/update-plugins.py | 4 ++-- 7 files changed, 26 insertions(+), 26 deletions(-) diff --git a/pkgs/by-name/dp/dprint/plugins/dprint-plugin-dockerfile.nix b/pkgs/by-name/dp/dprint/plugins/dprint-plugin-dockerfile.nix index 76e62aceecd79..1b6b85835d3e2 100644 --- a/pkgs/by-name/dp/dprint/plugins/dprint-plugin-dockerfile.nix +++ b/pkgs/by-name/dp/dprint/plugins/dprint-plugin-dockerfile.nix @@ -1,7 +1,7 @@ { mkDprintPlugin }: mkDprintPlugin { - description = "Dockerfile code formatter."; - hash = "sha256-gsfMLa4zw8AblOS459ZS9OZrkGCQi5gBN+a3hvOsspk="; + description = "Dockerfile code formatter"; + hash = "sha256-GaK1sYdZPwQWJmz2ULcsGpWDiKjgPhqNRoGgQfGOkqc="; initConfig = { configExcludes = [ ]; configKey = "dockerfile"; @@ -9,6 +9,6 @@ mkDprintPlugin { }; pname = "dprint-plugin-dockerfile"; updateUrl = "https://plugins.dprint.dev/dprint/dockerfile/latest.json"; - url = "https://plugins.dprint.dev/dockerfile-0.3.2.wasm"; - version = "0.3.2"; + url = "https://plugins.dprint.dev/dockerfile-0.3.3.wasm"; + version = "0.3.3"; } diff --git a/pkgs/by-name/dp/dprint/plugins/dprint-plugin-ruff.nix b/pkgs/by-name/dp/dprint/plugins/dprint-plugin-ruff.nix index deee9292f48f2..d83c0588a4ffc 100644 --- a/pkgs/by-name/dp/dprint/plugins/dprint-plugin-ruff.nix +++ b/pkgs/by-name/dp/dprint/plugins/dprint-plugin-ruff.nix @@ -1,7 +1,7 @@ { mkDprintPlugin }: mkDprintPlugin { - description = "Ruff (Python) wrapper plugin."; - hash = "sha256-15InHQgF9c0Js4yUJxmZ1oNj1O16FBU12u/GOoaSAJ8="; + description = "Ruff (Python) wrapper plugin"; + hash = "sha256-qT+6zPbX3KrONXshwzLoGTWRXM93VKO0lN9ycJujEDM="; initConfig = { configExcludes = [ ]; configKey = "ruff"; @@ -12,6 +12,6 @@ mkDprintPlugin { }; pname = "dprint-plugin-ruff"; updateUrl = "https://plugins.dprint.dev/dprint/ruff/latest.json"; - url = "https://plugins.dprint.dev/ruff-0.3.9.wasm"; - version = "0.3.9"; + url = "https://plugins.dprint.dev/ruff-0.6.1.wasm"; + version = "0.6.1"; } diff --git a/pkgs/by-name/dp/dprint/plugins/g-plane-malva.nix b/pkgs/by-name/dp/dprint/plugins/g-plane-malva.nix index 81bb3435fdaf4..89a3b44c0e489 100644 --- a/pkgs/by-name/dp/dprint/plugins/g-plane-malva.nix +++ b/pkgs/by-name/dp/dprint/plugins/g-plane-malva.nix @@ -1,7 +1,7 @@ { mkDprintPlugin }: mkDprintPlugin { - description = "CSS, SCSS, Sass and Less formatter."; - hash = "sha256-mFlhfqtglKtKNls96PO/2AWLL1fNC5msQCd9EgdKauE="; + description = "CSS, SCSS, Sass and Less formatter"; + hash = "sha256-IAIix6c9/GNDZsRk95T/rpvMh7HqFgBoq5KDVYHHOjU="; initConfig = { configExcludes = [ "**/node_modules" ]; configKey = "malva"; @@ -14,6 +14,6 @@ mkDprintPlugin { }; pname = "g-plane-malva"; updateUrl = "https://plugins.dprint.dev/g-plane/malva/latest.json"; - url = "https://plugins.dprint.dev/g-plane/malva-v0.11.2.wasm"; - version = "0.11.2"; + url = "https://plugins.dprint.dev/g-plane/malva-v0.14.3.wasm"; + version = "0.14.3"; } diff --git a/pkgs/by-name/dp/dprint/plugins/g-plane-markup_fmt.nix b/pkgs/by-name/dp/dprint/plugins/g-plane-markup_fmt.nix index 98823309f6d07..633820b9ce326 100644 --- a/pkgs/by-name/dp/dprint/plugins/g-plane-markup_fmt.nix +++ b/pkgs/by-name/dp/dprint/plugins/g-plane-markup_fmt.nix @@ -1,7 +1,7 @@ { mkDprintPlugin }: mkDprintPlugin { - description = "HTML, Vue, Svelte, Astro, Angular, Jinja, Twig, Nunjucks, and Vento formatter."; - hash = "sha256-fCvurr8f79io/jIjwCfwr/WGjvcKZtptRrx9GFfytSI="; + description = "HTML, Vue, Svelte, Astro, Angular, Jinja, Twig, Nunjucks, and Vento formatter"; + hash = "sha256-TQxHIw5IXZwFA/WzIJ33ZckJNkHwW67lnh0cCGkgmrs="; initConfig = { configExcludes = [ ]; configKey = "markup"; @@ -19,6 +19,6 @@ mkDprintPlugin { }; pname = "g-plane-markup_fmt"; updateUrl = "https://plugins.dprint.dev/g-plane/markup_fmt/latest.json"; - url = "https://plugins.dprint.dev/g-plane/markup_fmt-v0.19.0.wasm"; - version = "0.19.0"; + url = "https://plugins.dprint.dev/g-plane/markup_fmt-v0.24.0.wasm"; + version = "0.24.0"; } diff --git a/pkgs/by-name/dp/dprint/plugins/g-plane-pretty_graphql.nix b/pkgs/by-name/dp/dprint/plugins/g-plane-pretty_graphql.nix index 38d7326ab4169..084bdadbb7632 100644 --- a/pkgs/by-name/dp/dprint/plugins/g-plane-pretty_graphql.nix +++ b/pkgs/by-name/dp/dprint/plugins/g-plane-pretty_graphql.nix @@ -1,7 +1,7 @@ { mkDprintPlugin }: mkDprintPlugin { - description = "GraphQL formatter."; - hash = "sha256-PlQwpR0tMsghMrOX7is+anN57t9xa9weNtoWpc0E9ec="; + description = "GraphQL formatter"; + hash = "sha256-xEEBnmxxiIPNOePBDS2HG6lfAhR4l53w+QDF2mXdyzg="; initConfig = { configExcludes = [ ]; configKey = "graphql"; @@ -12,6 +12,6 @@ mkDprintPlugin { }; pname = "g-plane-pretty_graphql"; updateUrl = "https://plugins.dprint.dev/g-plane/pretty_graphql/latest.json"; - url = "https://plugins.dprint.dev/g-plane/pretty_graphql-v0.2.1.wasm"; - version = "0.2.1"; + url = "https://plugins.dprint.dev/g-plane/pretty_graphql-v0.2.3.wasm"; + version = "0.2.3"; } diff --git a/pkgs/by-name/dp/dprint/plugins/g-plane-pretty_yaml.nix b/pkgs/by-name/dp/dprint/plugins/g-plane-pretty_yaml.nix index a303b945d5e72..7667e46621f34 100644 --- a/pkgs/by-name/dp/dprint/plugins/g-plane-pretty_yaml.nix +++ b/pkgs/by-name/dp/dprint/plugins/g-plane-pretty_yaml.nix @@ -1,7 +1,7 @@ { mkDprintPlugin }: mkDprintPlugin { - description = "YAML formatter."; - hash = "sha256-6ua021G7ZW7Ciwy/OHXTA1Joj9PGEx3SZGtvaA//gzo="; + description = "YAML formatter"; + hash = "sha256-iSh5SRrjQB1hJoKkkup7R+Durcu+cxePa7GDVjwnexU="; initConfig = { configExcludes = [ ]; configKey = "yaml"; @@ -12,6 +12,6 @@ mkDprintPlugin { }; pname = "g-plane-pretty_yaml"; updateUrl = "https://plugins.dprint.dev/g-plane/pretty_yaml/latest.json"; - url = "https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.0.wasm"; - version = "0.5.0"; + url = "https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.1.wasm"; + version = "0.5.1"; } diff --git a/pkgs/by-name/dp/dprint/plugins/update-plugins.py b/pkgs/by-name/dp/dprint/plugins/update-plugins.py index f065d673152b6..9c1e5c91883ca 100755 --- a/pkgs/by-name/dp/dprint/plugins/update-plugins.py +++ b/pkgs/by-name/dp/dprint/plugins/update-plugins.py @@ -1,5 +1,5 @@ #!/usr/bin/env nix-shell -#!nix-shell -i python -p nix nixfmt-rfc-style 'python3.withPackages (pp: [ pp.requests ])' +#!nix-shell -i python3 -p nix 'python3.withPackages (ps: [ ps.requests ])' import json import os @@ -138,7 +138,7 @@ def update_plugins(): "updateUrl": update_url, "pname": pname, "version": e["version"], - "description": e["description"], + "description": e["description"].rstrip("."), "initConfig": { "configKey": e["configKey"], "configExcludes": e["configExcludes"],