depot/third_party/nixpkgs/pkgs/development/libraries/socket_wrapper/default.nix

20 lines
542 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, cmake, pkg-config }:
stdenv.mkDerivation rec {
name = "socket_wrapper-1.2.5";
src = fetchurl {
url = "mirror://samba/cwrap/${name}.tar.gz";
sha256 = "1wb3gq0rj5h92mhq6f1hb2qy4ypkxvn8y87ag88c7gc71nkpa1fx";
};
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;
};
}