nixpkgs/pkgs/servers/xinetd/default.nix
2024-03-06 20:26:06 +01:00

33 lines
675 B
Nix

{ lib
, stdenv
, fetchurl
, pkg-config
, libtirpc
}:
stdenv.mkDerivation (finalAttrs: {
pname = "xinetd";
version = "2.3.15.4";
src = fetchurl {
url = "https://github.com/openSUSE/xinetd/releases/download/${finalAttrs.version}/xinetd-${finalAttrs.version}.tar.xz";
hash = "sha256-K6pYEBC8cDYavfo38SHpKuucXOZ/mnGRPOvWk1nMllQ=";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libtirpc
];
meta = {
description = "Secure replacement for inetd";
platforms = lib.platforms.linux;
homepage = "https://github.com/openSUSE/xinetd";
license = lib.licenses.xinetd;
maintainers = with lib.maintainers; [ fgaz ];
};
})