iferr: init unstable at 2018-06-15

This commit is contained in:
Wael M. Nasreddine 2018-11-02 21:52:22 -07:00
parent fce50a7880
commit e2355c6973
No known key found for this signature in database
GPG Key ID: 82AE0A31B33CEFCF
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,28 @@
{ buildGoPackage
, lib
, fetchFromGitHub
}:
buildGoPackage rec {
name = "iferr-unstable-${version}";
version = "2018-06-15";
rev = "bb332a3b1d9129b6486c7ddcb7030c11b05cfc88";
goPackagePath = "github.com/koron/iferr";
src = fetchFromGitHub {
inherit rev;
owner = "koron";
repo = "iferr";
sha256 = "1nyqy1sgq2afiama4wy7wap8s03c0hiwwa0f6kwq3y59097rfc0c";
};
meta = with lib; {
description = ''Generate "if err != nil {" block'';
homepage = https://github.com/koron/iferr;
license = licenses.mit;
maintainers = with maintainers; [ kalbasit ];
platforms = platforms.linux ++ platforms.darwin;
};
}

View File

@ -14718,13 +14718,14 @@ with pkgs;
easyjson = callPackage ../development/tools/easyjson { };
iferr = callPackage ../development/tools/iferr { };
go-bindata = callPackage ../development/tools/go-bindata { };
go-bindata-assetfs = callPackage ../development/tools/go-bindata-assetfs { };
go-protobuf = callPackage ../development/tools/go-protobuf { };
go-symbols = callPackage ../development/tools/go-symbols { };
go-outline = callPackage ../development/tools/go-outline { };