copacetic: 0.11.1 -> 0.13.0

This commit is contained in:
Thomas Butter
2026-05-04 12:57:41 +00:00
committed by GitHub
parent ff7579709b
commit 5e6ee11b06
+16 -4
View File
@@ -12,16 +12,16 @@
buildGoModule (finalAttrs: {
pname = "copacetic";
version = "0.11.1";
version = "0.13.0";
src = fetchFromGitHub {
owner = "project-copacetic";
repo = "copacetic";
tag = "v${finalAttrs.version}";
hash = "sha256-kgFT+IK6zCGoGK8L/lwXyiUXCWYG7ElziPs0Q1cq+fw=";
hash = "sha256-FTldgBYOmJt3VIC3vwp415oPNRCAiR1cxEF8lJr5TSU=";
};
vendorHash = "sha256-qe2VJHXSYtZJlMd5R2J1NXWcXb8+cbTiDBQeN20fbEE=";
vendorHash = "sha256-nkVAHqe61AR0GBK5upsk650kl8UDp1ppFWhyi3erpr4=";
nativeBuildInputs = [ installShellFiles ];
@@ -41,6 +41,8 @@ buildGoModule (finalAttrs: {
"-X=main.version=${finalAttrs.version}"
];
__darwinAllowLocalNetworking = true;
checkFlags =
let
# Skip tests that require network access and container services
@@ -52,6 +54,16 @@ buildGoModule (finalAttrs: {
"TestPushToRegistry"
"TestMultiPlatformPluginPatch"
"TestPodmanLoader_Load_Success"
"TestMultiArchBulkPatching"
"TestComprehensiveBulkPatching"
"TestTrivyParserParseWithNodeJS/OS_and_Node.js_packages"
"TestLocalImageDescriptor"
"TestGetImageDescriptor"
"TestDotNetSDKImagePatching"
"TestGenerateWithoutReport"
"TestGenerateToStdout"
"TestCustomBuildPatching"
"TestNodeJSPatching"
];
in
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
@@ -78,6 +90,6 @@ buildGoModule (finalAttrs: {
changelog = "https://github.com/project-copacetic/copacetic/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
mainProgram = "copa";
maintainers = [ ];
maintainers = with lib.maintainers; [ tbutter ];
};
})