mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
emacsPackages.consult-gh: delete the manual one, use the MELPA one
https://github.com/NixOS/nixpkgs/pull/337635
This commit is contained in:
parent
51651c75bb
commit
32efc6c375
3 changed files with 4 additions and 45 deletions
|
@ -15,10 +15,6 @@ lib.packagesFromDirectoryRecursive {
|
|||
inherit (pkgs) codeium;
|
||||
};
|
||||
|
||||
consult-gh = callPackage ./manual-packages/consult-gh {
|
||||
inherit (pkgs) gh;
|
||||
};
|
||||
|
||||
lsp-bridge = callPackage ./manual-packages/lsp-bridge {
|
||||
inherit (pkgs) basedpyright git go gopls python3;
|
||||
};
|
||||
|
|
|
@ -1,41 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
consult,
|
||||
embark-consult,
|
||||
fetchFromGitHub,
|
||||
forge,
|
||||
gh,
|
||||
markdown-mode,
|
||||
melpaBuild,
|
||||
unstableGitUpdater,
|
||||
}:
|
||||
|
||||
melpaBuild {
|
||||
pname = "consult-gh";
|
||||
version = "1.0-unstable-2024-08-24";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "armindarvish";
|
||||
repo = "consult-gh";
|
||||
rev = "b1d85d179438e4b6469e1b78906a7dde8f07c822";
|
||||
hash = "sha256-VmxuXvO0nl0h9IKU+XWfjW90KG/1B+qHoOVhvYJ8XTs=";
|
||||
};
|
||||
|
||||
packageRequires = [
|
||||
consult
|
||||
embark-consult
|
||||
forge
|
||||
markdown-mode
|
||||
];
|
||||
|
||||
propagatedUserEnvPkgs = [ gh ];
|
||||
|
||||
passthru.updateScript = unstableGitUpdater { };
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/armindarvish/consult-gh";
|
||||
description = "GitHub CLI client inside GNU Emacs using Consult";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
};
|
||||
}
|
|
@ -934,6 +934,10 @@ let
|
|||
# missing optional dependencies
|
||||
conda = addPackageRequires super.conda [ self.projectile ];
|
||||
|
||||
consult-gh = super.consult-gh.overrideAttrs (old: {
|
||||
propagatedUserEnvPkgs = old.propagatedUserEnvPkgs or [ ] ++ [ pkgs.gh ];
|
||||
});
|
||||
|
||||
consult-gh-forge = buildWithGit super.consult-gh-forge;
|
||||
|
||||
counsel-gtags = ignoreCompilationError super.counsel-gtags; # elisp error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue