mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
homesick: init at 1.1.3 (close #12465)
This commit is contained in:
parent
3a9983b45d
commit
9aac99ccb0
@ -7,6 +7,7 @@
|
|||||||
so it's easy to ping a package @maintainer.
|
so it's easy to ping a package @maintainer.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
aaronschif = "Aaron Schif <aaronschif@gmail.com>";
|
||||||
a1russell = "Adam Russell <adamlr6+pub@gmail.com>";
|
a1russell = "Adam Russell <adamlr6+pub@gmail.com>";
|
||||||
abaldeau = "Andreas Baldeau <andreas@baldeau.net>";
|
abaldeau = "Andreas Baldeau <andreas@baldeau.net>";
|
||||||
abbradar = "Nikolay Amiantov <ab@fmap.me>";
|
abbradar = "Nikolay Amiantov <ab@fmap.me>";
|
||||||
|
3
pkgs/tools/misc/homesick/Gemfile
Normal file
3
pkgs/tools/misc/homesick/Gemfile
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
gem "homesick"
|
15
pkgs/tools/misc/homesick/Gemfile.lock
Normal file
15
pkgs/tools/misc/homesick/Gemfile.lock
Normal 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
|
28
pkgs/tools/misc/homesick/default.nix
Normal file
28
pkgs/tools/misc/homesick/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
16
pkgs/tools/misc/homesick/gemset.nix
Normal file
16
pkgs/tools/misc/homesick/gemset.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -1880,6 +1880,8 @@ let
|
|||||||
lua = lua5;
|
lua = lua5;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
homesick = callPackage ../tools/misc/homesick { };
|
||||||
|
|
||||||
honcho = callPackage ../tools/system/honcho { };
|
honcho = callPackage ../tools/system/honcho { };
|
||||||
|
|
||||||
horst = callPackage ../tools/networking/horst { };
|
horst = callPackage ../tools/networking/horst { };
|
||||||
|
Loading…
Reference in New Issue
Block a user