irony-server: init at 'same-version-irony-of-chosen-elpa`
This commit is contained in:
26
pkgs/development/tools/irony-server/default.nix
Normal file
26
pkgs/development/tools/irony-server/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ stdenv, fetchgit, cmake, llvmPackages, irony }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "irony-server-${version}";
|
||||
inherit (irony) version;
|
||||
|
||||
buildInputs = [ cmake llvmPackages.clang ];
|
||||
|
||||
dontUseCmakeBuildDir = true;
|
||||
|
||||
cmakeDir = "server";
|
||||
|
||||
cmakeFlags = [
|
||||
''-DCMAKE_PREFIX_PATH=${llvmPackages.clang.cc}''
|
||||
];
|
||||
|
||||
src = irony.src;
|
||||
|
||||
meta = {
|
||||
description = "The server part of irony.";
|
||||
homepage = "https://melpa.org/#/irony";
|
||||
maintainers = [ stdenv.lib.maintainers.deepfire ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = stdenv.lib.licenses.free;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user