mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
c2ffi: unstable-2021-06-15 -> 0-unstable-2023-11-18
This commit is contained in:
parent
75aaea55f9
commit
77f0e39145
@ -1,24 +1,25 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, llvmPackages_11
|
||||
, llvmPackages_16
|
||||
, unstableGitUpdater
|
||||
}:
|
||||
|
||||
let
|
||||
c2ffiBranch = "llvm-11.0.0";
|
||||
llvmPackages = llvmPackages_11;
|
||||
c2ffiBranch = "llvm-16.0.0";
|
||||
llvmPackages = llvmPackages_16;
|
||||
in
|
||||
|
||||
llvmPackages.stdenv.mkDerivation {
|
||||
pname = "c2ffi-${c2ffiBranch}";
|
||||
version = "unstable-2021-06-15";
|
||||
version = "0-unstable-2023-11-18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rpav";
|
||||
repo = "c2ffi";
|
||||
rev = "f50243926a0afb589de1078a073ac08910599582";
|
||||
sha256 = "UstGicFzFY0/Jge5HGYTPwYSnh9OUBY5346ObZYfR54=";
|
||||
rev = "097cbe61ca02dc79ea60859aa056975131a9d985";
|
||||
hash = "sha256-pflolW5OoEkVDozy4cjCdUIVxgE/SfVKIhQyNBDhENc=";
|
||||
};
|
||||
|
||||
passthru.updateScript = unstableGitUpdater {
|
||||
@ -45,7 +46,7 @@ llvmPackages.stdenv.mkDerivation {
|
||||
# LLVM may be compiled with -fno-rtti, so let's just turn it off.
|
||||
# A mismatch between lib{clang,LLVM}* and us can lead to the link time error:
|
||||
# undefined reference to `typeinfo for clang::ASTConsumer'
|
||||
CXXFLAGS="-fno-rtti";
|
||||
env.CXXFLAGS="-fno-rtti";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/rpav/c2ffi";
|
||||
|
Loading…
Reference in New Issue
Block a user