Let's Get MEGAsync into Guix

This page summarizes the projects mentioned and recommended in the original post on /r/GUIX

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • MEGAsync

    Easy automated syncing between your computers and your MEGA Cloud Drive

    (use-modules ((guix licenses) #:prefix license:) (guix utils) (guix packages) (guix git-download) (guix build-system gnu) (gnu packages qt) (gnu packages pkg-config) (gnu packages autotools) (gnu packages compression) (gnu packages wget) (gnu packages crypto) (gnu packages libevent) (gnu packages sqlite) (gnu packages cpp) (gnu packages video) (gnu packages image)) (let ([version "4.6.1.0"] [commit "8d77d99ee3816f115c93e9aabbf4bf17d2a749c2"] [revision "0"]) (package (name "megasync") (version (git-version version revision commit)) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/meganz/MEGAsync/") (commit commit) (recursive? #t))) ; for SDK (file-name (git-file-name name version)) (sha256 (base32 "0v2fvji9hs7valya0wx5qjx01c7yjld6nnp6m9gpxfkr30h5s5wb")) (modules '((guix build utils))))) (build-system gnu-build-system) (inputs `(("qtbase" ,qtbase-5))) (native-inputs `(("pkg-config" ,pkg-config) ("libtool" ,libtool) ("unzip" ,unzip) ("autoconf" ,autoconf) ("wget" ,wget) ("automake" ,automake) ;; ("curl" ,curl) ("libsodium" ,libsodium) ("libuv" ,libuv) ("zlib" ,zlib) ("sqlite" ,sqlite) ("libzen" ,libzen) ("libmediainfo" ,libmediainfo) ("freeimage" ,freeimage))) (arguments `(#:phases (modify-phases %standard-phases (add-before 'configure 'remove-externals (lambda* (#:key outputs #:allow-other-keys) (delete-file-recursively "build") (substitute* "src/configure" [("FLAG_DISABLE_ZLIB=\"\"") "FLAG_DISABLE_ZLIB=\"-z\""] [("FLAG_RAW -w -s -v -u -o ") "FLAG_RAW -w -s -o "] [(" -u \\\\") " \\"] [(" -v \\\\") " \\"] [("\\$FLAG_LIBMEDIA") "-i"]) (substitute* "src/MEGASync/mega/contrib/build_sdk.sh" [(" sqlite_pkg \\$build_dir \\$install_dir") ""] [("\\$disable_freeimage") "1"] [("\\./configure") (string-append (which "bash") " ./configure")]) (chdir "src"))) (add-after 'configure 'run-qmake (lambda* (#:key outputs #:allow-other-keys) (invoke "qmake" "MEGA.pro") (invoke "lrelease" "MEGASync/MEGASync.pro")))))) (home-page "https://mega.io/sync/") (synopsis "Synopsis") (description "Description.") (license license:bsd-3)))

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts