summary refs log tree commit diff
path: root/pkgs/servers/xinetd/default.nix
blob: e1323b084fc1891aa731a6e0cc6c0d12a1e970d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ 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;
  };
}