27 lines
808 B
Scheme
27 lines
808 B
Scheme
(add-to-load-path ".")
|
|
(define-module (template-package)
|
|
#: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
|
|
`())
|
|
(synopsis "Guix template for projects")
|
|
(description "Guix template for projects")
|
|
(home-page "https://git.sudoer777.dev/me/guix-template")
|
|
(license license:expat)))
|