blob: a2ef846e9f8c880361754a586ee0f4e70811629a (
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
|
from devtools.yamaker.project import NixProject
def post_install(self):
m = self.yamakes["."]
m.SRCS -= {
"src/xxhash/xxhash.c",
}
m.PEERDIR += {"contrib/libs/xxhash"}
libfyaml = NixProject(
owners=["g:cpp-contrib"],
arcdir="contrib/libs/libfyaml",
nixattr="libfyaml",
unbundle_from={
"xxhash": "src/xxhash",
},
install_targets=[
"fyaml",
],
post_install=post_install,
)
|