nixpkgs-suyu/pkgs/data/misc/cacert/default.nix
Eelco Dolstra f887ecef57 * Latest CA certificate bundle, now without DigiNotar certificate.
svn path=/nixpkgs/trunk/; revision=29269
2011-09-14 11:59:18 +00:00

23 lines
521 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "cacert-20110902";
src = fetchurl {
url = "http://nixos.org/tarballs/${name}.pem.bz2";
sha256 = "05vwziwrckgdg4l029jsb8apj65lcvk0rfcyyrvz34m2znk0vlmi";
};
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)";
};
}