diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-22 21:44:32 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-30 17:12:46 +0000 |
| commit | a71a1e043ec40152d1f0af103c512cb3d13c129b (patch) | |
| tree | 99e0aca6018929f1c0ffa41a2f2595a1bbfb9b2f | |
| parent | fec2bcae32d86d6857960334aa0ee17f6fd39206 (diff) | |
gnu: Add go-github-com-magefile-mage.
* gnu/packages/golang-build.scm (go-github-com-magefile-mage): New variable.
Change-Id: I739c037bc47a7f50230999b3ce9c20cb777ce2dc
Reviewed-by: Arthur Rodrigues <arthurhdrodrigues@proton.me>
| -rw-r--r-- | gnu/packages/golang-build.scm | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm index d21391eb8aa..f0a7f9c95a1 100644 --- a/gnu/packages/golang-build.scm +++ b/gnu/packages/golang-build.scm @@ -384,6 +384,51 @@ replace a file or symbolic link.") 1.1: Authentication and Security Services.") (license license:bsd-3))) +(define-public go-github-com-magefile-mage + (package + (name "go-github-com-magefile-mage") + (version "1.15.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/magefile/mage") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0zjglw9ra0mc77d6i3yavhihp94qzr9rqx1lhs9whm3qw7gyz4v9")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/magefile/mage" + #:test-flags + #~(list "-tags" "CI" + "-skip" (string-join + ;; Some tests need the "mage" binary to bootstrap + ;; tests, other fail on comparing output of options. + (list "TestBootstrap" + "TestGoModules" + "TestGoRun" + "TestInvalidAlias" + "TestMagefilesFolderMixedWithMagefiles" + "TestNoArgNoDefaultList" + "TestTimeout" + "TestWrongDependency") + "|")) + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + (setenv "HOME" "/tmp")))))) + (home-page "https://github.com/magefile/mage") + (synopsis "Make/rake-like dev tool for Golang") + (description + "Mage is a make-like build tool using for Go. It implements a +functionality of writing plain-old go functions which Mage automatically uses +as Makefile-like runnable targets consistent across a project. This package +provides a source library and built command @command{mage}.") + (license license:asl2.0))) + (define-public go-github-com-matttproud-golang-protobuf-extensions (package (name "go-github-com-matttproud-golang-protobuf-extensions") |
