qtpass: point to lupdate

This commit is contained in:
Will Dietz 2019-10-04 22:57:55 -05:00
parent a009dcdb27
commit 7d733bbc86
No known key found for this signature in database
GPG key ID: EBB0EA4124809D02

View file

@ -1,4 +1,4 @@
{ stdenv, lib, mkDerivation, fetchFromGitHub
{ lib, mkDerivation, fetchFromGitHub
, git, gnupg, pass, qtbase, qtsvg, qttools, qmake
}:
@ -13,12 +13,17 @@ mkDerivation rec {
sha256 = "025sdk4fq71jgfs54zj7ssgvlci8vvjkqdckgbwz0nqrynlljy08";
};
buildInputs = [ git gnupg pass qtbase qtsvg qttools ];
buildInputs = [ git gnupg pass qtbase qtsvg ];
nativeBuildInputs = [ qmake ];
nativeBuildInputs = [ qmake qttools ];
enableParallelBuilding = true;
qmakeFlags = [
# setup hook only sets QMAKE_LRELEASE, set QMAKE_LUPDATE too:
"QMAKE_LUPDATE=${qttools.dev}/bin/lupdate"
];
qtWrapperArgs = [
"--suffix PATH : ${lib.makeBinPath [ git gnupg pass ]}"
];
@ -28,7 +33,7 @@ mkDerivation rec {
install -D artwork/icon.svg $out/share/icons/hicolor/scalable/apps/qtpass-icon.svg
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A multi-platform GUI for pass, the standard unix password manager";
homepage = https://qtpass.org;
license = licenses.gpl3;