My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/libraries/mustache-hpp/default.nix

26 lines
554 B

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "mustache";
version = "4.1";
src = fetchFromGitHub {
owner = "kainjow";
repo = "Mustache";
rev = "v${version}";
sha256 = "0r9rbk6v1wpld2ismfsk2lkhbyv3dkf0p03hkjivbj05qkfhvlbb";
};
dontBuild = true;
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;
};
}