Improve guix declaration

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

View file

@ -4,24 +4,21 @@
(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
the basics, providing asynchronous operations without any need for the basics, providing asynchronous operations without any need for
promises-support from the browser as well as primitives to create DOM promises-support from the browser as well as primitives to create DOM
elements and basic functional-programming tooling.") elements and basic functional-programming tooling.")
(license gpl3+))) (license gpl3+)))