1{ lib
2, buildGoModule
3, fetchFromGitHub
4}:
5
6buildGoModule rec {
7 pname = "enumer";
8 version = "1.5.9";
9
10 src = fetchFromGitHub {
11 owner = "dmarkham";
12 repo = "enumer";
13 rev = "refs/tags/v${version}";
14 hash = "sha256-NYL36GBogFM48IgIWhFa1OLZNUeEi0ppS6KXybnPQks=";
15 };
16
17 vendorHash = "sha256-CJCay24FlzDmLjfZ1VBxih0f+bgBNu+Xn57QgWT13TA=";
18
19 meta = with lib; {
20 description = "Go tool to auto generate methods for enums";
21 homepage = "https://github.com/dmarkham/enumer";
22 license = licenses.bsd2;
23 maintainers = with maintainers; [ hexa ];
24 };
25}