567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
33 lines
548 B
Nix
33 lines
548 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
cmake,
|
|
llvmPackages,
|
|
llvm,
|
|
irony,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "irony-server";
|
|
inherit (irony) src version;
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
llvm
|
|
];
|
|
buildInputs = [ llvmPackages.libclang ];
|
|
|
|
dontUseCmakeBuildDir = true;
|
|
|
|
cmakeDir = "server";
|
|
|
|
meta = {
|
|
description = "Server part of irony";
|
|
mainProgram = "irony-server";
|
|
homepage = "https://melpa.org/#/irony";
|
|
maintainers = [ lib.maintainers.deepfire ];
|
|
platforms = lib.platforms.unix;
|
|
license = lib.licenses.free;
|
|
};
|
|
}
|