diff --git a/pkgs/by-name/re/reflection-cpp/package.nix b/pkgs/by-name/re/reflection-cpp/package.nix new file mode 100644 index 000000000000..6c0ed16764d9 --- /dev/null +++ b/pkgs/by-name/re/reflection-cpp/package.nix @@ -0,0 +1,28 @@ +{ + lib, + stdenv, + fetchFromGitHub, + cmake, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "reflection-cpp"; + version = "0.2.0"; + + src = fetchFromGitHub { + owner = "contour-terminal"; + repo = "reflection-cpp"; + tag = "v${finalAttrs.version}"; + hash = "sha256-q0h8p6xJ1UectRe656B6mT5+QokxR9N8rqzvgwUBugg="; + }; + + 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 = with lib.maintainers; [ emaryn ]; + }; +})