package-emacs-git 675 B

1234567891011121314151617181920212223242526
  1. # -*- mode: snippet -*-
  2. # name: package emacs git
  3. # key: peg
  4. # --
  5. (define-public $2
  6. (let ((commit "")
  7. (revision "1"))
  8. (package
  9. (name "$2")
  10. (version (string-append "0.0.1" "-" revision "."
  11. (string-take commit 7)))
  12. (source
  13. (origin
  14. (method git-fetch)
  15. (uri (git-reference
  16. (url "$1.git")
  17. (commit commit)))
  18. (file-name (string-append name "-" version "-checkout"))
  19. (sha256
  20. (base32
  21. ""))))
  22. (build-system emacs-build-system)
  23. (home-page "$1")
  24. (synopsis "")
  25. (description "")
  26. (license license:gpl3+))))