nixpkgs/pkgs/development/tools/godef/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

24 lines
704 B
Nix

{ stdenv, lib, buildGoPackage, fetchgit }:
buildGoPackage rec {
name = "godef-${version}";
version = "20160620-${stdenv.lib.strings.substring 0 7 rev}";
rev = "ee532b944160bb27b6f23e4f5ef38b8fdaa2a6bd";
goPackagePath = "github.com/rogpeppe/godef";
excludedPackages = "go/printer/testdata";
src = fetchgit {
inherit rev;
url = "https://github.com/rogpeppe/godef";
sha256 = "1r8c4ijjnwvb9pci4wasmq88yj0ginwly2542kw4hyg2c87j613l";
};
meta = {
description = "Print where symbols are defined in Go source code";
homepage = https://github.com/rogpeppe/godef/;
maintainers = with stdenv.lib.maintainers; [ vdemeester ];
license = stdenv.lib.licenses.bsd3;
};
}