diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-01-30 11:33:18 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-01-30 12:39:40 +0200 |
commit | 4cf1acc7f3033b50b0bf19e02c9f522d522d338c (patch) | |
tree | 9fd64956ee60304c15387eb394cd649e49f01467 /gnu/packages/sync.scm | |
parent | edb8c09addd186d9538d43b12af74d6c7aeea082 (diff) | |
parent | 595b53b74e3ef57a1c0c96108ba86d38a170a241 (diff) |
Merge remote-tracking branch 'origin/master' into core-updates
Conflicts:
doc/guix.texi
gnu/local.mk
gnu/packages/admin.scm
gnu/packages/base.scm
gnu/packages/chromium.scm
gnu/packages/compression.scm
gnu/packages/databases.scm
gnu/packages/diffoscope.scm
gnu/packages/freedesktop.scm
gnu/packages/gnome.scm
gnu/packages/gnupg.scm
gnu/packages/guile.scm
gnu/packages/inkscape.scm
gnu/packages/llvm.scm
gnu/packages/openldap.scm
gnu/packages/pciutils.scm
gnu/packages/ruby.scm
gnu/packages/samba.scm
gnu/packages/sqlite.scm
gnu/packages/statistics.scm
gnu/packages/syndication.scm
gnu/packages/tex.scm
gnu/packages/tls.scm
gnu/packages/version-control.scm
gnu/packages/xml.scm
guix/build-system/copy.scm
guix/scripts/home.scm
Diffstat (limited to 'gnu/packages/sync.scm')
-rw-r--r-- | gnu/packages/sync.scm | 61 |
1 files changed, 60 insertions, 1 deletions
diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm index 8c174c98ba..3ce5f2cee0 100644 --- a/gnu/packages/sync.scm +++ b/gnu/packages/sync.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2015-2020, 2022-2023 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018, 2021 Ludovic Courtès <ludo@gnu.org> @@ -31,6 +31,8 @@ #:use-module (guix build-system go) #:use-module (guix build-system meson) #:use-module (guix build-system qt) + #:use-module (guix gexp) + #:use-module (guix utils) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix packages) @@ -38,10 +40,12 @@ #:use-module (gnu packages acl) #:use-module (gnu packages adns) #:use-module (gnu packages autotools) + #:use-module (gnu packages bash) #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages crypto) #:use-module (gnu packages curl) + #:use-module (gnu packages dlang) #:use-module (gnu packages documentation) #:use-module (gnu packages freedesktop) #:use-module (gnu packages glib) @@ -359,6 +363,61 @@ synchronize to the same server and any change to the files on one computer will silently and reliably flow across to every other.") (license license:gpl2+))) +(define-public onedrive + (package + (name "onedrive") + (version "2.4.23") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/abraunegg/onedrive") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1nj4g1rbbg6g9kw1k89dmjg4mnyh5q1b3wbjhrayvnjmssx66yn8")))) + (build-system gnu-build-system) + (arguments + (list + #:configure-flags + #~(list "--enable-completions" + "--enable-notifications" + (string-append "--with-zsh-completion-dir=" + #$output "/share/zsh/site-functions") + (string-append "--with-fish-completion-dir=" + #$output "/share/fish/vendor_completions.d")) + #:make-flags + #~(list (string-append "CC=" #$(cc-for-target))) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'link-to-external-libraries + (lambda _ + ;; Only link necessary libraries. + (setenv "DCFLAGS" "-L--as-needed"))) + (add-after 'configure 'adjust-makefile + (lambda _ + (substitute* "Makefile" + (("-O ") "-O2 ")))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "./onedrive" "--version"))))))) + (native-inputs + (list pkg-config)) + (inputs + (list bash-minimal + curl-minimal + ldc + libnotify + sqlite)) + (home-page "https://abraunegg.github.io") + (synopsis "Client for OneDrive") + (description "OneDrive Client which supports OneDrive Personal, OneDrive for +Business, OneDrive for Office365 and SharePoint and fully supports Azure +National Cloud Deployments. It supports one-way and two-way sync capabilities +and securely connects to Microsoft OneDrive services.") + (license license:gpl3))) + (define-public lsyncd (package (name "lsyncd") |