2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, cmake, llvmPackages, irony }:
|
2017-01-11 21:17:46 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "irony-server";
|
2019-11-26 00:39:53 +00:00
|
|
|
inherit (irony) src version;
|
2017-01-11 21:17:46 +00:00
|
|
|
|
2021-05-07 21:51:22 +00:00
|
|
|
nativeBuildInputs = [ cmake llvmPackages.llvm.dev ];
|
2019-11-26 00:39:53 +00:00
|
|
|
buildInputs = [ llvmPackages.libclang llvmPackages.llvm ];
|
2017-01-11 21:17:46 +00:00
|
|
|
|
|
|
|
dontUseCmakeBuildDir = true;
|
|
|
|
|
|
|
|
cmakeDir = "server";
|
|
|
|
|
|
|
|
cmakeFlags = [
|
2018-01-16 22:02:47 +00:00
|
|
|
"-DCMAKE_PREFIX_PATH=${llvmPackages.clang-unwrapped}"
|
2017-01-11 21:17:46 +00:00
|
|
|
];
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2020-10-11 05:55:05 +00:00
|
|
|
description = "The server part of irony";
|
2017-01-11 21:17:46 +00:00
|
|
|
homepage = "https://melpa.org/#/irony";
|
2019-11-26 00:39:53 +00:00
|
|
|
maintainers = [ maintainers.deepfire ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.free;
|
2017-01-11 21:17:46 +00:00
|
|
|
};
|
|
|
|
}
|