mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
31 lines
858 B
Nix
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;
|
|
};
|
|
}
|