1{ lib, stdenv, fetchurl, cmake, pkg-config }:
2
3stdenv.mkDerivation rec {
4 pname = "uid_wrapper";
5 version = "1.3.0";
6
7 src = fetchurl {
8 url = "mirror://samba/cwrap/uid_wrapper-${version}.tar.gz";
9 sha256 = "sha256-9+fBveUzUwBRkxQUckRT4U4CrbthSCS2/ifLuYZUt2I=";
10 };
11
12 nativeBuildInputs = [ cmake pkg-config ];
13
14 meta = with lib; {
15 description = "A wrapper for the user, group and hosts NSS API";
16 homepage = "https://git.samba.org/?p=uid_wrapper.git;a=summary;";
17 license = licenses.bsd3;
18 platforms = platforms.all;
19 };
20}