nixpkgs/pkgs/data/misc/cacert/default.nix
Eelco Dolstra 353ec7a128 * CAcert bundle updated to the latest version (it was almost two years old).
svn path=/nixpkgs/trunk/; revision=28856
2011-08-28 16:02:18 +00:00

24 lines
521 B
Nix

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