2018-03-01 22:46:03 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake }:
|
2017-02-11 19:10:46 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "range-v3-${version}";
|
2018-10-18 23:14:05 +02:00
|
|
|
version = "0.4.0";
|
2017-02-11 19:10:46 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ericniebler";
|
|
|
|
repo = "range-v3";
|
2018-03-01 22:35:15 +01:00
|
|
|
rev = version;
|
2018-10-18 23:14:05 +02:00
|
|
|
sha256 = "1s5gj799aa94nfg3r24whq7ck69g0zypf70w14wx64pgwg0424vf";
|
2017-02-11 19:10:46 +01:00
|
|
|
};
|
|
|
|
|
2018-03-01 22:46:03 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
checkTarget = "test";
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2017-02-11 19:10:46 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|