Merge pull request #21815 from deepfire/irony-server

irony-server:  init at irony version
This commit is contained in:
Daiderd Jordan 2017-01-21 01:55:22 +01:00 committed by GitHub
commit 78c68f23d0
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

@ -5100,6 +5100,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 =