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

36 lines
681 B
Nix
Raw Normal View History

2019-09-20 00:55:57 -07:00
{ stdenv
, fetchFromGitHub
, dmd
, pkgconfig
, curl
, sqlite
}:
stdenv.mkDerivation rec {
pname = "onedrive";
2019-10-04 05:39:44 -07:00
version = "2.3.10";
2019-09-20 00:55:57 -07:00
src = fetchFromGitHub {
owner = "abraunegg";
repo = "onedrive";
rev = "v${version}";
2019-10-04 05:39:44 -07:00
sha256 = "0ks22anxih63zwlc11z0gi531wvcricbkv1wlkrgfihi58l8fhfk";
2019-09-20 00:55:57 -07:00
};
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;
};
}