2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
|
2017-04-16 12:37:53 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gdrive";
|
2017-04-16 12:37:53 +00:00
|
|
|
version = "2.1.0";
|
2019-09-08 23:38:31 +00:00
|
|
|
rev = version;
|
2017-04-16 12:37:53 +00: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 01:11:51 +00:00
|
|
|
homepage = "https://github.com/prasmussen/gdrive";
|
2017-04-16 12:37:53 +00: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 12:37:53 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.rzetterberg ];
|
|
|
|
};
|
|
|
|
}
|