nixpkgs/pkgs/development/libraries/resolv_wrapper/default.nix
2022-12-24 05:55:50 +00:00

20 lines
557 B
Nix

{ lib, stdenv, fetchurl, cmake, pkg-config }:
stdenv.mkDerivation rec {
pname = "resolv_wrapper";
version = "1.1.8";
src = fetchurl {
url = "mirror://samba/cwrap/resolv_wrapper-${version}.tar.gz";
sha256 = "sha256-+8MPd9o+EuzU72bM9at34LdEkwzNiQYkBAgvkoqOwuA=";
};
nativeBuildInputs = [ cmake pkg-config ];
meta = with lib; {
description = "A wrapper for the user, group and hosts NSS API";
homepage = "https://git.samba.org/?p=uid_wrapper.git;a=summary;";
license = licenses.bsd3;
platforms = platforms.linux;
};
}