From b059f63c6e10d864c641ebcc43cbd850b62d0f58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 9 Feb 2017 14:02:00 +0100 Subject: [PATCH] pythonPackages.libasyncns: init at 0.7.1 --- .../development/python-modules/libasyncns.nix | 23 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 4 ++++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/python-modules/libasyncns.nix diff --git a/pkgs/development/python-modules/libasyncns.nix b/pkgs/development/python-modules/libasyncns.nix new file mode 100644 index 000000000000..de0d6ea610d8 --- /dev/null +++ b/pkgs/development/python-modules/libasyncns.nix @@ -0,0 +1,23 @@ +{ stdenv, buildPythonPackage, fetchurl +, libasyncns, pkgconfig }: + +buildPythonPackage rec { + name = "libasyncns-python-${version}"; + version = "0.7.1"; + + src = fetchurl { + url = "https://launchpad.net/libasyncns-python/trunk/${version}/+download/libasyncns-python-${version}.tar.bz2"; + sha256 = "1q4l71b2h9q756x4pjynp6kczr2d8c1jvbdp982hf7xzv7w5gxqg"; + }; + + 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; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 40201bc6047d..92f5ccc2070b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -28092,6 +28092,10 @@ EOF buildInputs = with self; [ pytest pkgs.glibcLocales ]; }; + libasyncns = callPackage ../development/python-modules/libasyncns.nix { + inherit (pkgs) libasyncns pkgconfig; + }; + pybrowserid = buildPythonPackage rec { name = "PyBrowserID-${version}"; version = "0.9.2";