diff options
author | Nikolay Korotkiy <sikmir@disroot.org> | 2023-04-09 19:52:14 +0400 |
---|---|---|
committer | Nikolay Korotkiy <sikmir@disroot.org> | 2023-04-09 20:44:48 +0400 |
commit | b96d7b5eadbd507def3d49492265b886309cbb12 (patch) | |
tree | 67253ea7038f4e1c5499f8f86b0f482308efe302 /pkgs/applications/editors | |
parent | 6b2b317f70a73b09df240a212a0feccb60f21195 (diff) |
o: rename to orbiton
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/orbiton/default.nix (renamed from pkgs/applications/editors/o/default.nix) | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/applications/editors/o/default.nix b/pkgs/applications/editors/orbiton/default.nix index 2415ddd289098..ec8eb24073c21 100644 --- a/pkgs/applications/editors/o/default.nix +++ b/pkgs/applications/editors/orbiton/default.nix @@ -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"; }; } |