mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
28 lines
626 B
Nix
28 lines
626 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "godef";
|
|
version = "1.1.2";
|
|
rev = "v${version}";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
vendorHash = null;
|
|
|
|
doCheck = false;
|
|
|
|
src = fetchFromGitHub {
|
|
inherit rev;
|
|
owner = "rogpeppe";
|
|
repo = "godef";
|
|
sha256 = "0rhhg73kzai6qzhw31yxw3nhpsijn849qai2v9am955svmnckvf4";
|
|
};
|
|
|
|
meta = {
|
|
description = "Print where symbols are defined in Go source code";
|
|
mainProgram = "godef";
|
|
homepage = "https://github.com/rogpeppe/godef/";
|
|
maintainers = with lib.maintainers; [ vdemeester rvolosatovs ];
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
}
|