@@ -0,0 +1,25 @@
1+{ stdenv, fetchFromGitHub, pkgconfig, fetchurl, yajl, cmake, libgcrypt, curl, expat, boost, binutils }:
2+
3+stdenv.mkDerivation rec {
4+ version = "0.5.0";
5+ name = "grive2-${version}";
6+
7+ src = fetchFromGitHub {
8+ owner = "vitalif";
9+ repo = "grive2";
10+ rev = "v${version}";
11+ sha256 = "0gyic9228j25l5x8qj9xxxp2cgbw6y4skxqx0xrq6qilhv4lj23c";
12+ };
13+
14+ nativeBuildInputs = [ cmake pkgconfig ];
15+
16+ buildInputs = [ libgcrypt yajl curl expat stdenv boost binutils ];
17+
18+ meta = with stdenv.lib; {
19+ description = "A console Google Drive client";
20+ homepage = https://github.com/vitalif/grive2;
21+ license = licenses.gpl2;
22+ platforms = platforms.linux;
23+ };
24+
25+}