depot/third_party/nixpkgs/pkgs/tools/misc/enumer/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

26 lines
584 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, buildGoModule
}:
buildGoModule rec {
pname = "enumer";
version = "1.5.8";
src = fetchFromGitHub {
owner = "dmarkham";
repo = "enumer";
rev = "refs/tags/v${version}";
hash = "sha256-+YTsXYWVmJ32V/Eptip3WAiqIYv+6nqbdph0K2XzLdc=";
};
vendorHash = "sha256-+dCitvPz2JUbybXVJxUOo1N6+SUPCSjlacL8bTSlb7w=";
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 ];
};
}