summary refs log tree commit diff
path: root/pkgs/tools/filesystems/grive2/default.nix
blob: 59ee358e028a234e522c3b11d8e32133c35b9750 (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
25
{ stdenv, fetchFromGitHub, pkgconfig, yajl, cmake, libgcrypt, curl, expat, boost, libiberty }:

stdenv.mkDerivation rec {
  version = "0.5.0";
  pname = "grive2";

  src = fetchFromGitHub {
    owner = "vitalif";
    repo = "grive2";
    rev =  "v${version}";
    sha256 = "0gyic9228j25l5x8qj9xxxp2cgbw6y4skxqx0xrq6qilhv4lj23c";
  };

  nativeBuildInputs = [ cmake pkgconfig ];

  buildInputs = [ libgcrypt yajl curl expat stdenv boost libiberty ];

  meta = with stdenv.lib; {
    description = "A console Google Drive client";
    homepage = https://github.com/vitalif/grive2;
    license = licenses.gpl2;
    platforms = platforms.linux;
  };

}