summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/re/reflection-cpp/package.nix
blob: 0e01f4acd09f2c513a87bb218329a77c5705d95c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
  lib,
  stdenv,
  fetchFromGitHub,
  cmake,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "reflection-cpp";
  version = "0.4.0";

  src = fetchFromGitHub {
    owner = "contour-terminal";
    repo = "reflection-cpp";
    tag = "v${finalAttrs.version}";
    hash = "sha256-ylaAS0zlkiJlBwibFBIyNOQ2h6IGRXTiKV1g6So9M9s=";
  };

  nativeBuildInputs = [ cmake ];

  meta = {
    description = "C++ static reflection support library";
    homepage = "https://github.com/contour-terminal/reflection-cpp";
    license = lib.licenses.asl20;
    platforms = lib.platforms.unix;
    maintainers = [ ];
  };
})