32 lines
546 B
Nix
32 lines
546 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
cmake,
|
|
llvmPackages,
|
|
llvm,
|
|
irony,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "irony-server";
|
|
inherit (irony) src version;
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
llvm
|
|
];
|
|
buildInputs = [ llvmPackages.libclang ];
|
|
|
|
dontUseCmakeBuildDir = true;
|
|
|
|
cmakeDir = "server";
|
|
|
|
meta = with lib; {
|
|
description = "Server part of irony";
|
|
mainProgram = "irony-server";
|
|
homepage = "https://melpa.org/#/irony";
|
|
maintainers = [ maintainers.deepfire ];
|
|
platforms = platforms.unix;
|
|
license = licenses.free;
|
|
};
|
|
}
|