git.iko.soy/typeable/nixpkgs
on master help sign in
libaccounts-glib 1.16 -> 1.18
27eeeb9Tobias Geerinckx-Rice
pkgs/development/libraries/libaccounts-glib/default.nix+17−7
@@ -1,15 +1,25 @@
1+{ stdenv, fetchFromGitLab, autoconf, automake, glib
1−{ stdenv, fetchurl, glib, libxml2, libxslt, pkgconfig, sqlite }:
2+, gtk_doc, libtool, libxml2, libxslt, pkgconfig, sqlite }:
2
3
4+let version = "1.18"; in
3stdenv.mkDerivation rec {
5stdenv.mkDerivation rec {
4− name = "libaccounts-glib-1.16";
6+ name = "libaccounts-glib-${version}";
5− src = fetchurl {
7+
6− url = "https://accounts-sso.googlecode.com/files/${name}.tar.gz";
8+ src = fetchFromGitLab {
7− sha256 = "0hgvk9rdfvk47c54rvcp3hq74yy7v6w1ql71q2mik8lmsx22354a";
9+ sha256 = "02p23vrqhw2l2w6nrwlk4bqxf7z9kplkc2d43716x9xakxr291km";
10+ rev = version;
11+ repo = "libaccounts-glib";
12+ owner = "accounts-sso";
8 };
13 };
9
14
10 buildInputs = [ glib libxml2 libxslt sqlite ];
15 buildInputs = [ glib libxml2 libxslt sqlite ];
11− nativeBuildInputs = [ pkgconfig ];
16+ nativeBuildInputs = [ autoconf automake gtk_doc libtool pkgconfig ];
12
17
13− configurePhase = ''HAVE_GCOV_FALSE='#' ./configure $configureFlags --prefix=$out'';
18+ postPatch = ''
19+ NOCONFIGURE=1 ./autogen.sh
20+ '';
14
21
22+ configurePhase = ''
23+ HAVE_GCOV_FALSE="#" ./configure $configureFlags --prefix=$out
24+ '';
15}
25}