Unverified Commit f09cb54c authored by adisbladis's avatar adisbladis Committed by GitHub
Browse files

Merge pull request #181408 from qowoz/skopeo

skopeo: 1.8.0 -> 1.9.0
parents 14968aa0 a85aa567
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -15,13 +15,13 @@

buildGoModule rec {
  pname = "skopeo";
  version = "1.8.0";
  version = "1.9.0";

  src = fetchFromGitHub {
    rev = "v${version}";
    owner = "containers";
    repo = "skopeo";
    sha256 = "sha256-LZN8v3pk5OvRdnhAHOa76QASRL8IPbMIFoH6ERu5r6E=";
    sha256 = "sha256-z+jrDbXtcx4dH5n4X3WDHSIzmRP09cpO/WIAU3Ewas0=";
  };

  outputs = [ "out" "man" ];
@@ -38,15 +38,14 @@ buildGoModule rec {
  buildPhase = ''
    runHook preBuild
    patchShebangs .
    make bin/skopeo docs
    make bin/skopeo completions docs
    runHook postBuild
  '';

  installPhase = ''
    runHook preInstall
    install -Dm755 bin/skopeo -t $out/bin
    installManPage docs/*.[1-9]
    installShellCompletion --bash completions/bash/skopeo
    PREFIX=$out make install-binary install-completions
    PREFIX=$man make install-docs
  '' + lib.optionalString stdenv.isLinux ''
    wrapProgram $out/bin/skopeo \
      --prefix PATH : ${lib.makeBinPath [ fuse-overlayfs ]}