From 701041aac1fdd74fc036c83285596aae4f47cb39 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Thu, 10 Aug 2023 19:43:09 +0800 Subject: [PATCH] gnu: Add go-github-com-dgryski-go-mph. * gnu/packages/golang.scm (go-github-com-dgryski-go-mph): New variable. Signed-off-by: Maxim Cournoyer --- gnu/packages/golang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index b50da8a395a00ac32840b129ddbbcf42aced5431..524d7ff66d8837ecc057fd5d7c007af9848ef423 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5511,6 +5511,30 @@ SysVinit, and more.") MetroHash}, a high quality, high performance hash algorithm.") (license license:expat))) +(define-public go-github-com-dgryski-go-mph + (package + (name "go-github-com-dgryski-go-mph") + (version "0.0.0-20211217222804-81a8625fb7ed") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dgryski/go-mph") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "10q8l4jdzqf54bnnxka2jk6qzayri3ijv51knn1n0iimfric8w9g")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/dgryski/go-mph")) + (propagated-inputs + (list go-github-com-dgryski-go-metro)) + (home-page "https://github.com/dgryski/go-mph") + (synopsis "Go minimal perfect hash function") + (description + "This package implements a hash/displace minimal perfect hash function.") + (license license:expat))) + (define-public go-github-com-docker-distribution (let ((commit "325b0804fef3a66309d962357aac3c2ce3f4d329") (revision "0"))