nomace: use Qt mkDerivation

This commit is contained in:
Fabian Möller 2019-08-30 01:46:27 +02:00 committed by worldofpeace
parent 645de3b611
commit fee74012f2

View File

@ -1,9 +1,8 @@
{ stdenv
, mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, wrapGAppsHook
, gsettings-desktop-schemas
, qtbase
, qttools
@ -38,8 +37,7 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [cmake
pkgconfig
wrapGAppsHook];
pkgconfig];
buildInputs = [qtbase
qttools
@ -48,8 +46,7 @@ stdenv.mkDerivation rec {
opencv
libraw
libtiff
quazip
gsettings-desktop-schemas];
quazip];
cmakeFlags = ["-DENABLE_OPENCV=ON"
"-DENABLE_RAW=ON"