mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
26 lines
651 B
Nix
26 lines
651 B
Nix
{ stdenv, fetchFromGitHub, pkgconfig, yajl, cmake, libgcrypt, curl, expat, boost, libiberty }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.5.1";
|
|
pname = "grive2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vitalif";
|
|
repo = "grive2";
|
|
rev = "v${version}";
|
|
sha256 = "1kv34ys8qarjsxpb1kd8dp7b3b4ycyiwjzd6mg97d3jk7405g6nm";
|
|
};
|
|
|
|
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;
|
|
};
|
|
|
|
}
|