mustache.tcl: init at 1.1.3.4

This commit is contained in:
nat-418 2023-05-11 22:43:30 +02:00
parent a8eea70935
commit c7f171bb14
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ lib, fetchFromGitHub, tcl, tcllib }:
tcl.mkTclDerivation rec {
pname = "mustache-tcl";
version = "1.1.3.4";
src = fetchFromGitHub {
owner = "ianka";
repo = "mustache.tcl";
rev = "v${version}";
sha256 = "sha256-apM57LEZ0Y9hXcEPWrKYOoTVtP5QSqiaQrjTHQc3pc4=";
};
buildInputs = [
tcllib
];
unpackPhase = ''
mkdir -p $out/lib/mustache-tcl
cp $src/mustache.tcl $out/lib/mustache-tcl/mustache.tcl
cp $src/pkgIndex.tcl $out/lib/mustache-tcl/pkgIndex.tcl
'';
meta = with lib; {
homepage = "https://github.com/ianka/mustache.tcl";
description = "Tcl implementation of the mustache templating language";
license = licenses.bsd2;
platforms = platforms.all;
maintainers = with maintainers; [ nat-418 ];
};
}

View File

@ -28350,6 +28350,8 @@ with pkgs;
mustache-spec = callPackage ../data/documentation/mustache-spec { };
mustache-tcl = callPackage ../development/libraries/mustache-tcl { };
mustache-go = callPackage ../development/tools/mustache-go { };
mustache-hpp = callPackage ../development/libraries/mustache-hpp { };