[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#71843] [PATCH 15/26] gnu: Add go-github-com-otiai10-copy.
From: |
Sharlatan Hellseher |
Subject: |
[bug#71843] [PATCH 15/26] gnu: Add go-github-com-otiai10-copy. |
Date: |
Sun, 30 Jun 2024 10:05:55 +0100 |
* gnu/packages/golang-xyz.scm (go-github-com-otiai10-copy): New variable.
Change-Id: Ia1e9e2180f668546a775c6d45ad316303ae310d8
---
gnu/packages/golang-xyz.scm | 38 +++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 78bc6dd71b..944d5f93f8 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3563,6 +3563,44 @@ (define-public go-github-com-orisano-pixelmatch
included in this package.")
(license license:expat)))
+(define-public go-github-com-otiai10-copy
+ (package
+ (name "go-github-com-otiai10-copy")
+ (version "1.14.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/otiai10/copy")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0fv4cwk4k5fsd3hq5akqxrd5qxj9qm6a2wlp6s1knblhzkm1jxzb"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:go go-1.21
+ #:import-path "github.com/otiai10/copy"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'make-test-directory-writable
+ (lambda* (#:key import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (for-each make-file-writable (find-files "./test")))))
+ (add-after 'check 'remove-test-data
+ (lambda* (#:key import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (delete-file-recursively "./test")))))))
+ (native-inputs
+ (list go-github-com-otiai10-mint))
+ (propagated-inputs
+ (list go-golang-org-x-sync go-golang-org-x-sys))
+ (home-page "https://github.com/otiai10/copy")
+ (synopsis "Go copy directory recursively")
+ (description
+ "This package implments recursive copy functinoality for directory.")
+ (license license:expat)))
+
(define-public go-github-com-pbnjay-memory
(let ((commit "7b4eea64cf580186c0eceb10dc94ba3a098af46c")
(revision "2"))
--
2.41.0
- [bug#71843] [PATCH 00/26] Update and unbundle vale - part I, Sharlatan Hellseher, 2024/06/29
- [bug#71843] [PATCH 01/26] gnu: Add packages/golang-math module., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 06/26] gnu: Add go-github-com-dsnet-golib., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 02/26] gnu: Add go-github-com-montanaflynn-stats., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 11/26] gnu: Add go-github-com-remeh-sizedwaitgroup., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 03/26] gnu: Add go-github-com-shopspring-decimal., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 05/26] gnu: Add go-github-com-adrg-xdg., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 07/26] gnu: Add go-github-com-dsnet-compress., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 08/26] gnu: Add go-github-com-expr-lang-expr., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 04/26] gnu: Add go-github-com-adrg-strutil., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 15/26] gnu: Add go-github-com-otiai10-copy.,
Sharlatan Hellseher <=
- [bug#71843] [PATCH 12/26] gnu: Add go-github-com-gookit-color., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 13/26] gnu: Add go-atomicgo-dev-assert., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 19/26] gnu: Add go-github-com-errata-ai-ini., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 21/26] gnu: Add go-atomicgo-dev-schedule., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 10/26] gnu: Add go-tengo., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 14/26] gnu: Add go-github-com-otiai10-mint., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 22/26] gnu: Add go-atomicgo-dev-keyboard., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 17/26] gnu: Add go-github-com-errata-ai-regexp2., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 24/26] gnu: Add go-github-com-pterm-pterm., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 18/26] gnu: Add go-github-com-jdkato-twine., Sharlatan Hellseher, 2024/06/30