diff --git a/pkgs/applications/editors/emacs/elisp-packages/apheleia/default.nix b/pkgs/applications/editors/emacs/elisp-packages/apheleia/default.nix index 658a18c05867..a5f06efa33cc 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/apheleia/default.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/apheleia/default.nix @@ -1,17 +1,23 @@ -{ stdenv, fetchFromGitHub, emacs, lib }: +{ lib +, stdenv +, fetchFromGitHub +, emacs +}: -stdenv.mkDerivation { +stdenv.mkDerivation rec { pname = "apheleia"; - version = "2021-05-23"; + version = "0.0.0+unstable=2021-08-08"; src = fetchFromGitHub { owner = "raxod502"; - repo = "apheleia"; - rev = "f865c165dac606187a66b2b25a57d5099b452120"; - sha256 = "sha256-n37jJsNOGhSjUtQysG3NVIjjayhbOa52iTXBc8SyKXE="; + repo = pname; + rev = "8e022c67fea4248f831c678b31c19646cbcbbf6f"; + hash = "sha256-Put/BBQ7V423C18UIVfaM17T+TDWtAxRZi7WI8doPJw="; }; - buildInputs = [ emacs ]; + buildInputs = [ + emacs + ]; buildPhase = '' runHook preBuild @@ -26,11 +32,11 @@ stdenv.mkDerivation { runHook postInstall ''; - meta = { - description = "Reformat buffer stably"; + meta = with lib; { homepage = "https://github.com/raxod502/apheleia"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ leungbk ]; + description = "Asynchronous buffer reformat"; + license = licenses.mit; + maintainers = with maintainers; [ AndersonTorres leungbk ]; platforms = emacs.meta.platforms; }; } diff --git a/pkgs/applications/editors/emacs/elisp-packages/manual-packages.nix b/pkgs/applications/editors/emacs/elisp-packages/manual-packages.nix index 1140eb42c9c8..690b5da49b2e 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/manual-packages.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/manual-packages.nix @@ -260,6 +260,8 @@ # Packages made the classical callPackage way + apheleia = callPackage ./apheleia { }; + ebuild-mode = callPackage ./ebuild-mode { }; emacspeak = callPackage ./emacspeak { };