Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
34 lines
874 B
Nix
34 lines
874 B
Nix
{
|
|
lib,
|
|
buildNimPackage,
|
|
fetchFromGitHub,
|
|
}:
|
|
buildNimPackage (
|
|
final: prev: rec {
|
|
pname = "nimlangserver";
|
|
version = "1.6.0";
|
|
|
|
# nix build ".#nimlangserver.src"
|
|
# nix run "github:daylinmorgan/nnl" -- result/nimble.lock -o:pkgs/by-name/ni/nimlangserver/lock.json --force-git
|
|
lockFile = ./lock.json;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nim-lang";
|
|
repo = "langserver";
|
|
rev = "v${version}";
|
|
hash = "sha256-rTlkbNuJbL9ke1FpHYVYduiYHUON6oACg20pBs0MaP4=";
|
|
};
|
|
|
|
doCheck = false;
|
|
|
|
meta =
|
|
final.src.meta
|
|
// (with lib; {
|
|
description = "Nim language server implementation (based on nimsuggest)";
|
|
homepage = "https://github.com/nim-lang/langserver";
|
|
license = licenses.mit;
|
|
mainProgram = "nimlangserver";
|
|
maintainers = with maintainers; [ daylinmorgan ];
|
|
});
|
|
}
|
|
)
|