I’m trying to package the feather wallet however I’m getting the following error:
feather-wallet-beta> CMake Error at src/CMakeLists.txt:101 (add_executable):
feather-wallet-beta> Target "feather" links to target "Qt5::QSvgIconPlugin" but the target was
feather-wallet-beta> not found. Perhaps a find_package() call is missing for an IMPORTED
feather-wallet-beta> target, or an ALIAS target is missing?
feather-wallet-beta>
feather-wallet-beta> CMake Error at src/CMakeLists.txt:101 (add_executable):
feather-wallet-beta> Target "feather" links to target "Qt5::QSvgPlugin" but the target was not
feather-wallet-beta> found. Perhaps a find_package() call is missing for an IMPORTED target, or
feather-wallet-beta> an ALIAS target is missing?
feather-wallet-beta>
feather-wallet-beta> -- Generating done
feather-wallet-beta> CMake Warning:
feather-wallet-beta> Manually-specified variables were not used by the project:
feather-wallet-beta> BUILD_TESTING
feather-wallet-beta> CMAKE_EXPORT_NO_PACKAGE_REGISTRY
feather-wallet-beta>
My current derivation is:
let monero-seed = pkgs.stdenv.mkDerivation rec {
pname = "monero-seed";
version = "0.1.0";
src = pkgs.fetchgit {
url = "https://git.featherwallet.org/feather/monero-seed";
rev = version;
sha256 = "sha256-R69/prEulZIcdmWuDlE6vfpFlH9iDC7bzkDXW2+c1Gk=";
};
buildInputs = with pkgs; [
cmake
];
};
in
pkgs.qt5.mkDerivation rec {
pname = "feather-wallet";
version = "beta-9";
src = pkgs.fetchgit {
url = "https://git.featherwallet.org/feather/feather";
rev = version;
sha256 = "sha256-wDzvBS+MLkJZ4TXKknhXD3YYsEIZmWKxH2IKTgPBLrc=";
fetchSubmodules = true;
};
nativeBuildInputs = with pkgs; [
libsForQt5.qt5.wrapQtAppsHook
];
buildInputs = with pkgs; [
cmake
pkg-config
boost
expat
gnupg
hidapi
monero-seed
openssl
protobuf
qrencode
zbar
zeromq
libsForQt5.qt5.qtbase
libsForQt5.qt5.qtsvg
libsForQt5.qt5.qtwebsockets
libgcrypt
libsodium
libudev0-shim
libgpg-error
libunwind
libusb1
libzip
];
};
Is there something I’m missing about qt?