[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
35/39: gnu: go-github.com-smartystreets-assertions: Move to (gnu package
From: |
guix-commits |
Subject: |
35/39: gnu: go-github.com-smartystreets-assertions: Move to (gnu packages golang-check). |
Date: |
Sun, 28 Jan 2024 18:47:50 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit 8882af2572de94b93cce3be6ebccf0bee51f8ee1
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Jan 17 22:13:38 2024 +0000
gnu: go-github.com-smartystreets-assertions: Move to (gnu packages
golang-check).
* gnu/packages/check.scm (go-github.com-smartystreets-assertions): Move
from here ...
* gnu/packages/golang-check.scm: ... to here.
Change-Id: Ia90bbe984fe19dd48d9df91364a7ecf2bf8bd37f
---
gnu/packages/check.scm | 33 ---------------------------------
gnu/packages/golang-check.scm | 33 +++++++++++++++++++++++++++++++++
2 files changed, 33 insertions(+), 33 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 7c6d8b967b..1f4c69cf99 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -898,39 +898,6 @@ prevent common NGINX misconfigurations. It provides the
@command{gixy}
command.")
(license license:mpl2.0))))
-(define-public go-github.com-smartystreets-assertions
- (package
- (name "go-github.com-smartystreets-assertions")
- (version "1.13.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/smartystreets/assertions")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
"0flf3fb6fsw3bk1viva0fzrzw87djaj1mqvrx2gzg1ssn7xzfrzr"))))
- (build-system go-build-system)
- (arguments
- (list
- #:import-path "github.com/smartystreets/assertions"
- #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs #:allow-other-keys #:rest args)
- (unless
- ;; The tests fail when run with gccgo.
- (false-if-exception (search-input-file inputs "/bin/gccgo"))
- (apply (assoc-ref %standard-phases 'check) args)))))))
- (native-inputs
- (list go-github.com-smartystreets-gunit))
- (synopsis "Assertions for testing with Go")
- (description
- "The @code{assertions} package provides convenient assertion functions
-for writing tests in Go.")
- (home-page "https://github.com/smartystreets/assertions")
- (license license:expat)))
-
(define-public go-github.com-smartystreets-goconvey
(package
(name "go-github.com-smartystreets-goconvey")
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 207e4a548f..0c37849806 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.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 © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2020 Joseph LaFreniere <joseph@lafreniere.xyz>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
@@ -379,6 +380,38 @@ builds on top of Go's builtin @code{testing} library and
is complemented by the
Gomega matcher library.")
(license license:expat)))
+(define-public go-github.com-smartystreets-assertions
+ (package
+ (name "go-github.com-smartystreets-assertions")
+ (version "1.13.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/smartystreets/assertions")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256 (base32
"0flf3fb6fsw3bk1viva0fzrzw87djaj1mqvrx2gzg1ssn7xzfrzr"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/smartystreets/assertions"
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs #:allow-other-keys #:rest args)
+ (unless
+ ;; The tests fail when run with gccgo.
+ (false-if-exception (search-input-file inputs "/bin/gccgo"))
+ (apply (assoc-ref %standard-phases 'check) args)))))))
+ (native-inputs
+ (list go-github.com-smartystreets-gunit))
+ (home-page "https://github.com/smartystreets/assertions")
+ (synopsis "Assertions for testing with Go")
+ (description "The @code{assertions} package provides convenient assertion
+functions for writing tests in Go.")
+ (license license:expat)))
+
(define-public go-github.com-smartystreets-gunit
(package
(name "go-github.com-smartystreets-gunit")
- 39/39: teams: go: Add more related files to the scope., (continued)
- 39/39: teams: go: Add more related files to the scope., guix-commits, 2024/01/28
- 19/39: gnu: go-github-com-emersion-go-pgpmail: Move to (gnu packages golang-crypto)., guix-commits, 2024/01/28
- 29/39: gnu: go-github-com-cespare-xxhash: Move to (gnu packages golang-crypto)., guix-commits, 2024/01/28
- 32/39: gnu: go-filippo-io-age: Move to (gnu packages golang-crypto)., guix-commits, 2024/01/28
- 34/39: gnu: go-github.com-smartystreets-gunit: Move to (gnu packages golang-check)., guix-commits, 2024/01/28
- 13/39: gnu: go-github-com-marten-seemann-qtls: Move to (gnu packages golang-crypto)., guix-commits, 2024/01/28
- 21/39: gnu: go-github-com-btcsuite-btcd-btcec: Move to (gnu packages golang-crypto)., guix-commits, 2024/01/28
- 15/39: gnu: go-github-com-quic-go-qtls-go1-20: Move to (gnu packages golang-crypto)., guix-commits, 2024/01/28
- 20/39: gnu: go-github-com-protonmail-go-crypto: Move to (gnu packages golang-crypto)., guix-commits, 2024/01/28
- 26/39: gnu: go-github-com-gxed-hashland-keccakpg: Move to (gnu packages golang-crypto)., guix-commits, 2024/01/28
- 35/39: gnu: go-github.com-smartystreets-assertions: Move to (gnu packages golang-check).,
guix-commits <=
- 11/39: gnu: go-filippo-io-edwards25519: Move to (gnu packages golang-crypto)., guix-commits, 2024/01/28
- 12/39: gnu: go-gitlab-com-yawning-edwards25519-extra: Move to (gnu packages golang-crypto)., guix-commits, 2024/01/28
- 17/39: gnu: go-github-com-aperturerobotics-jacobsa-crypto: Move to (gnu packages golang-crypto)., guix-commits, 2024/01/28
- 18/39: gnu: go-github-com-rfjakob-eme: Move to (gnu packages golang-crypto)., guix-commits, 2024/01/28
- 25/39: gnu: go-github-com-flynn-noise: Move to (gnu packages golang-crypto)., guix-commits, 2024/01/28