summary refs log tree commit diff
path: root/pkgs/development/libraries/libaccounts-glib/default.nix
blob: aa029ede9530e878fb4fdeae76f9fed8a7f6ef60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchFromGitLab, autoconf, automake, glib
, gtk_doc, libtool, libxml2, libxslt, pkgconfig, sqlite }:

let version = "1.18"; in
stdenv.mkDerivation rec {
  name = "libaccounts-glib-${version}";

  src = fetchFromGitLab {
    sha256 = "02p23vrqhw2l2w6nrwlk4bqxf7z9kplkc2d43716x9xakxr291km";
    rev = 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
  '';
}