12 withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd,
16 stdenv.mkDerivation rec {
20 src = fetchFromGitHub {
23 rev = "ktls-utils-${version}";
24 hash = "sha256-QPKBJEuXYDuOhlFhc0zQ4hAq1owFNe9b3BUKliNFgu0=";
44 configureFlags = lib.optional withSystemd [ "--with-systemd" ];
46 makeFlags = lib.optional withSystemd [ "unitdir=$(out)/lib/systemd/system" ];
50 passthru.updateScript = nix-update-script { };
53 description = "TLS handshake utilities for in-kernel TLS consumers";
54 homepage = "https://github.com/oracle/ktls-utils";
55 changelog = "https://github.com/oracle/ktls-utils/blob/${src.rev}/NEWS";
56 license = licenses.gpl2Only;
58 mainProgram = "ktls-utils";
59 platforms = platforms.linux;