1 { lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, libyamlcpp, systemd
2 , python3Packages, asciidoc, libxslt, docbook_xml_dtd_45, docbook_xsl
6 stdenv.mkDerivation rec {
10 src = fetchFromGitHub {
14 sha256 = "19c449h60b2m1d8kawnhpi4y9y4ddm24jmlh8kilqmx8m5l2khr6";
18 meson ninja pkg-config asciidoc libxslt.bin docbook_xml_dtd_45 docbook_xsl
19 libxml2.bin docbook5 python3Packages.pytest python3Packages.pytest-timeout
23 buildInputs = [ libyamlcpp ];
27 doInstallCheck = true;
28 installCheckPhase = ''
30 for man in "$out/share/man/man1"/ip2unix.1*; do
31 test -s "$man" && found=1
33 if [ $found -ne 1 ]; then
34 echo "ERROR: Manual page hasn't been generated." >&2
40 homepage = "https://github.com/nixcloud/ip2unix";
41 description = "Turn IP sockets into Unix domain sockets";
42 platforms = lib.platforms.linux;
43 license = lib.licenses.lgpl3;
44 maintainers = [ lib.maintainers.aszlig ];