nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 724 B view raw
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 env.NIX_CFLAGS_COMPILE = "-std=gnu17"; 23 24 buildInputs = [ 25 libtirpc 26 ]; 27 28 meta = { 29 description = "Secure replacement for inetd"; 30 platforms = lib.platforms.linux; 31 homepage = "https://github.com/openSUSE/xinetd"; 32 license = lib.licenses.xinetd; 33 maintainers = with lib.maintainers; [ fgaz ]; 34 }; 35})