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.
This commit is contained in:
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

View file

@ -942,35 +942,26 @@ (define-public go-github-com-prometheus-client-golang
(home-page "https://github.com/prometheus/client_golang")
(license asl2.0)))
(define-public go-gopkg.in-asn1-ber.v1
(define-public go-github-com-go-asn1-ber-asn1-ber
(package
(name "go-gopkg.in-asn1-ber.v1")
(version "1.3")
(name "go-github-com-go-asn1-ber-asn1-ber")
(version "1.3.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://gopkg.in/asn1-ber.v1")
(url "https://github.com/go-asn1-ber/asn1-ber")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"00ixms8x3lrhywbvq5v2sagcqsxa1pcnlk17dp5lnwckv3xg4psb"))))
"0dxfmgk84fn0p6pz3i0cspynh6rly5pfk9wghm1q07mx99npln02"))))
(build-system go-build-system)
(arguments
'(#:import-path "gopkg.in/asn1-ber.v1"
;; 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))))))
'(#:import-path "github.com/go-asn1-ber/asn1-ber"))
(synopsis "ASN.1 BER encoding and decoding in Go")
(description "This package provides ASN.1 BER encoding and decoding in the
Go language.")
(home-page "https://gopkg.in/asn1-ber.v1")
(home-page "https://github.com/go-asn1-ber/asn1-ber")
(license expat)))
(define-public go-gopkg.in-ldap.v2