2016-01-19 02:11:50 +01:00
|
|
|
{ lib, bundlerEnv, git}:
|
|
|
|
bundlerEnv {
|
|
|
|
name = "homesick-1.1.3";
|
|
|
|
|
2017-01-18 00:20:34 +01:00
|
|
|
gemdir = ./.;
|
2016-01-19 02:11:50 +01:00
|
|
|
|
|
|
|
# Cannot use `wrapProgram` because the the help is aware of the file name.
|
|
|
|
postInstall = ''
|
|
|
|
rm $out/bin/thor
|
|
|
|
sed 1a'ENV["PATH"] = "${git}/bin:#{ENV["PATH"] ? ":#{ENV["PATH"]}" : "" }"' -i $out/bin/homesick
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2016-02-27 18:24:00 +01:00
|
|
|
description = "Your home directory is your castle. Don't leave your dotfiles behind";
|
2016-01-19 02:11:50 +01:00
|
|
|
long_description =
|
|
|
|
''
|
|
|
|
Homesick is sorta like rip, but for dotfiles. It uses git to clone a repository containing
|
|
|
|
dotfiles, and saves them in ~/.homesick. It then allows you to symlink all the dotfiles into
|
|
|
|
place with a single command.
|
|
|
|
'';
|
|
|
|
homepage = https://github.com/technicalpickles/homesick;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ aaronschif ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|