From 713e8c57f16b0785bb4cdd88662078a742188f13 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 24 Sep 2025 23:15:36 +0200 Subject: [PATCH] ansible-language-server: drop The upstream repo was archived, the language-server is now a subproject in the vscode integration and they lack lockfiles. Closes: #352585 --- .../an/ansible-language-server/package.nix | 45 ------------------- pkgs/top-level/aliases.nix | 1 + 2 files changed, 1 insertion(+), 45 deletions(-) delete mode 100644 pkgs/by-name/an/ansible-language-server/package.nix diff --git a/pkgs/by-name/an/ansible-language-server/package.nix b/pkgs/by-name/an/ansible-language-server/package.nix deleted file mode 100644 index 4ddf84b6e39d..000000000000 --- a/pkgs/by-name/an/ansible-language-server/package.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ - lib, - buildNpmPackage, - fetchFromGitHub, - nix-update-script, -}: - -buildNpmPackage rec { - pname = "ansible-language-server"; - version = "1.2.1"; - - src = fetchFromGitHub { - owner = "ansible"; - repo = "ansible-language-server"; - tag = "v${version}"; - hash = "sha256-e6cOWoryOxWnl8q62rlGmSgwLVnoxLMwNFoGlUZw2bQ="; - }; - - npmDepsHash = "sha256-Lzwj0/2fxa44DJBsgDPa43AbRxggqh881X/DFnlNLig="; - npmBuildScript = "compile"; - - # We remove/ignore the prepare and prepack scripts because they run the - # build script, and therefore are redundant. - # - # Additionally, the prepack script runs npm ci in addition to the - # build script. Directly before npm pack is run, we make npm unaware - # of the dependency cache, causing the npm ci invocation to fail, - # wiping out node_modules, which causes a mysterious error stating that tsc isn't installed. - postPatch = '' - sed -i '/"prepare"/d' package.json - sed -i '/"prepack"/d' package.json - ''; - - npmPackFlags = [ "--ignore-scripts" ]; - passthru.updateScript = nix-update-script { }; - - meta = { - changelog = "https://github.com/ansible/ansible-language-server/releases/tag/v${version}"; - description = "Ansible Language Server"; - mainProgram = "ansible-language-server"; - homepage = "https://github.com/ansible/ansible-language-server"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ hexa ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 3983c112f00e..9d490d8f84d4 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -435,6 +435,7 @@ mapAliases { animeko = throw "'animeko' has been removed since it is unmaintained"; # Added 2025-08-20 ansible_2_14 = throw "Ansible 2.14 goes end of life in 2024/05 and can't be supported throughout the 24.05 release cycle"; # Added 2024-04-11 ansible_2_15 = throw "Ansible 2.15 goes end of life in 2024/11 and can't be supported throughout the 24.11 release cycle"; # Added 2024-11-08 + ansible-language-server = throw "ansible-language-server was removed, because it was unmaintained in nixpkgs."; # Added 2025-09-24 ansible-later = throw "ansible-later has been discontinued. The author recommends switching to ansible-lint"; # Added 2025-08-24 antennas = throw "antennas has been removed as it only works with tvheadend, which nobody was willing to maintain and was stuck on an unmaintained version that required FFmpeg 4. Please see https://github.com/NixOS/nixpkgs/pull/332259 if you are interested in maintaining a newer version"; # Added 2024-08-21 androidndkPkgs_21 = throw "androidndkPkgs_21 has been removed, as it is EOL"; # Added 2025-08-09