about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/tcl-fcgi/default.nix
blob: 5451c5186a4eeeab0722a6266b36b8c5699b7889 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 ];
  };
}