diff options
| author | cashmere <cashmere@autistici.org> | 2026-07-12 02:37:06 +0200 |
|---|---|---|
| committer | cashmere <cashmere@autistici.org> | 2026-07-12 02:37:06 +0200 |
| commit | 76dcfdc25e93f84f542adbd9519c72af5d4aadc2 (patch) | |
| tree | 7b3634690e2f3dbde65702f565191ca6b93e0ffa /devel/nixd/Makefile | |
| parent | 235b173983eced9c291beacf681ae0bb2f1d6de5 (diff) | |
| download | ports-76dcfdc25e93f84f542adbd9519c72af5d4aadc2.tar.gz | |
devel: add lsp-server
Diffstat (limited to 'devel/nixd/Makefile')
| -rw-r--r-- | devel/nixd/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/devel/nixd/Makefile b/devel/nixd/Makefile new file mode 100644 index 0000000..d25103f --- /dev/null +++ b/devel/nixd/Makefile @@ -0,0 +1,35 @@ +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 <bsd.port.mk> |
