2024-09-10 14:13:00 -05:00
|
|
|
{ fetchFromGitHub, buildNimPackage }:
|
2025-01-10 15:40:20 -06:00
|
|
|
buildNimPackage (finalAttrs: {
|
2024-09-10 14:13:00 -05:00
|
|
|
pname = "nimlangserver";
|
2025-01-14 10:11:32 -06:00
|
|
|
version = "1.6.0-unstable";
|
2024-09-10 14:13:00 -05:00
|
|
|
src = fetchFromGitHub {
|
2024-09-24 11:20:17 -05:00
|
|
|
owner = "nim-lang";
|
2024-09-10 14:13:00 -05:00
|
|
|
repo = "langserver";
|
2025-01-14 10:11:32 -06:00
|
|
|
rev = "5adc15be0f785f0caa3b7fc444e54eeb5596602a";
|
|
|
|
# rev = "v${finalAttrs.version}";
|
|
|
|
hash = "sha256-JyBjHAP/sxQfQ1XvyeZyHsu0Er5D7ePDGyJK7Do5kyk=";
|
2024-09-10 14:13:00 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
2025-01-14 10:11:32 -06:00
|
|
|
|
|
|
|
# nix build '.#nimlangserver.src'
|
|
|
|
# nix run "github:daylinmorgan/nnl" -- result/nimble.lock -o:pkgs/nim/nimlangserver/lock.json --prefetch-git:bearssl,zlib
|
2024-09-10 14:13:00 -05:00
|
|
|
lockFile = ./lock.json;
|
2025-01-10 15:40:20 -06:00
|
|
|
})
|