btrbk: add mainProgram
[NixPkgs.git] / pkgs / by-name / yp / ypbind-mt / package.nix
blob68db0f4aa9b0bfe74cc88a8bf86c6cf1eb67c482
2   stdenv,
3   lib,
4   fetchurl,
5   autoreconfHook,
6   libnsl,
7   libtirpc,
8   libxcrypt,
9   pkg-config,
10   rpcbind,
11   systemdLibs,
14 stdenv.mkDerivation rec {
15   pname = "ypbind-mt";
16   version = "2.7.2";
18   src = fetchurl {
19     url = "https://github.com/thkukuk/ypbind-mt/releases/download/v${version}/ypbind-mt-${version}.tar.xz";
20     hash = "sha256-Bk8vGFZzxUk9+D9kALeZ86NZ3lYRi2ujfEMnER8vzYs=";
21   };
23   nativeBuildInputs = [
24     autoreconfHook
25     pkg-config
26   ];
28   buildInputs = [
29     libnsl
30     libtirpc
31     libxcrypt
32     rpcbind
33     systemdLibs
34   ];
36   meta = {
37     description = "Multithreaded daemon maintaining the NIS binding informations.";
38     homepage = "https://github.com/thkukuk/ypbind-mt";
39     changelog = "https://github.com/thkukuk/ypbind-mt/blob/master/NEWS";
40     license = lib.licenses.gpl2Plus;
41     mainProgram = "ypbind";
42     maintainers = with lib.maintainers; [ BarrOff ];
43     platforms = lib.platforms.linux;
44   };