me
/
guix
Archived
1
0
Fork 0

gnu: Change name of Go asn1-ber package and update to 1.3.1.

* gnu/packages/syncthing.scm (go-gopkg.in-asn1-ber.v1): Replace with ...
(go-github-com-go-asn1-ber-asn1-ber): ... new variable.
[arguments]: Remove custom 'check' phase.
master
Leo Famulari 2020-05-22 15:04:01 -04:00
parent cfe4b6e29d
commit 0ffc13921f
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 7 additions and 16 deletions

View File

@ -942,35 +942,26 @@ server tools for Prometheus metrics.")
(home-page "https://github.com/prometheus/client_golang") (home-page "https://github.com/prometheus/client_golang")
(license asl2.0))) (license asl2.0)))
(define-public go-gopkg.in-asn1-ber.v1 (define-public go-github-com-go-asn1-ber-asn1-ber
(package (package
(name "go-gopkg.in-asn1-ber.v1") (name "go-github-com-go-asn1-ber-asn1-ber")
(version "1.3") (version "1.3.1")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://gopkg.in/asn1-ber.v1") (url "https://github.com/go-asn1-ber/asn1-ber")
(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 (base32
"00ixms8x3lrhywbvq5v2sagcqsxa1pcnlk17dp5lnwckv3xg4psb")))) "0dxfmgk84fn0p6pz3i0cspynh6rly5pfk9wghm1q07mx99npln02"))))
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
'(#:import-path "gopkg.in/asn1-ber.v1" '(#:import-path "github.com/go-asn1-ber/asn1-ber"))
;; Tests don't pass "vet" on Go since 1.11. See
;; https://github.com/go-asn1-ber/asn1-ber/issues/20.
#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key import-path #:allow-other-keys)
(invoke "go" "test"
"-vet=off"
import-path))))))
(synopsis "ASN.1 BER encoding and decoding in Go") (synopsis "ASN.1 BER encoding and decoding in Go")
(description "This package provides ASN.1 BER encoding and decoding in the (description "This package provides ASN.1 BER encoding and decoding in the
Go language.") Go language.")
(home-page "https://gopkg.in/asn1-ber.v1") (home-page "https://github.com/go-asn1-ber/asn1-ber")
(license expat))) (license expat)))
(define-public go-gopkg.in-ldap.v2 (define-public go-gopkg.in-ldap.v2