nixpkgs/pkgs/by-name/a4/a4/package.nix
Gustavo Coutinho de Souza 52b3abb3ac 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
2023-10-06 21:56:23 -03:00

35 lines
690 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, libtickit
, libvterm-neovim
}:
stdenv.mkDerivation (finalAttrs: {
pname = "a4";
version = "0.2.3";
src = fetchFromGitHub {
owner = "rpmohn";
repo = "a4";
rev = "v${finalAttrs.version}";
hash = "sha256-AX5psz9+bLdFFeDR55TIrAWDAkhDygw6289OgIfOJTg=";
};
buildInputs = [
libtickit
libvterm-neovim
];
installFlags = [ "PREFIX=${placeholder "out"}" ];
meta = {
description = "A dynamic terminal window manager";
homepage = "https://www.a4term.com/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ onemoresuza ];
platforms = lib.platforms.linux;
mainProgram = "a4";
};
})