depot/third_party/nixpkgs/pkgs/development/tools/irony-server/default.nix
Default email d6cfb865ad Project import generated by Copybara.
GitOrigin-RevId: 5265d49a36bb5a18c85e6817b338b456acc3b8cc
2020-10-18 20:13:06 -04:00

25 lines
583 B
Nix

{ stdenv, cmake, llvmPackages, irony }:
stdenv.mkDerivation {
pname = "irony-server";
inherit (irony) src version;
nativeBuildInputs = [ cmake ];
buildInputs = [ llvmPackages.libclang llvmPackages.llvm ];
dontUseCmakeBuildDir = true;
cmakeDir = "server";
cmakeFlags = [
"-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;
};
}