about summary refs log tree commit diff
path: root/pkgs/applications/networking/sync
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2019-09-20 10:55:57 +0300
committerDoron Behar <doron.behar@gmail.com>2019-09-20 15:38:51 +0300
commitb22d36f7683cc318879864f982568d722c80935e (patch)
tree85289fda46ed4c45ee36b204cd62d9fd93f4e69b /pkgs/applications/networking/sync
parentdae532c44571cac44269f55ba06a947d5cd14379 (diff)
downloadnixlib-b22d36f7683cc318879864f982568d722c80935e.tar
nixlib-b22d36f7683cc318879864f982568d722c80935e.tar.gz
nixlib-b22d36f7683cc318879864f982568d722c80935e.tar.bz2
nixlib-b22d36f7683cc318879864f982568d722c80935e.tar.lz
nixlib-b22d36f7683cc318879864f982568d722c80935e.tar.xz
nixlib-b22d36f7683cc318879864f982568d722c80935e.tar.zst
nixlib-b22d36f7683cc318879864f982568d722c80935e.zip
onedrive: init at 2.3.9
Diffstat (limited to 'pkgs/applications/networking/sync')
-rw-r--r--pkgs/applications/networking/sync/onedrive/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/applications/networking/sync/onedrive/default.nix b/pkgs/applications/networking/sync/onedrive/default.nix
new file mode 100644
index 000000000000..ceaddeb3d443
--- /dev/null
+++ b/pkgs/applications/networking/sync/onedrive/default.nix
@@ -0,0 +1,35 @@
+{ stdenv
+, fetchFromGitHub
+, dmd
+, pkgconfig
+, curl
+, sqlite
+}:
+
+stdenv.mkDerivation rec {
+  pname = "onedrive";
+  version = "2.3.9";
+
+  src = fetchFromGitHub {
+    owner = "abraunegg";
+    repo = "onedrive";
+    rev = "v${version}";
+    sha256 = "0fg2zzhhd1wl8z416px432xynx6whnzdamzdckc8rmm1cvghgb0f";
+  };
+
+  nativeBuildInputs = [
+    dmd
+    pkgconfig
+  ];
+  buildInputs = [
+    curl
+    sqlite
+  ];
+  meta = with stdenv.lib; {
+    description = "A complete tool to interact with OneDrive on Linux";
+    homepage = "https://github.com/abraunegg/onedrive";
+    license = licenses.gpl3;
+    maintainers = with maintainers; [ doronbehar ];
+    platforms = platforms.linux;
+  };
+}