[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/74: gnu: go-golang-org-sql-mock: Refresh package style.
From: |
guix-commits |
Subject: |
16/74: gnu: go-golang-org-sql-mock: Refresh package style. |
Date: |
Thu, 25 Jul 2024 18:02:22 -0400 (EDT) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit 6f80521c7edd0d5f306408c9373b6dad7de0fe8e
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Jul 20 16:56:29 2024 +0100
gnu: go-golang-org-sql-mock: Refresh package style.
* gnu/packages/golang-check.scm (go-golang-org-sql-mock): Fix
indentation. Apply list style.
[source]: Remove snippet.
[arguments]: <#:phases>: Add 'remove-example phase.
[home-page]: Place before [synopsis].
[description]: Start from a new line.
Change-Id: Idbe31ee6a9ffe8d3d2ae4479c39f523531258bca
---
gnu/packages/golang-check.scm | 51 ++++++++++++++++++++++++-------------------
1 file changed, 28 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index aea2639293..05c37102f2 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -1065,29 +1065,34 @@ under test) much simpler.")
(license license:asl2.0)))
(define-public go-golang-org-sql-mock
- (package
- (name "go-golang-org-sql-mock")
- (version "1.5.2")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/DATA-DOG/go-sqlmock")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1vpvdx9hwmx9gm27aq5r5219xpaxz0gy4q1iqskk4saz05bspn0f"))
- (modules '((guix build utils)))
- (snippet '(delete-file-recursively "examples"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/DATA-DOG/go-sqlmock"))
- (synopsis "Mock library implementing @code{sql/driver}")
- (description "This library simulates SQL-driver behavior in tests
-without requiring a real database connection.")
- (home-page "https://github.com/DATA-DOG/go-sqlmock")
- (license license:expat)))
+ (package
+ (name "go-golang-org-sql-mock")
+ (version "1.5.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/DATA-DOG/go-sqlmock")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1vpvdx9hwmx9gm27aq5r5219xpaxz0gy4q1iqskk4saz05bspn0f"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/DATA-DOG/go-sqlmock"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-examples
+ (lambda* (#:key import-path #:allow-other-keys)
+ (delete-file-recursively
+ (string-append "src/" import-path "/examples")))))))
+ (home-page "https://github.com/DATA-DOG/go-sqlmock")
+ (synopsis "Mock library implementing @code{sql/driver}")
+ (description
+ "This library simulates SQL-driver behavior in tests without requiring a
+real database connection.")
+ (license license:expat)))
(define-public go-golang-org-x-lint
(let ((commit "83fdc39ff7b56453e3793356bcff3070b9b96445")
- 72/74: gnu: go-github-com-arceliar-ironwood: Enable tests., (continued)
- 72/74: gnu: go-github-com-arceliar-ironwood: Enable tests., guix-commits, 2024/07/25
- 09/74: gnu: go-github-com-google-go-cmp: Move to golang-build., guix-commits, 2024/07/25
- 02/74: gnu: go-golang-org-x-oauth2: Improve package style., guix-commits, 2024/07/25
- 05/74: gnu: go-github-com-google-go-cmp-cmp: Update to 0.6.0., guix-commits, 2024/07/25
- 14/74: gnu: go-github-com-stretchr-testify: Update to 1.9.0., guix-commits, 2024/07/25
- 31/74: gnu: scc: Update to 3.3.5., guix-commits, 2024/07/25
- 38/74: gnu: Add go-github-com-munnerz-goautoneg., guix-commits, 2024/07/25
- 48/74: gnu: go-github-com-beorn7-perks-quantile: Rename variable., guix-commits, 2024/07/25
- 53/74: gnu: kubo: Add missing input., guix-commits, 2024/07/25
- 58/74: gnu: go-github-com-prometheus-procfs: Update to 0.15.1., guix-commits, 2024/07/25
- 16/74: gnu: go-golang-org-sql-mock: Refresh package style.,
guix-commits <=
- 22/74: gnu: go-go-uber-org-goleak: Update to 1.3.0., guix-commits, 2024/07/25
- 21/74: gnu: go-github.com-jtolds-gls: Rename variable., guix-commits, 2024/07/25
- 29/74: gnu: go-github-com-aws-aws-sdk-go: Enable all tests., guix-commits, 2024/07/25
- 34/74: gnu: go-github-com-prometheus-client-model: Update to 0.6.1., guix-commits, 2024/07/25