Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
46 lines
939 B
Nix
46 lines
939 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
unstableGitUpdater,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "libcxxrt";
|
|
version = "4.0.10-unstable-2025-02-25";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "libcxxrt";
|
|
repo = "libcxxrt";
|
|
rev = "a6f71cbc3a1e1b8b9df241e081fa0ffdcde96249";
|
|
sha256 = "+oTjU/DgOEIwJebSVkSEt22mJSdeONozB8FfzEiESHU=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
outputs = [
|
|
"out"
|
|
"dev"
|
|
];
|
|
|
|
installPhase = ''
|
|
mkdir -p $dev/include $out/lib
|
|
cp ../src/cxxabi.h $dev/include
|
|
cp lib/libcxxrt${stdenv.hostPlatform.extensions.library} $out/lib
|
|
'';
|
|
|
|
passthru = {
|
|
libName = "cxxrt";
|
|
updateScript = unstableGitUpdater { };
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/libcxxrt/libcxxrt";
|
|
description = "Implementation of the Code Sourcery C++ ABI";
|
|
maintainers = with maintainers; [ qyliss ];
|
|
platforms = platforms.all;
|
|
license = licenses.bsd2;
|
|
};
|
|
}
|