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
73 lines
1.2 KiB
Nix
73 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitLab,
|
|
cmake,
|
|
pkg-config,
|
|
arpa2cm,
|
|
arpa2common,
|
|
db,
|
|
gnutls,
|
|
ldns,
|
|
libkrb5,
|
|
libtasn1,
|
|
openldap,
|
|
p11-kit,
|
|
quickder,
|
|
unbound,
|
|
openssl,
|
|
gitUpdater,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "tlspool";
|
|
version = "0.9.7";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "arpa2";
|
|
repo = "tlspool";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-nODnRoFlgCTtBjPief9SkVlLgD3g+2zbwM0V9pt3Crk=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
libkrb5
|
|
];
|
|
|
|
buildInputs = [
|
|
arpa2cm
|
|
arpa2common
|
|
db
|
|
gnutls
|
|
ldns
|
|
libkrb5
|
|
libtasn1
|
|
openldap
|
|
p11-kit
|
|
quickder
|
|
unbound
|
|
openssl
|
|
];
|
|
|
|
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
|
|
|
|
meta = {
|
|
description = "TLS daemon with PKCS #11 backend";
|
|
homepage = "https://gitlab.com/arpa2/tlspool";
|
|
changelog = "https://gitlab.com/arpa2/tlspool/-/blob/v${finalAttrs.version}/CHANGES";
|
|
license = with lib.licenses; [
|
|
gpl3Plus # daemon
|
|
cc-by-sa-40 # docs
|
|
bsd2 # userspace
|
|
];
|
|
teams = with lib.teams; [ ngi ];
|
|
maintainers = with lib.maintainers; [ ethancedwards8 ];
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "tlsserver";
|
|
};
|
|
})
|