nixpkgs/pkgs/development/libraries/mustache-hpp/default.nix
Maximilian Bosch 322c490803
mustache-hpp: fix build w/glibc-2.34
Actually, this package doesn't need a build as it copies over the
.hpp-file only, so I simplified it a bit.

Failing Hydra build: https://hydra.nixos.org/build/163643601
2022-02-27 10:26:56 +01:00

27 lines
554 B
Nix

{ 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;
};
}