mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
perlPackages.TclpTk: init at 1.09
This commit is contained in:
parent
7b3ac6e3f9
commit
26b1b6a6c6
1 changed files with 29 additions and 0 deletions
|
@ -21031,6 +21031,35 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
TclpTk = buildPerlPackage {
|
||||
pname = "Tcl-pTk";
|
||||
version = "1.09";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/C/CA/CAC/Tcl-pTk-1.09.tar.gz";
|
||||
sha256 = "sha256-LR+YBlKS9+W7mBBy9/EkAOjxGVVe4MC5zToPr/pXl24=";
|
||||
};
|
||||
propagatedBuildInputs = [
|
||||
ClassISA
|
||||
SubName
|
||||
Tcl
|
||||
TestDeep
|
||||
];
|
||||
buildPhase = ''
|
||||
perl Makefile.PL --tclsh "${pkgs.tk.tcl}/bin/tclsh" INSTALL_BASE=$out --no-test-for-tk
|
||||
'';
|
||||
postInstall = ''
|
||||
mkdir -p $out/lib/perl5/site_perl
|
||||
mv $out/lib/perl5/Tcl $out/lib/perl5/site_perl/
|
||||
mv $out/lib/perl5/auto $out/lib/perl5/site_perl/
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
mv $out/lib/perl5/darwin-thread-multi-2level $out/lib/perl5/site_perl/
|
||||
'';
|
||||
meta = {
|
||||
description = "Interface to Tcl/Tk with Perl/Tk compatible syntax";
|
||||
license = with lib.licenses; [ artistic1 gpl1Plus ];
|
||||
};
|
||||
};
|
||||
|
||||
TemplatePluginAutoformat = buildPerlPackage {
|
||||
pname = "Template-Plugin-Autoformat";
|
||||
version = "2.77";
|
||||
|
|
Loading…
Reference in a new issue