a4term: rename package to a4

Although the website is `a4term.com`, the package itself is named `a4`,
as one can take from both its repo name[0] and its description on the
manpage[1]. Moreover, when searching for the package on `Repology`, it
is called `a4` by the Void Linux package[2], its only other packaging
besides nixpkgs.

[0]: https://github.com/rpmohn/a4
[1]: https://github.com/rpmohn/a4/blob/main/a4.1
[2]: https://repology.org/project/a4/packages
This commit is contained in:
Gustavo Coutinho de Souza 2023-10-04 13:00:04 -03:00 committed by Anderson Torres
parent 4deff14bf0
commit 52b3abb3ac
3 changed files with 6 additions and 7 deletions

View File

@ -5,14 +5,14 @@
, libvterm-neovim
}:
stdenv.mkDerivation rec {
pname = "a4term";
stdenv.mkDerivation (finalAttrs: {
pname = "a4";
version = "0.2.3";
src = fetchFromGitHub {
owner = "rpmohn";
repo = "a4";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-AX5psz9+bLdFFeDR55TIrAWDAkhDygw6289OgIfOJTg=";
};
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
libvterm-neovim
];
makeFlags = [ "PREFIX=$(out)" ];
installFlags = [ "PREFIX=${placeholder "out"}" ];
meta = {
description = "A dynamic terminal window manager";
@ -31,4 +31,4 @@ stdenv.mkDerivation rec {
platforms = lib.platforms.linux;
mainProgram = "a4";
};
}
})

View File

@ -55,6 +55,7 @@ mapAliases ({
### A ###
a4term = a4; # Added 2023-10-06
airfield = throw "airfield has been removed due to being unmaintained"; # Added 2023-05-19
alertmanager-bot = throw "alertmanager-bot is broken and has been archived by upstream" ; # Added 2023-07-28
alsaLib = alsa-lib; # Added 2021-06-09

View File

@ -7657,8 +7657,6 @@ with pkgs;
dvtm-unstable = callPackage ../tools/misc/dvtm/unstable.nix { };
a4term = callPackage ../tools/misc/a4term { };
erofs-utils = callPackage ../tools/filesystems/erofs-utils { };
e2tools = callPackage ../tools/filesystems/e2tools { };