summary refs log tree commit diff
path: root/pkgs/applications/networking/gdrive/default.nix
blob: 4a4c93128dfeef20a9bbc2709ebe77e47d331582 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "gdrive";
  version = "2.1.0";
  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 ];
  };
}