Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

foot: init at 1.4.4 #95596

Merged
merged 2 commits into from Aug 22, 2020
Merged

foot: init at 1.4.4 #95596

merged 2 commits into from Aug 22, 2020

Conversation

sternenseemann
Copy link
Member

Motivation for this change

add foot a simple and fast terminal emulator for wayland based of fcft font rendering.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@sternenseemann
Copy link
Member Author

@GrahamcOfBorg build foot fuzzel

@doronbehar
Copy link
Contributor

Weird, don't know why it didn't work out for me. Am I supposed to be able to run this on Xorg?

@sternenseemann
Copy link
Member Author

No, it is wayland only!

Copy link
Contributor

@doronbehar doronbehar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it is wayland only!

Then I can't help further. The build logs looks good and the tests seem to be running fine so this LGTM. However, I have some personal style nitpicks :)

Comment on lines 1 to 4
{ stdenv, fetchgit, fcft, freetype, pixman, libxkbcommon, fontconfig, wayland
, meson, ninja, ncurses, scdoc, tllist, wayland-protocols, pkg-config
}:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{ stdenv, fetchgit, fcft, freetype, pixman, libxkbcommon, fontconfig, wayland
, meson, ninja, ncurses, scdoc, tllist, wayland-protocols, pkg-config
}:
{ stdenv
, fetchgit
, pkg-config
, fcft
, freetype
, pixman
, libxkbcommon
, fontconfig
, wayland
, meson
, ninja
, ncurses
, scdoc
, tllist
, wayland-protocols
}:

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For my taste these just convert horizontal space into vertical space without a real benefit to readability. I reduced horizontal space somewhat and split the inputs by category more obviously.

pkgs/applications/misc/foot/default.nix Outdated Show resolved Hide resolved
pkgs/applications/misc/foot/default.nix Outdated Show resolved Hide resolved
pkgs/applications/misc/foot/default.nix Show resolved Hide resolved

src = fetchgit {
url = "https://codeberg.org/dnkl/foot.git";
rev = "${version}";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
rev = "${version}";
rev = version;

@ryantm
Copy link
Member

ryantm commented Aug 22, 2020

Result of nixpkgs-review pr 95596 1

3 packages built:
- fcft
- foot
- fuzzel

@ryantm ryantm merged commit 67bca7b into NixOS:master Aug 22, 2020
@sternenseemann sternenseemann deleted the foot branch August 22, 2020 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants