2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2017-04-16 13:37:53 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gdrive";
|
2017-04-16 13:37:53 +01:00
|
|
|
version = "2.1.0";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2017-04-16 13:37:53 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/prasmussen/gdrive";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "prasmussen";
|
|
|
|
repo = "gdrive";
|
|
|
|
sha256 = "0ywm4gdmrqzb1a99vg66a641r74p7lglavcpgkm6cc2gdwzjjfg7";
|
|
|
|
inherit rev;
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/prasmussen/gdrive";
|
2017-04-16 13:37:53 +01:00
|
|
|
description = "A command line utility for interacting with Google Drive";
|
2019-02-17 13:00:33 +00:00
|
|
|
platforms = platforms.unix;
|
2017-04-16 13:37:53 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.rzetterberg ];
|
|
|
|
};
|
|
|
|
}
|