summary refs log tree commit diff
path: root/pkgs/development/tools/gotags/default.nix
blob: 8ba61f793d7badaf4566a4600b5eb04b0be79bd9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, goPackages, fetchFromGitHub }:

with goPackages;

buildGoPackage rec {
  rev = "a60c6a1b171faedc44354bd437d965e5e3bdc220";
  name = "gotags-${lib.strings.substring 0 7 rev}";

  goPackagePath = "github.com/jstemmer/gotags";

  src = fetchFromGitHub {
    inherit rev;
    owner = "jstemmer";
    repo = "gotags";
    sha256 = "1drbypby0isdmkq44jmlv59k3jrwvq2jciaccxx2qc2nnx444fkq";
  };

  dontInstallSrc = true;

  meta = with lib; {
    description = "Ctags-compatible tag generator for Go";
    homepage = https://github.com/nsf/gotags;
    license = licenses.mit;
    maintainers = with maintainers; [ offline ];
    platforms = platforms.unix;
  };
}