nixpkgs/pkgs/applications/networking/sync/onedrive/default.nix
2019-12-08 13:29:34 -08:00

35 lines
687 B
Nix

{ stdenv
, fetchFromGitHub
, dmd
, pkgconfig
, curl
, sqlite
}:
stdenv.mkDerivation rec {
pname = "onedrive";
version = "2.3.12";
src = fetchFromGitHub {
owner = "abraunegg";
repo = "onedrive";
rev = "v${version}";
sha256 = "0605nb3blvnncjx09frg2liarrd6pw8ph5jhnh764qcx0hyxcgs6";
};
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 srgom ];
platforms = platforms.linux;
};
}