qoauth: move to libsForQt5

This commit is contained in:
Thomas Tuegel
2020-09-07 10:13:12 -05:00
parent 210bfccb53
commit 91e0c687ac
2 changed files with 8 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, qt5, qca-qt5 }:
{ stdenv, fetchurl, qtbase, qmake, qca-qt5 }:
stdenv.mkDerivation {
name = "qoauth-2.0.0";
@@ -15,15 +15,15 @@ stdenv.mkDerivation {
-e '/features.path =/ s|$$\[QMAKE_MKSPECS\]|$$NIX_OUTPUT_DEV/mkspecs|'
'';
buildInputs = [ qt5.qtbase qca-qt5 ];
nativeBuildInputs = [ qt5.qmake ];
buildInputs = [ qtbase qca-qt5 ];
nativeBuildInputs = [ qmake ];
NIX_CFLAGS_COMPILE = "-I${qca-qt5}/include/Qca-qt5/QtCrypto";
NIX_LDFLAGS = "-lqca-qt5";
meta = with stdenv.lib; {
description = "Qt library for OAuth authentication";
inherit (qt5.qtbase.meta) platforms;
inherit (qtbase.meta) platforms;
license = licenses.lgpl21;
};
}