apko: 0.10.0 -> 0.13.2

This commit is contained in:
Noah Santschi-Cooney 2024-03-07 14:11:11 +00:00
parent 1ae6537ec2
commit 77f34ccf4d
No known key found for this signature in database
GPG Key ID: 3B22282472C8AE48

View File

@ -6,13 +6,13 @@
buildGoModule rec {
pname = "apko";
version = "0.10.0";
version = "0.13.2";
src = fetchFromGitHub {
owner = "chainguard-dev";
repo = pname;
rev = "v${version}";
hash = "sha256-Dyu/cPoYI8dm/p/91oL5g8ilz9ksw4i0opsPT6rGztc=";
hash = "sha256-PGRbJ7znsjvh/ATBF8k+pMnRO8wvGY0PAVswVmFaBUc=";
# populate values that require us to use git. By doing this in postFetch we
# can delete .git afterwards and maintain better reproducibility of the src.
leaveDotGit = true;
@ -24,7 +24,7 @@ buildGoModule rec {
find "$out" -name .git -print0 | xargs -0 rm -rf
'';
};
vendorHash = "sha256-Jsp4rGIltszpQe05S3W+UFzPxhb6N5lCzUaZWBkXNWY=";
vendorHash = "sha256-aqxXCqhvCGQKI+4FDjbqPNeFvELZviQ7Inwxl65sowk=";
nativeBuildInputs = [ installShellFiles ];
@ -42,11 +42,8 @@ buildGoModule rec {
'';
checkFlags = [
# networking required to fetch alpine-keys
# pulled out into a separate library next release
"-skip=TestInitDB"
# fails to build image on read-only filesystem
"-skip=TestPublish"
# fails to run on read-only filesystem
"-skip=(TestPublish|TestBuild|TestTarFS)"
];
postInstall = ''