From 84cb01dc44b90d475592b2ecde7ea8d9ccf72df9 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 2 Jun 2025 12:24:32 +0200 Subject: [PATCH] gnu: Add go-github-com-masterminds-semver. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/golang-xyz.scm (go-github-com-masterminds-semver): New variable. Co-authored-by: Ludovic Courtès Change-Id: Ic64f1a9fd600a69cffa8fabee2887b2731f2509b --- gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 19854f36700..715dcf3ddf1 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -11328,6 +11328,30 @@ ways. It is a Go implementation of some string manipulation libraries of Java Apache Commons.") (license license:asl2.0))) +(define-public go-github-com-masterminds-semver + (package + (name "go-github-com-masterminds-semver") + (version "1.5.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Masterminds/semver") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1i169xscsxsh8lsw8bz2apnsqixld37xdnfh36i30xy5wnf0iwfx")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/Masterminds/semver")) + (home-page "https://github.com/Masterminds/semver") + (synopsis "@code{semver} helps to work with semantic versions") + (description + "Package semver provides the ability to work with +@url{https://semver.org, Semantic Versions} in Go.") + (license license:expat))) + (define-public go-github-com-masterminds-semver-v3 (package (name "go-github-com-masterminds-semver-v3")