From 843ea9c773540de3c34b268b5e515758b4d3148a Mon Sep 17 00:00:00 2001 From: nat-418 <93013864+nat-418@users.noreply.github.com> Date: Fri, 2 Jun 2023 10:40:02 +0200 Subject: [PATCH] tcl-fcgi: init at 0.5.0 (#232208) Co-authored-by: Sandro --- .../libraries/tcl-fcgi/default.nix | 31 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/development/libraries/tcl-fcgi/default.nix diff --git a/pkgs/development/libraries/tcl-fcgi/default.nix b/pkgs/development/libraries/tcl-fcgi/default.nix new file mode 100644 index 000000000000..5451c5186a4e --- /dev/null +++ b/pkgs/development/libraries/tcl-fcgi/default.nix @@ -0,0 +1,31 @@ +{ lib, fetchFromGitHub, tcl, tclx }: + +tcl.mkTclDerivation rec { + pname = "tcl-fcgi"; + version = "0.5.0"; + + src = fetchFromGitHub { + owner = "mpcjanssen"; + repo = "tcl-fcgi"; + rev = "62452dbf3177ba9458fbb42457834ca77bdf5a82"; + sha256 = "sha256-RLuV4ARmGWCJTmhs7DbMWENQGj3d5ZXWb821WrgG0qA="; + }; + + buildInputs = [ + tclx + ]; + + unpackPhase = '' + mkdir -p $out/lib/tcl-fcgi + cp -r $src/tcl-src/* $out/lib/tcl-fcgi/ + ''; + + meta = with lib; { + homepage = "https://github.com/mpcjanssen/tcl-fcgi"; + description = "Tcl interface for the FastCGI protocol"; + license = licenses.bsd2; + platforms = tclx.meta.platforms; + maintainers = with maintainers; [ nat-418 ]; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0a749867c9d5..618a243bbe6f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24345,6 +24345,8 @@ with pkgs; tclx = callPackage ../development/libraries/tclx { }; + tcl-fcgi = callPackage ../development/libraries/tcl-fcgi { }; + tdb = callPackage ../development/libraries/tdb { }; tdlib = callPackage ../development/libraries/tdlib { };