mustache-tcl: init at 1.1.3.4 (#231351)

mustache-tcl: init at 1.1.3.4
This commit is contained in:
Sandro 2023-05-25 21:46:40 +02:00 committed by GitHub
commit 6c31eb556b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -28562,6 +28562,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 { };