2015-05-31 20:01:11 +00:00
|
|
|
{ stdenv, fetchFromGitLab, autoconf, automake, glib
|
|
|
|
, gtk_doc, libtool, libxml2, libxslt, pkgconfig, sqlite }:
|
2015-05-06 12:28:42 +00:00
|
|
|
|
2015-05-31 20:01:11 +00:00
|
|
|
let version = "1.18"; in
|
2015-05-06 12:28:42 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-05-31 20:01:11 +00:00
|
|
|
name = "libaccounts-glib-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
sha256 = "02p23vrqhw2l2w6nrwlk4bqxf7z9kplkc2d43716x9xakxr291km";
|
|
|
|
rev = version;
|
|
|
|
repo = "libaccounts-glib";
|
|
|
|
owner = "accounts-sso";
|
2015-05-06 12:28:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ glib libxml2 libxslt sqlite ];
|
2015-05-31 20:01:11 +00:00
|
|
|
nativeBuildInputs = [ autoconf automake gtk_doc libtool pkgconfig ];
|
2015-05-06 12:28:42 +00:00
|
|
|
|
2015-05-31 20:01:11 +00:00
|
|
|
postPatch = ''
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
'';
|
2015-05-06 12:28:42 +00:00
|
|
|
|
2015-05-31 20:01:11 +00:00
|
|
|
configurePhase = ''
|
|
|
|
HAVE_GCOV_FALSE="#" ./configure $configureFlags --prefix=$out
|
|
|
|
'';
|
2015-10-01 19:37:19 +00:00
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations"; # since glib-2.46
|
2015-05-06 12:28:42 +00:00
|
|
|
}
|