2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, cmake, llvmPackages, irony }:
|
2017-01-11 21:17:46 +00:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "irony-server";
|
2017-01-11 21:17:46 +00:00
|
|
|
inherit (irony) version;
|
|
|
|
|
2017-09-14 21:23:48 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2018-01-16 22:02:47 +00:00
|
|
|
buildInputs = [ llvmPackages.libclang ];
|
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
|
|
|
];
|
|
|
|
|
|
|
|
src = irony.src;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The server part of irony.";
|
|
|
|
homepage = "https://melpa.org/#/irony";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.deepfire ];
|
2017-08-03 09:30:25 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2017-01-11 21:17:46 +00:00
|
|
|
license = stdenv.lib.licenses.free;
|
|
|
|
};
|
|
|
|
}
|