Improve guix declaration

This commit is contained in:
Tissevert 2022-11-12 10:00:51 +01:00
parent de21144ef0
commit f5d0c62f17
1 changed files with 7 additions and 10 deletions

View File

@ -4,22 +4,19 @@
(guix licenses) (guix licenses)
(guix packages)) (guix packages))
(let (let ((%source-dir (dirname (current-filename))))
((%source-dir (dirname (current-filename))))
(package (package
(name "sjw-wtk") (name "sjw-wtk")
(version "devel") (version "devel")
(source (source (local-file %source-dir
(local-file %source-dir #:recursive? #t
#:recursive? #t #:select? (git-predicate %source-dir)))
#:select? (git-predicate %source-dir)))
(build-system copy-build-system) (build-system copy-build-system)
(arguments (arguments
'(#:install-plan '(#:install-plan '(("src" "lib/SJW/WTK"))))
'(("src" "lib/SJW/WTK"))))
(home-page "https://git.marvid.fr/Tissevert/WTK") (home-page "https://git.marvid.fr/Tissevert/WTK")
(synopsis "The Web Tool Kit") (synopsis "The Web Tool Kit")
(description (description
"The Web Tool Kit aims at providing high-level abstraction modules to "The Web Tool Kit aims at providing high-level abstraction modules to
build web applications easily.") build web applications easily.")
(license gpl3+))) (license gpl3+)))