perl-packages: Add X11-XCB and dependencies.

This is another requirement for running the i3 test suite.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2014-07-30 04:32:38 +02:00
parent 6ab0a8d0a8
commit cf6bb72c6a
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -3403,6 +3403,19 @@ let self = _self // overrides; _self = with self; {
};
};
ExtUtilsPkgConfig = buildPerlPackage rec {
name = "ExtUtils-PkgConfig-1.15";
src = fetchurl {
url = "mirror://cpan/authors/id/X/XA/XAOC/${name}.tar.gz";
sha256 = "1cxh6w8vmyqmhl6afys2q6z6jkp1m6zvacpk70196zmk48p1kcv9";
};
propagatedBuildInputs = [ pkgs.pkgconfig ];
meta = {
description = "Simplistic interface to pkg-config";
license = licenses.lgpl21Plus;
};
};
# From CPAN[1]:
# This module exists merely as a compatibility wrapper around
# ExtUtils::Typemaps. In a nutshell, ExtUtils::Typemap was renamed to
@ -9603,6 +9616,41 @@ let self = _self // overrides; _self = with self; {
doCheck = false; # requires an X server
};
X11XCB = buildPerlPackage rec {
name = "X11-XCB-0.11";
src = fetchurl {
url = "mirror://cpan/authors/id/M/MS/MSTPLBG/${name}.tar.gz";
sha256 = "18i3z1fzw76kl9n5driys12r6vhp3r6rmb2pjn5nc7m9n4bwgh38";
};
AUTOMATED_TESTING = false;
buildInputs = [
ExtUtilsDepends ExtUtilsPkgConfig DataDump
XMLSimple XMLDescent TestDeep TestException
pkgs.xorg.libxcb pkgs.xorg.xcbproto pkgs.xorg.xcbutil pkgs.xorg.xcbutilwm
];
propagatedBuildInputs = [ XSObjectMagic Mouse TryTiny ];
NIX_CFLAGS_LINK = [ "-lxcb" "-lxcb-util" "-lxcb-xinerama" "-lxcb-icccm" ];
doCheck = false; # requires an X server
meta = {
description = "XCB bindings for X";
license = "perl";
};
};
XMLDescent = buildPerlPackage rec {
name = "XML-Descent-1.04";
src = fetchurl {
url = "mirror://cpan/authors/id/A/AN/ANDYA/${name}.tar.gz";
sha256 = "0l5xmw2hd95ypppz3lyvp4sn02ccsikzjwacli3ydxfdz1bbh4d7";
};
buildInputs = [ TestDifferences ];
propagatedBuildInputs = [ XMLTokeParser ];
meta = {
description = "Recursive descent XML parsing";
license = "perl";
};
};
XMLDOM = buildPerlPackage {
name = "XML-DOM-1.44";
src = fetchurl {
@ -9724,6 +9772,19 @@ let self = _self // overrides; _self = with self; {
propagatedBuildInputs = [XMLParser];
};
XMLTokeParser = buildPerlPackage rec {
name = "XML-TokeParser-0.05";
src = fetchurl {
url = "mirror://cpan/authors/id/P/PO/PODMASTER/${name}.tar.gz";
sha256 = "1hnpwb3lh6cbgwvjjgqzcp6jm4mp612qn6ili38adc9nhkwv8fc5";
};
propagatedBuildInputs = [ XMLParser ];
meta = {
description = "Simplified interface to XML::Parser";
license = "perl";
};
};
XMLTwig = buildPerlPackage {
name = "XML-Twig-3.44";
src = fetchurl {
@ -9742,6 +9803,19 @@ let self = _self // overrides; _self = with self; {
};
};
XSObjectMagic = buildPerlPackage rec {
name = "XS-Object-Magic-0.04";
src = fetchurl {
url = "mirror://cpan/authors/id/F/FL/FLORA/${name}.tar.gz";
sha256 = "03fghj7hq0fiicmfdxhmzfm4mzv7s097pgkd32ji7jnljvhm9six";
};
buildInputs = [ ExtUtilsDepends TestFatal Testuseok ];
meta = {
description = "XS pointer backed objects using sv_magic";
license = "perl";
};
};
YAML = buildPerlPackage {
name = "YAML-0.90";
src = fetchurl {