mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-26 22:14:42 +00:00
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";
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user