onedrive: 2.4.11 -> 2.4.12

This commit is contained in:
Peter Hoeg 2021-06-14 12:14:12 +08:00
parent 432fc2d9a6
commit 4489d3e844

View file

@ -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;
};
}