wapp: init at unstable-2023-05-05
This commit is contained in:
parent
a8eea70935
commit
2df23a6b37
32
pkgs/development/libraries/wapp/default.nix
Normal file
32
pkgs/development/libraries/wapp/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ lib, fetchurl, tcl }:
|
||||||
|
|
||||||
|
tcl.mkTclDerivation {
|
||||||
|
pname = "wapp";
|
||||||
|
version = "unstable-2023-05-05";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://wapp.tcl-lang.org/home/raw/72d0d081e3e6a4aea91ddf429a85cbdf40f9a32d46cccfe81bb75ee50e6cf9cf?at=wapp.tcldir?ci=9d3368116c59ef16";
|
||||||
|
hash = "sha256-poG7dvaiOXMi4oWMQ5t3v7SYEqZLUY/TsWXrTL62xd0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
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 = "A framework for writing web applications in Tcl";
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ nat-418 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -24312,6 +24312,8 @@ with pkgs;
|
||||||
|
|
||||||
wangle = callPackage ../development/libraries/wangle { };
|
wangle = callPackage ../development/libraries/wangle { };
|
||||||
|
|
||||||
|
wapp = callPackage ../development/libraries/wapp { };
|
||||||
|
|
||||||
wavpack = callPackage ../development/libraries/wavpack { };
|
wavpack = callPackage ../development/libraries/wavpack { };
|
||||||
|
|
||||||
wayland = darwin.apple_sdk_11_0.callPackage ../development/libraries/wayland { };
|
wayland = darwin.apple_sdk_11_0.callPackage ../development/libraries/wayland { };
|
||||||
|
|
Loading…
Reference in a new issue