Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, cmake, pkg-config }: 2 3stdenv.mkDerivation rec { 4 pname = "socket_wrapper"; 5 version = "1.4.0"; 6 7 src = fetchurl { 8 url = "mirror://samba/cwrap/socket_wrapper-${version}.tar.gz"; 9 sha256 = "sha256-IGQQBSyh8hjZuymmRtU4FI2n7FyYmP28Nun9eorvAHY="; 10 }; 11 12 nativeBuildInputs = [ cmake pkg-config ]; 13 14 meta = with lib; { 15 description = "A library passing all socket communications through unix sockets"; 16 homepage = "https://git.samba.org/?p=socket_wrapper.git;a=summary;"; 17 license = licenses.bsd3; 18 platforms = platforms.all; 19 }; 20}