2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, cmake, llvmPackages, irony }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "irony-server";
|
|
|
|
inherit (irony) src version;
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
nativeBuildInputs = [ cmake llvmPackages.llvm.dev ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ llvmPackages.libclang llvmPackages.llvm ];
|
|
|
|
|
|
|
|
dontUseCmakeBuildDir = true;
|
|
|
|
|
|
|
|
cmakeDir = "server";
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DCMAKE_PREFIX_PATH=${llvmPackages.clang-unwrapped}"
|
|
|
|
];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-19 00:13:06 +00:00
|
|
|
description = "The server part of irony";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://melpa.org/#/irony";
|
|
|
|
maintainers = [ maintainers.deepfire ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.free;
|
|
|
|
};
|
|
|
|
}
|