diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2024-03-28 00:56:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-28 00:56:27 +0100 |
commit | 77d86b06fc986f54e8d14df207ae32069e9609eb (patch) | |
tree | a6a4de93a8c9eef1e03cf7a4ca3ee94719c99fd0 /pkgs | |
parent | b2df1789cc46837cc47ac80771a859e78c0bf602 (diff) | |
parent | 3f99c895320e3c7380801db442eb551288b4296e (diff) |
Merge pull request #296170 from aaronjheng/iferr
iferr: 2018-06-15 -> 0-unstable-2024-01-22
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/tools/iferr/default.nix | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/pkgs/development/tools/iferr/default.nix b/pkgs/development/tools/iferr/default.nix index 9a7b25a4cb40a..34ee7eaa99dae 100644 --- a/pkgs/development/tools/iferr/default.nix +++ b/pkgs/development/tools/iferr/default.nix @@ -1,29 +1,29 @@ -{ buildGoPackage +{ buildGoModule , lib , fetchFromGitHub }: -buildGoPackage rec { - pname = "iferr-unstable"; - version = "2018-06-15"; - rev = "bb332a3b1d9129b6486c7ddcb7030c11b05cfc88"; - - goPackagePath = "github.com/koron/iferr"; +buildGoModule { + pname = "iferr"; + version = "0-unstable-2024-01-22"; src = fetchFromGitHub { - inherit rev; - owner = "koron"; repo = "iferr"; - sha256 = "1nyqy1sgq2afiama4wy7wap8s03c0hiwwa0f6kwq3y59097rfc0c"; + rev = "9c3e2fbe4bd19a7f0338e42bb483562ed4cf4d50"; + hash = "sha256-qGuSsdQorb407rDl2o7w7kPCLng3W7YQsqo5JpoZFW8="; }; + vendorHash = null; + + ldflags = [ "-s" "-w" ]; + meta = with lib; { description = ''Generate "if err != nil {" block''; mainProgram = "iferr"; homepage = "https://github.com/koron/iferr"; license = licenses.mit; maintainers = with maintainers; [ kalbasit ]; - platforms = platforms.linux ++ platforms.darwin; + mainProgram = "iferr"; }; } |