depot/third_party/nixpkgs/pkgs/servers/xinetd/default.nix

33 lines
641 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchurl
, pkg-config
, libtirpc
}:
stdenv.mkDerivation rec {
pname = "xinetd";
version = "2.3.15.4";
src = fetchurl {
url = "https://github.com/openSUSE/xinetd/releases/download/${version}/xinetd-${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.free;
maintainers = with lib.maintainers; [ fgaz ];
};
}