From c790b114e6acf17b188f769a3a964ca9a3395edd Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Sat, 3 Aug 2024 22:09:06 +0200 Subject: [PATCH] tcludp: init at 1.0.11 --- pkgs/by-name/tc/tcludp/package.nix | 39 ++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 pkgs/by-name/tc/tcludp/package.nix diff --git a/pkgs/by-name/tc/tcludp/package.nix b/pkgs/by-name/tc/tcludp/package.nix new file mode 100644 index 000000000000..890b0d4366fc --- /dev/null +++ b/pkgs/by-name/tc/tcludp/package.nix @@ -0,0 +1,39 @@ +{ + lib, + tcl, + fetchfossil, +}: + +tcl.mkTclDerivation rec { + pname = "tcludp"; + version = "1.0.11"; + + src = fetchfossil { + url = "https://core.tcl-lang.org/tcludp"; + rev = "ver_" + lib.replaceStrings [ "." ] [ "_" ] version; + hash = "sha256-PckGwUqL2r5KJEet8sS4U504G63flX84EkQEkQdMifY="; + }; + + # Add missing pkgIndex.tcl.in + postPatch = '' + test ! -e pkgIndex.tcl.in + cat > pkgIndex.tcl.in <