1 { lib, stdenv, fetchFromGitHub, cmake }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-tbHDGbul68blBAvok17oz7AfhHpEY9Y7RIEsqCQvOJ0=";
14 nativeBuildInputs = [ cmake ];
17 sed -i '/OptimizeForArchitecture()/d' cmake/VcMacros.cmake
18 sed -i '/AutodetectHostArchitecture()/d' print_target_architecture.cmake
22 description = "Library for multiprecision complex arithmetic with exact rounding";
23 homepage = "https://github.com/VcDevel/Vc";
24 license = licenses.bsd3;
25 platforms = platforms.all;
26 maintainers = with maintainers; [ abbradar ];