depot/third_party/nixpkgs/pkgs/development/libraries/socket_wrapper/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

20 lines
575 B
Nix

{ lib, stdenv, fetchurl, cmake, pkg-config }:
stdenv.mkDerivation rec {
pname = "socket_wrapper";
version = "1.4.2";
src = fetchurl {
url = "mirror://samba/cwrap/socket_wrapper-${version}.tar.gz";
sha256 = "sha256-CgjsJJ3Z/7s7FtV3s1LVc1YfV77uw1lhgqxuyORrmrY=";
};
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;
};
}