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