accounts-qt: migrate to libsForQt5 derivations to fix cmake config
Co-authored-by: Thomas Tuegel <thomas.tuegel@runtimeverification.com>
This commit is contained in:
parent
f6188ca545
commit
73779ab8d4
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitLab, doxygen, glib, libaccounts-glib, pkgconfig, qtbase, qmake }:
|
{ mkDerivation, lib, fetchFromGitLab, doxygen, glib, libaccounts-glib, pkgconfig, qmake }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "accounts-qt";
|
pname = "accounts-qt";
|
||||||
version = "1.16";
|
version = "1.16";
|
||||||
|
|
||||||
@ -11,17 +11,13 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "accounts-sso";
|
owner = "accounts-sso";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ glib libaccounts-glib qtbase ];
|
propagatedBuildInputs = [ glib libaccounts-glib ];
|
||||||
nativeBuildInputs = [ doxygen pkgconfig qmake ];
|
nativeBuildInputs = [ doxygen pkgconfig qmake ];
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
qmakeFlags="$qmakeFlags LIBDIR=$out/lib CMAKE_CONFIG_PATH=$out/lib/cmake"
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Hack to avoid TMPDIR in RPATHs.
|
# Hack to avoid TMPDIR in RPATHs.
|
||||||
preFixup = ''rm -rf "$(pwd)" '';
|
preFixup = ''rm -rf "$(pwd)" '';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
description = "Qt library for accessing the online accounts database";
|
description = "Qt library for accessing the online accounts database";
|
||||||
homepage = "https://gitlab.com/accounts-sso";
|
homepage = "https://gitlab.com/accounts-sso";
|
||||||
license = licenses.lgpl21;
|
license = licenses.lgpl21;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user