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