Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 25 lines 787 B view raw
1{ lib, buildPythonPackage, fetchurl 2, libasyncns, pkg-config }: 3 4buildPythonPackage rec { 5 pname = "libasyncns-python"; 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 patches = [ ./libasyncns-fix-res-consts.patch ]; 14 15 buildInputs = [ libasyncns ]; 16 nativeBuildInputs = [ pkg-config ]; 17 doCheck = false; # requires network access 18 19 meta = with lib; { 20 description = "libasyncns-python is a python binding for the asynchronous name service query library"; 21 license = licenses.lgpl21; 22 maintainers = [ maintainers.mic92 ]; 23 homepage = "https://launchpad.net/libasyncns-python"; 24 }; 25}