mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
27eeeb9acb
Development has moved from Google Code to Gitlab.
26 lines
655 B
Nix
26 lines
655 B
Nix
{ 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
|
|
'';
|
|
}
|