mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
26 lines
581 B
Nix
26 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;
|
|
};
|
|
}
|