guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: go-github-com-lib-pq: Move to golang-xyz.


From: guix-commits
Subject: 02/03: gnu: go-github-com-lib-pq: Move to golang-xyz.
Date: Sun, 24 Mar 2024 18:15:32 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit 40d697a30140321865f2c3fff28711d543673474
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Mar 24 21:49:35 2024 +0000

    gnu: go-github-com-lib-pq: Move to golang-xyz.
    
    * gnu/packages/syncthing.scm (go-github-com-lib-pq): Move from here ...
    * gnu/packages/golang-xyz.scm: ... to here.
    
    * gnu/packages/databases.scm: Remvoe (gnu packages syncthing).
    
    Change-Id: I0f2f9c2366fd47b7167044d76f8c2c67a2f65544
---
 gnu/packages/databases.scm  |  1 -
 gnu/packages/golang-xyz.scm | 28 ++++++++++++++++++++++++++++
 gnu/packages/syncthing.scm  | 25 -------------------------
 3 files changed, 28 insertions(+), 26 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index ea49868c06..a1b689744b 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -160,7 +160,6 @@
   #:use-module (gnu packages sphinx)
   #:use-module (gnu packages ssh)
   #:use-module (gnu packages sqlite)
-  #:use-module (gnu packages syncthing)           ;for go-github-com-lib-pq
   #:use-module (gnu packages tcl)
   #:use-module (gnu packages terminals)
   #:use-module (gnu packages texinfo)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 65de42f642..6c08e74104 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
 ;;; Copyright © 2019 Brian Leung <bkleung89@gmail.com>
 ;;; Copyright © 2019 Leo Famulari <leo@famulari.name>
+;;; Copyright © 2019 Vagrant Cascadian <vagrant@debian.org>
 ;;; Copyright © 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2020 Joseph LaFreniere <joseph@lafreniere.xyz>
 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
@@ -1221,6 +1222,33 @@ called concurrently with themselves and each other.")
 customized globally.")
     (license license:expat)))
 
+(define-public go-github-com-lib-pq
+  (package
+    (name "go-github-com-lib-pq")
+    (version "1.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/lib/pq";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "08j1smm6rassdssdks4yh9aspa1dv1g5nvwimmknspvhx8a7waqz"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/lib/pq"
+      ;; The tests seem to fail without access to the network or a running
+      ;; Postgres instance.
+      #:tests? #f))
+    (home-page "https://github.com/lib/pq";)
+    (synopsis "Golang Postgres driver for Go's database/sql")
+    (description
+     "This package provides a pure Go Postgres driver for Go's
+database/sql package.")
+    (license license:expat)))
+
 (define-public go-github-com-matryer-try
   (package
     (name "go-github-com-matryer-try")
diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index ebbf8b82bb..779e921d65 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -424,31 +424,6 @@ address of the default LAN gateway.")
     (home-page "https://github.com/jackpal/gateway";)
     (license bsd-3)))
 
-(define-public go-github-com-lib-pq
-  (package
-    (name "go-github-com-lib-pq")
-    (version "1.2.0")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/lib/pq";)
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "08j1smm6rassdssdks4yh9aspa1dv1g5nvwimmknspvhx8a7waqz"))))
-    (build-system go-build-system)
-    (arguments
-     `(#:import-path "github.com/lib/pq"
-       ;; The tests seem to fail without access to the network or a running
-       ;; Postgres instance.
-       #:tests? #f))
-    (synopsis "Golang Postgres driver for Go's database/sql")
-    (description "This package provides a pure Go Postgres driver for Go's
-database/sql package.")
-    (home-page "https://github.com/lib/pq";)
-    (license expat)))
-
 (define-public go-github-com-oschwald-geoip2-golang
   (package
     (name "go-github-com-oschwald-geoip2-golang")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]