1
0
Fork 0
guix-typst-template/.guix/modules/template-package.scm

28 lines
870 B
Scheme
Raw Normal View History

2024-09-22 05:15:34 +00:00
(add-to-load-path ".")
(define-module (template-package)
2024-09-22 05:45:31 +00:00
#:use-module (saayix packages typst)
2024-09-22 05:15:34 +00:00
#:use-module (guix)
#:use-module (guix build-system gnu)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix git-download))
(define vcs-file?
;; Return true if the given file is under version control.
(or (git-predicate (current-source-directory))
(const #t)))
(define-public template
(package
(name "template")
(version "0.1-git")
(source (local-file "../.." "template-checkout"
#:recursive? #t
#:select? vcs-file?))
(build-system gnu-build-system)
(native-inputs
2024-09-22 05:45:31 +00:00
`(typst))
(synopsis "Guix template for Typst projects")
(description "Guix template for Typst projects")
(home-page "https://git.sudoer777.dev/me/guix-typst-template")
2024-09-22 05:15:34 +00:00
(license license:expat)))