1038822c30
Was too outdated for tdesktop: /build/source/Telegram/SourceFiles/ui/image/image_prepare.cpp: In function 'QImage Images::BlurLargeImage(QImage, int)': /build/source/Telegram/SourceFiles/ui/image/image_prepare.cpp:265:81: error: expected primary-expression before ')' token 265 | for (auto &&[value, index] : ranges::view::zip(dvs, ints(0, ranges::unreachable))) { | ^
29 lines
662 B
Nix
29 lines
662 B
Nix
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "range-v3";
|
|
version = "0.9.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ericniebler";
|
|
repo = "range-v3";
|
|
rev = version;
|
|
sha256 = "0qga2fnfrlrzrvnnk1z1plpmvcr8b4c75g5xz0jv0sav0kmq5zwn";
|
|
};
|
|
|
|
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; [ primeos xwvvvvwx ];
|
|
};
|
|
}
|