1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00

perl-Tk: 804.032_501 -> 804.033

Also remove unnecessary `configurePhase` and add X11 include path.

Fixes #20932.
This commit is contained in:
Robert Helgesson 2016-12-05 23:40:31 +01:00
parent 452e4986d9
commit f4fd4678f0
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -13921,19 +13921,16 @@ let self = _self // overrides; _self = with self; {
};
Tk = buildPerlPackage rec {
name = "Tk-804.032_501";
name = "Tk-804.033";
src = fetchurl {
url = "http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/${name}.tar.gz";
sha256 = "10fsvyr56gm59chc8b70n6bvhd3lh9c05sp8m4arcahid0rpgbwa";
url = "mirror://cpan/authors/id/S/SR/SREZIC/${name}.tar.gz";
sha256 = "84756e9b07a2555c8eecf88e63d5cbbba9b1aa97b1e71a3d4aa524a7995a88ad";
};
makeMakerFlags = "X11LIB=${pkgs.xorg.libX11.out}/lib";
makeMakerFlags = "X11INC=${pkgs.xorg.libX11.dev}/include X11LIB=${pkgs.xorg.libX11.out}/lib";
buildInputs = with pkgs; [ xorg.libX11 libpng ];
configurePhase = ''
perl Makefile.PL PREFIX=$out $makeMakerFlags
'';
doCheck = false;
meta ={
homepage = "http://search.cpan.org/~srezic/Tk-804.032/Tk.pod";
doCheck = false; # Expects working X11.
meta = {
homepage = https://metacpan.org/pod/distribution/Tk/Tk.pod;
license = stdenv.lib.licenses.tcltk;
};
};