Last active
August 29, 2015 14:15
-
-
Save thorhop/73fc583d075725ec8da2 to your computer and use it in GitHub Desktop.
perl/Tk expression
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| Tk = buildPerlPackage rec { | |
| name = "Tk-804.032"; | |
| src = fetchurl { | |
| url = "http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/${name}.tar.gz"; | |
| sha256 = "0jarvplhfvnm0shhdm2a5zczlnk9mkf8jvfjiwyhjrr3cy1gl0w0"; | |
| }; | |
| makeMakerFlags = "X11LIB=${pkgs.xlibs.libX11}/lib"; | |
| buildInputs = with pkgs; [ xlibs.libX11 libpng ]; | |
| configurePhase = '' | |
| perl Makefile.PL PREFIX=$out $makeMakerFlags | |
| ''; | |
| doCheck = false; | |
| meta ={ | |
| homepage = "http://search.cpan.org/~srezic/Tk-804.032/Tk.pod"; | |
| license = stdenv.lib.licenses.tcltk; | |
| }; | |
| }; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment