emacsPackages.consult-gh: delete the manual one, use the MELPA one

https://github.com/NixOS/nixpkgs/pull/337635
This commit is contained in:
Lin Jian 2024-10-15 12:00:52 +08:00
parent 51651c75bb
commit 32efc6c375
No known key found for this signature in database
GPG key ID: A6698D36434F75A5
3 changed files with 4 additions and 45 deletions

View file

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

View file

@ -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 ];
};
}

View file

@ -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