Created
October 19, 2023 11:13
-
-
Save inclyc/1252008fc8555f5427333e5b6da89e62 to your computer and use it in GitHub Desktop.
lldb-mi nix package
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ lib | |
, stdenv | |
, fetchFromGitHub | |
, cmake | |
, llvmPackages | |
}: | |
stdenv.mkDerivation rec { | |
pname = "lldb-mi"; | |
version = "0.0.1"; | |
src = fetchFromGitHub { | |
owner = "lldb-tools"; | |
repo = "lldb-mi"; | |
rev = version; | |
hash = "sha256-SoNbQrueK9MpDymUANcLF0bt2Tjj69ZOBgopqzVgGcc="; | |
}; | |
nativeBuildInputs = [ | |
cmake | |
]; | |
buildInputs = let inherit (llvmPackages) llvm lldb clang; in [ | |
llvm | |
lldb | |
clang | |
]; | |
meta = with lib; { | |
description = "LLDB's machine interface driver"; | |
homepage = "https://github.com/lldb-tools/lldb-mi"; | |
license = licenses.asl20; | |
maintainers = with maintainers; [ inclyc ]; | |
mainProgram = "lldb-mi"; | |
platforms = platforms.all; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment