From 7b3ac6e3f97cbff22387f0638d896ae7de6af73e Mon Sep 17 00:00:00 2001 From: Will Cohen Date: Thu, 26 May 2022 13:05:42 -0400 Subject: [PATCH] perlPackages.Tcl: init at 1.27 --- pkgs/top-level/perl-packages.nix | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index e6598306cde4..d509e55608d6 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -6,7 +6,7 @@ be almost as much code as the function itself. */ { config -, stdenv, lib, buildPackages, pkgs +, stdenv, lib, buildPackages, pkgs, darwin , fetchurl, fetchgit, fetchpatch, fetchFromGitHub, fetchFromGitLab , perl, overrides, buildPerl, shortenPerlShebang , nixosTests @@ -21009,6 +21009,28 @@ let }; }; + Tcl = buildPerlPackage { + pname = "Tcl"; + version = "1.27"; + src = fetchurl { + url = "mirror://cpan/authors/id/V/VK/VKON/Tcl-1.27.tar.gz"; + sha256 = "sha256-+DhYd6Sp7Z89OQPS0PfNcPrDzmgyxg9gCmghzuP7WHI="; + }; + propagatedBuildInputs = [ + pkgs.bwidget + pkgs.tcl + pkgs.tix + pkgs.tk + ] ++ lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.CoreServices ]; + makeMakerFlags = lib.optionalString stdenv.isLinux + "--tclsh=${pkgs.tcl}/bin/tclsh --nousestubs"; + meta = { + description = "Tcl extension module for perl"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; + }; + TemplatePluginAutoformat = buildPerlPackage { pname = "Template-Plugin-Autoformat"; version = "2.77";