mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
26 lines
649 B
Nix
26 lines
649 B
Nix
{ stdenv, fetchFromGitHub, pkgconfig, yajl, cmake, libgcrypt, curl, expat, boost, libiberty }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.5.0";
|
|
pname = "grive2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vitalif";
|
|
repo = "grive2";
|
|
rev = "v${version}";
|
|
sha256 = "0gyic9228j25l5x8qj9xxxp2cgbw6y4skxqx0xrq6qilhv4lj23c";
|
|
};
|
|
|
|
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;
|
|
};
|
|
|
|
}
|