2018-07-21 00:44:44 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2016-06-05 21:30:28 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "drive";
|
2016-10-21 23:02:21 +00:00
|
|
|
version = "0.3.8.1";
|
2016-06-05 21:30:28 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/odeke-em/drive";
|
|
|
|
subPackages = [ "cmd/drive" ];
|
|
|
|
|
2016-10-21 23:02:21 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "odeke-em";
|
|
|
|
repo = "drive";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1b9cgc148rg5irg4jas10zv9i2km75x1zin25hld340dmpjcpi82";
|
2016-06-05 21:30:28 +00:00
|
|
|
};
|
|
|
|
|
2016-09-10 10:04:13 +00:00
|
|
|
goDeps = ./deps.nix;
|
2016-10-21 23:02:21 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = https://github.com/odeke-em/drive;
|
|
|
|
description = "Google Drive client for the commandline";
|
|
|
|
license = licenses.asl20;
|
2019-02-17 13:00:33 +00:00
|
|
|
platforms = platforms.unix;
|
2016-10-21 23:02:21 +00:00
|
|
|
};
|
2016-06-05 21:30:28 +00:00
|
|
|
}
|