1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 11:02:05 +00:00
nixpkgs/pkgs/development/tools/irony-server/default.nix
2019-08-28 11:07:32 +00:00

28 lines
598 B
Nix

{ stdenv, cmake, llvmPackages, irony }:
stdenv.mkDerivation {
pname = "irony-server";
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;
};
}