[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#66619] [PATCH 03/19] gnu: go-github-com-jacobsa-oglemock: Move to (
From: |
Sharlatan Hellseher |
Subject: |
[bug#66619] [PATCH 03/19] gnu: go-github-com-jacobsa-oglemock: Move to (gnu packages golang-check) |
Date: |
Thu, 19 Oct 2023 02:28:56 +0100 |
* gnu/packages/golang.scm (go-github-com-jacobsa-oglemock): Move from here...
* gnu/packages/golang-check.scm: ... to here.
* gnu/packages/file-systems.scm: Add use-module (gnu-packages golang-check).
---
gnu/packages/file-systems.scm | 1 +
gnu/packages/golang-check.scm | 31 +++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 29 -----------------------------
3 files changed, 32 insertions(+), 29 deletions(-)
diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index 63de393851..bc061a5958 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -68,6 +68,7 @@ (define-module (gnu packages file-systems)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-check)
#:use-module (gnu packages guile)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages kerberos)
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index c6b2f3f99e..7ca3cf5d64 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2022 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2023 Felix Lechner <felix.lechner@lease-up.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -34,6 +35,36 @@ (define-module (gnu packages golang-check)
;;;
;;; Code:
+(define-public go-github-com-jacobsa-oglemock
+ (let ((commit "e94d794d06ffc6de42cb19d0dab3c219efdd6dcf")
+ (revision "0"))
+ (package
+ (name "go-github-com-jacobsa-oglemock")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jacobsa/oglemock")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "14yxf8ykwdwkcccksl6741xgzcf8qykyi58kp4maxpgscqhdl8rq"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/jacobsa/oglemock"
+ ;; break loop with with go-github-com-jacobsa-ogletest
+ #:tests? #f))
+ (native-inputs
+ (list go-github-com-jacobsa-oglematchers))
+ (home-page "https://github.com/jacobsa/oglemock")
+ (synopsis "Mocking framework for unit tests")
+ (description
+ "Package oglemock provides a mocking framework for unit tests.")
+ (license license:asl2.0))))
+
(define-public go-github-com-stretchr-testify
(package
(name "go-github-com-stretchr-testify")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9a7f60fc0a..05a68cdcc9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1339,35 +1339,6 @@ (define-public go-github-com-jacobsa-oglematchers
Test for C++ and Google JS Test.")
(license license:asl2.0))))
-(define-public go-github-com-jacobsa-oglemock
- (let ((commit "e94d794d06ffc6de42cb19d0dab3c219efdd6dcf")
- (revision "0"))
- (package
- (name "go-github-com-jacobsa-oglemock")
- (version (git-version "0.0.0" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/jacobsa/oglemock")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "14yxf8ykwdwkcccksl6741xgzcf8qykyi58kp4maxpgscqhdl8rq"))))
- (build-system go-build-system)
- (arguments
- (list
- #:import-path "github.com/jacobsa/oglemock"
- ;; break loop with with go-github-com-jacobsa-ogletest
- #:tests? #f))
- (native-inputs (list
- go-github-com-jacobsa-oglematchers))
- (home-page "https://github.com/jacobsa/oglemock")
- (synopsis "Mocking framework for unit tests")
- (description
- "Package oglemock provides a mocking framework for unit tests.")
- (license license:asl2.0))))
-
(define-public go-github-com-jacobsa-ogletest
(let ((commit "80d50a735a1108a2aeb7abc4a988d183f20c5292")
(revision "0"))
--
2.41.0
- [bug#66619] [PATCH 00/19] Split (gnu packages golang) part I, Sharlatan Hellseher, 2023/10/18
- [bug#66619] [PATCH 01/19] gnu: Add (gnu packages golang-check) module., Sharlatan Hellseher, 2023/10/18
- [bug#66619] [PATCH 02/19] gnu: go-github-com-stretchr-testify: Move to (gnu packages golang-check)., Sharlatan Hellseher, 2023/10/18
- [bug#66619] [PATCH 04/19] gnu: go-github-com-stretchr-testify: Remove lables., Sharlatan Hellseher, 2023/10/18
- [bug#66619] [PATCH 03/19] gnu: go-github-com-jacobsa-oglemock: Move to (gnu packages golang-check),
Sharlatan Hellseher <=
- [bug#66619] [PATCH 05/19] gnu: go-gopkg-in-check-v1: Move to (gnu packages golang-check)., Sharlatan Hellseher, 2023/10/18
- [bug#66619] [PATCH 06/19] gnu: go-github-com-jacobsa-oglematchers: Move to (gnu packages golang-check)., Sharlatan Hellseher, 2023/10/18
- [bug#66619] [PATCH 09/19] gnu: go-github-com-tdewolff-test: Move to (gnu packages golang-check)., Sharlatan Hellseher, 2023/10/18
- [bug#66619] [PATCH 07/19] gnu: go-github-com-golangplus-testing: Move to (gnu packages golang-check)., Sharlatan Hellseher, 2023/10/18
- [bug#66619] [PATCH 08/19] gnu: go-gopkg-in-go-playground-assert-v1: Move to (gnu packages golang-check)., Sharlatan Hellseher, 2023/10/18
- [bug#66619] [PATCH 11/19] gnu: go-github-com-google-gofuzz: Move to (gnu packages golang-check)., Sharlatan Hellseher, 2023/10/18
- [bug#66619] [PATCH 15/19] gnu: go-github-com-onsi-ginkgo: Move to (gnu packages golang-check)., Sharlatan Hellseher, 2023/10/18
- [bug#66619] [PATCH 14/19] gnu: go-github-com-google-go-cmdtest: Move to (gnu packages golang-check)., Sharlatan Hellseher, 2023/10/18
- [bug#66619] [PATCH 10/19] gnu: go-github-com-jacobsa-ogletest: Move to (gnu packages golang-check)., Sharlatan Hellseher, 2023/10/18
- [bug#66619] [PATCH 12/19] gnu: go-github-com-cheekybits-is: Move to (gnu packages golang-check)., Sharlatan Hellseher, 2023/10/18