forked from mirrors/nixpkgs
41 lines
702 B
Nix
41 lines
702 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, pkgconfig
|
|
, gtk3
|
|
, thunar
|
|
, cmake
|
|
, ninja
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "thunar-dropbox";
|
|
version = "0.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Jeinzi";
|
|
repo = "thunar-dropbox";
|
|
rev = version;
|
|
sha256 = "1fshjvh542ffa8npfxv3cassgn6jclb2ix9ir997y4k0abzp1fxb";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
cmake
|
|
ninja
|
|
];
|
|
|
|
buildInputs = [
|
|
thunar
|
|
gtk3
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/Jeinzi/thunar-dropbox";
|
|
description = "A plugin that adds context-menu items for Dropbox to Thunar";
|
|
license = licenses.gpl3;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|