blob: 0612d95106a31e1ec5f17fb78e27aaa93fcd78a9 (
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
|
from devtools.yamaker.arcpath import ArcPath
from devtools.yamaker.modules import Library
from devtools.yamaker.project import NixSourceProject
def post_install(self):
self.yamakes["."] = self.module(
Library,
NO_RUNTIME=True,
NO_COMPILER_WARNINGS=True,
PEERDIR=["contrib/libs/openssl"],
ADDINCL=[ArcPath(f"{self.arcdir}/include", ONE_LEVEL=True)],
)
jwt_cpp = NixSourceProject(
arcdir="contrib/libs/jwt-cpp",
nixattr="jwt-cpp",
post_install=post_install,
copy_sources=[
"include/jwt-cpp/*.h",
"include/picojson/picojson.h",
],
)
|