1{
2 lib,
3 stdenv,
4 fetchurl,
5 cmake,
6 pkg-config,
7}:
8
9stdenv.mkDerivation rec {
10 pname = "socket_wrapper";
11 version = "1.5.0";
12
13 src = fetchurl {
14 url = "mirror://samba/cwrap/socket_wrapper-${version}.tar.gz";
15 sha256 = "sha256-nDQfhsEbJzjuiFy/g7Qu5L1EW6luVxUbjt4SufVP1vc=";
16 };
17
18 nativeBuildInputs = [
19 cmake
20 pkg-config
21 ];
22
23 meta = with lib; {
24 description = "Library passing all socket communications through unix sockets";
25 homepage = "https://git.samba.org/?p=socket_wrapper.git;a=summary;";
26 license = licenses.bsd3;
27 platforms = platforms.all;
28 };
29}