@@ -10671,6 +10671,42 @@ (define-public go-github-com-oklog-ulid
(home-page "https://github.com/oklog/ulid")
(license license:asl2.0)))
+(define-public go-github-com-prometheus-alertmanager-api
+ (package
+ (name "go-github-com-prometheus-alertmanager-api")
+ (version "0.23.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/prometheus/alertmanager")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1d9mad4yp5kpcyyp9nhqv4ayz8d2gw7mv4d8ikn9ihrjcn0qmafk"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/prometheus/alertmanager/api"
+ #:unpack-path "github.com/prometheus/alertmanager"
+ #:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ ;; Source-only package
+ (delete 'build))))
+ (propagated-inputs (list go-github-com-go-openapi-swag
+ go-github-com-go-openapi-validate))
+ (synopsis "Prometheus Alertmanager")
+ (description
+ "Alertmanager handles alerts sent by client applications such as
+the Prometheus server. It takes care of deduplicating, grouping, and
+routing them to the correct receiver integrations such as email,
+PagerDuty, or OpsGenie. It also takes care of silencing and inhibition
+of alerts.
+
+This package contains the API definitions for Alertmanager.")
+ (home-page "https://github.com/prometheus/alertmanager")
+ (license license:asl2.0)))
+
(define-public go-github-com-simonpasquier-klog-gokit
(package
(name "go-github-com-simonpasquier-klog-gokit")