mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #21815 from deepfire/irony-server
irony-server: init at irony version
This commit is contained in:
commit
78c68f23d0
2 changed files with 34 additions and 0 deletions
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;
|
||||
};
|
||||
}
|
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue