nixpkgs-suyu/pkgs/applications/networking/sync/onedrive/default.nix

28 lines
729 B
Nix
Raw Normal View History

2020-01-17 01:22:57 +01:00
{ stdenv, fetchFromGitHub, dmd, pkgconfig, curl, sqlite, libnotify }:
2019-09-20 09:55:57 +02:00
stdenv.mkDerivation rec {
pname = "onedrive";
2020-01-17 01:22:57 +01:00
version = "2.3.13";
2019-09-20 09:55:57 +02:00
src = fetchFromGitHub {
owner = "abraunegg";
2020-01-17 01:22:57 +01:00
repo = pname;
2019-09-20 09:55:57 +02:00
rev = "v${version}";
2020-01-17 01:22:57 +01:00
sha256 = "0bcsrfh1g7bdlcp0zjn6np88qzpn5frv61lzxz9b2ayxf7wyybvi";
2019-09-20 09:55:57 +02:00
};
2020-01-17 01:22:57 +01:00
nativeBuildInputs = [ dmd pkgconfig ];
buildInputs = [ curl sqlite libnotify ];
configureFlags = [ "--enable-notifications" ];
2019-09-20 09:55:57 +02:00
meta = with stdenv.lib; {
description = "A complete tool to interact with OneDrive on Linux";
homepage = "https://github.com/abraunegg/onedrive";
license = licenses.gpl3;
2020-01-17 01:22:57 +01:00
maintainers = with maintainers; [ srgom ianmjones ];
2019-09-20 09:55:57 +02:00
platforms = platforms.linux;
};
}