summary refs log tree commit diff
path: root/pkgs/development/tools/impl/default.nix
blob: 223f3d425c92b3fd348e1d2b9b090aefc31cdfd3 (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
28
29
30
{ buildGoPackage
, lib
, fetchFromGitHub
}:

buildGoPackage rec {
  pname = "impl-unstable";
  version = "2018-02-27";
  rev = "3d0f908298c49598b6aa84f101c69670e15d1d03";

  goPackagePath = "github.com/josharian/impl";

  src = fetchFromGitHub {
    inherit rev;

    owner = "josharian";
    repo = "impl";
    sha256 = "0xpip20x5vclrl0by1760lg73v6lj6nmkbiazlskyvpkw44h8a7c";
  };

  goDeps = ./deps.nix;

  meta = with lib; {
    description = "impl generates method stubs for implementing an interface.";
    homepage = "https://github.com/josharian/impl";
    license = licenses.mit;
    maintainers = with maintainers; [ kalbasit ];
    platforms = platforms.linux ++ platforms.darwin;
  };
}