From 8a13d0d1f2af8d9f987bac7ecf55e2a778305410 Mon Sep 17 00:00:00 2001 From: Anthony Butt Date: Tue, 10 Feb 2026 09:17:37 -0500 Subject: [PATCH 1/2] maintainers: add tonybutt Signed-off-by: Anthony Butt --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 69bc87068a8b..2c1805b2bbec 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -27091,6 +27091,12 @@ githubId = 27378358; name = "tony"; }; + tonybutt = { + email = "anthony@abutt.io"; + github = "tonybutt"; + githubId = 38566841; + name = "Anthony Butt"; + }; toonn = { email = "nixpkgs@toonn.io"; matrix = "@toonn:matrix.org"; From 21f5ffe36ce8a347f738b6c5244c1b0b4913826f Mon Sep 17 00:00:00 2001 From: Anthony Butt Date: Tue, 10 Feb 2026 09:20:50 -0500 Subject: [PATCH 2/2] color-lsp: init at 0.2.2 Signed-off-by: Anthony Butt --- pkgs/by-name/co/color-lsp/package.nix | 40 +++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pkgs/by-name/co/color-lsp/package.nix diff --git a/pkgs/by-name/co/color-lsp/package.nix b/pkgs/by-name/co/color-lsp/package.nix new file mode 100644 index 000000000000..1607772ee192 --- /dev/null +++ b/pkgs/by-name/co/color-lsp/package.nix @@ -0,0 +1,40 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, +}: + +rustPlatform.buildRustPackage rec { + pname = "color-lsp"; + version = "0.2.2"; + + src = fetchFromGitHub { + owner = "huacnlee"; + repo = "color-lsp"; + rev = "v${version}"; + hash = "sha256-U0pTzW2PCgMxVsa1QX9MC249PXXL2KvRSN1Em2WvIeI="; + }; + + cargoHash = "sha256-etK+9fcKS+y+0C36vJrMkQ0yyVSpCW/DLKg4nTw3LrE="; + + # Only build the color-lsp binary, not the zed extension + cargoBuildFlags = [ + "-p" + "color-lsp" + ]; + cargoTestFlags = [ + "-p" + "color-lsp" + ]; + + meta = { + description = "A document color language server supporting HEX, RGB, HSL, and named colors"; + homepage = "https://github.com/huacnlee/color-lsp"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ + tonybutt + matthiasbeyer + ]; + mainProgram = "color-lsp"; + }; +}