9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
32 lines
775 B
Nix
32 lines
775 B
Nix
{ 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 ];
|
|
};
|
|
}
|
|
|