mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
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:
commit
d545bb649a
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user