2022-11-14 00:43:24 +01:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
2023-07-12 17:22:45 +02:00
|
|
|
, fetchFromGitHub
|
2022-11-14 00:43:24 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "enumer";
|
2023-04-01 14:15:45 +02:00
|
|
|
version = "1.5.8";
|
2022-11-14 00:43:24 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dmarkham";
|
|
|
|
repo = "enumer";
|
|
|
|
rev = "refs/tags/v${version}";
|
2023-04-01 14:15:45 +02:00
|
|
|
hash = "sha256-+YTsXYWVmJ32V/Eptip3WAiqIYv+6nqbdph0K2XzLdc=";
|
2022-11-14 00:43:24 +01:00
|
|
|
};
|
|
|
|
|
2023-04-01 14:15:45 +02:00
|
|
|
vendorHash = "sha256-+dCitvPz2JUbybXVJxUOo1N6+SUPCSjlacL8bTSlb7w=";
|
2022-11-14 00:43:24 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|