at 23.11-beta 34 lines 881 B view raw
1{ lib, stdenv, fetchFromGitHub, cmake, unstableGitUpdater }: 2 3stdenv.mkDerivation { 4 pname = "libcxxrt"; 5 version = "unstable-2023-10-11"; 6 7 src = fetchFromGitHub { 8 owner = "libcxxrt"; 9 repo = "libcxxrt"; 10 rev = "03c83f5a57be8c5b1a29a68de5638744f17d28ba"; 11 sha256 = "ldwE0j9P9h5urWIUCRdY6qrJqKe45hid+NrSNeKEixE="; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 installPhase = '' 17 mkdir -p $out/include $out/lib 18 cp ../src/cxxabi.h $out/include 19 cp lib/libcxxrt${stdenv.hostPlatform.extensions.library} $out/lib 20 ''; 21 22 passthru = { 23 libName = "cxxrt"; 24 updateScript = unstableGitUpdater { }; 25 }; 26 27 meta = with lib; { 28 homepage = "https://github.com/libcxxrt/libcxxrt"; 29 description = "Implementation of the Code Sourcery C++ ABI"; 30 maintainers = with maintainers; [ qyliss ]; 31 platforms = platforms.all; 32 license = licenses.bsd2; 33 }; 34}