depot/third_party/nixpkgs/pkgs/development/tools/irony-server/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

25 lines
581 B
Nix

{ lib, 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 lib; {
description = "The server part of irony";
homepage = "https://melpa.org/#/irony";
maintainers = [ maintainers.deepfire ];
platforms = platforms.unix;
license = licenses.free;
};
}