8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
25 lines
584 B
Nix
25 lines
584 B
Nix
{ stdenv, cmake, llvmPackages, irony }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "irony-server";
|
|
inherit (irony) src version;
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ llvmPackages.libclang llvmPackages.llvm ];
|
|
|
|
dontUseCmakeBuildDir = true;
|
|
|
|
cmakeDir = "server";
|
|
|
|
cmakeFlags = [
|
|
"-DCMAKE_PREFIX_PATH=${llvmPackages.clang-unwrapped}"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "The server part of irony.";
|
|
homepage = "https://melpa.org/#/irony";
|
|
maintainers = [ maintainers.deepfire ];
|
|
platforms = platforms.unix;
|
|
license = licenses.free;
|
|
};
|
|
}
|