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