Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib
2, stdenv
3, fetchurl
4, pkg-config
5, libtirpc
6}:
7
8stdenv.mkDerivation rec {
9 pname = "xinetd";
10 version = "2.3.15.4";
11
12 src = fetchurl {
13 url = "https://github.com/openSUSE/xinetd/releases/download/${version}/xinetd-${version}.tar.xz";
14 hash = "sha256-K6pYEBC8cDYavfo38SHpKuucXOZ/mnGRPOvWk1nMllQ=";
15 };
16
17 nativeBuildInputs = [
18 pkg-config
19 ];
20
21 buildInputs = [
22 libtirpc
23 ];
24
25 meta = {
26 description = "Secure replacement for inetd";
27 platforms = lib.platforms.linux;
28 homepage = "https://github.com/openSUSE/xinetd";
29 license = lib.licenses.free;
30 maintainers = with lib.maintainers; [ fgaz ];
31 };
32}