plakar: fix build by using buildGo125Module; install manpages (#510533)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user