Skip to content

Commit

Permalink
feat: envdoc
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <[email protected]>
  • Loading branch information
caarlos0 committed Jun 25, 2024
1 parent 80e949d commit 515f5f2
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
3 changes: 2 additions & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@

clone-org = pkgs.callPackage ./pkgs/clone-org { };
discord-applemusic-rich-presence = pkgs.callPackage ./pkgs/discord-applemusic-rich-presence { };
envdoc = pkgs.callPackage ./pkgs/envdoc { };
fork-cleaner = pkgs.callPackage ./pkgs/fork-cleaner { };
glyphs = pkgs.callPackage ./pkgs/glyphs { };
gocovsh = pkgs.callPackage ./pkgs/gocovsh { };
gopls = pkgs.callPackage ./pkgs/gopls { };
golangci-lint = pkgs.callPackage ./pkgs/golangci-lint { };
gopls = pkgs.callPackage ./pkgs/gopls { };
jsonfmt = pkgs.callPackage ./pkgs/jsonfmt { };
misspell = pkgs.callPackage ./pkgs/misspell { };
org-stats = pkgs.callPackage ./pkgs/org-stats { };
Expand Down
27 changes: 27 additions & 0 deletions pkgs/envdoc/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "envdoc";
version = "0.2.4";

src = fetchFromGitHub {
owner = "g4s8";
repo = "envdoc";
rev = "v${version}";
hash = "sha256-oimI9sGfM8u2vmdmrLwAgwbTN5t9y3hCx2Fzh2gH/CE=";
};

vendorHash = null;

doCheck = false;

meta = with lib; {
description = "Go tool to generate documentation for environment variables";
homepage = "https://github.com/g4s8/envdoc";
changelog = "https://github.com/g4s8/envdoc/commits";
maintainers = with maintainers; [ caarlos0 ];
mainProgram = "envdoc";
};
}

0 comments on commit 515f5f2

Please sign in to comment.