From 3a414e0292b834aec9be37d91a70a721f67463ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Mon, 20 Feb 2012 18:20:12 +0000 Subject: [PATCH] Adding python-xlib svn path=/nixpkgs/trunk/; revision=32434 --- pkgs/top-level/python-packages.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 77b10c10a071..302a1e284872 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2059,6 +2059,28 @@ let pythonPackages = python.modules // rec { wxGTK = pkgs.wxGTK28; }; + xlib = buildPythonPackage (rec { + name = "xlib-0.15rc1"; + + src = fetchurl { + url = "mirror://sourceforge/python-xlib/python-${name}.tar.bz2"; + sha256 = "0mvzz605pxzj7lfp2w6z4qglmr4rjza9xrb7sl8yn12cklzfky0m"; + }; + + # Tests require `pyutil' so disable them to avoid circular references. + doCheck = false; + + propagatedBuildInputs = [ pkgs.xlibs.libX11 ]; + + meta = { + description = "Fully functional X client library for Python programs"; + + homepage = http://python-xlib.sourceforge.net/; + + license = "GPLv2+"; + }; + }); + zbase32 = buildPythonPackage (rec { name = "zbase32-1.1.2";