Merge pull request #242040 from dotlambda/librclone-fix
librclone: fix build
This commit is contained in:
commit
a0c6cb3272
@ -1,6 +1,7 @@
|
||||
{ lib, stdenv, buildGoModule, fetchFromGitHub, buildPackages, installShellFiles, fetchpatch
|
||||
, makeWrapper
|
||||
, enableCmount ? true, fuse, macfuse-stubs
|
||||
, librclone
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@ -58,6 +59,10 @@ buildGoModule rec {
|
||||
--prefix LD_LIBRARY_PATH : "${fuse}/lib"
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
inherit librclone;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command line program to sync files and directories to and from major cloud storage";
|
||||
homepage = "https://rclone.org";
|
||||
|
@ -8,7 +8,7 @@ let
|
||||
ext = stdenv.hostPlatform.extensions.sharedLibrary;
|
||||
in buildGoModule rec {
|
||||
pname = "librclone";
|
||||
inherit (rclone) version src vendorSha256;
|
||||
inherit (rclone) version src patches vendorSha256;
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
Loading…
Reference in New Issue
Block a user