nixpkgs/pkgs/applications/networking/sync/rclone/default.nix
2017-01-02 19:27:42 -05:00

23 lines
617 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "rclone-${version}";
version = "1.35";
goPackagePath = "github.com/ncw/rclone";
src = fetchFromGitHub {
owner = "ncw";
repo = "rclone";
rev = "v${version}";
sha256 = "15dmppb7qgr3vg76dsv770l51lmsl8n8k3rvbnhhks5a2cz0kf2i";
};
meta = with stdenv.lib; {
description = "Command line program to sync files and directories to and from major cloud storage";
homepage = "http://rclone.org";
license = licenses.mit;
maintainers = with maintainers; [ danielfullmer ];
platforms = platforms.all;
};
}