2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkgconfig, yajl, cmake, libgcrypt, curl, expat, boost, libiberty }:
|
2016-03-20 23:49:59 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-11-28 02:04:40 +00:00
|
|
|
version = "0.5.1";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "grive2";
|
2016-03-20 23:49:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vitalif";
|
|
|
|
repo = "grive2";
|
|
|
|
rev = "v${version}";
|
2019-11-28 02:04:40 +00:00
|
|
|
sha256 = "1kv34ys8qarjsxpb1kd8dp7b3b4ycyiwjzd6mg97d3jk7405g6nm";
|
2016-03-20 23:49:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
|
2017-10-11 00:01:42 +01:00
|
|
|
buildInputs = [ libgcrypt yajl curl expat stdenv boost libiberty ];
|
2016-03-20 23:49:59 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-03-20 23:49:59 +00:00
|
|
|
description = "A console Google Drive client";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/vitalif/grive2";
|
2016-03-20 23:49:59 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|