guix-package 1.7 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # -*- mode: snippet -*-
  2. # name: guix-package
  3. # key: package...
  4. # --
  5. (define-public $1
  6. (package
  7. (name "$1")
  8. (version "$2")
  9. (source origin...$0)
  10. (build-system ${3:$$(yas-choose-value "android-ndk-build-system"
  11. "ant-build-system"
  12. "asdf-build-system"
  13. "cargo-build-system"
  14. "cmake-build-system"
  15. "dub-build-system"
  16. "emacs-build-system"
  17. "font-build-system"
  18. "glib-or-gtk-build-system"
  19. "gnu-build-system"
  20. "go-build-system"
  21. "haskell-build-system"
  22. "meson-build-system"
  23. "minify-build-system"
  24. "ocaml-build-system"
  25. "perl-build-system"
  26. "python-build-system"
  27. "r-build-system"
  28. "ruby-build-system"
  29. "scons-build-system"
  30. "texlive-build-system"
  31. "trivial-build-system"
  32. "waf-build-system")})
  33. (home-page "$4")
  34. (synopsis "$5")
  35. (description "$6")
  36. (license $7)))