3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/rttr/default.nix

32 lines
612 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, ninja }:
2019-04-22 22:17:16 +01:00
stdenv.mkDerivation rec {
pname = "rttr";
version = "0.9.6";
src = fetchFromGitHub {
owner = "${pname}org";
repo = pname;
rev = "v${version}";
sha256 = "1yxad8sj40wi75hny8w6imrsx8wjasjmsipnlq559n4b6kl84ijp";
};
nativeBuildInputs = [
cmake
ninja
];
cmakeFlags = [
"-DBUILD_EXAMPLES=OFF"
"-DBUILD_UNIT_TESTS=OFF"
"-DBUILD_PACKAGE=OFF"
];
meta = with lib; {
2019-04-22 22:17:16 +01:00
description = "C++ Reflection Library";
homepage = "https://www.rttr.org";
2019-04-22 22:17:16 +01:00
license = licenses.mit;
platforms = platforms.unix;
};
}