···1+{ lib, bundlerEnv, git}:
2+bundlerEnv {
3+ name = "homesick-1.1.3";
4+5+ gemfile = ./Gemfile;
6+ lockfile = ./Gemfile.lock;
7+ gemset = ./gemset.nix;
8+9+ # Cannot use `wrapProgram` because the the help is aware of the file name.
10+ postInstall = ''
11+ rm $out/bin/thor
12+ sed 1a'ENV["PATH"] = "${git}/bin:#{ENV["PATH"] ? ":#{ENV["PATH"]}" : "" }"' -i $out/bin/homesick
13+ '';
14+15+ meta = with lib; {
16+ description = "Your home directory is your castle. Don't leave your dotfiles behind.";
17+ long_description =
18+ ''
19+ Homesick is sorta like rip, but for dotfiles. It uses git to clone a repository containing
20+ dotfiles, and saves them in ~/.homesick. It then allows you to symlink all the dotfiles into
21+ place with a single command.
22+ '';
23+ homepage = https://github.com/technicalpickles/homesick;
24+ license = licenses.mit;
25+ maintainers = with maintainers; [ aaronschif ];
26+ platforms = platforms.unix;
27+ };
28+}