2015-05-31 21:01:11 +01:00
|
|
|
{ stdenv, fetchFromGitLab, autoconf, automake, glib
|
2018-02-25 02:23:58 +00:00
|
|
|
, gtk-doc, libtool, libxml2, libxslt, pkgconfig, sqlite }:
|
2015-05-06 13:28:42 +01:00
|
|
|
|
2017-12-03 02:15:46 +00:00
|
|
|
let version = "1.23"; in
|
2015-05-06 13:28:42 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-05-31 21:01:11 +01:00
|
|
|
name = "libaccounts-glib-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
2017-12-03 02:15:46 +00:00
|
|
|
sha256 = "11cvl3ch0y93756k90mw1swqv0ylr8qgalmvcn5yari8z4sg6cgg";
|
|
|
|
rev = "VERSION_${version}";
|
2015-05-31 21:01:11 +01:00
|
|
|
repo = "libaccounts-glib";
|
|
|
|
owner = "accounts-sso";
|
2015-05-06 13:28:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ glib libxml2 libxslt sqlite ];
|
2018-02-25 02:23:58 +00:00
|
|
|
nativeBuildInputs = [ autoconf automake gtk-doc libtool pkgconfig ];
|
2015-05-06 13:28:42 +01:00
|
|
|
|
2015-05-31 21:01:11 +01:00
|
|
|
postPatch = ''
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
'';
|
2015-05-06 13:28:42 +01:00
|
|
|
|
2015-05-31 21:01:11 +01:00
|
|
|
configurePhase = ''
|
|
|
|
HAVE_GCOV_FALSE="#" ./configure $configureFlags --prefix=$out
|
|
|
|
'';
|
2015-10-01 20:37:19 +01:00
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations"; # since glib-2.46
|
2016-08-02 17:06:29 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
2015-05-06 13:28:42 +01:00
|
|
|
}
|