mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
committed by
github-actions[bot]
parent
7af45eba74
commit
4afabbeb8a
26
pkgs/tools/misc/enumer/default.nix
Normal file
26
pkgs/tools/misc/enumer/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, buildGoModule
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "enumer";
|
||||
version = "1.5.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dmarkham";
|
||||
repo = "enumer";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-2fVWrrWOiCtg7I3Lul2PgQ2u/qDEDioPSB61Tp0rfEo=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-BmFv0ytRnjaB7z7Gb+38Fw2ObagnaFMnMhlejhaGxsk=";
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
@@ -480,6 +480,8 @@ with pkgs;
|
||||
|
||||
efficient-compression-tool = callPackage ../tools/compression/efficient-compression-tool { };
|
||||
|
||||
enumer = callPackage ../tools/misc/enumer { };
|
||||
|
||||
evans = callPackage ../development/tools/evans { };
|
||||
|
||||
expressvpn = callPackage ../applications/networking/expressvpn { };
|
||||
|
||||
Reference in New Issue
Block a user