2017-01-12 00:17:46 +03:00
|
|
|
{ stdenv, fetchgit, cmake, llvmPackages, irony }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "irony-server-${version}";
|
|
|
|
inherit (irony) version;
|
|
|
|
|
2017-09-14 23:23:48 +03:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2018-01-17 01:02:47 +03:00
|
|
|
buildInputs = [ llvmPackages.libclang ];
|
2017-01-12 00:17:46 +03:00
|
|
|
|
|
|
|
dontUseCmakeBuildDir = true;
|
|
|
|
|
|
|
|
cmakeDir = "server";
|
|
|
|
|
|
|
|
cmakeFlags = [
|
2018-01-17 01:02:47 +03:00
|
|
|
"-DCMAKE_PREFIX_PATH=${llvmPackages.clang-unwrapped}"
|
2017-01-12 00:17:46 +03:00
|
|
|
];
|
|
|
|
|
|
|
|
src = irony.src;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The server part of irony.";
|
|
|
|
homepage = "https://melpa.org/#/irony";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.deepfire ];
|
2017-08-03 11:30:25 +03:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2017-01-12 00:17:46 +03:00
|
|
|
license = stdenv.lib.licenses.free;
|
|
|
|
};
|
|
|
|
}
|