mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
commit
6c31eb556b
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 ];
|
||||
};
|
||||
}
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user