about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/libasyncns/default.nix
blob: fa7320bdf4eceaf0ee0402aabe91224ad21c8a47 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, buildPythonPackage, fetchurl
, libasyncns, pkgconfig }:

buildPythonPackage rec {
  pname = "libasyncns-python";
  version = "0.7.1";

  src = fetchurl {
    url = "https://launchpad.net/libasyncns-python/trunk/${version}/+download/libasyncns-python-${version}.tar.bz2";
    sha256 = "1q4l71b2h9q756x4pjynp6kczr2d8c1jvbdp982hf7xzv7w5gxqg";
  };

  patches = [ ./libasyncns-fix-res-consts.patch ];

  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";
  };
}