···11+{ lib, bundlerEnv, git}:
22+bundlerEnv {
33+ name = "homesick-1.1.3";
44+55+ gemfile = ./Gemfile;
66+ lockfile = ./Gemfile.lock;
77+ gemset = ./gemset.nix;
88+99+ # Cannot use `wrapProgram` because the the help is aware of the file name.
1010+ postInstall = ''
1111+ rm $out/bin/thor
1212+ sed 1a'ENV["PATH"] = "${git}/bin:#{ENV["PATH"] ? ":#{ENV["PATH"]}" : "" }"' -i $out/bin/homesick
1313+ '';
1414+1515+ meta = with lib; {
1616+ description = "Your home directory is your castle. Don't leave your dotfiles behind.";
1717+ long_description =
1818+ ''
1919+ Homesick is sorta like rip, but for dotfiles. It uses git to clone a repository containing
2020+ dotfiles, and saves them in ~/.homesick. It then allows you to symlink all the dotfiles into
2121+ place with a single command.
2222+ '';
2323+ homepage = https://github.com/technicalpickles/homesick;
2424+ license = licenses.mit;
2525+ maintainers = with maintainers; [ aaronschif ];
2626+ platforms = platforms.unix;
2727+ };
2828+}