blob: fa998b9e1984adb7456ea022fb83ce00856724a9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ stdenv, fetchurl, qt5, qca2-qt5 }:
stdenv.mkDerivation {
name = "qoauth-2.0.0";
src = fetchurl {
url = https://github.com/ayoy/qoauth/archive/v2.0.0.tar.gz;
name = "qoauth-2.0.0.tar.gz";
sha256 = "a28005986410d333e03d077679cdf6c504ec5a33342867dc0f9fb0b74285e333";
};
patchPhase = "sed -e 's/lib64/lib/g' -i src/src.pro";
buildInputs = [ qt5.qtbase qca2-qt5 ];
nativeBuildInputs = [ qt5.qmake ];
NIX_CFLAGS_COMPILE = [ "-I${qca2-qt5}/include/Qca-qt5/QtCrypto" ];
NIX_LDFLAGS = [ "-lqca-qt5" ];
meta = {
description = "Qt library for OAuth authentication";
inherit (qt5.qtbase.meta) platforms;
maintainers = [ ];
};
}
|