10 pname = "cni-plugin-dnsname";
13 src = fetchFromGitHub {
17 sha256 = "sha256-kebN1OLMOrBKBz4aBV0VYm+LmLm6S0mKnVgG2u5I+d4=";
20 nativeBuildInputs = [ makeWrapper ];
22 wrapProgram $out/bin/dnsname --prefix PATH : ${lib.makeBinPath [ dnsmasq ]}
26 subPackages = [ "plugins/meta/dnsname" ];
28 doCheck = false; # NOTE: requires root privileges
31 description = "DNS name resolution for containers";
32 mainProgram = "dnsname";
33 homepage = "https://github.com/containers/dnsname";
34 license = licenses.asl20;
35 platforms = platforms.linux;
36 maintainers = with maintainers; [ mikroskeem ];