mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Move golang dependencies to (gnu packages golang).
These packages are needed by syncthing and the new restic-rest-server package, so put them in (gnu packages golang) instead. * gnu/packages/syncthing.scm (go-github-com-prometheus-common, go-github-com-prometheus-procfs, go-github-com-prometheus-client-golang): Move variables ... * gnu/packages/golang.scm (go-github-com-prometheus-common, go-github-com-prometheus-procfs, go-github-com-prometheus-client-golang): ... to here. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
a61b08ffa7
commit
4976208fa8
2 changed files with 90 additions and 90 deletions
|
@ -9497,6 +9497,96 @@ RFC-5802 and RFC-7677.")
|
||||||
bindings for the D-Bus message bus system.")
|
bindings for the D-Bus message bus system.")
|
||||||
(license license:bsd-2)))
|
(license license:bsd-2)))
|
||||||
|
|
||||||
|
(define-public go-github-com-prometheus-common
|
||||||
|
(package
|
||||||
|
(name "go-github-com-prometheus-common")
|
||||||
|
(version "0.4.1")
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/prometheus/common")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0sf4sjdckblz1hqdfvripk3zyp8xq89w7q75kbsyg4c078af896s"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:import-path "github.com/prometheus/common"
|
||||||
|
#:tests? #f
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
;; Source-only package
|
||||||
|
(delete 'build))))
|
||||||
|
(propagated-inputs
|
||||||
|
(list go-github-com-golang-protobuf-proto
|
||||||
|
go-github-com-matttproud-golang-protobuf-extensions-pbutil
|
||||||
|
go-github-com-prometheus-client-model))
|
||||||
|
(synopsis "Prometheus metrics")
|
||||||
|
(description "This package provides tools for reading and writing
|
||||||
|
Prometheus metrics.")
|
||||||
|
(home-page "https://github.com/prometheus/common")
|
||||||
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public go-github-com-prometheus-procfs
|
||||||
|
(package
|
||||||
|
(name "go-github-com-prometheus-procfs")
|
||||||
|
(version "0.0.4")
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/prometheus/procfs")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1z5jq5rjala0a0di4nwk1rai0z9f73qwqj6mgcbpjbg2qknlb544"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:import-path "github.com/prometheus/procfs"
|
||||||
|
;; The tests require Go modules, which are not yet supported in Guix's
|
||||||
|
;; Go build system.
|
||||||
|
#:tests? #f))
|
||||||
|
(synopsis "Go library for reading @file{/proc}")
|
||||||
|
(description "The @code{procfs} Go package provides functions to retrieve
|
||||||
|
system, kernel, and process metrics from the @file{/proc} pseudo file system.")
|
||||||
|
(home-page "https://github.com/prometheus/procfs")
|
||||||
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public go-github-com-prometheus-client-golang
|
||||||
|
(package
|
||||||
|
(name "go-github-com-prometheus-client-golang")
|
||||||
|
(version "1.2.1")
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/prometheus/client_golang")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0zs49psk23n9z8wrl02d5vib5wclpym8kaxcy6n5pk696i419065"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:tests? #f
|
||||||
|
#:import-path "github.com/prometheus/client_golang"
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
;; Source-only package
|
||||||
|
(delete 'build))))
|
||||||
|
(propagated-inputs
|
||||||
|
(list go-github-com-beorn7-perks-quantile
|
||||||
|
go-github-com-golang-protobuf-proto
|
||||||
|
go-github-com-prometheus-client-model
|
||||||
|
go-github-com-prometheus-common
|
||||||
|
go-github-com-prometheus-procfs
|
||||||
|
go-github-com-cespare-xxhash))
|
||||||
|
(synopsis "HTTP server and client tools for Prometheus")
|
||||||
|
(description "This package @code{promhttp} provides HTTP client and
|
||||||
|
server tools for Prometheus metrics.")
|
||||||
|
(home-page "https://github.com/prometheus/client_golang")
|
||||||
|
(license license:asl2.0)))
|
||||||
|
|
||||||
(define-public go-github-com-zalando-go-keyring
|
(define-public go-github-com-zalando-go-keyring
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-zalando-go-keyring")
|
(name "go-github-com-zalando-go-keyring")
|
||||||
|
|
|
@ -877,96 +877,6 @@ message streaming.")
|
||||||
(home-page "https://github.com/matttproud/golang_protobuf_extensions")
|
(home-page "https://github.com/matttproud/golang_protobuf_extensions")
|
||||||
(license asl2.0))))
|
(license asl2.0))))
|
||||||
|
|
||||||
(define-public go-github-com-prometheus-common
|
|
||||||
(package
|
|
||||||
(name "go-github-com-prometheus-common")
|
|
||||||
(version "0.4.1")
|
|
||||||
(source (origin
|
|
||||||
(method git-fetch)
|
|
||||||
(uri (git-reference
|
|
||||||
(url "https://github.com/prometheus/common")
|
|
||||||
(commit (string-append "v" version))))
|
|
||||||
(file-name (git-file-name name version))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"0sf4sjdckblz1hqdfvripk3zyp8xq89w7q75kbsyg4c078af896s"))))
|
|
||||||
(build-system go-build-system)
|
|
||||||
(arguments
|
|
||||||
'(#:import-path "github.com/prometheus/common"
|
|
||||||
#:tests? #f
|
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
;; Source-only package
|
|
||||||
(delete 'build))))
|
|
||||||
(propagated-inputs
|
|
||||||
(list go-github-com-golang-protobuf-proto
|
|
||||||
go-github-com-matttproud-golang-protobuf-extensions-pbutil
|
|
||||||
go-github-com-prometheus-client-model))
|
|
||||||
(synopsis "Prometheus metrics")
|
|
||||||
(description "This package provides tools for reading and writing
|
|
||||||
Prometheus metrics.")
|
|
||||||
(home-page "https://github.com/prometheus/common")
|
|
||||||
(license asl2.0)))
|
|
||||||
|
|
||||||
(define-public go-github-com-prometheus-procfs
|
|
||||||
(package
|
|
||||||
(name "go-github-com-prometheus-procfs")
|
|
||||||
(version "0.0.4")
|
|
||||||
(source (origin
|
|
||||||
(method git-fetch)
|
|
||||||
(uri (git-reference
|
|
||||||
(url "https://github.com/prometheus/procfs")
|
|
||||||
(commit (string-append "v" version))))
|
|
||||||
(file-name (git-file-name name version))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"1z5jq5rjala0a0di4nwk1rai0z9f73qwqj6mgcbpjbg2qknlb544"))))
|
|
||||||
(build-system go-build-system)
|
|
||||||
(arguments
|
|
||||||
'(#:import-path "github.com/prometheus/procfs"
|
|
||||||
;; The tests require Go modules, which are not yet supported in Guix's
|
|
||||||
;; Go build system.
|
|
||||||
#:tests? #f))
|
|
||||||
(synopsis "Go library for reading @file{/proc}")
|
|
||||||
(description "The @code{procfs} Go package provides functions to retrieve
|
|
||||||
system, kernel, and process metrics from the @file{/proc} pseudo file system.")
|
|
||||||
(home-page "https://github.com/prometheus/procfs")
|
|
||||||
(license asl2.0)))
|
|
||||||
|
|
||||||
(define-public go-github-com-prometheus-client-golang
|
|
||||||
(package
|
|
||||||
(name "go-github-com-prometheus-client-golang")
|
|
||||||
(version "1.2.1")
|
|
||||||
(source (origin
|
|
||||||
(method git-fetch)
|
|
||||||
(uri (git-reference
|
|
||||||
(url "https://github.com/prometheus/client_golang")
|
|
||||||
(commit (string-append "v" version))))
|
|
||||||
(file-name (git-file-name name version))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"0zs49psk23n9z8wrl02d5vib5wclpym8kaxcy6n5pk696i419065"))))
|
|
||||||
(build-system go-build-system)
|
|
||||||
(arguments
|
|
||||||
'(#:tests? #f
|
|
||||||
#:import-path "github.com/prometheus/client_golang"
|
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
;; Source-only package
|
|
||||||
(delete 'build))))
|
|
||||||
(propagated-inputs
|
|
||||||
(list go-github-com-beorn7-perks-quantile
|
|
||||||
go-github-com-golang-protobuf-proto
|
|
||||||
go-github-com-prometheus-client-model
|
|
||||||
go-github-com-prometheus-common
|
|
||||||
go-github-com-prometheus-procfs
|
|
||||||
go-github-com-cespare-xxhash))
|
|
||||||
(synopsis "HTTP server and client tools for Prometheus")
|
|
||||||
(description "This package @code{promhttp} provides HTTP client and
|
|
||||||
server tools for Prometheus metrics.")
|
|
||||||
(home-page "https://github.com/prometheus/client_golang")
|
|
||||||
(license asl2.0)))
|
|
||||||
|
|
||||||
(define-public go-github-com-go-asn1-ber-asn1-ber
|
(define-public go-github-com-go-asn1-ber-asn1-ber
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-go-asn1-ber-asn1-ber")
|
(name "go-github-com-go-asn1-ber-asn1-ber")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue