depot/third_party/nixpkgs/pkgs/development/libraries/socket_wrapper/default.nix
Default email 13da32182d Project import generated by Copybara.
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
2022-08-21 15:32:41 +02:00

20 lines
575 B
Nix

{ lib, stdenv, fetchurl, cmake, pkg-config }:
stdenv.mkDerivation rec {
pname = "socket_wrapper";
version = "1.3.4";
src = fetchurl {
url = "mirror://samba/cwrap/socket_wrapper-${version}.tar.gz";
sha256 = "sha256-dmYeXGXbe05WiT2ZDrH4aCmymDjj8SqrZyEc3d0Uf0Y=";
};
nativeBuildInputs = [ cmake pkg-config ];
meta = with lib; {
description = "A library passing all socket communications through unix sockets";
homepage = "https://git.samba.org/?p=socket_wrapper.git;a=summary;";
license = licenses.bsd3;
platforms = platforms.all;
};
}