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