2021-08-30 09:45:43 -07:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
let
|
2021-11-16 00:09:47 -08:00
|
|
|
url = "https://letsencrypt.org/certs/isrg-root-x1-cross-signed.pem";
|
2021-11-15 13:11:38 -08:00
|
|
|
sha256 = "100lxxvqv4fj563bm03zzk5r36hq5jx9nnrajzs38g825c5k0cg2";
|
2021-08-30 09:45:43 -07:00
|
|
|
|
|
|
|
in stdenv.mkDerivation {
|
|
|
|
|
2021-11-01 10:36:47 -07:00
|
|
|
name = "letsencrypt-ca-pem";
|
2021-08-30 09:45:43 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-15 13:11:38 -08:00
|
|
|
name = "letsencryptauthorityx3.pem.txt";
|
2021-08-30 09:45:43 -07:00
|
|
|
url = url;
|
|
|
|
sha256 = sha256;
|
|
|
|
};
|
|
|
|
|
|
|
|
phases = [ "installPhase" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
2021-11-15 13:26:54 -08:00
|
|
|
cp -v $src $out
|
2021-08-30 09:45:43 -07:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2021-11-01 10:36:47 -07:00
|
|
|
homepage = https://letsencrypt.com/certificates;
|
2021-08-30 09:45:43 -07:00
|
|
|
description = "Certificate Authority (CA) certificate for LetsEncrypt";
|
|
|
|
};
|
|
|
|
}
|