sharlatan pushed a commit to branch go-team
in repository guix.

commit 6a92c3fe40b4f3ced03ace1255a5899549aba076
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Thu Feb 13 17:33:35 2025 +0000

    gnu: go-github-com-rakyll-statik: Move to golang-xyz.
    
    * gnu/packages/golang.scm (go-github-com-rakyll-statik): Move from here
    ...
    * gnu/packages/golang-xyz.scm: ...  to here.
    
    Change-Id: I02d155318c585b6d2e5bb243305a687c40a8ba44
---
 gnu/packages/golang-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 gnu/packages/golang.scm     | 41 -----------------------------------------
 2 files changed, 41 insertions(+), 41 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 545f587030..de5a45f93b 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -13147,6 +13147,47 @@ without configuration, but if desired, everything can 
be customized down to the
 smallest detail.")
     (license license:expat)))
 
+(define-public go-github-com-rakyll-statik
+  (package
+    (name "go-github-com-rakyll-statik")
+    (version "0.1.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/rakyll/statik";)
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0y0kbzma55vmyqhyrw9ssgvxn6nw7d0zg72a7nz8vp1zly4hs6va"))
+       (snippet
+        #~(begin
+            (use-modules (guix build utils))
+            ;; Fix compatibility with go-1.18+
+            (substitute* "statik.go"
+              (("fmt\\.Println\\(helpText\\)")
+               "fmt.Print(helpText + \"\\n\")"))))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/rakyll/statik"
+      #:test-flags
+      #~(list "-skip"
+              (string-join
+               (list
+                "TestOpen/Files_should_retain_their_original_file*"
+                "TestOpen/Images_should_successfully_unpack"
+                "TestOpen/'index.html'_files_should_be_returned*"
+                "TestOpen/listed_all_sub_directories_in_deep_directory"
+                "TestOpen/Paths_containing_dots_should_be_properly_sanitized")
+               "|"))))
+    (home-page "https://github.com/rakyll/statik/";)
+    (synopsis "Embed files into a Go executable")
+    (description "Statik allows you to embed a directory of static files into
+your Go binary to be later served from an http.FileSystem.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-raulk-go-watchdog
   (package
     (name "go-github-com-raulk-go-watchdog")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c2d05e26be..bc02f38056 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1691,47 +1691,6 @@ management interface.  It can be used to monitor and 
control an OpenVPN process
 running with its management port enabled.")
       (license license:expat))))
 
-(define-public go-github-com-rakyll-statik
-  (package
-    (name "go-github-com-rakyll-statik")
-    (version "0.1.7")
-    (source
-     (origin
-       (method git-fetch)
-       (uri
-        (git-reference
-         (url "https://github.com/rakyll/statik";)
-         (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "0y0kbzma55vmyqhyrw9ssgvxn6nw7d0zg72a7nz8vp1zly4hs6va"))
-       (snippet
-        #~(begin
-            (use-modules (guix build utils))
-            ;; Fix compatibility with go-1.18+
-            (substitute* "statik.go"
-              (("fmt\\.Println\\(helpText\\)")
-               "fmt.Print(helpText + \"\\n\")"))))))
-    (build-system go-build-system)
-    (arguments
-     (list
-      #:import-path "github.com/rakyll/statik"
-      #:test-flags
-      #~(list "-skip"
-              (string-join
-               (list
-                "TestOpen/Files_should_retain_their_original_file*"
-                "TestOpen/Images_should_successfully_unpack"
-                "TestOpen/'index.html'_files_should_be_returned*"
-                "TestOpen/listed_all_sub_directories_in_deep_directory"
-                "TestOpen/Paths_containing_dots_should_be_properly_sanitized")
-               "|"))))
-    (home-page "https://github.com/rakyll/statik/";)
-    (synopsis "Embed files into a Go executable")
-    (description "Statik allows you to embed a directory of static files into
-your Go binary to be later served from an http.FileSystem.")
-    (license license:asl2.0)))
-
 (define-public go-gopkg.in-tomb.v2
   (let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c")
         (revision "0"))

Reply via email to