nixpkgs/pkgs/development/tools/irony-server/default.nix

28 lines
598 B
Nix
Raw Normal View History

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