summary refs log tree commit diff
path: root/pkgs/development/libraries/range-v3/default.nix
blob: f1d9026b5f9227ff91d2ca504bdc2f49122791d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  name = "range-v3-${version}";
  version = "2017-01-30";

  src = fetchFromGitHub {
    owner = "ericniebler";
    repo = "range-v3";
    rev = "bab29767cce120e11872d79a2537bc6f0be76963";
    sha256 = "0kncpxms3f0nmn6jppp484244xq15d9298g3h3nlm1wvq8ib1jhi";
  };

  dontBuild = true;
  installPhase = ''
    mkdir -p $out/include
    mv include/ $out/
  '';

  meta = with stdenv.lib; {
    description = "Experimental range library for C++11/14/17";
    homepage = https://github.com/ericniebler/range-v3;
    license = licenses.boost;
    platforms = platforms.all;
    maintainers = with maintainers; [ xwvvvvwx ];
  };
}