@@ -1,29 +0,0 @@
1−{ stdenv, fetchgit, cmake, libgcrypt, json_c, curl, expat, boost, libiberty }:
2−
3−stdenv.mkDerivation rec {
4− version = "0.3.0";
5− name = "grive-${version}";
6−
7− src = fetchgit {
8− url = "https://github.com/Grive/grive.git";
9− rev = "51e42914f3666ee6e0bc16a4c78f60b117265c24";
10− sha256 = "11cqfcjl128nfg1rjvpvr9x1x2ch3kyliw4vi14n51zqp82f9ysb";
11− };
12−
13− buildInputs = [cmake libgcrypt json_c curl expat stdenv libiberty boost];
14−
15− # work around new libiberty headers, see
16− # http://stackoverflow.com/questions/11748035/libiberty-bfd-h-wants-config-h-now
17− prePatch = ''
18− sed -i '1i#define PACKAGE "grive"\n#define PACKAGE_VERSION "${version}"' \
19− libgrive/src/bfd/SymbolInfo.cc
20− '';
21−
22− meta = {
23− description = "An open source (experimental) Linux client for Google Drive";
24− homepage = https://github.com/Grive/grive;
25− license = stdenv.lib.licenses.gpl2;
26−
27− platforms = stdenv.lib.platforms.linux;
28− };
29−}