nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 stdenv,
3 lib,
4 fetchurl,
5 autoreconfHook,
6 libnsl,
7 libtirpc,
8 libxcrypt,
9 pkg-config,
10 rpcbind,
11 systemdLibs,
12}:
13
14stdenv.mkDerivation (finalAttrs: {
15 pname = "ypbind-mt";
16 version = "2.7.2";
17
18 src = fetchurl {
19 url = "https://github.com/thkukuk/ypbind-mt/releases/download/v${finalAttrs.version}/ypbind-mt-${finalAttrs.version}.tar.xz";
20 hash = "sha256-Bk8vGFZzxUk9+D9kALeZ86NZ3lYRi2ujfEMnER8vzYs=";
21 };
22
23 nativeBuildInputs = [
24 autoreconfHook
25 pkg-config
26 ];
27
28 buildInputs = [
29 libnsl
30 libtirpc
31 libxcrypt
32 rpcbind
33 systemdLibs
34 ];
35
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 };
45})