o: rename to orbiton

This commit is contained in:
Nikolay Korotkiy 2023-04-09 19:52:14 +04:00
parent 6b2b317f70
commit b96d7b5ead
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5
3 changed files with 7 additions and 6 deletions

View File

@ -3,12 +3,12 @@
}:
buildGoModule rec {
pname = "o";
pname = "orbiton";
version = "2.60.5";
src = fetchFromGitHub {
owner = "xyproto";
repo = "o";
repo = "orbiton";
rev = "v${version}";
hash = "sha256-gCE4mrZXLFteZKUPDsAc1hS1I/WTns9I9oZE5bAF7fU=";
};
@ -33,6 +33,7 @@ buildGoModule rec {
postInstall = ''
cd ..
installManPage o.1
mv $out/bin/{orbiton,o}
'' + lib.optionalString withGui ''
make install-gui PREFIX=$out
wrapProgram $out/bin/og --prefix PATH : $out/bin
@ -40,8 +41,9 @@ buildGoModule rec {
meta = with lib; {
description = "Config-free text editor and IDE limited to VT100";
homepage = "https://github.com/xyproto/o";
homepage = "https://github.com/xyproto/orbiton";
license = licenses.bsd3;
maintainers = with maintainers; [ sikmir ];
mainProgram = "o";
};
}

View File

@ -1121,6 +1121,7 @@ mapAliases ({
### O ###
o = orbiton; # Added 2023-04-09
oathToolkit = oath-toolkit; # Added 2022-04-04
oci-image-tool = throw "oci-image-tool is no longer actively maintained, and has had major deficiencies for several years."; # Added 2022-05-14;
oracleXE = throw "oracleXE has been removed, as it's heavily outdated and unmaintained"; # Added 2020-10-09

View File

@ -29678,9 +29678,7 @@ with pkgs;
edlin = callPackage ../applications/editors/edlin { };
o = callPackage ../applications/editors/o {
buildGoModule = buildGo119Module; # go 1.20 build failure
};
orbiton = callPackage ../applications/editors/orbiton { };
oed = callPackage ../applications/editors/oed { };