Merge pull request #36192 from dtzWill/update/range-v3-0.3.5

rangev3: 2017-01-30 -> 0.3.5, build and run tests
This commit is contained in:
Will Dietz 2018-03-01 16:37:56 -06:00 committed by GitHub
commit d545bb649a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,21 +1,22 @@
{ stdenv, fetchFromGitHub }:
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
name = "range-v3-${version}";
version = "2017-01-30";
version = "0.3.5";
src = fetchFromGitHub {
owner = "ericniebler";
repo = "range-v3";
rev = "bab29767cce120e11872d79a2537bc6f0be76963";
sha256 = "0kncpxms3f0nmn6jppp484244xq15d9298g3h3nlm1wvq8ib1jhi";
rev = version;
sha256 = "00bwm7n3wyf49xpr7zjhm08dzwx3lwibgafi6isvfls3dhk1m4kp";
};
dontBuild = true;
installPhase = ''
mkdir -p $out/include
mv include/ $out/
'';
nativeBuildInputs = [ cmake ];
doCheck = true;
checkTarget = "test";
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Experimental range library for C++11/14/17";