@@ -0,0 +1,29 @@
1+{ stdenv, fetchFromGitHub }:
2+
3+stdenv.mkDerivation rec {
4+ name = "cxx-prettyprint-unstable-${version}";
5+ version = "2016-04-30";
6+ rev = "9ab26d228f2960f50b38ad37fe0159b7381f7533";
7+
8+ src = fetchFromGitHub {
9+ owner = "louisdx";
10+ repo = "cxx-prettyprint";
11+ inherit rev;
12+ sha256 = "1bp25yw8fb0mi432f72ihfxfj887gi36b36fpv677gawm786l7p1";
13+ };
14+
15+ installPhase = ''
16+ mkdir -p "$out/include"
17+ cp prettyprint.hpp "$out/include"
18+ '';
19+
20+ meta = with stdenv.lib; {
21+ description = "Header only C++ library for pretty printing standard containers";
22+ homepage = https://github.com/louisdx/cxx-prettyprint;
23+ license = stdenv.lib.licenses.boost;
24+ platforms = platforms.all;
25+
26+ # This is a header-only library, no point in hydra building it:
27+ hydraPlatforms = [];
28+ };
29+}