Loading pkgs/by-name/op/openapi-changes/package.nix +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 Loading @@ -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"; Loading Loading
pkgs/by-name/op/openapi-changes/package.nix +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 Loading @@ -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"; Loading