onedrive: 2.4.11 -> 2.4.12
This commit is contained in:
parent
432fc2d9a6
commit
4489d3e844
|
@ -1,22 +1,34 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, autoreconfHook, ldc, installShellFiles, pkg-config
|
{ stdenv
|
||||||
, curl, sqlite, libnotify
|
, lib
|
||||||
, withSystemd ? stdenv.isLinux, systemd ? null }:
|
, fetchFromGitHub
|
||||||
|
, autoreconfHook
|
||||||
|
, ldc
|
||||||
|
, installShellFiles
|
||||||
|
, pkg-config
|
||||||
|
, curl
|
||||||
|
, sqlite
|
||||||
|
, libnotify
|
||||||
|
, withSystemd ? stdenv.isLinux
|
||||||
|
, systemd
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "onedrive";
|
pname = "onedrive";
|
||||||
version = "2.4.11";
|
version = "2.4.12";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "abraunegg";
|
owner = "abraunegg";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-ioOrkhVeHHqIjoEXcYo8ATJW+2+nZOehf3XbAJUEXpY=";
|
sha256 = "sha256-rG9W90+wGLnhnfhqJjUIFGP6ZcmaxGkrdhPxQVRyxoc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ldc installShellFiles pkg-config ];
|
nativeBuildInputs = [ autoreconfHook ldc installShellFiles pkg-config ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
curl sqlite libnotify
|
curl
|
||||||
|
sqlite
|
||||||
|
libnotify
|
||||||
] ++ lib.optional withSystemd systemd;
|
] ++ lib.optional withSystemd systemd;
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
@ -36,8 +48,8 @@ stdenv.mkDerivation rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A complete tool to interact with OneDrive on Linux";
|
description = "A complete tool to interact with OneDrive on Linux";
|
||||||
homepage = "https://github.com/abraunegg/onedrive";
|
homepage = "https://github.com/abraunegg/onedrive";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3Only;
|
||||||
maintainers = with maintainers; [ srgom ianmjones ];
|
maintainers = with maintainers; [ srgom peterhoeg ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue