emacs.pkgs.consult-gh: modernize according to new melpaBuild

This commit is contained in:
Anderson Torres 2024-07-10 22:54:14 -03:00
parent 39027cc459
commit 6af5cd05bb

View File

@ -1,28 +1,24 @@
{ lib
, melpaBuild
, fetchFromGitHub
, consult
, embark
, forge
, gh
, markdown-mode
, writeText
, unstableGitUpdater
{
lib,
consult,
embark,
fetchFromGitHub,
forge,
gh,
markdown-mode,
melpaBuild,
unstableGitUpdater,
writeText,
}:
let
commit = "3a07139a1f7e38b959ce177a122c8f47c401d7fa";
in
melpaBuild {
pname = "consult-gh";
version = "0.12-unstable-2024-04-23";
inherit commit;
src = fetchFromGitHub {
owner = "armindarvish";
repo = "consult-gh";
rev = commit;
rev = "3a07139a1f7e38b959ce177a122c8f47c401d7fa";
hash = "sha256-BZloG5RuQzC2RwCfvqPPhGcbsCabQWBnRHdU62rwNdo=";
};
@ -30,16 +26,10 @@ melpaBuild {
consult
embark
forge
gh
markdown-mode
];
recipe = writeText "recipe" ''
(consult-gh
:repo "armindarvish/consult-gh"
:fetcher github
:files ("consult-gh-embark.el" "consult-gh-forge.el" "consult-gh.el"))
'';
propagatedUserEnvPkgs = [ gh ];
passthru.updateScript = unstableGitUpdater { };