2017-02-11 18:10:46 +00:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "range-v3-${version}";
|
2018-03-01 21:35:15 +00:00
|
|
|
version = "0.3.5";
|
2017-02-11 18:10:46 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ericniebler";
|
|
|
|
repo = "range-v3";
|
2018-03-01 21:35:15 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "00bwm7n3wyf49xpr7zjhm08dzwx3lwibgafi6isvfls3dhk1m4kp";
|
2017-02-11 18:10:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|