1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6}:
7
8stdenv.mkDerivation (finalAttrs: {
9 pname = "reflection-cpp";
10 version = "0.4.0";
11
12 src = fetchFromGitHub {
13 owner = "contour-terminal";
14 repo = "reflection-cpp";
15 tag = "v${finalAttrs.version}";
16 hash = "sha256-ylaAS0zlkiJlBwibFBIyNOQ2h6IGRXTiKV1g6So9M9s=";
17 };
18
19 nativeBuildInputs = [ cmake ];
20
21 meta = {
22 description = "C++ static reflection support library";
23 homepage = "https://github.com/contour-terminal/reflection-cpp";
24 license = lib.licenses.asl20;
25 platforms = lib.platforms.unix;
26 maintainers = with lib.maintainers; [ ];
27 };
28})