@@ -0,0 +1,26 @@
1+{ stdenv, fetchFromGitHub, cmake }:
2+
3+stdenv.mkDerivation rec {
4+ name = "brigand-${version}";
5+ version = "1.3.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "edouarda";
9+ repo = "brigand";
10+ rev = "4db9f665b4ece31b51aaf35b499b2c8e5811efa3";
11+ sha256 = "14b8r3s24zq0l3addy3irzxs5cyqn3763y5s310lmzzswgj1v7r4";
12+ };
13+
14+ nativeBuildInputs = [ cmake ];
15+
16+ meta = with stdenv.lib; {
17+ description = "Instant compile time C++ 11 metaprogramming library";
18+ longDescription = ''
19+ Brigand is a light-weight, fully functional, instant-compile time C++ 11 meta-programming library.
20+ Everything you were doing with Boost.MPL can be done with Brigand. And if that's not the case, open an issue!'';
21+ homepage = https://github.com/edouarda/brigand;
22+ license = licenses.boost;
23+ maintainers = with maintainers; [ pmiddend ];
24+ platforms = platforms.linux;
25+ };
26+}