PORTNAME= nixd DISTVERSION= 2.9.1 CATEGORIES= devel MAINTAINER= cashmere@autistici.org COMMENT= Feature-rich Nix language server interoperating with C++ nix WWW= https://github.com/nix-community/nixd LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/gtest/gtest.h:devel/googletest LIB_DEPENDS= libboost_context.so:devel/boost-libs \ libnixcmd.so:sysutils/nix \ libnixexpr.so:sysutils/nix \ libnixflake.so:sysutils/nix \ libnixmain.so:sysutils/nix RUN_DEPENDS= ${LOCALBASE}/bin/nix:sysutils/nix USES= compiler:c++20-lang llvm:21,build,lib,noexport meson ninja pkgconfig python:build USE_GITHUB= yes GH_ACCOUNT= nix-community GH_PROJECT= nixd GH_TAGNAME= ${DISTVERSION} CONFIGURE_ENV= LLVM_CONFIG=${LLVM_CONFIG} USE_LDCONFIG= yes # nixd 2.9.1 requires Nix 2.34. FreeBSD ports currently ships sysutils/nix 2.32.4, # so this port will not build until the Nix dependency is updated. # TODO: verify the build and remove this comment once sysutils/nix reaches 2.34+. .include