depot/third_party/nixpkgs/pkgs/development/tools/irony-server/default.nix
Default email 3e2acf8aff Project import generated by Copybara.
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
2021-05-20 18:08:51 -05:00

25 lines
603 B
Nix

{ lib, stdenv, cmake, llvmPackages, irony }:
stdenv.mkDerivation {
pname = "irony-server";
inherit (irony) src version;
nativeBuildInputs = [ cmake llvmPackages.llvm.dev ];
buildInputs = [ llvmPackages.libclang llvmPackages.llvm ];
dontUseCmakeBuildDir = true;
cmakeDir = "server";
cmakeFlags = [
"-DCMAKE_PREFIX_PATH=${llvmPackages.clang-unwrapped}"
];
meta = with lib; {
description = "The server part of irony";
homepage = "https://melpa.org/#/irony";
maintainers = [ maintainers.deepfire ];
platforms = platforms.unix;
license = licenses.free;
};
}