2017-02-09 13:02:00 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchurl
|
|
|
|
, libasyncns, pkgconfig }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "libasyncns-python";
|
2017-02-09 13:02:00 +00:00
|
|
|
version = "0.7.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://launchpad.net/libasyncns-python/trunk/${version}/+download/libasyncns-python-${version}.tar.bz2";
|
|
|
|
sha256 = "1q4l71b2h9q756x4pjynp6kczr2d8c1jvbdp982hf7xzv7w5gxqg";
|
|
|
|
};
|
|
|
|
|
2017-02-26 20:25:40 +00:00
|
|
|
patches = [ ./libasyncns-fix-res-consts.patch ];
|
|
|
|
|
2017-02-09 13:02:00 +00:00
|
|
|
buildInputs = [ libasyncns ];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
doCheck = false; # requires network access
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "libasyncns-python is a python binding for the asynchronous name service query library";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = [ maintainers.mic92 ];
|
|
|
|
homepage = https://launchpad.net/libasyncns-python;
|
|
|
|
};
|
|
|
|
}
|