unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#64306] [PATCH] gnu: public-suffix-list: Update to 0-2.d2d3e2e.
@ 2023-06-26 18:00 Hilton Chain via Guix-patches via
  2023-07-01  7:15 ` Christopher Baines
  0 siblings, 1 reply; 2+ messages in thread
From: Hilton Chain via Guix-patches via @ 2023-06-26 18:00 UTC (permalink / raw)
  To: 64306; +Cc: Hilton Chain

* gnu/packages/dns.scm (public-suffix-list): Update to 0-2.d2d3e2e.
[build-system]: Switch to copy-build-system.
---
 gnu/packages/dns.scm | 33 ++++++++++++---------------------
 1 file changed, 12 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index ac60e61976..4485993e5d 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -1242,10 +1242,10 @@ (define-public public-suffix-list
   ;; so its contents will change over time.  If you update this commit, please
   ;; make sure that the new commit refers to a list which is identical to the
   ;; officially published list available from the URL above.
-  (let ((commit "9375b697baddb0827a5995c81bd3c75877a0b35d"))
+  (let ((commit "d2d3e2e36a8f2b68c4f09e8c87f4f1d685cbf5e7"))
     (package
       (name "public-suffix-list")
-      (version (git-version "0" "1" commit))
+      (version (git-version "0" "2" commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
@@ -1254,26 +1254,17 @@ (define-public public-suffix-list
                 (file-name (git-file-name name version))
                 (sha256
                  (base32
-                  "1sm7pni01rnl4ldzi8z8nc4cbgq8nxda9gwc68v0s3ij7jd1jmik"))))
-      (build-system trivial-build-system)
+                  "1f6rydx4hdd6lja376f4sdp7iv64vqlmhmnlkg0rb17279dc9483"))))
+      (build-system copy-build-system)
       (arguments
-       `(#:modules ((guix build utils))
-         #:builder
-         (begin
-           (use-modules (guix build utils))
-           (let* ((out (assoc-ref %outputs "out"))
-                  ;; Install to /share because that is where "read-only
-                  ;; architecture-independent data files" should go (see:
-                  ;; (standards) Directory Variables).  Include the version in
-                  ;; the directory name so that if multiple versions are ever
-                  ;; installed in the same profile, they will not conflict.
-                  (destination (string-append
-                                out "/share/public-suffix-list-" ,version))
-                  (source (assoc-ref %build-inputs "source")))
-             (with-directory-excursion source
-             (install-file "public_suffix_list.dat" destination)
-             (install-file "LICENSE" destination))
-             #t))))
+       (list #:install-plan
+             ;; Install to /share because that is where "read-only
+             ;; architecture-independent data files" should go (see: (standards)
+             ;; Directory Variables).  Include the version in the directory name
+             ;; so that if multiple versions are ever installed in the same
+             ;; profile, they will not conflict.
+             #~'(("public_suffix_list.dat"
+                  #$(string-append "/share/public-suffix-list-" version "/")))))
       (home-page "https://publicsuffix.org/")
       (synopsis "Database of current and historical DNS suffixes")
       (description "This is the Public Suffix List maintained by Mozilla.  A

base-commit: c585b14ae83160b7c320b4e74a3810ab5c49853a
-- 
2.40.1





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-01  7:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-26 18:00 [bug#64306] [PATCH] gnu: public-suffix-list: Update to 0-2.d2d3e2e Hilton Chain via Guix-patches via
2023-07-01  7:15 ` Christopher Baines

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).