digitalbitbox: fix build after #41902

This package depends on qtmultimedia which depends on libpulse whose libtool
files add `-lcap` to the linker command line. These libtool files should be
stripped with pruneLibtoolFiles, and then libcap dependency can be removed.
This commit is contained in:
Orivej Desh 2018-07-03 14:32:08 +00:00
parent e42e0c8179
commit 4181081643

View File

@ -3,6 +3,7 @@
, curl , curl
, fetchFromGitHub , fetchFromGitHub
, git , git
, libcap
, libevent , libevent
, libtool , libtool
, libqrencode , libqrencode
@ -67,6 +68,8 @@ in stdenv.mkDerivation rec {
]; ];
buildInputs = with stdenv.lib; [ buildInputs = with stdenv.lib; [
# TODO: remove libcap when pruneLibtoolFiles applies to pulseaudio.
libcap
libevent libevent
libtool libtool
libudev libudev
@ -112,6 +115,8 @@ in stdenv.mkDerivation rec {
${copyUdevRuleToOutput "52-hid-digitalbox.rules" udevRule52} ${copyUdevRuleToOutput "52-hid-digitalbox.rules" udevRule52}
''; '';
enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A QT based application for the Digital Bitbox hardware wallet"; description = "A QT based application for the Digital Bitbox hardware wallet";
longDescription = '' longDescription = ''