11 , withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd
15 stdenv.mkDerivation rec {
19 src = fetchFromGitHub {
22 rev = "ktls-utils-${version}";
23 hash = "sha256-QPKBJEuXYDuOhlFhc0zQ4hAq1owFNe9b3BUKliNFgu0=";
38 outputs = [ "out" "man" ];
40 configureFlags = lib.optional withSystemd [ "--with-systemd" ];
42 makeFlags = lib.optional withSystemd [ "unitdir=$(out)/lib/systemd/system" ];
46 passthru.updateScript = nix-update-script {};
49 description = "TLS handshake utilities for in-kernel TLS consumers";
50 homepage = "https://github.com/oracle/ktls-utils";
51 changelog = "https://github.com/oracle/ktls-utils/blob/${src.rev}/NEWS";
52 license = licenses.gpl2Only;
53 maintainers = with maintainers; [ ];
54 mainProgram = "ktls-utils";
55 platforms = platforms.linux;