diff --git a/default.nix b/default.nix index 4006ec8..28ee936 100644 --- a/default.nix +++ b/default.nix @@ -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 { }; diff --git a/pkgs/envdoc/default.nix b/pkgs/envdoc/default.nix new file mode 100644 index 0000000..eb3da59 --- /dev/null +++ b/pkgs/envdoc/default.nix @@ -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"; + }; +}