qoauth: move to libsForQt5
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user