From 265bcf653cc57c1e1b34262a534ec66e60e17b07 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Sun, 9 Apr 2023 12:59:17 +1000 Subject: [PATCH] buildah: 1.29.1 -> 1.30.0 Diff: https://github.com/containers/buildah/compare/v1.29.1...v1.30.0 Changelog: https://github.com/containers/buildah/releases/tag/v1.30.0 --- pkgs/development/tools/buildah/default.nix | 10 ++++++++-- pkgs/development/tools/buildah/wrapper.nix | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/buildah/default.nix b/pkgs/development/tools/buildah/default.nix index 43acdd762ebf..c40332ff8dab 100644 --- a/pkgs/development/tools/buildah/default.nix +++ b/pkgs/development/tools/buildah/default.nix @@ -11,17 +11,19 @@ , libapparmor , libselinux , libseccomp +, testers +, buildah }: buildGoModule rec { pname = "buildah"; - version = "1.29.1"; + version = "1.30.0"; src = fetchFromGitHub { owner = "containers"; repo = "buildah"; rev = "v${version}"; - hash = "sha256-l21mirarWEOd+XxyM0YgfDiA1JSEr/uqREmBS22C9fs="; + hash = "sha256-h0fipw3lJKy+VkGkh1XbZ6wUOg4001uURoJpjNq7QOs="; }; outputs = [ "out" "man" ]; @@ -58,6 +60,10 @@ buildGoModule rec { runHook postInstall ''; + passthru.tests.version = testers.testVersion { + package = buildah; + }; + meta = with lib; { description = "A tool which facilitates building OCI images"; homepage = "https://buildah.io/"; diff --git a/pkgs/development/tools/buildah/wrapper.nix b/pkgs/development/tools/buildah/wrapper.nix index 575ee45d7d81..7b9a672d6993 100644 --- a/pkgs/development/tools/buildah/wrapper.nix +++ b/pkgs/development/tools/buildah/wrapper.nix @@ -41,7 +41,7 @@ let in runCommand buildah-unwrapped.name { name = "${buildah-unwrapped.pname}-wrapper-${buildah-unwrapped.version}"; - inherit (buildah-unwrapped) pname version; + inherit (buildah-unwrapped) pname version passthru; preferLocalBuild = true;