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

26 lines
584 B
Nix
Raw Normal View History

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