git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.libasyncns: init at 0.7.1
commitb059f63c6e10d864c641ebcc43cbd850b62d0f58 authorJörg Thalheim <joerg@higgsboson.tk> dateThu 9 Feb 2017, 14:02 (10 years ago) parent6b2ea7e
2 files changed+27
pkgs/development/python-modules/libasyncns.nix+23 pkgs/top-level/python-packages.nix+4
pkgs/development/python-modules/libasyncns.nixnew file+23
@@ -0,0 +1,23 @@
1+{ stdenv, buildPythonPackage, fetchurl
2+, libasyncns, pkgconfig }:
3+
4+buildPythonPackage rec {
5+ name = "libasyncns-python-${version}";
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+ buildInputs = [ libasyncns ];
14+ nativeBuildInputs = [ pkgconfig ];
15+ doCheck = false; # requires network access
16+
17+ meta = with stdenv.lib; {
18+ description = "libasyncns-python is a python binding for the asynchronous name service query library";
19+ license = licenses.lgpl21;
20+ maintainers = [ maintainers.mic92 ];
21+ homepage = https://launchpad.net/libasyncns-python;
22+ };
23+}
pkgs/top-level/python-packages.nix+4
@@ -28092,6 +28092,10 @@ EOF
2809228092 buildInputs = with self; [ pytest pkgs.glibcLocales ];
2809328093 };
2809428094
28095+ libasyncns = callPackage ../development/python-modules/libasyncns.nix {
28096+ inherit (pkgs) libasyncns pkgconfig;
28097+ };
28098+
2809528099 pybrowserid = buildPythonPackage rec {
2809628100 name = "PyBrowserID-${version}";
2809728101 version = "0.9.2";