Skip to content

Commit

Permalink
add ypbind-mt package (#333099)
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 authored Sep 5, 2024
2 parents 36cbf6e + a62ec9e commit cd36278
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2279,6 +2279,11 @@
github = "barinov274";
githubId = 54442153;
};
BarrOff = {
name = "BarrOff";
github = "BarrOff";
githubId = 58253563;
};
barrucadu = {
email = "[email protected]";
github = "barrucadu";
Expand Down
45 changes: 45 additions & 0 deletions pkgs/by-name/yp/ypbind-mt/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
stdenv,
lib,
fetchurl,
autoreconfHook,
libnsl,
libtirpc,
libxcrypt,
pkg-config,
rpcbind,
systemdLibs,
}:

stdenv.mkDerivation rec {
pname = "ypbind-mt";
version = "2.7.2";

src = fetchurl {
url = "https://github.com/thkukuk/ypbind-mt/releases/download/v${version}/ypbind-mt-${version}.tar.xz";
hash = "sha256-Bk8vGFZzxUk9+D9kALeZ86NZ3lYRi2ujfEMnER8vzYs=";
};

nativeBuildInputs = [
autoreconfHook
pkg-config
];

buildInputs = [
libnsl
libtirpc
libxcrypt
rpcbind
systemdLibs
];

meta = {
description = "Multithreaded daemon maintaining the NIS binding informations.";
homepage = "https://github.com/thkukuk/ypbind-mt";
changelog = "https://github.com/thkukuk/ypbind-mt/blob/master/NEWS";
license = lib.licenses.gpl2Plus;
mainProgram = "ypbind";
maintainers = with lib.maintainers; [ BarrOff ];
platforms = lib.platforms.linux;
};
}

0 comments on commit cd36278

Please sign in to comment.