Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

37 lines
858 B
Nix

{
lib,
fetchurl,
mkTclDerivation,
}:
mkTclDerivation {
pname = "wapp";
version = "0-unstable-2024-11-22";
src = fetchurl {
url = "https://wapp.tcl-lang.org/home/raw/3b1ce7c0234b4b2750deadc80f524ed28e835aa5e741bf3fe63b416a16a55699?at=wapp.tcl";
hash = "sha256-0e9yTVFYj1tYGU7EiXRPw35qfDzckzz4i3RV/8TttGw=";
};
dontUnpack = true;
installPhase = ''
runHook preInstall
mkdir -p $out/lib/wapp
cp $src $out/lib/wapp/wapp.tcl
cat <<EOF > $out/lib/wapp/pkgIndex.tcl
package ifneeded wapp 1.0 [list source [file join \$dir wapp.tcl]]
EOF
runHook postInstall
'';
meta = with lib; {
homepage = "https://wapp.tcl-lang.org/home/doc/trunk/README.md";
description = "Framework for writing web applications in Tcl";
license = licenses.bsd2;
maintainers = with maintainers; [ nat-418 ];
};
}