__init__.py 447 B

1234567891011121314151617181920212223
  1. from devtools.yamaker.project import NixProject
  2. def post_install(self):
  3. m = self.yamakes["."]
  4. m.SRCS -= {
  5. "src/xxhash/xxhash.c",
  6. }
  7. m.PEERDIR += {"contrib/libs/xxhash"}
  8. libfyaml = NixProject(
  9. owners=["g:cpp-contrib"],
  10. arcdir="contrib/libs/libfyaml",
  11. nixattr="libfyaml",
  12. unbundle_from={
  13. "xxhash": "src/xxhash",
  14. },
  15. install_targets=[
  16. "fyaml",
  17. ],
  18. post_install=post_install,
  19. )