1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
4 pname = "cxx-prettyprint-unstable";
5 version = "2016-04-30";
6 rev = "9ab26d228f2960f50b38ad37fe0159b7381f7533";
8 src = fetchFromGitHub {
10 repo = "cxx-prettyprint";
12 sha256 = "1bp25yw8fb0mi432f72ihfxfj887gi36b36fpv677gawm786l7p1";
16 mkdir -p "$out/include"
17 cp prettyprint.hpp "$out/include"
21 description = "Header only C++ library for pretty printing standard containers";
22 homepage = "https://github.com/louisdx/cxx-prettyprint";
23 license = lib.licenses.boost;
24 platforms = platforms.all;
26 # This is a header-only library, no point in hydra building it: