mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
mustache.tcl: init at 1.1.3.4
This commit is contained in:
parent
a8eea70935
commit
c7f171bb14
32
pkgs/development/libraries/mustache-tcl/default.nix
Normal file
32
pkgs/development/libraries/mustache-tcl/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user