1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 23:10:02 +00:00
nixpkgs/pkgs/development/libraries/glib-networking/default.nix
Rickard Nilsson 83ca1bec30 Fix references to ca-bundle.
Several packages referred to /etc/ca-bundle.crt, that
was removed in 9c616e3. I've changed those references to
/etc/ssl/certs/ca-bundle.crt instead.
2014-02-12 19:30:32 +01:00

22 lines
711 B
Nix

{stdenv, fetchurl, pkgconfig, glib, libtool, intltool, gnutls2, libproxy
, gsettings_desktop_schemas, libgcrypt, libtasn1 }:
stdenv.mkDerivation {
name = "glib-networking-2.30.2";
src = fetchurl {
url = mirror://gnome/sources/glib-networking/2.30/glib-networking-2.30.2.tar.xz;
sha256 = "1g2ran0rn37009fs3xl38m95i5w8sdf9ax0ady4jbjir15844xcz";
};
configureFlags = "--with-ca-certificates=/etc/ssl/certs/ca-bundle.crt";
preBuild = ''
sed -e "s@${glib}/lib/gio/modules@$out/lib/gio/modules@g" -i $(find . -name Makefile)
'';
nativeBuildInputs = [ pkgconfig intltool ];
propagatedBuildInputs =
[ glib libtool gnutls2 libproxy libgcrypt libtasn1 gsettings_desktop_schemas ];
}