impl: init unstable at 2018-02-27
This commit is contained in:
parent
6a09bfc8bc
commit
fce50a7880
30
pkgs/development/tools/impl/default.nix
Normal file
30
pkgs/development/tools/impl/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ buildGoPackage
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "impl-unstable-${version}";
|
||||
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;
|
||||
};
|
||||
}
|
11
pkgs/development/tools/impl/deps.nix
generated
Normal file
11
pkgs/development/tools/impl/deps.nix
generated
Normal file
@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
goPackagePath = "golang.org/x/tools";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/tools";
|
||||
rev = "96e9e165b75e735822645eff82850b08c377be36";
|
||||
sha256 = "1zj9ck5sg9b0pphxybmvxf64hhcap7v7j37fx3v5aknf18crjjdg";
|
||||
};
|
||||
}
|
||||
]
|
@ -14767,6 +14767,8 @@ with pkgs;
|
||||
|
||||
gotests = callPackage ../development/tools/gotests { };
|
||||
|
||||
impl = callPackage ../development/tools/impl { };
|
||||
|
||||
quicktemplate = callPackage ../development/tools/quicktemplate { };
|
||||
|
||||
gogoclient = callPackage ../os-specific/linux/gogoclient { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user