about summary refs log tree commit diff
path: root/pkgs/development/libraries/accounts-qt
diff options
context:
space:
mode:
authorfreezeboy <freezeboy@users.noreply.github.com>2020-09-17 23:34:46 +0200
committerElias Probst <mail@eliasprobst.eu>2020-12-30 23:20:21 +0100
commit73779ab8d4bf97c775d84d9511944c43fd053e1a (patch)
tree4b2c5680630ff55b7c79c9f5f10c5a228977eeca /pkgs/development/libraries/accounts-qt
parentf6188ca545660da0aa722e7a50c1a3952da0a5ef (diff)
accounts-qt: migrate to libsForQt5 derivations to fix cmake config
Co-authored-by: Thomas Tuegel <thomas.tuegel@runtimeverification.com>
Diffstat (limited to 'pkgs/development/libraries/accounts-qt')
-rw-r--r--pkgs/development/libraries/accounts-qt/default.nix12
1 files changed, 4 insertions, 8 deletions
diff --git a/pkgs/development/libraries/accounts-qt/default.nix b/pkgs/development/libraries/accounts-qt/default.nix
index b60d8d07385cc..4e2e33b852e82 100644
--- a/pkgs/development/libraries/accounts-qt/default.nix
+++ b/pkgs/development/libraries/accounts-qt/default.nix
@@ -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";
   version = "1.16";
 
@@ -11,17 +11,13 @@ stdenv.mkDerivation rec {
     owner = "accounts-sso";
   };
 
-  buildInputs = [ glib libaccounts-glib qtbase ];
+  propagatedBuildInputs = [ glib libaccounts-glib ];
   nativeBuildInputs = [ doxygen pkgconfig qmake ];
 
-  preConfigure = ''
-    qmakeFlags="$qmakeFlags LIBDIR=$out/lib CMAKE_CONFIG_PATH=$out/lib/cmake"
-  '';
-
   # Hack to avoid TMPDIR in RPATHs.
   preFixup = ''rm -rf "$(pwd)" '';
 
-  meta = with stdenv.lib; {
+  meta = with lib; {
     description = "Qt library for accessing the online accounts database";
     homepage = "https://gitlab.com/accounts-sso";
     license = licenses.lgpl21;