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

kitty: init at 0.4.2 #30687

Merged
merged 3 commits into from Oct 25, 2017
Merged

kitty: init at 0.4.2 #30687

merged 3 commits into from Oct 25, 2017

Conversation

tex
Copy link
Contributor

@tex tex commented Oct 22, 2017

https://github.com/kovidgoyal/kitty.git

Motivation for this change

Adding new application: terminal kitty (opengl, c, python)

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • 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 nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@FRidh FRidh self-assigned this Oct 23, 2017
cp -r share/* $out/share/
cp -r lib/* $out/lib/

wrapProgram "$out/bin/kitty" --set PATH "$out/bin:/run/wrappers/bin:/run/current-system/sw/bin:${stdenv.lib.makeBinPath [ imagemagick ]}"
Copy link
Member

@Mic92 Mic92 Oct 25, 2017

Choose a reason for hiding this comment

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

why --set instead of --prefix?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because I did not know about --prefix :-) This is my first recipe besides just minor version updates.

sha256 = "1gvr9l3bgbf87b2ih36zfi5qcga925vjjr8snbak7sgxqzifimij";
};

buildInputs = [ pkgconfig glew fontconfig glfw ncurses libunistring ];
Copy link
Member

Choose a reason for hiding this comment

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

pkgconfig goes to nativeBuildInputs.

@Mic92 Mic92 changed the title add new application: terminal kitty (opengl, c, python) kitty: init at 0.4.0 Oct 25, 2017
meta = with stdenv.lib; {
homepage = https://github.com/kovidgoyal/kitty;
description = "A modern, hackable, featureful, OpenGL based terminal emulator";
license = licenses.gpl3;
Copy link
Member

Choose a reason for hiding this comment

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

Do you want to maintain this package?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well, I suppose yes. But I do not insist on that ;-)

Copy link
Member

Choose a reason for hiding this comment

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

Okay, then please add yourself to lib/maintainers.nix as well as to this package in meta.maintainers. Further information can be found here: https://nixos.wiki/wiki/Get_Involved#Becoming_a_Nixpkgs_maintainer

@tex tex requested a review from edolstra as a code owner October 25, 2017 20:39
@Mic92 Mic92 changed the title kitty: init at 0.4.0 kitty: init at 0.4.2 Oct 25, 2017
@Mic92 Mic92 merged commit c564e54 into NixOS:master Oct 25, 2017
@Mic92
Copy link
Member

Mic92 commented Oct 25, 2017

Thanks!

@tex tex deleted the kitty branch October 26, 2017 06:10
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