From 0f1cce4034c47ab611b4b142d55236b7a78255fe Mon Sep 17 00:00:00 2001 From: Tissevert Date: Sun, 26 Mar 2023 17:58:36 +0200 Subject: [PATCH] loom: Refactor sjw packages to avoid repetitions. * loom/packages/sjw.scm (sjw, sjw-unitjs, sjw-wtk): Move home-page field to avoid repetition. --- loom/packages/sjw.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/loom/packages/sjw.scm b/loom/packages/sjw.scm index 079fddc..6bbeb3e 100644 --- a/loom/packages/sjw.scm +++ b/loom/packages/sjw.scm @@ -16,10 +16,11 @@ (package (name "sjw") (version "0.1.3.1") + (home-page "https://git.marvid.fr/Tissevert/SJW") (source (origin (method git-fetch) (uri (git-reference - (url "https://git.marvid.fr/Tissevert/SJW") + (url home-page) (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 @@ -31,7 +32,6 @@ (list (search-path-specification (variable "SJW_PATH") (files '("lib/SJW"))))) - (home-page "https://git.marvid.fr/Tissevert/SJW") (synopsis "The Simple Javascript Wrench") (description "SJW is a very simple tool to pack several JS modules into a single @@ -45,10 +45,11 @@ (package (name "sjw-unitjs") (version "0.1.2") + (home-page "https://git.marvid.fr/Tissevert/UnitJS") (source (origin (method git-fetch) (uri (git-reference - (url "https://git.marvid.fr/Tissevert/UnitJS") + (url home-page) (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 @@ -57,7 +58,6 @@ (build-system copy-build-system) (arguments '(#:install-plan '(("src" "lib/SJW/unitJS")))) - (home-page "https://git.marvid.fr/Tissevert/UnitJS") (synopsis "The Simple Javascript Wrench.") (description "A collection of JS modules to write simple web applications. It covers @@ -70,10 +70,11 @@ (package (name "sjw-wtk") (version "0.1.0") + (home-page "https://git.marvid.fr/Tissevert/WTK") (source (origin (method git-fetch) (uri (git-reference - (url "https://git.marvid.fr/Tissevert/WTK") + (url home-page) (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 @@ -82,7 +83,6 @@ (build-system copy-build-system) (arguments '(#:install-plan '(("src" "lib/SJW/WTK")))) - (home-page "https://git.marvid.fr/Tissevert/WTK") (synopsis "The Web Tool Kit") (description "The Web Tool Kit aims at providing high-level abstraction modules to