summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2021-06-14 12:14:12 +0800
committerJulian Stecklina <julian.stecklina@cyberus-technology.de>2021-11-22 10:20:32 +0100
commit94b1638066e845c46b5f87a31a9f0b7237df8073 (patch)
treee4f424d7156c7d1c8143bd437f9357f241d0ddb2
parentMerge pull request #146962 from NixOS/backport-138231-to-release-21.05 (diff)
downloadnixpkgs-94b1638066e845c46b5f87a31a9f0b7237df8073.tar.gz
onedrive: 2.4.11 -> 2.4.12
(cherry picked from commit 4489d3e844ef848b1eeb88804a3e81637e47a06a)
-rw-r--r--pkgs/applications/networking/sync/onedrive/default.nix28
1 files changed, 20 insertions, 8 deletions
diff --git a/pkgs/applications/networking/sync/onedrive/default.nix b/pkgs/applications/networking/sync/onedrive/default.nix
index b7e9f220f009..d53464df7a97 100644
--- a/pkgs/applications/networking/sync/onedrive/default.nix
+++ b/pkgs/applications/networking/sync/onedrive/default.nix
@@ -1,22 +1,34 @@
-{ stdenv, lib, fetchFromGitHub, autoreconfHook, ldc, installShellFiles, pkg-config
-, curl, sqlite, libnotify
-, withSystemd ? stdenv.isLinux, systemd ? null }:
+{ stdenv
+, lib
+, fetchFromGitHub
+, autoreconfHook
+, ldc
+, installShellFiles
+, pkg-config
+, curl
+, sqlite
+, libnotify
+, withSystemd ? stdenv.isLinux
+, systemd
+}:
stdenv.mkDerivation rec {
pname = "onedrive";
- version = "2.4.11";
+ version = "2.4.12";
src = fetchFromGitHub {
owner = "abraunegg";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-ioOrkhVeHHqIjoEXcYo8ATJW+2+nZOehf3XbAJUEXpY=";
+ sha256 = "sha256-rG9W90+wGLnhnfhqJjUIFGP6ZcmaxGkrdhPxQVRyxoc=";
};
nativeBuildInputs = [ autoreconfHook ldc installShellFiles pkg-config ];
buildInputs = [
- curl sqlite libnotify
+ curl
+ sqlite
+ libnotify
] ++ lib.optional withSystemd systemd;
configureFlags = [
@@ -36,8 +48,8 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "A complete tool to interact with OneDrive on Linux";
homepage = "https://github.com/abraunegg/onedrive";
- license = licenses.gpl3;
- maintainers = with maintainers; [ srgom ianmjones ];
+ license = licenses.gpl3Only;
+ maintainers = with maintainers; [ srgom peterhoeg ];
platforms = platforms.linux;
};
}