gnu: go-pgregory-net-rapid: Update to 1.2.0.

* gnu/packages/golang-check.scm (go-pgregory-net-rapid): Update to 1.2.0.

Change-Id: I9bc11ba4d5fbe43bbcaa9d23864c9a73650e4ed7
This commit is contained in:
Sharlatan Hellseher 2025-09-11 11:06:03 +01:00
parent 4345d9197b
commit 2de34c845e
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -2942,7 +2942,7 @@ advanced Go linter.")
(define-public go-pgregory-net-rapid (define-public go-pgregory-net-rapid
(package (package
(name "go-pgregory-net-rapid") (name "go-pgregory-net-rapid")
(version "1.1.0") (version "1.2.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -2951,19 +2951,11 @@ advanced Go linter.")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1alyhcbdq6113sfymx7xxmxpcbgvkaipsn15cgjrcqrx8ks1hm5i")))) (base32 "0jifhk3kz071m1qgc3jsswmy3512fsx2nqi157xq3r0vqf2jsgqr"))))
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
(list (list
#:import-path "pgregory.net/rapid" #:import-path "pgregory.net/rapid"))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-failing-tests
(lambda* (#:key import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
;; Remove test file failing on go-1.21, see
;; <https://github.com/flyingmutant/rapid/issues/68>.
(delete-file "strings_example_test.go")))))))
(home-page "https://pgregory.net/rapid/") (home-page "https://pgregory.net/rapid/")
(synopsis "Go property-based testing library") (synopsis "Go property-based testing library")
(description (description