loom: Refactor sjw packages to avoid repetitions.

* loom/packages/sjw.scm (sjw, sjw-unitjs, sjw-wtk): Move home-page field
  to avoid repetition.
This commit is contained in:
Tissevert 2023-03-26 17:58:36 +02:00
parent 49f9b7da72
commit 0f1cce4034

View file

@ -16,10 +16,11 @@
(package (package
(name "sjw") (name "sjw")
(version "0.1.3.1") (version "0.1.3.1")
(home-page "https://git.marvid.fr/Tissevert/SJW")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://git.marvid.fr/Tissevert/SJW") (url home-page)
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
@ -31,7 +32,6 @@
(list (search-path-specification (list (search-path-specification
(variable "SJW_PATH") (variable "SJW_PATH")
(files '("lib/SJW"))))) (files '("lib/SJW")))))
(home-page "https://git.marvid.fr/Tissevert/SJW")
(synopsis "The Simple Javascript Wrench") (synopsis "The Simple Javascript Wrench")
(description (description
"SJW is a very simple tool to pack several JS modules into a single "SJW is a very simple tool to pack several JS modules into a single
@ -45,10 +45,11 @@
(package (package
(name "sjw-unitjs") (name "sjw-unitjs")
(version "0.1.2") (version "0.1.2")
(home-page "https://git.marvid.fr/Tissevert/UnitJS")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://git.marvid.fr/Tissevert/UnitJS") (url home-page)
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
@ -57,7 +58,6 @@
(build-system copy-build-system) (build-system copy-build-system)
(arguments (arguments
'(#:install-plan '(("src" "lib/SJW/unitJS")))) '(#:install-plan '(("src" "lib/SJW/unitJS"))))
(home-page "https://git.marvid.fr/Tissevert/UnitJS")
(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
@ -70,10 +70,11 @@
(package (package
(name "sjw-wtk") (name "sjw-wtk")
(version "0.1.0") (version "0.1.0")
(home-page "https://git.marvid.fr/Tissevert/WTK")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://git.marvid.fr/Tissevert/WTK") (url home-page)
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
@ -82,7 +83,6 @@
(build-system copy-build-system) (build-system copy-build-system)
(arguments (arguments
'(#:install-plan '(("src" "lib/SJW/WTK")))) '(#:install-plan '(("src" "lib/SJW/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