From 66db640ed8b44773f6120f636af8d79ab41ee0e7 Mon Sep 17 00:00:00 2001 From: Lein Matsumaru Date: Sun, 21 Feb 2021 18:11:31 +0000 Subject: [PATCH] llvm-mode: Init (verison inherited from llvm) --- .../editors/emacs-modes/manual-packages.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pkgs/applications/editors/emacs-modes/manual-packages.nix b/pkgs/applications/editors/emacs-modes/manual-packages.nix index 5f7d602264f0..d684c1ef94f5 100644 --- a/pkgs/applications/editors/emacs-modes/manual-packages.nix +++ b/pkgs/applications/editors/emacs-modes/manual-packages.nix @@ -113,6 +113,21 @@ jam-mode = callPackage ./jam-mode { }; + llvm-mode = trivialBuild { + pname = "llvm-mode"; + inherit (external.llvmPackages.llvm) src version; + + dontConfigure = true; + buildPhase = '' + cp utils/emacs/*.el . + ''; + + meta = { + inherit (external.llvmPackages.llvm.meta) homepage license; + description = "Major mode for the LLVM assembler language."; + }; + }; + org-mac-link = callPackage ./org-mac-link { };