forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.nix
69 lines (60 loc) · 1.25 KB
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
mkDerivation,
stdenv,
fetchurl,
extra-cmake-modules,
kdoctools,
shared-mime-info,
libkgapi,
accounts-qt,
kaccounts-integration,
kaccounts-providers,
intltool,
kcontacts,
kio,
kcalendarcore,
qtkeychain,
signon-ui,
signond,
libaccounts-glib,
libsecret
}:
stdenv.mkDerivation rec {
name = "kio-gdrive";
version = "1.2.7";
src = fetchurl {
url = "mirror://kde/stable/kio-gdrive/${version}/src/kio-gdrive-${version}.tar.xz";
sha256 = "1b59e4d9940deb290cc4d7441d4ae8762ccb1de8d14dbd0bdbd3bc9a5fc266a4";
name = "kio-gdrive-${version}.tar.xz";
};
nativeBuildInputs = [
extra-cmake-modules
kdoctools
shared-mime-info
libsecret
libaccounts-glib
];
buildInputs = [
libkgapi
kaccounts-integration
kaccounts-providers
accounts-qt
intltool
kcontacts
qtkeychain
kio
signon-ui
signond
kcalendarcore
];
meta = with stdenv.lib; {
description = "A KIO slave that enables KIO-aware applications to access and edit Google Drive files on the cloud";
homepage = https://community.kde.org/KIO_GDrive;
platforms = platforms.linux;
license = with licenses; [
gpl2
gpl3
];
maintainers = [ maintainers.konstantsky ];
};
}