gnu: Add go-github-com-godbus-dbus.

* gnu/packages/golang.scm (go-github-com-godbus-dbus): New variable.
This commit is contained in:
Oleg Pykhalov 2020-08-09 16:11:59 +03:00
parent e3997ad797
commit cff62457cc
No known key found for this signature in database
GPG key ID: 167F8EA5001AFA9C

View file

@ -46,6 +46,7 @@ (define-module (gnu packages golang)
#:use-module (gnu packages)
#:use-module (gnu packages admin)
#:use-module (gnu packages gcc)
#:use-module (gnu packages glib)
#:use-module (gnu packages base)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
@ -5485,3 +5486,28 @@ (define-public go-github-com-twpayne-go-xdg
(description "Package @code{xdg} provides functions related to
@uref{freedesktop.org}.")
(license license:expat)))
(define-public go-github-com-godbus-dbus
(package
(name "go-github-com-godbus-dbus")
(version "5.0.3")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/godbus/dbus")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1bkc904073k807yxg6mvqaxrr6ammmhginr9p54jfb55mz3hfw3s"))))
(build-system go-build-system)
(arguments
`(#:tests? #f ;no /var/run/dbus/system_bus_socket
#:import-path "github.com/godbus/dbus"))
(native-inputs
`(("dbus" ,dbus))) ;dbus-launch
(home-page "https://github.com/godbus/dbus/")
(synopsis "Native Go client bindings for the D-Bus")
(description "@code{dbus} is a library that implements native Go client
bindings for the D-Bus message bus system.")
(license license:bsd-2)))