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

kakounePlugins.kak-ansi: init at 0.2.1 #64310

Merged
merged 1 commit into from Sep 9, 2019
Merged

Conversation

eraserhd
Copy link
Contributor

@eraserhd eraserhd commented Jul 4, 2019

Motivation for this change

Allow installing kak-ansi from nix.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option 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 nix-review --run "nix-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.

Package closure size starts at 28,169,192.

Been using this locally on both NixOS and MacOS for a while.


Copy link
Member

@alyssais alyssais left a comment

Choose a reason for hiding this comment

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

Commit message should be “kakounePlugins.kak-ansi: [etc]”

pkgs/applications/editors/kakoune/plugins.nix Outdated Show resolved Hide resolved
pkgs/applications/editors/kakoune/plugins.nix Outdated Show resolved Hide resolved
pkgs/applications/editors/kakoune/plugins.nix Outdated Show resolved Hide resolved
@eraserhd
Copy link
Contributor Author

eraserhd commented Jul 9, 2019

I added UNLICENSE to the kak-ansi repo, did all the mentioned things, and also renamed kakoune/plugins.nix to kakoune/plugins/default.nix

@eraserhd eraserhd force-pushed the kak-ansi branch 2 times, most recently from c3f5c77 to c3bfc67 Compare August 21, 2019 01:37
@eraserhd
Copy link
Contributor Author

eraserhd commented Aug 21, 2019

I missed a requested change way back when, but it is resolved now.

@eraserhd eraserhd changed the title kak-ansi: init at 0.2.0 kakounePlugins.kak-ansi: init at 0.2.0 Aug 21, 2019
nrdxp added a commit to nrdxp/nixpkgs that referenced this pull request Aug 28, 2019
Should be compatible with
NixOS#64310

* kak-auto-pairs: for automatic closing of pairs
* kak-buffers: for easier buffer management
* kak-fzf: for fzf integration
* kak-powerline: for a prettier modeline
* kak-vertical-selection: for easy vertical selections
aristidb pushed a commit that referenced this pull request Sep 3, 2019
* kakounePlugins: Add 5 kakoune plugins

Should be compatible with
#64310

* kak-auto-pairs: for automatic closing of pairs
* kak-buffers: for easier buffer management
* kak-fzf: for fzf integration
* kak-powerline: for a prettier modeline
* kak-vertical-selection: for easy vertical selections

* kakounePlugins: alphabetize package list

* kakounePlugins.kak-fzf: add ability to choose between fzf/skim

* kakounePlugins.kak-powerline: substitute full path to git binary
@eraserhd
Copy link
Contributor Author

eraserhd commented Sep 6, 2019

rebased to fix merge conflict. @alyssais Can you merge?

sha256 = "15bw3rhwmary50j850akm766ig6klflgkily60m5zvic0rsvlk2p";
};
buildPhase = ''
$CC -O2 -std=c99 -o kak-ansi-filter kak-ansi-filter.c
Copy link
Member

Choose a reason for hiding this comment

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

Still sceptical of this. Suppose guix wants to also have kak-ansi. They have to copy this? Why not just let people who want to precompile run make?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, done

pkgs/applications/editors/kakoune/plugins/kak-ansi.nix Outdated Show resolved Hide resolved
@eraserhd eraserhd changed the title kakounePlugins.kak-ansi: init at 0.2.0 kakounePlugins.kak-ansi: init at 0.2.1 Sep 9, 2019
@eraserhd
Copy link
Contributor Author

eraserhd commented Sep 9, 2019

@alyssais Should be all good now?

Copy link
Member

@alyssais alyssais left a comment

Choose a reason for hiding this comment

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

Wonderful, thank you very much. Just think it needs some spacing. :)

@eraserhd
Copy link
Contributor Author

eraserhd commented Sep 9, 2019

@alyssais whitespace added, thanks!

@alyssais alyssais merged commit 44d3292 into NixOS:master Sep 9, 2019
@eraserhd eraserhd deleted the kak-ansi branch September 9, 2019 20:18
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

2 participants