Improve guix declaration

This commit is contained in:
Tissevert 2022-11-12 09:31:37 +01:00
parent 8a8c07ec64
commit aff304bd40

View file

@ -4,20 +4,17 @@
(guix licenses) (guix licenses)
(guix packages)) (guix packages))
(let (let ((%source-dir (dirname (current-filename))))
((%source-dir (dirname (current-filename))))
(package (package
(name "sjw-unitJS") (name "sjw-unitJS")
(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/unitJS"))))
'(("src" "lib/SJW/unitJS")))) (home-page "https://git.marvid.fr/Tissevert/UnitJS")
(home-page "https://git.marvid.fr/Tissevert/SJW")
(synopsis "The Simple Javascript Wrench.") (synopsis "The Simple Javascript Wrench.")
(description (description
"A collection of JS modules to write simple web applications. It covers "A collection of JS modules to write simple web applications. It covers