about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/xinetd/default.nix
blob: 9abef85bde2975a4a17a3d811869fc229286cda5 (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
32
{ 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 ];
  };
})