Package Details: nimlangserver-git v1.2.0.r11.g97ffd6d-1

Git Clone URL: https://aur.archlinux.org/nimlangserver-git.git (read-only, click to copy)
Package Base: nimlangserver-git
Description: None
Upstream URL: https://github.com/nim-lang/langserver
Licenses: MIT
Conflicts: nimlangserver
Provides: nimlangserver
Submitter: exu
Maintainer: exu
Last Packager: exu
Votes: 1
Popularity: 0.011605
First Submitted: 2023-06-09 15:30 (UTC)
Last Updated: 2024-05-12 14:18 (UTC)

Dependencies (2)

Required by (0)

Sources (2)

Latest Comments

exu commented on 2024-08-09 13:27 (UTC)

Just checked and I couldn't find a proper license file in the upstream repo.
I've opened an issue and I'll update the package here when they respond.

micwoj92 commented on 2024-08-08 20:35 (UTC)

Please install license file.

exu commented on 2024-05-12 14:21 (UTC)

The build should work again now. Turns out the patch was no longer necessary.
I did add another patch though, to avoid downloading the whole nim language from Github. Instead the system nim (a dependency of this package) will be used.

Tests weren't working for some reason, so I disabled them for now. I'll try to find out why they were hanging and fix it when I have more time.

anton_piter commented on 2024-05-10 17:09 (UTC) (edited on 2024-05-10 17:11 (UTC) by anton_piter)

I think patch file should be updated - error during install:

 % makepkg -si --skipchecksums 
==> Making package: nimlangserver-git latest.r9.gf7b32fa-1 (Fri 10 May 2024 10:52:31 PM +0545)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating nimlangserver git repo...
  -> Found nimlangserver.patch
==> WARNING: Skipping verification of source file checksums.
==> Extracting sources...
  -> Creating working copy of nimlangserver git repo...
Reset branch 'makepkg'
==> Starting prepare()...
patching file nimlangserver.nim
Hunk #1 FAILED at 2.
1 out of 1 hunk FAILED -- saving rejects to file nimlangserver.nim.rej
==> ERROR: A failure occurred in prepare().
    Aborting...
% cat src/nimlangserver/nimlangserver.nim.rej 
--- nimlangserver.nim   2023-05-25 14:56:42.996481704 +0200
+++ nimlangserver.nim   2023-05-25 14:56:51.320521779 +0200
@@ -2,7 +2,7 @@
   faststreams/asynctools_adapters, faststreams/inputs, faststreams/outputs,
   json_rpc/streamconnection, os, sugar, sequtils, hashes, osproc,
   suggestapi, protocol/enums, protocol/types, with, tables, strutils, sets,
-  ./utils, ./pipes, chronicles, std/re, uri, "$nim/compiler/pathutils"
+  ./utils, ./pipes, chronicles, std/re, uri, "$lib/compiler/pathutils"

 const
   RESTART_COMMAND = "nimlangserver.restart"