2021-01-25 00:26:54 -08:00
|
|
|
{ lib, buildPythonPackage, fetchurl
|
2021-01-18 22:50:56 -08:00
|
|
|
, libasyncns, pkg-config }:
|
2017-02-09 05:02:00 -08:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 02:25:35 -07:00
|
|
|
pname = "libasyncns-python";
|
2017-02-09 05:02:00 -08: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 12:25:40 -08:00
|
|
|
patches = [ ./libasyncns-fix-res-consts.patch ];
|
|
|
|
|
2017-02-09 05:02:00 -08:00
|
|
|
buildInputs = [ libasyncns ];
|
2021-01-18 22:50:56 -08:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-02-09 05:02:00 -08:00
|
|
|
doCheck = false; # requires network access
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2017-02-09 05:02:00 -08:00
|
|
|
description = "libasyncns-python is a python binding for the asynchronous name service query library";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = [ maintainers.mic92 ];
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://launchpad.net/libasyncns-python";
|
2017-02-09 05:02:00 -08:00
|
|
|
};
|
|
|
|
}
|