mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
28 lines
622 B
Nix
28 lines
622 B
Nix
{ stdenv, fetchgit, cmake, llvmPackages, irony }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "irony-server-${version}";
|
|
inherit (irony) version;
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ llvmPackages.libclang ];
|
|
|
|
dontUseCmakeBuildDir = true;
|
|
|
|
cmakeDir = "server";
|
|
|
|
cmakeFlags = [
|
|
"-DCMAKE_PREFIX_PATH=${llvmPackages.clang-unwrapped}"
|
|
];
|
|
|
|
src = irony.src;
|
|
|
|
meta = {
|
|
description = "The server part of irony.";
|
|
homepage = "https://melpa.org/#/irony";
|
|
maintainers = [ stdenv.lib.maintainers.deepfire ];
|
|
platforms = stdenv.lib.platforms.unix;
|
|
license = stdenv.lib.licenses.free;
|
|
};
|
|
}
|