mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
emacsPackages.apheleia: use trivialBuild
This commit is contained in:
parent
2383775620
commit
55eaf98813
@ -1,10 +1,11 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
|
, trivialBuild
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, emacs
|
, emacs
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
trivialBuild rec {
|
||||||
pname = "apheleia";
|
pname = "apheleia";
|
||||||
version = "0.0.0+unstable=2021-08-08";
|
version = "0.0.0+unstable=2021-08-08";
|
||||||
|
|
||||||
@ -19,19 +20,6 @@ stdenv.mkDerivation rec {
|
|||||||
emacs
|
emacs
|
||||||
];
|
];
|
||||||
|
|
||||||
buildPhase = ''
|
|
||||||
runHook preBuild
|
|
||||||
emacs -L . --batch -f batch-byte-compile *.el
|
|
||||||
runHook postBuild
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
runHook preInstall
|
|
||||||
install -d $out/share/emacs/site-lisp
|
|
||||||
install *.el *.elc $out/share/emacs/site-lisp
|
|
||||||
runHook postInstall
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/raxod502/apheleia";
|
homepage = "https://github.com/raxod502/apheleia";
|
||||||
description = "Asynchronous buffer reformat";
|
description = "Asynchronous buffer reformat";
|
||||||
|
Loading…
Reference in New Issue
Block a user