* Added a bundle of CA certificates, useful for e.g. curl.
svn path=/nixpkgs/trunk/; revision=19571
This commit is contained in:
parent
8e3a1e09c0
commit
f724089f6f
23
pkgs/data/misc/cacert/default.nix
Normal file
23
pkgs/data/misc/cacert/default.nix
Normal 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)";
|
||||||
|
};
|
||||||
|
}
|
@ -6126,6 +6126,10 @@ let
|
|||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cacert = import ../data/misc/cacert {
|
||||||
|
inherit fetchurl stdenv;
|
||||||
|
};
|
||||||
|
|
||||||
corefonts = import ../data/fonts/corefonts {
|
corefonts = import ../data/fonts/corefonts {
|
||||||
inherit fetchurl stdenv cabextract;
|
inherit fetchurl stdenv cabextract;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user