1{ stdenv, fetchFromGitHub }:
2
3stdenv.mkDerivation {
4 name = "git-fire-unstable-2017-08-27";
5
6 src = fetchFromGitHub {
7 owner = "qw3rtman";
8 repo = "git-fire";
9 rev = "d72b68ed356f726c77c60294f9220275f16c9931";
10 sha256 = "1hdwkhyjjx31y0lpjkhbb4f5y9f7g70fnd4c2246cmk2rbsvj5b2";
11 };
12
13 installPhase = ''
14 install -D -m755 $src/git-fire $out/bin/git-fire
15 '';
16
17 meta = with stdenv.lib; {
18 description = ''
19 Push ALL changes in a git repository
20 '';
21 longDescription = ''
22 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.
23 '';
24 homepage = "https://github.com/qw3rtman/git-fire";
25 license = licenses.mit;
26 platforms = platforms.linux;
27 maintainers = [ maintainers.swflint ];
28 };
29}