buildah: 1.15.2 -> 1.16.0

https://github.com/containers/buildah/releases/tag/V1.16.0
This commit is contained in:
zowoq 2020-09-06 12:07:46 +10:00
parent 010ed033cf
commit 22e61f4314

View File

@ -1,6 +1,7 @@
{ stdenv { stdenv
, buildGoModule , buildGoModule
, fetchFromGitHub , fetchFromGitHub
, go-md2man
, installShellFiles , installShellFiles
, pkg-config , pkg-config
, gpgme , gpgme
@ -13,13 +14,13 @@
buildGoModule rec { buildGoModule rec {
pname = "buildah"; pname = "buildah";
version = "1.15.2"; version = "1.16.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "containers"; owner = "containers";
repo = "buildah"; repo = "buildah";
rev = "v${version}"; rev = "V${version}";
sha256 = "13kqcdrdzkbg6h5za6hhkzdx4nbrg5yl97ydj2hfcakl00q4y0dp"; sha256 = "0z9fblxm3pk2jqw7h36clmj8k4k39n6ab536lyh0rp6p7hz5a988";
}; };
outputs = [ "out" "man" ]; outputs = [ "out" "man" ];
@ -28,7 +29,7 @@ buildGoModule rec {
doCheck = false; doCheck = false;
nativeBuildInputs = [ installShellFiles pkg-config ]; nativeBuildInputs = [ go-md2man installShellFiles pkg-config ];
buildInputs = [ buildInputs = [
btrfs-progs btrfs-progs
@ -41,12 +42,12 @@ buildGoModule rec {
buildPhase = '' buildPhase = ''
patchShebangs . patchShebangs .
make GIT_COMMIT="unknown" make bin/buildah GIT_COMMIT="unknown"
make -C docs make -C docs GOMD2MAN="${go-md2man}/bin/go-md2man"
''; '';
installPhase = '' installPhase = ''
install -Dm755 buildah $out/bin/buildah install -Dm755 bin/buildah $out/bin/buildah
installShellCompletion --bash contrib/completions/bash/buildah installShellCompletion --bash contrib/completions/bash/buildah
make -C docs install PREFIX="$man" make -C docs install PREFIX="$man"
''; '';