homesick: init at 1.1.3 (close #12465)

This commit is contained in:
Aaron Schif 2016-01-18 19:11:50 -06:00 committed by Vladimír Čunát
parent 3a9983b45d
commit 9aac99ccb0
6 changed files with 65 additions and 0 deletions

View File

@ -7,6 +7,7 @@
so it's easy to ping a package @maintainer.
*/
aaronschif = "Aaron Schif <aaronschif@gmail.com>";
a1russell = "Adam Russell <adamlr6+pub@gmail.com>";
abaldeau = "Andreas Baldeau <andreas@baldeau.net>";
abbradar = "Nikolay Amiantov <ab@fmap.me>";

View File

@ -0,0 +1,3 @@
source "https://rubygems.org"
gem "homesick"

View File

@ -0,0 +1,15 @@
GEM
remote: https://rubygems.org/
specs:
homesick (1.1.3)
thor (>= 0.14.0)
thor (0.19.1)
PLATFORMS
ruby
DEPENDENCIES
homesick
BUNDLED WITH
1.10.6

View File

@ -0,0 +1,28 @@
{ lib, bundlerEnv, git}:
bundlerEnv {
name = "homesick-1.1.3";
gemfile = ./Gemfile;
lockfile = ./Gemfile.lock;
gemset = ./gemset.nix;
# 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; {
description = "Your home directory is your castle. Don't leave your dotfiles behind.";
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;
};
}

View File

@ -0,0 +1,16 @@
{
homesick = {
version = "1.1.3";
source = {
type = "gem";
sha256 = "1pqsnbykisc6qamkz1gcbgis4az95sggxfdkq9v5hjr1a46q0s91";
};
};
thor = {
version = "0.19.1";
source = {
type = "gem";
sha256 = "08p5gx18yrbnwc6xc0mxvsfaxzgy2y9i78xq7ds0qmdm67q39y4z";
};
};
}

View File

@ -1880,6 +1880,8 @@ let
lua = lua5;
};
homesick = callPackage ../tools/misc/homesick { };
honcho = callPackage ../tools/system/honcho { };
horst = callPackage ../tools/networking/horst { };