zowoq 2023-04-09 12:59:17 +10:00
parent dfb84d661c
commit 265bcf653c
2 changed files with 9 additions and 3 deletions

View file

@ -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/";

View file

@ -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;