depot/third_party/nixpkgs/pkgs/development/tools/irony-server/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
584 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;
};
}