1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/libaccounts-glib/default.nix
2017-12-04 02:07:55 +01:00

32 lines
809 B
Nix

{ stdenv, fetchFromGitLab, autoconf, automake, glib
, gtk_doc, libtool, libxml2, libxslt, pkgconfig, sqlite }:
let version = "1.23"; in
stdenv.mkDerivation rec {
name = "libaccounts-glib-${version}";
src = fetchFromGitLab {
sha256 = "11cvl3ch0y93756k90mw1swqv0ylr8qgalmvcn5yari8z4sg6cgg";
rev = "VERSION_${version}";
repo = "libaccounts-glib";
owner = "accounts-sso";
};
buildInputs = [ glib libxml2 libxslt sqlite ];
nativeBuildInputs = [ autoconf automake gtk_doc libtool pkgconfig ];
postPatch = ''
NOCONFIGURE=1 ./autogen.sh
'';
configurePhase = ''
HAVE_GCOV_FALSE="#" ./configure $configureFlags --prefix=$out
'';
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations"; # since glib-2.46
meta = {
platforms = stdenv.lib.platforms.linux;
};
}