15 stdenv.mkDerivation rec {
19 src = fetchFromGitHub {
23 sha256 = "sha256-P6gitA5cXfNbNDy4ohRLyXj/5dUXkCkOdE/9rJPzNCg=";
27 # Backport gcc-12 support:
28 # https://github.com/vitalif/grive2/pull/363
30 name = "gcc-12.patch";
31 url = "https://github.com/vitalif/grive2/commit/3cf1c058a3e61deb370dde36024a106a213ab2c6.patch";
32 hash = "sha256-v2Pb6Qvgml/fYzh/VCjOvEVnFYMkOHqROvLLe61DmKA=";
36 nativeBuildInputs = [ cmake pkg-config ];
38 buildInputs = [ libgcrypt yajl curl expat boost libiberty ];
41 description = "Console Google Drive client";
42 homepage = "https://github.com/vitalif/grive2";
43 license = licenses.gpl2Only;
44 platforms = platforms.linux;
45 mainProgram = "grive";