tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
pinentry: find moc when qt4 enabled
Thomas Tuegel
10 years ago
af6c270b
64a507bd
+9
-2
1 changed file
expand all
collapse all
unified
split
pkgs
tools
security
pinentry
default.nix
+9
-2
pkgs/tools/security/pinentry/default.nix
···
19
20
buildInputs = [ libcap gtk2 ncurses qt4 ];
21
0
0
0
0
0
0
22
configureFlags = [
23
(mkWith (libcap != null) "libcap")
24
(mkWith (hasX) "x")
···
36
license = stdenv.lib.licenses.gpl2Plus;
37
platforms = stdenv.lib.platforms.all;
38
longDescription = ''
39
-
Pinentry provides a console and a GTK+ GUI that allows users to
40
-
enter a passphrase when `gpg' or `gpg2' is run and needs it.
41
'';
0
42
};
43
}
···
19
20
buildInputs = [ libcap gtk2 ncurses qt4 ];
21
22
+
# configure cannot find moc on its own
23
+
preConfigure = stdenv.lib.optionalString (qt4 != null) ''
24
+
export QTDIR="${qt4}"
25
+
export MOC="${qt4}/bin/moc"
26
+
'';
27
+
28
configureFlags = [
29
(mkWith (libcap != null) "libcap")
30
(mkWith (hasX) "x")
···
42
license = stdenv.lib.licenses.gpl2Plus;
43
platforms = stdenv.lib.platforms.all;
44
longDescription = ''
45
+
Pinentry provides a console and (optional) GTK+ and Qt GUIs allowing users
46
+
to enter a passphrase when `gpg' or `gpg2' is run and needs it.
47
'';
48
+
maintainers = [ stdenv.lib.maintainers.ttuegel ];
49
};
50
}