iferr: 2018-06-15 -> 0-unstable-2024-01-22
This commit is contained in:
parent
f242fc768b
commit
3f99c89532
|
@ -1,28 +1,28 @@
|
||||||
{ buildGoPackage
|
{ buildGoModule
|
||||||
, lib
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule {
|
||||||
pname = "iferr-unstable";
|
pname = "iferr";
|
||||||
version = "2018-06-15";
|
version = "0-unstable-2024-01-22";
|
||||||
rev = "bb332a3b1d9129b6486c7ddcb7030c11b05cfc88";
|
|
||||||
|
|
||||||
goPackagePath = "github.com/koron/iferr";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
inherit rev;
|
|
||||||
|
|
||||||
owner = "koron";
|
owner = "koron";
|
||||||
repo = "iferr";
|
repo = "iferr";
|
||||||
sha256 = "1nyqy1sgq2afiama4wy7wap8s03c0hiwwa0f6kwq3y59097rfc0c";
|
rev = "9c3e2fbe4bd19a7f0338e42bb483562ed4cf4d50";
|
||||||
|
hash = "sha256-qGuSsdQorb407rDl2o7w7kPCLng3W7YQsqo5JpoZFW8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vendorHash = null;
|
||||||
|
|
||||||
|
ldflags = [ "-s" "-w" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = ''Generate "if err != nil {" block'';
|
description = ''Generate "if err != nil {" block'';
|
||||||
homepage = "https://github.com/koron/iferr";
|
homepage = "https://github.com/koron/iferr";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ kalbasit ];
|
maintainers = with maintainers; [ kalbasit ];
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
mainProgram = "iferr";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user