* Added a bundle of CA certificates, useful for e.g. curl.

svn path=/nixpkgs/trunk/; revision=19571
This commit is contained in:
Eelco Dolstra 2010-01-20 14:10:26 +00:00
parent 8e3a1e09c0
commit f724089f6f
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "cacert-20090922";
src = fetchurl {
url = http://nixos.org/tarballs/cacert-20090922.pem.bz2;
sha256 = "1fakipxy5y62vslw6czj24pksh16b042py9v0199mxhzg5nmbmy7";
};
unpackPhase = "true";
installPhase =
''
ensureDir $out/etc
bunzip2 < $src > $out/etc/ca-bundle.crt
'';
meta = {
homepage = http://curl.haxx.se/docs/caextract.html;
description = "A bundle of X.509 certificates of public Certificate Authorities (CA)";
};
}

View File

@ -6126,6 +6126,10 @@ let
inherit fetchurl stdenv;
};
cacert = import ../data/misc/cacert {
inherit fetchurl stdenv;
};
corefonts = import ../data/fonts/corefonts {
inherit fetchurl stdenv cabextract;
};