Files
nixpkgs/pkgs/by-name/nt/ntbtls/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

47 lines
844 B
Nix

{
lib,
stdenv,
fetchurl,
gettext,
libgpg-error,
libgcrypt,
libksba,
zlib,
}:
stdenv.mkDerivation rec {
pname = "ntbtls";
version = "0.3.2";
src = fetchurl {
url = "mirror://gnupg/ntbtls/ntbtls-${version}.tar.bz2";
sha256 = "sha256-vfy5kCSs7JxsS5mK1juzkh30z+5KdyrWwMoyTbvysHw=";
};
outputs = [
"dev"
"out"
];
buildInputs = [
libgcrypt
libgpg-error
libksba
zlib
]
++ lib.optional stdenv.hostPlatform.isDarwin gettext;
postInstall = ''
moveToOutput "bin/ntbtls-config" $dev
'';
meta = with lib; {
description = "Tiny TLS 1.2 only implementation";
mainProgram = "ntbtls-config";
homepage = "https://www.gnupg.org/software/ntbtls/";
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ joachifm ];
};
}