Commit 2ff5135b authored by 06kellyjac's avatar 06kellyjac
Browse files

doc2go: 0.5.0 -> 0.8.1

Use go1.22 as required by the go.mod toolchain directive
Ignore the integration tests because it's its own module

Diff: https://github.com/abhinav/doc2go/compare/v0.5.0...v0.8.1

Changelog: https://github.com/abhinav/doc2go/blob/v0.8.1/CHANGELOG.md
parent 1fe7393b
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -5,19 +5,21 @@

buildGoModule rec {
  pname = "doc2go";
  version = "0.5.0";
  version = "0.8.1";

  src = fetchFromGitHub {
    owner = "abhinav";
    repo = "doc2go";
    rev = "v${version}";
    hash = "sha256-CFqr1laPxKNhaluGmwW7apxLQqkAFKVznDKezH8gjx0=";
    hash = "sha256-b4L20/9jm+bFGdNsHmcwSnzcmr3Il9XoV20284Ba8PU=";
  };
  vendorHash = "sha256-2WvlH69iYqIA3d9aFVec8TZL+pMJItoNKSoDBL/NNyg=";
  vendorHash = "sha256-d5ZRMFi7GIfDHsYRNvMnDdfnGhTM1sA0WDYD2aDoEd0=";

  ldflags = [ "-s" "-w" "-X main._version=${version}" ];

  subPackages = [ "." ];
  # integration is it's own module
  excludedPackages = [ "integration" ];

  checkFlags = [
    # needs to fetch additional go modules
+3 −1
Original line number Diff line number Diff line
@@ -897,7 +897,9 @@ with pkgs;
  docker-slim = callPackage ../applications/virtualization/docker-slim { };
  doc2go = callPackage ../development/tools/doc2go { };
  doc2go = callPackage ../development/tools/doc2go {
    buildGoModule = buildGo122Module;
  };
  docker-sync = callPackage ../tools/misc/docker-sync { };