blob: d25103ff72a91d37ec92a8d30acd1213c982bf85 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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>
|