From c778d1375f99e36905c0a1f886e2a8c4da3fabf9 Mon Sep 17 00:00:00 2001 From: Arthur Rodrigues Date: Wed, 22 Oct 2025 19:48:58 +0000 Subject: [PATCH] gnu: Add go-github-com-mitchellh-hashstructure. * gnu/packages/golang-crypto.scm (go-github-com-mitchellh-hashstructure): New variable. Change-Id: Iba414ca1fa916c1c353ca0fa7da1017aabbd555d Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-crypto.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm index 14b29a6520428ccbc1181b09b3ec0214033c5190..acaf9ac1169450ec2dfc86737bc31c23aa876a09 100644 --- a/gnu/packages/golang-crypto.scm +++ b/gnu/packages/golang-crypto.scm @@ -1806,6 +1806,36 @@ implementations are described in \"Fast SHA-256 Implementations on Intel Architecture Processors\" by J. Guilford et al.") (license license:asl2.0))) +;; XXX: Deprecated in upstream: This repository has been archived by the owner +;; on Jul 22, 2024. It is now read-only. +;; Consider to remove when nothing is depend on it. +(define-public go-github-com-mitchellh-hashstructure + (package + (name "go-github-com-mitchellh-hashstructure") + (version "2.0.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mitchellh/hashstructure") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0yyr1igvyv7dzjxs9hbwk7qhshwxys0hq59sy2g2a46hjgi311iv")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/mitchellh/hashstructure/v2")) + (home-page "https://github.com/mitchellh/hashstructure") + (synopsis "Unique hash value for arbitrary values in Go") + (description + "This package is a Go library for creating a unique hash value for +arbitrary values in Go. This can be used to key values in a hash (for use in a +map, set, etc.) that are complex. The most common use case is comparing two +values without sending data across the network, caching values +locally (de-dup), and so on.") + (license license:expat))) + (define-public go-github-com-mr-tron-base58 (package (name "go-github-com-mr-tron-base58")