mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
33e0ffebc1
The irony-server binary package tracks the irony-server elisp package, which was upgraded to 1.4.0. This is now failing on Hydra because upstream has refactored the CMake build, and now require CMake files from LLVM.
26 lines
584 B
Nix
26 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;
|
|
};
|
|
}
|