plakar: fix build by using buildGo125Module; install manpages (#510533)

This commit is contained in:
Sandro
2026-04-28 22:53:36 +00:00
committed by GitHub
+12 -2
View File
@@ -1,11 +1,12 @@
{
stdenv,
lib,
buildGoModule,
buildGo125Module,
fetchFromGitHub,
installShellFiles,
fuse,
}:
buildGoModule (finalAttrs: {
buildGo125Module (finalAttrs: {
pname = "plakar";
version = "1.0.6";
@@ -22,6 +23,10 @@ buildGoModule (finalAttrs: {
fuse
];
nativeBuildInputs = [
installShellFiles
];
checkFlags =
let
skippedTests = [
@@ -31,10 +36,15 @@ buildGoModule (finalAttrs: {
++ lib.optionals stdenv.isDarwin [
"TestBTreeScanMemory"
"TestBTreeScanPebble"
"TestExecuteCmdServerDefault"
];
in
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
postInstall = ''
installManPage $(find $src -regex '.*\.[0-9]$')
'';
meta = {
mainProgram = "plakar";
description = "Encrypted, queryable backups for engineers based on an immutable data store and portable archives";