1 { stdenv, lib, fetchFromGitHub, zig }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-MVo21qNCZop/HXBqrPcosGbRY+W69KNCc1DfnH47GsI=";
12 fetchSubmodules = true;
15 nativeBuildInputs = [ zig ];
22 zig build -Drelease-safe -Dcpu=baseline --prefix $out install
26 description = "Zig LSP implementation + Zig Language Server";
27 changelog = "https://github.com/zigtools/zls/releases/tag/${version}";
28 homepage = "https://github.com/zigtools/zls";
29 license = licenses.mit;
30 maintainers = with maintainers; [ fortuneteller2k ];
31 platforms = platforms.unix;