3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/range-v3/default.nix

29 lines
664 B
Nix
Raw Normal View History

2018-03-01 21:46:03 +00:00
{ stdenv, fetchFromGitHub, cmake }:
2017-02-11 18:10:46 +00:00
stdenv.mkDerivation rec {
name = "range-v3-${version}";
2018-09-20 15:27:30 +01:00
version = "0.3.7";
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;
2018-09-20 15:27:30 +01:00
sha256 = "1zhsz1i4jy97idydg7ay3wazp7v2353vckkli5w9g51jka43h5x2";
2017-02-11 18:10:46 +00:00
};
2018-03-01 21:46:03 +00:00
nativeBuildInputs = [ cmake ];
doCheck = true;
checkTarget = "test";
enableParallelBuilding = true;
2017-02-11 18:10:46 +00: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 ];
};
}