emacs.pkgs.mind-wave: remove
- This package cannot be accessed normally because it does not add an entry to the manual-packages.nix file. Since there is no issues raised about this, probably no one uses this package. - The quality of this package is not on par with other packages. - about nix expression: - Its passthru.updateScript does not work. - It introduces an elisp dependency markdown-mode wrongly. - It uses pkgs. - It has a redundant parameter substituteAll. - It contains a huge block of unneeded comments. - about functionality: - It does not work out of the box because it does not patch mind-wave-python-command.
This commit is contained in:
parent
35b8cc9adf
commit
12b3d2c62e
@ -1,89 +0,0 @@
|
||||
{ lib
|
||||
, pkgs
|
||||
, melpaBuild
|
||||
, substituteAll
|
||||
}:
|
||||
# To use this package with emacs-overlay:
|
||||
# nixpkgs.overlays = [
|
||||
# inputs.emacs-overlay.overlay
|
||||
# (final: prev: {
|
||||
# emacs30 = prev.emacsGit.overrideAttrs (old: {
|
||||
# name = "emacs30";
|
||||
# version = inputs.emacs-upstream.shortRev;
|
||||
# src = inputs.emacs-upstream;
|
||||
# });
|
||||
# emacsWithConfig = prev.emacsWithPackagesFromUsePackage {
|
||||
# config = let
|
||||
# readRecursively = dir:
|
||||
# builtins.concatStringsSep "\n"
|
||||
# (lib.mapAttrsToList (name: value:
|
||||
# if value == "regular"
|
||||
# then builtins.readFile (dir + "/${name}")
|
||||
# else
|
||||
# (
|
||||
# if value == "directory"
|
||||
# then readRecursively (dir + "/${name}")
|
||||
# else []
|
||||
# ))
|
||||
# (builtins.readDir dir));
|
||||
# in
|
||||
# # your home-manager config
|
||||
# readRecursively ./home/modules/emacs;
|
||||
# alwaysEnsure = true;
|
||||
# package = final.emacs30;
|
||||
# extraEmacsPackages = epkgs: [
|
||||
# epkgs.use-package
|
||||
# (epkgs.melpaBuild rec {
|
||||
# # ...
|
||||
# })
|
||||
# ];
|
||||
# override = epkgs:
|
||||
# epkgs
|
||||
# // {
|
||||
# # ...
|
||||
# };
|
||||
# };
|
||||
# })
|
||||
# ];
|
||||
melpaBuild rec {
|
||||
pname = "mind-wave";
|
||||
version = "20230523.0332"; # 03:32 UTC
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "manateelazycat";
|
||||
repo = "mind-wave";
|
||||
rev = "5109162b74872091c5090a28389bef8f7020274c";
|
||||
sha256 = "sha256-ZyXrpb0GLWSGnMsVIGL9qALSBCeIWNF0UwkCFgCKnu8=";
|
||||
};
|
||||
commit = "5109162b74872091c5090a28389bef8f7020274c";
|
||||
# elisp dependencies
|
||||
packageRequires = [
|
||||
pkgs.emacsPackages.markdown-mode
|
||||
];
|
||||
buildInputs = [
|
||||
(pkgs.python3.withPackages (ps:
|
||||
with ps; [
|
||||
openai
|
||||
epc
|
||||
sexpdata
|
||||
six
|
||||
]))
|
||||
];
|
||||
recipe = pkgs.writeText "recipe" ''
|
||||
(mind-wave
|
||||
:repo "manateelazycat/mind-wave"
|
||||
:fetcher github
|
||||
:files
|
||||
("mind-wave.el"
|
||||
"mind-wave-epc.el"
|
||||
"mind_wave.py"
|
||||
"utils.py"))
|
||||
'';
|
||||
doCheck = true;
|
||||
passthru.updateScript = pkgs.unstableGitUpdater {};
|
||||
meta = with lib; {
|
||||
description = " Emacs AI plugin based on ChatGPT API ";
|
||||
homepage = "https://github.com/manateelazycat/mind-wave";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [yuzukicat];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user