lol
at 17.09-beta 31 lines 796 B view raw
1{ stdenv, fetchFromGitLab, autoconf, automake, glib 2, gtk_doc, libtool, libxml2, libxslt, pkgconfig, sqlite }: 3 4let version = "1.18"; in 5stdenv.mkDerivation rec { 6 name = "libaccounts-glib-${version}"; 7 8 src = fetchFromGitLab { 9 sha256 = "02p23vrqhw2l2w6nrwlk4bqxf7z9kplkc2d43716x9xakxr291km"; 10 rev = version; 11 repo = "libaccounts-glib"; 12 owner = "accounts-sso"; 13 }; 14 15 buildInputs = [ glib libxml2 libxslt sqlite ]; 16 nativeBuildInputs = [ autoconf automake gtk_doc libtool pkgconfig ]; 17 18 postPatch = '' 19 NOCONFIGURE=1 ./autogen.sh 20 ''; 21 22 configurePhase = '' 23 HAVE_GCOV_FALSE="#" ./configure $configureFlags --prefix=$out 24 ''; 25 26 NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations"; # since glib-2.46 27 28 meta = { 29 platforms = stdenv.lib.platforms.linux; 30 }; 31}