fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ lib, stdenv, fetchFromGitHub, cmake, ninja }:
2
3stdenv.mkDerivation rec {
4 pname = "rttr";
5 version = "0.9.6";
6
7 src = fetchFromGitHub {
8 owner = "${pname}org";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "1yxad8sj40wi75hny8w6imrsx8wjasjmsipnlq559n4b6kl84ijp";
12 };
13
14 nativeBuildInputs = [
15 cmake
16 ninja
17 ];
18
19 cmakeFlags = [
20 "-DBUILD_EXAMPLES=OFF"
21 "-DBUILD_UNIT_TESTS=OFF"
22 "-DBUILD_PACKAGE=OFF"
23 ];
24
25 meta = with lib; {
26 broken = stdenv.isDarwin;
27 description = "C++ Reflection Library";
28 homepage = "https://www.rttr.org";
29 license = licenses.mit;
30 platforms = platforms.unix;
31 };
32}