From ede4f50c6b1d29401fe14908dfa96f6355feaf7e Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Wed, 11 Oct 2017 00:54:56 -0400 Subject: gnu: Add go-github-com-golang-groupcache-lru. * gnu/packages/syncthing.scm (go-github-com-golang-groupcache-lru): New variable. --- gnu/packages/syncthing.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index fdf6f464ef..96bebadc6f 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -256,3 +256,30 @@ generation features. This code generation is used to achieve: @end itemize") (home-page "https://github.com/gogo/protobuf") (license bsd-3)))) + +(define-public go-github-com-golang-groupcache-lru + (let ((commit "72d04f9fcdec7d3821820cc4a6f150eae553639a") + (revision "0")) + (package + (name "go-github-com-golang-groupcache-lru") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/golang/groupcache") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1l3ryh7bq1f2mhr3sd3x1wav99pd27r8l3ydgqh375wn4x7v5qd6")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/golang/groupcache/lru" + #:unpack-path "github.com/golang/groupcache")) + (synopsis "Groupcache is a caching and cache-filling library") + (description "Groupcache is a caching and cache-filling library, intended +as a replacement for memcached in many cases. It provides a data loading +mechanism with caching and de-duplication that works across a set of peer +processes.") + (home-page "https://github.com/golang/groupcache") + (license asl2.0)))) -- cgit v1.2.3