Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
555 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenvNoCC,
}:
stdenvNoCC.mkDerivation {
pname = "dn42-cacert";
# check it on its homepage
version = "0-unstable-2016-01-16";
src = ./root-ca.crt;
dontUnpack = true;
dontBuild = true;
installPhase = ''
install -Dm644 $src $out/etc/ssl/certs/dn42-ca.crt
'';
meta = {
description = "DN42 Root CA certificate";
homepage = "https://wiki.dn42.dev/services/Certificate-Authority.md";
license = lib.licenses.cc0;
maintainers = with lib.maintainers; [ Cryolitia ];
platforms = lib.platforms.all;
};
}