depot/pkgs/by-name/ni/nimlangserver/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

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 ];
});
}
)