@@ -0,0 +1,23 @@
1+{ stdenv, buildPythonPackage, fetchurl
2+, libasyncns, pkgconfig }:
3+
4+buildPythonPackage rec {
5+ name = "libasyncns-python-${version}";
6+ version = "0.7.1";
7+
8+ src = fetchurl {
9+ url = "https://launchpad.net/libasyncns-python/trunk/${version}/+download/libasyncns-python-${version}.tar.bz2";
10+ sha256 = "1q4l71b2h9q756x4pjynp6kczr2d8c1jvbdp982hf7xzv7w5gxqg";
11+ };
12+
13+ buildInputs = [ libasyncns ];
14+ nativeBuildInputs = [ pkgconfig ];
15+ doCheck = false; # requires network access
16+
17+ meta = with stdenv.lib; {
18+ description = "libasyncns-python is a python binding for the asynchronous name service query library";
19+ license = licenses.lgpl21;
20+ maintainers = [ maintainers.mic92 ];
21+ homepage = https://launchpad.net/libasyncns-python;
22+ };
23+}