emacsPackages.holo-layer: init at 0-unstable-2025-06-13
This commit is contained in:
committed by
Lin Jian
parent
a2d6b54ebf
commit
024ad7fc9a
@@ -0,0 +1,74 @@
|
||||
{
|
||||
# Basic
|
||||
lib,
|
||||
melpaBuild,
|
||||
fetchFromGitHub,
|
||||
# Python dependency
|
||||
python3,
|
||||
# Emacs dependencies
|
||||
markdown-mode,
|
||||
posframe,
|
||||
# Updater
|
||||
unstableGitUpdater,
|
||||
}:
|
||||
|
||||
let
|
||||
|
||||
pythonPkgs =
|
||||
ps: with ps; [
|
||||
epc
|
||||
inflect
|
||||
pyqt6
|
||||
pyqt6-sip
|
||||
sexpdata
|
||||
six
|
||||
xlib
|
||||
];
|
||||
pythonEnv = python3.withPackages pythonPkgs;
|
||||
|
||||
in
|
||||
|
||||
melpaBuild {
|
||||
|
||||
pname = "holo-layer";
|
||||
version = "0-unstable-2025-06-13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "manateelazycat";
|
||||
repo = "holo-layer";
|
||||
rev = "464b6996268a81fa3b524ced02a60fcc266f8965";
|
||||
hash = "sha256-uTxfnhtDybWx+Na4fj5TJuZh+tKoNuSZ03IR9ErvI7s=";
|
||||
};
|
||||
|
||||
packageRequires = [
|
||||
markdown-mode
|
||||
posframe
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace holo-layer.el \
|
||||
--replace-fail "\"python3\"" \
|
||||
"\"${pythonEnv.interpreter}\""
|
||||
'';
|
||||
|
||||
files = ''
|
||||
("*.el"
|
||||
"*.py"
|
||||
"icon_cache"
|
||||
"plugin"
|
||||
"resources"
|
||||
"swaymsg-treefetch")
|
||||
'';
|
||||
|
||||
passthru.updateScript = unstableGitUpdater { };
|
||||
|
||||
meta = {
|
||||
description = "Display and animation extension for Emacs";
|
||||
homepage = "https://github.com/manateelazycat/holo-layer";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [
|
||||
thattemperature
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user