nixpkgs/pkgs/applications/networking/gdrive/default.nix

25 lines
631 B
Nix
Raw Normal View History

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "gdrive";
version = "2.1.0";
2019-09-09 00:38:31 +01:00
rev = version;
goPackagePath = "github.com/prasmussen/gdrive";
src = fetchFromGitHub {
owner = "prasmussen";
repo = "gdrive";
sha256 = "0ywm4gdmrqzb1a99vg66a641r74p7lglavcpgkm6cc2gdwzjjfg7";
inherit rev;
};
meta = with stdenv.lib; {
homepage = https://github.com/prasmussen/gdrive;
description = "A command line utility for interacting with Google Drive";
platforms = platforms.unix;
license = licenses.mit;
maintainers = [ maintainers.rzetterberg ];
};
}