28 lines
664 B
Nix
28 lines
664 B
Nix
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "range-v3-${version}";
|
|
version = "0.3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ericniebler";
|
|
repo = "range-v3";
|
|
rev = version;
|
|
sha256 = "050h9pa57kd57l73njxpjb331snybddl29x2vpy5ycygvqiw8kcp";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
doCheck = true;
|
|
checkTarget = "test";
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
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 ];
|
|
};
|
|
}
|