mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
mustache-hpp: init at 4.1
This commit is contained in:
parent
8e304bd0e0
commit
9478a316c2
26
pkgs/development/libraries/mustache-hpp/default.nix
Normal file
26
pkgs/development/libraries/mustache-hpp/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mustache";
|
||||
version = "4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kainjow";
|
||||
repo = "Mustache";
|
||||
rev = "v${version}";
|
||||
sha256 = "0r9rbk6v1wpld2ismfsk2lkhbyv3dkf0p03hkjivbj05qkfhvlbb";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/include
|
||||
cp ../mustache.hpp $out/include
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Mustache text templates for modern C++";
|
||||
homepage = "https://github.com/kainjow/Mustache";
|
||||
license = licenses.boost;
|
||||
};
|
||||
}
|
@ -21124,6 +21124,8 @@ in
|
||||
|
||||
mustache-go = callPackage ../development/tools/mustache-go { };
|
||||
|
||||
mustache-hpp = callPackage ../development/libraries/mustache-hpp { };
|
||||
|
||||
myrica = callPackage ../data/fonts/myrica { };
|
||||
|
||||
nafees = callPackage ../data/fonts/nafees { };
|
||||
|
Loading…
Reference in New Issue
Block a user