nixpkgs/pkgs/development/libraries/resolv_wrapper/default.nix

20 lines
523 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, cmake, pkg-config }:
2015-09-18 02:28:40 +01:00
stdenv.mkDerivation rec {
2021-03-09 15:36:37 +00:00
name = "resolv_wrapper-1.1.7";
2015-09-18 02:28:40 +01:00
src = fetchurl {
url = "mirror://samba/cwrap/${name}.tar.gz";
2021-03-09 15:36:37 +00:00
sha256 = "sha256-Rgrn/V5TSFvn3ZmlXFki8csWNrnoghmB1JrRZQfIoHQ=";
2015-09-18 02:28:40 +01:00
};
nativeBuildInputs = [ cmake pkg-config ];
2015-09-18 02:28:40 +01:00
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;";
2015-09-18 02:28:40 +01:00
license = licenses.bsd3;
platforms = platforms.linux;
2015-09-18 02:28:40 +01:00
};
}