Files
nixpkgs/pkgs/by-name/re/redwax-tool/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

67 lines
1.2 KiB
Nix

{
lib,
stdenv,
fetchurl,
autoreconfHook,
pkg-config,
txt2man,
which,
openssl,
nss,
p11-kit,
libical,
ldns,
unbound,
apr,
aprutil,
}:
stdenv.mkDerivation rec {
pname = "redwax-tool";
version = "1.0.0";
src = fetchurl {
url = "https://archive.redwax.eu/dist/rt/redwax-tool-${version}/redwax-tool-${version}.tar.gz";
hash = "sha256-KIVr0FnCmZUuxenXCvAlLxQVQJ5XndAidVaiGevENoM=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
txt2man
which
];
buildInputs = [
openssl
nss
p11-kit
libical
ldns
unbound
apr
aprutil
];
configureFlags = [
"--with-openssl"
"--with-nss"
"--with-p11-kit"
"--with-libical"
"--with-ldns"
"--with-unbound"
"--with-bash-completion-dir=yes"
];
meta = with lib; {
homepage = "https://redwax.eu/rt/";
description = "Universal certificate conversion tool";
mainProgram = "redwax-tool";
longDescription = ''
Read certificates and keys from your chosen sources, filter the
certificates and keys you're interested in, write those
certificates and keys to the destinations of your choice.
'';
license = licenses.asl20;
maintainers = with maintainers; [ astro ];
};
}