qvge: don't use libsForQt5.mkDerivation

This commit is contained in:
Dmitry Kalinkin 2021-11-20 14:18:32 -05:00
parent 74cb07175b
commit fedc3db7ba
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

View File

@ -1,14 +1,15 @@
{ lib
, mkDerivation
, stdenv
, fetchFromGitHub
, substituteAll
, wrapQtAppsHook
, qmake
, qtsvg
, qtx11extras
, graphviz
}:
mkDerivation rec {
stdenv.mkDerivation rec {
pname = "qvge";
version = "0.6.3";
@ -26,7 +27,7 @@ mkDerivation rec {
inherit graphviz;
});
nativeBuildInputs = [ qmake ];
nativeBuildInputs = [ wrapQtAppsHook qmake ];
buildInputs = if stdenv.isDarwin then [ qtsvg ] else [ qtx11extras ];