mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
1d0517ddb3
Upstream fixes: * Don't unlink target socket path if connect is used after bind. Signed-off-by: aszlig <aszlig@nix.build>
33 lines
814 B
Nix
33 lines
814 B
Nix
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, libyamlcpp, systemd
|
|
, asciidoctor, python3Packages
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ip2unix-${version}";
|
|
version = "1.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nixcloud";
|
|
repo = "ip2unix";
|
|
rev = "v${version}";
|
|
sha256 = "0lw4f1p1frfpf5l7faqdd80d6pi9g5sx7g3wpmig9sa50k6pmc0v";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson ninja pkgconfig asciidoctor
|
|
python3Packages.pytest python3Packages.pytest-timeout
|
|
];
|
|
|
|
buildInputs = [ libyamlcpp systemd ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = https://github.com/nixcloud/ip2unix;
|
|
description = "Turn IP sockets into Unix domain sockets";
|
|
platforms = stdenv.lib.platforms.linux;
|
|
license = stdenv.lib.licenses.lgpl3;
|
|
maintainers = [ stdenv.lib.maintainers.aszlig ];
|
|
};
|
|
}
|