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