nixpkgs/pkgs/development/tools/irony-server/default.nix
2017-09-14 22:23:48 +02:00

27 lines
574 B
Nix

{ stdenv, fetchgit, cmake, llvmPackages, irony }:
stdenv.mkDerivation rec {
name = "irony-server-${version}";
inherit (irony) version;
nativeBuildInputs = [ cmake ];
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 ];
platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.free;
};
}