2022-11-27 09:42:12 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
2023-07-15 17:15:38 +00:00
|
|
|
, fetchFromGitHub
|
2022-11-27 09:42:12 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "enumer";
|
2023-10-19 13:55:26 +00:00
|
|
|
version = "1.5.9";
|
2022-11-27 09:42:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dmarkham";
|
|
|
|
repo = "enumer";
|
|
|
|
rev = "refs/tags/v${version}";
|
2023-10-19 13:55:26 +00:00
|
|
|
hash = "sha256-NYL36GBogFM48IgIWhFa1OLZNUeEi0ppS6KXybnPQks=";
|
2022-11-27 09:42:12 +00:00
|
|
|
};
|
|
|
|
|
2023-10-19 13:55:26 +00:00
|
|
|
vendorHash = "sha256-CJCay24FlzDmLjfZ1VBxih0f+bgBNu+Xn57QgWT13TA=";
|
2022-11-27 09:42:12 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Go tool to auto generate methods for enums";
|
|
|
|
homepage = "https://github.com/dmarkham/enumer";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ hexa ];
|
|
|
|
};
|
|
|
|
}
|