Unverified Commit 6b37831c authored by Franz Pletz's avatar Franz Pletz Committed by GitHub
Browse files

openapi-changes: 0.0.68 -> 0.0.75 (#383963)

parents 6185545b 44b57294
Loading
Loading
Loading
Loading
+10 −5
Original line number Diff line number Diff line
{
  lib,
  buildGo123Module,
  buildGoModule,
  fetchFromGitHub,
  git,
  gitUpdater,
  makeWrapper,
}:

buildGo123Module rec {
buildGoModule rec {
  pname = "openapi-changes";
  version = "0.0.68";
  version = "0.0.75";

  src = fetchFromGitHub {
    owner = "pb33f";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-v+THD4ZWnpeuxLfxaA4LUGdYV3X5rUKeCWq9HIub59Y=";
    hash = "sha256-/bUnCN+/Gs5RW3N5fl0/ucwMG4mrYPG0syYMMqIQzIQ=";
  };

  # this test requires the `.git` of the project to be present
@@ -28,7 +29,11 @@ buildGo123Module rec {
    wrapProgram $out/bin/openapi-changes --prefix PATH : ${lib.makeBinPath [ git ]}
  '';

  vendorHash = "sha256-IiI+mSbJNEpM6rryGtAnGSOcY2RXnvqXTZmZ82L1HPc=";
  vendorHash = "sha256-bcQAXPw4x+oXx3L0vypbqp96nYdcjQo6M3yOwFbIdpg=";

  passthru.updateScript = gitUpdater {
    rev-prefix = "v";
  };

  meta = with lib; {
    description = "World's sexiest OpenAPI breaking changes detector";