1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5}:
6
7stdenv.mkDerivation {
8 pname = "git-fire";
9 version = "unstable-2017-08-27";
10
11 src = fetchFromGitHub {
12 owner = "qw3rtman";
13 repo = "git-fire";
14 rev = "d72b68ed356f726c77c60294f9220275f16c9931";
15 sha256 = "1hdwkhyjjx31y0lpjkhbb4f5y9f7g70fnd4c2246cmk2rbsvj5b2";
16 };
17
18 installPhase = ''
19 install -D -m755 $src/git-fire $out/bin/git-fire
20 '';
21
22 meta = with lib; {
23 description = ''
24 Push ALL changes in a git repository
25 '';
26 longDescription = ''
27 In the event of an emergency (fire, etc.), automatically commit all changes/files in a repository, pushing to all known remotes all commits and stashes.
28 '';
29 homepage = "https://github.com/qw3rtman/git-fire";
30 license = licenses.mit;
31 platforms = platforms.all;
32 maintainers = with maintainers; [ swflint ];
33 mainProgram = "git-fire";
34 };
35}