From 4e482db2a9178f3f4af76103f7adada2c6a08678 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 7 Feb 2025 09:47:21 +0000 Subject: [PATCH] gnu: go-github-com-dgraph-io-ristretto: Update to 1.0.1. * gnu/packages/golang-xyz.scm (go-github-com-dgraph-io-ristretto): Update to 1.0.1. [argumens] : Use default 'check. Change-Id: Id22d72b51c83beea7acd972d1ce40df9068ea412 --- gnu/packages/golang-xyz.scm | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index f4aca4b979..22478211b8 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -4099,7 +4099,7 @@ supports concurrent serializable transactions.") (define-public go-github-com-dgraph-io-ristretto (package (name "go-github-com-dgraph-io-ristretto") - (version "0.1.1") + (version "1.0.1") (source (origin (method git-fetch) @@ -4108,7 +4108,7 @@ supports concurrent serializable transactions.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0mjni3zaxvjvw5c7nh4sij13sslg92x9xi3ykxzbv2s6g2ynigss")))) + (base32 "0lp6plhiskdpka44qlcw1x90nknccnkj1bnmxyxhzm8knx8c5yvw")))) (build-system go-build-system) (arguments (list @@ -4128,13 +4128,7 @@ supports concurrent serializable transactions.") (lambda* (#:key import-path #:allow-other-keys) (with-directory-excursion (string-append "src/" import-path) (delete-file-recursively "benchmarks") - (delete-file-recursively "contrib")))) - ;; XXX: Replace when go-build-system supports nested path. - (replace 'check - (lambda* (#:key import-path tests? #:allow-other-keys) - (when tests? - (with-directory-excursion (string-append "src/" import-path) - (invoke "go" "test" "-v" "./...")))))))) + (delete-file-recursively "contrib"))))))) (native-inputs (list go-github-com-stretchr-testify)) (propagated-inputs