impl: init unstable at 2018-02-27

This commit is contained in:
Wael M. Nasreddine 2018-11-02 21:47:38 -07:00
parent 6a09bfc8bc
commit fce50a7880
No known key found for this signature in database
GPG Key ID: 82AE0A31B33CEFCF
3 changed files with 43 additions and 0 deletions

View 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
View File

@ -0,0 +1,11 @@
[
{
goPackagePath = "golang.org/x/tools";
fetch = {
type = "git";
url = "https://go.googlesource.com/tools";
rev = "96e9e165b75e735822645eff82850b08c377be36";
sha256 = "1zj9ck5sg9b0pphxybmvxf64hhcap7v7j37fx3v5aknf18crjjdg";
};
}
]

View File

@ -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 { };