iferr: init unstable at 2018-06-15
This commit is contained in:
parent
fce50a7880
commit
e2355c6973
28
pkgs/development/tools/iferr/default.nix
Normal file
28
pkgs/development/tools/iferr/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue