irony-server: init at 'same-version-irony-of-chosen-elpa`

This commit is contained in:
Kosyrev Serge 2017-01-12 00:17:46 +03:00
parent 4a662e5206
commit 7ceca3dbbc
2 changed files with 34 additions and 0 deletions

View 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;
};
}

View File

@ -5094,6 +5094,14 @@ in
intercal = callPackage ../development/compilers/intercal { };
irony-server = callPackage ../development/tools/irony-server/default.nix {
# The repository of irony to use -- must match the version of the employed emacs
# package. Wishing we could merge it into one irony package, to avoid this issue,
# but its emacs-side expression is autogenerated, and we can't hook into it (other
# than peek into its version).
inherit (emacsPackagesNg.melpaStablePackages) irony;
};
hugs = callPackage ../development/interpreters/hugs { };
openjdk7 =