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