mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 11:27:53 +00:00
qtpass: scope qrencode
This commit is contained in:
parent
e8f2764fe8
commit
442670f787
@ -1,5 +1,5 @@
|
||||
{ lib, mkDerivation, fetchFromGitHub
|
||||
, git, gnupg, pass, pwgen
|
||||
, git, gnupg, pass, pwgen, qrencode
|
||||
, qtbase, qtsvg, qttools, qmake
|
||||
}:
|
||||
|
||||
@ -14,6 +14,11 @@ mkDerivation rec {
|
||||
sha256 = "0748hjvhjrybi33ci3c8hcr74k9pdrf5jv8npf9hrsrmdyy1kr9x";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/qtpass.cpp \
|
||||
--replace "/usr/bin/qrencode" "${qrencode}/bin/qrencode"
|
||||
'';
|
||||
|
||||
buildInputs = [ git gnupg pass qtbase qtsvg ];
|
||||
|
||||
nativeBuildInputs = [ qmake qttools ];
|
||||
|
Loading…
Reference in New Issue
Block a user