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 , libapparmor
, libselinux , libselinux
, libseccomp , libseccomp
, testers
, buildah
}: }:
buildGoModule rec { buildGoModule rec {
pname = "buildah"; pname = "buildah";
version = "1.29.1"; version = "1.30.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "containers"; owner = "containers";
repo = "buildah"; repo = "buildah";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-l21mirarWEOd+XxyM0YgfDiA1JSEr/uqREmBS22C9fs="; hash = "sha256-h0fipw3lJKy+VkGkh1XbZ6wUOg4001uURoJpjNq7QOs=";
}; };
outputs = [ "out" "man" ]; outputs = [ "out" "man" ];
@ -58,6 +60,10 @@ buildGoModule rec {
runHook postInstall runHook postInstall
''; '';
passthru.tests.version = testers.testVersion {
package = buildah;
};
meta = with lib; { meta = with lib; {
description = "A tool which facilitates building OCI images"; description = "A tool which facilitates building OCI images";
homepage = "https://buildah.io/"; homepage = "https://buildah.io/";

View file

@ -41,7 +41,7 @@ let
in runCommand buildah-unwrapped.name { in runCommand buildah-unwrapped.name {
name = "${buildah-unwrapped.pname}-wrapper-${buildah-unwrapped.version}"; name = "${buildah-unwrapped.pname}-wrapper-${buildah-unwrapped.version}";
inherit (buildah-unwrapped) pname version; inherit (buildah-unwrapped) pname version passthru;
preferLocalBuild = true; preferLocalBuild = true;