2018-07-21 01:44:44 +01:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2016-06-05 22:30:28 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "drive-${version}";
|
2016-10-22 00:02:21 +01:00
|
|
|
version = "0.3.8.1";
|
2016-06-05 22:30:28 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/odeke-em/drive";
|
|
|
|
subPackages = [ "cmd/drive" ];
|
|
|
|
|
2016-10-22 00:02:21 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "odeke-em";
|
|
|
|
repo = "drive";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1b9cgc148rg5irg4jas10zv9i2km75x1zin25hld340dmpjcpi82";
|
2016-06-05 22:30:28 +01:00
|
|
|
};
|
|
|
|
|
2016-09-10 11:04:13 +01:00
|
|
|
goDeps = ./deps.nix;
|
2016-10-22 00:02:21 +01: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-22 00:02:21 +01:00
|
|
|
};
|
2016-06-05 22:30:28 +01:00
|
|
|
}
|