dh-golang - debhelper add-on for packaging software written in Go (golang)

Property Value
Distribution Debian 7 (Wheezy)
Repository Debian Backports Main amd64
Package filename dh-golang_1.6~bpo70+1_all.deb
Package name dh-golang
Package version 1.6~bpo70+1
Package release -
Package architecture all
Package type deb
Homepage -
License -
Maintainer -
Download size 8.73 KB
Installed size 69 B
dh-golang provides a debhelper sequence addon named 'golang', a buildsystem
module named 'golang' and a command called dh_golang.
The golang debhelper buildsystem is designed to make packaging programs
written in Go very simple.


Package Version Architecture Repository
dh-golang_1.6~bpo70+1_all.deb 1.6~bpo70+1 all Debian Backports Main
dh-golang - - -


Name Value
debhelper -
dpkg >= 1.16.2
libparse-debcontrol-perl -
perl -


Type URL
Mirror ftp.br.debian.org
Binary Package dh-golang_1.6~bpo70+1_all.deb
Source Package dh-golang

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    deb http://ftp.debian.org/debian/ wheezy-backports main
  2. Update the package index:
    # sudo apt-get update
  3. Install dh-golang deb package:
    # sudo apt-get install dh-golang




2014-10-14 - Joao Eriberto Mota Filho <eriberto@debian.org>
dh-golang (1.6~bpo70+1) wheezy-backports; urgency=low
* Rebuild for wheezy-backports.
2014-07-29 - Michael Stapelberg <stapelberg@debian.org>
dh-golang (1.6) unstable; urgency=low
[ Michael Stapelberg ]
* In debian/rules, export DH_GOLANG_BUILDPKG to overwrite "${DH_GOPKG}/..."
in the go install and go test commands. This can be used to avoid
recursing into subpackages or to specify just one specific part of the
package that should be built and installed.
* In debian/rules, export DH_GOLANG_EXCLUDES (containing a space-separated
list of perl regular expressions) to filter targets, e.g.:
export DH_GOLANG_EXCLUDES := github.com/coreos/etcd/third_party
(Closes: #721496)
[ Alessandro Ghedini ]
* Enable debian/control comment stripping (Closes: #734785)
2013-12-12 - Michael Stapelberg <stapelberg@debian.org>
dh-golang (1.5) unstable; urgency=low
* Fix a bug introduce in 1.4 which lead to .go files not being installed
without DH_GOLANG_INSTALL_ALL=1 (Closes: #731991)
2013-12-02 - Michael Stapelberg <stapelberg@debian.org>
dh-golang (1.4) unstable; urgency=low
* in debian/rules, export DH_GOLANG_INSTALL_ALL=1 to install all files into
the builddir, not just .go files. This may be necessary to include golden
files for testcases, but then you need to manually delete extra LICENSE
files and such.
2013-09-24 - Michael Stapelberg <stapelberg@debian.org>
dh-golang (1.3) unstable; urgency=low
* Skip quilt’s .pc directories when copying the source code into the
2013-09-05 - Michael Stapelberg <stapelberg@debian.org>
dh-golang (1.2) unstable; urgency=low
* Only copy bin/ if there actually are any binaries
2013-07-30 - Michael Stapelberg <stapelberg@debian.org>
dh-golang (1.1) unstable; urgency=low
* Add dependency on dpkg >= 1.16.2 for the source: fields
* Install files into /usr/share/gocode/src/${DH_GOPKG} and /usr/bin/ by
2013-07-28 - Michael Stapelberg <stapelberg@debian.org>
dh-golang (1.0) unstable; urgency=low
* Initial release (Closes: #718183)

See Also

Package Description
dh-python_1.20140511-1~bpo70+1_all.deb Debian helper tools for packaging Python libraries and applications
dh-rebar_0.0.4~bpo70+1_all.deb helper tools for maintaining Erlang package which is using rebar
dh-systemd_1.18~bpo70+1_all.deb debhelper add-on to handle systemd unit files
di-netboot-assistant_0.38a~bpo70+1_all.deb Debian-Installer netboot assistant
diskscan_0.14.1-5~bpo70+1_amd64.deb scan storage media for bad or near failure sectors
disktype_9-2~bpo70+1_amd64.deb detection of content format of a disk or disk image
dmidecode_2.12-2~bpo70+1_amd64.deb SMBIOS/DMI table decoder
dmtcp_2.3.1-6~bpo70+1_amd64.deb Checkpoint/Restart functionality for Linux processes
dns-flood-detector_1.20-1~bpo70+1_amd64.deb detect abusive usage levels on high traffic nameservers
dnsutils_9.9.5.dfsg-4~bpo70+1_amd64.deb Clients provided with BIND
doctest_0.9.1-1~bpo70+1_amd64.deb test interactive Haskell examples; executable
doublecmd-common_0.5.11-1~bpo70+1_all.deb twin-panel (commander-style) file manager
doublecmd-gtk_0.5.11-1~bpo70+1_amd64.deb twin-panel (commander-style) file manager (GTK2)
doublecmd-plugins_0.5.11-1~bpo70+1_amd64.deb twin-panel (commander-style) file manager (plugins)
doublecmd-qt_0.5.11-1~bpo70+1_amd64.deb twin-panel (commander-style) file manager (Qt4)