3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/accounts-qt/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

31 lines
858 B
Nix

{ stdenv, fetchFromGitLab, doxygen, glib, libaccounts-glib, pkgconfig, qtbase, qmake }:
stdenv.mkDerivation rec {
pname = "accounts-qt";
version = "1.15";
src = fetchFromGitLab {
sha256 = "0cnra7g2mcgzh8ykrj1dpb4khkx676pzdr4ia1bvsp0cli48691w";
rev = "VERSION_${version}";
repo = "libaccounts-qt";
owner = "accounts-sso";
};
buildInputs = [ glib libaccounts-glib qtbase ];
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; {
description = "Qt library for accessing the online accounts database";
homepage = https://gitlab.com/accounts-sso;
license = licenses.lgpl21;
platforms = with platforms; linux;
};
}